]> sourceware.org Git - glibc.git/blame - ChangeLog
Add bugs 14660, 14661 to NEWS
[glibc.git] / ChangeLog
CommitLineData
55f11534
JN
12012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2
3 [BZ #14660]
4 * Makerules (%.dynsym): Force C locale when running
5 $(OBJDUMP) --dynamic-syms.
6
1ab29350
AS
72012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8
9 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10 <stdint.h>.
11
f1ecb7ef
DM
122012-10-06 David S. Miller <davem@davemloft.net>
13
14 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15 upper 32-bits of the length value in %o2 since we use branch-on-register
16 tests which consider the entire 64-bit register.
17
5d41d91a
L
182012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19
20 * string/test-strstr.c (check2): Add a test for page boundary.
21
3baddb72
DM
222012-10-05 David S. Miller <davem@davemloft.net>
23
24 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26 file.
27 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28 sysdep_routines.
29 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31 and bzero when HWCAP_SPARC_CRYPTO is present.
32
9cee5585
L
332012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34
d7e0dab9
L
35 [BZ #14602]
36 * string/test-strstr.c (check2): New function.
37 (test_main): Call check2.
38
03759f47
L
39 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40 and bug-strchr1.
41 * string/bug-strcasestr1.c (do_test): Moved to ...
42 * string/test-strcasestr.c (check1): Here. New function.
43 (do_one_test): Break out result checking code into ...
44 (check_result): This. New function.
45 (do_one_test): Call check_result.
46 (test_main): Call check1.
47 * string/bug-strchr1.c (do_test): Moved to ...
48 * string/test-strchr.c (check1): Here. New function.
49 (do_one_test): Break out result checking code into ...
50 (check_result): This. New function.
51 (do_one_test): Call check_result.
52 (test_main): Call check1.
53 * string/bug-strstr1.c (main): Moved to ...
54 * string/test-strchr.c (check1): Here. New function.
55 (do_one_test): Break out result checking code into ...
56 (check_result): This. New function.
57 (do_one_test): Call check_result.
58 (test_main): Call check1.
59 * string/bug-strcasestr1.c: Removed.
60 * string/bug-strchr1.c: Likewise.
61 * string/bug-strstr1.c: Likewise.
62
53cea63e
L
63 * elf/Makefile (dl-routines): Add hwcaps.
64 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66 (_dl_important_hwcaps): Moved to ...
67 * elf/dl-hwcaps.c: Here. New file.
68 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69
9cee5585 70 [BZ #14557]
bb859b06
L
71 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72 if IS_IN_rtld isn't defined.
73
9cee5585
L
74 * elf/dl-support.c (_dl_sysinfo_map): New.
75 Include "get-dynamic-info.h" and "setup-vdso.h".
76 (_dl_non_dynamic_init): Call setup_vdso.
77 * elf/dynamic-link.h: Don't include <assert.h>.
78 (elf_get_dynamic_info): Moved to ...
79 * elf/get-dynamic-info.h: Here. New file.
80 * elf/dynamic-link.h: Include "get-dynamic-info.h".
81 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
82 * elf/setup-vdso.h: Here. New file.
83 * elf/rtld.c: Include "setup-vdso.h".
84 (dl_main): Call setup_vdso.
85
23c31b76
JM
862012-10-05 Joseph Myers <joseph@codesourcery.com>
87
28234b07
JM
88 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
89 creal in comment listing functions tested. List finite, isinf,
90 isnan, isless, islessequal, isgreater, isgreaterequal,
91 islessgreater, isunordered, lgamma_r and pow10 as functions and
92 macros not tested. Mention which functions not tested are aliases
93 for other functions. Fix typo. Note that signs of NaNs are not
94 tested.
95
23c31b76
JM
96 * scripts/config.guess: Update from config.git.
97 * scripts/config.sub: Likewise.
98
9043e228
RM
992012-10-04 Roland McGrath <roland@hack.frob.com>
100
101 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
102 * misc/madvise.c (madvise): Renamed to __madvise.
103 Make madvise a weak alias.
104 * include/sys/mman.h: Declare __madvise.
105 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
106 * sysdeps/unix/syscalls.list
107 (madvise): Make __madvise the strong name, and madvise a weak alias.
108 * sysdeps/unix/sysv/linux/syscalls.list
109 (madvise, mmap): Remove redundant entries.
110 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
111 * malloc/malloc.c (mtrim): Likewise.
112 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
113
f57f8055
RM
1142012-10-03 Roland McGrath <roland@hack.frob.com>
115
116 * sysdeps/mach/hurd/dl-cache.c: File removed.
117 * config.h.in (USE_LDCONFIG): New #undef.
118 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
119 * configure: Regenerated.
120 * elf/Makefile (dl-routines): Add dl-cache only under
121 [$(use-ldconfig) = yes].
122 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
123 cache on [USE_LDCONFIG].
124 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
125 [USE_LDCONFIG].
126 * elf/rtld.c (dl_main): Likewise.
127
5bb0c10a
PT
1282012-10-03 Pino Toscano <toscano.pino@tiscali.it>
129
130 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
131 _SC_LEVEL4_CACHE_LINESIZE.
132
010188c6
RM
1332012-10-03 Roland McGrath <roland@hack.frob.com>
134
135 * sysdeps/unix/bsd/confstr.h: File removed.
136
b6c5ec07
AO
1372012-10-02 Alexandre Oliva <aoliva@redhat.com>
138
139 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
140 sys/sdt-config.h.
141
408223d4
RM
1422012-10-02 Roland McGrath <roland@hack.frob.com>
143
144 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
145 Make 'mapoff' field ElfW(Off) rather than off_t.
146
bb9510dc
DL
1472012-10-02 Dmitry V. Levin <ldv@altlinux.org>
148
fc997c6e
DL
149 * nscd/Makefile: Remove nscd-cflags and all its users.
150 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
151 (CFLAGS-nonlib): Add compiler flags for nscd modules.
152
bb9510dc
DL
153 [BZ #10631]
154 * malloc.c (malloc_printerr): Clarify error message.
155
05699367
L
1562012-10-02 H.J. Lu <hongjiu.lu@intel.com>
157
158 [BZ #14648]
159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
160 Set bit_FMA_Usable if FMA is supported.
161 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
162 macro.
163 (bit_FMA4_Usable): Updated.
164 (index_FMA_Usable): New macro.
165 (CPUID_FMA): Likewise
166 (HAS_FMA): Defined with bit_FMA_Usable.
167
51367701
RM
1682012-10-01 Roland McGrath <roland@hack.frob.com>
169
170 * bits/types.h (__swblk_t): Type removed.
171 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
172 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
174 (__SWBLK_T_TYPE): Likewise.
175 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
176 (__SWBLK_T_TYPE): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
178 (__SWBLK_T_TYPE): Likewise.
179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
180 (__SWBLK_T_TYPE): Likewise.
181
4d57bf63
JL
1822012-10-01 Patsy Franklin <pfrankli@redhat.com>
183 Honza Horak <hhorak@redhat.com>
184
185 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
186 (xdr_mapname): Use YPMAXMAP as maxsize.
187 (xdr_peername): Use YPMAXPEER as maxsize.
188 (xdr_keydat): Use YPAXRECORD as maxsize.
189 (xdr_valdat): Use YPMAXRECORD as maxsize.
190
93c65d43
RM
1912012-10-01 Roland McGrath <roland@hack.frob.com>
192
497a03d6
RM
193 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
194
93c65d43
RM
195 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
196 * csu/init-first.c: ... here.
197 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
198 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
199 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
201 * sysdeps/i386/init-first.c: File removed.
202 * sysdeps/sh/init-first.c: File removed.
203
bec749fd
JM
2042012-10-01 Joseph Myers <joseph@codesourcery.com>
205
206 [BZ #14645]
207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
208 if x * y might underflow to zero and z is zero.
209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
211 * math/libm-test.inc (min_subnorm_value): New variable.
212 (fma_test): Add more tests.
213 (fma_test_towardzero): Likewise.
214 (fma_test_downward): Likewise
215 (fma_test_upward): Likewise.
216 (initialize): Set min_subnorm_value.
217
8ec5b013
JM
2182012-09-29 Joseph Myers <joseph@codesourcery.com>
219
220 [BZ #14638]
221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
222 0 + 0.
223 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
224 mode for addition resulting in exact zero.
225 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
227 exact 0 + 0.
228 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
230 * math/libm-test.inc (fma_test): Add more tests.
231 (fma_test_towardzero): New function.
232 (fma_test_downward): Likewise.
233 (fma_test_upward): Likewise.
234 (main): Call the new functions.
235
b1fa802e
DM
2362012-09-28 David S. Miller <davem@davemloft.net>
237
238 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
239
d3b9fd9e
RM
2402012-09-28 Roland McGrath <roland@hack.frob.com>
241
ea4d37b3
RM
242 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
243 instead of SIGALRM.
244
ac51c949
RM
245 * sysdeps/gnu/_G_config.h: Moved to ...
246 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
247 * sysdeps/mach/hurd/_G_config.h: Moved to ...
248 * sysdeps/generic/_G_config.h: ... here.
249
28c195f7
RM
250 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
251
848917f9
RM
252 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
253
6bacf05b
RM
254 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
255 Conditionalize target on [libnss_test1.so-version].
256
91363dbb
RM
257 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
258
cc87f7d8
RM
259 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
260 (elfobjdir): Move out of conditionals.
261
b1c608fe
RM
262 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
263 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
264 (__nss_lookup_function): Conditionalize label remove_from_tree on
265 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 266
1d9a6d96
DM
2672012-09-28 David S. Miller <davem@davemloft.net>
268
269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
270 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
271 file.
272 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
273 sysdep_routines.
274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
276 when HWCAP_SPARC_CRYPTO is present.
277
72581615
PT
2782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
279
280 * io/tst-mknodat.c: Create a FIFO instead of a socket.
281
715a900c
JL
2822012-09-28 Andreas Schwab <schwab@linux-m68k.org>
283
284 [BZ #6530]
285 * stdio-common/vfprintf.c (process_string_arg): Revert
286 2000-07-22 change.
287
2882011-09-28 Jonathan Nieder <jrnieder@gmail.com>
289
290 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
291 for testcase.
292 * stdio-common/tst-sprintf.c: Include <locale.h>
293 (main): Test sprintf's handling of incomplete multibyte
294 characters.
295
9bac1d86
L
2962012-09-28 H.J. Lu <hongjiu.lu@intel.com>
297
298 * elf/dl-runtime.c (VERSYMIDX): Removed.
299 * elf/dl-version.c (VERSYMIDX): Likewise.
300 * elf/do-rel.h (VERSYMIDX): Likewise.
301 (VALIDX): Likewise.
302 * elf/dynamic-link.h (VERSYMIDX): Likewise.
303 * elf/rtld.c (VALIDX): Likewise.
304 (ADDRIDX): Likewise.
9bac1d86
L
305 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
306 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
307 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
308 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
309 (VALIDX): Likewise.
310 (ADDRIDX): Likewise.
9bac1d86 311
b31606c0
PT
3122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
313
314 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
315
11541177
JL
3162012-09-28 Dmitry V. Levin <ldv@altlinux.org>
317
318 [BZ #11438]
319 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
320 to global scope.
321 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
322 addresses are in the same scope as 192.0.2/24.
323 * posix/gai.conf: Document new scope table defaults.
324
adb26fae
SP
3252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 [BZ #5298]
328 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
329 for ftell. Compute offsets from write pointers instead.
330 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
331
4573c6b0
SP
3322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
333
334 [BZ #14543]
335 * libio/Makefile (tests): New test case tst-fseek.
336 * libio/tst-fseek.c: New test case to verify that fseek/ftell
337 combination works in wide mode.
338 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
339 state when the external buffer state changes.
340
aa9bbfe6
DM
3412012-09-27 David S. Miller <davem@davemloft.net>
342
343 [BZ #14376]
344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
345 pass reloc->r_addend in as the 'high' argument to
346 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
347
784421e7
DM
348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
349
c39bc8b8
PT
3502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
351
352 * rt/tst-aio2.c: Include <pthread.h>.
353 * rt/tst-aio3.c: Likewise.
354
1ccc2399
SE
3552012-09-27 Steve Ellcey <sellcey@mips.com>
356
357 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
358
31ed4153
L
3592012-09-27 H.J. Lu <hongjiu.lu@intel.com>
360
25f5f885
L
361 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
362 contents on [SHARED].
31ed4153 363
b7bfe116
MP
3642012-09-26 Marek Polacek <polacek@redhat.com>
365
366 [BZ #14530]
367 [BZ #13741]
368 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
369 for C++ and GCC <4.3 as well as for non GCC compilers.
370
43c4edba
MT
3712012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
372
373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
374
6a1bf82f
RM
3752012-09-25 Roland McGrath <roland@hack.frob.com>
376
377 * Makefile.in (all, install): Declare with .PHONY.
378 Reported by Michael Hope <michael.hope@linaro.org>.
379
8ad11b9a
TMQMF
3802012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
381
382 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
383 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
384 system header.
385 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
386 Likewise.
387 (sydep_routines): Add the new and the internal functions.
388 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
389 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
391 (GLIBC_2.17): Add the new function.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
393 (GLIBC_2.17): Likewise.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
395 (GLIBC_2.17): Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
397 (GLIBC_2.17): Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
399
7e2fca8d
AM
4002012-09-25 Alan Modra <amodra@gmail.com>
401
402 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
403 Add release barrier before setting once_control to say
404 initialisation is done. Add hints on lwarx. Use macro in
405 place of isync.
406 (clear_once_control): Add release barrier.
407
b87c4b24
JM
4082012-09-25 Joseph Myers <joseph@codesourcery.com>
409
d032e0d2
JM
410 [BZ #13629]
411 * math/s_clog.c (__clog): Handle more values close to |z| = 1
412 specially.
413 * math/s_clog10.c (__clog10): Likewise.
414 * math/s_clog10f.c (__clog10f): Likewise.
415 * math/s_clog10l.c (__clog10l): Likewise.
416 * math/s_clogf.c (__clogf): Likewise.
417 * math/s_clogl.c (__clogl): Likewise.
418 * math/Makefile (libm-calls): Add x2y2m1.
419 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
420 (__x2y2m1): Likewise.
421 (__x2y2m1l): Likewise.
422 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
423 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
424 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
425 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
426 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
427 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
428 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
429 * sysdeps/i386/fpu/libm-test-ulps: Update.
430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
431
b87c4b24
JM
432 [BZ #14621]
433 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
434 int as type of variable DEPTH.
435 (glob): Use size_t instead of int as type of variables NEWCOUNT
436 and OLD_PATHC.
437
6d3bf199
LD
4382012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
439
22bf5c17
LD
440 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
441 Add s_sincosf-sse2.
442 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
443 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
444 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
445 macros for using routine as __sincosf_ia32.
446 Use macro for function declaration and weak_alias.
447 * sysdeps/i386/fpu/libm-test-ulps: Update.
448
449 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
451
452 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
453 subnormal argument.
454 * math/s_cexpf.c (__cexpf): Likewise.
455 * math/s_csinf.c (__csinf): Likewise.
456 * math/s_csinhf.c (__csinhf): Likewise.
457 * math/s_ctanf.c (__ctanf): Likewise.
458 * math/s_ctanhf.c (__ctanhf): Likewise.
459 * math/s_ccosh.c (__ccoshf): Likewise.
460 * math/s_cexp.c (__cexpl): Likewise.
461 * math/s_csin.c (__csin): Likewise.
462 * math/s_csinh.c (__csinh): Likewise.
463 * math/s_ctan.c (__ctan): Likewise.
464 * math/s_ctanh.c (ctanh): Likewise.
465 * math/s_ccoshl.c (__ccoshl): Likewise.
466 * math/s_cexpl.c (__cexpl): Likewise.
467 * math/s_csinl.c (__csinl): Likewise.
468 * math/s_csinhl.c (__csinhl): Likewise.
469 * math/s_ctanl.c (__ctanl): Likewise.
470 * math/s_ctanhl.c (__ctanhl): Likewise.
471
203e5603
JM
4722012-09-25 Joseph Myers <joseph@codesourcery.com>
473
474 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
475 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
476 (_IO_off_t): Define to __off_t, not _G_off_t.
477 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
478 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
479 (_IO_wint_t): Define to wint_t, not _G_wint_t.
480 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
481 type of __dummy and __dummy2 fields.
482 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
483 (_G_ssize_t): Likewise.
484 (_G_off_t): Likewise.
485 (_G_pid_t): Likewise.
486 (_G_uid_t): Likewise.
487 (_G_wchar_t): Likewise.
488 (_G_wint_t): Likewise.
489 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
490 (_G_ssize_t): Likewise.
491 (_G_off_t): Likewise.
492 (_G_pid_t): Likewise.
493 (_G_uid_t): Likewise.
494 (_G_wchar_t): Likewise.
495 (_G_wint_t): Likewise.
496 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
497 (_G_ssize_t): Likewise.
498 (_G_off_t): Likewise.
499 (_G_pid_t): Likewise.
500 (_G_uid_t): Likewise.
501 (_G_wchar_t): Likewise.
502 (_G_wint_t): Likewise.
503
9fab36eb
SP
5042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
505
506 * malloc/arena.c: Include malloc-sysdep.h.
507 (shrink_heap): Use check_may_shrink_heap to decide if madvise
508 is sufficient to shrink the heap or an unmap is needed.
509 * sysdeps/generic/malloc-sysdep.h: New file. Define
510 new function check_may_shrink_heap.
511 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
512 new function check_may_shrink_heap.
513
2b4f00d1
SP
5142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
515
516 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
517 comments.
518
9a9028b1
DL
5192012-09-24 Dmitry V. Levin <ldv@altlinux.org>
520
57c69bef
DL
521 * catgets/test-gencat.sh: Add "set -e".
522 * elf/tst-pathopt.sh: Likewise.
523 * grp/tst_fgetgrent.sh: Likewise.
524 * iconvdata/run-iconv-test.sh: Likewise.
525 * intl/tst-gettext.sh: Likewise.
526 * intl/tst-gettext2.sh: Likewise.
527 * intl/tst-gettext4.sh: Likewise.
528 * intl/tst-gettext6.sh: Likewise.
529 * intl/tst-translit.sh: Likewise.
530 * io/ftwtest-sh: Likewise.
531 * libio/test-freopen.sh: Likewise.
532 * malloc/tst-mtrace.sh: Likewise.
533 * posix/globtest.sh: Likewise.
534 * posix/tst-getconf.sh: Likewise.
535 * posix/wordexp-tst.sh: Likewise.
536 * stdio-common/tst-printf.sh: Likewise.
537 * stdio-common/tst-unbputc.sh: Likewise.
538 * stdlib/tst-fmtmsg.sh: Likewise.
539 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
540 * catgets/Makefile: Do not specify -e option when running
541 testsuite shell scripts.
542 * elf/Makefile: Likewise.
543 * grp/Makefile: Likewise.
544 * iconvdata/Makefile: Likewise.
545 * intl/Makefile: Likewise.
546 * io/Makefile: Likewise.
547 * libio/Makefile: Likewise.
548 * malloc/Makefile: Likewise.
549 * posix/Makefile: Likewise.
550 * stdio-common/Makefile: Likewise.
551 * stdlib/Makefile: Likewise.
552 * sysdeps/x86_64/Makefile: Likewise.
553
9a9028b1
DL
554 * io/ftwtest-sh: Add copyright header.
555 * posix/globtest.sh: Likewise.
556 * posix/tst-getconf.sh: Likewise.
557 * posix/wordexp-tst.sh: Likewise.
558 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
559
ced6f16e
L
5602012-09-24 H.J. Lu <hongjiu.lu@intel.com>
561
94b32c39
L
562 [BZ #13679]
563 * Makeconfig (+link): Defined as $(+link-static) if
564 $(build-shared) isn't yes.
565 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
566 isn't yes.
567 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
568
189e935b
L
569 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
570
ced6f16e
L
571 [BZ #14562]
572 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
573 new chunk size with MALLOC_ALIGN_MASK.
574
a9f8e53a
JM
5752012-09-24 Joseph Myers <joseph@codesourcery.com>
576
577 [BZ #5044]
578 * stdio-common/printf_fphex.c: Include <stdbool.h> and
579 <rounding-mode.h>.
580 (__printf_fphex): Determine rounding using get_rounding_mode and
581 round_away.
582 * stdio-common/tst-printf-round.c (struct hex_test): New
583 structure.
584 (hex_tests): New variable.
585 (test_hex_in_one_mode): New function.
586 (do_test): Also run tests for hex float output.
587
43153109
JM
5882012-09-21 Joseph Myers <joseph@codesourcery.com>
589
590 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
591 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
592 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
593 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
594 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
595 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
596 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
597 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
598
8a26625d
JM
5992012-09-20 Joseph Myers <joseph@codesourcery.com>
600
601 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
602 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
603 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
604 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
605
f3fd569c
DL
6062012-09-19 Dmitry V. Levin <ldv@altlinux.org>
607
608 [BZ #14579]
609 * elf/rtld.c (dl_main): Limit the check for self loading to normal
610 mode only.
611 * elf/tst-rtld-load-self.sh: New test.
612 * elf/Makefile: Run it.
613
63bbedd4
JM
6142012-09-18 Joseph Myers <joseph@codesourcery.com>
615
616 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
617 (tst-writev-ENV): Remove.
618 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
619
626f8b6a
CM
6202012-09-17 Chris Metcalf <cmetcalf@tilera.com>
621
622 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
623
b7aaa4d6
JM
6242012-09-17 Joseph Myers <joseph@codesourcery.com>
625
626 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
627 unconditional.
628 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
629 Likewise.
630 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
631 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
632 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
633 Likewise.
634
65513990
L
6352012-09-14 H.J. Lu <hongjiu.lu@intel.com>
636
637 [BZ #14587]
638 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
639 * config.make.in (have-cpp-asm-debuginfo): Removed.
640 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
641 * configure: Regenerated.
642
784761be
JM
6432012-09-14 Joseph Myers <joseph@codesourcery.com>
644
645 [BZ #5044]
646 * stdio-common/printf_fp.c: Include <stdbool.h> and
647 <rounding-mode.h>.
648 (___printf_fp): Determine rounding using get_rounding_mode and
649 round_away.
650 * stdio-common/tst-printf-round.c: New file.
651 * stdio-common/Makefile (tests): Add tst-printf-round.
652 (link-libm): New variable.
653 ($(objpfx)tst-printf-round): Depend in $(link-libm).
654
9503345f
L
6552012-09-13 H.J. Lu <hongjiu.lu@intel.com>
656
657 [BZ #14576]
658 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
659 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
660 Likewise.
661 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
662 Likewise.
663
ad35fc00
JM
6642012-09-13 Joseph Myers <joseph@codesourcery.com>
665
666 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
667 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
668 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
669 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
670
6c9b0f68
JM
6712012-09-12 Joseph Myers <joseph@codesourcery.com>
672
673 [BZ #14518]
674 * include/rounding-mode.h: New file.
675 * sysdeps/generic/get-rounding-mode.h: Likewise.
676 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
677 * stdlib/strtod_l.c: Include <rounding-mode.h>.
678 (MAX_VALUE): New macro.
679 (MIN_VALUE): Likewise.
680 (overflow_value): New function.
681 (underflow_value): Likewise.
682 (round_and_return): Use overflow_value and underflow_value to
683 determine return values in overflow and underflow cases. Use
684 round_away to determine rounding depending on rounding mode.
685 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
686 determine return values in overflow and underflow cases.
687 * stdlib/tst-strtod-round.c: Include <fenv.h>.
688 (struct test_results): New structure.
689 (struct test): Use struct test_results to store expected results
690 for all rounding modes.
691 (TEST): Include expected results for all rounding modes.
692 (test_in_one_mode): New function.
693 (do_test): Use test_in_one_mode to compute and check results.
694 Check results for all rounding modes.
695 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
696 $(link-libm).
697
19fcedd5
AM
6982012-12-09 Allan McRae <allan@archlinux.org>
699
700 * sysdeps/i386/fpu/libm-test-ulps: Update
701
8bbfd2f1
JM
7022012-09-11 Joseph Myers <joseph@codesourcery.com>
703
704 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
705 (_G_int32_t): Likewise.
706 (_G_uint16_t): Likewise.
707 (_G_uint32_t): Likewise.
708 (_G_HAVE_BOOL): Likewise.
709 (_G_HAVE_ATEXIT): Likewise.
710 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
711 (_G_HAVE_IO_FILE_OPEN): Likewise.
712 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
713 (_G_int32_t): Likewise.
714 (_G_uint16_t): Likewise.
715 (_G_uint32_t): Likewise.
716 (_G_HAVE_BOOL): Likewise.
717 (_G_HAVE_ATEXIT): Likewise.
718 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
719 (_G_HAVE_IO_FILE_OPEN): Likewise.
720 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
721 (_G_int32_t): Likewise.
722 (_G_uint16_t): Likewise.
723 (_G_uint32_t): Likewise.
724 (_G_HAVE_BOOL): Likewise.
725 (_G_HAVE_ATEXIT): Likewise.
726 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
727 (_G_HAVE_IO_FILE_OPEN): Likewise.
728
b1dc5912
L
7292012-09-11 H.J. Lu <hongjiu.lu@intel.com>
730
731 * csu/libc-tls.c: Update copyright years.
732
0e886ef9
JM
7332012-09-10 Joseph Myers <joseph@codesourcery.com>
734
28361c5e
JM
735 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
736 [!_G_USING_THUNKS]: Remove conditional code.
737 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
738 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
739
0e886ef9
JM
740 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
741 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
742 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
743 (_G_VTABLE_LABEL_PREFIX): Likewise.
744 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
745 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
746 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
747 (_G_VTABLE_LABEL_PREFIX): Likewise.
748 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
749 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
750 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
751 (_G_VTABLE_LABEL_PREFIX): Likewise.
752 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
753
bcba7aa2
L
7542012-09-10 H.J. Lu <hongjiu.lu@intel.com>
755
756 * libio/Makefile: Include ../Makeconfig before tests.
757 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
758 only if $(build-shared) is yes.
759
06585ee8
L
760 * iconv/gconv_db.c: Update copyright years.
761
80ccd52c
LD
7622012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
763
764 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
765 unwind info if defined PIC. Fix special cases description.
766 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
767
768 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
769 DP_HI_MASK entry.
770 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
771
691bc9c1
L
7722012-09-07 H.J. Lu <hongjiu.lu@intel.com>
773
3d9b46b3
L
774 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
775
de2139a9
L
776 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
777 is NULL.
778
5ca78dd0
L
779 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
780 (LDLIBS-tst-chk4): This.
781 (LDFLAGS-tst-chk5): Renamed to ...
782 (LDLIBS-tst-chk5): This.
783 (LDFLAGS-tst-chk6): Renamed to ...
784 (LDLIBS-tst-chk6): This.
785 (LDFLAGS-tst-lfschk4): Renamed to ...
786 (LDLIBS-tst-lfschk4): This.
787 (LDFLAGS-tst-lfschk5): Renamed to ...
788 (LDLIBS-tst-lfschk5): This.
789 (LDFLAGS-tst-lfschk6): Renamed to ...
790 (LDLIBS-tst-lfschk6): This.
791
691bc9c1
L
792 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
793 on $(common-objpfx)soversions.mk.
794
65cafb1c
JM
7952012-09-07 Joseph Myers <joseph@codesourcery.com>
796
797 [BZ #10014]
798 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
799 example host name.
800
c78ab094
SP
8012012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 * malloc/arena.c (arena_get_retry): New function that gets
804 another arena for the caller to try its request on.
805 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
806 current arena cannot fulfill the request.
807 (__libc_memalign): Likewise.
808 (__libc_memalign): Likewise.
809 (__libc_pvalloc): Likewise.
810 (__libc_calloc): Likewise.
811
01f49f59
JT
8122012-09-05 John Tobey <john.tobey@gmail.com>
813
814 [BZ #13542]
815 * manual/arith.texi (Operations on Complex): Fix description
816 of carg branch cut.
817
4c23fed5
JM
8182012-09-06 Joseph Myers <joseph@codesourcery.com>
819
1d3c8572
JM
820 [BZ #10014]
821 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
822 host name.
823
4c23fed5
JM
824 [BZ #10038]
825 * manual/memory.texi (Memory): Make order of menu items match
826 order of sections.
827
04570aaa
L
8282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
829
830 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
831 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
832 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
833
b80af2f4
L
8342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
835
836 * csu/libc-tls.c (static_dtv): Renamed to ...
837 (_dl_static_dtv): This. Make it global.
838 (_dl_initial_dtv): Removed.
839 (__libc_setup_tls): Updated.
840 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
841 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
842 DL_INITIAL_DTV.
843
2abe9f15
PM
8442012-09-06 Petr Machata <pmachata@redhat.com>
845
846 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
847 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
848 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
849 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
850
0948c3af
L
8512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
852
853 [BZ #14545]
854 * csu/libc-tls.c (_dl_initial_dtv): New variable.
855 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
856 freeing dtv[-1].
857
a5055ad1
L
8582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
859
860 [BZ #14544]
861 * Makeconfig (link-static-before-libc): Replace $(+prector)
862 with $(+prectorT).
863 (link-static-after-libc): Replace $(+postctor) with
864 $(+postctorT).
865 (link-bounded): Replace $(+prector)/$(+postctor) with
866 $(+prectorT)/$(+postctorT).
867 (+prectorT): New macro.
868 (+postctorT): Likewise.
869
ed8c2ecd
JM
8702012-09-06 Joseph Myers <joseph@codesourcery.com>
871
872 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
873 (round_str): Handle values above the maximum for IBM long double
874 as inexact.
875 * stdlib/tst-strtod-round.c (tests): Regenerated.
876
14c996c8
AK
8772012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
878
879 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
880 assembler flag.
881 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
882 zarch_nohighgprs around the zarch optimized routines.
883 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
884 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
885 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
886 for zarch.
887
430d6ce6
DM
8882012-09-05 David S. Miller <davem@davemloft.net>
889
890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
891
ff04dda4
DM
892 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
893 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
894 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
895 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
896 entries.
897
24d4e01b
AO
8982012-09-05 Alexandre Oliva <aoliva@redhat.com>
899
900 * malloc/arena.c: Fold copyright years.
901 * malloc/mcheck.c, malloc/memusage.c: Likewise.
902
61d58174
AO
9032012-09-05 Alexandre Oliva <aoliva@redhat.com>
904
905 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
906
20196a5e
AO
9072012-09-05 Alexandre Oliva <aoliva@redhat.com>
908
909 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
910
5c447383
AO
9112012-09-05 Alexandre Oliva <aoliva@redhat.com>
912
913 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
914 change internal state upon failure.
915
fad64255
AO
9162012-09-05 Alexandre Oliva <aoliva@redhat.com>
917
918 * malloc/mcheck.c (mcheck_check_all): Fix typo.
919 * malloc/memusage.c (mmap): Likewise.
920 (mmap64, mremap): Likewise. Adjust name in comment.
921
1ffb8c90
SP
9222012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
923
924 * libio/fileops.c: Fix typos in comments.
925 * libio/oldfileops.c: Likewise.
926 * libio/wfileops.c: Likewise.
927
6ef9cc37
SP
9282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
929
930 [BZ #1349]
931 * malloc/Makefile (tests): Add tst-malloc-usable test case.
932 (tst-malloc-usable-ENV): Set environment for test case.
933 * malloc/hooks.c (malloc_check_get_size): New function to get
934 requested size.
935 * malloc/malloc.c (musable): Use malloc_check_get_size.
936 * malloc/tst-malloc-usable.c: New test case.
937
4d038ae3
AS
9382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
939
940 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
941
c4e85184
AM
9422012-09-05 Allan McRae <allan@archlinux.org>
943
b9dafc56 944 [BZ #13966]
c4e85184
AM
945 * configure.in (CXX_SYSINCLUDES): Use compiler output to
946 determine header location.
947 * configure: Regenerated.
948
e1343020
AS
9492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
950
951 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
952 float format.
953 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
954 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
955 format.
e1343020
AS
956 (test): Regenerate.
957
0a9f1987
DM
9582012-09-04 David S. Miller <davem@davemloft.net>
959
960 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
961 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
962 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
963
29237804
FW
9642012-09-04 Florian Weimer <fweimer@redhat.com>
965
966 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
967 failures.
968
edb3cb88
FW
969 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
970
60160d83
JM
9712012-09-04 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #9914]
974 * libio/iogetdelim.c: Include <limits.h>.
975 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
976 + len + 1 would overflow.
977
bcd6c8dc
AJ
9782012-09-03 Andreas Jaeger <aj@suse.de>
979
980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982
4ffffbd2
LD
9832012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
984
985 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
986 Add s_sinf-sse2, s_conf-sse2.
987
988 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
989 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
990 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
991 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
992
993 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
994 for using routine as __sinf_ia32.
995 Use macro for function declaration and weak_alias.
996 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
997 for using routine as __cosf_ia32.
998 Use macro for function declaration and weak_alias.
999
1000 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1001 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1002
1003 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1004 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1006
1007 * math/libm-test.inc (cos_test): Add more test cases.
1008 (sin_test): Likewise.
1009 (sincos_test): Likewise.
1010
511fa286
AK
10112012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1012
1013 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1014 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1015 hidden.
1016 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1017
5f30cfec
L
10182012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1019
1020 [BZ #14538]
1021 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1022 first element of the GOT.
1023 (elf_machine_load_address): Return the difference between
1024 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1025
0786794f
AM
10262012-09-01 Allan McRae <allan@archlinux.org>
1027
5f30cfec
L
1028 [BZ #13412]
1029 * configure.in (AWK): Require gawk version 3.0 or later.
1030 * configure: Regenerated.
0786794f 1031
26889eac
JM
10322012-09-01 Joseph Myers <joseph@codesourcery.com>
1033
1034 * sysdeps/unix/sysv/linux/kernel-features.h
1035 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1036 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1037 [__NR_clock_getres]: Make code unconditional.
1038 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1039 (clock_getcpuclockid): Remove code left unreachable by removal of
1040 conditionals.
1041 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1042 code unconditional.
1043 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1044 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1045 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1046 Make code unconditional.
1047 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1048 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1049 * sysdeps/unix/sysv/linux/clock_settime.c
1050 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1051 conditional code.
1052 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1053 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1054
d22e28b0
L
10552012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1056
1057 [BZ #14476]
1058 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1059 scripts/test-installation.pl.
1060
1061 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1062 and $ld_so_version if it is set.
1063
050af9c4
SP
10642012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1065
1066 [BZ #14516]
1067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1068 failure if reading from procfs failed.
1069 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1070
ad845c0b
JM
10712012-08-27 Joseph Myers <joseph@codesourcery.com>
1072
1073 * sysdeps/unix/sysv/linux/kernel-features.h
1074 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1075 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1076 Remove conditional code.
1077 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1078 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1079 Remove conditional code.
1080 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1081 * sysdeps/unix/sysv/linux/i386/fxstat.c
1082 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1084 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1085 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1087 * sysdeps/unix/sysv/linux/i386/lxstat.c
1088 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1090 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1091 Remove conditional code.
1092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1093 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1094 Remove conditional code.
1095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1097 <kernel-features.h>.
1098 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1099 Remove.
1100 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1101 Remove conditional code.
1102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1103 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1104 Remove conditional.
1105
5dbf56af
MF
11062012-08-27 Mike Frysinger <vapier@gentoo.org>
1107
1108 [BZ #5400]
1109 * NEWS: Add fixed bug number.
1110
d6e70f43
JM
11112012-08-27 Joseph Myers <joseph@codesourcery.com>
1112
7efb4737
JM
1113 [BZ #14519]
1114 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1115 underflowing exponent in case of negative sign.
1116 * stdlib/tst-strtod-round-data: Add more tests.
1117 * stdlib/tst-strtod-round.c (tests): Regenerated.
1118
af92131a
JM
1119 [BZ #3479]
1120 * stdlib/strtod_l.c (NDIG): Remove.
1121 (HEXNDIG): Likewise.
1122 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1123 smallest representable value.
1124 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1125 lie within an exact representation of 1/2 ulp of the result.
1126 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1127 unconditionally.
1128 (TENS_P9_IDX): Define unconditionally.
1129 (TENS_P9_SIZE): Likewise.
1130 (TENS_P10_IDX): Likewise.
1131 (TENS_P10_SIZE): Likewise.
1132 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1133 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1134 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1135 entries for 10^2^13 and 10^2^14.
1136 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1137 (TENS_P13_IDX): Define.
1138 (TENS_P13_SIZE): Likewise.
1139 (TENS_P14_IDX): Likewise.
1140 (TENS_P14_SIZE): Likewise.
1141 (_fpioconst_pow10): Change array size to
1142 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1143 unconditional.
1144 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1145 1024]: Add entries for 10^2^13 and 10^2^14.
1146 [LAST_POW10 > _LAST_POW10]: Remove #error.
1147 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1148 (_fpioconst_pow10): Change array size to
1149 FPIOCONST_POW10_ARRAY_SIZE.
1150 * stdlib/gen-fpioconst.c: New file.
1151 * stdlib/gen-tst-strtod-round.c: Likewise.
1152 * stdlib/tst-strtod-round-data: Likewise.
1153 * stdlib/tst-strtod-round.c: Likewise.
1154 * stdlib/Makefile (tests): Add tst-strtod-round.
1155
d6e70f43
JM
1156 [BZ #14459]
1157 * stdlib/strtod_l.c: Include <stdint.h>.
1158 (NDEBUG): Do not define.
1159 (round_and_return): Change EXPONENT parameter to type intmax_t.
1160 Rearrange calculations to avoid internal overflow possibilities.
1161 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1162 Rearrange calculations to avoid internal overflow possibilities.
1163 Assert that number fits inside MPNSIZE limbs.
1164 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1165 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1166 calculations and add assertions to avoid internal overflow
1167 possibilities. Add casts to avoid signed/unsigned operations.
1168 * stdlib/tst-strtod-overflow.c: New file.
1169 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1170
1f529f7d
MP
11712012-08-25 Marek Polacek <polacek@redhat.com>
1172
1173 * time/time.h: Fix some typos in comments.
1174
59a629f1
RM
11752012-08-23 Roland McGrath <roland@hack.frob.com>
1176
1177 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1178 * posix/tst-rfc3484-2.c: Likewise.
1179 * posix/tst-rfc3484-3.c: Likewise.
1180
d3bafbc9
SM
11812012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1182
1183 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1184 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1185
4efcc022
JM
11862012-08-23 Joseph Myers <joseph@codesourcery.com>
1187
1188 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1189 #include of fxstatat64.c.
1190
3cc3ef96
RM
11912012-08-22 Roland McGrath <roland@hack.frob.com>
1192
f04e2132
RM
1193 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1194 * shadow/getspent_r.c: Likewise.
1195 * shadow/getspnam.c: Likewise.
1196 * shadow/getspnam_r.c: Likewise.
1197 * gshadow/getsgent.c: Likewise.
1198 * gshadow/getsgent_r.c: Likewise.
1199 * gshadow/getsgnam.c: Likewise.
1200 * gshadow/getsgnam_r.c: Likewise.
1201 * inet/getnetbyad.c: Likewise.
1202 * inet/getnetbyad_r.c: Likewise.
1203 * inet/getnetbynm.c: Likewise.
1204 * inet/getnetbynm_r.c: Likewise.
1205 * inet/getnetent.c: Likewise.
1206 * inet/getnetent_r.c: Likewise.
1207 * inet/getproto.c: Likewise.
1208 * inet/getproto_r.c: Likewise.
1209 * inet/getprtent.c: Likewise.
1210 * inet/getprtent_r.c: Likewise.
1211 * inet/getprtname.c: Likewise.
1212 * inet/getprtname_r.c: Likewise.
1213 * inet/getrpcbyname.c: Likewise.
1214 * inet/getrpcbyname_r.c: Likewise.
1215 * inet/getrpcbynumber.c: Likewise.
1216 * inet/getrpcbynumber_r.c: Likewise.
1217 * inet/getrpcent.c: Likewise.
1218 * inet/getrpcent_r.c: Likewise.
1219 * inet/getaliasent.c: Likewise.
1220 * inet/getaliasent_r.c: Likewise.
1221 * inet/getaliasname.c: Likewise.
1222 * inet/getaliasname_r.c: Likewise.
1223 * nscd/getgrgid_r.c: Likewise.
1224 * nscd/getgrnam_r.c: Likewise.
1225 * nscd/gethstbyad_r.c: Likewise.
1226 * nscd/gethstbynm3_r.c: Likewise.
1227 * nscd/getpwnam_r.c: Likewise.
1228 * nscd/getpwuid_r.c: Likewise.
1229 * nscd/getsrvbynm_r.c: Likewise.
1230 * nscd/getsrvbypt_r.c: Likewise.
1231 * nscd/gai.c: Likewise.
1232
c53d909c
RM
1233 * configure.in (build_nscd): New substituted variable, set
1234 by --disable-build-nscd and defaults to $use_nscd.
1235 * configure: Regenerated.
1236 * config.make.in (build-nscd): New substituted variable.
1237 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1238 Change conditional to require [$(build-nscd) = yes] as well.
1239 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1240
3cc3ef96
RM
1241 [BZ# 13696]
1242 * configure.in (use_nscd): New substituted variable, set by
1243 --disable-nscd. If enabled, define USE_NSCD.
1244 * configure: Regenerated.
1245 * config.h.in: Add USE_NSCD.
1246 * config.make.in (use-nscd): New substituted variable.
1247 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1248 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1249 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1250 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1251 (CFLAGS-getgrnam_r.c): Likewise.
1252 (CFLAGS-initgroups.c): Likewise.
1253 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1254 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1255 Variables removed.
1256 * inet/getnetgrent_r.c
1257 (nscd_setnetgrent): New function, broken out of ...
1258 (setnetgrent): ... here. Call it.
1259 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1260 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1261 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1262 * nscd/Makefile (routines, aux): Move definitions after include of
1263 Makeconfig. Conditionalize on [$(use-nscd) != no].
1264 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1265 Conditionalize on [USE_NSCD].
1266 (is_nscd, nscd_init_cb): Likewise.
1267 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1268 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1269 * nss/nss_db/db-init.c: Likewise.
1270 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1271 [USE_NSCD].
1272 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1273 (make_request): Use it.
1274 (cache_valid_p): New function.
1275 (__check_pf): Use it.
1276 * NEWS: Add item for --disable-nscd.
1277
07e51550
DL
12782012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1279
1280 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1281 to support sed >= 4.2.1-20-ga9bf076.
1282 * configure: Regenerated.
1283
35a5b08b
RM
12842012-08-22 Roland McGrath <roland@hack.frob.com>
1285
1286 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1287 Conditionalize whole body on [IREL].
1288
8479f23a
JL
12892012-08-22 Jeff Law <law@redhat.com>
1290
1291 [BZ #14505]
1292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1293 if the family is PF_UNSPEC.
1294
48da0b21
MF
12952012-08-22 Mike Frysinger <vapier@gentoo.org>
1296
1297 * Makerules (lib-version): Rename from V.
1298 (install-lib-nosubdir): Change V to lib-version.
1299
15d0da8c
WS
13002012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1301
1302 [BZ #14252]
1303 * powerpc32/power6/wcschr.c: New file.
1304 * powerpc32/power6/wcscpy.c: New file.
1305 * powerpc32/power6/wcsrchr.c: New file.
1306 * powerpc64/power6/wcschr.c: New file.
1307 * powerpc64/power6/wcscpy.c: New file.
1308 * powerpc64/power6/wcsrchr.c: New file.
1309
bcca0895
MK
13102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1311
1312 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1313 (two_way_short_needle): Use it.
5a4aaa33
RM
1314 * string/strstr.c (AVAILABLE1_USES_J): Define.
1315 * string/strcasestr.c: Likewise.
99677e57
MK
1316
1317 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1318 array references.
1319 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1320
400726de
MK
1321 [BZ #11607]
1322 * NEWS: Add an entry.
1323 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1324 define their defaults.
1325 (two_way_short_needle): Detect end-of-string on-the-fly.
1326 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1327 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1328 * string/bug-strcasestr1.c: New test.
1329 * string/Makefile: Run it.
1330
20a71f2c
MK
13312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1332
1333 [BZ #11607]
1334 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1335 the first character.
1336
21ad0558
RM
13372012-08-21 Roland McGrath <roland@hack.frob.com>
1338
1339 * csu/elf-init.c (__libc_csu_irel): Function removed.
1340 * csu/libc-start.c (apply_irel): New function.
1341 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1342
0e1d9911
JM
13432012-08-21 Joseph Myers <joseph@codesourcery.com>
1344
1345 * sysdeps/unix/sysv/linux/kernel-features.h
1346 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1347 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1348 <kernel-features.h>.
1349 [__NR_fadvise64_64]: Make code unconditional.
1350 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1351 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1352 !__NR_fadvise64_64)]: Likewise.
1353 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1354 !__NR_fadvise64_64))]: Likewise.
1355 [__NR_fadvise64]: Make code unconditional.
1356 [!__NR_fadvise64]: Remove conditional code.
1357 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1358 <kernel-features.h>.
1359 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1360 unconditional.
1361 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1362 conditional code.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1364 not include <kernel-features.h>.
1365 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1366 unconditional.
1367 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1368 conditional code.
1369 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1370 include <kernel-features.h>.
1371 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1372 unconditional.
1373 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1374 conditional code.
1375
14a50c9d
WS
13762012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1377
1378 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1379 slight instruction rearrangements per scrollpipe analysis.
1380 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1381
c0f4faf0
RM
13822012-08-20 Roland McGrath <roland@hack.frob.com>
1383
696da859
RM
1384 * manual/syslog.texi (syslog; vsyslog, closelog):
1385 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1386 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1387
c0f4faf0
RM
1388 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1389 DSOCAPS to match condition on defining it.
1390
348363b2
JM
13912012-08-20 Joseph Myers <joseph@codesourcery.com>
1392
a35cbf28
JM
1393 * sysdeps/unix/sysv/linux/kernel-features.h
1394 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1396 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1397 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1399 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1400 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1402 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1403 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1404
445f7ecd
JM
1405 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1406 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1407
348363b2
JM
1408 * sysdeps/unix/sysv/linux/kernel-features.h
1409 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1410 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1411 unconditional.
1412 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1413 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1414 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1415 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1417 Make code unconditional.
1418 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1419 (__mmap64) [!__NR_mmap2]: Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1421 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1422 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1423 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1424 [__NR_mmap2]: Make code unconditional.
1425 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1426 (__mmap64) [!__NR_mmap2]: Likewise.
1427
bc5bc0e5
AK
14282012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1429
1430 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1431
88d506de
AJ
14322012-08-18 Andreas Jaeger <aj@suse.de>
1433
1434 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1435
493387d2
MF
14362012-08-18 Mike Frysinger <vapier@gentoo.org>
1437
1438 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1439 * include/unistd.h (__have_sock_cloexec): Likewise.
1440 (__have_pipe2): Likewise.
1441 (__have_dup3): Likewise.
1442
a277af22
MF
14432012-08-18 Mike Frysinger <vapier@gentoo.org>
1444
1445 [BZ #9685]
1446 * include/unistd.h (__have_pipe2): Change define into an extern int.
1447 (__have_dup3): Likewise.
1448 * socket/have_sock_cloexec.c: Include fcntl.h.
1449 (__have_pipe2): New variable.
1450 (__have_dup3): Likewise.
1451
fdab8fd3
MF
14522012-08-17 Mike Frysinger <vapier@gentoo.org>
1453
1454 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1455
31035e80
MP
14562012-08-17 Marek Polacek <polacek@redhat.com>
1457
1458 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1459 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1460
3bd9e993
RM
14612012-08-17 Roland McGrath <roland@hack.frob.com>
1462
c91c505f
RM
1463 * configure.in: Add AC_SUBST for sysheaders.
1464 * configure: Regenerated.
1465 * config.make.in (sysheaders): New substituted variable.
1466
7c6f9d53
RM
1467 * sysdeps/unix/mkfifo.c: Moved ...
1468 * sysdeps/posix/mkfifo.c: ... here.
1469 * sysdeps/unix/mkfifoat.c: Moved ...
1470 * sysdeps/posix/mkfifoat.c: ... here.
1471
1472 * sysdeps/unix/utime.c: Moved ...
1473 * sysdeps/posix/utime.c: ... here.
1474
1475 * sysdeps/unix/time.c: Moved ...
1476 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1477 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1478 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1479
1480 * sysdeps/unix/nice.c: Moved ...
1481 * sysdeps/posix/nice.c: ... here.
1482
1483 * sysdeps/unix/alarm.c: Moved ...
1484 * sysdeps/posix/alarm.c: ... here.
1485
3bd9e993
RM
1486 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1487
d1f09384
JL
14882012-08-17 Jeff Law <law@redhat.com>
1489
1490 * intl/Makefile (codeset_mo): New variable.
1491 ($(codeset_mo)): New target.
1492 (tst-codeset.out): Depend on that. Remove explicit rule.
1493 (tst-gettext3.out, tst-gettext5.out): Likewise.
1494 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1495 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1496 * intl/tst-codeset.sh: Remove.
1497 * intl/tst-gettext3.sh: Likewise.
1498 * intl/tst-gettext5.sh: Likewise.
1499
2ae1ae5c
RM
15002012-08-17 Roland McGrath <roland@hack.frob.com>
1501
c31fdb83
RM
1502 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1503 * sysdeps/unix/syscalls.list: ... here.
1504
a0844057
RM
1505 * sysdeps/posix/getaddrinfo.c
1506 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1507 (gaiconf_init, gaiconf_reload): Use them.
1508 [!_STATBUF_ST_NSEC]
1509 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1510 Define using time_t rather than struct timespec.
1511
750c1f2a
RM
1512 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1513 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1514 Macros removed.
1515 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1516 [!NO_THREADS].
1517 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1518 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1519 Likewise.
1520
2ae1ae5c
RM
1521 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1522 __libc_cleanup_push argument.
1523
e66a42f5
RM
1524 * bits/param.h: New file.
1525 * misc/sys/param.h: New file.
1526 * include/sys/param.h: New file.
1527 * misc/Makefile (headers): Add bits/param.h.
1528 * sysdeps/generic/sys/param.h: File removed.
1529 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1530 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1531 * sysdeps/mach/hurd/bits/param.h: New file.
1532 * sysdeps/mach/hurd/sys/param.h: New file.
1533
b7c08a66
RM
1534 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1535 last change.
1536
b2e1c562
RM
1537 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1538 [_IO_MTSAFE_IO].
1539 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1540 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1541 New macros.
1542
c75ccd4c
RM
1543 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1544 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1545 rather than -D_IO_MTSAFE_IO conditionally.
1546 * stdio-common/Makefile (CPPFLAGS): Likewise.
1547 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1548 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1549 Use $(libio-mtsafe).
1550 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1551 of -D_IO_MTSAFE_IO.
1552 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1553 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1554 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1555 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1556 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1557 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1558 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1559 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1560 (CFLAGS-fread_u_chk.c): Likewise.
1561 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1562 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1563 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1564 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1565 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1566 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1567 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1568 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1569 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1570
1571 * libio/Makefile: Test [$(libc-reentrant) = yes]
1572 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1573
1574 * Makeconfig
1575 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1576 * sysdeps/pthread/configure: File removed.
1577 * sysdeps/pthread/Makeconfig: New file.
1578 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1579 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1580
d9195db8
GB
15812012-08-16 Gary Benson <gbenson@redhat.com>
1582
1583 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1584 unmapping the first object in a namespace.
1585
86466cd9
RM
15862012-08-16 Roland McGrath <roland@hack.frob.com>
1587
1588 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1589 (__internal_setnetgrent): ... this. Add internal_function to
1590 definition. Add libc_hidden_def.
1591 (setnetgrent): Update caller.
1592 (internal_endnetgrent): Renamed to ...
1593 (__internal_endnetgrent): ... this. Add internal_function to
1594 definition. Add libc_hidden_def.
1595 (endnetgrent): Update caller.
1596 (internal_getnetgrent_r): Renamed to ...
1597 (__internal_getnetgrent_r): ... this. Add internal_function to
1598 definition. Add libc_hidden_def.
1599 (__getnetgrent_r): Update caller.
1600 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1601
c3c8283c
JM
16022012-08-16 Joseph Myers <joseph@codesourcery.com>
1603
1604 * stdlib/longlong.h: Update from GCC.
1605
db1ee0a8
RM
16062012-08-16 Roland McGrath <roland@hack.frob.com>
1607
1608 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1609 on _QL, which is set by umul_ppmm but never used.
1610 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1611 variables, which are set by GMP macros but never used.
1612 * stdio-common/_itowa.c (_itowa): Likewise.
1613 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1614 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1615
30f69637
CD
16162012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1617
1618 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1619 struct La_sh_regs is not constant.
1620 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1621 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1622 and struct La_sparc64_regs are not constant.
1623
93a78ac4
JM
16242012-08-16 Joseph Myers <joseph@codesourcery.com>
1625
1626 * sysdeps/unix/sysv/linux/kernel-features.h
1627 (__ASSUME_POSIX_TIMERS): Remove.
1628 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1629 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1630 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1631 Make code unconditional.
1632 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1633 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1634 Make code unconditional.
1635 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1637 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1638 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1639 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1640 Make code unconditional.
1641 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1642 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1643 (__libc_missing_posix_timers): Remove.
1644
dd924cd7
RM
16452012-08-15 Roland McGrath <roland@hack.frob.com>
1646
4b4f2771
RM
1647 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1648 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1649
601c888b
RM
1650 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1651
176790a7
RM
1652 * elf/dl-sym.c: Include <stdlib.h>.
1653
329bc018
RM
1654 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1655 constants, which avoids warnings in 32-bit builds.
1656
e04e272d
RM
1657 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1658 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1659
952bf94a
RM
1660 * misc/lseek.c: File moved to ...
1661 * io/lseek.c: ... here.
1662
7c99b50a
RM
1663 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1664
dd924cd7
RM
1665 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1666 shifting LEN more than 31 bits at once.
1667
b3f479a8
LD
16682012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1669
1670 [BZ #14195]
8c4ae0d4
RM
1671 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1672 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1673 * string/test-strncasecmp.c (check1): Renamed to...
1674 (bz12205): ...this.
1675 (bz14195): Add new testcase for two empty input strings and N > 0.
1676 (test_main): Call new testcase, adapt for renamed function.
1677
9c55864e
AJ
16782012-08-15 Andreas Jaeger <aj@suse.de>
1679
1680 [BZ #14090]
1681 * crypt/md5test2.c: New test, based on test supplied by Serge
1682 Belyshev <belyshev@depni.sinp.msu.ru>.
1683 * crypt/Makefile (xtests): Add md5test-giant..
1684 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1685
02dcb6c5
PE
16862012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1687
1688 [BZ #14090]
1689 * crypt/md5.c (md5_process_block): Don't assume the buffer
1690 length is less than 2**32.
1691 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1692 length is less than 2**64.
1693
a3f95dcc
RM
16942012-08-15 Roland McGrath <roland@hack.frob.com>
1695
be75d758
RM
1696 * string/str-two-way.h: Include <sys/param.h>.
1697 (MAX): Macro removed.
1698
7312ca90
RM
1699 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1700 Move #define and #undef of memmove to just before and after
1701 including <string.h>.
1702
9a0a5486
RM
1703 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1704 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1705 and after including <string.h>. Move declarations of
1706 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1707 to before #include "string/memmove.c".
1708
67cc348d
RM
1709 * include/dirent.h: Declare __getdirentries.
1710
a3f95dcc
RM
1711 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1712 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1713
ca98e171
MF
17142012-08-14 Mike Frysinger <vapier@gentoo.org>
1715
1716 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1717 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1718 * sysdeps/i386/configure: Regenerated.
1719 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1720 STABS_CURRENT_FILE, and STABS_FUN.
1721 (END): Remove call to STABS_FUN_END.
1722 (STABS_CURRENT_FILE1): Delete.
1723 (STABS_CURRENT_FILE): Likewise.
1724 (STABS_FUN): Likewise.
1725 (STABS_FUN_END): Likewise.
1726 (STABS_FUN2): Likewise.
1727 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1728 * sysdeps/x86_64/configure: Regenerated.
1729
5908bf46
RM
17302012-08-14 Roland McGrath <roland@hack.frob.com>
1731
1732 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1733 * elf/dl-lookup.c: Likewise.
5908bf46 1734
f2c05b9e
JM
17352012-08-14 Joseph Myers <joseph@codesourcery.com>
1736
1737 * sysdeps/unix/sysv/linux/kernel-features.h
1738 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1739 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1740 unconditionally.
1741 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1742 unconditionally.
1743 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1744 condition on __ASSUME_CLONE_THREAD_FLAGS.
1745
e11f5155
AJ
17462012-08-14 Andreas Jaeger <aj@suse.de>
1747
1748 * sysdeps/i386/fpu/libm-test-ulps: Update.
1749
51a9ba86
MK
17502012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1751
2fdd4f78
AJ
1752 * include/atomic.h (atomic_exchange_and_add): Split into ...
1753 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1754 New atomic macros.
51a9ba86 1755
ba6cba9e
MT
17562012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1757
1758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1759
42443a47
JL
17602012-08-13 Jeff Law <law@redhat.com>
1761
1762 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1763 null byte in the output string.
1764
121dce05
JM
17652012-08-10 Joseph Myers <joseph@codesourcery.com>
1766
1767 * sysdeps/unix/sysv/linux/kernel-features.h
1768 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1769 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1770 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1771 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1772 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1773 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1774 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1775
bf51f568
JL
17762012-08-09 Jeff Law <law@redhat.com>
1777
1778 [BZ #13939]
1779 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1780 When avoid_arena is set, don't retry in the that arena. Pick the
1781 next one, whatever it might be.
1782 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1783 (arena_lock): Pass in new parameter to arena_get2.
1784 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1785 arena_get2.
1786 (__libc_malloc): Unify retrying after main arena failure with
1787 __libc_memalign version.
1788 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1789
f85fa270
L
17902012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1791
1792 [BZ #14166]
1793 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1794 to __redirect_strstr.
1795 (__strstr_sse42): Use typeof __redirect_strstr.
1796 (__strstr_ia32): Likewise.
1797 (__libc_strstr): New prototype.
1798 (strstr): Renamed to ...
1799 (__libc_strstr): This.
1800 (strstr): New strong alias of __libc_strstr.
1801 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1802 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1803 __redirect_time.
1804 Include <time.h>.
1805 (__libc_time): New prototype.
1806 (time_ifunc): Replace time with __libc_time.
1807 (time): New strong alias and hidden definition of __libc_time.
1808 (__GI_time): Remove strong alias.
1809 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1810 Include <stddef.h>.
1811 (memmove): Redefined to __redirect_memmove.
1812 (__memmove_sse2): Use typeof __redirect_memmove.
1813 (__memmove_ssse3): Likewise.
1814 (__memmove_ssse3_back): Likewise.
1815 (__libc_memmove): New prototype.
1816 (memmove): Renamed to ...
1817 (__libc_memmove): This.
1818 (memmove): New strong alias of __libc_memmove.
1819
33b4a91e
MS
18202012-08-08 Mark Salter <msalter@redhat.com>
1821
1822 * elf/elf.h
1823 (R_MN10300_TLS_GD): Define.
1824 (R_MN10300_TLS_LD): Likewise.
1825 (R_MN10300_TLS_LDO): Likewise.
1826 (R_MN10300_TLS_GOTIE): Likewise.
1827 (R_MN10300_TLS_IE): Likewise.
1828 (R_MN10300_TLS_LE): Likewise.
1829 (R_MN10300_TLS_DTPMOD): Likewise.
1830 (R_MN10300_TLS_DTPOFF): Likewise.
1831 (R_MN10300_TLS_TPOFF): Likewise.
1832 (R_MN10300_SYM_DIFF): Likewise.
1833 (R_MN10300_ALIGN): Likewise.
1834 (R_MN10300_NUM): Update.
1835
b36137f1
JM
18362012-08-08 Joseph Myers <joseph@codesourcery.com>
1837
1838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1839 Remove.
1840
cdd915fd
RM
18412012-08-08 Roland McGrath <roland@hack.frob.com>
1842
a2433aac
RM
1843 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1844
cdd915fd
RM
1845 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1846 sysdeps/unix -> sysdeps/posix move.
1847 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1848
bf9b740a
AM
18492012-08-07 Allan McRae <allan@archlinux.org>
1850
1851 [BZ #14303]
1852 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1853 (SUNOS_CPP): Likewise.
1854 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1855 not found.
1856 (open_input): Call CPP using execvp.
1857
93df14ee
JM
18582012-08-07 Joseph Myers <joseph@codesourcery.com>
1859
1860 * sysdeps/unix/sysv/linux/kernel-features.h
1861 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1862 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1863 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1864 (__ASSUME_WAITID_SYSCALL): Likewise.
1865 * sysdeps/unix/sysv/linux/dl-execstack.c
1866 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1867 code unconditional.
1868 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1869 conditional code.
1870 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1871 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1872 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1873 code.
1874 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1875 unconditional.
1876 [__ASSUME_WAITID_SYSCALL]: Likewise.
1877 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1878
d34689de
RM
18792012-08-07 Roland McGrath <roland@hack.frob.com>
1880
a281decc
RM
1881 * sysdeps/unix/closedir.c: Renamed to ...
1882 * sysdeps/posix/closedir.c: ... here.
1883 * sysdeps/unix/dirfd.c: Renamed to ...
1884 * sysdeps/posix/dirfd.c: ... here.
1885 * sysdeps/unix/dirstream.h: Renamed to ...
1886 * sysdeps/posix/dirstream.h: ... here.
1887 * sysdeps/unix/fdopendir.c: Renamed to ...
1888 * sysdeps/posix/fdopendir.c: ... here.
1889 * sysdeps/unix/opendir.c: Renamed to ...
1890 * sysdeps/posix/opendir.c: ... here.
1891 * sysdeps/unix/readdir.c: Renamed to ...
1892 * sysdeps/posix/readdir.c: ... here.
1893 * sysdeps/unix/readdir_r.c: Renamed to ...
1894 * sysdeps/posix/readdir_r.c: ... here.
1895 * sysdeps/unix/rewinddir.c: Renamed to ...
1896 * sysdeps/posix/rewinddir.c: ... here.
1897 * sysdeps/unix/seekdir.c: Renamed to ...
1898 * sysdeps/posix/seekdir.c: ... here.
1899 * sysdeps/unix/telldir.c: Renamed to ...
1900 * sysdeps/posix/telldir.c: ... here.
1901 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1902 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1903 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1904 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1905
22895b47
RM
1906 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1907 * bits/fcntl.h: ... here.
1908
707a53b6
RM
1909 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1910 not 0.
1911 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1912 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1913 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1914 (struct flock): Move l_start, l_len to the beginning.
1915 Use __pid_t for l_pid.
1916 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1917 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1918 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1919 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1920 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1921 [__USE_LARGEFILE64] (struct flock64): New type.
1922 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1923
f0bd3e25
RM
1924 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1925 * bits/dirent.h: ... here.
1926
d34689de
RM
1927 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1928 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1929
6dad2c06
JM
19302012-08-07 Joseph Myers <joseph@codesourcery.com>
1931
1932 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1933 Change from 2.6.0 to 2.6.16.
1934 * sysdeps/unix/sysv/linux/configure: Regenerated.
1935 * sysdeps/unix/sysv/linux/kernel-features.h
1936 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1937 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1938 version.
1939 (__ASSUME_UTIMES): Likewise.
1940 (__ASSUME_CLONE_STOPPED): Remove.
1941 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1942 architectures, not kernel version.
1943 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1944 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1945 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1946 (__ASSUME_WAITID_SYSCALL): Likewise.
1947 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1948 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1949 * README: State 2.6.16 as minimum Linux kernel version. Do not
1950 refer to older versions.
1951
03af9520
RM
19522012-08-06 Roland McGrath <roland@hack.frob.com>
1953
8e49df1d
RM
1954 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1955 Define alphasort64 as an alias.
1956 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1957 Define versionsort64 as an alias.
1958 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1959 Define scandir64 as an alias.
1960 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1961 Define scandirat64 as an alias.
1962 * dirent/alphasort64.c (alphasort64):
1963 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1964 * dirent/versionsort64.c: Likewise.
1965 * dirent/scandir64.c: Likewise.
1966 * dirent/scandirat64.c: Likewise.
1967 * sysdeps/wordsize-64/alphasort.c: File removed.
1968 * sysdeps/wordsize-64/alphasort64.c: File removed.
1969 * sysdeps/wordsize-64/scandir.c: File removed.
1970 * sysdeps/wordsize-64/scandir64.c: File removed.
1971 * sysdeps/wordsize-64/scandirat.c: File removed.
1972 * sysdeps/wordsize-64/scandirat64.c: File removed.
1973 * sysdeps/wordsize-64/versionsort.c: File removed.
1974 * sysdeps/wordsize-64/versionsort64.c: File removed.
1975 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1976 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1977 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1980 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1982 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1983
1984 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1986 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1988 [defined __arch64__ || defined __sparcv9]
1989 (__INO_T_MATCHES_INO64_T): New macro.
1990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1991 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1992 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1993 * sysdeps/unix/sysv/linux/bits/dirent.h
1994 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1995 (_DIRENT_MATCHES_DIRENT64): New macro.
1996
03af9520
RM
1997 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1998 Define lockf64 as an alias.
1999 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2000 Define fseeko64 as an alias.
2001 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2002 Define ftello64 as an alias.
2003 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2004 Define _IO_fgetpos64 and fgetpos64 as aliases.
2005 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2006 Define _IO_fsetpos64 and fsetpos64 as aliases.
2007 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2008 Conditionalize body on this.
2009 * libio/fseeko64.c: Likewise.
2010 * libio/ftello64.c: Likewise.
2011 * libio/iofgetpos64.c: Likewise.
2012 * libio/iofsetpos64.c: Likewise.
2013 * sysdeps/wordsize-64/lockf.c: File removed.
2014 * sysdeps/wordsize-64/lockf64.c: File removed.
2015 * sysdeps/wordsize-64/fseeko.c: File removed.
2016 * sysdeps/wordsize-64/fseeko64.c: File removed.
2017 * sysdeps/wordsize-64/ftello.c: File removed.
2018 * sysdeps/wordsize-64/ftello64.c: File removed.
2019 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2020 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2021 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2022 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2023 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2024 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2025 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2027 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2028 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2031 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2033
2034 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2036 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2038 [defined __arch64__ || defined __sparcv9]
2039 (__OFF_T_MATCHES_OFF64_T): New macro.
2040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2041 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2043 (__OFF_T_MATCHES_OFF64_T): New macro.
2044
c5757acd
L
20452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * stdlib/secure-getenv.c (__secure_getenv): Replace
2048 GLIBC_2_16 with GLIBC_2_17.
2049
3a31811e
L
20502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2051
2052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2053 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2054
faa2bccb
DM
20552012-08-03 David S. Miller <davem@davemloft.net>
2056
2057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2058
85fe1997
JM
20592012-08-03 Joseph Myers <joseph@codesourcery.com>
2060
2061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2062 Remove.
2063 (__ASSUME_CORRECT_SI_PID): Likewise.
2064 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2065 (__ASSUME_TMPFS_NAME): Likewise.
2066 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2067 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2068 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2069 (HAVE_AUX_SECURE): Make definition unconditional.
2070 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2071 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2072
4f75b7a0
RM
20732012-08-03 Roland McGrath <roland@hack.frob.com>
2074
2075 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2076 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2077 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2078 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2079 __eloop_threshold instead of SYMLOOP_MAX.
2080
2081 * sysdeps/generic/eloop-threshold.h: New file.
2082 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2083 of MAXSYMLINKS.
2084 * elf/chroot_canon.c (chroot_canon): Likewise.
2085
7aab07e4
JM
20862012-08-03 Joseph Myers <joseph@codesourcery.com>
2087
2088 [BZ #13717]
2089 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2090 Change to 2.6.0 everywhere.
2091 * sysdeps/unix/sysv/linux/configure: Regenerated.
2092 * sysdeps/unix/sysv/linux/kernel-features.h
2093 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2094 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2095 kernel versions.
2096 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2097 (__ASSUME_FUTEX_REQUEUE): Remove.
2098 (__ASSUME_STATFS64): Define unconditionally.
2099 (__ASSUME_AT_SECURE): Likewise.
2100 (__ASSUME_CORRECT_SI_PID): Likewise.
2101 (__ASSUME_TGKILL): Define without depending on kernel version for
2102 i386.
2103 (__ASSUME_UTIMES): Likewise.
2104 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2105 kernel version.
2106 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2107 (__ASSUME_TMPFS_NAME): Likewise.
2108 * README: Update reference to Linux kernel versions.
2109
b67e9372
MP
21102012-08-02 Marek Polacek <polacek@redhat.com>
2111
1f529f7d 2112 [BZ# 14150]
b67e9372
MP
2113 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2114 libc_cv_asm_type_prefix with %.
2115 * configure: Regenerated.
d2441631
RM
2116 * include/libc-symbols.h: Remove comment about
2117 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2118 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2119 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2120 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2121 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2122 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2123 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2124 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2125 * elf/tst-unique2mod1.c: Likewise.
2126 * elf/tst-unique1mod2.c: Likewise.
2127 * elf/tst-unique1mod1.c: Likewise.
2128 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2129 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2130 Replace ASM_TYPE_DIRECTIVE with .type.
2131 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2132 * sysdeps/i386/sysdep.h: Likewise.
2133 * sysdeps/x86_64/sysdep.h: Likewise.
2134 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2136 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2137 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2138 * sysdeps/powerpc/powerpc32/sysdep.h:
2139 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2140 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2141 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2142 * sysdeps/i386/fpu/e_powf.S: Likewise.
2143 * sysdeps/i386/fpu/e_expl.S: Likewise.
2144 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2145 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2146 * sysdeps/i386/fpu/e_pow.S: Likewise.
2147 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2148 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2149 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2150 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2151 * sysdeps/i386/fpu/e_log2.S: Likewise.
2152 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2153 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2154 * sysdeps/i386/fpu/e_powl.S: Likewise.
2155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2156 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2157 * sysdeps/i386/fpu/e_logl.S: Likewise.
2158 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2159 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2160 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2163 * sysdeps/i386/fpu/e_log.S: Likewise.
2164 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2165 * sysdeps/i386/fpu/e_logf.S: Likewise.
2166 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2167 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2168 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2169 * sysdeps/i386/fpu/e_log10.S: Likewise.
2170 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2171 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2172 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2173 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2174 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2175 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2176 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2177 * sysdeps/i386/i686/strtok.S: Likewise.
2178 * sysdeps/i386/i386-mcount.S: Likewise.
2179 * sysdeps/i386/strtok.S: Likewise.
2180 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2181 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2184 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2186 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2187 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2188 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2189 * sysdeps/x86_64/_mcount.S: Likewise.
2190 * sysdeps/x86_64/strtok.S: Likewise.
2191 * sysdeps/sh/_mcount.S: Likewise.
2192
2747bf9a
RM
21932012-08-01 Roland McGrath <roland@hack.frob.com>
2194
2195 * libio/iofopen.c: Include <fcntl.h>.
2196 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2197 (_IO_fopen64, fopen64): Define as aliases.
2198 * libio/iofopen64.c: Include <fcntl.h>.
2199 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2200 Conditionalize body on this.
2201 * sysdeps/wordsize-64/iofopen.c: File removed.
2202 * sysdeps/wordsize-64/iofopen64.c: File removed.
2203
3fb791b8
MP
22042012-08-01 Marek Polacek <polacek@redhat.com>
2205
2206 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2207 Use dlfcn directly instead of a variable.
2208 (binfmt-subdir): Do not define.
2209 (dlfcn): Likewise.
2210
a9f1039f
JM
22112012-08-01 Joseph Myers <joseph@codesourcery.com>
2212
23bddc06
JM
2213 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2214 Remove all definitions.
2215 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2216 <kernel-features.h>.
2217 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2218 (miss_F_GETOWN_EX): Remove all definitions.
2219 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2220 macro definition.
2221 [!__ASSUME_FCNTL64]: Remove conditional code.
2222 [__ASSUME_FCNTL64]: Make code unconditional.
2223 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2224 <kernel-features.h>.
2225 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2226 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2227 (lockf64) [__NR_fcntl64]: Make code unconditional.
2228 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2229
a9f1039f
JM
2230 * sysdeps/unix/sysv/linux/kernel-features.h
2231 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2232 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2233 Make code unconditional.
2234 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2235 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2237 [__NR_vfork]: Make code unconditional.
2238 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2239 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2241 [__NR_vfork]: Make code unconditional.
2242 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2243 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2244
09c0ee5f
RM
22452012-08-01 Roland McGrath <roland@hack.frob.com>
2246
48aec5b9
RM
2247 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2248 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2249
cd97c966
RM
2250 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2251 Define mkstemp64 as an alias.
3f55550c
RM
2252 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2253 Define mkstemps64 as an alias.
cd97c966
RM
2254 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2255 Define mkostemp64 as an alias.
b8625cfc
RM
2256 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2257 Define mkostemps64 as an alias.
cd97c966
RM
2258 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2259 Conditionalize body on this.
2260 * misc/mkostemp64.c: Likewise.
b8625cfc 2261 * misc/mkostemps64.c: Likewise.
3f55550c 2262 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2263 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2264 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2265 * sysdeps/wordsize-64/mkostemp.c: File removed.
2266 * sysdeps/wordsize-64/mkstemp.c: File removed.
2267 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2270 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2271
09c0ee5f
RM
2272 [BZ #14138]
2273 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2274 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2275 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2276 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2277
2278 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2279 compat_symbol macros from <shlib-compat.h> rather than the underlying
2280 default_symbol_version and symbol_version macros, so that DEFAULT
2281 lines in shlib-versions are respected.
2282 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2283
7e66ee51
FW
22842012-08-01 Florian Weimer <fweimer@redhat.com>
2285
2286 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2287 Declare with warn_unused_result.
2288 (setgid, setregid, setegid, setresgid): Likewise.
2289 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2290 Likewise.
2291 * WUR-REPORT: Remove set*id functions.
2292
d2a54255
PT
22932012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2294
2295 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2296
7ecdb005
RM
22972012-07-31 Roland McGrath <roland@hack.frob.com>
2298
789bd351
RM
2299 * include/sys/socket.h (__libc_accept, __libc_accept4):
2300 Add attribute_hidden.
2301 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2302
40ce302d
RM
2303 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2304 use of PTR_MANGLE.
2305 * inet/getnetgrent_r.c (setup): Likewise.
2306
7ecdb005
RM
2307 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2308
e2eabb2c
DM
23092012-07-31 David S. Miller <davem@davemloft.net>
2310
2311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2312
d0419dbf
JM
23132012-07-31 Joseph Myers <joseph@codesourcery.com>
2314
2315 [BZ #13629]
2316 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2317 value between 1.0 and 2.0 and smaller part has absolute value less
2318 than 1.0.
2319 * math/s_clog10.c (__clog10): Likewise.
2320 * math/s_clog10f.c (__clog10f): Likewise.
2321 * math/s_clog10l.c (__clog10l): Likewise.
2322 * math/s_clogf.c (__clogf): Likewise.
2323 * math/s_clogl.c (__clogl): Likewise.
2324 * math/libm-test.inc (clog_test): Add more tests.
2325 (clog10_test): Likewise.
2326 * sysdeps/i386/fpu/libm-test-ulps: Update.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2328
2bc13872
FW
23292012-07-31 Florian Weimer <fweimer@redhat.com>
2330
2331 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2332 Exit with zero in case no suitable GID is found, and write a
2333 message to standard error.
2334
bea9b193
RM
23352012-07-30 Roland McGrath <roland@hack.frob.com>
2336
2337 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2338 rather than to 1.
2339 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2340 (MAXPATHLEN): Removed.
2341 (NOGROUP, NODEV): New macros.
2342 (setbit, clrbit, isset, isclr): New macros.
2343 (howmany, roundup, powerof2): New macros.
2344 (DEV_BSIZE): New macro.
2345
2346 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2347 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2348
2349 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2350 definition on [!__NO_LONG_DOUBLE_MATH].
2351
2352 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2353 PTR_MANGLE and PTR_DEMANGLE.
2354
2355 * socket/accept4.c (accept4): Rename to __libc_accept4.
2356 Define accept4 as a weak alias.
2357
2358 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2359 on [_DIRENT_HAVE_D_TYPE].
2360 * io/ftw.c (ftw_dir): Likewise.
2361
2362 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2363
2364 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2365
2366 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2367 Use the BSD numbers rather than the arbitrary ones we had.
2368 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2369 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2370 (SIGXCPU, SIGXFSZ): New macros.
2371 (_NSIG): Now 32.
2372
2373 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2374 initializer on [_LIBC_REENTRANT].
2375
2376 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2377 definitions inside [_POSIX_MAPPED_FILES].
2378
2379 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2380
2381 * dirent/opendir.c: Include <fcntl.h>.
2382
2383 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2384 (__libc_getspecific): Likewise.
2385 (__libc_key_create): Likewise.
2386
2387 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2388 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2389 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2390 (tmpfile64): Define as alias.
2391 * sysdeps/wordsize-64/tmpfile.c: File removed.
2392 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2395
2396 * stdio-common/vfscanf.c: Include <stdbool.h>.
2397 * nss/makedb.c: Likewise.
2398 * stdio-common/_i18n_number.h: Likewise.
2399 * argp/argp-help.c: Likewise.
2400 * posix/wordexp.c: Likewise.
2401 * sysdeps/posix/spawni.c: Likewise.
2402 * nss/nss_files/files-initgroups.c: Likewise.
2403 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2404 * nss/nss_files/files-initgroups.c: Likewise.
2405 * nss/nss_db/db-netgrp.c: Likewise.
2406 * nss/nss_db/db-initgroups.c: Likewise.
2407 * io/fchmodat.c: Include <sys/stat.h>.
2408
2409 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2410 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2411
2412 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2413 [HAVE_MMAP].
2414
2415 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2416 Add multiple inclusion protection.
2417
e5abc686
DM
24182012-07-27 David S. Miller <davem@davemloft.net>
2419
2420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2421
815e6fa3
GB
24222012-07-27 Gary Benson <gbenson@redhat.com>
2423
2424 [BZ #14298]
2425 * elf/rtld.c: Include <stap-probe.h>.
2426 (dl_main): Added static probes "init_start" and "init_complete".
2427 * elf/dl-load.c: Include <stap-probe.h>.
2428 (lose): Take new parameter "nsid".
2429 Added static probe "map_failed".
2430 (_dl_map_object_from_fd): Pass namespace id to lose.
2431 Added static probe "map_start".
2432 (open_verify): Pass namespace id to lose.
2433 * elf/dl-open.c: Include <stap-probe.h>.
2434 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2435 and "reloc_complete".
2436 * elf/dl-close.c: Include <stap-probe.h>.
2437 (_dl_close_worker): Added static probes "unmap_start" and
2438 "unmap_complete".
2439 * elf/rtld-debugger-interface.txt: New file documenting the above.
2440
9f98c16c
RM
24412012-07-26 Roland McGrath <roland@hack.frob.com>
2442
2443 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2444 rather than a string variable.
2445 * sunrpc/rpc_main.c (h_output): Likewise.
2446 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2447
f3c22df3
PT
24482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2449
2450 * inet/check_native.c: New file.
2451
3129cfc6
JM
24522012-07-26 Joseph Myers <joseph@codesourcery.com>
2453
da865e95
JM
2454 [BZ #13629]
2455 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2456 if larger part has absolute value 1.0.
2457 * math/s_clog10.c (__clog10): Likewise.
2458 * math/s_clog10f.c (__clog10f): Likewise.
2459 * math/s_clog10l.c (__clog10l): Likewise.
2460 * math/s_clogf.c (__clogf): Likewise.
2461 * math/s_clogl.c (__clogl): Likewise.
2462 * math/libm-test.inc (clog_test): Add more tests.
2463 (clog10_test): Likewise.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2466
3129cfc6
JM
2467 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2468 (pltexit): Likewise.
2469 (La_regs): Likewise.
2470 (La_retval): Likewise.
2471 (int_retval): Likewise.
2472 Update #error for removed macros to refer only to definitions in
2473 tst-audit.h.
2474 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2475 macro.
2476 (pltexit): Likewise.
2477 (La_regs): Likewise.
2478 (La_retval): Likewise.
2479 (int_retval): Likewise.
2480 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2481 macro.
2482 (pltexit): Likewise.
2483 (La_regs): Likewise.
2484 (La_retval): Likewise.
2485 (int_retval): Likewise.
2486 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2487 macro.
2488 (pltexit): Likewise.
2489 (La_regs): Likewise.
2490 (La_retval): Likewise.
2491 (int_retval): Likewise.
2492 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2493 macro.
2494 (pltexit): Likewise.
2495 (La_regs): Likewise.
2496 (La_retval): Likewise.
2497 (int_retval): Likewise.
2498 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2499 macro.
2500 (pltexit): Likewise.
2501 (La_regs): Likewise.
2502 (La_retval): Likewise.
2503 (int_retval): Likewise.
2504 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2505 macro.
2506 (pltexit): Likewise.
2507 (La_regs): Likewise.
2508 (La_retval): Likewise.
2509 (int_retval): Likewise.
2510 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2511 macro definitions in tst-audit.h.
2512 * sysdeps/i386/tst-audit.h: New file.
2513 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2514 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2515 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2516 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2517 * sysdeps/sh/tst-audit.h: Likewise.
2518 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2519 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2520 * sysdeps/x86_64/tst-audit.h: Likewise.
2521
bfc07087
AJ
25222012-07-26 Andreas Jaeger <aj@suse.de>
2523
b1b2aaf8
AJ
2524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2525 ptrace.
2526
2527 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2528 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2529 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2530 PTRACE_O_MASK.
2531 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2533 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2534
bfc07087
AJ
2535 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2536 value.
2537
2538 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2539 _sigsys.
2540 (si_call_addr, si_syscall, si_arch): Define new macro.
2541 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2542 _sigsys.
2543 (si_call_addr, si_syscall, si_arch): Define new marcro.
2544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2545 _sigsys.
2546 (si_call_addr, si_syscall, si_arch): Define new macro.
2547 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2548 _sigsys.
2549 (si_call_addr, si_syscall, si_arch): Define new macro.
2550
89b4b02f
JM
25512012-07-25 Joseph Myers <joseph@codesourcery.com>
2552
2553 [BZ #13717]
2554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2555 Change to 2.4.21 where previously 2.4.1.
2556 * sysdeps/unix/sysv/linux/configure: Regenerated.
2557 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2558 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2559 Linux kernel version.
2560 (__ASSUME_STD_AUXV): Remove.
2561 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2562 kernel version.
2563 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2564 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2565 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2566 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2567 (__ASSUME_NETLINK_SUPPORT): Likewise.
2568 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2569 (__no_netlink_support): Remove conditional definition.
2570 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2571 Remove.
2572 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2573 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2574 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2575 (if_nameindex_ioctl): Remove.
2576 (if_nameindex_netlink): Do not handle __no_netlink_support.
2577 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2578 code.
2579 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2580 Remove conditional code.
2581 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2582 code.
2583 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2584 unconditional.
2585 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2586 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2587 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2588 Remove.
2589 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2590 [!__ASSUME_STD_AUXV]: Remove conditional code.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2592 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2593 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2595 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2596 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2597 code.
2598 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2600 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2601 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2602 conditional code.
2603 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2605 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2606 code.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2608 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2609 conditional code.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2611 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2612 code unconditional.
2613 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2614 conditional code.
2615 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2616 unconditional.
2617 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2618 conditional code.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2620 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2621 unconditional.
2622 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2623 conditional code.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2625 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2626 code unconditional.
2627 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2628 conditional code.
2629 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2630 unconditional.
2631 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2632 conditional code.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2634 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2635 code unconditional.
2636 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2637 conditional code.
2638 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2639 unconditional.
2640 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2641 conditional code.
2642
842a39cd
AS
26432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2644
2645 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2646 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2647 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2648 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2649 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2650 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2651 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2652 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2653 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2654 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2655 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2656 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2657 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2658 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2662 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2663 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2665 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2666 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2668
84b3fd84
FW
26692012-07-25 Florian Weimer <fweimer@redhat.com>
2670
2671 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2672 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2673 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2674 Introduce __libc_secure_getenv.
0c7936d5
FW
2675 * stdlib/Versions (2.17): Add secure_getenv
2676 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2677 * stdlib/secure-getenv.c: Rename __secure_getenv to
2678 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2679 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2680 * stdlib/tst-secure-getenv.c: New.
2681 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2682 * manual/startup.texi (Environment Access): Document
2683 secure_getenv.
84b3fd84
FW
2684 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2685 __libc_secure_getenv.
2686 * inet/ruserpass.c (ruserpass): Likewise.
2687 * malloc/mtrace.c (mtrace): Likewise.
2688 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2689 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2690 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2691 * sysdeps/posix/tempname.c: Likewise. Evaluate
2692 HAVE_SECURE_GETENV.
2693 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2694 __secure_getenv to __libc_secure_getenv.
84b3fd84 2695 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2697 Likewise.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2707
56e49b71
JM
27082012-07-25 Joseph Myers <joseph@codesourcery.com>
2709
2710 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2711 (struct La_i86_retval): Likewise.
2712 (struct La_x86_64_regs): Likewise.
2713 (struct La_x86_64_retval): Likewise.
2714 (struct La_x32_regs): Likewise.
2715 (struct La_x32_retval): Likewise.
2716 (struct La_ppc32_regs): Likewise.
2717 (struct La_ppc32_retval): Likewise.
2718 (struct La_ppc64_regs): Likewise.
2719 (struct La_ppc64_retval): Likewise.
2720 (struct La_sh_regs): Likewise.
2721 (struct La_sh_retval): Likewise.
2722 (struct La_s390_32_regs): Likewise.
2723 (struct La_s390_32_retval): Likewise.
2724 (struct La_s390_64_regs): Likewise.
2725 (struct La_s390_64_retval): Likewise.
2726 (struct La_sparc32_regs): Likewise.
2727 (struct La_sparc32_retval): Likewise.
2728 (struct La_sparc64_regs): Likewise.
2729 (struct La_sparc64_retval): Likewise.
2730 (struct audit_ifaces): Remove architecture-specific pltenter and
2731 pltexit members.
2732 * sysdeps/i386/ldsodefs.h: New file.
2733 * sysdeps/powerpc/ldsodefs.h: Likewise.
2734 * sysdeps/s390/ldsodefs.h: Likewise.
2735 * sysdeps/sh/ldsodefs.h: Likewise.
2736 * sysdeps/sparc/ldsodefs.h: Likewise.
2737 * sysdeps/x86_64/ldsodefs.h: Likewise.
2738
354691b7
MP
27392012-07-25 Marek Polacek <polacek@redhat.com>
2740
2741 [BZ #6808]
2742 * math/libm-test.inc (yn_test): Add another test.
2743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2744 to ERANGE when the result is +-Inf.
2745 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2746 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2747 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2748 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2749
bf9e2071
JM
27502012-07-24 Joseph Myers <joseph@codesourcery.com>
2751
2752 * conform/data/time.h-data (NULL): Use macro-constant. Require
2753 equal to 0.
2754 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2755 clock_t.
2756 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2757
57633811
TS
27582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2759
2760 * configure.in <sysdeps resolving>: Correct printing
2761 Implies_before.
2762 * configure: Regenerate.
2763
c23c33b0
TS
27642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2765
2766 * math/w_ilogb.c: Include <limits.h>.
2767 * math/w_ilogbl.c: Likewise.
2768
b5982523
JM
27692012-07-20 Joseph Myers <joseph@codesourcery.com>
2770
2771 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2772 va_copy. Document allowing for unavailable va_copy only as
2773 pre-C99 compatibility.
2774 * manual/string.texi (Copying and Concatenation): Use va_copy
2775 instead of __va_copy in concat example.
2776
ac4ea442
PT
27772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2778
2779 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2780 (__sendto): Use create_address_port. Initialize APORT and deallocate
2781 it if not null.
2782
f98eafbd
PT
2783 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2784 with O_NOLINK passed to __file_name_lookup.
2785
898c7aab
PT
2786 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2787 with O_NOLINK passed to __file_name_lookup.
2788
0ced335a
PT
2789 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2790 negative N or less than NGIDS.
2791
b3404dbd
PT
2792 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2793 type to string_t. Set ERANGE as errno and return it if NAME is not big
2794 enough. Use memcpy instead of strncpy.
2795
0f48659e
JM
27962012-07-20 Joseph Myers <joseph@codesourcery.com>
2797
2798 * elf/Makefile (check-data): Remove.
2799 (localplt.data): New vpath directive.
2800 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2801 instead of $(check-data).
2802 * scripts/data/localplt-generic.data: Move to ...
2803 * sysdeps/generic/localplt.data: ... here.
2804 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2805 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2806 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2808 ... here.
2809 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2811 ... here.
2812 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2814 ... here.
2815 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2817 ... here.
2818 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2820 ... here.
2821 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2823 ... here.
2824
d37cbdaa
AZ
28252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826
2827 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2828 PPC32 and PPC64 files.
2829 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2830 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2831
46f85fc2
AK
28322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2833
2834 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2835 __makecontext_ret to ...
2836 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2837 ... here and call exit if uc_link is NULL. New file.
2838 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2839 __makecontext_ret.S.
2840 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2841 __makecontext_ret to ...
2842 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2843 ... here and call exit if uc_link is NULL. New file.
2844 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2845 __makecontext_ret.S.
2846
08f43f9b
AK
28472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2848
2849 * elf/elf.h (R_390_IRELATIVE): New definition.
2850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2851 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2852 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2853 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2854 (elf_machine_lazy_rel): Likewise.
2855 * sysdeps/s390/dl-irel.h: New file.
2856 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2857 * sysdeps/s390/s390-64/memset.S: New asm code.
2858 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2859 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2860 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2861 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2862 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2863 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2864 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2865 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2866 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2867 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2868 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2869 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2870 * sysdeps/s390/s390-32/memset.S: New asm code.
2871 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2872
3b05db33
MP
28732012-07-17 Marek Polacek <polacek@redhat.com>
2874
2875 [BZ #14349]
2876 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2877 * sysdeps/s390/s390-64/configure.in: Likewise.
2878 * sysdeps/sparc/configure.in: Likewise.
2879 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2880 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2881 * sysdeps/i386/configure.in: Likewise.
2882 * sysdeps/x86_64/configure.in: Likewise.
2883 * sysdeps/sh/configure.in: Likewise.
2884 * sysdeps/s390/s390-32/configure: Regenerated.
2885 * sysdeps/s390/s390-64/configure: Likewise.
2886 * sysdeps/x86_64/configure: Likewise.
2887 * sysdeps/sh/configure: Likewise.
2888 * sysdeps/powerpc/powerpc64/configure: Likewise.
2889 * sysdeps/powerpc/powerpc32/configure: Likewise.
2890 * sysdeps/sparc/configure: Likwise.
2891 * sysdeps/i386/configure: Likewise.
2892
a66877c6
MP
2893 * elf/dl-open.c: Comment fixes.
2894
cfc82fd8
JM
28952012-07-17 Joseph Myers <joseph@codesourcery.com>
2896
bd29910a
JM
2897 * Makefile [CXX] (check-data): Remove.
2898 [CXX] (c++-types.data): New vpath directive.
2899 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2900 vpath. Do not allow for C++ type data being missing.
2901 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2902 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2903 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2904 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2905 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2906 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2907 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2909 ... here.
2910 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2912 ... here.
2913 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2915 ... here.
2916 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2918 ... here.
2919 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2921 ... here.
2922 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2924 ... here.
2925 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2927 ... here.
2928 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2930
cfc82fd8
JM
2931 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2932 definitions to architecture-specific files.
2933 (TLS_IE): Likewise.
2934 (TLS_LD): Likewise.
2935 (TLS_GD): Likewise.
2936 * sysdeps/i386/tls-macros.h: New file.
2937 * sysdeps/powerpc/tls-macros.h: Likewise.
2938 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2939 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2940 * sysdeps/sh/tls-macros.h: Likewise.
2941 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2942 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2943 * sysdeps/x86_64/tls-macros.h: Likewise.
2944
f7db3170
TS
29452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2946
07cbfc23
TS
2947 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2948 zero value for regular exit case.
2949
f7db3170
TS
2950 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2951 (__start_context): Preserve zero value for regular exit case.
2952
dc97c227
TS
29532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2954 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2955
2956 * manual/setjmp.texi (setcontext): Clarify normal process
2957 termination when uc_link is the null pointer.
2958 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2959 exit call.
2960
d0cd7d02
AS
29612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2962
2963 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2964 preprocessor. Test for each exception mask separately.
2965
dd318934
AJ
29662012-07-16 Andreas Jaeger <aj@suse.de>
2967
2968 * po/ru.po: Update from translation team.
2969
8048311a
JM
29702012-07-15 Joseph Myers <joseph@codesourcery.com>
2971
2972 * conform/data/string.h-data (NULL): Use macro-constant. Require
2973 equal to 0.
2974 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2975 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2976 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2977 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2979
b637d46e
AJ
29802012-07-13 Andreas Jaeger <aj@suse.de>
2981
2982 * po/fr.po: Update from translation team.
2983
541428fe
MP
29842012-07-12 Marek Polacek <polacek@redhat.com>
2985
2986 [BZ #14173]
2987 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2988 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2989 loop condition.
2990
ec332e94
JM
29912012-07-12 Joseph Myers <joseph@codesourcery.com>
2992
2993 [BZ #13717]
2994 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2995 Change to 2.4.1 where previously 2.4.0.
2996 * sysdeps/unix/sysv/linux/configure: Regenerated.
2997 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2998 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2999 version.
3000 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3001 (__ASSUME_AT_CLKTCK): Remove.
3002 (__ASSUME_AT_PAGESIZE): Likewise.
3003 (__ASSUME_AT_XID): Likewise.
3004 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3005 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3006 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3007 unconditionally.
3008 (HAVE_AUX_PAGESIZE): Likewise.
3009 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3010 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3011 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3012
7b6e99be
JB
30132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3014
3015 [BZ #14307]
3016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3017 the temporary buffer used to invoke __gethostbyname2_r,
3018 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3019 host_data / struct gaih_addrtuple.
3020 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3021 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3022 header file nss/nsswitch.h.
3023 * nss/nsswitch.h (global scope): Add definition of implementation
3024 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3025 resolv/nss_dns/dns-host.c).
3026
608404eb
AJ
30272012-07-11 Andreas Jaeger <aj@suse.de>
3028
3029 * po/fr.po: Update from translation team.
3030
71220aca
AJ
3031 * po/sv.po: Update from translation team
3032 * po/fr.po: Another update from translation team.
3033
28cfe843
AZ
30342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035
3036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3037 for subnormals or multiply small sinh result by itself.
3038 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3040
6b90f981
DM
30412012-07-11 David S. Miller <davem@davemloft.net>
3042
3043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3044
c6825772
AS
30452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3046
3047 [BZ #14347]
3048 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3049 (INTERNAL_MARK): Shift it here.
3050
7b8e0d49
MP
30512012-07-10 Marek Polacek <polacek@redhat.com>
3052
3053 [BZ #14151]
3054 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3055 libc_cv_asm_global_directive with .globl.
3056 * configure: Regenerated.
3057 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3058 with .globl.
3059 * sysdeps/i386/configure: Regenerated.
3060 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3061 with .globl.
3062 * sysdeps/x86_64/configure: Regenerated.
3063 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3064 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3065 * elf/tst-unique2mod2.c: Likewise.
3066 * elf/tst-unique2mod1.c: Likewise.
3067 * elf/tst-unique1mod2.c: Likewise.
3068 * elf/tst-unique1mod1.c: Likewise.
3069 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3070 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3071 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3072 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3073 * sysdeps/mach/sysdep.h: Likewise.
3074 * sysdeps/i386/sysdep.h: Likewise.
3075 * sysdeps/i386/i386-mcount.S: Likewise.
3076 * sysdeps/x86_64/_mcount.S: Likewise.
3077 * sysdeps/x86_64/sysdep.h: Likewise.
3078 * sysdeps/sh/_mcount.S: Likewise.
3079 * sysdeps/sh/sysdep.h: Likewise.
3080 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3081 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3082 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3083 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3084 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3085 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3086 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3087 * locale/localeinfo.h: Likewise.
3088 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3089 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3090
6c55cda3
RM
30912012-07-09 Roland McGrath <roland@hack.frob.com>
3092
3093 [BZ #14336]
3094 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3095 system".
3096 * manual/message.texi (The Uniforum approach): Likewise.
3097 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3098 (glibc iconv Implementation): Likewise.
3099
638a572e
JM
31002012-07-09 Joseph Myers <joseph@codesourcery.com>
3101
3102 [BZ #14337]
3103 * math/s_clog.c (__clog): Avoid scaling a value down where that
3104 could result in underflow.
3105 * math/s_clog10.c (__clog10): Likewise.
3106 * math/s_clog10f.c (__clog10f): Likewise.
3107 * math/s_clog10l.c (__clog10l): Likewise.
3108 * math/s_clogf.c (__clogf): Likewise.
3109 * math/s_clogl.c (__clogl): Likewise.
3110 * math/libm-test.inc (clog_test): Add more tests.
3111 (clog10_test): Likewise.
3112 * sysdeps/i386/fpu/libm-test-ulps: Update.
3113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3114
261f4859
AS
31152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3116
0abaf3e4
AS
3117 [BZ #14283]
3118 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3119 by 7 not 8 to examine high bit of fractional part.
3120
261f4859
AS
3121 [BZ #14042]
3122 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3123 for call to __mcount_internal.
3124 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3125 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3126 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3127
f17ac40d
JM
31282012-07-06 Joseph Myers <joseph@codesourcery.com>
3129
9ad63c23
JM
3130 [BZ #14154]
3131 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3132 approximation for values within 0x1p-13f of an odd multiple of
3133 pi/4.
3134 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3135 exception. Add more tests.
3136 * sysdeps/i386/fpu/libm-test-ulps: Update.
3137
f17ac40d
JM
3138 [BZ #6778]
3139 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3140 inputs and return -1 for them. Do not check for +Inf in case not
3141 reachable for +Inf.
3142 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3143 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3144 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3145 and return -1 for them. Do not check for +Inf in case not
3146 reachable for +Inf.
3147 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3148 define.
3149 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3150 and return -1 for them. Do not check for +Inf in case not
3151 reachable for +Inf.
3152 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3153 spurious underflow.
3154 * sysdeps/i386/fpu/libm-test-ulps: Update.
3155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3156
fb21f89b
MF
31572012-07-06 Mike Frysinger <vapier@gentoo.org>
3158
3159 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3160
cdfe2c5e
JM
31612012-07-05 Joseph Myers <joseph@codesourcery.com>
3162
3163 [BZ #14157]
3164 [BZ #14331]
3165 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3166 could result in spurious underflow. Scale down values above
3167 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3168 * math/s_csqrtf.c (__csqrtf): Likewise.
3169 * math/s_csqrtl.c (__csqrtl): Likewise.
3170 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3171 spurious underflow.
3172 * sysdeps/i386/fpu/libm-test-ulps: Update.
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3174
70d35b67
AS
31752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3176
704bc459
AS
3177 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3178 xopen-msg.sed.
3179 * catgets/xopen-msg.awk: New file.
3180 * catgets/xopen-msg.sed: Removed.
3181
70d35b67
AS
3182 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3183 po2text.sed.
3184 * intl/po2test.awk: New file.
3185 * intl/po2test.sed: Removed.
3186
ca61cf32
JM
31872012-07-04 Joseph Myers <joseph@codesourcery.com>
3188
3189 [BZ #14328]
3190 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3191 or multiply small sinh result by itself.
3192 * math/s_ctanf.c (__ctanf): Likewise.
3193 * math/s_ctanh.c (__ctanh): Likewise.
3194 * math/s_ctanhf.c (__ctanhf): Likewise.
3195 * math/s_ctanhl.c (__ctanhl): Likewise.
3196 * math/s_ctanl.c (__ctanl): Likewise.
3197 * math/libm-test.inc (ctan_test_tonearest): New function.
3198 (ctan_test_towardzero): Likewise.
3199 (ctan_test_downward): Likewise.
3200 (ctan_test_upward): Likewise.
3201 (ctanh_test_tonearest): Likewise.
3202 (ctanh_test_towardzero): Likewise.
3203 (ctanh_test_downward): Likewise.
3204 (ctanh_test_upward): Likewise.
3205 (main): Call these new functions.
3206 * sysdeps/i386/fpu/libm-test-ulps: Update.
3207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3208
ca48a46a
MF
32092012-07-03 Mike Frysinger <vapier@gentoo.org>
3210
3211 * .gitignore: Delete /ports entry.
3212
9d63d37d
AJ
32132012-07-03 Andreas Jaeger <aj@suse.de>
3214
3215 * po/bg.po: Update from translation team.
3216 * po/cs.po: Likewise.
3217 * po/de.po: Likewise.
3218 * po/hr.po: Likewise.
3219 * po/nl.pl: Likewise.
3220 * po/pl.po: Likewise.
3221 * po/vi.po: Likewise.
3222
370ca3d2
JM
32232012-07-03 Joseph Myers <joseph@codesourcery.com>
3224
95f5a9a8
JM
3225 * Makeconfig [!+link] (+link-before-libc): New variable.
3226 [!+link] (+link-after-libc): Likewise.
3227 [!+link] (+link-tests): Likewise.
3228 [!+link] (+link): Define in terms of $(+link-before-libc) and
3229 $(+link-after-libc).
3230 [!+link-static] (+link-static-before-libc): New variable.
3231 [!+link-static] (+link-static-after-libc): Likewise.
3232 [!+link-static] (+link-static-tests): Likewise.
3233 [!+link-static] (+link-static): Define in terms of
3234 $(+link-static-before-libc) and $(+link-static-after-libc).
3235 [build-shared] (link-libc-before-gnulib): New variable.
3236 [build-shared] (link-libc-tests): Likewise.
3237 [build-shared] (link-libc): Define in terms of
3238 $(link-libc-before-gnulib).
3239 [!build-shared] (link-libc-tests): New variable.
3240 (link-libc-static-tests): New variable.
3241 [!gnulib] (gnulib-arch): New variable.
3242 [!gnulib] (gnulib-tests): Likewise.
3243 [!gnulib] (static-gnulib-arch): Likewise.
3244 [!gnulib] (static-gnulib-tests): Likewise.
3245 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3246 Define with "=" instead of ":=".
3247 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3248 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3249 * Rules (binaries-all-notests): New variable.
3250 (binaries-all-tests): Likewise.
3251 (binaries-static-notests): Likewise.
3252 (binaries-static-tests): Likewise.
3253 (binaries-all): Define using $(binaries-all-notests) and
3254 $(binaries-all-tests).
3255 (binaries-static): Define using $(binaries-static-notests) and
3256 $(binaries-static-tests).
3257 (binaries-shared-tests): New variable.
3258 (binaries-shared-notests): Likewise.
3259 (binaries-shared): Remove variable.
3260 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3261 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3262 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3263 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3264 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3265 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3266 * elf/Makefile (sln-modules): New variable.
3267 (extra-objs): Add $(sln-modules:=.o).
3268 (ldconfig-modules): Add static-stubs.
3269 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3270 * elf/static-stubs.c: New file.
3271
7a845b2c
JM
3272 [BZ #14283]
3273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3274 by 7 not 8 to examine high bit of fractional part. Use volatile
3275 variables when splitting into final array of floats if
3276 __FLT_EVAL_METHOD__ != 0.
3277 * math/libm-test.inc (cos_test): Add another test.
3278 (sin_test): Likewise.
3279 * sysdeps/i386/fpu/libm-test-ulps: Update.
3280
e2283f38
JM
3281 [BZ #14273]
3282 * math/libm-test.inc (cosh_test): Add more tests.
3283
370ca3d2
JM
3284 * version.h (RELEASE): Set to "development".
3285 (VERSION): Set to "2.16.90".
3286
ee9247c3
CD
32872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3288
3289 * NEWS: Update copyright. Remove last-updated date.
3290 Mention math library bug fixes and timezone data changes.
3291 * README: Mention GNU/Hurd, x32, and HPPA support status.
3292
4648c381
TS
32932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3294
3295 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3296
aac78a43
AJ
32972012-06-27 Andreas Jaeger <aj@suse.de>
3298
3299 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3300
ed3dbfad
AJ
33012012-06-25 Andreas Jaeger <aj@suse.de>
3302
3303 * sysdeps/s390/fpu/libm-test-ulps: Update.
3304
4d0ee855
AS
33052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3306 Thomas Schwinge <thomas@codesourcery.com>
3307
3308 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3309 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3310 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3311 fanotify_mark.
3312
af1bce34
TS
33132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3314
a9fa33ba
TS
3315 * sysdeps/mach/start.c: Remove file.
3316 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3317 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3318 * sysdeps/sh/init-first.c: Likewise.
3319
58f902b8
TS
3320 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3321 registers for frame unwinding purposes, add CFI directives.
3322 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3323 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3324 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3325 Likewise.
3326
1518f58b
TS
3327 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3328 __fortify_fail returning.
3329 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3330
db9b5059
TS
3331 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3332 sysdeps/sh/____longjmp_chk.S.
3333 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3334 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3335 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3336 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3337
967705fe
TS
3338 * sysdeps/sh/abort-instr.h: New file.
3339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3340 process in case exit returns.
3341
a9def8c4
TS
3342 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3343 initialize the GOT register before use.
3344
2a649725
TS
3345 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3346 calculation of ARGC > 4.
3347
af1bce34
TS
3348 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3349 meaningful names to some local labels.
3350
d230f50a
KK
33512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3352 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3353
3354 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3355 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3356 (__arch_compare_and_exchange_val_16_acq): Likewise.
3357 (__arch_compare_and_exchange_val_32_acq): Likewise.
3358 (atomic_exchange_and_add): Fix gUSA sequence.
3359 (atomic_add): Likewise.
3360 (atomic_add_negative): Likewise.
3361 (atomic_add_zero): Likewise.
3362 (atomic_bit_test_set): Likewise.
3363
0479b305
AS
33642012-06-22 Andreas Schwab <schwab@redhat.com>
3365
3366 [BZ #13579]
3367 * include/link.h (struct link_map): Add l_free_initfini.
3368 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3369 l_initfini.
3370 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3371 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3372 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3373 set.
3374
0e3933b9
CD
33752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3376
3377 * configure.in: Use AC_LANG_SOURCE.
3378 * configure: Regenerate.
3379
4248b1b1
RM
33802012-06-22 Roland McGrath <roland@hack.frob.com>
3381
3382 * configure.in (libc_cv_localstatedir): New substituted variable.
3383 * configure: Regenerated.
3384 * config.make.in (localstatedir): New variable, substituted from
3385 libc_cv_localstatedir.
3386 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3387 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3388 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3389 * sysdeps/gnu/configure: Regenerated.
3390
006dd861
JL
33912012-06-21 Jeff Law <law@redhat.com>
3392
3393 [BZ #14277]
3394 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3395 free. Simplify list management for _LIBC case.
3396
79662d42
JM
33972012-06-21 Joseph Myers <joseph@codesourcery.com>
3398
b7abb4bf
JM
3399 [BZ #14273]
3400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3401 Clear sign bit of 64-bit integer value before comparing against
3402 overflow value.
3403
79662d42
JM
3404 * sysdeps/mach/configure: Regenerated.
3405
1f150908
L
34062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 [BZ #14278]
3409 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3410
28363bbf
JL
34112012-06-21 Jeff Law <law@redhat.com>
3412
3413 [BZ #13882]
3414 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3415 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3416 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3417 * elf/dl-open.c (dl_open_worker): Likewise.
3418
09615db4
CD
34192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3420
3421 * scripts/list-sources.sh: Scan PORTS for translations.
3422 * po/libc.pot: Regenerated.
3423
2174c6dd
AJ
34242012-06-21 Andreas Jaeger <aj@suse.de>
3425
3426 [BZ #12194]
3427 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3428 warning.
3429 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3430 * bits/byteswap-16.h (__bswap_16): Likewise.
3431 * bits/byteswap.h (__bswap_constant_16): Likewise.
3432
3ee947b1
L
34332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 [BZ #14117]
a2f34833
L
3436 * sysdeps/i386/fpu_control.h: Removed.
3437 * sysdeps/x86_64/fpu_control.h: Moved to ...
3438 * sysdeps/x86/fpu_control.h: Here.
3439
3ee947b1
L
3440 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3441 (_FPU_SETCW): Likewise.
3442
ed1825f8
L
34432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3444
25f1282a
L
3445 [BZ #14117]
3446 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3447 * sysdeps/x86/fpu/bits/mathinline.h: This.
3448 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3449
ed1825f8
L
3450 [BZ #14050]
3451 [BZ #14117]
3452 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3453 functions if __x86_64__ is defined.
3454
36d54b74
CLT
34552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3456
3457 * string/endian.h: Add !__ASSEMBLER__ condition for including
3458 conversion interfaces.
3459
10285c21
JM
34602012-06-15 Joseph Myers <joseph@codesourcery.com>
3461
3462 [BZ #14241]
3463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3464 of ABS(x) in calculating zero to negative powers other than odd
3465 integers.
3466 * math/libm-test.inc (pow_test): Add more tests.
3467
06c5abbd
AJ
34682012-06-15 Andreas Jaeger <aj@suse.de>
3469
3470 * manual/contrib.texi (Contributors): Update entry of Liubov
3471 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3472 Machado Filho.
3473
a3aeac40
CH
34742012-06-15 Cyril Hrubis <metan@ucw.cz>
3475
3476 * string/string.h: Add __wur to GNU version of strerror_r.
3477
49bdf4c1
L
34782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 [BZ #14229]
3481 * string/Makefile (tests): Add tst-strtok_r.
3482 * string/tst-strtok_r.c: New file.
3483 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3484 RAX_LP/RDX_LP on SAVE_PTR.
3485
834f9b8d
RM
34862012-06-14 Roland McGrath <roland@hack.frob.com>
3487
3488 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3489
75fa1921
JM
34902012-06-14 Joseph Myers <joseph@codesourcery.com>
3491
3492 * libm_test.inc (csqrt_test): Allow more spurious underflow
3493 exceptions.
3494 (j0_test): Likewise.
3495 (j1_test): Likewise.
3496 (y0_test): Likewise.
3497 (y1_test): Likewise.
3498
771766df
CD
34992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3500
3501 * po/Makefile (libc.pot): Use UTF-8 charset.
3502
ceb9e56b
PP
35032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3504
3505 [BZ #14210]
3506 Suppress sign-conversion warning from FD_SET.
3507 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3508 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3509 not unsigned long int.
3510 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3511
ddb28975
L
35122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3513
3514 [BZ #14050]
3515 [BZ #14117]
3516 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3517 __extern_always_inline instead of __extern_inline.
3518 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3519 (__signbit): Likewise.
3520 (__signbitl): Support C++ namespace.
3521 (lrintf): New inline function.
3522 (lrint): Likewise.
3523 (llrintf): Likewise.
3524 (llrint): Likewise.
3525 (fmaxf): Likewise.
3526 (fmax): Likewise.
3527 (fminf): Likewise.
3528 (fmin): Likewise.
3529 (rint): Likewise.
3530 (rintf): Likewise.
3531 (ceil): Likewise.
3532 (ceilf): Likewise.
3533 (floor): Likewise.
3534 (floorf): Likewise.
3535 (nearbyint): Likewise.
3536 (nearbyintf): Likewise.
3537
d7b4fb26
TS
35382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3539
3540 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3541 non-default versions.
3542
eb55f5c2
RM
35432012-06-11 Roland McGrath <roland@hack.frob.com>
3544
3545 [BZ #14218]
3546 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3547
366af02c
TS
35482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3549
99ff6e5c
TS
3550 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3551 (FE_UPWARD, FE_DOWNWARD): Don't define.
3552 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3553 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3554
366af02c
TS
3555 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3556 reading it.
3557 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3558 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3559
793ea851
KK
35602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3561
3562 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3564 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3565 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3566
a728a38f
L
35672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3568
3569 [BZ #14117]
c08010c7
L
3570 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3571 * sysdeps/i386/fpu/Implies: New file.
3572 * sysdeps/x86_64/fpu/Implies: Likewise.
3573 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3574 * sysdeps/x86/fpu/bits/fenv.h: This.
3575
a728a38f
L
3576 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3577 __SSE_MATH__.
3578
6e230d11
SP
35792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3580
3581 [BZ #14134]
3582 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3583 character 0xffff that matches the last element of the
3584 conversion table.
3585
1b671feb
AZ
35862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3587
3588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3589 fmodl commit.
3590
6043738b
AZ
35912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3594 values higher than 25.6283.
3595
34ae0b32
AZ
35962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597
3598 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3599 subnormal exponent extraction and add some __builtin_expect.
3600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3601 Fix for subnormal mantissa calculation.
3602
1214ec8f
MF
36032012-06-04 Mike Frysinger <vapier@gentoo.org>
3604
3605 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3606 cpu2 is -1 and errno is not ENOSYS.
3607
f3d1f93c
L
36082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3609
3610 [BZ #14117]
0e4a3cd7
L
3611 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3612 * sysdeps/x86/bits/string.h: This.
3613 * sysdeps/x86_64/bits/string.h: Removed.
3614
6704c645
L
3615 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3616 if not compiling for x86-64, but compiling for >= i486.
3617
48495318
L
3618 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3619 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3620
14adcbfc
L
3621 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3622 New macro from Linux kernel 3.4.0.
3623 (FP_XSTATE_MAGIC2): Likewise.
3624 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3625 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3626 (struct _fpx_sw_bytes): New struct.
3627 (struct _xsave_hdr): Likewise.
3628 (struct _ymmh_state): Likewise.
3629 (struct _xstate): Likewise.
3630
68e408ab
L
3631 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3632 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3633 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3634 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3635 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3636 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3637
f3d1f93c
L
3638 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3639 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3640 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3641 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3642 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3643 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3644
d9dc34cd
TMQMF
36452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3646
3647 [BZ #13743]
3648 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3649 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3650 (sysdep_headers): Include sys/platform/ppc.h.
3651 * sysdeps/powerpc/test-gettimebase.c: Test for
3652 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3653 * manual/Makefile (appendices): Include platform.texi.
3654 * manual/contrib.texi (Contributors): Update @node pointers.
3655 * manual/maint.texi (Maintenance): Likewise.
3656 (Platform): New node.
3657 * manual/platform.texi: New file. Document the new features.
3658
4af3879c
SP
36592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3660 Jakub Jelinek <jakub@redhat.com>
3661
3662 [BZ #14188]
3663 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3664 where __builtin_expect is unavailable.
3665
2fd6ff13
DM
36662012-06-03 David S. Miller <davem@davemloft.net>
3667
3668 * stdlib/longlong.h: Updated from GCC.
3669
173f7220
AS
36702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 [BZ #14042]
3673 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3674 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3675 __mcount_internal.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3677 (GLIBC_2.16): Likewise.
3678
f34a1c6f
L
36792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3682
88a4576f
JM
36832012-06-01 Joseph Myers <joseph@codesourcery.com>
3684
ea32bcdd
JM
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3686 (default-abi): New variable.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3688 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3689 variable.
3690 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3691 Likewise.
3692 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3695 Likewise.
3696
88a4576f
JM
3697 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3698 definition. Document in comment.
3699
402fe938
DM
37002012-06-01 David S. Miller <davem@davemloft.net>
3701
3702 * stdlib/longlong.h: Updated from GCC.
3703
3553723f
L
37042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 [BZ #14117]
3bd872c4
L
3707 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3708 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3709 sys/debugreg.h sys/io.h here.
3710 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3711 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3712 sys/io.h.
3713 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3714 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3715 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3716 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3717 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3718 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3719
3553723f
L
3720 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3721 Define only if __x86_64__ is defined.
3722
4842e4fe
JM
37232012-06-01 Joseph Myers <joseph@codesourcery.com>
3724
c5bfe3d5
JM
3725 [BZ #14048]
3726 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3727 Use int64_t for variable i.
3728 * math/libm-test.inc (fmod_test): Add more tests.
3729
4842e4fe
JM
3730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3731 z computation is not scheduled after fetestexcept.
3732 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3733 Use math_force_eval instead of asm to ensure calculation scheduled
3734 before exception test.
3735 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3736 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3737
efb73488
AJ
37382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3739
3740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3741 computation is not scheduled after fetestexcept.
3742
29bcce7c
L
37432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 [BZ #14117]
3746 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3747 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3748
73a68f94
AZ
37492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3750
3751 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3752 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3753
67b6df78
L
37542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3755
edf2933a 3756 [BZ #14117]
ebc64a18
L
3757 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3758 <bits/wordsize.h>.
3759 (__WCHAR_MIN): Support __WORDSIZE == 64.
3760 (__WCHAR_MAX): Likewise.
3761
edf2933a
L
3762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3764
57c6cf40
L
3765 [BZ #14183]
3766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3767 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3768
67b6df78 3769 [BZ #14117]
8eb6281e
L
3770 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3771 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3772
aac639f4
L
3773 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3774 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3775
67b6df78
L
3776 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3777 Defined to 1 if __x86_64__ isn't defined.
3778 (_STAT_VER_LINUX_OLD): New.
3779 (st_atime): Remove duplicate.
3780 (st_mtime): Likewise.
3781 (st_ctime): Likewise.
3782
1c2cfe81
DM
37832012-05-31 David S. Miller <davem@davemloft.net>
3784
3785 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3786 entries.
3787
5be8418c
AS
37882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3789
e7725326
AS
3790 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3791 gen-libm-test.pl.
3792
5be8418c
AS
3793 [BZ #14132]
3794 * elf/dl-reloc.c: Include <_itoa.h>.
3795 (_dl_reloc_bad_type): Remove use of INTUSE.
3796 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3797 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3798 * stdio-common/psiginfo.c (psiginfo): Likewise.
3799 * stdio-common/psignal.c (psignal): Likewise.
3800 * string/strsignal.c (strsignal): Likewise.
3801 * include/signal.h (_sys_siglist): Declare hidden proto.
3802 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3803 INTVARDEF with libc_hidden_data_def.
3804 * stdio-common/itoa-udigits.c: Likewise.
3805 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3806 (_itoa_lower_digits_internal): Remove declaration.
3807 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3808 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3809 (_sys_sigabbrev_internal): Remove aliases.
3810 (_sys_siglist): Define hidden alias.
3811
507352f1
MT
38122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3813
3814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3815 bits/sysctl.h.
3816
42bbb1c3
L
38172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3818
3819 [BZ #14117]
6bd784b6
L
3820 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3821 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3822
8bca20f0
L
3823 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3824 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3825 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3826 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3828 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3829
f9e890a9
L
3830 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3831 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3832 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3833
471101a1
L
3834 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3835 with __addr.
3836 (insw): Likewise.
3837 (insl): Likewise.
3838 (outsb): Likewise.
3839 (outsw): Likewise.
3840 (outsl): Likewise.
3841
6451c862
L
3842 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3843 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3844 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3845
a254b8c9
L
3846 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3847 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3848 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3849 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3850 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3851 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3852
b8dfdd92
L
3853 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3854 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3855
578cd270
L
3856 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3857 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3858
de662f5f
L
3859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3861 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3862
25653439
L
3863 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3864 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3865 to ...
3866 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3867
6bad24a0
L
3868 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3869 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3870 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3871
42bbb1c3
L
3872 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3873 for x86-64.
3874 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3875
2d10d547
JM
38762012-05-31 Joseph Myers <joseph@codesourcery.com>
3877
3878 * math/math.h (M_El): Use two more decimal places.
3879 (M_LOG2El): Likewise.
3880 (M_LOG10El): Likewise.
3881 (M_LN2l): Likewise.
3882 (M_LN10l): Likewise.
3883 (M_PIl): Likewise.
3884 (M_PI_2l): Likewise.
3885 (M_PI_4l): Likewise.
3886 (M_1_PIl): Likewise.
3887 (M_2_PIl): Likewise.
3888 (M_2_SQRTPIl): Likewise.
3889 (M_SQRT2l): Likewise.
3890 (M_SQRT1_2l): Likewise.
3891
f230c29b
DM
38922012-05-31 David S. Miller <davem@davemloft.net>
3893
3894 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3895 values between float registers.
3896 * sysdeps/sparc/sparc64/memset.S: Likewise.
3897 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3898
fed806c3
MF
38992012-05-31 Mike Frysinger <vapier@gentoo.org>
3900
3901 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3902 -D_FORTIFY_SOURCE=1.
3903 (CPPFLAGS-tst-longjmp_chk.c): Define.
3904 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3905 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3906 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3907 CFLAGS-tst-wchar-h.c.
3908
30917259
MP
39092012-05-31 Marek Polacek <polacek@redhat.com>
3910
3911 [BZ #14132]
3912 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3913 __endmntent_internal): Remove declaration.
3914 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3915 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3916 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3917
1c58d5dc
DM
39182012-05-30 David S. Miller <davem@davemloft.net>
3919
3920 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3921 (___Q_simulate_exceptions): Use real FP ops rather than writing
3922 into the %fsr.
3923 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3924 Likewise.
3925
7dc00e0d
L
39262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3927
3928 [BZ #14117]
0bd53985
L
3929 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3930 * sysdeps/x86/bits/xtitypes.h: This.
3931
3a257e66
L
3932 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3933 * sysdeps/x86/bits/wordsize.h: This.
3934
62f62904
L
3935 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3936 * sysdeps/x86/bits/huge_vall.h: This.
3937
404fe9d9
L
3938 * sysdeps/i386/bits/select.h: Removed.
3939 * sysdeps/x86_64/bits/select.h: Renamed to ...
3940 * sysdeps/x86/bits/select.h: This.
3941
d48d0446
L
3942 * sysdeps/i386/bits/setjmp.h: Removed.
3943 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3944 * sysdeps/x86/bits/setjmp.h: This.
3945
7dc00e0d
L
3946 * sysdeps/i386/bits/mathdef.h: Removed.
3947 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3948 * sysdeps/x86/bits/mathdef.h: This.
3949
03277f8f
AS
39502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3951
3952 [BZ #14132]
3953 * include/sys/socket.h (__connect_internal)
3954 (__libc_sa_len_internal): Remove declaration.
3955 (__connect, __libc_sa_len): Declare hidden_proto.
3956 (SA_LEN): Remove use of INTUSE.
3957 * socket/connect.c: Add libc_hidden_def.
3958 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3959 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3960 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3961 alias.
3962 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3963 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3964 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3965 of adding _internal alias.
3966
13764867
L
39672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3968
3969 [BZ #14117]
6bd97696
L
3970 * sysdeps/i386/bits/link.h: Removed.
3971 * sysdeps/i386/bits/linkmap.h: Likewise.
3972 * sysdeps/x86_64/bits/link.h: Renamed to ...
3973 * sysdeps/x86/bits/link.h: This.
3974 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3975 * sysdeps/x86/bits/linkmap.h: This.
3976
f726f0bb
L
3977 * sysdeps/i386/bits/endian.h: Removed.
3978 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3979 * sysdeps/x86/bits/endian.h: This.
3980
13764867
L
3981 * sysdeps/i386/bits/byteswap.h: Removed.
3982 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3983 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3984 * sysdeps/x86/bits/byteswap.h: This.
3985 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3986 * sysdeps/x86/bits/byteswap-16.h: This.
3987 * sysdeps/i386/Implies: Add x86.
3988 * sysdeps/x86_64/Implies: Likewise.
3989
ae251b0b
DM
39902012-05-30 David S. Miller <davem@davemloft.net>
3991
3992 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3993 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3995 (FP_TRAPPING_EXCEPTIONS): Define.
3996 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3997 (FP_TRAPPING_EXCEPTIONS): Define.
3998 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3999 subnormals only when inexact has been signalled or underflow
4000 exceptions are enabled.
4001 (_FP_PACK_CANONICAL): Likewise.
4002
d5c90867
L
40032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 [BZ #14183]
4006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4007 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4008
63f1549e
RH
40092012-05-30 Richard Henderson <rth@twiddle.net>
4010
8d8f2279
RH
4011 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4012 with #ifndef NOT_IN_libc.
4013
63f1549e
RH
4014 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4015 marked to avoid plt entry.
4016
0ab0291b
L
40172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4018
4019 [BZ #14112]
4020 * Makeconfig (default-abi): New macro.
4021 (abi-includes): Likewise.
4022 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4023 $(abi-$(default-abi)-lib-soname) for soname if defined.
4024 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4025 abi-variants.
4026 * Makefile (installed-stubs): Likewise.
4027 * include/stubs-biarch.h: Removed.
4028 * scripts/lib-names.awk: Only handle one library at a time.
4029 * scripts/soversions.awk: Remove WORDSIZE support.
4030 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4031 entries.
4032 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4033 Removed.
4034 (syscall-list-default-condition): Likewise.
4035 (syscall-list-default-condition): Likewise.
4036 (syscall-list-includes): Likewise.
4037 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4038 syscall-list-* with abi-*. Handle undefined abi-variants.
4039 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4040 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4041 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4042 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4043 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4044 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4045 Removed.
4046 (syscall-list-32-options): Likewise.
4047 (syscall-list-32-condition): Likewise.
4048 (syscall-list-64-options): Likewise.
4049 (syscall-list-64-condition): Likewise.
4050 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4051 macro.
4052 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4053 Renamed to ...
4054 (abi-*): This.
4055 (abi-64-ld-soname): New macro.
4056 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4058 Renamed to ...
4059 (abi-*): This.
4060 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4061 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4062
4da0431d
JM
40632012-05-30 Joseph Myers <joseph@codesourcery.com>
4064
3a85279c
JM
4065 * sysdeps/unix/sysv/linux/kernel-features.h
4066 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4067 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4068 include <kernel-features.h>.
4069 [!__NR_ftruncate64]: Remove conditional code.
4070 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4071 [__NR_ftruncate64]: Make code unconditional.
4072 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4073 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4074 include <kernel-features.h>.
4075 [!__NR_ftruncate64]: Remove conditional code.
4076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4077 [__NR_ftruncate64]: Make code unconditional.
4078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4080 include <kernel-features.h>.
4081 [!__NR_ftruncate64]: Remove conditional code.
4082 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4083 [__NR_ftruncate64]: Make code unconditional.
4084 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4086 include <kernel-features.h>.
4087 [!__NR_ftruncate64]: Remove conditional code.
4088 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4089 [__NR_ftruncate64]: Make code unconditional.
4090 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4091
4da0431d
JM
4092 * configure.in (libc_cv_fpie): Weaken to a compile test using
4093 LIBC_TRY_CC_OPTION.
4094 * configure: Regenerated.
4095
11ef492c
AK
40962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4097
4098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4102 Refreshed.
4103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4109 Refreshed.
4110
d66ef399
DM
41112012-05-27 David S. Miller <davem@davemloft.net>
4112
4113 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4114 (___Q_zero): New.
4115 (__Q_simulate_exceptions): Return void. Change to simulate
4116 exceptions by writing into the %fsr.
4117 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4118 (__Qp_handle_exceptions): Likewise.
4119 (numbers): Delete.
4120 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4121 __Qp_handle_exceptions.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4123 __Qp_handle_exceptions.
4124 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4125 as unused and give dummy FP_RND_NEAREST initializer.
4126 (FP_INHIBIT_RESULTS): Define.
4127 (___Q_simulate_exceptions): Update declaration.
4128 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4129 formatting.
4130 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4131 as unused and give dummy FP_RND_NEAREST initializer.
4132 (__Qp_handle_exceptions): Update declaration.
4133 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4134 formatting.
4135
04fb54b5
TS
41362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4137
4138 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4139 the temporary FPU control word.
4140 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4141 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4142 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4143 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4144 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4145 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4146 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4147 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4148 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4149 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4150 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4151
3f99608f
KK
41522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4153
4154 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4155 fields.
4156
65a4de4e
CLT
41572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4158
4159 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4160 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4161 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4162 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4163 Likewise.
4164 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4165 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4166 Likewise.
4167
15749d40
UD
41682012-05-27 Ulrich Drepper <drepper@gmail.com>
4169
4170 * po/h.po: Update from translation team.
4171
25dbcb27
AS
41722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4173
3d3f8e55
AS
4174 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4175
25dbcb27
AS
4176 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4177 handling of denormals.
4178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4179 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4180 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4181 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4185 Likewise.
4186
7ad47a80 41872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4188
4189 [BZ #14152]
4190 * math/libm-test.inc (fma_test): Don't always expect underflow
4191 exception.
4192
9c6ea9fa
SP
41932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4194
4195 [BZ #12416]
4196 * elf/tst-execstack.c: Include stackinfo.h.
4197 (do_test): Adjust test case to ensure that pthread_getattr_np
4198 behaviour remains the same after marking stack executable.
4199
a8239222
JM
42002012-05-25 Joseph Myers <joseph@codesourcery.com>
4201
4202 * sysdeps/unix/sysv/linux/kernel-features.h
4203 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4204 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4205 kernel-features.h.
4206 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4207 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4208 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4209 kernel-features.h.
4210 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4211 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4212
918b5606
L
42132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4214
4215 * configure.in: Define the default includes to being none.
4216 * configure: Regenerated.
4217
3a097cc7
RM
42182012-05-25 Roland McGrath <roland@hack.frob.com>
4219
8422c9a5
RM
4220 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4221 * sysdeps/x86_64/setjmp.S: Likewise.
4222 * sysdeps/i386/bsd-setjmp.S: Likewise.
4223 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4224 * sysdeps/i386/setjmp.S: Likewise.
4225 * sysdeps/i386/__longjmp.S: Likewise.
4226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4227 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4228
3a097cc7
RM
4229 * include/stap-probe.h: New file.
4230 * configure.in: Handle --enable-systemtap.
4231 * configure: Regenerated.
4232 * config.h.in (USE_STAP_PROBE): New #undef.
4233 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4234 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4235 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4236
21708942
JM
42372012-05-25 Joseph Myers <joseph@codesourcery.com>
4238
4239 [BZ #13717]
4240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4241 to 2.4.0 where earlier.
4242 * sysdeps/unix/sysv/linux/configure: Regenerated.
4243 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4244 <kernel-features.h>.
4245 [__ASSUME_32BITUIDS]: Make code unconditional.
4246 [!__ASSUME_32BITUIDS]: Remove conditional code.
4247 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4248 <kernel-features.h>.
4249 [__ASSUME_32BITUIDS]: Make code unconditional.
4250 [!__ASSUME_32BITUIDS]: Remove conditional code.
4251 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4252 [__ASSUME_32BITUIDS]: Make code unconditional.
4253 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4254 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4255 <kernel-features.h>.
4256 [__ASSUME_32BITUIDS]: Make code unconditional.
4257 [!__ASSUME_32BITUIDS]: Remove conditional code.
4258 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4259 <kernel-features.h>.
4260 [__ASSUME_32BITUIDS]: Make code unconditional.
4261 [!__ASSUME_32BITUIDS]: Remove conditional code.
4262 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4263 <kernel-features.h>.
4264 [__ASSUME_32BITUIDS]: Make code unconditional.
4265 [!__ASSUME_32BITUIDS]: Remove conditional code.
4266 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4267 <kernel-features.h>.
4268 [__ASSUME_32BITUIDS]: Make code unconditional.
4269 [!__ASSUME_32BITUIDS]: Remove conditional code.
4270 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4271 <kernel-features.h>.
4272 [__ASSUME_32BITUIDS]: Make code unconditional.
4273 [!__ASSUME_32BITUIDS]: Remove conditional code.
4274 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4275 <kernel-features.h>.
4276 [__ASSUME_32BITUIDS]: Make code unconditional.
4277 [!__ASSUME_32BITUIDS]: Remove conditional code.
4278 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4279 <kernel-features.h>.
4280 [__ASSUME_32BITUIDS]: Make code unconditional.
4281 [!__ASSUME_32BITUIDS]: Remove conditional code.
4282 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4283 <kernel-features.h>.
4284 [__ASSUME_32BITUIDS]: Make code unconditional.
4285 [!__ASSUME_32BITUIDS]: Remove conditional code.
4286 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4287 <kernel-features.h>.
4288 [__ASSUME_32BITUIDS]: Make code unconditional.
4289 [!__ASSUME_32BITUIDS]: Remove conditional code.
4290 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4291 <kernel-features.h>.
4292 [__ASSUME_32BITUIDS]: Make code unconditional.
4293 [!__ASSUME_32BITUIDS]: Remove conditional code.
4294 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4295 <kernel-features.h>.
4296 [__NR_setresgid] (__setresgid): Do not declare.
4297 [__ASSUME_32BITUIDS]: Make code unconditional.
4298 [!__ASSUME_32BITUIDS]: Remove conditional code.
4299 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4300 <kernel-features.h>.
4301 [__NR_setresuid] (__setresuid): Do not declare.
4302 [__ASSUME_32BITUIDS]: Make code unconditional.
4303 [!__ASSUME_32BITUIDS]: Remove conditional code.
4304 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4305 <kernel-features.h>.
4306 [__ASSUME_32BITUIDS]: Make code unconditional.
4307 [!__ASSUME_32BITUIDS]: Remove conditional code.
4308 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4309 <kernel-features.h>.
4310 [__ASSUME_32BITUIDS]: Make code unconditional.
4311 [!__ASSUME_32BITUIDS]: Remove conditional code.
4312 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4313 <kernel-features.h>.
4314 [__ASSUME_32BITUIDS]: Make code unconditional.
4315 [!__ASSUME_32BITUIDS]: Remove conditional code.
4316 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4317 <kernel-features.h>.
4318 [__ASSUME_32BITUIDS]: Make code unconditional.
4319 [!__ASSUME_32BITUIDS]: Remove conditional code.
4320 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4321 <kernel-features.h>.
4322 [__ASSUME_32BITUIDS]: Make code unconditional.
4323 [!__ASSUME_32BITUIDS]: Remove conditional code.
4324 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4325 <kernel-features.h>.
4326 [__ASSUME_32BITUIDS]: Make code unconditional.
4327 [!__ASSUME_32BITUIDS]: Remove conditional code.
4328 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
4333 <kernel-features.h>.
4334 [__ASSUME_32BITUIDS]: Make code unconditional.
4335 [!__ASSUME_32BITUIDS]: Remove conditional code.
4336 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4337 <kernel-features.h>.
4338 [__ASSUME_32BITUIDS]: Make code unconditional.
4339 [!__ASSUME_32BITUIDS]: Remove conditional code.
4340 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4341 <kernel-features.h>.
4342 [__ASSUME_32BITUIDS]: Make code unconditional.
4343 [!__ASSUME_32BITUIDS]: Remove conditional code.
4344 * sysdeps/unix/sysv/linux/kernel-features.h
4345 (__ASSUME_SETRESUID_SYSCALL): Remove.
4346 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4347 (__ASSUME_32BITUIDS): Likewise.
4348 (__ASSUME_LDT_WORKS): Likewise.
4349 (__ASSUME_O_DIRECTORY): Likewise.
4350 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4351 architecture but not kernel version.
4352 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4353 (__ASSUME_MMAP2_SYSCALL): Likewise.
4354 (__ASSUME_STAT64_SYSCALL): Likewise.
4355 (__ASSUME_IPC64): Likewise.
4356 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4357 <kernel-features.h>.
4358 [__ASSUME_32BITUIDS]: Make code unconditional.
4359 [!__ASSUME_32BITUIDS]: Remove conditional code.
4360 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4361 <kernel-features.h>.
4362 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4363 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4364 132096]: Remove conditional code.
4365 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4367 <kernel-features.h>.
4368 [__ASSUME_32BITUIDS]: Make code unconditional.
4369 [!__ASSUME_32BITUIDS]: Remove conditional code.
4370 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4371 <kernel-features.h>.
4372 [__ASSUME_32BITUIDS]: Make code unconditional.
4373 [!__ASSUME_32BITUIDS]: Remove conditional code.
4374 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4375 <kernel-features.h>.
4376 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4377 unconditional.
4378 (__setresgid): Do not declare.
4379 [__ASSUME_32BITUIDS]: Make code unconditional.
4380 [!__ASSUME_32BITUIDS]: Remove conditional code.
4381 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4382 <kernel-features.h>.
4383 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4384 unconditional.
4385 (__setresuid): Do not declare.
4386 [__ASSUME_32BITUIDS]: Make code unconditional.
4387 [!__ASSUME_32BITUIDS]: Remove conditional code.
4388 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4389 <kernel-features.h>.
4390 [__ASSUME_32BITUIDS]: Make code unconditional.
4391 [!__ASSUME_32BITUIDS]: Remove conditional code.
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4393 <kernel-features.h>.
4394 [__ASSUME_32BITUIDS]: Make code unconditional.
4395 [!__ASSUME_32BITUIDS]: Remove conditional code.
4396
a386f1cc
RH
43972012-05-25 Richard Henderson <rth@twiddle.net>
4398
4399 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4400 dl_hwcap to ifunc resolver.
4401 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4402 elf_ifunc_invoke.
4403 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4404 dl_hwcap to ifunc resolver.
4405 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4406
b6550497
JM
44072012-05-24 Joseph Myers <joseph@codesourcery.com>
4408
4409 [BZ #14153]
4410 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4411 for |x| <= 2**-26, not 2**-57.
4412 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4413 exception.
4414
b0bc23a1
JL
44152012-05-24 Jeff Law <law@redhat.com>
4416
4417 * stdio-common/Makefile (tests): Add bug25.
4418 * stdio-common/bug25.c: New test.
4419
347c92e9
L
44202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4421
4422 [BZ #13576]
4423 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4424 multiple of MALLOC_ALIGNMENT in size.
4425 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4426
6bcc8b3f
JM
44272012-05-24 Joseph Myers <joseph@codesourcery.com>
4428
4429 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4430 Require >= 256.
4431 (FILENAME_MAX): Use macro-int-constant.
4432 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4433 (_IOFBF): Use macro-int-constant.
4434 (_IOLBF): Likewise.
4435 (_IONBF): Likewise.
4436 (SEEK_CUR): Likewise.
4437 (SEEK_END): Likewise.
4438 (SEEK_SET): Likewise.
4439 (TMP_MAX): Likewise.
4440 (EOF): Use macro-int-constant. Require < 0.
4441 (NULL): Use macro-constant. Require == 0.
4442 (stdin): Require type to be FILE *.
4443 (stdout): Likewise.
4444 (stderr): Likewise.
4445 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4446 macro-int-constant.
4447 (EXIT_SUCCESS): Likewise.
4448 (NULL): Use macro-constant. Require == 0.
4449 (RAND_MAX): Use macro-int-constant.
4450 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4451 [C99-based standards] (strtof): Require function.
4452 [C99-based standards] (strtold): Likewise.
4453 [C99-based standards] (strtoll): Likewise.
4454 [C99-based standards] (strtoull): Likewise.
4455 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4456 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4457 [ISO || ISO99 || ISO11] (math.h): Likewise.
4458 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4459 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4461
d18ea0c5
AS
44622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4463
4464 [BZ #14132]
56d25bb8
AS
4465 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4466 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4467 * intl/dgettext.c (DCGETTEXT): Likewise.
4468 * intl/gettext.c (DCGETTEXT): Likewise.
4469 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4470 * posix/regex_internal.h (gettext): Likewise.
4471 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4472 Remove declaration.
4473 * include/argz.h (__argz_count_internal)
4474 (__argz_stringify_internal): Remove declaration.
4475 (__argz_count, __argz_stringify): Declare hidden proto.
4476 * intl/dcgettext.c: Remove use of INTDEF.
4477 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4478 * string/argz-stringify.c: Likewise.
4479 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4480 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4481 Declare hidden proto.
d18ea0c5
AS
4482 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4483 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4484 Declare hidden proto.
4485 * include/stdio.h (__asprintf_internal): Don't declare.
4486 (__asprintf): Don't define as macro. Declare hidden proto.
4487 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4488 (__fsetlocking): Declare hidden proto.
4489 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4490 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4491 hidden proto.
4492 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4493 (_IO_setlinebuf): Remove use of INTUSE.
4494 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4495 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4496 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4497 Remove declaration.
4498 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4499 (_IO_do_flush): Remove use of INTUSE.
4500 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4501 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4502 (_IO_adjust_column, _IO_least_wmarker)
4503 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4504 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4505 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4506 (_IO_default_doallocate, _IO_wdefault_doallocate)
4507 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4508 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4509 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4510 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4511 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4512 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4513 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4514 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4515 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4516 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4517 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4518 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4519 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4520 proto.
4521 (_IO_flush_all_internal, _IO_adjust_column_internal)
4522 (_IO_default_uflow_internal, _IO_default_finish_internal)
4523 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4524 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4525 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4526 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4527 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4528 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4529 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4530 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4531 (_IO_file_close_internal, _IO_file_close_it_internal)
4532 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4533 (_IO_file_init_internal, _IO_file_attach_internal)
4534 (_IO_file_fopen_internal, _IO_file_read_internal)
4535 (_IO_file_sync_internal, _IO_file_seek_internal)
4536 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4537 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4538 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4539 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4540 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4541 (_IO_list_all_internal, _IO_link_in_internal)
4542 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4543 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4544 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4545 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4546 (_IO_do_write_internal, _IO_padn_internal)
4547 (_IO_getline_info_internal, _IO_getline_internal)
4548 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4549 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4550 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4551 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4552 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4553 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4554 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4555 with libc_hidden_ver, remove use of INTUSE.
4556 * libio/genops.c: Likewise.
4557 * libio/freopen.c: Likewise.
4558 * libio/freopen64.c: Likewise.
4559 * libio/iofclose.c: Likewise.
4560 * libio/iofdopen.c: Likewise.
4561 * libio/iofflush.c: Likewise.
4562 * libio/iofflush_u.c: Likewise.
4563 * libio/iofgets.c: Likewise.
4564 * libio/iofgets_u.c: Likewise.
4565 * libio/iofopen.c: Likewise.
4566 * libio/iofopncook.c: Likewise.
4567 * libio/iofread.c: Likewise.
4568 * libio/iofread_u.c: Likewise.
4569 * libio/ioftell.c: Likewise.
4570 * libio/iofwrite.c: Likewise.
4571 * libio/iogetline.c: Likewise.
4572 * libio/iogets.c: Likewise.
4573 * libio/iogetwline.c: Likewise.
4574 * libio/iopadn.c: Likewise.
4575 * libio/iopopen.c: Likewise.
4576 * libio/ioseekoff.c: Likewise.
4577 * libio/ioseekpos.c: Likewise.
4578 * libio/iosetbuffer.c: Likewise.
4579 * libio/iosetvbuf.c: Likewise.
4580 * libio/ioungetc.c: Likewise.
4581 * libio/ioungetwc.c: Likewise.
4582 * libio/iovdprintf.c: Likewise.
4583 * libio/iovsprintf.c: Likewise.
4584 * libio/iovsscanf.c: Likewise.
4585 * libio/memstream.c: Likewise.
4586 * libio/obprintf.c: Likewise.
4587 * libio/oldfileops.c: Likewise.
4588 * libio/oldiofclose.c: Likewise.
4589 * libio/oldiofdopen.c: Likewise.
4590 * libio/oldiofopen.c: Likewise.
4591 * libio/oldiopopen.c: Likewise.
4592 * libio/oldstdfiles.c: Likewise.
4593 * libio/putc.c: Likewise.
4594 * libio/setbuf.c: Likewise.
4595 * libio/setlinebuf.c: Likewise.
4596 * libio/stdfiles.c: Likewise.
4597 * libio/strops.c: Likewise.
4598 * libio/vasprintf.c: Likewise.
4599 * libio/vscanf.c: Likewise.
4600 * libio/vsnprintf.c: Likewise.
4601 * libio/vswprintf.c: Likewise.
4602 * libio/wfiledoalloc.c: Likewise.
4603 * libio/wfileops.c: Likewise.
4604 * libio/wgenops.c: Likewise.
4605 * libio/wmemstream.c: Likewise.
4606 * libio/wstrops.c: Likewise.
4607 * libio/__fpurge.c: Likewise.
4608 * libio/__fsetlocking.c: Likewise.
4609 * assert/assert.c: Likewise.
4610 * debug/fgets_chk.c: Likewise.
4611 * debug/fgets_u_chk.c: Likewise.
4612 * debug/fread_chk.c: Likewise.
4613 * debug/fread_u_chk.c: Likewise.
4614 * debug/gets_chk.c: Likewise.
4615 * debug/obprintf_chk.c: Likewise.
4616 * debug/vasprintf_chk.c: Likewise.
4617 * debug/vdprintf_chk.c: Likewise.
4618 * debug/vsnprintf_chk.c: Likewise.
4619 * debug/vsprintf_chk.c: Likewise.
4620 * malloc/mtrace.c: Likewise.
4621 * misc/error.c: Likewise.
4622 * misc/syslog.c: Likewise.
4623 * stdio-common/asprintf.c: Likewise.
4624 * stdio-common/fxprintf.c: Likewise.
4625 * stdio-common/getw.c: Likewise.
4626 * stdio-common/isoc99_fscanf.c: Likewise.
4627 * stdio-common/isoc99_scanf.c: Likewise.
4628 * stdio-common/isoc99_vfscanf.c: Likewise.
4629 * stdio-common/isoc99_vscanf.c: Likewise.
4630 * stdio-common/isoc99_vsscanf.c: Likewise.
4631 * stdio-common/printf-prs.c: Likewise.
4632 * stdio-common/printf_fp.c: Likewise.
4633 * stdio-common/printf_fphex.c: Likewise.
4634 * stdio-common/printf_size.c: Likewise.
4635 * stdio-common/putw.c: Likewise.
4636 * stdio-common/scanf.c: Likewise.
4637 * stdio-common/sprintf.c: Likewise.
4638 * stdio-common/tmpfile.c: Likewise.
4639 * stdio-common/vfprintf.c: Likewise.
4640 * stdio-common/vfscanf.c: Likewise.
4641 * stdlib/strfmon_l.c: Likewise.
4642 * sunrpc/openchild.c: Likewise.
4643 * sunrpc/xdr_stdio.c: Likewise.
4644 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4645 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4646
d6c33fda
RM
46472012-05-24 Roland McGrath <roland@hack.frob.com>
4648
c1487492
RM
4649 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4650
4651 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4652 in the third column, to generate for the shared library an IFUNC
4653 that uses _dl_vdso_vsym.
4654 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4655 * Makeconfig (object-suffixes-noshared): New variable.
4656
4657 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4658 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4659 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4660 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4661
d6c33fda
RM
4662 [BZ #14132]
4663 * include/sys/time.h (__gettimeofday): Remove macro.
4664 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4665 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4666 Remove INTDEF.
4667 (__gettimeofday): Add libc_hidden_def.
4668 (gettimeofday): Add libc_hidden_weak.
4669 * sysdeps/mach/gettimeofday.c: Likewise.
4670 * sysdeps/posix/gettimeofday.c: Likewise.
4671 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4672 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4674 (__gettimeofday_internal): Remove strong_alias.
4675 (__gettimeofday): Add libc_hidden_def.
4676 (gettimeofday): Add libc_hidden_weak.
4677 * sysdeps/unix/syscalls.list (gettimeofday):
4678 Remove __gettimeofday_internal alias.
4679
b5a2bbe6
L
46802012-05-24 Daniel Jacobowitz <drow@false.org>
4681 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 [BZ #12495]
4684 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4685 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4686 (largebin_index_32_big): New.
4687 (largebin_index): Use it for 16-byte alignment.
4688 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4689 correction with front_misalign.
4690
cfba4fda
L
46912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4692
7f907421
L
4693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4695 Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4697 Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4699 Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4701 Likewise.
4702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4703 Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4705 Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4707 Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4709 Likewise.
4710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4711 Likewise.
4712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4713 Likewise.
4714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4715 Likewise.
4716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4717 Likewise.
4718
cfba4fda
L
4719 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4720 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4721
80bad0cc
JM
47222012-05-24 Joseph Myers <joseph@codesourcery.com>
4723
7a25eb06
JM
4724 [BZ #10846]
4725 [BZ #14036]
4726 * math/libm-test.inc (exp_test): Add test from bug 14036.
4727 (pow_test): Add test from bug 10846.
4728
795405f9
JM
4729 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4730 and other flags.
4731 (special_function): Do not include flags in test name.
4732 (parse_args): Likewise.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4735 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4736 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738
80bad0cc
JM
4739 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4740 exceptions.
4741 * math/libm-test.inc ("Philosophy"): Update comment about
4742 exception testing.
4743 (UNDERFLOW_EXCEPTION): New macro.
4744 (UNDERFLOW_EXCEPTION_OK): Likewise.
4745 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4746 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4747 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4748 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4749 (INVALID_EXCEPTION_OK): Update value.
4750 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4751 (OVERFLOW_EXCEPTION_OK): Likewise.
4752 (IGNORE_ZERO_INF_SIGN): Likewise.
4753 (test_exceptions): Handle underflow exceptions.
4754 (acos_test): Update for underflow exception expectations.
4755 (cexp_test): Likewise.
4756 (clog_test): Likewise.
4757 (clog10_test): Likewise.
4758 (csqrt_test): Likewise.
4759 (ctan_test): Likewise.
4760 (ctanh_test): Likewise.
4761 (exp_test): Likewise.
4762 (exp10_test): Likewise.
4763 (exp2_test): Likewise.
4764 (expm1_test): Likewise.
4765 (fma_test): Likewise.
4766 (j0_test): Likewise.
4767 (jn_test): Likewise.
4768 (nexttoward_test): Likewise.
4769 (pow_test): Likewise.
4770 (scalbn_test): Likewise.
4771 (scalbln_test): Likewise.
4772 (tan_test): Likewise.
4773 (y1_test): Likewise.
4774 * sysdeps/i386/fpu/libm-test-ulps: Update.
4775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4776
9e0e3d0b
DM
47772012-05-23 David S. Miller <davem@davemloft.net>
4778
4779 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4780 (__libc_sigaction): Remove unused local variables.
4781
ccd0a08f
L
47822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4783
4784 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4785
62bdf9a6
PE
47862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4787
f8591f80
PE
4788 mktime: avoid signed integer overflow
4789 * time/mktime.c (__mktime_internal): Do not mishandle the case
4790 where diff == INT_MIN.
4791
94c7d826
PE
4792 mktime: simplify computation of average
4793 * time/mktime.c (ranged_convert): Use new time_t_avg function
4794 instead of rolling our own (probably-slower) code.
4795
ce73d683
PE
4796 mktime: do not assume signed right shift propagates sign bit
4797 * time/mktime.c (isdst_differ): New static function.
4798 (__mktime_internal): No need to normalize tm_isdst now.
4799 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4800 tm_isdst values.
4801
72a22e59
PE
4802 mktime: merge another wrapv change from gnulib
4803 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4804 from some compilers.
4805
68605433
PE
4806 mktime: remove incorrect attempt at unusual arithmetics
4807 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4808 The code didn't really work on such machines anyway.
4809 (TYPE_MINIMUM): Assume two's complement.
4810 (twos_complement_arithmetic): Verify that long_int and time_t
4811 are two's complement (or unsigned, in the latter case).
4812
03cf7fe3
PE
4813 mktime: check signed shifts on long_int and time_t, too
4814 * time/mktime.c (SHR): Check that shifts work as desired
4815 on the types long_int and time_t too, as SHR is used on
4816 such types.
4817
f04dfbc2
PE
4818 mktime: do not assume 'long' is wide enough
4819 * time/mktime.c (verify): Move decl up.
4820 (long_int): New type.
4821 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4822 to remove assumption in the code that 'long' is wide enough to
4823 store year values. This assumption is not true on x32 and on
4824 some non-glibc platforms.
4825
62bdf9a6
PE
4826 mktime: merge wrapv change from gnulib
4827 * time/mktime.c (WRAPV): New macro.
4828 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4829 (guess_time_tm, __mktime_internal): Do not assume that signed
4830 integer overflow wraps around; modern compilers generate code
4831 where this assumption is no longer valid.
4832
5e292e4f
L
48332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4834
4835 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4836 Replace "jmp L(pseudo_end)" with "ret".
4837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4838 Likewise.
4839
8caf8c87
AJ
48402012-05-23 Andreas Jaeger <aj@suse.de>
4841
4842 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4843 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4844
1a09dc56
AJ
48452012-05-23 Andreas Jaeger <aj@suse.de>
4846 Maximilian Attems <max@stro.at>
4847
4848 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4849 New macros.
4850
1c87aba0
L
48512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4852
4853 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4854 code so that pseudo_end is just ret and the stack pointer is
4855 correct also for static library in error case.
4856
40e45bd5
JM
48572012-05-23 Joseph Myers <joseph@codesourcery.com>
4858
c2670533
JM
4859 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4860 move to syscalls.list.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4865
40e45bd5
JM
4866 * manual/install.texi (Running make install): Do not mention Linux
4867 kernel version for which pt_chown is not needed.
4868 (Linux): Do not mention problems with nscd with 2.0 kernels.
4869 * INSTALL: Regenerated.
4870
be08eda5
AJ
48712012-05-23 Andreas Jaeger <aj@suse.de>
4872
4873 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4874 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4875 macro.
4876 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4878 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4879 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4880 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4881 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4883 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4884 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4886 * sysdeps/unix/sysv/linux/bits/in.h
4887 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4888
a6a056bb
RM
48892012-05-22 Roland McGrath <roland@hack.frob.com>
4890
4891 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4892 (PREPARE_VERSION): Just use assert instead, it will be elided
4893 under [NDEBUG] anyway.
4894
c9009328
L
48952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * sysdeps/unix/sysv/linux/Makefile: Include
4898 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4899 (sysdep_routines): Remove sysctl.
c9009328
L
4900 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4901 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4902 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4904 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4905
73338355
AJ
49062012-05-22 Andreas Jaeger <aj@suse.de>
4907
4908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4909 that pseudo_end is just ret and the stack pointer is correct also
4910 for static library in error case.
4911
d44638b0
PP
49122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4913
4914 [BZ #14122]
4915 * nss/nsswitch.c (defconfig_entries): New variable.
4916 (__nss_database_lookup): Don't leak defconfig entries.
4917 (nss_parse_service_list): Don't leak on error paths.
4918 (free_database_entries): New function.
4919 (free_defconfig): New function.
4920 (free_mem): Move common code to free_database_entries.
4921
31a39bd8
L
49222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4923
da0331a8
L
4924 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4925 Add arch_prctl.
4926 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4927
31a39bd8
L
4928 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4929 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4931 New macro.
4932 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4933 (INTERNAL_SYSCALL_TYPES): Likewise.
4934 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4935 (LOAD_REGS_TYPES_[1-6]): Likewise.
4936 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4937 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4938
45470df3
AZ
49392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4940
4941 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4942 copysignl for GLIBC_2_0.
4943 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4944 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4946 logbl for GLIBC_2_0.
4947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4948 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4949
98a61bcb
L
49502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4951
a4f6e481
L
4952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4953 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4954
f63d5db6
L
4955 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4956 Use "neg %eax".
4957
98a61bcb
L
4958 * time/mktime.c: Update copyright years.
4959
95770f14
PE
49602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4961
6226efbd
PE
4962 mktime: merge comment-quoting-style change from gnulib
4963 * time/mktime.c: Quote 'like this' in comments.
4964 The GNU coding standards suggest that we no longer quote `like this',
4965 as "`" and "'" are typically rendered asymmetrically nowadays.
4966 The typical gnulib style is to quote 'like this' when quoting
4967 code, and "like this" when quoting English.
4968
b99e4f78
PE
4969 * time/mktime.c (compile-command): Add "-I.".
4970
643e01e6
PE
4971 mktime: merge mktime-internal.h change from gnulib
4972 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4973
2554247d
PE
4974 mktime: merge time_r change from gnulib
4975 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4976
826dd0ab
PE
4977 mktime: merge DEBUG change from gnulib
4978 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4979 case system <time.h> has a #define.
4980
bd83aabe
PE
4981 mktime: merge <sys/types.h> change from gnulib
4982 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4983 since <time.t> is now guaranteed to define time_t.
4984
95770f14
PE
4985 mktime: merge HAVE_CONFIG_H change from gnulib
4986 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4987
5e1a27a9
L
49882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4989
0e44a77e
L
4990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4991 Use "neg %eax".
4992
5e1a27a9
L
4993 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4994 __rlim_t cast.
4995 (struct rusage): Use anonymous union to pad each field to
4996 __syscall_slong_t.
4997
46259bec
DM
49982012-05-21 David S. Miller <davem@davemloft.net>
4999
5000 * Makefules (o-iterator): Remove .s cases.
5001 (compile-command.s): Delete.
5002 (COMPILE.s): Delete.
5003 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5004
59f0c22e
JM
50052012-05-21 Joseph Myers <joseph@codesourcery.com>
5006
5007 * configure.in (libc_cv_predef_stack_protector): Only consider
5008 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5009 * configure: Regenerated.
5010
20c07380
L
50112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5012
bbb3154b
L
5013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5014 New macro. Use R*LP on int and pointer.
5015 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5016 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5017 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5018 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5019
20c07380
L
5020 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5021 [__WORDSIZE_TIME64_COMPAT32] instead of
5022 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5023 (struct utmp): Likewise.
5024 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5025 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5026 Renamed to ...
5027 (__WORDSIZE_TIME64_COMPAT32): This.
5028 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5029 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5030 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5032 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5033 (__WORDSIZE_TIME64_COMPAT32): New macro.
5034
d8d1017e
AJ
50352012-05-21 Andreas Jaeger <aj@suse.de>
5036
5037 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5038 only if [SHARED]. Add prototype for __wcschr_ia32.
5039
6c7fb145
RM
50402012-05-21 Roland McGrath <roland@hack.frob.com>
5041
5042 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5043 of %rbp unmolested in the jmp_buf while mangling the low bits.
5044 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5045 unmolested high bits of %rbp while demangling the low bits.
5046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5047
66274218
AJ
50482012-05-21 Andreas Jaeger <aj@suse.de>
5049
07c58f8f
AJ
5050 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5051 * sunrpc/svc_simple.c: Use it for registerrpc.
5052 * sunrpc/xcrypt.c: Use it for passwd2des.
5053
66274218
AJ
5054 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5055
61f65140
L
50562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5057
5058 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5059 Don't define if [__SYSCALL_WORDSIZE != 32].
5060 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5061 New macro.
5062
5fefb436
AJ
50632012-05-21 Bruno Haible <bruno@clisp.org>
5064 Andreas Jaeger <aj@suse.de>
5065
5066 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5067 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5068 inptr and inend for must_buffer_ch.
5069 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5070 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5071 * stdio-common/Makefile (tests): Remove bug15.
5072 (bug15-ENV): Remove macro.
5073 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5074 anymore.
5075
d8e272ab
AJ
50762012-05-19 Andreas Jaeger <aj@suse.de>
5077 Roland McGrath <roland@hack.frob.com>
5078
5079 * manual/contrib.texi: Completely rewritten. It contains now an
5080 alphabetical list of contributors and their contributions.
5081
4a56a162
RH
50822012-05-21 Richard Henderson <rth@twiddle.net>
5083
5084 * misc/getauxval.c (__getauxval): Use unsigned long int.
5085 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5086 (getauxval): Use unsigned long int.
5087
d024d23c
L
50882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5089
5090 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5091
cbc00a03
RM
50922012-05-21 Roland McGrath <roland@hack.frob.com>
5093
5094 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5095 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5096 __alignof__ (long double).
5097
478143fa
AZ
50982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5099
5100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5101
c7683a6d
RH
51022012-05-20 Richard Henderson <rth@twiddle.net>
5103
5104 * misc/getauxval.c: New file.
5105 * misc/sys/auxv.h: New file.
5106 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5107 (routines): Add getauxval.
5108 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5109 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5110 * elf/dl-sysdep.c (_dl_auxv): Remove.
5111 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5112 * elf/dl-support.c (_dl_auxv): New variable.
5113 (_dl_aux_init): Initialize it.
5114 * manual/startup.texi (Auxiliary Vector): New node.
5115 * sysdeps/generic/bits/hwcap.h: New file.
5116 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5117 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5118 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5119 * sysdeps/sparc/sysdep.h: ... here. Include it.
5120 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5123 Update.
c7683a6d
RH
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5132
a6f1845d
AZ
51332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5134
5135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5136
cbcbe830
DM
51372012-05-19 David S. Miller <davem@davemloft.net>
5138
5139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5140
e0b16cc2
JM
51412012-05-19 Joseph Myers <joseph@codesourcery.com>
5142
5143 [BZ #14123]
5144 * math/s_ccosh.c: Include <float.h>
5145 (__ccosh): Avoid internal overflow calculating sinh and cosh
5146 values before multiplying by sin and cos values.
5147 * math/s_ccoshf.c: Likewise.
5148 * math/s_ccoshl.c: Likewise.
5149 * math/s_csin.c: Likewise.
5150 * math/s_csinf.c: Likewise.
5151 * math/s_csinl.c: Likewise.
5152 * math/s_csinh.c: Likewise.
5153 * math/s_csinhf.c: Likewise.
5154 * math/s_csinhl.c: Likewise.
5155 * math/libm-test.inc (ccos_test): Add more tests.
5156 (ccosh_test): Likewise.
5157 (csin_test): Likewise.
5158 (csinh_test): Likewise.
5159 * sysdeps/i386/fpu/libm-test-ulps: Update.
5160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5161
6ad13e08
L
51622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5163
f66f0ce8
L
5164 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5165 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5166
6ad13e08
L
5167 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5168
b1d072a7
JM
51692012-05-19 Joseph Myers <joseph@codesourcery.com>
5170
5171 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5172 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5173 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5174 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5175 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5176 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5177 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5178 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5179 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5180 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5181 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5182 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5183 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5184 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5185 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5186 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5187 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5188 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5189 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5190 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5191 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5192 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5193 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5194 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5195 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5196 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5197 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5198 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5199 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5200 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5201 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5202
9eae47cb
AJ
52032012-05-18 Andreas Jaeger <aj@suse.de>
5204
5205 * csu/.gitignore: Delete.
5206
bb07f69f
L
52072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5208
5209 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5210 (timex): Use __syscall_slong_t.
5211
e6bdb741
AJ
52122012-05-18 Andreas Jaeger <aj@suse.de>
5213 Carlos O'Donell <carlos_odonell@mentor.com>
5214
5215 * manual/install.texi (Configuring and compiling): Update
5216 description about files modified in the source directory.
d6c33fda 5217 * INSTALL: Regenerated.
e6bdb741 5218
1b74487e
L
52192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5220
5221 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5222 value. Use "or" to set return value to -1.
5223 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5224 negate return value.
5225
a88b64b9
TMQMF
52262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5227
5228 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5229 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5230 failure if the compiler has Graphite support disabled.
5231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5232 Likewise.
5233 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5234 CFLAGS-memmove.c): Likewise.
5235 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5236 Likewise.
5237
3707636e
L
52382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5239
610b8622
L
5240 * sysdeps/x86_64/x32/_itoa.h: New file.
5241
7cd195df
L
5242 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5243 getdents system call only if kernel and user dirents have the
5244 same d_ino and d_off.
5245
94b07d20
L
5246 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5247 LLONG_MAX != LONG_MAX.
5248 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5249 (_fitoa_word): Likewise.
5250
18298070
L
5251 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5252 years.
5253 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5254 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5255 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5256
553c7ea4
L
5257 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5258 include <bits/wordsize.h>. Check __x86_64__ instead of
5259 __WORDSIZE.
5260 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5261 if __x86_64__ is defined. Use anonymous union on fpstate.
5262
3707636e
L
5263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5264 anonymous union.
5265
b53ef01a
AS
52662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5267
37fb1dc0
AS
5268 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5269 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5270 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5271 Refer to _rtld_local_ro instead of _rtld_global_ro.
5272 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5273 Likewise.
5274 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5275 Likewise.
5276 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5277 Likewise.
5278 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5279 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5280 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5281
b53ef01a
AS
5282 * sysdeps/powerpc/powerpc32/dl-machine.c
5283 (__elf_machine_runtime_setup) [PROF]: Don't reference
5284 _dl_prof_resolve.
5285
7a185db2
AJ
52862012-05-18 Andreas Jaeger <aj@suse.de>
5287
5288 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5289 function only available for GCCs before 3.4 since GCC 3.4
5290 introduced a builtin.
5291 (lrint): Likewise.
5292 (llrintf): Likewise.
5293 (llrint): Likewise.
5294 (fmaxf): Likewise.
5295 (fmax): Likewise.
5296 (fminf): Likewise.
5297 (fmin): Likewise.
5298 (rint): Likewise.
5299 (rintf): Likewise.
5300 (nearbyint): Likewise.
5301 (nearbyintf): Likewise.
5302 (ceil): Likewise.
5303 (ceilf): Likewise.
5304 (floor): Likewise.
5305 (floorf): Likewise.
5306
3e5aef87
L
53072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5308
428bd707
L
5309 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5310 on both fields and cast pointer to __syscall_ulong_t.
5311
3e5aef87
L
5312 * bits/types.h (__fsword_t): New type.
5313 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5314 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5316 (__FSWORD_T_TYPE): Likewise.
5317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5318 (__FSWORD_T_TYPE): Likewise.
5319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5320 (__FSWORD_T_TYPE): Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5322 (__FSWORD_T_TYPE): Likewise.
5323 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5324 __SWORD_TYPE with __fsword_t.
5325 (statfs64): Likewise.
5326
1ba7c3dc
DM
53272012-05-17 David S. Miller <davem@davemloft.net>
5328
5329 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5330
59910343
AJ
53312012-05-17 Andreas Jaeger <aj@suse.de>
5332
5333 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5334 warning.
5335
2e4c1e9e
L
53362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5337
5338 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5339
de7f5ce7
AJ
53402012-05-17 Andreas Jaeger <aj@suse.de>
5341
5342 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5343 when it is used.
5344
286abc3d
CM
53452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5346
5347 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5348
477cc68e
L
53492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5350
5351 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5352 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5353
1a0994f5
CD
53542012-05-17 Andreas Jaeger <aj@suse.de>
5355 Carlos O'Donell <carlos_odonell@mentor.com>
5356
5357 [BZ #14059]
5358 * sysdeps/x86_64/multiarch/init-arch.h
5359 (bit_YMM_Usable): Rename to...
5360 (bit_AVX_Usable): ... this.
5361 (bit_FMA4_Usable): New macro.
5362 (bit_XMM_state): New macro.
5363 (bit_YMM_state): New macro.
5364 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5365 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5366 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5367 (CPUID_OSXSAVE): New macro.
5368 (CPUID_AVX): New macro.
5369 (CPUID_FMA4): New macro.
5370 (index_YMM_Usable): Rename to...
5371 (index_AVX_Usable): ... this.
5372 (HAS_AVX): Use HAS_ARCH_FEATURE.
5373 (HAS_FMA4): Likewise.
5374 (HAS_YMM_USABLE): Remove.
5375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5376 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5377 are present.
5378 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5379 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5380 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5381 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5382 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5383
0af797de
CM
53842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5385
5386 * math/libm-test.c: Support platforms without multiple rounding modes.
5387 * math/bug-nextafter.c: Support platforms without FP exceptions.
5388 * math/bug-nexttoward.c: Likewise.
5389 * math/test-fenv.c: Likewise.
5390 * math/test-misc.c: Likewise.
5391 * stdlib/bug-getcontext.c: Likewise.
5392
e39745ff
AJ
53932012-05-17 Andreas Jaeger <aj@suse.de>
5394
5395 * manual/examples/search.c (critter_cmp): Change signature to
5396 avoid warnings.
5397 * manual/string.texi (Collation Functions): Likewise.
5398
48970aba
L
53992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 * bits/types.h: Fold copyright years.
5402 * bits/typesizes.h: Likewise.
5403 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5407 * time/time.h: Likewise.
5408
bedee953
PP
54092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5410
5411 [BZ #208]
5412 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5413 in instead of returning them. Return void.
5414 (__libc_mallinfo): Accumulate over all arenas.
5415 (__malloc_stats): Adjust for change in int_mallinfo interface.
5416
61653dfb
RM
54172012-05-16 Roland McGrath <roland@hack.frob.com>
5418
30b99d79
RM
5419 [BZ #10375]
5420 * configure.in (NM): Add AC_CHECK_TOOL for it.
5421 (libc_extra_cflags): New substituted variable.
5422 Check for -fstack-protector being used implicitly.
5423 * configure: Regenerated.
5424 * config.make.in (config-extra-cflags): New variable,
5425 gets @libc_extra_cflags@.
5426 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5427
61653dfb
RM
5428 [BZ #10375]
5429 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5430 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5431 * configure: Regenerated.
5432 * config.make.in (CPPUNDEFS): New substituted variable.
5433 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5434 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5435 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5436
661768bb
L
54372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5438
5439 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5440 (mq_attr): Use __syscall_slong_t.
5441
d4261567
L
54422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5443
5444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5445 Check __x86_64__ instead of __WORDSIZE.
5446 (_STAT_VER_LINUX): Likewise.
5447 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5448 __syscall_ulong_t and __syscall_slong_t.
5449 (stat64): Likewise.
5450
cf3ff365
L
54512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5452
5453 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5454
76cf3e4d
L
54552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5458
a637753a
L
54592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5460
5461 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5462 __syscall_ulong_t.
5463
d5e05119
L
5464 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5465 include <bits/wordsize.h>. Check __x86_64__ instead of
5466 __WORDSIZE.
5467 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5468 defined.
5469 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5470
f62ee380
L
5471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5472 include <bits/wordsize.h>. Check __x86_64__ instead of
5473 __WORDSIZE.
5474 (user_regs_struct): Use "__extension__ unsigned long long"
5475 instead of "unsigned long" if __x86_64__ is defined.
5476 (user): Likewise. Pad after pointer field if __ILP32__ is
5477 defined.
5478
4e124ced
JM
54792012-05-16 Joseph Myers <joseph@codesourcery.com>
5480
6a3951a0
JM
5481 * configure.in (makeinfo): Require version 4.5 or later. Allow
5482 versions 5 to 9.
5483 * configure: Regenerated.
5484 * manual/install.texi (texinfo): Increase version requirement to
5485 4.5 or later.
5486 * INSTALL: Regenerated.
5487
4e124ced
JM
5488 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5489
953ca31a
L
54902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5491
5492 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5493
617aca05
L
5494 * sysdeps/x86_64/x32/ffs.c: New file.
5495
5762f7ae
L
5496 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5497 __syscall_ulong_t.
5498 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5499 defined. Use __syscall_ulong_t.
5500 (shminfo): Use __syscall_ulong_t.
5501 (shm_info): Likewise.
5502
a26b6856
L
5503 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5504 __syscall_ulong_t.
5505
cb2b9ef7
L
5506 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5507 <bits/wordsize.h>.
5508 (msgqnum_t): Use __syscall_ulong_t.
5509 (msglen_t): Likewise.
5510 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5511 __syscall_ulong_t.
5512
34683bb0
L
5513 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5514 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5515
84a68786
L
5516 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5517
48baa5f1
L
5518 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5519 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5520
180be88b
L
5521 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5522 __syscall_slong_t.
5523
5e90c8ad
L
5524 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5525 include <bits/wordsize.h>. Check __x86_64__ instead of
5526 __WORDSIZE.
5527
23dfb58b
L
5528 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5529 "unsigned long long int" if __x86_64__ is defined.
5530 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5531
ce5d54b0
L
5532 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5533 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5534 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5535
13dc9eac
L
5536 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5537 <stdint.h>.
5538 (GET_PC): Cast to uintptr_t first.
5539 (GET_FRAME): Likewise.
5540 (GET_STACK): Likewise.
5541
a7895d15
L
5542 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5543 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5544 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5545 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5546 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5547 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5548 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5549 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5550 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5551 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5552 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5553 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5555 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5556 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5557 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5559 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5560 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5562 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5563 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5564 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5565 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5566 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5567 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5568 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5569 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5570 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5571
656416c9
AS
55722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5573
5bd66283
AS
5574 * Makerules (+depfiles): Also collect depfiles from .oS in
5575 $(extra-objs).
5576 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5577 .oS, $(libnldbl-routines)).
5578
656416c9
AS
5579 * Makerules (native-compile-mkdep-flags): Define.
5580 * sunrpc/Makefile (extra-objs): Add $(addprefix
5581 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5582 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5583 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5584 calling $(make-target-directory).
5585
a46f2169
L
55862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * bits/types.h (__snseconds_t): Removed.
5589 * time/time.h (struct timespec): Replace __snseconds_t with
5590 __syscall_slong_t.
5591 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5592 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5593 Likewise.
5594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5595 (__SNSECONDS_T_TYPE): Likewise.
5596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5597 (__SNSECONDS_T_TYPE): Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5599 (__SNSECONDS_T_TYPE): Likewise.
5600
6af6528b
L
56012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5602
5603 * sysdeps/mach/hurd/bits/typesizes.h
5604 (__SYSCALL_SLONG_TYPE): New macro.
5605 (__SYSCALL_ULONG_TYPE): Likewise.
5606
de986b56
L
56072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5608
5609 * bits/types.h (__syscall_slong_t): New type.
5610 (__syscall_ulong_t): Likewise.
5611
5612 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5613 (__SYSCALL_ULONG_TYPE): Likewise.
5614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5615 (__SYSCALL_SLONG_TYPE): Likewise.
5616 (__SYSCALL_ULONG_TYPE): Likewise.
5617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5618 (__SYSCALL_SLONG_TYPE): Likewise.
5619 (__SYSCALL_ULONG_TYPE): Likewise.
5620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5621 (__SYSCALL_SLONG_TYPE): Likewise.
5622 (__SYSCALL_ULONG_TYPE): Likewise.
5623
85736dc7
L
56242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5625
5626 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5627 Add sigaltstack-offsets.sym.
5628 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5629 <sigaltstack-offsets.h>.
5630 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5631 longjmp_msg pointer.
5632 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5633 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5634 signal stack.
5635 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5636
cc03b296
JM
56372012-05-15 Joseph Myers <joseph@codesourcery.com>
5638
a9538892
JM
5639 * elf/stackguard-macros.h: Remove file.
5640 * sysdeps/generic/stackguard-macros.h: New file.
5641 * sysdeps/i386/stackguard-macros.h: Likewise.
5642 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5643 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5644 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5645 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5646 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5647 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5648 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5649 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5650 <elf/stackguard-macros.h>.
5651
cc03b296
JM
5652 [BZ #14109]
5653 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5654 __aligned__ in attribute.
5655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5656 (gregset_t): Likewise.
5657
93171016
L
56582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5661 * sysdeps/x86_64/64/Implies-after: Here. New file.
5662 * sysdeps/x86_64/x32/Implies-after: New file.
5663
d86813a0
L
56642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5665
5666 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5667 and access return value for _dl_profile_fixup. Use R10_LP to
5668 load frame size.
5669
2953ec75
L
56702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5671
5672 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5673
3b550e9e
L
56742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5675
5676 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5677 * sysdeps/x86_64/x32/sysdep.h: New file.
5678
eda41706
L
56792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5680
5681 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5682 * sysdeps/x86_64/setjmp.S: Likewise.
5683
9ea01d93
AZ
56842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5685
5686 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5687 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5688 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5689 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5690 remove unused global constant.
5691
02a91938
CM
56922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5693
5694 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5695 include of <not-cancel.h>.
5696
6540185f
RM
56972012-05-15 Roland McGrath <roland@hack.frob.com>
5698
5699 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5700
509072a0
AJ
57012012-05-15 Jeff Law <law@redhat.com>
5702 Andreas Jaeger <aj@suse.de>
5703
5704 [BZ #13594]
5705 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5706 out from...
5707 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5708 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5709 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5710 code changing __hst_map_handle.map.
5711
ba75122d
RM
57122012-05-15 Roland McGrath <roland@hack.frob.com>
5713
5714 * configure.in (sysnames): Look for Implies-before and Implies-after
5715 files.
5716 * configure: Regenerated.
5717
890d8bd8
L
57182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5719
5720 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5721 8-byte data alignment with LP_SIZE alignment.
5722
f6ee6623
L
57232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5724
5725 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5726 into R10_LP.
5727
ea2626f6
L
57282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5729
5730 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5731
085f715e
L
57322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5733
5734 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5735 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5736 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5737 Likewise.
5738 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5739
be8498fc
L
57402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5741
5742 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5743 (stackinfo_sub_sp): Likewise.
5744
70bc83b9
L
57452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5748 RAX_LP.
5749
9bc0b730
L
57502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5751
5752 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5753 into R*_LP.
5754
6d2850e7
L
57552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5756
5757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5758 sizes into R*_LP.
5759
3cb84561
L
57602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5763
54e2ed81
L
57642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5765
5766 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5767 into R11_LP and load __x86_64_shared_cache_size_half into
5768 R8_LP.
5769
8a17f349
L
57702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5771
5772 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5773 R8_LP.
5774
777b1eea
AZ
57752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776
5777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5778 logb for POWER7.
5779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5780 logbf for POWER7.
5781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5782 logbl for POWER7.
5783 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5784 powerpc32/power7/fpu/s_logb.c via #include.
5785 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5786 powerpc32/power7/fpu/s_logbf.c via #include.
5787 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5788 powerpc32/power7/fpu/s_logbl.c via #include.
5789
d20d4ac2
JM
57902012-05-15 Joseph Myers <joseph@codesourcery.com>
5791
5792 * README.libm: Remove file.
5793
6cdef1ab
L
57942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5795
5796 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5797 count for x32. Use R*_LP and omit operand-size suffix.
5798
0b254d8f
L
57992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5800
5801 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5802 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5803 * sysdeps/x86_64/x32/shlib-versions: New file.
5804
ceb809dc
RM
58052012-05-14 Roland McGrath <roland@hack.frob.com>
5806
5807 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5808 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5809 Use _dl_fatal_printf instead.
5810
37f1abd4
JM
58112012-05-14 Joseph Myers <joseph@codesourcery.com>
5812
5813 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5814 set if not set by the user. Do not allow for being unset.
5815 * sysdeps/unix/sysv/linux/configure: Regenerated.
5816
11de3a33
L
58172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5818
5819 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5820 the `q' suffix from lea and replace .quad with ASM_ADDR.
5821
e02f153a
L
58222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5823
5824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5825 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5826 instead of $17.
5827 (PTR_DEMANGLE): Likewise.
5828
520ae0fd
L
58292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5830
5831 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5832 (LP_OP): Likewise.
5833 (ASM_ADDR): Likewise.
5834 (RAX_LP): Likewise.
5835 (RBP_LP): Likewise.
5836 (RBX_LP): Likewise.
5837 (RCX_LP): Likewise.
5838 (RDI_LP): Likewise.
5839 (RSI_LP): Likewise.
5840 (RSP_LP): Likewise.
5841 (R8_LP): Likewise.
5842 (R9_LP): Likewise.
5843 (R10_LP): Likewise.
5844 (R10_LP): Likewise.
5845 (R11_LP): Likewise.
5846 (R12_LP): Likewise.
5847 (R13_LP): Likewise.
5848 (R14_LP): Likewise.
5849 (R15_LP): Likewise.
5850
b985be81
L
58512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5852
5853 * sysdeps/x86_64/x32/dl-machine.h: New file.
5854
6a4888ff
AJ
58552012-05-14 Andreas Jaeger <aj@suse.de>
5856
5857 * manual/Makefile (subdir): Remove export of subdir.
5858 (all): Remove target.
5859 (.PHONY): Remove all from list.
5860 (mkinstalldirs): Remove.
5861 (.PHONY): Remove installdirs from list.
5862 ($(inst_infodir)/libc.info): Use make-target-directory.
5863 (installdirs): Remove.
5864 (subdir_%): Remove.
5865 (glibc-targets): Remove.
5866 (lib): Remove.
5867 (stubs): Remove.
5868 ($(objpfx)stubs ../po/manual.pot): Remove.
5869 ($(objpfx)stamp%): Remove.
5870 (make-target-directory): Remove.
5871 (subdir_install): Remove.
5872 (routines): Remove.
5873 (aux): Remove.
5874 (sources): Remove.
5875 (objects): Remove.
5876 (headers): Remove.
5877
5878 [BZ #13750]
5879 * manual/.gitignore: Remove, it's not needed anymore.
5880 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5881 all files in it.
5882 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5883 directory.
5884 (texis): Renamed to $(objpfx)texis.
5885 (texis-path): New, contains path to generated files.
5886 (chapters.%): Use texis-path for complete path, add extra argument
5887 libc-texinfo.sh.
5888 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5889 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5890 (summary,texi, stamp-summary): Use complete path of
5891 files. Generate files in build dir.
5892 (dir-add.texi): Build in build dir.
5893 (libm-err.texi,stamp-libm-err): Likewise.
5894 (version.texi, stamp-version): Likewise.
5895 (.%c.texi): Likewise.
5896 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5897 (mostlyclean): Remove target.
5898 (realclean): Remove target.
5899 (generated): Add new variable with contents from mostlyclean and
5900 realclean, remove entries duplicated in common-mostlyclean, add
5901 stamp-libm-err and stamp-version.
5902 (generated-dirs): Add libc directory.
5903 ($(inst_infodir)/libc.info): Install files from build dir.
5904
5905 * manual/install.texi (Configuring and compiling): Adjust since
5906 the info files are not part of the tar ball anymore.
5907
7ac77294
AJ
59082012-05-14 Andreas Jaeger <aj@suse.de>
5909
5910 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5911 variable.
5912
ffb7875d
JM
59132012-05-14 Joseph Myers <joseph@codesourcery.com>
5914
5915 [BZ #13717]
5916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5917 to 2.2.0 where earlier.
5918 * sysdeps/unix/sysv/linux/configure: Regenerated.
5919 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5920 Remove conditional code.
5921 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5922 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5923 Remove conditional code.
5924 [!__NR_lchown]: Likewise.
5925 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5926 [__NR_lchown]: Likewise.
5927 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5928 comment referencing __ASSUME_LCHOWN_SYSCALL.
5929 * sysdeps/unix/sysv/linux/i386/sigaction.c
5930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5932 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5933 Remove conditional code.
5934 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5935 (__protocol_available): Remove #if 0 code.
5936 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5937 conditional code.
5938 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5939 * sysdeps/unix/sysv/linux/kernel-features.h
5940 (__ASSUME_GETCWD_SYSCALL): Don't define.
5941 (__ASSUME_REALTIME_SIGNALS): Likewise.
5942 (__ASSUME_PREAD_SYSCALL): Likewise.
5943 (__ASSUME_PWRITE_SYSCALL): Likewise.
5944 (__ASSUME_POLL_SYSCALL): Likewise.
5945 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5946 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5947 non-SPARC.
5948 (__ASSUME_SIOCGIFNAME): Don't define.
5949 (__ASSUME_MSG_NOSIGNAL): Likewise.
5950 (__ASSUME_SENDFILE): Define unconditionally.
5951 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5952 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5953 conditional code.
5954 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5955 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5956 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5957 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5958 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5959 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5960 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5962 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5965 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5966 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5971 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5977 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5983 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5985 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5986 Remove conditional code.
5987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5988 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5989 Remove conditional code.
5990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5991 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5992 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5993 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5994 Remove conditional code.
5995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5996 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5997 Remove conditional code.
5998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5999 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6000 Remove conditional code.
6001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6002 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6003 Remove conditional code.
6004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6005 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6006 Remove conditional code.
6007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6008 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6011 * sysdeps/unix/sysv/linux/sigaction.c
6012 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6013 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6014 * sysdeps/unix/sysv/linux/sigpending.c
6015 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6016 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6017 * sysdeps/unix/sysv/linux/sigprocmask.c
6018 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6019 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6020 * sysdeps/unix/sysv/linux/sigsuspend.c
6021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6023 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6024 (__libc_missing_rt_sigs): Remove.
6025 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6026 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6027 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6028 Remove conditional code.
6029 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6030 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6031 return 1.
6032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6033 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6034 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6035 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6036
1bfb7291
AJ
60372012-05-14 Andreas Jaeger <aj@suse.de>
6038
caae5a81
AJ
6039 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6040 it's not used in glibc.
6041 (__coshm1): Likewise.
6042 (__acosh1p): Likewise.
6043 (__sgn): Likewise.
6044
1bfb7291
AJ
6045 * manual/string.texi (Copying and Concatenation): Add missing
6046 variable in concat example.
6047 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6048
c044d724
L
60492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6050
144c5467 6051 [BZ #14103]
c044d724
L
6052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6053 __builtin_clzl with __builtin_clzll.
6054
2523c62b
L
60552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 [BZ #14104]
6058 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6059 libc_freeres_ptr.
6060
d7bb4c42
LD
60612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6062
6063 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6064 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6065 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6066 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6067
9dc4e1fb
MF
60682012-05-14 Mike Frysinger <vapier@gentoo.org>
6069
6070 * NEWS: Update ia64 info.
6071
c7df0112
AS
60722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6073
6074 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6075 used as bcopy.
6076
dc70356c
TS
60772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6078
6079 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6080 * sysdeps/unix/syscalls.list (dup3): Likewise.
6081 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6082 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6083
9fb1a21f
L
60842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6085
6086 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6087 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6088
4822a2a5
L
60892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6090
6091 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6092 thread pointer.
6093 (TLS_IE): Use mov/add instead of movq/addq to load thread
6094 pointer.
6095 (TLS_GD_PREFIX): New.
6096 (TLS_GD): Use it.
6097
842b81d6
DM
60982012-05-11 David S. Miller <davem@davemloft.net>
6099
6100 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6101 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6102 (_FPU_SETCW): Likewise.
6103
1cf463cd
L
61042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6105
6106 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6107 is 32-byte aligned.
6108
60cc4a18
AS
61092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6110
6111 [BZ #11837]
6112 * iconvdata/gb18030.c: Update tables.
6113 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6114 characters specially.
6115 (BODY for TO_LOOP): Add encoding of missing ranges.
6116
febb44a4
TS
61172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6118
6119 [BZ #13673]
6120 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6121 * sysdeps/mach/hurd/dup3.c: Likewise.
6122 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6123 * sysdeps/powerpc/memmove.c:: Likewise.
6124
0a10fb9e
L
61252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6126
6127 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6128 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6129
df8a552f
L
61302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6131
6132 * elf/elf.h (R_X86_64_RELATIVE64): New.
6133 (R_X86_64_NUM): Updated.
6134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6135 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6136 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6137 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6138 tst-quad1pie tst-quad2pie
6139 (modules-names): Add tst-quadmod1 tst-quadmod2.
6140 ($(objpfx)tst-quad1): New dependency.
6141 ($(objpfx)tst-quad2): Likewise.
6142 ($(objpfx)tst-quad1pie): Likewise.
6143 ($(objpfx)tst-quad2pie): Likewise.
6144 * sysdeps/x86_64/tst-quad1.c: New file.
6145 * sysdeps/x86_64/tst-quad1pie.c: New file.
6146 * sysdeps/x86_64/tst-quad2.c: Likewise.
6147 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6148 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6149 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6150 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6151 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6152
f34d6f84
ST
61532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6154
f42d41d1
ST
6155 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6156 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6157 * streams/stropts.h (t_scalar_t): Define type.
6158
3c3571fc
ST
6159 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6160 (_PATH_PRESERVE): Set to "/var/lib".
6161 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6162
61f06bd3
ST
6163 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6164 instead of int.
6165
918d4d71
ST
6166 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6167 if __dir_mkfile succeeded.
6168
f34d6f84
ST
6169 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6170 checking for _hurd_dtablesize. Unlock it right after having
6171 finished _hurd_dtable allocation.
6172
10589b4a
TS
61732012-05-10 Thomas Schwinge <thomas@schwinge.name>
6174
674cdbc7
TS
6175 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6176 * sysdeps/mach/hurd/configure: Regenerated.
6177 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6178 special-casing to...
6179 * sysdeps/gnu/configure.in: ... this new file.
6180 * sysdeps/unix/sysv/linux/configure: Regenerated.
6181 * sysdeps/gnu/configure: New generated file.
6182
8e41b99f
TS
6183 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6184 for Linux: use nsec instead of usec, as well as:
6185 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6186 members of type struct timespec.
6187 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6188 New macros.
6189 (struct stat64): Likewise.
6190 (_STATBUF_ST_NSEC): New macro.
6191 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6192
10589b4a
TS
6193 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6194 __strtoul_internal rather than strtoul.
6195
63643c85
PT
61962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6197
6198 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6199 and reject them.
6200
3faebe6a
ST
62012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6202
6203 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6204 which preserves existing values.
6205 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6206
c6474b07
PT
62072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6208
6209 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6210 TIMEOUT values. Return EINVAL for NFDS values either negative or
6211 greater than FD_SETSIZE.
6212
1043890b
ST
62132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6214
6215 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6216 allocated, call __vm_protect to finish enabling the existing space, and
6217 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6218 allocate the remainder.
6219
37ed8b9b
PT
62202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6221
6222 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6223 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6224
db653660
ST
62252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6226
37ed8b9b
PT
6227 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6228 sysdeps/mach/hurd/readlink.c.
b29d4053 6229
db653660
ST
6230 * posix/tst-sysconf.c (posix_options): Only use
6231 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6232 _POSIX_SYNCHRONIZED_IO when they are defined
6233 * sysdeps/mach/hurd/bits/posix_opt.h:
6234 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6235 (_XOPEN_REALTIME): Undefine macro.
6236 (_XOPEN_REALTIME_THREADS): Undefine macro.
6237 (_XOPEN_SHM): Undefine macro.
6238 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6239 macro to -1.
6240 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6241 macro to -1.
6242 (_POSIX_ASYNC_IO): Undefine macro.
6243 (_POSIX_PRIORITIZED_IO): Undefine macro.
6244 (_POSIX_SPIN_LOCKS): Define macro to -1.
6245
ee16e894
ST
6246 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6247 SA_NODEFER, SA_RESETHAND.
6248 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6249 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6250 F_DUPFD_CLOEXEC.
6251
6103ae3b
TS
62522012-05-10 Thomas Schwinge <thomas@schwinge.name>
6253
6254 * elf/Makefile (pldd-modules): Define unconditionally.
6255
80b4e5f3
TS
62562012-05-10 Thomas Schwinge <thomas@schwinge.name>
6257
6258 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6259
edadcbd6
ST
62602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6261
6262 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6263 Return ENOENT when name is empty.
6264 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6265
80694780
TS
62662012-05-10 Thomas Schwinge <thomas@schwinge.name>
6267
1792c087
TS
6268 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6269
80694780
TS
6270 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6271
6b645f0d
ST
62722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6273
80694780
TS
6274 Fix mlock in all cases except non-readable pages.
6275 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6276 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6277
6b645f0d
ST
6278 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6279 (__mkdir): When path is `/', just fail with EEXIST.
6280 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6281
e468f8a3
TS
62822012-05-10 Thomas Schwinge <thomas@schwinge.name>
6283
6284 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6285 <sys/uio.h> (for writev).
6286 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6287 and <sys/param.h> (for MIN).
6288
a4186cff
PT
62892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6290
6291 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6292 REQUESTED_TIME. Properly set the remaining time and return EINTR
6293 if interrupted.
6294
510bbf14
TS
62952012-05-10 Thomas Schwinge <thomas@schwinge.name>
6296
6297 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6298 Depend on against $(link-rpcuserlibs).
6299
5d5722e8
ST
63002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6301
a4186cff
PT
6302 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6303 (__libc_stack_end): Do not use attribute_relro.
6304 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6305 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6306 to libthread-provided value.
a4186cff
PT
6307 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6308 attribute_relro.
5d5722e8 6309
37233df9
TS
63102012-05-10 Thomas Schwinge <thomas@schwinge.name>
6311
be971a2b
TS
6312 [BZ #3748]
6313 * bits/libc-lock.h (__libc_once_get): New macro.
6314 * sysdeps/mach/bits/libc-lock.h: Likewise.
6315 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6316 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6317 instead of using implementation details.
6318
37233df9
TS
6319 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6320 * libio/freopen.c: Likewise.
6321 * libio/freopen64.c: Likewise.
6322 * misc/syslog.c: Likewise.
6323 * nscd/connections.c: Likewise.
6324 * nscd/netgroupcache.c: Likewise.
6325 * sysdeps/posix/getcwd.c: Likewise.
6326
38de94a5
RM
63272012-05-10 Roland McGrath <roland@hack.frob.com>
6328
6329 * math/w_ilogbf.c: Add #include <limits.h>.
6330
67530489
ST
63312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6332
a4186cff 6333 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6334 path instead of returning without unlocking.
6335
67530489
ST
6336 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6337 immediate-write ioctls.
6338 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6339
5aa3a74a
TS
63402012-05-10 Thomas Schwinge <thomas@schwinge.name>
6341
18bad2ae
TS
6342 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6343 __builtin_frame_address instead of making assumptions about the
6344 location of the return address relative to DATA. Force early load of
6345 the return address.
6346 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6347 __builtin_frame_address.
6348
5aa3a74a
TS
6349 dup3 for GNU Hurd.
6350 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6351 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6352 implement dup3 and do some further code clean-ups.
6353 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6354 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6355
ecd0de9a
ST
63562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6357
cd9fa985
ST
6358 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6359
a4186cff
PT
6360 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6361 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6362 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6363 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6364 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6365 d->port.lock.
802ca5a5 6366
a4186cff
PT
6367 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6368 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6369 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6370
bcf55240
TS
63712012-05-10 Thomas Schwinge <thomas@schwinge.name>
6372
6960eb42
TS
6373 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6374 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6375 definitions.
6376
eb43375f
TS
6377 accept4 for GNU Hurd.
6378 * include/sys/socket.h (__libc_accept4): New prototype.
6379 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6380 to implement __libc_accept4.
6381 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6382 __libc_accept4.
6383 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6384
bcf55240
TS
6385 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6386 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6387 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6388 signal-defines.sym.
6389
6178c55b
ST
63902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6391
a4186cff 6392 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6393
6f080c2f
TS
63942012-05-10 Thomas Schwinge <thomas@schwinge.name>
6395
6396 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6397 assertion on O_CLOEXEC flag.
6398 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6399 * hurd/intern-fd.c: Likewise.
6400 * hurd/port2fd.c: Likewise.
6401
bcfe3a54
ST
64022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6403
6404 [BZ #3906]
6405 * bits/in.h (IPV6_PKTINFO): Define new macro.
6406 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6407
89c9aa49
AZ
64082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409
6410 [BZ #13954]
6411 [BZ #13955]
6412 [BZ #13956]
6413 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6415 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6416 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6418 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6419 * math/libm-test.inc (logb_test) : Additional logb tests.
6420
021db4be
AJ
64212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6422 Andreas Jaeger <aj@suse.de>
6423
6424 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6425 * configure: Regenerated.
6426 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6427 * config.make.in (link-obsolete-rpc): New substituted variable.
6428 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6429 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6430 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6431 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6432 so that libc.a contains the symbols.
6433 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6434 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6435 * sunrpc/auth_none.c: Likewise.
6436 * sunrpc/auth_unix.c: Likewise.
6437 * sunrpc/authdes_prot.c: Likewise.
6438 * sunrpc/authuxprot.c: Likewise.
6439 * sunrpc/clnt_gen.c: Likewise.
6440 * sunrpc/clnt_perr.c: Likewise.
6441 * sunrpc/clnt_raw.c: Likewise.
6442 * sunrpc/clnt_simp.c: Likewise.
6443 * sunrpc/clnt_tcp.c: Likewise.
6444 * sunrpc/clnt_udp.c: Likewise.
6445 * sunrpc/clnt_unix.c: Likewise.
6446 * sunrpc/des_crypt.c: Likewise.
6447 * sunrpc/des_soft.c: Likewise.
6448 * sunrpc/get_myaddr.c: Likewise.
6449 * sunrpc/key_call.c: Likewise.
6450 * sunrpc/key_prot.c: Likewise.
6451 * sunrpc/netname.c: Likewise.
6452 * sunrpc/pm_getmaps.c: Likewise.
6453 * sunrpc/pm_getport.c: Likewise.
6454 * sunrpc/pmap_clnt.c: Likewise.
6455 * sunrpc/pmap_prot.c: Likewise.
6456 * sunrpc/pmap_prot2.c: Likewise.
6457 * sunrpc/pmap_rmt.c: Likewise.
6458 * sunrpc/publickey.c: Likewise.
6459 * sunrpc/rpc_cmsg.c: Likewise.
6460 * sunrpc/rpc_common.c: Likewise.
6461 * sunrpc/rpc_dtable.c: Likewise.
6462 * sunrpc/rpc_prot.c: Likewise.
6463 * sunrpc/rpc_thread.c: Likewise.
6464 * sunrpc/rtime.c: Likewise.
6465 * sunrpc/svc.c: Likewise.
6466 * sunrpc/svc_auth.c: Likewise.
6467 * sunrpc/svc_raw.c: Likewise.
6468 * sunrpc/svc_run.c: Likewise.
6469 * sunrpc/svc_tcp.c: Likewise.
6470 * sunrpc/svc_udp.c: Likewise.
6471 * sunrpc/svc_unix.c: Likewise.
6472 * sunrpc/svcauth_des.c: Likewise.
6473 * sunrpc/xcrypt.c: Likewise.
6474 * sunrpc/xdr.c: Likewise.
6475 * sunrpc/xdr_array.c: Likewise.
6476 * sunrpc/xdr_float.c: Likewise.
6477 * sunrpc/xdr_intXX_t.c: Likewise.
6478 * sunrpc/xdr_mem.c: Likewise.
6479 * sunrpc/xdr_rec.c: Likewise.
6480 * sunrpc/xdr_ref.c: Likewise.
6481 * sunrpc/xdr_sizeof.c: Likewise.
6482 * sunrpc/xdr_stdio.c: Likewise.
6483
b5c086a2
RM
64842012-05-10 Roland McGrath <roland@hack.frob.com>
6485
6486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6487 change. Update copyright years.
6488
6d74dd09
JM
64892012-05-10 Joseph Myers <joseph@codesourcery.com>
6490
6491 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6492
28e72501
MK
64932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6494 Joseph Myers <joseph@codesourcery.com>
6495 Paul Pluzhnikov <ppluzhnikov@google.com>
6496
6497 [BZ #14012]
6498 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6499 requiring rpcgen.
6500 [cross-compiling] (extra-libs): Likewise.
6501 [cross-compiling] (extra-libs-others): Likewise.
6502 [cross-compiling] (librpcsvc-routines): Likewise.
6503 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6504 [cross-compiling] (omit-deps): Likewise.
6505 (sunrpc-CPPFLAGS): New variable.
6506 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6507 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6508 (cross-rpcgen-objs): New variable.
6509 (extra-objs): Append $(cross-rpcgen-objs).
6510 ($(cross-rpcgen-objs)): New rule.
6511 ($(objpfx)cross-rpcgen): Likewise.
6512 (rpcgen-cmd): Define to use $(built-program-file). Expand
6513 comment.
6514 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6515 ($(objpfx)x%.stmp): Likewise.
6516 * sunrpc/proto.h [IS_IN_build] (_): Define.
6517 [IS_IN_build] (_libc_intl_domainname): Likewise.
6518
c8c59454
L
65192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6520
6521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6522 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6523 and R_X86_64_TPOFF64.
6524
6f27cd16
JM
65252012-05-10 Joseph Myers <joseph@codesourcery.com>
6526
6527 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6528 sysdeps/unix/sysv/syscalls.list.
6529 (stime): Likewise.
6530 (utime): Likewise.
6531 * sysdeps/unix/sysv/syscalls.list: Remove file.
6532
02467e1c
PE
65332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6534
6535 [BZ #3440]
6536 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6537 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6538 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6539 (__LC_IDENTIFICATION): Make these macros useful in #if
6540 expressions, as required by C99.
6541
da392631
AS
65422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6543
6544 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6545 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6546 after this.
6547
8115f29b
L
65482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 * stdlib/longlong.h: Updated from GCC.
6551
bdd74070
AJ
65522012-05-09 Andreas Jaeger <aj@suse.de>
6553
edfe0dbe
AJ
6554 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6555 default is first entry.
6556 (run_mode): Set type.
6557 (main): Remove informal message about syslog.
6558 (options): Fix typo.
6559
bcfe3a54
ST
6560 [BZ #14053]
6561 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6562 to asm.
bcfe3a54
ST
6563 (lrint): Likewise.
6564 (llrintf): Likewise.
6565 (llrint): Likewise.
6566 (rint): Likewise.
6567 (rintf): Likewise.
6568 (nearbyint): Likewise.
6569 (nearbyintf): Likewise.
bdd74070 6570
91d8d69e
AJ
65712012-05-09 Andreas Jaeger <aj@suse.de>
6572 Pedro Alves <palves@redhat.com>
6573
6574 * nscd/nscd.c (run_mode): Use enum.
6575 (main): Cleanup coding style issue.
6576
bb90b80b
AJ
65772012-05-09 Alexandre Oliva <aoliva@redhat.com>
6578 Andreas Jaeger <aj@suse.de>
6579
bcfe3a54
ST
6580 * nscd/nscd.c (go_background): Replaced with...
6581 (run_mode): ... this.
bb90b80b 6582 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6583 (options): Add -F --foreground.
6584 (main): Implement it.
6585 (parse_opt): Parse it.
bb90b80b 6586
1a4b75a1
AJ
65872012-05-09 Andreas Jaeger <aj@suse.de>
6588
6589 [BZ #14083]
6590 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6591 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6592 -Wconversion warning.
6593 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6594 Likewise.
6595
b1cc2472
JM
65962012-05-09 Joseph Myers <joseph@codesourcery.com>
6597
6598 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6599 == 0.
6600 (LC_ALL): Use macro-int-constant.
6601 (LC_COLLATE): Likewise.
6602 (LC_CTYPE): Likewise.
6603 (LC_MESSAGES): Likewise.
6604 (LC_MONETARY): Likewise.
6605 (LC_NUMERIC): Likewise.
6606 (LC_TIME): Likewise.
6607 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6608 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6610 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6611 Specify type.
6612 [C99-based standards] (float_t): Expect type.
6613 [C99-based standards] (double_t): Expect type.
6614 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6615 type.
6616 [C99-based standards] (HUGE_VALL): Likewise.
6617 [C99-based standards] (INFINITY): Likewise.
6618 [C99-based standards] (NAN): Likewise.
6619 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6620 [C99-based standards] (FP_NAN): Likewise.
6621 [C99-based standards] (FP_NORMAL): Likewise.
6622 [C99-based standards] (FP_SUBNORMAL): Likewise.
6623 [C99-based standards] (FP_ZERO): Likewise.
6624 [C99-based standards] (FP_FAST_FMA): Use
6625 optional-macro-int-constant. Specify type. Require == 1.
6626 [C99-based standards] (FP_FAST_FMAF): Likewise.
6627 [C99-based standards] (FP_FAST_FMAL): Likewise.
6628 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6629 [C99-based standards] (FP_ILOGBNAN): Likewise.
6630 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6631 Specify type.
6632 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6633 [C99-based standards] (math_errhandling): Specify type.
6634 [ISO99 || ISO11] (signgam): Do not allow.
6635 [non-C99-based standards] (copysignf): Do not allow.
6636 [non-C99-based standards] (exp2f): Likewise.
6637 [non-C99-based standards] (log2f): Likewise.
6638 [non-C99-based standards] (modff): Allow.
6639 [non-C99-based standards] (erff): Do not allow.
6640 [non-C99-based standards] (erfcf): Likewise.
6641 [non-C99-based standards] (gammaf): Likewise.
6642 [non-C99-based standards] (hypotf): Likewise.
6643 [non-C99-based standards] (j0f): Likewise.
6644 [non-C99-based standards] (j1f): Likewise.
6645 [non-C99-based standards] (jnf): Likewise.
6646 [non-C99-based standards] (lgammaf): Likewise.
6647 [non-C99-based standards] (tgammaf): Likewise.
6648 [non-C99-based standards] (y0f): Likewise.
6649 [non-C99-based standards] (y1f): Likewise.
6650 [non-C99-based standards] (ynf): Likewise.
6651 [non-C99-based standards] (isnanf): Likewise.
6652 [non-C99-based standards] (acoshf): Likewise.
6653 [non-C99-based standards] (asinhf): Likewise.
6654 [non-C99-based standards] (atanhf): Likewise.
6655 [non-C99-based standards] (cbrtf): Likewise.
6656 [non-C99-based standards] (expm1f): Likewise.
6657 [non-C99-based standards] (ilogbf): Likewise.
6658 [non-C99-based standards] (log1pf): Likewise.
6659 [non-C99-based standards] (logbf): Likewise.
6660 [non-C99-based standards] (nextafterf): Likewise.
6661 [non-C99-based standards] (remainderf): Likewise.
6662 [non-C99-based standards] (rintf): Likewise.
6663 [non-C99-based standards] (scalbf): Likewise.
6664 [non-C99-based standards] (copysignl): Likewise.
6665 [non-C99-based standards] (exp2l): Likewise.
6666 [non-C99-based standards] (log2l): Likewise.
6667 [non-C99-based standards] (modfl): Allow.
6668 [non-C99-based standards] (erfl): Do not allow.
6669 [non-C99-based standards] (erfcl): Likewise.
6670 [non-C99-based standards] (gammal): Likewise.
6671 [non-C99-based standards] (hypotl): Likewise.
6672 [non-C99-based standards] (j0l): Likewise.
6673 [non-C99-based standards] (j1l): Likewise.
6674 [non-C99-based standards] (jnl): Likewise.
6675 [non-C99-based standards] (lgammal): Likewise.
6676 [non-C99-based standards] (tgammal): Likewise.
6677 [non-C99-based standards] (y0l): Likewise.
6678 [non-C99-based standards] (y1l): Likewise.
6679 [non-C99-based standards] (ynl): Likewise.
6680 [non-C99-based standards] (isnanl): Likewise.
6681 [non-C99-based standards] (acoshl): Likewise.
6682 [non-C99-based standards] (asinhl): Likewise.
6683 [non-C99-based standards] (atanhl): Likewise.
6684 [non-C99-based standards] (cbrtl): Likewise.
6685 [non-C99-based standards] (expm1l): Likewise.
6686 [non-C99-based standards] (ilogbl): Likewise.
6687 [non-C99-based standards] (log1pl): Likewise.
6688 [non-C99-based standards] (logbl): Likewise.
6689 [non-C99-based standards] (nextafterl): Likewise.
6690 [non-C99-based standards] (remainderl): Likewise.
6691 [non-C99-based standards] (rintl): Likewise.
6692 [non-C99-based standards] (scalbl): Likewise.
6693 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6694 [non-C99-based standards] (FP_*): Do not allow.
6695 [C99-based standards] (FP_*): Change to
6696 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6697 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6698 allow.
6699 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6700 (SIG_ERR): Likewise.
6701 [X/Open-based standards] (SIG_HOLD): Likewise.
6702 (SIG_IGN): Likewise.
6703 (SIGABRT): Use macro-int-constant. Specify type. Require
6704 positive value.
6705 (SIGFPE): Likewise.
6706 (SIGILL): Likewise.
6707 (SIGINT): Likewise.
6708 (SIGSEGV): Likewise.
6709 (SIGTER): Likewise.
6710 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6711 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6712 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6713 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6714 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6715 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6716 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6717 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6718 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6719 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6720 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6721 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6722 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6723 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6724 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6725 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6726 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6727 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6728 [X/Open-based standards] (SIGTRAP): Likewise.
6729 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6730 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6731 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6732 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6733 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6734 allow.
6735
b9f1922d
IW
67362012-05-08 Ian Wienand <ianw@vmware.com>
6737
6738 [BZ #14080]
6739 * time/tzset.c (__tzset_parse_tz): Update default rules for
6740 daylight time changes in the Energy Policy Act of 2005.
6741
1db86e88
AJ
67422012-05-09 Andreas Jaeger <aj@suse.de>
6743
6744 [BZ #13983]
6745 * elf/ldconfig.c (parse_conf): Change string to make clear that
6746 ldconfig only issued a warning if ld.so.conf does not exist.
6747
dee4a4e3
DM
67482012-05-08 David S. Miller <davem@davemloft.net>
6749
ee0db190
DM
6750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6751 movxtod instead of popping the value on the stack.
6752
dee4a4e3
DM
6753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6754
6a43ec98
CD
67552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6756
6757 * config.h.in: Add HAVE_ARM_PCS_VFP.
6758
05c2c961
RMG
67592012-05-08 Roland Mc Grath <roland@hack.frob.com>
6760
bcfe3a54
ST
6761 [BZ #13979]
6762 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6763 checking but the checks are disabled for any reason.
05c2c961 6764
4b30f61a
L
67652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6766
6767 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6768 and ELF64_R_TYPE with ELFW(R_TYPE).
6769
eee2bc67
JM
67702012-05-08 Joseph Myers <joseph@codesourcery.com>
6771
7ea5391a
JM
6772 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6773 (ulimit): Likewise.
6774
eee2bc67
JM
6775 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6776 (settimeofday): Likewise.
6777
abb66a67
MF
67782012-05-08 Mike Frysinger <vapier@gentoo.org>
6779
6780 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6781 a struct th_u2 inside the union, and move tu_block/tu_code into
6782 a new th_u3 union of tu_block/tu_code inside of that. Move
6783 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6784 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6785 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6786 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6787 (th_stuff): Change to th_u1.tu_stuff.
6788 (th_data): Define.
6789 (th_msg): Change to th_u1.th_u2.tu_data.
6790
7f18b530
DM
67912012-05-07 David S. Miller <davem@davemloft.net>
6792
05760585
DM
6793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6794
7f18b530
DM
6795 [BZ #14074]
6796 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6797 (SETUP_PIC_REG): Use it.
6798 (SETUP_PIC_REG_LEAF): Use it.
6799
495fd99f
JM
68002012-05-07 Joseph Myers <joseph@codesourcery.com>
6801
6802 [BZ #13885]
6803 [BZ #13923]
6804 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6805 USE_AS_EXPM1L.
6806 (EXPL_FINITE): Likewise.
6807 (FLDLOG): Likewise.
6808 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6809 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6810 e_expl.S.
6811 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6812 USE_AS_EXPM1L.
6813 (EXPL_FINITE): Likewise.
6814 (FLDLOG): Likewise.
6815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6816 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6817 e_expl.S.
6818 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6819 test of -max_value argument for long double.
6820 * sysdeps/i386/fpu/libm-test-ulps: Update.
6821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6822
6693d694
DM
68232012-05-06 David S. Miller <davem@davemloft.net>
6824
6825 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6826 quad soft-float symbols whose references which are compiler
6827 generated.
6828 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6829
6c23e11c
JM
68302012-05-06 Joseph Myers <joseph@codesourcery.com>
6831
d8b82cad
JM
6832 [BZ #13884]
6833 [BZ #13914]
6834 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6835 USE_AS_EXP10L.
6836 (EXPL_FINITE): Likewise.
6837 (FLDLOG): Likewise.
6838 (c0): Likewise.
6839 (c1): Likewise.
6840 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6841 Adjust comments for base varying.
6842 (__expl_finite): Change alias to EXPL_FINITE.
6843 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6844 e_expl.S.
6845 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6846 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6848 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6849 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6850 USE_AS_EXP10L.
6851 (EXPL_FINITE): Likewise.
6852 (FLDLOG): Likewise.
6853 (c0): Likewise.
6854 (c1): Likewise.
6855 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6856 Adjust comments for base varying.
6857 (__expl_finite): Change alias to EXPL_FINITE.
6858 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6859 tests for bugs.
6860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6861
6c23e11c
JM
6862 [BZ #14064]
6863 * math/libm-test.inc (check_float_internal): Correct ulp
6864 calculation for subnormal expected results.
6865
29ba805c
AJ
68662012-05-06 Andreas Jaeger <aj@suse.de>
6867
6868 * Makeconfig (+math-flags): New, set to -frounding-math.
6869 (+cflags): Add +math-flags so that all of glibc gets compiled with
6870 it.
6871
6872 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6873
7b17aeda
JM
68742012-05-05 Joseph Myers <joseph@codesourcery.com>
6875
5779f134
JM
6876 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6877 Disable one test.
6878
41498f4d
JM
6879 [BZ #13787]
6880 [BZ #13922]
6881 [BZ #14036]
6882 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6883 (__ieee754_expl): Allow for and saturate large arguments.
6884 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6885 (u_threshold): Likewise.
6886 (__exp): Call __ieee754_exp before checking for overflow and
6887 underflow.
6888 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6889 (u_threshold): Likewise.
6890 (__expf): Call __ieee754_expf before checking for overflow and
6891 underflow.
6892 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6893 (u_threshold): Likewise.
6894 (__expl): Call __ieee754_expl before checking for overflow and
6895 underflow.
6896 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6897 (__ieee754_expl): Allow for and saturate large arguments.
6898 * math/libm-test.inc (exp_test): Add another test. Do not allow
6899 missing overflow exception on overflow.
6900 (expm1_test): Do not allow missing overflow exception on overflow.
6901
6698b8bf
JM
6902 * sysdeps/i386/fpu/e_expl.c: Move to ...
6903 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6904 rather than using inline asm.
6905 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6906 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6907 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6908
7b17aeda
JM
6909 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6910 (nice): Likewise.
6911 (poll): Likewise.
6912 (signal): Likewise.
6913 (time): Likewise.
6914 (times): Likewise.
6915
f7c85819
JM
69162012-05-04 Joseph Myers <joseph@codesourcery.com>
6917
6918 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6919 sysdeps/unix/common/syscalls.list.
6920 (fchmod): Likewise.
6921 (fchown): Likewise.
6922 (ftruncate): Likewise.
6923 (getrusage): Likewise.
6924 (gettimeofday): Likewise.
6925 (setpgid): Likewise.
6926 (setregid): Likewise.
6927 (setreuid): Likewise.
6928 (sigaction): Likewise.
6929 (truncate): Likewise.
6930 (vhangup): Likewise.
6931 * sysdeps/unix/common/syscalls.list: Remove file.
6932 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6933 * sysdeps/unix/sysv/linux/Implies: Likewise.
6934
336270d0
L
69352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6939 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6940 Moved to ...
6941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6942 Here.
6943 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6944 to ...
6945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6946 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6947 to ...
6948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6949 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6950 to ...
6951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6952 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6953 to ...
6954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6955 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6956 to ...
6957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6958 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6959 to ...
6960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6961 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6962 to ...
6963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6964 Here.
6965 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6966 to ...
6967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6968 Here.
6969 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6970 to ...
6971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6972 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6973 Moved to ...
6974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6975 Here.
6976 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6977 to ...
6978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6979
d128e450
JM
69802012-05-04 Joseph Myers <joseph@codesourcery.com>
6981
fa8ee516
JM
6982 * sysdeps/unix/common/bits/dirent.h: Remove file.
6983 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6984
d128e450
JM
6985 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6986 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6987 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6988 * sysdeps/unix/bsd/isatty.c: Likewise.
6989 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6990 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6991 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6992
ff8faaf0 69932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6994
62881be4 6995 [BZ #13563]
31dc8730
AZ
6996 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6997 long double comparison inaccuracies.
6998 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7000
6fef930c
AS
70012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7002
7003 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7004 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7005
8f203e6c
JM
70062012-05-04 Joseph Myers <joseph@codesourcery.com>
7007
7008 [BZ #14049]
7009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7010 nonzero digits before rounding a hex value.
7011 * stdlib/tst-strtod.c (tests): Add another test.
7012
5197d9c2
AK
70132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7014
7015 * sysdeps/s390/fpu/libm-test-ulps: Update.
7016
f0c1dedf
AJ
70172012-05-03 Andreas Jaeger <aj@suse.de>
7018
7019 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7020 does not get optimized out.
7021 (malloc_opt_barrier): New.
7022
a65ef2ae 70232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7024 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7025
2b942cb7 7026 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7027 intermediate file deletion.
2b942cb7 7028 (generated): Add .symlist files.
a65ef2ae 7029
54b71e02
JM
70302012-05-03 Joseph Myers <joseph@codesourcery.com>
7031
7032 [BZ #13775]
7033 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7034 Redirect under this condition.
7035 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7036 [__USE_GNU] (__dprintf_chk): Not under this condition.
7037 [__USE_GNU] (__vdprintf_chk): Likewise.
7038 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7039 under this condition.
7040 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7041 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7042 [__USE_XOPEN2K8] (vdprintf): Likewise.
7043 [__USE_GNU] (__dprintf_chk): Not under this condition.
7044 [__USE_GNU] (__vdprintf_chk): Likewise.
7045 [__USE_GNU] (dprintf): Likewise.
7046 [__USE_GNU] (vdprintf): Likewise.
7047
d3dfcc41
RM
70482012-05-03 Roland McGrath <roland@hack.frob.com>
7049
7050 * elf/Makefile (common-generated): Set this instead of generated for
7051 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7052 $(all-built-dso)-derived lists.
7053
7ac30cc5
AJ
70542012-05-03 Andreas Jaeger <aj@suse.de>
7055
0c51e550
AJ
7056 * sysdeps/i386/fpu/libm-test-ulps: Update.
7057
7ac30cc5
AJ
7058 * FAQ: Removed.
7059 * FAQ.in: Likewise.
7060 * scripts/gen-FAQ.pl: Likewise.
7061 * manual/install.texi (Installation): Point to online location of
7062 FAQ.
7063 * Makefile (files-for-dist): Remove FAQ.
7064 (FAQ): Remove.
7065
d4c2917f
AM
70662012-05-02 Allan McRae <allan@archlinux.org>
7067
7068 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7069 (LDFLAGS-reldepmod5.so): Likewise.
7070 (LDFLAGS-reldep6mod1.so): Likewise.
7071 (LDFLAGS-reldep6mod4.so): Likewise.
7072 (LDFLAGS-reldep8mod3.so): Likewise.
7073 (LDFLAGS-unload4mod1.so): Likewise.
7074 (LDFLAGS-unload4mod2.so): Likewise.
7075 (LDFLAGS-tst-initorder): Likewise.
7076 (LDFLAGS-tst-initordera2.so): Likewise.
7077 (LDFLAGS-tst-initordera3.so): Likewise.
7078 (LDFLAGS-tst-initordera4.so): Likewise.
7079 (LDFLAGS-tst-initorderb2.so): Likewise.
7080 (LDFLAGS-noload): Likewise.
7081 (LDFLAGS-next): Likewise.
7082 (LDFLAGS-order2mod1.so): Likewise.
7083 (LDFLAGS-order2mod2.so): Likewise.
7084 (LDFLAGS-tst-initorder2): Likewise.
7085 (LDFLAGS-tst-initorder2a.so): Likewise.
7086 (LDFLAGS-tst-initorder2b.so): Likewise.
7087 (LDFLAGS-tst-initorder2c.so): Likewise.
7088 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7089
d77f993f
DM
70902012-05-02 David S. Miller <davem@davemloft.net>
7091
7092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7093
171a70b4
PP
70942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7095
7096 [BZ #14055]
7097 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7098
0be196ad
AJ
70992012-05-02 Andreas Jaeger <aj@suse.de>
7100
7101 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7102 since we manipulate rounding mode.
7103 (CPPFLAGS-test-idouble.c): Likewise.
7104 (CPPFLAGS-test-ifloat.c): Likewise.
7105 (CFLAGS-test-ldouble.c): Likewise.
7106 (CFLAGS-test-double.c): Likewise.
7107 (CFLAGS-test-float.c): Likewise.
7108 (CFLAGS-test-misc.c): Likewise.
7109 (CFLAGS-test-test-fenv.c): Likewise.
7110
4f9d04aa
AZ
71112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7112
2b942cb7
RM
7113 [BZ #2550]
7114 [BZ #2570]
7115 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7116 comparisons to determine direction to adjust input.
4f9d04aa 7117
82a79e7d
RM
71182012-05-01 Roland McGrath <roland@hack.frob.com>
7119
f5a01ca9
RM
7120 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7121 output to the target.
7122
90fe4186
RM
7123 * scripts/localplt.awk: New file.
7124 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7125 (check-localplt-CFLAGS): Variable removed.
7126 ($(all-built-dso:=.jmprel)): New static pattern rule.
7127 (generated): Add those targets.
7128 (localplt-built-dso): New variable.
7129 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7130
7131 * elf/check-localplt.c: File removed.
7132
82397ed6
RM
7133 * scripts/check-execstack.awk: New file.
7134 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7135 (check-execstack-CFLAGS): Variable removed.
7136 ($(objpfx)check-execstack.h): Target removed.
7137 ($(objpfx)execstack-default): New target.
7138 (generated): Add that instead of check-execstack.h.
7139 ($(all-built-dso:=.phdr)): New static pattern rule.
7140 (generated): Add those targets.
7141 * elf/check-execstack.c: File removed.
7142
82a79e7d
RM
7143 * scripts/check-textrel.awk: New file.
7144 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7145 (check-textrel-CFLAGS): Variable removed.
7146 (all-built-dso): Use := to define.o
7147 ($(all-built-dso:=.dyn)): New static pattern rule.
7148 (generated): Add those targets.
7149 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7150 * config.make.in (READELF): New substituted variable.
7151 * elf/check-textrel.c: File removed.
7152
62fde54f 71532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7154
615605c9
JM
7155 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7156 allow.
7157 * conform/data/ctype.h-data [C99-based standards] (isblank):
7158 Expect function.
7159 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7160 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7161 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7162 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7163 Specify type. Require positive value.
7164 (EILSEQ): Likewise.
7165 (ERANGE): Likewise.
7166 [ISO || POSIX] (EILSEQ): Do not expect.
7167 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7168 Specify type. Require positive value.
7169 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7170 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7171 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7172 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7173 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7174 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7175 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7176 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7177 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7178 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7179 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7180 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7181 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7182 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7183 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7184 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7185 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7186 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7187 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7188 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7189 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7190 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7191 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7192 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7193 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7194 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7195 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7196 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7197 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7198 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7199 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7200 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7201 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7202 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7203 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7204 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7205 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7206 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7207 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7208 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7209 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7210 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7211 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7212 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7213 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7214 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7215 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7216 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7217 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7218 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7219 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7220 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7221 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7222 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7223 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7224 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7225 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7226 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7227 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7228 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7229 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7230 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7231 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7232 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7233 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7234 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7235 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7236 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7237 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7238 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7239 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7241 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7242 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7243 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7244 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7245 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7246 Require >= 2.
7247 (FLT_ROUNDS): Expect as macro, not constant.
7248 (FLT_MANT_DIG): Use macro-int-constant.
7249 (DBL_MANT_DIG): Likewise.
7250 (LDBL_MANT_DIG): Likewise.
7251 (FLT_DIG): Likewise.
7252 (DBL_DIG): Likewise.
7253 (LDBL_DIG): Likewise.
7254 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7255 (DBL_MIN_EXP): Likewise.
7256 (LDBL_MIN_EXP): Likewise.
7257 (FLT_MAX_EXP): Use macro-int-constant.
7258 (DBL_MAX_EXP): Likewise.
7259 (LDBL_MAX_EXP): Likewise.
7260 (FLT_MAX_10_EXP): Likewise.
7261 (DBL_MAX_10_EXP): Likewise.
7262 (LDBL_MAX_10_EXP): Likewise.
7263 (FLT_MAX): Use macro-constant.
7264 (DBL_MAX): Likewise.
7265 (LDBL_MAX): Likewise.
7266 (FLT_EPSILON): Use macro-constant. Give upper bound.
7267 (DBL_EPSILON): Likewise.
7268 (LDBL_EPSILON): Likewise.
7269 (FLT_MIN): Likewise.
7270 (DBL_MIN): Likewise.
7271 (LDBL_MIN): Likewise.
7272 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7273 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7274 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7275 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7276 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7277 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7278 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7279 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7280 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7281 [ISO11] (FLT_TRUE_MIN): Likewise.
7282 [ISO11] (LDBL_TRUE_MIN): Likewise.
7283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7284 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7285 (SCHAR_MIN): Use macro-int-constant. Specify type.
7286 (SCHAR_MAX): Likewise.
7287 (UCHAR_MAX): Likewise.
7288 (CHAR_MIN): Likewise.
7289 (CHAR_MAX): Likewise.
7290 (MB_LEN_MAX): Use macro-int-constant.
7291 (SHRT_MIN): Use macro-int-constant. Specify type.
7292 (SHRT_MAX): Likewise.
7293 (USHRT_MAX): Likewise.
7294 (INT_MAX): Likewise.
7295 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7296 bound negative.
7297 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7298 bound with "U".
7299 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7300 bound with "L".
7301 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7302 bound negative. Suffix upper bound with "L".
7303 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7304 bound with "UL".
7305 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7306 Specify type.
7307 [C99-based standards] (LLONG_MAX): Likewise.
7308 [C99-based standards] (ULLONG_MAX): Likewise.
7309 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7310 == 0.
7311 [ISO11] (max_align_t): Require type.
7312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7313
c9140a62
JM
7314 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7315 from $CFLAGS, without defining away __attribute__ calls.
7316 (checknamespace): Use $CFLAGS_namespace.
7317
9af0bf29
JM
7318 * conform/conformtest.pl (@keywords): Only include C99 keywords
7319 for standards based on C99 or C11.
7320
343222a2
JM
7321 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7322 Disable tests.
7323 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7324 UNIX98]: Likewise.
7325
661f8cf0
JM
7326 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7327 usability of symbols in #if.
7328
ee74b9cb
JM
7329 * conform/conformtest.pl: If macro or constant types start
7330 "promoted:", expect the symbol to be of the following type
7331 promoted by the integer promotions.
62fde54f 7332
aafc49b3
JM
7333 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7334 in one place. Also handle "macro-constant".
7335
fefdf574
JM
7336 * conform/conformtest.pl: Only accept expected macro values with
7337 "==". Parse all "macro" lines in one place.
7338 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7339
f2d922fe
JM
7340 * conform/conformtest.pl: Handle braced types on "constant" lines
7341 instead of handling "typed-constant".
7342 * conform/data/signal.h-data: Use "constant" instead of
7343 "typed-constant".
7344
d22956c9
JM
7345 * conform/conformtest.pl: Handle "optional-" at start of lines in
7346 one place rather than duplicating several cases. Handle each
7347 format of "macro" line with initial "optional-".
7348
028e2e38
JM
7349 * conform/conformtest.pl: Only accept expected constant or
7350 optional-constant values with "==". Parse all "constant" lines in
7351 one place. Parse all "optional-constant" lines in one place.
7352 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7353 * conform/data/fmtmsg.h-data: Likewise.
7354 * conform/data/netinet/in.h-data: Likewise.
7355 * conform/data/tar.h-data: Likewise.
7356 * conform/data/limits.h-data: Use "==" form on "constant" and
7357 "optional-constant" lines.
7358
1b8f2850
JM
7359 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7360 Use -std=c99 for XOPEN2K.
7361 (@knownproblems): Remove.
7362 (newtoken): Don't check %isknown.
7363
a05a144b
JM
7364 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7365 Do not expect macro.
7366 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7367 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7368 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7378 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7379 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7385 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7386 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7387 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7388 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7389 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7390 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7391 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7392 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7393 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7396 [XPG3] (acosh): Likewise.
7397 [XPG3] (asinh): Likewise.
7398 [XPG3] (atanh): Likewise.
7399 [XPG3] (cbrt): Likewise.
7400 [XPG3] (expm1): Likewise.
7401 [XPG3] (ilogb): Likewise.
7402 [XPG3] (log1p): Likewise.
7403 [XPG3] (logb): Likewise.
7404 [XPG3] (nextafter): Likewise.
7405 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7406 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7407 [XPG3] (remainder): Likewise.
7408 [XPG3] (rint): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7416 [UNIX98 || XOPEN2K] (scalb): Expect.
7417 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7418 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7446 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7447 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7448 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7449 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7452 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7453 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7466 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7467 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7468 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7530 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7554
73c5ebe3
JM
7555 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7556 _XOPEN_SOURCE_EXTENDED for XPG4.
7557
39c33b6c
JM
7558 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7559
62fde54f
JM
7560 * Makeconfig (localtime): Remove variable.
7561 (inst_localtime-file): Likewise.
7562
0741d64c
AS
75632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7564
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7566 Update.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7568 Update.
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7570 Update.
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7572 Update.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7574 Update.
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7576 Update.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7578 Update.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7580 Update.
7581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7582 Update.
7583
7cb029ee
JM
75842012-05-01 Joseph Myers <joseph@codesourcery.com>
7585
7586 [BZ #2550]
7587 [BZ #2570]
7588 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7589 comparisons to determine direction to adjust input.
7590 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7591 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7593 Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7595 Likewise.
7596 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7597 Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7600 Likewise.
7601 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7602 Likewise.
7603 * math/libm-test.inc (nexttoward_test): Add more tests.
7604
412bd966
AS
76052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7606
7607 [BZ #14040]
7608 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7609 in version GLIBC_2.1, not GLIBC_2.0.
7610 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7611 Likewise.
7612
9568c0c2
JM
76132012-04-30 Joseph Myers <joseph@codesourcery.com>
7614
adfbc8ac
JM
7615 [BZ #13942]
7616 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7617 (1 - x) * (1 + x).
7618 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7619 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7620 * math/libm-test.inc (acos_test): Add more tests.
7621 (asin_test): Likewise.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update.
7623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624
5ba3cc69
JM
7625 [BZ #14034]
7626 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7627 of square root.
7628 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7629 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7630 * math/libm-test.inc (acos_test_tonearest): New function.
7631 (acos_test_towardzero): Likewise.
7632 (acos_test_downward): Likewise.
7633 (acos_test_upward): Likewise.
7634 (asin_test_tonearest): Likewise.
7635 (asin_test_towardzero): Likewise.
7636 (asin_test_downward): Likewise.
7637 (asin_test_upward): Likewise.
7638 (main): Call the new functions.
7639 * sysdeps/i386/fpu/libm-test-ulps: Update.
7640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7641
9568c0c2
JM
7642 [BZ #13884]
7643 [BZ #13924]
7644 * math/e_exp10.c: Include <float.h>.
7645 (__ieee754_exp10): Handle underflow here rather than multiplying
7646 large negative argument by M_LN10.
7647 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7648 of __ieee754_expf.
7649 * math/e_exp10l.c: Include <float.h>.
7650 (__ieee754_exp10l): Handle underflow here rather than multiplying
7651 large negative argument by M_LN10l.
7652 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7653 spurious overflow exception on underflow.
7654
5ac3ea17
MP
76552012-04-29 Marek Polacek <polacek@redhat.com>
7656
7657 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7658 (__fortify_function): New macro.
7659 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7660 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7661 __extern_always_inline.
7662 * libio/bits/stdio2.h: Likewise.
7663 * libio/bits/stdio.h: Likewise.
7664 * string/string.h: Likewise.
7665 * string/bits/string3.h: Likewise.
7666 * include/stdio.h: Likewise.
7667 * stdlib/bits/stdlib.h: Likewise.
7668 * stdlib/stdlib.h: Likewise.
7669 * rt/bits/mqueue2.h: Likewise.
7670 * rt/mqueue.h: Likewise.
7671 * posix/bits/unistd.h: Likewise.
7672 * posix/unistd.h: Likewise.
7673 * io/bits/poll2.h: Likewise.
7674 * io/bits/fcntl2.h: Likewise.
7675 * io/fcntl.h: Likewise.
7676 * io/sys/poll.h: Likewise.
7677 * misc/bits/syslog.h: Likewise.
7678 * misc/bits/syslog-ldbl.h: Likewise.
7679 * misc/sys/syslog.h: Likewise.
7680 * socket/bits/socket2.h: Likewise.
7681 * socket/sys/socket.h: Likewise.
7682 * debug/tst-chk1.c: Likewise.
7683 * wcsmbs/bits/wchar2.h: Likewise.
7684 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7685 * wcsmbs/wchar.h: Likewise.
7686
ecf0ebfb
AJ
76872012-04-29 Andreas Jaeger <aj@suse.de>
7688
7689 * Makerules (tests): Remove enable-check-abi protection.
7690 (check-abi-warn): Remove.
7691 (check-abi-%): Remove check-abi-warn usage.
7692
7693 * configure.in: Remove check-abi configure option.
7694 * configure: Regenerated.
7695 * config.make.in (enable-check-abi): Remove.
7696
6d5c57fa
AS
76972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7698
24c5d07e 7699 [BZ #14033]
ded5180a
AS
7700 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7701 double functions to double *_finite functions.
7702
7e0d315d
AS
7703 [BZ #13941]
7704 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7705 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7706 LDBL_MIN_EXP.
7707 * stdio-common/Makefile (tests): Add tst-sprintf3.
7708 * stdio-common/tst-sprintf3.c: New file.
7709
6d5c57fa
AS
7710 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7711 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7712
0749ff8b
JM
77132012-04-28 Joseph Myers <joseph@codesourcery.com>
7714
7715 * conform/conformtest.pl: Remove duplicate typed-constant
7716 handling.
7717
8dbd5d7b
DM
77182012-04-28 David S. Miller <davem@davemloft.net>
7719
7720 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7721 (check-abi-%): Remove AWK script prerequisite and explicit
7722 abilist directory.
7723 (check-abi): Rewrite to just diff the symlist with the abilist.
7724 (config-tls, config-abi-config): Delete, no longer used.
7725 (update-abi-%): Remove AWK script and explicit abilist directory.
7726 (update-abi): Rewrite to simply compare and conditionally copy the
7727 symlist and the sysdep abilist file. Remove update-abi-config
7728 checks.
7729 * abilist/ld.abilist: Remove.
7730 * abilist/libBrokenLocale.abilist: Remove.
7731 * abilist/libanl.abilist: Remove.
7732 * abilist/libcrypt.abilist: Remove.
7733 * abilist/libdl.abilist: Remove.
7734 * abilist/librt.abilist: Remove.
7735 * abilist/libthread_db.abilist: Remove.
7736 * abilist/libutil.abilist: Remove.
7737 * scripts/extract-abilist.awk: Remove.
7738 * scripts/merge-abilist.awk: Remove.
7739 * sysdeps/generic/libcidn.abilist: New file.
7740 * sysdeps/generic/libnss_compat.abilist: New file.
7741 * sysdeps/generic/libnss_db.abilist: New file.
7742 * sysdeps/generic/libnss_dns.abilist: New file.
7743 * sysdeps/generic/libnss_files.abilist: New file.
7744 * sysdeps/generic/libnss_hesiod.abilist: New file.
7745 * sysdeps/generic/libnss_nis.abilist: New file.
7746 * sysdeps/generic/libnss_nisplus.abilist: New file.
7747 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7748 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7749 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7750 file.
7751 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7752 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7753 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7754 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7755 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7756 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7757 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7758 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7759 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7760 file.
7761 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7762 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7763 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7764 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7765 file.
7766 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7767 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7768 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7769 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7770 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7771 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7772 file.
7773 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7774 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7775 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7776 file.
7777 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7779 New file.
7780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7781 New file.
7782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7783 New file.
7784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7785 New file.
7786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7787 New file.
7788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7789 New file.
7790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7791 New file.
7792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7793 New file.
7794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7795 New file.
7796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7797 New file.
7798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7799 New file.
7800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7801 New file.
7802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7803 New file.
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7805 file.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7807 New file.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7809 New file.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7811 file.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7813 New file.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7815 New file.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7817 file.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7819 New file.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7821 New file.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7823 New file.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7825 New file.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7827 New file.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7829 New file.
7830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7832 file.
7833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7834 New file.
7835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7836 file.
7837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7838 file.
7839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7840 file.
7841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7842 file.
7843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7844 file.
7845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7846 New file.
7847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7848 file.
7849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7850 file.
7851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7852 New file.
7853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7854 file.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7857 file.
7858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7859 New file.
7860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7861 file.
7862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7863 file.
7864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7865 file.
7866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7867 file.
7868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7869 file.
7870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7871 New file.
7872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7873 file.
7874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7875 file.
7876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7877 New file.
7878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7879 file.
7880 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7881 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7882 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7883 file.
7884 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7885 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7886 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7887 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7888 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7889 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7890 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7891 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7892 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7893 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7896 file.
7897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7898 New file.
7899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7900 file.
7901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7902 file.
7903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7904 file.
7905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7906 file.
7907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7908 file.
7909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7910 New file.
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7912 New file.
7913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7914 file.
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7916 New file.
7917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7918 file.
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7921 file.
7922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7923 New file.
7924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7925 file.
7926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7927 file.
7928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7929 file.
7930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7931 file.
7932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7933 file.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7935 New file.
7936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7937 New file.
7938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7939 file.
7940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7941 New file.
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7943 file.
7944
41d73a1b
JM
79452012-04-28 Joseph Myers <joseph@codesourcery.com>
7946
7947 * conform/conformtest.pl: Fix typo in handling typed-constant from
7948 allow-header.
7949
28aeeda4
JM
79502012-04-27 Joseph Myers <joseph@codesourcery.com>
7951
adae8f5e
JM
7952 * README: Cut down references to pre-2.6 Linux kernels and
7953 Linuxthreads. Update lists of configurations in libc and ports
7954 and sort alphabetically. Say "or newer" with Linux kernel version
7955 requirements.
7956
28aeeda4
JM
7957 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7958
a462cb63
RA
79592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7960
7961 [BZ #887]
7962 * math/libm-test.inc (logb_test_downward): New test to expose
7963 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7964 rounding mode.
7965
6ad3493e
JM
79662012-04-27 Joseph Myers <joseph@codesourcery.com>
7967
7968 [BZ #14027]
7969 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7970 to be done.
7971 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7972 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7973
2ce4f015
JM
79742012-04-26 Joseph Myers <joseph@codesourcery.com>
7975
5aeb141a
JM
7976 * sysdeps/unix/i386/brk.S: Remove file.
7977 * sysdeps/unix/i386/dl-brk.S: Likewise.
7978 * sysdeps/unix/i386/pipe.S: Likewise.
7979 * sysdeps/unix/i386/sigreturn.S: Likewise.
7980 * sysdeps/unix/i386/syscall.S: Likewise.
7981 * sysdeps/unix/i386/vfork.S: Likewise.
7982 * sysdeps/unix/i386/wait.S: Likewise.
7983
7143acae
JM
7984 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7985 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7986
2ce4f015
JM
7987 * configure.in (arm*-none*): Do not allow without
7988 --enable-hacker-mode.
7989 (netbsd*): Remove case setting base_os.
7990 (386bsd*): Likewise.
7991 (freebsd*): Likewise.
7992 (bsdi*): Likewise.
7993 (osf*): Likewise.
7994 (sunos*): Likewise.
7995 (ultrix*): Likewise.
7996 (newsos*): Likewise.
7997 (dynix*): Likewise.
7998 (*bsd*): Likewise.
7999 (sysv*): Likewise.
8000 (isc*): Likewise.
8001 (esix*): Likewise.
8002 (sco*): Likewise.
8003 (minix*): Likewise.
8004 (irix4*): Likewise.
8005 (irix6*): Likewise.
8006 (solaris[2-9]*): Likewise.
8007 (none): Likewise.
8008 * configure: Regenerated.
8009
0ac229c8
AZ
80102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8011
8012 [BZ #11521]
8013 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8014 overflow or cancellation in calculating denominator.
8015 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8017 down expression to avoid unexpected rounding in newer GCCs.
8018 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8019
33f244f4
DM
80202012-04-26 David S. Miller <davem@davemloft.net>
8021
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8023 long-double compat symbols.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8037
cfa1f3e8
DM
80382012-04-25 David S. Miller <davem@davemloft.net>
8039
8040 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8041 HWCAP_* values only after the memory barriers have been defined.
8042 (atomic_full_barrier): Define.
8043 (atomic_read_barrier): Define.
8044 (atomic_write_barrier): Define.
8045
6e236b92
SP
80462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8047
8048 * shlib-versions: Add libgcc_s version information.
8049 * sysdeps/generic/libgcc_s.h: Remove.
8050 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8051 libgcc_s.h.
8052 * sysdeps/gnu/unwind-resume.c: Likewise.
8053 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8054
aab39a09
DM
80552012-04-25 David S. Miller <davem@davemloft.net>
8056
8057 * sysdeps/unix/sparc/brk.S: Delete.
8058 * sysdeps/unix/sparc/dl-brk.S: Delete.
8059 * sysdeps/unix/sparc/pipe.S: Delete.
8060 * sysdeps/unix/sparc/sysdep.S: Delete.
8061 * sysdeps/unix/sparc/sysdep.h: Delete.
8062 * sysdeps/unix/sparc/vfork.S: Delete.
8063 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8064 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8065 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8066 ret_ERRVAL, r0, r1, MOVE): Define.
8067 (JUMPTARGET): Remove.
8068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8069 sysdeps/unix/sparc/sysdep.h
8070 (ENTRY, END): Remove.
8071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8072
a3cc4f48
JM
80732012-04-25 Joseph Myers <joseph@codesourcery.com>
8074
2ed8cda2
JM
8075 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8076 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8077 -DIS_IN_build.
8078
35d76d59
JM
8079 * timezone/README: Update upstream location and email address for
8080 tzcode and tzdata.
8081 * timezone/zdump.c: Update from tzcode 2012b.
8082 * timezone/zic.c: Likewise.
8083
a3cc4f48
JM
8084 * configure.in (libc_cv_as_needed): Remove test.
8085 * configure: Regenerated.
8086 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8087 conditional definition.
8088 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8089 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8090 * config.make.in (have-as-needed): Remove variable.
8091
ceab42c3
SP
80922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8093 Paul Pluzhnikov <ppluzhnikov@google.com>
8094
8095 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8096 strings correctly.
8097
3ce2865f
CLT
80982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8099
8100 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8101 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8102 * sysdeps/sh/strlen.S: Likewise.
8103
f37e0d68
JM
81042012-04-24 Joseph Myers <joseph@codesourcery.com>
8105
ae186e9a
JM
8106 * sysdeps/unix/fork.S: Remove file.
8107 * sysdeps/unix/i386/fork.S: Likewise.
8108 * sysdeps/unix/sparc/fork.S: Likewise.
8109
b96914af
JM
8110 * sysdeps/unix/system.c: Remove file.
8111 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8112
f37e0d68
JM
8113 * sysdeps/unix/getegid.S: Remove file.
8114 * sysdeps/unix/geteuid.S: Likewise.
8115
87ef29ca
RM
81162012-04-24 Roland McGrath <roland@hack.frob.com>
8117
83bcd236
RM
8118 * scripts/check-localplt.awk: New file.
8119 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8120 of diff.
8121 * scripts/data/localplt-generic.data: Add a comment.
8122
87ef29ca
RM
8123 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8124 NODE when __dir_mkfile failed.
8125 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8126 Reported by Ludovic Courtès <ludo@gnu.org>.
8127
e5a6e567
AJ
81282012-04-24 Andreas Jaeger <aj@suse.de>
8129
8130 * Makerules (common-clean): Also remove gen-as-const-headers
8131 files.
8132
c1820385
JM
81332012-04-24 Joseph Myers <joseph@codesourcery.com>
8134
8135 * Makerules (native-compile): Do not change working directory for
8136 build. Use $(OUTPUT_OPTION) in command.
8137 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8138
94e02fc4
AZ
81392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 [BZ #13886]
8142 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8143 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8144 * math/libm-test.inc (floor_test): Add more tests.
8145 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8146
3a533ca3
JM
81472012-04-24 Joseph Myers <joseph@codesourcery.com>
8148
940ab4b3
JM
8149 * sysdeps/unix/getdents.c: Remove file.
8150 * sysdeps/unix/sysv/getdents.c: Likewise.
8151 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8152
90e037bd
JM
8153 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8154 sysdeps/unix/mman/syscalls.list.
8155 (mmap): Likewise.
8156 (mprotect): Likewise.
8157 (msync): Likewise.
8158 (munmap): Likewise.
8159 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8160 * sysdeps/unix/mman/syscalls.list: Remove.
8161 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8162
3a533ca3
JM
8163 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8164 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8165 * configure: Regenerated.
8166 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8167 $(libgcc_s_suffix).
8168 * config.make.in (libgcc_s_suffix): Remove variable.
8169
1ad743de
JM
81702012-04-23 Joseph Myers <joseph@codesourcery.com>
8171
4ad451e2
JM
8172 * sysdeps/unix/sysv/gethostname.c: Move to ...
8173 * sysdeps/posix/gethostname.c: ... here.
8174
5e37ce39
JM
8175 * sysdeps/unix/execve.S: Remove file.
8176
1ad743de
JM
8177 * sysdeps/unix/_exit.S: Remove file.
8178
4e681b5b
AJ
81792012-04-23 Andreas Jaeger <aj@suse.de>
8180
8181 [BZ #13739]
8182 * manual/Makefile: Remove make dist support, there's no
8183 need for a stand-alone documentation tar ball.
8184 (TEXI2DVI): Define always, it's not in Makeconfig.
8185 (dist): Removed.
8186 (tar-it): Removed.
8187 (edition): Removed.
8188 (glibc-doc-$(edition).tar): Removed
8189 (%.Z): Removed.
8190 (%.gz): Removed.
8191 (%.uu): Removed.
8192 (ETAGS): Remove, it's in Makeconfig.
8193 (move-if-change): Remove, it's in Makeconfig.
8194
c0baea34
PE
81952013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8196
8197 [BZ #13970]
8198 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8199 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8200 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8201 (strtod_l, strtof_l, strtold_l): Remove __wur.
8202 It is not necessarily an error to ignore strtol's return value.
8203 One can reliably look at the stored endptr to decide whether
8204 the number had valid syntax.
8205
7c0616fa
AJ
82062012-04-21 Andreas Jaeger <aj@suse.de>
8207
803cb6b7 8208 [BZ #13739]
7c0616fa
AJ
8209 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8210
b0fe253f
JM
82112012-04-21 Joseph Myers <joseph@codesourcery.com>
8212
8213 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8214 * sysdeps/unix/sysv/Versions: Remove file.
8215
8280f22d
MT
82162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8217
8218 [BZ #13927]
8219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8220
75ce411f 82212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8222
8223 [BZ #7064]
8224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8225 version from __vm86.
8226
097d59fa
JM
82272012-04-20 Joseph Myers <joseph@codesourcery.com>
8228
a90f3bcb
JM
8229 * sysdeps/unix/common/lxstat.c: Remove file.
8230 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8231
edc7ea78
JM
8232 * sysdeps/unix/sysv/Makefile: Remove file.
8233
cb78c221
JM
8234 * sysdeps/unix/sysv/direct.h: Remove file.
8235
efa6a45f
JM
8236 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8237 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8238 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8239 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8240 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8241 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8242 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8243
9c9f2d0c
JM
8244 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8245
4541c83b
JM
8246 * sysdeps/unix/xmknod.c: Remove file.
8247 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8248
f5d153a0
JM
8249 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8250
aa746595
JM
8251 * sysdeps/unix/sysv/i386/time.S: Remove file.
8252
cce5905e
JM
8253 * sysdeps/unix/fxstat.c: Remove file.
8254 * sysdeps/unix/xstat.c: Likewise.
8255 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8256
37fa3841
JM
8257 * sysdeps/unix/sysv/sigaction.c: Remove file.
8258
ff1962a3
JM
8259 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8260 (sysdep_headers): Remove variable.
8261 [termio.h not in sysdep_headers] (generated): Likewise.
8262 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8263 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8264 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8265 * sysdeps/unix/sysv/tcflow.c: Likewise.
8266 * sysdeps/unix/sysv/tcflush.c: Likewise.
8267 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8268 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8269 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8270 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8271 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8272
e7740d31
JM
8273 * sysdeps/unix/siglist.c: Remove file.
8274
ee06f18b
JM
8275 * sysdeps/unix/getppid.S: Remove file.
8276
097d59fa
JM
8277 * sysdeps/unix/mkdir.c: Remove file.
8278 * sysdeps/unix/rmdir.c: Likewise.
8279
ff3d51ec
AS
82802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8281
8282 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8283 ERR_MAX value.
8284 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8285 errlist-compat value.
8286
50f81fd7
DM
82872012-04-18 David S. Miller <davem@davemloft.net>
8288
8289 * sysdeps/generic/memcopy.h (reg_char): Delete.
8290 * debug/strcat_chk.c: Use char, not reg_char.
8291 * debug/strcpy_chk.c: Likewise.
8292 * debug/strncat_chk.c: Likewise.
8293 * debug/strncpy_chk.c: Likewise.
8294 * string/memchr.c: Likewise.
8295 * string/memrchr.c: Likewise.
8296 * string/rawmemchr.c: Likewise.
8297 * string/strcat.c: Likewise.
8298 * string/strchr.c: Likewise.
8299 * string/strchrnul.c: Likewise.
8300 * string/strcmp.c: Likewise.
8301 * string/strcpy.c: Likewise.
8302 * string/strncat.c: Likewise.
8303 * string/strncmp.c: Likewise.
8304 * string/strncpy.c: Likewise.
8305
8ff41c46
WS
83062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8307
8308 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8309 __builtin_memcopy is called when src and dest ranges are known to not
8310 overlap.
8311
6b652f46
WS
83122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8313
8314 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8315 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8316 fwd_align_merge macro call.
8317 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8318 bwd_align_merge macro call.
8319 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8320
b282631e
WS
83212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8322
8323 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8324 bwd_align_merge macros.
8325 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8326 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8327 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8328
95aa737c
DM
83292012-04-18 David S. Miller <davem@davemloft.net>
8330
8331 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8332
7a99a614
AJ
83332012-04-18 Andreas Jaeger <aj@suse.de>
8334
8335 [BZ# 6794]
8336 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8337 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8338 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8339
8340 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8341 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8342 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8343
8344 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8345 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8346 Adjust for changed ldbl-128 files.
8347
8348 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8349 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8350 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8351
e5270c23
DM
83522012-04-17 David S. Miller <davem@davemloft.net>
8353
8354 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8355
fb5e92c9
AS
83562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8357
8358 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8359 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8360 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8361 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8362 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8363 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8364
76da7265
AZ
83652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366
8367 [BZ #6794]
8368 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8369 * math/libm-test.inc: Add ilogb errno and exception tests.
8370 * math/w_ilogb.c: New file: ilogb wrapper.
8371 * math/w_ilogbf.c: New file: ilogbf wrapper.
8372 * math/w_ilogbl.c: New file: ilogbl wrapper.
8373 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8374 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8375 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8376 exception being thrown with 0.0 as argument.
8377 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8378 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8379 exception being thrown with 0.0 as argument.
8380 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8381 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8382 exception being thrown with 0.0 as argument.
8383 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8384 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8385 exception being thrown with 0.0 as argument.
8386 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8387 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8388 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8389 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8390 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8391 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8392 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8393 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8394 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8395
0396e69d
PB
83962012-04-17 Petr Baudis <pasky@ucw.cz>
8397
8398 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8399 with altivec.
8400
750b5926
MP
84012012-04-16 Marek Polacek <polacek@redhat.com>
8402
8403 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8404
751728a1
MP
84052012-04-16 Marek Polacek <polacek@redhat.com>
8406
8407 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8408 operands of fdivp instruction.
8409
34a27407
L
84102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8411
8412 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8413 * elf/tst-auditmod3b.c: Likewise.
8414 * elf/tst-auditmod4b.c: Likewise.
8415 * elf/tst-auditmod5b.c: Likewise.
8416 * elf/tst-auditmod6b.c: Likewise.
8417 * elf/tst-auditmod6c.c: Likewise.
8418 * elf/tst-auditmod7b.c: Likewise.
8419 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8420 * sysdeps/x86_64/preconfigure.in: Likewise.
8421 * sysdeps/x86_64/preconfigure: Regenerated.
8422
7e73e17d
L
84232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8424
8425 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8426 __ILP32__.
8427
c7a6ab72
AB
84282012-04-13 Antoine Balestrat <merkil33@gmail.com>
8429
8430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8431 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8432
a9e8e0e0
CL
84332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8434
8435 [BZ #13973]
8436 * locale/iso-639.def: Fix gl language name. Spotted by
8437 Yaron Shahrabani.
8438
ec98af7d
RM
84392012-04-12 Roland McGrath <roland@hack.frob.com>
8440
8441 [BZ #2074]
8442 * libio/libio.h (__io_write_fn): Update comment.
8443
247c3ede
PB
84442012-04-12 Petr Baudis <pasky@ucw.cz>
8445
8446 [BZ #2074]
8447 * stdio.texi (Hook Functions): The user provided writer function
8448 is not allowed to return -1.
8449
55939d6d
DM
84502012-04-11 David S. Miller <davem@davemloft.net>
8451
8452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8453
90020f5a
MF
84542012-04-11 Mike Frysinger <vapier@gentoo.org>
8455
8456 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8457 Add a leading slash to rtkaio.
8458
288f9098
JM
84592012-04-11 Jim Meyering <meyering@redhat.com>
8460
90020f5a
MF
8461 [BZ #11959]
8462 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8463 It is not necessarily an error to ignore fwrite's return
8464 value. One can reliably use ferror to test for errors after
8465 the fact.
288f9098 8466
4be2b570
L
84672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * bits/types.h (__snseconds_t): New type.
8470 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8471
8472 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8474 (__SNSECONDS_T_TYPE): Likewise.
8475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8476 (__SNSECONDS_T_TYPE): Likewise.
8477 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8478 (__SNSECONDS_T_TYPE): Likewise.
8479
288f9098 84802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8481
8482 [BZ #2636]
8483 * manual/time.texi (Processor Time): Return type of times is
8484 elapsed real time since an arbitrary point in the past.
8485 (CPU Time): Move CLK_TCK from here...
8486 (Processor Time): ...to here. Correct description.
8487 * manual/conf.texi (Constants for Sysconf): Correct description of
8488 _SC_CLK_TCK.
8489
d7dd4413
DM
84902012-04-10 David S. Miller <davem@davemloft.net>
8491
8492 [BZ #13967]
8493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8494 where the is a gap between DT_REL(A) and DT_JMPREL.
8495
b46068fc
L
84962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8497
8498 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8499 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8500 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8501
73d65cc3
SP
85022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8503
8504 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8505 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8506 (dl_main): Handle --inhibit-cache.
8507 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8508 _dl_inhibit_cache.
8509 * elf/dl-load.c (_dl_map_object): Use it.
8510 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8511
bcc8d661
JM
85122012-04-09 Joseph Myers <joseph@codesourcery.com>
8513
8f9a2fae
JM
8514 [BZ #13872]
8515 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8516 (__ieee754_powl): Saturate large exponents rather than testing for
8517 overflow of y*log2(x).
8518 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8519 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8520 exceptions.
8521
bcc8d661
JM
8522 [BZ #11521]
8523 * math/s_ctan.c: Include <float.h>.
8524 (__ctan): Avoid internal overflow or cancellation in calculating
8525 denominator.
8526 * math/s_ctanf.c: Likewise.
8527 * math/s_ctanl.c: Likewise.
8528 * math/s_ctanh.c: Likewise.
8529 * math/s_ctanhf.c: Likewise.
8530 * math/s_ctanhl.c: Likewise.
8531 * math/libm-test.inc (ctan_test): Add more tests.
8532 (ctanh_test): Likewise.
8533 * sysdeps/i386/fpu/libm-test-ulps: Update.
8534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8535
823fbbb4
AJ
85362012-04-09 Andreas Jaeger <aj@suse.de>
8537
03879793
AJ
8538 [BZ #6894]
8539 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8540 is an optional BSD extension.
8541
823fbbb4
AJ
8542 [BZ #10254]
8543 * manual/stdio.texi (Opening Streams): Document additional fopen
8544 parameters.
8545
8de131cb
RM
85462012-04-09 Roland McGrath <roland@hack.frob.com>
8547
8548 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8549 %eax without telling the compiler.
8550
c0ed9d7d
CD
85512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8552
8553 [BZ # 13963]
8554 * manual/install.texi: Use sourceware.org.
8555
c483f6b4
JM
85562012-04-09 Joseph Myers <joseph@codesourcery.com>
8557
d7dd9453
JM
8558 [BZ #13873]
8559 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8560 (__ieee754_pow): Generate overflow and underflow using huge*huge
8561 and tiny*tiny rather than just returning constant infinity or zero
8562 for large exponents.
8563 * math/libm-test.inc (pow_test): Require overflow exceptions for
8564 applicable cases of large exponents.
8565
c483f6b4
JM
8566 [BZ #706]
8567 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8568 (__ieee754_pow): Use iterative multiplication algorithm only for
8569 integer exponents with absolute value below 1024. Check for odd
8570 integer exponents when using algorithm for real exponents.
8571 * math/libm-test.inc (pow_test): Add more tests.
8572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8573
d2de7579
JM
85742012-04-08 Joseph Myers <joseph@codesourcery.com>
8575
8576 [BZ #13705]
8577 * math/libm-test.inc (exp_test): Do not allow overflow exception
8578 on underflow test.
8579
f77f1232
AJ
85802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8581
8582 [BZ #13705]
8583 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8584 instead of __kernel_standard_f.
8585
3884932b
MF
85862012-04-08 Mike Frysinger <vapier@gentoo.org>
8587
8588 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8589 * sysdeps/x86_64/memset_chk.S: Likewise.
8590
54472e9c
AJ
85912012-04-08 Andreas Jaeger <aj@suse.de>
8592
6ab0fbfc
AJ
8593 [BZ #10153]
8594 * manual/startup.texi (Environment Access): Describe return value
8595 for putenv and setenv.
8596
61efba8c
AJ
8597 [BZ #6895]
8598 * manual/filesys.texi (Directory Entries): Add description for
8599 DT_LNK.
8600
95c3f29a
AJ
8601 [BZ #6890]
8602 * manual/filesys.texi (Directory Entries): Clarify that it's file
8603 system not operating system in the description of DT_UNKNOWN.
8604
54472e9c
AJ
8605 [BZ #6578]
8606 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8607
624254b1
SC
86082012-04-08 Stephen Compall <s11@member.fsf.org>
8609
8610 [BZ #6649]
8611 * manual/llio.texi (Opening and Closing Files): Add cross
8612 reference to explain mode argument.
8613
1e4920e0
MF
86142012-04-07 Mike Frysinger <vapier@gentoo.org>
8615
8616 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8617 * sysdeps/x86_64/memset_chk.S: Likewise.
8618
5ed848f3
DM
86192012-04-07 David S. Miller <davem@davemloft.net>
8620
8621 * elf/elf.h (R_SPARC_WDISP10): Define.
8622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8623 R_SPARC_SIZE32.
8624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8625 R_SPARC_SIZE64 and R_SPARC_H34.
8626
96154cd8
CD
86272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8628
8629 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8630 conditions and remove no longer applicable assertion.
8631
9904dc47
L
86322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8633
8634 * bits/byteswap.h: Include <features.h>.
8635 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8636 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8637
f8887d0a
L
86382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8639
8640 * bits/byteswap.h (__bswap_16): Removed.
8641 Include <bits/byteswap-16.h> to get __bswap_16.
8642 * sysdeps/i386/bits/byteswap.h: Likewise.
8643 * sysdeps/s390/bits/byteswap.h: Likewise.
8644 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8645 * bits/byteswap-16.h: New file.
8646 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8647 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8648 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8649 * string/Makefile (headers): Add bits/byteswap-16.h.
8650
62470f60
PP
86512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8652
8653 [BZ #13895]
8654 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8655 extra indirection.
8656 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8657 * nss/tst-nss-static.c: New.
8658
4dad7bab
RM
86592012-04-06 Robert Millan <rmh@gnu.org>
8660
8661 [BZ #6486]
8662 * manual/llio.texi (File Position Primitive): lseek
8663 refers to WHENCE when it really means OFFSET.
8664
e9142a17
AJ
86652012-04-06 Andreas Jaeger <aj@suse.de>
8666
2c040eff
AJ
8667 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8668 strncmp declarations.
8669
e9142a17
AJ
8670 * abilist/libc.abilist: Add __poll and __ppoll.
8671
ff9f1c5f
DM
86722012-04-05 David S. Miller <davem@davemloft.net>
8673
dcd2ae90
DM
8674 * scripts/check-local-headers.sh: Accept a host triplet in the
8675 path matched by the exclude regexp.
8676
993eb054
DM
8677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8678 definition.
8679 * sysdeps/powerpc/powerpc32/dl-machine.h
8680 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8681 * sysdeps/s390/s390-32/dl-machine.h
8682 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8683 * sysdeps/sparc/sparc32/dl-machine.h
8684 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8685 * sysdeps/sparc/sparc64/dl-machine.h
8686 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8687
ff9f1c5f
DM
8688 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8689 lazy binding.
48e2e132 8690 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8691 undefined symbol errors.
8692
48e2e132 8693 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8694 DT_NEEDED entries.
8695
e80d6f94
MM
86962012-04-05 Michael Matz <matz@suse.de>
8697
8698 [BZ #13592]
8699 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8700
349fa79f
AJ
87012012-04-05 Andreas Jaeger <aj@suse.de>
8702
8703 [BZ #13908]
8704 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8705 comment.
8706
f402708f
KK
87072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8708
8709 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8710 which ROUND is no valid rounding mode.
8711
2ecccfc9
KK
87122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8713
8714 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8715 read again.
8716 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8717
8a53f50f
KK
87182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8719
8720 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8721 an exception using FPU order intentionally.
8722
87232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8724
8725 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8726 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8727 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8728 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8729
d653abb7
SJ
87302012-04-05 Simon Josefsson <simon@josefsson.org>
8731
8732 [BZ #12340]
8733 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8734 EINVAL when BUFLEN is too smal.
8735
c3b1bf7d
TS
87362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8737
8738 [BZ #13553]
8739 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8740 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8741
b1aa60f3
AJ
87422012-04-03 Andreas Jaeger <aj@suse.de>
8743
c3b1bf7d 8744 [BZ #13938]
67f60a26
AJ
8745 * manual/setjmp.texi (System V contexts): Fix sentence.
8746
b1aa60f3
AJ
8747 [BZ #13926]
8748 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8749 New macro for this case.
8750 [!__GNUC__] (__bswap_64): New inline function for this case.
8751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8752 * bits/byteswap.h: Likewise.
8753 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8754 ull, guard with __GLIBC_HAVE_LONG_LONG.
8755
8756 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8757 __GLIBC_HAVE_LONG_LONG.
8758
8759 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8760 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8761
39c59c35
TMQMF
87622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8763
8764 [BZ #13691]
8765 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8766 inptr and inend, rather than using last_ch.
8767
135ffda8
DM
87682012-04-02 David S. Miller <davem@davemloft.net>
8769
8770 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8771 * stdio-common/printf-parse.h (read_int): Change return type to
8772 'int', return -1 on INT_MAX overflow.
8773 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8774 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8775 overflows INT_MAX. Check for overflow of in-format-string precision
8776 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8777 SIZE_MAX not INT_MAX for integer overflow test.
8778 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8779 skip the construct in the format string but do not record anything.
8780 * stdio-common/bug22.c: Adjust to test both width/prevision
8781 INT_MAX overflow as well as total length INT_MAX overflow. Check
8782 explicitly for proper errno values.
8783
228c019e
TS
87842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8785
302cadd3
TS
8786 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8787 CHAR_MAX.
8788 * string/test-strcmp.c [! WIDE]: Likewise.
8789 * time/tst-mktime2.c: Likewise for INT_MAX.
8790 * string/test-string.h: #include <sys/param.h> for MIN.
8791
228c019e
TS
8792 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8793 * sysdeps/i386/init-first.c (init): Likewise.
8794 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8795 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8796 * sysdeps/sh/init-first.c (init): Likewise.
8797
cfa633f5
UD
87982012-04-01 Ulrich Drepper <drepper@gmail.com>
8799
8800 * po/ru.po: Update from translation team.
d1635ef8 8801 * po/vi.po: Likewise.
cfa633f5 8802
6cd0a5ea
SP
88032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
8805 * resolv/nss_dns/dns-host.c: Merge copyright years.
8806
4b43400f
LD
88072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8808
8809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8810 Optimize memcpy with prefetch if
8811 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8812 src, dst pointers have unequal 16 byte alignments.
8813
48c41d04
SP
88142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8815
8816 [BZ #13928]
8817 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8818 from a CNAME entry and return the minimum ttl for the query.
8819 (gaih_getanswer_slice): Likewise.
8820
b8dc394d
JL
88212012-03-30 Jeff Law <law@redhat.com>
8822
8823 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8824 due to long keys.
8825 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8826 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8827
2f5a5ed0
JL
8828 * resolv/nss_dns/dns-host.c: Update copyright year.
8829
1d39e359
UD
88302012-03-30 Ulrich Drepper <drepper@gmail.com>
8831
c030f70c 8832 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8833 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8834
1d39e359
UD
8835 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8836 comments for sendmmsg.
8837
88382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8839
8840 [BZ #13691]
8841 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8842 with only 1 character between 0x0041 and 0x01b0.
8843 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8844 * wcsmbs/tst-mbsnrtowcs.c: New file.
8845
20fde227
DM
88462012-03-29 David S. Miller <davem@davemloft.net>
8847
8848 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8849 small copies by hand.
8850
984a4237
JL
88512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8852
8853 [BZ #13761]
8854 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8855 _nss_compat_initgroups_dyn): Fall back to malloc/free
8856 for large group memberships.
8857
18c9d62b
DM
88582012-03-28 David S. Miller <davem@davemloft.net>
8859
88d85d4f
DM
8860 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8861 that branches into memcpy.
8862 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8863 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8864 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8865 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8867 bits.
8868 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8869 implementation too.
8870 * sysdeps/sparc/mempcpy.S: New file.
8871
e5aa83e1
DM
8872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8873 the IFUNC routine in the libc case.
8874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8875
88570753
DM
8876 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8877 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8878 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8879 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8880 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8881 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8882 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8883 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8884
249d7567
DM
8885 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8886 loop to 256 bytes instead of 64 bytes and fix test signedness.
8887
18c9d62b
DM
8888 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8889 * sysdeps/sparc/sparc32/Makefile: rather than here...
8890 * sysdeps/sparc/sparc64/Makefile: and here.
8891
05f3d1f6
UD
88922012-03-28 Ulrich Drepper <drepper@gmail.com>
8893
8894 * malloc/mallocbug.c: Avoid warnings about unused variables.
8895
86ae07a8
JL
88962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8897
8898 [BZ #13760]
8899 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8900 in the right place. Discard and retry query if response is
8901 larger than input buffer size.
8902
41bf21a1
JM
89032012-03-28 Joseph Myers <joseph@codesourcery.com>
8904
d6270972
JM
8905 [BZ #369]
8906 [BZ #2678]
8907 [BZ #3866]
8908 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8909 x for large integer exponent.
8910 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8911 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8912 sign of result as needed afterwards.
8913 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8914 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8915 result for underflowing pow the same as for overflow.
8916 (__kernel_standard_l): Handle powl overflow and underflow here
8917 rather than calling __kernel_standard.
8918 * math/libm-test.inc (pow_test): Add more tests.
8919
414fca03 8920 [BZ #3868]
41bf21a1
JM
8921 [BZ #13879]
8922 [BZ #13910]
8923 [BZ #13911]
8924 [BZ #13912]
8925 [BZ #13913]
8926 [BZ #13915]
8927 [BZ #13916]
8928 [BZ #13917]
8929 [BZ #13918]
8930 [BZ #13919]
8931 [BZ #13920]
8932 [BZ #13921]
8933 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8934 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8935 (__kernel_standard_l): New function.
8936 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8937 __kernel_standard.
8938 * math/w_acosl.c (__acosl): Likewise.
8939 * math/w_asinl.c (__asinl): Likewise.
8940 * math/w_atan2l.c (__atan2l): Likewise.
8941 * math/w_atanhl.c (__atanhl): Likewise.
8942 * math/w_coshl.c (__coshl): Likewise.
8943 * math/w_exp10l.c (__exp10l): Likewise.
8944 * math/w_exp2l.c (__exp2l): Likewise.
8945 * math/w_fmodl.c (__fmodl): Likewise.
8946 * math/w_hypotl.c (__hypotl): Likewise.
8947 * math/w_j0l.c (__j0l, __y0l): Likewise.
8948 * math/w_j1l.c (__j1l, __y1l): Likewise.
8949 * math/w_jnl.c (__jnl, __ynl): Likewise.
8950 * math/w_lgammal.c (__lgammal): Likewise.
8951 * math/w_log10l.c (__log10l): Likewise.
8952 * math/w_log2l.c (__log2l): Likewise.
8953 * math/w_logl.c (__logl): Likewise.
8954 * math/w_powl.c (__powl): Likewise.
8955 * math/w_remainderl.c (__remainderl): Likewise.
8956 * math/w_scalbl.c (sysv_scalbl): Likewise.
8957 * math/w_sinhl.c (__sinhl): Likewise.
8958 * math/w_sqrtl.c (__sqrtl): Likewise.
8959 * math/w_tgammal.c (__tgammal): Likewise.
8960 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8961 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8962 * math/libm-test.inc (acos_test): Add more tests.
8963 (acosh_test): Likewise.
8964 (asin_test): Likewise.
8965 (atanh_test): Likewise.
8966 (exp_test): Likewise.
8967 (exp10_test): Likewise.
8968 (exp2_test): Likewise.
8969 (expm1_test): Likewise.
8970 (lgamma_test): Likewise.
8971 (log_test): Likewise.
8972 (log10_test): Likewise.
8973 (log1p_test): Likewise.
8974 (log2_test): Likewise.
8975 (pow_test): Do not allow some spurious overflow exceptions.
8976 (sqrt_test): Add more tests.
8977 (tgamma_test): Likewise.
8978 (y0_test): Likewise.
8979 (y1_test): Likewise.
8980 (yn_test): Likewise.
8981
dd62fda6
AB
89822012-03-27 Anton Blanchard <anton@samba.org>
8983
8984 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8985 MAP_HUGETLB.
8986 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8987 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8989
1e3cdfda
AJ
89902012-03-27 David S. Miller <davem@davemloft.net>
8991
b855ab85
DM
8992 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8993
1e3cdfda
AJ
8994 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8995 have-as-vis3 check.
8996
89972012-03-27 Andreas Jaeger <aj@suse.de>
8998
8999 * sysdeps/x86_64/elf/configure.in: Moved to ...
9000 * sysdeps/x86_64/configure.in: ... here.
9001 * sysdeps/x86_64/elf/start.S: Moved to ...
9002 * sysdeps/x86_64/start.S: ... here.
9003 * sysdeps/x86_64/elf/configure: Delete.
9004
9005 * sysdeps/x86_64/configure.in: Merge contents from
9006 sysdeps/i386/configure.in (without i686 check).
9007
9008 * sysdeps/i386/elf/Versions: Merge into ...
9009 * sysdeps/i386/Versions: ... this.
9010 * sysdeps/i386/elf/Versions: Delete file.
9011 * sysdeps/i386/elf/start.S: Moved to ...
9012 * sysdeps/i386/start.S: ...here.
9013 * sysdeps/i386/elf/configure.in: Merge into...
9014 * sysdeps/i386/configure.in: ...here.
9015 * sysdeps/i386/elf/configure.in: Delete file.
9016 * sysdeps/i386/elf/configure: Delete file.
9017
9018 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9019 * debug/backtracesyms.c: ... here.
9020 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9021 * debug/backtracesymsfd.c: ... here.
9022 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9023 * sysdeps/generic/ifunc-sel.h: ... here.
9024
9025 * sysdeps/unix/i386/start.c: Delete file.
9026 * sysdeps/unix/sparc/start.c: Delete file.
9027 * sysdeps/unix/start.c: Delete file.
9028
9029 * sysdeps/sh/elf/configure.in: Moved to ...
9030 * sysdeps/sh/configure.in: ... here.
9031 * sysdeps/sh/elf/start.S: Moved to ...
9032 * sysdeps/sh/start.S: ... here.
9033 * sysdeps/sh/elf/configure: Delete file.
9034
9035 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9036 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9037 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9038 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9039 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9040 * sysdeps/powerpc/powerpc64/start.S: here.
9041 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9042 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9043 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9044 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9045 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9046
9047 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9048 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9049 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9050 * sysdeps/powerpc/powerpc32/start.S: ... here.
9051 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9052 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9053 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9054
9055 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9056 * sysdeps/powerpc/ifunc-sel.h: ... here.
9057 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9058 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9059
9060 * sysdeps/sparc/elf/configure.in: Moved to ...
9061 * sysdeps/sparc/configure.in: ... here.
9062 * sysdeps/sparc/elf/configure: Delete file.
9063 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9064 * sysdeps/sparc/sparc32/start.S: ... here.
9065 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9066 * sysdeps/sparc/sparc64/start.S: ... here.
9067 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9068 * sysdeps/sparc/sparc32/Makefile: ... this.
9069 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9070 * sysdeps/sparc/sparc64/Makefile: ... this.
9071
9072 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9073 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9074 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9075 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9076 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9077 * sysdeps/s390/s390-32/setjmp.S: ... here.
9078 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9079 * sysdeps/s390/s390-32/configure.in: ... here.
9080 * sysdeps/s390/s390-32/elf/configure: Delete file.
9081 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9082 * sysdeps/s390/s390-32/start.S: ... here.
9083
9084 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9085 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9086 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9087 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9088 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9089 * sysdeps/s390/s390-64/setjmp.S: ... here.
9090 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9091 * sysdeps/s390/s390-64/configure.in: ... here
9092 * sysdeps/s390/s390-64/elf/configure: Delete file.
9093 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9094 * sysdeps/s390/s390-64/start.S: ... here.
9095 * sysdeps/s390/s390-64/elf/configure: Delete.
9096
9097 * configure.in: Remove support for elf directories in sysdeps.
9098
9099 * configure: Regenerated.
9100 * sysdeps/i386/configure: Regenerated.
9101 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9102 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9103 * sysdeps/s390/s390-32/configure: Regenerated.
9104 * sysdeps/s390/s390-64/configure: Regenerated.
9105 * sysdeps/sh/configure: Regenerated.
9106 * sysdeps/sparc/configure: Regenerated.
9107 * sysdeps/x86_64/configure: Regenerated.
9108
a3f61311
AS
91092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9110
c876e002
AS
9111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9112
a3f61311
AS
9113 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9114 denormal result into account.
9115
ac4c54f0
RM
91162012-03-25 Roland McGrath <roland@hack.frob.com>
9117
9118 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9119 Reported by Allan McRae <allan@archlinux.org>.
9120
6a9b9c02
JL
91212012-03-23 Jeff Law <law@redhat.com>
9122
9123 * nss/getnssent.c (__nss_getent): Fix typo.
9124
4c42a0c1
DM
91252012-03-23 David S. Miller <davem@davemloft.net>
9126
9127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9128
1532c7ac
L
91292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9132 to pad to uint64_t for each field.
9133 (dl_tls_index): Replace unsigned long with uint64_t.
9134
3ff42526
PP
91352012-03-23 Daniel Jacobowitz <dmj@google.com>
9136 Paul Pluzhnikov <ppluzhnikov@google.com>
9137
9138 [BZ #6528]
9139 * grp/Makefile (otherlibs): Don't set it.
9140 * inet/Makefile (otherlibs): Likewise.
9141 * login/Makefile (otherlibs): Likewise.
9142 * nscd/Makefile (otherlibs): Likewise.
9143 * posix/Makefile (otherlibs): Likewise.
9144 * pwd/Makefile (otherlibs): Likewise.
9145 * rt/Makefile (otherlibs): Likewise.
9146 * sunrpc/Makefile (otherlibs): Likewise.
9147 * nss/Makefile (otherlibs): Likewise.
9148 Add libnss_files to routines and static-only-routines.
9149 ($(objpfx)getent): Remove rule.
9150 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9151 static-only-routines.
9152
7c69cd14
JM
91532012-03-22 Joseph Myers <joseph@codesourcery.com>
9154
9155 [BZ #13892]
9156 * math/s_cexp.c: Include <float.h>.
9157 (__cexp): Handle exp result overflowing not necessarily
9158 overflowing both real and imaginary parts of result.
9159 * math/s_cexpf.c: Likewise.
9160 * math/s_cexpl.c: Likewise.
9161 * math/libm-test.inc (cexp_test): Add more tests.
9162 * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9164
81b035fe
L
91652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9166
9167 * include/link.h (ELFW): New macro.
9168 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9169 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9170
1da7940c
L
91712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9172
9173 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9174 with uint64_t.
9175
b749dbb9
L
91762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9179 declaration.
9180 (struct La_x32_retval): Likewise.
9181
2ff87f3f
L
91822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 * sysdeps/x86_64/preconfigure.in: New file.
9185 * sysdeps/x86_64/preconfigure: New generated file.
9186
c0df8e69
JM
91872012-03-22 Joseph Myers <joseph@codesourcery.com>
9188
48e44791
JM
9189 [BZ #13824]
9190 * math/e_exp2l.c: Include <float.h>.
9191 (__ieee754_exp2l): Handle overflow and underflow cases
9192 separately. Only pass fractional part of argument to
9193 __ieee754_expl.
9194 * math/libm-test.inc (exp2_test): Add more tests.
9195
c0df8e69
JM
9196 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9197 negating x to take absolute value.
9198 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9199 Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9202 Likewise.
9203 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9204 computing low part if x was negated.
9205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9206
c8e43ba7
L
92072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9208
9209 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9210 la_x32_gnu_pltexit.
9211 (pltexit): Cast int_retval to ptrdiff_t.
9212 * elf/tst-auditmod3b.c: Likewise.
9213 * elf/tst-auditmod4b.c: Likewise.
9214 * elf/tst-auditmod5b.c: Likewise.
9215 * elf/tst-auditmod6b.c: Likewise.
9216 * elf/tst-auditmod6c.c: Likewise.
9217 * elf/tst-auditmod7b.c: Likewise.
9218
9219 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9220 and x32_gnu_pltexit.
9221
9222 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9223 __ELF_NATIVE_CLASS.
9224 (La_x32_regs): New macro.
9225 (La_x32_retval): Likewise.
9226 (la_x32_gnu_pltenter): New function prototype.
9227 (la_x32_gnu_pltexit): Likewise.
9228
7998fa78
AS
92292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9230
dcb33988
AS
9231 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9232 exponent.
9233
233fc563
AS
9234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9235
7998fa78
AS
9236 * configure.in (libc_cv_cc_nofma): Check for option to disable
9237 generation of FMA instructions.
9238 * configure: Regenerate.
9239 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9240 * sysdeps/ieee754/dbl-64/Makefile: New file.
9241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9242 Remove brandred-fma4.
9243 (CFLAGS-brandred-fma4.c): Remove.
9244 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9245 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9246 define.
9247 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9248 define.
9249
8e95c99a
L
92502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9251
9252 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9253 LLONG_MAX != LONG_MAX.
9254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9255 (_fitoa_word): Likewise.
9256 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9257 LLONG_MAX != LONG_MAX.
9258 * stdio-common/_itowa.h: Include <_itoa.h>.
9259 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9260 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9261 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9262 only if not defined.
9263 (_ITOA_WORD_TYPE): Likewise.
9264 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9265 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9266
6f4db457
DM
92672012-03-21 David S. Miller <davem@davemloft.net>
9268
9269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9270
7785fe5a
L
92712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9272
9273 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9274 of x86_64 when setting libc_cv_slibdir, libdir and
9275 libc_cv_localedir.
9276 * sysdeps/unix/sysv/linux/configure: Regenerated.
9277
4535cd55
JM
92782012-03-21 Joseph Myers <joseph@codesourcery.com>
9279
9280 * manual/lang.texi (Old Varargs): Remove section.
9281 (How Variadic): Update menu.
9282 (va_start): Do not mention varargs.h.
9283
17228132
TS
92842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9285 Joseph Myers <joseph@codesourcery.com>
9286
9287 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9288 link test.
9289 * configure: Regenerated.
9290
8149f976
TS
92912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9292
05f3d1f6
UD
9293 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9294 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9295 conformtest.pl
8149f976 9296
1a4ac776
JM
92972012-03-21 Joseph Myers <joseph@codesourcery.com>
9298
be22ce65
JM
9299 * NOTES: Remove.
9300 * Makefile (files-for-dist): Remove NOTES.
9301 (NOTES): Remove rule.
9302 * README: Don't refer to NOTES.
9303 * manual/creature.texi: Don't include macros.texi.
9304 * manual/intro.texi (creature.texi): Remove comment referring to
9305 NOTES.
9306
40b601fb
JM
9307 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9308 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9309 * configure: Regenerated.
9310 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9311 LIBC_TRY_CC_OPTION.
9312 (libc_cv_as_i686): Likewise.
9313 (libc_cv_cc_avx): Likewise.
9314 (libc_cv_cc_sse2avx): Likewise.
9315 (libc_cv_cc_fma4): Likewise.
9316 (libc_cv_cc_novzeroupper): Likewise.
9317 * sysdeps/i386/configure: Regenerated.
9318
1a4ac776
JM
9319 [BZ #13883]
9320 * sysdeps/i386/fpu/s_cexp.S: Remove.
9321 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9322 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9323 * math/libm-test.inc (cexp_test): Add more tests.
9324 * sysdeps/i386/fpu/libm-test-ulps: Update.
9325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9326
a458e7fe
AM
93272012-03-21 Allan McRae <allan@archlinux.org>
9328
9329 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9330
0cb7efc5
JM
93312012-03-21 Joseph Myers <joseph@codesourcery.com>
9332
9333 [BZ #13871]
9334 * math/w_exp2.c: Do not include <float.h>.
9335 (o_threshold, u_threshold): Remove.
9336 (__exp2): Calculate result before checking finiteness and calling
9337 __kernel_standard.
9338 * math/w_exp2f.c: Likewise.
9339 * math/w_exp2l.c: Likewise.
9340 * math/libm-test.inc (exp2_test): Require overflow exception for
9341 1e6 input.
2460d3aa
JM
9342
9343 [BZ #3866]
9344 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9345 range of signed 64-bit integers before using fistpll. Remove
9346 checks for whether integers fit in mantissa bits.
9347 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9348 the range of signed 32-bit integers before using fistpl. Remove
9349 checks for whether integers fit in mantissa bits.
9350 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9351 (__ieee754_powl): Test for y outside the range of signed 64-bit
9352 integers before using fistpll. Reduce 64-bit values to 63-bit
9353 ones as needed.
9354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9355 divide-by-zero is raised for zero to large negative powers.
9356 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9357 (__ieee754_powl): Test for y outside the range of signed 64-bit
9358 integers before using fistpll. Reduce 64-bit values to 63-bit
9359 ones as needed.
9360 * math/libm-test.inc (pow_test): Add more tests.
9361
eb96ffb0
L
93622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9363
9364 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9365 <stdio-common/_itoa.h>.
9366 * debug/segfault.c: Likewise.
9367 * elf/dl-cache.c: Likewise.
9368 * elf/dl-minimal.c: Likewise.
9369 * elf/dl-misc.c: Likewise.
9370 * elf/dl-sysdep.c: Likewise.
9371 * elf/dl-version.c: Likewise.
9372 * elf/rtld.c: Likewise.
9373 * hurd/hurdsock.c: Likewise.
9374 * hurd/lookup-retry.c: Likewise.
9375 * malloc/malloc.c: Likewise.
9376 * malloc/mtrace.c: Likewise.
9377 * nscd/nscd_getgr_r.c: Likewise.
9378 * nscd/nscd_getpw_r.c: Likewise.
9379 * nscd/nscd_getserv_r.c: Likewise.
9380 * posix/getopt_init.c: Likewise.
9381 * posix/wordexp.c: Likewise.
9382 * stdio-common/_itoa.c: Likewise.
9383 * stdio-common/printf_fphex.c: Likewise.
9384 * stdio-common/vfprintf.c: Likewise.
9385 * string/_strerror.c: Likewise.
9386 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9387 * sysdeps/i386/i686/hp-timing.h: Likewise.
9388 * sysdeps/mach/_strerror.c: Likewise.
9389 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9390 * sysdeps/mach/hurd/sethostid.c: Likewise.
9391 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9392 * sysdeps/mach/xpg-strerror.c: Likewise.
9393 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9394 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9395 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9396 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9397 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9398 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9399 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9400 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9401 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9402 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9403 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9404 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9405 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9406 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9407 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9408 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9409 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9411 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9412 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9414
9415 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9416
9417 * stdio-common/_itoa.h: Moved to ...
9418 * sysdeps/generic/_itoa.h: Here.
9419
9420 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9421
9422 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9423 instead of "_itoa.h" and "_itowa.h".
9424 * stdio-common/vfprintf.: Likewise.
9425
d1af992d
L
94262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9427
9428 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9429 <bits/wordsize.h>.
9430 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9431 (__signbit): Likwise.
9432 (llrintf): Likwise.
9433 (llrint): Likwise.
9434
114883e0
L
94352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9436
9437 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9438 __WORDSIZE != 64.
9439
c135cc1b
JM
94402012-03-20 Joseph Myers <joseph@codesourcery.com>
9441
9442 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9443 OVERFLOW_EXCEPTION_OK.
9444 * math/libm-test.inc ("Philosophy"): Update comment about
9445 exception testing.
9446 (OVERFLOW_EXCEPTION): Define.
9447 (OVERFLOW_EXCEPTION_OK): Likewise.
9448 (INVALID_EXCEPTION_OK): Renumber.
9449 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9450 (IGNORE_ZERO_INF_SIGN): Likewise.
9451 (test_exceptions): Handle FE_OVERFLOW.
9452 (exp10_test): Expect overflow exceptions.
9453 (exp2_test): Likewise.
9454 (expm1_test): Likewise.
9455 (nextafter_test): Likewise.
9456 (pow_test): Likewise.
9457 (scalbn_test): Likewise.
9458 (scalbln_test): Likewise.
9459
95443d88
L
94602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9461
9462 * sysdeps/x86_64/bits/atomic.h
9463 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9464 64bit integer.
9465 (atomic_exchange_acq): Likewise.
9466 (__arch_exchange_and_add_body): Likewise.
9467 (__arch_add_body): Likewise.
9468 (atomic_add_negative): Likewise.
9469 (atomic_add_zero): Likewise.
9470
490df6c4
L
94712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9472
c2722551 9473 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9474 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9475
5e52b189
L
94762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9477
9478 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9479 Check __x86_64__ instead of __WORDSIZE.
9480
a9879d4c
L
94812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9482
9483 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9484
5df98260
DM
94852012-03-19 David S. Miller <davem@davemloft.net>
9486
e1497744
DM
9487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488
5df98260
DM
9489 * sysdeps/sparc/fpu/fenv_private.h: New file.
9490 * sysdeps/sparc/fpu/math_private.h: Use it.
9491 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9492 Remove.
9493 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9494 (libc_feholdexcept_setroundl): Remove.
9495 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9496 Remove.
9497 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9498 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9499
b4c35121
L
95002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9501
9502 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9503 int64_t instead of long int.
9504 (INSERT_WORDS64): Likwise.
9505
56965fd7
L
95062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9509 _Unwind_GetCFA return to _Unwind_Ptr first.
9510
83d1aec8
JM
95112012-03-19 Joseph Myers <joseph@codesourcery.com>
9512
1897ad44
JM
9513 [BZ #13629]
9514 * math/s_clog.c: Include <float.h>.
9515 (__clog): Scale large or subnormal inputs.
9516 * math/s_clogf.c: Likewise.
9517 * math/s_clogl.c: Likewise.
9518 * math/s_clog10.c: Include <float.h>.
9519 (M_LOG10_2): Define.
9520 (__clog10): Scale large or subnormal inputs.
9521 * math/s_clog10f.c: Likewise.
9522 * math/s_clog10l.c: Likewise.
9523 * math/libm-test.inc (clog_test): Add more tests.
9524 (clog10_test): Likewise.
9525 * sysdeps/i386/fpu/libm-test-ulps: Update.
9526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9527
7726d6a9
JM
9528 [BZ #11451]
9529 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9530 x and y.
9531 * math/libm-test.inc (atan2_test): Add another test.
9532
83d1aec8
JM
9533 * Makerules (common-objdir-compile): Remove.
9534 * sysdeps/unix/Makefile (config-generated): Do not add
9535 $(unix-generated) to variable.
9536 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9537 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9538 Remove rule.
9539 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9540 Likewise.
9541 [generic bits/local_lim.h] (before-compile): Do not append to
9542 variable.
9543 [generic bits/local_lim.h] (common-generated): Likewise.
9544 [generic sys/param.h] (before-compile): Do not append to variable.
9545 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9546 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9547 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9548 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9549 include.
9550 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9551 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9552 [generic sys/param.h] ($(addprefix
9553 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9554 [generic sys/param.h] (common-generated): Do not append to
9555 variable.
9556 [generic sys/param.h] (sysdep_headers): Likewise.
9557 [generic bits/errno.h] (before-compile): Do not append to
9558 variable.
9559 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9560 rule.
9561 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9562 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9563 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9564 [generic bits/errno.h] (common-generated): Do not append to
9565 variable.
9566 [generic bits/ioctls.h] (before-compile): Do not append to
9567 variable.
9568 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9569 rule.
9570 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9571 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9572 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9573 rule.
9574 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9575 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9576 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9577 [generic bits/ioctls.h] (common-generated): Do not append to
9578 variable.
9579 [generic sys/syscall.h] (syscall.h): Remove variable.
9580 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9581 rule.
9582 [generic sys/syscall.h] (before-compile): Do not append to
9583 variable.
9584 [generic sys/syscall.h] (common-generated): Likewise.
9585 * sysdeps/unix/errnos-tmpl.c: Remove file.
9586 * sysdeps/unix/errnos.awk: Likewise.
9587 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9588 * sysdeps/unix/ioctls.awk: Likewise.
9589 * sysdeps/unix/mk-local_lim.c: Likewise.
9590 * sysdeps/unix/snarf-ioctls: Likewise.
9591
4851a949
RH
95922012-03-19 Richard Henderson <rth@twiddle.net>
9593
bd37f2ee
RH
9594 * sysdeps/i386/fpu/fenv_private.h: New file.
9595 * sysdeps/i386/fpu/math_private.h: Use it.
9596 (math_opt_barrier, math_force_eval): Remove.
9597 (libc_feholdexcept_setround_53bit): Remove.
9598 (libc_feupdateenv_53bit): Remove.
9599 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9600 (math_opt_barrier, math_force_eval): Remove.
9601 (libc_feholdexcept): Remove.
9602 (libc_feholdexcept_setround): Remove.
9603 (libc_fetestexcept, libc_fesetenv): Remove.
9604 (libc_feupdateenv_test): Remove.
9605 (libc_feupdateenv, libc_feholdsetround): Remove.
9606 (libc_feresetround): Remove.
9607
d0adc922
RH
9608 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9609 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9610
0fe0f1f8
RH
9611 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9612 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9613 (libc_feupdateenv_testl): New.
9614 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9615 (libc_feupdateenv_testf): New.
9616 (libc_feupdateenv): Use libc_feupdateenv_test.
9617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9619
eb92c487
RH
9620 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9621 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9622 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9623 (libc_feresetround_noex): New.
9624 (libc_feresetround_noexf): New.
9625 (libc_feresetround_noexl): New.
9626 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9627 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9628 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9629 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9630 SET_RESTORE_ROUND.
9631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9633 (__cos): Likewise.
9634 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9635 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9636 SET_RESTORE_ROUND_NOEX.
9637 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9638 SET_RESTORE_ROUND_NOEXF.
9639 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9640 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9641 (libc_feholdsetroundf): New.
9642 (libc_feresetround, libc_feresetroundf): New.
9643
7d2e8012
RH
9644 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9645 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9646 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9647
b4dabbb4
RH
9648 * sysdeps/generic/math_private.h: Include <fenv.h>.
9649 (default_libc_feholdexcept): New.
9650 (default_libc_feholdexcept_setround): New.
9651 (default_libc_fesetenv, default_libc_feupdateenv): New.
9652 (libc_feholdexcept): Only define if undefined.
9653 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9654 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9655 (libc_feholdexcept_setroundl): Likewise.
9656 (libc_feholdexcept_setround_53bit): Likewise.
9657 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9658 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9659 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9660 (libc_feupdateenv_53bit): Likewise.
9661 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9662 (libc_feholdexcept): Convert from macro to inline function.
9663 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9664 (libc_fesetenv, libc_feupdateenv): Likewise.
9665
4851a949
RH
9666 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9667 not previously defined.
9668 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9669 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9670 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9671 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9672 * sysdeps/ieee754/flt-32/math_private.h: New file.
9673 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9674 math_private.h below SET_FLOAT_WORD.
9675 (__isnan, __isinf_ns, __finite): Remove.
9676 (__isnanf, __isinf_nsf, __finitef): Remove.
9677
e79d442e
AS
96782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9679
9680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9681
90b80344
DM
96822012-03-17 David S. Miller <davem@davemloft.net>
9683
9684 [BZ #6471]
9685 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9686 for 2.16.
9687
edc21804
DM
96882012-03-16 David S. Miller <davem@davemloft.net>
9689
77e927af
DM
9690 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9691 warnings.
9692
374976dd
DM
9693 [BZ #6471]
9694 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9695 properly.
9696 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9697 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9698 sysdep_routines when subdir is sysvipc.
9699 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9700 __getshmlba helper.
9701
edc21804
DM
9702 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9703
473c3ef3
L
97042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9705
9706 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9707 [__LP64__].
9708
eb0f39b6
L
97092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9710
9711 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9712 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9713 (__lround): Renamed to ...
9714 (__llround): This. Replace long int with long long int.
9715 Define lround functions as aliases of llround functions.
9716 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9717
6b6cd74b
L
97182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9721 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9722 adresses to uintptr_t. Replace "long int" and "unsigned long
9723 int" with "greg_t" on va_arg.
9724
f1a77b01
L
97252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9728 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9729
9730 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9731 Move e_machine check before EI_CLASS check. Handle x32
9732 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9733 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9734 SKIP_EM_IA_64 and include
9735 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9736
9737 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9738 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9739 (add_system_dir): New macro.
9740
9741 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9742 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9743
11b90b9f
JM
97442012-03-16 Joseph Myers <joseph@codesourcery.com>
9745
c36e1d23
JM
9746 [BZ #2551]
9747 [BZ #2552]
9748 [BZ #2553]
9749 [BZ #2554]
9750 [BZ #2562]
9751 [BZ #2563]
9752 [BZ #2565]
9753 [BZ #2566]
9754 [BZ #2576]
9755 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9756 (y0): Likewise.
9757 * math/w_j0f.c (j0f): Likewise.
9758 (y0f): Likewise.
9759 * math/w_j0l.c (__j0l): Likewise.
9760 (__y0l): Likewise.
9761 * math/w_j1.c (j1): Likewise.
9762 (y1): Likewise.
9763 * math/w_j1f.c (j1f): Likewise.
9764 (y1f): Likewise.
9765 * math/w_j1l.c (__j1l): Likewise.
9766 (__y1l): Likewise.
9767 * math/w_jn.c (jn): Likewise.
9768 (yn): Likewise.
9769 * math/w_jnf.c (jnf): Likewise.
9770 (ynf): Likewise.
9771 * math/w_jnl.c (__jnl): Likewise.
9772 (__ynl): Likewise.
9773 * math/libm-test.inc (j0_test): Add more tests.
9774 (j1_test): Likewise.
9775 (jn_test): Likewise. Add trailing semicolon to existing test.
9776 (y0_test): Likewise.
9777 (y1_test): Likewise.
9778 * sysdeps/i386/fpu/libm-test-ulps: Update.
9779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9780
11b90b9f
JM
9781 [BZ #13851]
9782 [BZ #13854]
9783 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9784 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9785 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9786 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9787 (__tanl): Set errno for infinite argument.
9788 * sysdeps/i386/fpu/mptan.c: Remove.
9789 * sysdeps/i386/fpu/s_tan.S: Likewise.
9790 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9791 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9792 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9793 * math/libm-test.inc (tan_test): Add more tests and enable more
9794 tests for double and long double.
9795 * sysdeps/i386/fpu/libm-test-ulps: Update.
9796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9797
6a1bd2a1
JK
97982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9799
9800 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9801 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9802
10a803e0
RM
98032012-03-16 Roland McGrath <roland@hack.frob.com>
9804
9805 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9806 * configure.in: Use it for both main tree and add-ons.
9807 * configure: Regenerated.
9808
f196c7f7
L
98092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9810
9811 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9812
8848d99d
JM
98132012-03-16 Joseph Myers <joseph@codesourcery.com>
9814
96cbe7f4
JM
9815 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9816 in comment.
9817
8848d99d
JM
9818 [BZ #13851]
9819 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9820 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9824 infinite argument.
9825 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9827 != 0 for prec == 2.
9828 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9829 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9830 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9831 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9832 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9833 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9834 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9835 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9836 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9837 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9838 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9839 * math/libm-test.inc (cos_test): Add more tests and enable more
9840 tests for long double.
9841 (sin_test): Likewise.
9842 (sincos_test): Likewise.
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9845
dd7f4703
DM
98462012-03-16 David S. Miller <davem@davemloft.net>
9847
9848 * sysdeps/sparc/fpu/math_private.h: New file.
9849
006f1daa
DM
98502012-03-15 David S. Miller <davem@davemloft.net>
9851
c0c83bc8
DM
9852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9853 file.
e6a62e18 9854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9856 file.
e6a62e18
DM
9857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9862 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9863 sysdep routines.
9864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9865
88cb87d9
DM
9866 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9867 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9868
006f1daa 9869 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9871 sparc-ifunc.h
006f1daa 9872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9874 Likewise.
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9876 Likewise.
006f1daa
DM
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9881 Likewise.
006f1daa
DM
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9887 Likewise.
9888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9889 Likewise.
006f1daa
DM
9890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9908 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9911 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9914
11e0098e
AS
99152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9916
9917 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9918 scaling.
9919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9920
e85b09d0
AJ
99212012-03-15 Andreas Jaeger <aj@suse.de>
9922
9923 [BZ #13852]
9924 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9925 ieee754/flt-32 implementation for sin, cos and sincos.
9926 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9927 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9928 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9929 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9930 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9931 ieee754/flt-32 implementation for tan.
9932
9933 * math/libm-test.inc (cos_test): Enable some large input tests for
9934 float as well
9935 (sin_test): Likewise.
9936 (sincos_test): Likewise.
9937 (tan_test): Add tests for large input.
9938
9939 * sysdeps/i386/fpu/libm-test-ulps: Update.
9940
81c64153
AJ
99412012-03-15 Andreas Jaeger <aj@suse.de>
9942
9943 [BZ #13658]
9944 * math/libm-test.inc (cos_test): Add more test cases.
9945 (sin_test): Likewise.
9946 (sincos_test): Likewise.
9947
7bbfa5c6
AJ
99482012-03-15 Andreas Jaeger <aj@suse.de>
9949
9950 [BZ #13837]
9951 * math/libm-test.inc (cos_test): Add a test case for large input
9952 value.
9953 (sin_test): Likewise.
9954 (sincos_test): Likewise.
9955
99562012-03-15 Andreas Jaeger <aj@suse.de>,
9957 Joseph Myers <joseph@codesourcery.com>
9958
9959 [BZ #13658]
0671f479 9960 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9961 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9962 * sysdeps/i386/fpu/branred.c: Likewise.
9963 * sysdeps/i386/fpu/dosincos.c: Likewise.
9964 * sysdeps/i386/fpu/mpa.c: Likewise.
9965 * sysdeps/i386/fpu/s_cos.S: Likewise.
9966 * sysdeps/i386/fpu/s_sin.S: Likewise.
9967 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9968 * sysdeps/i386/fpu/sincos32.c: Likewise.
9969
9970 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9971 Define.
9972 (libc_feupdateenv_53bit): Define.
9973 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9974 Define.
9975 (libc_feupdateenv_53bit): Define.
9976
9977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9978 53 bit (without extend i386 double precision).
9979
9980 * math/libm-test.inc (sincos_test): Add tests for large input.
9981 (sin): Likewise.
9982 (cos): Likewise.
9983
9984 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9985
9cad04ea
AS
99862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9987
9988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9989
f7062b9a
DM
99902012-03-15 David S. Miller <davem@davemloft.net>
9991
9992 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9993 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9994 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9995 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10008 file.
f7062b9a 10009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10011 file.
f7062b9a 10012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10014 file.
f7062b9a 10015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10017 file.
f7062b9a
DM
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10020 fmin/fmax sysdep routines.
10021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10022
7bd951ff
DM
100232012-03-14 David S. Miller <davem@davemloft.net>
10024
559398ab
DM
10025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10030 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10045 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10051 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10052 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10053 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10054 routines.
10055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10056 file.
559398ab 10057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10059 file.
559398ab 10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10062 file.
559398ab 10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10065 file.
559398ab 10066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10068 file.
559398ab 10069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10071 file.
10072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10073 file.
10074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10075 file.
10076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10077 file.
10078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10079 New file.
10080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10081 file.
10082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10083 file.
559398ab 10084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10086 file.
559398ab 10087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10089 file.
559398ab 10090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10092 file.
559398ab 10093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10095 VIS3 routines.
559398ab
DM
10096
10097 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10098 New file.
10099
5a1c1e32
DM
10100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10101
eae47a36
DM
10102 * sysdeps/sparc/configure.in: New file.
10103 * sysdeps/sparc/configure: Generate.
10104 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10105 * configure: Regenerate.
10106 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10107 * config.make.in (have-as-vis3): New.
10108 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10109 available use -Av9d instead of -Av9a.
10110 * sysdeps/sparc/sparc64/Makefile: Likewise.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10113 New file.
10114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10115 file.
10116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10117 New file.
10118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10119 file.
eae47a36
DM
10120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10125
c0c83bc8
DM
10126 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10127 fzeros/fnegs to load 0x80000000 into a float register instead of
10128 using the stack.
7bd951ff
DM
10129 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10130
bd951ccb
JM
101312012-03-14 Joseph Myers <joseph@codesourcery.com>
10132
10133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10134 bits/syscall.h.
10135 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10136 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10137 ($(inst_includedir)/bits/syscall.h): Remove rule.
10138 ($(objpfx)bits/syscall.d): Include instead of
10139 $(objpfx)syscall-list.d.
10140 (generated): Change syscall-list.h and syscall-list.d to
10141 bits/syscall.h and bits/syscall.d.
10142
bb4e6db2
RM
101432012-03-14 Roland McGrath <roland@hack.frob.com>
10144
10145 [BZ #13846]
10146 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10147
aa4a2ae1
JM
101482012-03-14 Joseph Myers <joseph@codesourcery.com>
10149
e456826d
JM
10150 [BZ #13841]
10151 * math/s_csqrt.c: Include <float.h>.
10152 (__csqrt): Scale large or subnormal inputs.
10153 * math/s_csqrtf.c: Likewise.
10154 * math/s_csqrtl.c: Likewise.
10155 * math/libm-test.inc (csqrt_test): Add more tests.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158
aa4a2ae1
JM
10159 [BZ #13840]
10160 * math/libm-test.inc (hypot_test): Add more tests.
10161
7c10fd35
DM
101622012-03-13 David S. Miller <davem@davemloft.net>
10163
10164 [BZ #13840]
10165 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10166 double-precision for the calculation instead of scaling.
10167
f453b98b
JM
101682012-03-13 Joseph Myers <joseph@codesourcery.com>
10169
10170 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10171 manipulate bits before adding and subtracting TWO52[sx].
10172 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10174 Likewise.
10175 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10176
09a3453f
DM
101772012-03-13 David S. Miller <davem@davemloft.net>
10178
8e59da90
DM
10179 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10180 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10182 rtld-global-offsets.h
10183 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10184
2a8ab7f2
DM
10185 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10186 large parameters.
10187
10f62770
DM
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10189
5f0bdb18
DM
10190 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10191 'err' in the ifdef scope in which it is actually used.
10192
09a3453f
DM
10193 * nss/nss_db/db-init.c: Include string.h
10194
b4b2eb5e
DM
101952012-03-12 David S. Miller <davem@davemloft.net>
10196
98bb2f1c
DM
10197 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10198 masking out of the most significant byte of random value used.
10199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10200 Fix coding style in previous change.
10201
b4b2eb5e
DM
10202 * sysdeps/unix/sysv/linux/kernel-features.h
10203 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10204 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10205 expression.
10206 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10207 later.
10208
6e226b09
DM
102092012-03-11 David S. Miller <davem@davemloft.net>
10210
a1bcbd40
DM
10211 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10212 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10214 for 'resultvar' otherwise things get truncated on 64-bit.
10215
cb9d6174
DM
10216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10217 Fix masking out of the most significant byte of random value used.
10218
6e226b09
DM
10219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10220
058c132d
AS
102212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10222
10223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10224
2d2cd515
DM
102252012-03-09 David S. Miller <davem@davemloft.net>
10226
10227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10228 variables with appropriate CPP guards.
10229 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10230 frame pointer, not the stack pointer. Correct layout comments. Fix test
10231 on resulting framesize and the management of the outregs buffer for pltexit.
10232 Preserve floating point return values across _dl_call_pltexit call.
10233 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10234 framesize and the management of the outregs buffer for pltexit.
10235 Preserve floating point return values across _dl_call_pltexit
10236 call.
10237 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10238 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10239 (print_exit): Fix format string for return register value.
10240
9a07f9d0
JM
102412012-03-10 Joseph Myers <joseph@codesourcery.com>
10242
10243 * sunrpc/Makefile (others): Add rpcgen.
10244 ($(objpfx)rpcgen): Remove special build rule and dependency on
10245 libc.
10246 * sunrpc/rpcgen.c: New file.
10247
547b5e30
PE
102482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10249
c524201a
PE
10250 [BZ #13673]
10251 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10252 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10253 * sysdeps/i386/crti.S: Likewise.
10254 * sysdeps/i386/crtn.S: Likewise.
10255 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10256 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10257 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10258 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10259 * sysdeps/sh/crti.S: Likewise.
10260 * sysdeps/sh/crtn.S: Likewise.
10261 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10262
7b6235f2
PE
10263 [BZ #13673]
10264 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10265 with URL.
10266 * locale/programs/locfile-kw.gperf: Likewise.
10267 * locale/programs/charmap-kw.h: Regenerated.
10268 * locale/programs/locfile-kw.h: Likewise.
10269
547b5e30
PE
10270 [BZ #13673]
10271 * intl/plural.y: Replace FSF snail mail address with URL.
10272 * intl/plural.c: Regenerated.
10273
5f0a5dae
RH
102742012-03-09 Richard Henderson <rth@twiddle.net>
10275
10276 * include/math_private.h: Remove file.
10277 * math/math_private.h: Move file ...
10278 * sysdeps/generic/math_private.h: ... here.
10279
b8c03620
RH
10280 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10281 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10282 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10283
4e234f5d 10284 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10285 and <math_private.h>.
10286 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10287 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10288 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10289 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10290 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10316 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10326 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10327 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10328 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10374 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10375 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10376 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10377 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10379 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10380 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10381 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10382 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10383 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10384 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10385 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10386 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10387 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10388 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10389 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10390 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10391 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10392 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10393 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10394 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10395 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10396 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10397 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10398 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10399 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10400 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10401 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10402 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10403 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10404 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10405 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10406 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10407 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10409 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10410 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10411 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10412 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10413 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10414 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10415 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10416 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10417 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10418 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10419 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10421 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10422 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10423 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10424 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10425 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10426 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10427 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10428 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10430 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10432 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10433 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10435 * sysdeps/ieee754/k_standard.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10551 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10555 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10556 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10558 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10563 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10575 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10581 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10584 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10585 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10586 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10589 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10596 * sysdeps/ieee754/s_lib_version.c: Likewise.
10597 * sysdeps/ieee754/s_matherr.c: Likewise.
10598 * sysdeps/ieee754/s_signgam.c: Likewise.
10599 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10601 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10602 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10603 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10604 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10605 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10606 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10607 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10608 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10609 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10610 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10611 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10612 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10613 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10614 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10615 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10616 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10617 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10618 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10619 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10620
1991fa03
JM
106212012-03-09 Joseph Myers <joseph@codesourcery.com>
10622
10623 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10624 * sunrpc/rpc_main.c: Likewise.
10625 * sunrpc/rpc_svcout.c: Likewise.
10626
60d6f5a6
DM
106272012-03-09 David S. Miller <davem@davemloft.net>
10628
10629 * include/math_private.h: New file.
10630
4962050e
JM
106312012-03-09 Joseph Myers <joseph@codesourcery.com>
10632
02a6f887
JM
10633 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10634 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10635 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10636 from <bits/socket_type.h>.
10637 (enum __socket_type): Don't define here.
10638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10640 bits/socket_type.h.
10641
c6e013c1
JM
10642 [BZ #13566]
10643 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10644 checking __USE_GNU.
10645
4962050e
JM
10646 * Makerules ($(inst_includedir)/%.h): New rule.
10647 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10648 (install-others): Remove variable setting.
10649 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10650
38842f45
RH
106512012-03-08 Richard Henderson <rth@twiddle.net>
10652
67bb6da6
RH
10653 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10654 from macro to inline function; merge with the
10655 !__LIBC_INTERNAL_MATH_INLINES version.
10656 (__ieee754_sqrtf): Likewise.
10657
15194b4b
RH
10658 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10659 to inline function.
10660 (__rintf, __floor, __floorf): Likewise.
10661
64e21ede
RH
10662 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10663 macro to inline function.
10664 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10665
38842f45
RH
10666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10667 not <math/math_private.h>.
10668
c64bf5fe
DM
106692012-03-08 David S. Miller <davem@davemloft.net>
10670
10671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10672 copyright year.
10673 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10674
82d86f28
TS
106752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10676
10677 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10678 normalization.
10679 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10680 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10681
aea5d727
UD
106822012-03-08 Ulrich Drepper <drepper@gmail.com>
10683
10684 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10685 be defined individually, they must be defined as a block. Define
10686 S for printing a string instead of hidint the different by using a
10687 macro for adding the 'l'.
10688 * stdio-common/tst-fphex-wide.c: Adjust.
10689
70bca0a3
MP
106902012-03-07 Marek Polacek <polacek@redhat.com>
10691
10692 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10693
65b81130
MP
106942012-03-08 Marek Polacek <polacek@redhat.com>
10695
10696 [BZ #13806]
10697 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10698 * stdio-common/tst-fphex.c: Define a few macros to make the
10699 test reusable. Use them.
10700 * stdio-common/tst-fphex-wide.c: New file.
10701
07037eeb
JM
107022012-03-08 Joseph Myers <joseph@codesourcery.com>
10703
a7a93d50
JM
10704 [BZ #6911]
10705 * manual/macros.texi (gnusystems): New macro.
10706 (nongnusystems): Likewise.
10707 (gnulinuxhurdsystems): Likewise.
10708 (gnuhurdsystems): Likewise..
10709 (gnulinuxsystems): Likewise.
10710 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10711 variants of the GNU system, not "GNU system".
10712 * manual/conf.texi: Likewise.
10713 * manual/errno.texi: Likewise. Update example of errno macro
10714 expansion.
10715 * manual/filesys.texi: Likewise.
10716 (getumask): Document as specific to GNU/Hurd.
10717 * manual/install.texi: Likewise. Reword some references to
10718 GNU/Linux.
10719 * manual/intro.texi: Likewise.
10720 * manual/io.texi: Likewise.
10721 (File Name Portability): Detail which constraints are inapplicable
10722 to all GNU systems and which are only inapplicable to GNU/Hurd.
10723 * manual/job.texi: Likewise.
10724 * manual/llio.texi: Likewise.
10725 (O_NOCTTY): Document as present on GNU/Linux.
10726 * manual/maint.texi: Likewise.
10727 * manual/memory.texi: Likewise.
10728 * manual/pattern.texi: Likewise.
10729 * manual/pipe.texi: Likewise.
10730 * manual/process.texi: Likewise.
10731 * manual/resource.texi: Likewise.
10732 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10733 child on GNU/Hurd.
10734 * manual/setjmp.texi: Likewise.
10735 * manual/signal.texi: Likewise.
10736 * manual/startup.texi: Likewise.
10737 * manual/stdio.texi: Likewise.
10738 * manual/terminal.texi: Likewise.
10739 (ONLCR): Document as POSIX.
10740 (OXTABS): Document availability on GNU/Linux as XTABS.
10741 (ONOEOT): Document availability separately from other bits.
10742 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10743 * manual/time.texi: Likewise.
10744 * manual/users.texi: Likewise.
10745 * INSTALL: Regenerated.
10746 * sysdeps/gnu/errlist.c: Regenerated.
10747
07037eeb
JM
10748 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10749 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10750 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10751 puts.
10752 * configure: Regenerated.
10753
d1d3431a
JM
107542012-03-07 Joseph Myers <joseph@codesourcery.com>
10755
af6a1e37
JM
10756 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10757 default includes instead of AC_HEADER_CHECK.
10758 * sysdeps/i386/configure: Regenerated.
10759
d1d3431a
JM
10760 [BZ #10716]
10761 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10762 * math/s_cacoshf.c (__cacoshf): Likewise.
10763 * math/s_cacoshl.c (__cacoshl): Likewise.
10764 * math/s_casinh.c (__casinh): Set signs of result from argument.
10765 * math/s_casinhf.c (__casinhf): Likewise.
10766 * math/s_casinhl.c (__casinhl): Likewise.
10767 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10768 (casinh_test): Add more tests.
10769 * sysdeps/i386/fpu/libm-test-ulps: Update.
10770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10771
482ff4da
UD
107722012-03-07 Ulrich Drepper <drepper@gmail.com>
10773
872fda05
UD
10774 * po/zh_TW.po: Update from translation team.
10775
a4300c7a
UD
10776 * login/Makefile (distribute): Remove variable.
10777 * catgets/Makefile: Likewise.
10778 * mach/Makefile: Likewise.
10779 * malloc/Makefile: Likewise.
10780 * misc/Makefile: Likewise.
10781 * iconv/Makefile: Likewise.
10782 * nscd/Makefile: Likewise.
10783 * hurd/Makefile: Likewise.
10784 * manual/Makefile: Likewise.
10785 * locale/Makefile: Likewise.
10786 * intl/Makefile: Likewise.
10787 * conform/Makefile: Likewise.
10788 * nss/Makefile: Likewise.
10789 * time/Makefile: Likewise.
10790 * soft-fp/Makefile: Likewise.
10791 * dirent/Makefile: Likewise.
10792 * gmon/Makefile: Likewise.
10793 * po/Makefile: Likewise.
10794 * rt/Makefile: Likewise.
10795 * socket/Makefile: Likewise.
10796 * math/Makefile: Likewise.
10797 * signal/Makefile: Likewise.
10798 * debug/Makefile: Likewise.
10799 * elf/Makefile: Likewise.
10800 * timezone/Makefile: Likewise.
10801 * stdlib/Makefile: Likewise.
10802 * iconvdata/Makefile: Likewise.
10803 * sunrpc/Makefile: Likewise.
10804 * io/Makefile: Likewise.
10805 * argp/Makefile: Likewise.
10806 * inet/Makefile: Likewise.
10807 * hesiod/Makefile: Likewise.
10808 * grp/Makefile: Likewise.
10809 * csu/Makefile: Likewise.
10810 * wctype/Makefile: Likewise.
10811 * crypt/Makefile: Likewise.
10812 * libio/Makefile: Likewise.
10813 * string/Makefile: Likewise.
10814 * nis/Makefile: Likewise.
10815 * resolv/Makefile: Likewise.
10816 * stdio-common/Makefile: Likewise.
10817 * wcsmbs/Makefile: Likewise.
10818 * dlfcn/Makefile: Likewise.
10819 * posix/Makefile: Likewise.
10820
3b7c4e74 10821 [BZ #6959]
482ff4da
UD
10822 * timezone/Makefile: Don't install timezone files, just the programs
10823 and scripts.
10824
f72ed77d
UD
108252012-03-06 Ulrich Drepper <drepper@gmail.com>
10826
a000466f
UD
10827 * nss/databases.def: Add missing gshadow entry.
10828
f72ed77d
UD
10829 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10830
a53b7a4e
MP
108312012-03-06 Marek Polacek <polacek@redhat.com>
10832
10833 [BZ #13726]
10834 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10835 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10836 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10837 * stdio-common/tst-long-dbl-fphex.c: New file.
10838
e9258400
DM
108392012-03-06 David S. Miller <davem@davemloft.net>
10840
10841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10842 (set_obp_int): New function.
10843 (get_obp_int): New function.
10844 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10845 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10846 Avoid unused variable warnings on 'val' and use builtin_expect.
10847 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10848 __builtin_expect.
e9258400
DM
10849 (INLINE_CLONE_SYSCALL): Likewise.
10850
3bd2c723
DM
108512012-03-05 David S. Miller <davem@davemloft.net>
10852
10853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10854
bbb78d03
AS
108552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10856
884c5db4
AS
10857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10858
bbb78d03
AS
10859 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10860 only for |x| >= 40.
10861 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10862
1c9f702a 108632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10864
10865 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10866 Replace gettimeofday with __vdso_gettimeofday.
10867
7be16f82
RM
10868 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10869 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10870 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10871
10872 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10873 time with __vdso_time.
10874
ed58a00f
JM
108752012-03-05 Joseph Myers <joseph@codesourcery.com>
10876
10877 * manual/lang.texi (size_t): Note types to which size_t may be
10878 equivalent with the GNU C Library, but do not describe when
10879 differences between them are significant.
10880
30ee4ced
AJ
108812012-03-05 Andreas Jaeger <aj@suse.de>
10882
10883 * sysdeps/i386/fpu/libm-test-ulps: Update.
10884
b7cd39e8
JM
108852012-03-05 Joseph Myers <joseph@codesourcery.com>
10886
10887 [BZ #3976]
10888 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10889 (__ieee754_pow): Save and restore rounding mode and use
10890 round-to-nearest for main computations.
10891 * math/libm-test.inc (pow_test_tonearest): New function.
10892 (pow_test_towardzero): Likewise.
10893 (pow_test_downward): Likewise.
10894 (pow_test_upward): Likewise.
10895 (main): Call the new functions.
10896 * sysdeps/i386/fpu/libm-test-ulps: Update.
10897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10898
10899 [BZ #3976]
10900 * math/libm-test.inc (cosh_test_tonearest): New function.
10901 (cosh_test_towardzero): Likewise.
10902 (cosh_test_downward): Likewise.
10903 (cosh_test_upward): Likewise.
10904 (sinh_test_tonearest): Likewise.
10905 (sinh_test_towardzero): Likewise.
10906 (sinh_test_downward): Likewise.
10907 (sinh_test_upward): Likewise.
10908 (main): Call the new functions.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
6c6a98c9
TV
109122012-03-05 Tom de Vries <tom@codesourcery.com>
10913
10914 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10915 default stack guard is set in last bytes.
10916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10917
21bb2d2e 109182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10919
21bb2d2e 10920 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10921
21bb2d2e
AJ
10922 [BZ #13656]
10923 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10924 possibly allocate from heap instead of stack.
10925 * stdio-common/bug-vfprintf-nargs.c: New file.
10926 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10927
c6922934
AS
109282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10929
10930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10931
bc957d53
MP
109322012-03-03 Marek Polacek <polacek@redhat.com>
10933
10934 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10935 * math/math_private.h: Likewise.
10936 * stdlib/tst-strtod.c: Likewise.
10937 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10938 * sysdeps/x86_64/bits/atomic.h: Likewise.
10939
6358490d
DM
109402012-03-02 David S. Miller <davem@davemloft.net>
10941
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10946 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10947 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10948 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10949 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10950
01ae168d
RM
109512012-03-02 Roland McGrath <roland@hack.frob.com>
10952
d9a17c07
RM
10953 [BZ #13792]
10954 * manual/examples/README: New file, says the example source files
10955 can be used under GPL>=2.
10956 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10957 line containing just "*/".
10958 * manual/examples/add.c: Add copyright header (GPL>=2).
10959 * manual/examples/argp-ex1.c: Likewise.
10960 * manual/examples/argp-ex2.c: Likewise.
10961 * manual/examples/argp-ex3.c: Likewise.
10962 * manual/examples/argp-ex4.c: Likewise.
10963 * manual/examples/atexit.c: Likewise.
10964 * manual/examples/db.c: Likewise.
10965 * manual/examples/dir.c: Likewise.
10966 * manual/examples/dir2.c: Likewise.
10967 * manual/examples/execinfo.c: Likewise.
10968 * manual/examples/filecli.c: Likewise.
10969 * manual/examples/filesrv.c: Likewise.
10970 * manual/examples/fmtmsgexpl.c: Likewise.
10971 * manual/examples/genpass.c: Likewise.
10972 * manual/examples/inetcli.c: Likewise.
10973 * manual/examples/inetsrv.c: Likewise.
10974 * manual/examples/isockad.c: Likewise.
10975 * manual/examples/longopt.c: Likewise.
10976 * manual/examples/memopen.c: Likewise.
10977 * manual/examples/memstrm.c: Likewise.
10978 * manual/examples/mkfsock.c: Likewise.
10979 * manual/examples/mkisock.c: Likewise.
10980 * manual/examples/mygetpass.c: Likewise.
10981 * manual/examples/pipe.c: Likewise.
10982 * manual/examples/popen.c: Likewise.
10983 * manual/examples/rprintf.c: Likewise.
10984 * manual/examples/search.c: Likewise.
10985 * manual/examples/select.c: Likewise.
10986 * manual/examples/setjmp.c: Likewise.
10987 * manual/examples/sigh1.c: Likewise.
10988 * manual/examples/sigusr.c: Likewise.
10989 * manual/examples/stpcpy.c: Likewise.
10990 * manual/examples/strdupa.c: Likewise.
10991 * manual/examples/strftim.c: Likewise.
10992 * manual/examples/strncat.c: Likewise.
10993 * manual/examples/subopt.c: Likewise.
10994 * manual/examples/swapcontext.c: Likewise.
10995 * manual/examples/termios.c: Likewise.
10996 * manual/examples/testopt.c: Likewise.
10997 * manual/examples/testpass.c: Likewise.
10998 * manual/examples/timeval_subtract.c: Likewise.
10999
01ae168d
RM
11000 [BZ #13792]
11001 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11002 function to ...
11003 * manual/timeval_subtract.c.texi: ... here, new file.
11004
49efa33d
DM
110052012-03-02 David S. Miller <davem@davemloft.net>
11006
11007 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11008
28afd92d
JM
110092012-03-02 Joseph Myers <joseph@codesourcery.com>
11010
804360ed
JM
11011 [BZ #3976]
11012 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11013 (__sin): Save and restore rounding mode and use round-to-nearest
11014 for all computations.
11015 (__cos): Save and restore rounding mode and use round-to-nearest
11016 for all computations.
11017 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11018 <fenv.h>.
11019 (tan): Save and restore rounding mode and use round-to-nearest for
11020 all computations.
11021 * math/libm-test.inc (cos_test_tonearest): New function.
11022 (cos_test_towardzero): Likewise.
11023 (cos_test_downward): Likewise.
11024 (cos_test_upward): Likewise.
11025 (sin_test_tonearest): Likewise.
11026 (sin_test_towardzero): Likewise.
11027 (sin_test_downward): Likewise.
11028 (sin_test_upward): Likewise.
11029 (tan_test_tonearest): Likewise.
11030 (tan_test_towardzero): Likewise.
11031 (tan_test_downward): Likewise.
11032 (tan_test_upward): Likewise.
11033 (main): Call the new functions.
11034 * sysdeps/i386/fpu/libm-test-ulps: Update.
11035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11036
a6d06d7b
JM
11037 [BZ #10135]
11038 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11039 small n, then large n, before computing and testing k+n.
11040 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11042 Likewise.
11043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11044 Likewise.
11045 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11046 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11052 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11053 * math/libm-test.inc (scalbn_test): Add more tests.
11054 (scalbln_test): Likewise.
11055
07e12bb3
JM
11056 * manual/filesys.texi (mode_t): Describe constraints on size and
11057 signedness, not exact equivalence to a particular type.
11058 (ino_t): Likewise.
11059 (ino64_t): Likewise.
11060 (dev_t): Likewise.
11061 (nlink_t): Likewise.
11062 (blkcnt_t): Likewise.
11063 (blkcnt64_t): Likewise.
11064 * manual/llio.texi (off_t): Likewise.
11065
28afd92d
JM
11066 [BZ #3976]
11067 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11068 (__ieee754_exp): Save and restore rounding mode and use
11069 round-to-nearest for all computations.
11070 * math/libm-test.inc (exp_test_tonearest): New function.
11071 (exp_test_towardzero): Likewise.
11072 (exp_test_downward): Likewise.
11073 (exp_test_upward): Likewise.
11074 (main): Call the new functions.
11075 * sysdeps/i386/fpu/libm-test-ulps: Update.
11076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11077
b1eeb65d
CD
110782012-03-01 Chris Demetriou <cgd@google.com>
11079
11080 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11081 have predictable order.
11082
53362a4b
DM
110832012-03-01 David S. Miller <davem@davemloft.net>
11084
3c969083
DM
11085 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11086
759707de
DM
11087 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11091
dfdb8ff2
DM
11092 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11093 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11094 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11101
ead89f96
DM
11102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11103
7f66bd07
DM
11104 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11105 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11106 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11107
53362a4b
DM
11108 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11109 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11110 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11111 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11112 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11113 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11114 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11115 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11116 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11117 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11118 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11119 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11121 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11124 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11125 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11126 * sysdeps/sparc/elf/configure: Regenerated.
11127
7b1902cb
JM
111282012-03-01 Joseph Myers <joseph@codesourcery.com>
11129
bec039bc
JM
11130 * configure.in (AS, LD): Require binutils 2.20 or later.
11131 * configure: Regenerated.
11132 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11133 as required minimum version.
11134 * INSTALL: Regenerated.
11135
7b1902cb
JM
11136 [BZ #2541]
11137 [BZ #4108]
11138 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11139 before squaring exponent.
11140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11141 bottom long double and 27 bits of top long double before squaring
11142 exponent.
11143 * math/libm-test.inc (erfc_test): Add more tests.
11144 * sysdeps/i386/fpu/libm-test-ulps: Update.
11145 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147
f775c276
KT
111482012-03-01 Kai Tietz <ktietz@redhat.com>
11149
11150 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11151 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11152 containing bit-fields.
11153 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11154 * soft-fp/single.h (_FP_UNION_S): Likewise.
11155 * soft-fp/double.h (_FP_UNION_D): Likewise.
11156
5b8a4d4a
JM
111572012-02-29 Joseph Myers <joseph@codesourcery.com>
11158
0bab47b6
JM
11159 [BZ #13786]
11160 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11161 not include ../strcmp.S.
11162 [USE_AS_STRNCASECMP_L]: Likewise.
11163 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11164 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11165 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11166 (__strncasecmp_l_ia32): Define as alias to
11167 __strncasecmp_l_nonascii.
11168
0fcad3e2
JM
11169 [BZ #5794]
11170 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11171 * sysdeps/i386/fpu/libm-test-ulps: Update.
11172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11173
5b8a4d4a
JM
11174 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11176
8fdceb2e
JL
111772012-02-29 Jeff Law <law@redhat.com>
11178
11179 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11180 out of bounds read.
11181
1f393a11
MP
111822012-02-29 Marek Polacek <polacek@redhat.com>
11183
11184 [BZ #13706]
11185 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11186 * elf/Makefile: Add rules to run tst-unused-dep.out.
11187
8847f037
DM
111882012-02-28 David S. Miller <davem@davemloft.net>
11189
11190 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11191 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11192 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11193 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11194 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11195 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11196
169d7f11
JM
111972012-02-29 Joseph Myers <joseph@codesourcery.com>
11198
11199 * math/libm-test.inc (llround_test): Move one test from
11200 lround_test. Use TEST_f_L in moved test.
11201 (lround_test): Move misplaced test to llround_test. Add testcase
11202 from bug 2561.
11203
39adf059
UD
112042012-02-28 Ulrich Drepper <drepper@gmail.com>
11205
11206 * sysdeps/x86_64/fpu/e_expf.S: New file.
11207 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11208
71b5d1c5
SB
112092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11210
11211 [BZ #13637]
11212 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11213 of remain_len that may cause incomplete multi-byte character and
11214 false match.
11215 * posix/bug-regex33.c: New file.
11216 * posix/Makefile (tests): Add bug-regex33.
11217
1f77f049
JM
112182012-02-28 Joseph Myers <joseph@codesourcery.com>
11219
11220 * manual/macros.texi: New file.
11221 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11222 * manual/libc.texinfo: Include macros.texi.
11223 * manual/creatute.texi: Likewise.
11224 * manual/install.texi: Likewise.
11225 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11226 @glibcadj{} in references to the GNU C Library.
11227 * manual/charset.texi: Likewise.
11228 * manual/conf.texi: Likewise.
11229 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11230 when not using those macros.
11231 * manual/creature.texi: Likewise.
11232 * manual/crypt.texi: Likewise.
11233 * manual/errno.texi: Likewise.
11234 * manual/filesys.texi: Likewise.
11235 * manual/header.texi: Likewise.
11236 * manual/install.texi: Likewise.
11237 * manual/intro.texi: Likewise.
11238 * manual/io.texi: Likewise.
11239 * manual/job.texi: Likewise.
11240 * manual/lang.texi: Likewise.
11241 * manual/libc.texiinfo: Likewise.
11242 * manual/llio.texi: Likewise.
11243 * manual/locale.texi: Likewise.
11244 * manual/maint.texi: Likewise.
11245 * manual/math.texi: Likewise.
11246 * manual/memory.texi: Likewise.
11247 * manual/message.texi: Likewise.
11248 * manual/nss.texi: Likewise.
11249 * manual/pattern.texi: Likewise.
11250 * manual/process.texi: Likewise.
11251 * manual/resource.texi: Likewise.
11252 * manual/search.texi: Likewise.
11253 * manual/setjmp.texi: Likewise.
11254 * manual/signal.texi: Likewise.
11255 * manual/socket.texi: Likewise.
11256 * manual/startup.texi: Likewise.
11257 * manual/stdio.texi: Likewise.
11258 * manual/string.texi: Likewise.
11259 * manual/sysinfo.texi: Likewise.
11260 * manual/syslog.texi: Likewise.
11261 * manual/terminal.texi: Likewise.
11262 * manual/time.texi: Likewise.
11263 * manual/users.texi: Likewise.
11264 * INSTALL: Regenerated.
11265 * NOTES: Regenerated.
d40c5d54 11266 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11267
450bf206
AS
112682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11269
11270 * include/dirent.h: Include <dirstream.h> before
11271 <dirent/dirent.h>.
11272
741a235b
DM
112732012-02-28 David S. Miller <davem@davemloft.net>
11274
11275 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11276 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11277 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11278 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11279
d6b5aa58
DM
112802012-02-27 David S. Miller <davem@davemloft.net>
11281
1aff59a3
DM
11282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11284 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11285 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11286
d6b5aa58
DM
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11288 frame pointer instead of stack pointer relative arg slot.
11289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11290 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11291 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11292
433f48bf
CD
112932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11294
11295 [BZ #3992]
11296 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11297
d674b76d
DM
112982012-02-27 David S. Miller <davem@davemloft.net>
11299
11300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11304 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11305 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11306 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11307 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11308
0e7727f7
JM
113092012-02-27 Joseph Myers <joseph@codesourcery.com>
11310
11311 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11312 later. Allow versions 5-9.
43be4ca2 11313 * configure: Regenerated.
0e7727f7
JM
11314 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11315 required minimum version and 4.6 as recommended version. Do not
11316 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11317 * INSTALL: Regenerated.
0e7727f7 11318
a78bc654
DM
113192012-02-27 David S. Miller <davem@davemloft.net>
11320
428d5830
DM
11321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11325 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11326 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11327 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11328 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11329
a78bc654
DM
11330 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11331 manipulate bits before adding and subtracting TWO112[sx].
11332 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11333
4579f81c
RM
113342012-02-27 Roland McGrath <roland@hack.frob.com>
11335
36c8acb4
RM
11336 [BZ #13775]
11337 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11338 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11339 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11340 being in POSIX, because they are in 1003.1-2008.
11341
84ad622b
RM
11342 * rt/tst-aio.c: Include <fcntl.h>.
11343 * rt/tst-aio7.c: Likewise.
11344 * rt/tst-aio64.c: Likewise.
11345
4579f81c
RM
11346 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11347
abd923db
JM
113482012-02-27 Joseph Myers <joseph@codesourcery.com>
11349
11350 * manual/install.texi (--with-headers): Describe headers as
11351 interface headers, not private headers.
11352 (Specific advice for GNU/Linux systems): Describe use of headers
11353 from "make headers_install", not private headers from older
11354 kernels.
43be4ca2 11355 * INSTALL: Regenerated.
abd923db
JM
11356 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11357 Change to 2.6.19.
11358 * sysdeps/unix/sysv/linux/configure: Regenerated.
11359
6664049b
JM
11360 * manual/llio.texi (fclean): Remove documentation.
11361
bb8b6697
JM
11362 * manual/Makefile (libc-texi-generated): New variable. Include
11363 version.texi.
11364 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11365 $(libc-texi-generated), not duplicated list of files.
11366 (version.texi, stamp-version): New rules.
11367 (realclean): Remove $(libc-texi-generated), not individual files
11368 from that list. Do not remove dir-add.texinfo.
11369 * manual/libc.texinfo: Comment out uses of edition numbers and
11370 references to printed manual. Remove last-updated dates.
11371 (EDITION): Comment out.
11372 (ISBN): Likewise.
11373 (VERSION, UPDATED): Remove.
11374 (version.texi): Include.
11375
12e5c3b9
AS
113762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11377
11378 * sysdeps/posix/spawni.c: Include <signal.h>.
11379 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11380 * sysdeps/pthread/aio_fsync.c: Likewise.
11381
4efeffc1 113822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11383
ba63ba08
UD
11384 * conform/Makefile (tests): Run only when not cross-compiling and
11385 when fast-check is not defined.
11386
d94a4670
UD
11387 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11388 * conform/data/limits.h-data: Fixes for POSIX2008.
11389 * conform/run-conformtest.sh: Run all tests.
11390 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11391 headers.
11392 * include/bits/dlfcn.h: Likewise.
11393 * include/langinfo.h: Likewise.
11394 * include/monetary.h: Likewise.
11395 * include/sys/poll.h: Likewise.
11396
11397 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11398 for __USE_GNU.
11399 * posix/spawn.h: Define __need_sigset_t.
11400 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11401 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11402 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11403 to get sigevent_t only.
11404 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11405 only for __USE_GNU.
11406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11407 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11408 process_vm_writev only for __USE_GNU.
11409 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11410
11411 * conform/Makefile: For now ignore errors from run-conformtest.
11412 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11413 POSIX to avoid namespace pollution. Don't prepend headers.
11414 * conform/data/aio.h-data: Fixes for POSIX testing.
11415 * conform/data/fcntl.h-data: Likewise.
11416 * conform/data/glob.h-data: Likewise.
11417 * conform/data/grp.h-data: Likewise.
11418 * conform/data/pthread.h-data: Likewise.
11419 * conform/data/pwd.h-data: Likewise.
11420 * conform/data/signal.h-data: Likewise.
11421 * conform/data/spawn.h-data: Likewise.
11422 * conform/data/stdio.h-data: Likewise.
11423 * conform/data/stdlib.h-data: Likewise.
11424 * conform/data/stropts.h-data: Likewise.
11425 * conform/data/sys/mman.h-data: Likewise.
11426 * conform/data/sys/stat.h-data: Likewise.
11427 * conform/data/sys/types.h-data: Likewise.
11428 * conform/data/sys/wait.h-data: Likewise.
11429 * conform/data/time.h-data: Likewise.
11430 * conform/data/unistd.h-data: Likewise.
11431 * conform/data/utime.h-data: Likewise.
11432
11433 * io/sys/stat.h: fchmod was always in POSIX.
11434 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11435 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11436 * rt/aio.h: Define __need_timespec before including <time.h>.
11437 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11438 struct. Add forward declaration of pthread_attr_t and use it in
11439 sigevent.
11440 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11441 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11442 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11443 always remove CLK_TCK definition.
11444
c20105c3
AS
114452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11446
11447 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11448
7a270350
UD
114492012-02-25 Ulrich Drepper <drepper@gmail.com>
11450
31341567
UD
11451 * conform/run-conformtest.sh: New file.
11452 * conform/Makefile: Run run-conformtest for tests.
11453 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11454 support.
11455
11456 * conform/data/uchar.h-data: New file.
11457 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11458 * conform/data/arpa/inet.h-data: Likewise.
11459 * conform/data/assert.h-data: Likewise.
11460 * conform/data/complex.h-data: Likewise.
11461 * conform/data/cpio.h-data: Likewise.
11462 * conform/data/ctype.h-data: Likewise.
11463 * conform/data/dirent.h-data: Likewise.
11464 * conform/data/dlfcn.h-data: Likewise.
11465 * conform/data/errno.h-data: Likewise.
11466 * conform/data/fcntl.h-data: Likewise.
11467 * conform/data/float.h-data: Likewise.
11468 * conform/data/fmtmsg.h-data: Likewise.
11469 * conform/data/fnmatch.h-data: Likewise.
11470 * conform/data/ftw.h-data: Likewise.
11471 * conform/data/glob.h-data: Likewise.
11472 * conform/data/grp.h-data: Likewise.
11473 * conform/data/iconv.h-data: Likewise.
11474 * conform/data/inttypes.h-data: Likewise.
11475 * conform/data/langinfo.h-data: Likewise.
11476 * conform/data/libgen.h-data: Likewise.
11477 * conform/data/limits.h-data: Likewise.
11478 * conform/data/locale.h-data: Likewise.
11479 * conform/data/math.h-data: Likewise.
11480 * conform/data/monetary.h-data: Likewise.
11481 * conform/data/mqueue.h-data: Likewise.
11482 * conform/data/ndbm.h-data: Likewise.
11483 * conform/data/net/if.h-data: Likewise.
11484 * conform/data/netdb.h-data: Likewise.
11485 * conform/data/netinet/in.h-data: Likewise.
11486 * conform/data/nl_types.h-data: Likewise.
11487 * conform/data/poll.h-data: Likewise.
11488 * conform/data/pthread.h-data: Likewise.
11489 * conform/data/pwd.h-data: Likewise.
11490 * conform/data/regex.h-data: Likewise.
11491 * conform/data/sched.h-data: Likewise.
11492 * conform/data/search.h-data: Likewise.
11493 * conform/data/semaphore.h-data: Likewise.
11494 * conform/data/setjmp.h-data: Likewise.
11495 * conform/data/signal.h-data: Likewise.
11496 * conform/data/spawn.h-data: Likewise.
11497 * conform/data/stdarg.h-data: Likewise.
11498 * conform/data/stdio.h-data: Likewise.
11499 * conform/data/stdlib.h-data: Likewise.
11500 * conform/data/string.h-data: Likewise.
11501 * conform/data/strings.h-data: Likewise.
11502 * conform/data/stropts.h-data: Likewise.
11503 * conform/data/sys/ipc.h-data: Likewise.
11504 * conform/data/sys/mman.h-data: Likewise.
11505 * conform/data/sys/msg.h-data: Likewise.
11506 * conform/data/sys/resource.h-data: Likewise.
11507 * conform/data/sys/select.h-data: Likewise.
11508 * conform/data/sys/sem.h-data: Likewise.
11509 * conform/data/sys/shm.h-data: Likewise.
11510 * conform/data/sys/socket.h-data: Likewise.
11511 * conform/data/sys/stat.h-data: Likewise.
11512 * conform/data/sys/statvfs.h-data: Likewise.
11513 * conform/data/sys/time.h-data: Likewise.
11514 * conform/data/sys/timeb.h-data: Likewise.
11515 * conform/data/sys/times.h-data: Likewise.
11516 * conform/data/sys/types.h-data: Likewise.
11517 * conform/data/sys/uio.h-data: Likewise.
11518 * conform/data/sys/un.h-data: Likewise.
11519 * conform/data/sys/utsname.h-data: Likewise.
11520 * conform/data/sys/wait.h-data: Likewise.
11521 * conform/data/syslog.h-data: Likewise.
11522 * conform/data/tar.h-data: Likewise.
11523 * conform/data/termios.h-data: Likewise.
11524 * conform/data/utime.h-data: Likewise.
11525 * conform/data/utmpx.h-data: Likewise.
11526 * conform/data/varargs.h-data: Likewise.
11527 * conform/data/wchar.h-data: Likewise.
11528 * conform/data/wctype.h-data: Likewise.
11529 * conform/data/wordexp.h-data: Likewise.
11530
11531 * include/stropts.h: New file.
11532 * include/uchar.h: New file.
11533 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11534 * include/assert.h: Likewise.
11535 * include/ctype.h: Likewise.
11536 * include/dirent.h: Likewise.
11537 * include/dlfcn.h: Likewise.
11538 * include/fcntl.h: Likewise.
11539 * include/fnmatch.h: Likewise.
11540 * include/glob.h: Likewise.
11541 * include/grp.h: Likewise.
11542 * include/libio.h: Likewise.
11543 * include/locale.h: Likewise.
11544 * include/math.h: Likewise.
11545 * include/net/if.h: Likewise.
11546 * include/netdb.h: Likewise.
11547 * include/netinet/in.h: Likewise.
11548 * include/pthread.h: Likewise.
11549 * include/pwd.h: Likewise.
11550 * include/regex.h: Likewise.
11551 * include/sched.h: Likewise.
11552 * include/search.h: Likewise.
11553 * include/setjmp.h: Likewise.
11554 * include/signal.h: Likewise.
11555 * include/stdio.h: Likewise.
11556 * include/stdlib.h: Likewise.
11557 * include/string.h: Likewise.
11558 * include/sys/cdefs.h: Likewise.
11559 * include/sys/mman.h: Likewise.
11560 * include/sys/msg.h: Likewise.
11561 * include/sys/resource.h: Likewise.
11562 * include/sys/select.h: Likewise.
11563 * include/sys/socket.h: Likewise.
11564 * include/sys/stat.h: Likewise.
11565 * include/sys/statvfs.h: Likewise.
11566 * include/sys/time.h: Likewise.
11567 * include/sys/times.h: Likewise.
11568 * include/sys/uio.h: Likewise.
11569 * include/sys/utsname.h: Likewise.
11570 * include/sys/wait.h: Likewise.
11571 * include/termios.h: Likewise.
11572 * include/time.h: Likewise.
11573 * include/ulimit.h: Likewise.
11574 * include/unistd.h: Likewise.
11575 * include/utime.h: Likewise.
11576 * include/wchar.h: Likewise.
11577 * include/wctype.h: Likewise.
11578 * include/wordexp.h: Likewise.
11579
11580 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11581
7a270350
UD
11582 * time/time.h: TIME_UTC must be a macro.
11583 Make timespec_get available for ISO C11 only as well.
11584
7724defc
UD
115852012-02-24 Ulrich Drepper <drepper@gmail.com>
11586
11587 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11588 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11589
6b1d1d46
JM
115902012-02-24 Joseph Myers <joseph@codesourcery.com>
11591
11592 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11593
0f8bbd69
JM
115942012-02-24 Joseph Myers <joseph@codesourcery.com>
11595
11596 * manual/texinfo.tex: Update to version 2012-01-19.16.
11597
66ab80bc
JM
115982012-02-24 Joseph Myers <joseph@codesourcery.com>
11599
11600 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11601
74981cc5
RM
116022012-02-24 Roland McGrath <roland@hack.frob.com>
11603
ee968201
RM
11604 [BZ #13738]
11605 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11606 * manual/fdl-1.3.texi: New file.
11607 * manual/fdl-1.1.texi: File removed.
11608
74981cc5
RM
11609 [BZ #13738]
11610 * manual/libc.texinfo (FDL_VERSION): New @set.
11611 Use it for mention of FDL in cover text.
11612 (Documentation License): Use it in @include file name.
11613
7bb764bc
JM
116142012-02-22 Joseph Myers <joseph@codesourcery.com>
11615 Roland McGrath <roland@hack.frob.com>
11616
11617 [BZ #5461]
11618 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11619 not LONG_LONG_MAX and LONG_LONG_MIN.
11620 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11621 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11622 name.
11623 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11624
6cbeae47
JM
116252012-02-22 Joseph Myers <joseph@codesourcery.com>
11626
11627 [BZ #2547]
11628 [BZ #11365]
11629 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11630 manipulate bits before adding and subtracting TWO23[sx].
11631 * math/libm-test.inc (nearbyint_test): Add more tests.
11632
fe45ce09
JM
116332012-02-22 Joseph Myers <joseph@codesourcery.com>
11634
11635 [BZ #2548]
11636 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11637 bits before adding and subtracting TWO23[sx].
11638 * math/libm-test.inc (rint_test): Add more tests.
11639 (rint_test_tonearest): Likewise.
11640 (rint_test_towardzero): Likewise.
11641 (rint_test_downward): Likewise.
11642 (rint_test_upward: Likewise.
11643
ff3b3d82
JM
116442012-02-22 Joseph Myers <joseph@codesourcery.com>
11645
11646 [BZ #10110]
11647 * include/stdc-predef.h: New file. Extracted from features.h.
11648 * include/features.h: Include stdc-predef.h.
11649 * Makefile (headers): Add stdc-predef.h.
11650 * CONFORMANCE (Compiler limitations): Update.
11651
ef0aab35
JM
116522012-02-22 Joseph Myers <joseph@codesourcery.com>
11653
11654 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11655
58639409
DM
116562012-02-21 David S. Miller <davem@davemloft.net>
11657
11658 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11659 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11660
c0e70b25
DM
116612012-02-20 David S. Miller <davem@davemloft.net>
11662
11663 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11664 using a normal save/restore sequence, rather than allocating a
11665 dummy stack frame just to store a frame pointer and restore.
11666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11667
fb06851d
JM
116682012-02-21 Joseph Myers <joseph@codesourcery.com>
11669
11670 * manual/install.texi: Fix stray word in line-wrapped comment.
11671
7a8b71c3
DM
116722012-02-20 David S. Miller <davem@davemloft.net>
11673
d510c123
DM
11674 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11675 both binutils and gcc support GOTDATA.
11676
0722d7c2
DM
11677 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11678 "rd %pc" in the PIC register setup sequences.
11679
3d2b3019
DM
11680 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11681 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11682 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11683 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11684 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11686 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11689 (SYSCALL_ERROR_HANDLER): Likewise.
11690 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11693 (SYSCALL_ERROR_HANDLER): Likewise.
11694
c80098a9
DM
11695 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11696 (HAVE_GCC_GOTDATA): New.
11697 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11698 relocation support in both binutils and gcc.
11699 * sysdeps/sparc/elf/configure: Regenerate.
11700
3a2545a0
DM
11701 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11702 * sysdeps/sparc/sparc32/elf/configure: Delete.
11703 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11704 * sysdeps/sparc/sparc64/elf/configure: Delete.
11705 * sysdeps/sparc/elf/configure.in: New file.
11706 * sysdeps/sparc/elf/configure: Generate.
11707
7a8b71c3
DM
11708 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11709 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11710 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11711 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11712 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11713
f1e86fca
JM
117142012-02-21 Joseph Myers <joseph@codesourcery.com>
11715
11716 * manual/install.texi: Do not mention specific glibc version
11717 numbers.
11718 * manual/libc.texinfo (VERSION, UPDATED): Update.
11719 (@copying): Use @copyright{} and range of years.
11720
0e7dfaef
JM
117212012-02-21 Joseph Myers <joseph@codesourcery.com>
11722
11723 [BZ #13695]
11724 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11725 [crti.S not in sysdirs] (generated): Do not append.
11726 [crti.S not in sysdirs] (omit-deps): Likewise.
11727 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11728 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11729 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11730 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11731 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11732 Likewise.
11733 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11734 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11735 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11736 * csu/defs.awk: Remove file.
11737 * sysdeps/generic/initfini.c: Likewise.
11738 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11739 variable.
11740 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11741 Likewise.
11742
599af3ca
JM
117432012-02-20 Joseph Myers <joseph@codesourcery.com>
11744
11745 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11746 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11749 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11750 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11751 <bits/epoll.h>.
11752 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11753 (__EPOLL_PACKED): Define to empty if not defined by
11754 <bits/epoll.h>.
11755 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11757 bits/epoll.h.
11758
0e499750
JM
117592012-02-20 Joseph Myers <joseph@codesourcery.com>
11760
11761 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11762 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11763 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11764 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11765 <bits/timerfd.h>.
11766 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11768 bits/timerfd.h.
11769
5ad91f6e
JM
117702012-02-20 Joseph Myers <joseph@codesourcery.com>
11771
11772 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11773 in C locale.
11774 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11775 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11776 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11778
06b99b02
AJ
117792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11780
11781 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11782 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11783
7638c0fd
AS
117842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11785
11786 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11787 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11788 defined.
11789 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11790 Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11792 entry for 2.16.
11793
92221550
AJ
117942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11795
11796 * math/w_acos.c: Use non-signaling floating-point comparisons.
11797 * math/w_acosf.c: Likewise.
11798 * math/w_acosh.c: Likewise.
11799 * math/w_acoshf.c: Likewise.
11800 * math/w_acoshl.c: Likewise.
11801 * math/w_acosl.c: Likewise.
11802 * math/w_asin.c: Likewise.
11803 * math/w_asinf.c: Likewise.
11804 * math/w_asinl.c: Likewise.
11805 * math/w_atanh.c: Likewise.
11806 * math/w_atanhf.c: Likewise.
11807 * math/w_atanhl.c: Likewise.
11808 * math/w_exp2.c: Likewise.
11809 * math/w_exp2f.c: Likewise.
11810 * math/w_exp2l.c: Likewise.
11811 * math/w_j0.c: Likewise.
11812 * math/w_j0f.c: Likewise.
11813 * math/w_j0l.c: Likewise.
11814 * math/w_j1.c: Likewise.
11815 * math/w_j1f.c: Likewise.
11816 * math/w_j1l.c: Likewise.
11817 * math/w_jn.c: Likewise.
11818 * math/w_jnf.c: Likewise.
11819 * math/w_log.c: Likewise.
11820 * math/w_log10.c: Likewise.
11821 * math/w_log10f.c: Likewise.
11822 * math/w_log10l.c: Likewise.
11823 * math/w_log2.c: Likewise.
11824 * math/w_log2f.c: Likewise.
11825 * math/w_log2l.c: Likewise.
11826 * math/w_logf.c: Likewise.
11827 * math/w_logl.c: Likewise.
11828 * math/w_sqrt.c: Likewise.
11829 * math/w_sqrtf.c: Likewise.
11830 * math/w_sqrtl.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11833 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11834 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11835 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11836
ebaf36eb
JM
118372012-02-19 Joseph Myers <joseph@codesourcery.com>
11838
11839 [BZ #9739]
11840 * manual/string.texi (strnlen): Use correct parameter name in
11841 equivalent expression.
11842
71c254a6
JM
118432012-02-19 Joseph Myers <joseph@codesourcery.com>
11844
11845 [BZ #11174]
11846 * manual/users.texi (seteuid): Consistently use neweuid for
11847 argument name.
11848
16d2c631
JM
118492012-02-19 Joseph Myers <joseph@codesourcery.com>
11850
11851 [BZ #13704]
11852 * manual/nss.texi (Services in the NSS configuration): Correct
11853 list of services in example configuration file.
11854
cd837b09
NB
118552012-02-19 Nick Bowler <nbowler@draconx.ca>
11856
11857 [BZ #11322]
11858 * manual/arith.texi: Remove statements about negative zero
11859 behaving identically to zero.
11860
02c4bbad
JM
118612012-02-18 Joseph Myers <joseph@codesourcery.com>
11862
11863 [BZ #5993]
11864 * manual/install.texi: Do not document upgrading from libc5.
11865
366842e7
JM
118662012-02-18 Joseph Myers <joseph@codesourcery.com>
11867
11868 [BZ #4596]
11869 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11870
dd54084d
DM
118712012-02-18 David S. Miller <davem@davemloft.net>
11872
11873 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11874 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11875 %o7 across the call.
11876 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11877 instead.
11878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11879 SETUP_PIC_REG_LEAF.
11880 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11881 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11882 * sysdeps/sparc/crtn.S: Likewise.
11883
2bcc53a3
UD
118842012-02-17 Ulrich Drepper <drepper@gmail.com>
11885
11886 * aout/Makefile: Remove.
11887
09c093b5
RK
118882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11889
11890 [BZ #13058]
11891 * manual/examples/argp-ex1.c (main): Format definition in GNU
11892 style.
11893 * manual/examples/argp-ex2.c (main): Likewise.
11894 * manual/examples/argp-ex3.c (main): Likewise.
11895 * manual/examples/argp-ex4.c (main): Likewise.
11896 * manual/examples/longopt.c (main): Use new-style prototype
11897 definition.
11898 * manual/examples/strncat.c (main): Specify return type and use
11899 (void) for arguments.
11900 * manual/examples/subopt.c (main): Use char **argv argument.
11901
2ee633a2
JM
119022012-02-17 Joseph Myers <joseph@codesourcery.com>
11903
11904 [BZ #5077]
11905 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11906 rounding modes.
11907
0520adde
FB
119082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11909
11910 [BZ #6907]
11911 * manual/string.texi (strchr): Change when strchrnul is
11912 recommended.
11913
3f4081cd
DGM
119142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11915
11916 [BZ #174]
11917 * manual/locale.texi (setlocale): Document LOCPATH.
11918
d1b10e78
JM
119192012-02-17 Joseph Myers <joseph@codesourcery.com>
11920
11921 [BZ #10210]
11922 * manual/process.texi (execle): Move @dots{} before last argument.
11923
79c6869c
PB
119242012-02-17 Paul Bolle <pebolle@tiscali.nl>
11925
11926 [BZ #12047]
11927 * manual/charset.texi (Generic Charset Conversion): Fix typo
11928 (LC_TYPE -> LC_CTYPE).
11929
cc6e48bc
NB
119302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11931
11932 [BZ #5805]
11933 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11934 (scalbnf): Likewise.
11935 (scalbnl): Likewise.
11936 (scalbln): Likewise.
11937 (scalblnf): Likewise.
11938 (scalblnl): Likewise.
11939 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11940 (vwarnx): Likewise.
11941 (verr): Likewise.
11942 (verrx): Likewise.
11943 * manual/filesys.texi (telldir): Use braces around return type.
11944 * manual/llio.texi (mmap): Add space after comma.
11945 (mmap64): Likewise.
11946 * manual/math.texi (jn): Use @var{} on parameter names.
11947 (jnf): Likewise.
11948 (jnl): Likewise.
11949 (yn): Likewise.
11950 (ynf): Likewise.
11951 (ynl): Likewise.
11952 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11953 line.
11954 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11955 "...".
11956 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11957 (sched_get_priority_max): Likewise.
11958 * manual/signal.texi (sigvec): Add space after comma.
11959 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11960 names.
11961 (if_indextoname): Likewise.
11962 (if_freenameindex): Likewise.
11963 (sendto): Use ',' instead of '.' in prototype.
11964 * manual/startup.texi (syscall): Use @dots{} instead of literal
11965 "...".
11966 * manual/stdio.texi (__fpending): Separate initial words of
11967 paragraph from @deftypefun line.
11968 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11969 "...".
11970 (vsyslog): Use @var{} on parameter names.
11971 * manual/terminal.texi (stty): Use @var{} on parameter names.
11972 * manual/users.texi (getutmp): Use @var{} on parameter names.
11973 (getutmpx): Likewise.
11974
5b23062f
JM
119752012-02-17 Joseph Myers <joseph@codesourcery.com>
11976
11977 [BZ #6884]
11978 * manual/stdio.texi (fopen): Fix typos in description of
11979 ",ccs=STRING".
11980
8dee4833
AJ
119812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11982
11983 [BZ #4026]
11984 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11985 get clock_id definition.
11986
9078ce93
TS
119872012-02-17 Thomas Schwinge <thomas@schwinge.name>
11988
11989 [BZ #4822]
11990 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11991 (madvise): Cast every argument to void on its own.
11992
3835c55f
JM
119932012-02-17 Joseph Myers <joseph@codesourcery.com>
11994
11995 [BZ #9902]
11996 * manual/startup.texi (Exit Status): Fix typo.
11997
35c47e37
JM
119982012-02-17 Joseph Myers <joseph@codesourcery.com>
11999
12000 [BZ #10140]
12001 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12002 * manual/examples/argp-ex2.c: Likewise.
12003 * manual/examples/argp-ex3.c: Likewise.
12004
e3b69ca7
RH
120052012-02-16 Richard Henderson <rth@redhat.com>
12006
12007 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12008 * sysdeps/s390/s390-32/initfini.c: Remove.
12009 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12010 * sysdeps/s390/s390-64/initfini.c: Remove.
12011
df83af67
KK
120122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12013
12014 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12015 compiler output for sysdeps/generic/initfini.c.
12016 * sysdeps/sh/elf/initfini.c: Remove file.
12017
f63f3380
DM
120182012-02-16 David S. Miller <davem@davemloft.net>
12019
fb59b3a4
DM
12020 [BZ #11494]
12021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12022
f63f3380
DM
12023 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12024 * sysdeps/sparc/crti.S: New file.
12025 * sysdeps/sparc/crtn.S: New file.
12026 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12027 * sysdeps/sparc/sparc64/Makefile: Likewise.
12028
df6a4a4a
MF
120292012-02-15 Mike Frysinger <vapier@gentoo.org>
12030
6dd8f3dc 12031 [BZ #3335]
df6a4a4a
MF
12032 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12033
1cac7236
RM
120342012-02-15 Roland McGrath <roland@hack.frob.com>
12035
d2c736f8
RM
12036 [BZ #4822]
12037 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12038
1cac7236
RM
12039 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12040 (write, read, close): Likewise.
12041 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12042
8e475601
JM
120432012-02-15 Joseph Myers <joseph@codesourcery.com>
12044
12045 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12046 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12047 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12048 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12049 <bits/signalfd.h>.
12050 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12052 bits/signalfd.h.
12053
ed656b40
MP
120542012-02-14 Marek Polacek <polacek@redhat.com>
12055
12056 * sysdeps/x86_64/crti.S: New file.
12057 * sysdeps/x86_64/crtn.S: New file.
12058 * sysdeps/x86_64/elf/initfini.c: Remove file.
12059
2a979d3a
JM
120602012-02-13 Joseph Myers <joseph@codesourcery.com>
12061
12062 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12063 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12064 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12065 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12066 <bits/inotify.h>.
12067 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12069 bits/inotify.h.
12070
2a418ac3
JM
120712012-02-13 Joseph Myers <joseph@codesourcery.com>
12072
12073 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12074 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12075 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12076 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12077 <bits/eventfd.h>.
12078 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12080 bits/eventfd.h.
12081
fb779be7
TS
120822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12083
e19e83c5
RM
12084 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12085 __feraiseexcept instead of feraiseexcept.
7c35ffed 12086
fb779be7
TS
12087 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12088 nanosleep invocations.
12089 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12090 strings, and add error checking for a nanosleep invocations.
12091
59ba27a6
PE
120922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12093
12094 Replace FSF snail mail address with URLs, as per GNU coding standards.
12095 Most of the snail mail addresses were wrong anyway, and omitting
12096 them makes the source code easier to maintain. Almost all of the
12097 changes are to license notices and to locale LC_IDENTIFICATION
12098 addresses, except for this one:
12099 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12100 not its snail mail address.
12101
57b957eb
RH
121022012-02-09 Richard Henderson <rth@twiddle.net>
12103
af850b1c
RH
12104 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12105 of kernel-features.h.
12106
57b957eb
RH
12107 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12108
6b73181a
MP
121092012-02-08 Marek Polacek <polacek@redhat.com>
12110
12111 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12112 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12113 * sysdeps/gnu/_G_config.h: Likewise.
12114 * sysdeps/generic/_G_config.h: Likewise.
12115
26ecc33a
AS
121162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12117
6c6dbc63
AS
12118 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12119 tests.
12120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12121
e216c012
AS
12122 * sysdeps/powerpc/powerpc32/crti.S: New file.
12123 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12124 * sysdeps/powerpc/powerpc64/crti.S: New file.
12125 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12126
26ecc33a
AS
12127 * Makeconfig (have-initfini): Don't set.
12128 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12129 * configure.in (nopic_initfini): Don't substitute.
12130 * config.h.in (HAVE_INITFINI): Don't #undef.
12131 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12132 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12133
3add8e13
JM
121342012-02-08 Joseph Myers <joseph@codesourcery.com>
12135
12136 Support crti.S and crtn.S provided directly by architectures.
12137 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12138 [crti.S in sysdirs] (omit-deps): Likewise.
12139 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12140 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12141 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12142 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12143 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12144 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12145 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12146 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12147 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12148 compiler output for sysdeps/generic/initfini.c.
12149 * sysdeps/i386/elf/Makefile: Remove file.
12150 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12151
a22f12b4
MP
121522012-02-07 Marek Polacek <polacek@redhat.com>
12153
12154 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12155 * sysdeps/gnu/_G_config.h: Likewise.
12156 * sysdeps/mach/hurd/_G_config.h: Likewise.
12157
148cf100
MP
121582012-02-07 Marek Polacek <polacek@redhat.com>
12159
12160 * math/Makefile (tests): Add tst-CMPLX2.
12161 * math/tst-CMPLX2.c: New file.
12162
cfdc0dd7
AS
121632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12164
84ba42c4
AS
12165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12166
cfdc0dd7
AS
12167 * math/libm-test.inc (jn_test): Add missing L suffix.
12168
622c86f4
MP
121692012-02-06 Marek Polacek <polacek@redhat.com>
12170
12171 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12172 * sysdeps/i386/fpu/e_powf.S: Likewise.
12173 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12174 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12175 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12176 * sysdeps/i386/fpu/e_pow.S: Likewise.
12177 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12178 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12179 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12180 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12181 * sysdeps/i386/fpu/e_log2.S: Likewise.
12182 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12183 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12184 * sysdeps/i386/fpu/e_powl.S: Likewise.
12185 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12186 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12187 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12188 * sysdeps/i386/fpu/e_logl.S: Likewise.
12189 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12190 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12191 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12192 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12194 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12195 * sysdeps/i386/fpu/e_log.S: Likewise.
12196 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12197 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12198 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12199 * sysdeps/i386/fpu/e_logf.S: Likewise.
12200 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12202 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12203 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12204 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12205 * sysdeps/i386/fpu/e_log10.S: Likewise.
12206 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12207 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12208 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12209 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12210 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12211 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12212 * sysdeps/i386/asm-syntax.h: Likewise.
12213 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12214 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12215 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12216 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12217 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12218 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12219 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12220 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12221 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12222 * sysdeps/powerpc/sysdep.h: Likewise.
12223 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12224 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12225
d4a54ac6
JM
122262012-02-06 Joseph Myers <joseph@codesourcery.com>
12227
12228 [BZ #411]
12229 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12230
314054ea
JM
122312012-02-06 Joseph Myers <joseph@codesourcery.com>
12232
12233 * sysdeps/i386/sysdep.h: Include <features.h>.
12234 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12235 version.
12236
d8e0ca50
JM
122372012-02-05 Joseph Myers <joseph@codesourcery.com>
12238
12239 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12240 Define.
12241 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12242 LOAD_PIC_REG_STR.
12243
b1da7dd9
JM
122442012-02-03 Joseph Myers <joseph@codesourcery.com>
12245
12246 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12247 (SETUP_PIC_REG): Use GET_PC_THUNK.
12248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12249 macro.
12250
9a1d9254
JM
122512012-02-03 Joseph Myers <joseph@codesourcery.com>
12252
12253 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12254 for non-PIC compilation.
12255 (SETUP_PIC_REG): Add .p2align directive.
12256 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12257 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12259 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12260 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12262 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12263 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12264 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12265 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12266 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12267 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12268 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12269 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12270 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12271 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12272 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12273 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12274 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12275 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12277 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12278 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12279 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12282 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12283 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12284 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12285 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12286 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12287 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12288 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12289 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12290 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12291 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12292 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12293 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12294 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12295 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12296 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12297
65dc3b75
JM
122982012-02-03 Joseph Myers <joseph@codesourcery.com>
12299
12300 * math/tst-CMPLX.c: Include <stdio.h>.
12301
d55bf177
JM
123022012-01-31 Joseph Myers <joseph@codesourcery.com>
12303
12304 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12305 float.
12306 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12307 * sysdeps/sparc/bits/mathdef.h: Likewise.
12308
69db4f8f
MP
123092012-01-31 Marek Polacek <polacek@redhat.com>
12310
12311 * libio/libio.h: Don't define _PARAMS.
12312 * locale/programs/config.h: Don't define PARAMS.
12313 * stdlib/strtol_l.c: Likewise.
12314 (__strtol_l): Remove PARAMS from the prototype.
12315
41b81892
UD
123162012-01-31 Ulrich Drepper <drepper@gmail.com>
12317
3b49edc0
UD
12318 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12319 names. Just use the correct names. Remove unnecessary wrapper
12320 functions.
12321 * malloc/arena.c: Likewise.
12322 * malloc/hooks.c: Likewise.
12323
41b81892
UD
12324 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12325 ARENA_TEST says not to. Simplify test for creation of a new arena.
12326 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12327
27a25b6e
UD
123282012-01-30 Ulrich Drepper <drepper@gmail.com>
12329
12330 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12331 into tail calls.
12332 (update_get_addr): New function.
12333 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12334 GET_ADDR_MODULE parameter.
12335
c8a89e7d
JM
123362012-01-30 Joseph Myers <joseph@codesourcery.com>
12337
12338 * crypt/cert.c: Remove __STDC__ conditionals.
12339 * crypt/crypt-entry.c: Likewise.
12340 * crypt/crypt_util.c: Likewise.
12341 * libio/filedoalloc.c: Likewise.
12342 * libio/fileops.c: Likewise.
12343 * libio/genops.c: Likewise.
12344 * libio/iofclose.c: Likewise.
12345 * libio/iofdopen.c: Likewise.
12346 * libio/iofopen.c: Likewise.
12347 * libio/iofopen64.c: Likewise.
12348 * libio/iogetdelim.c: Likewise.
12349 * libio/iopopen.c: Likewise.
12350 * libio/obprintf.c: Likewise.
12351 * libio/oldfileops.c: Likewise.
12352 * libio/oldiofclose.c: Likewise.
12353 * libio/oldiofdopen.c: Likewise.
12354 * libio/oldiofopen.c: Likewise.
12355 * libio/oldiopopen.c: Likewise.
12356 * libio/wfiledoalloc.c: Likewise.
12357 * libio/wgenops.c: Likewise.
12358 * locale/programs/xmalloc.c: Likewise.
12359 * misc/syslog.c: Likewise.
12360 * stdio-common/xbug.c: Likewise.
12361 * string/memchr.c: Likewise.
12362 * string/memcmp.c: Likewise.
12363 * string/memrchr.c: Likewise.
12364 * string/rawmemchr.c: Likewise.
12365 * sysdeps/posix/getcwd.c: Likewise.
12366 * time/strftime_l.c: Likewise.
12367
3b100462
JM
123682012-01-30 Joseph Myers <joseph@codesourcery.com>
12369
12370 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12371 * config.make.in (config-cflags-sse2avx): Define.
12372 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12373 Fix typo.
12374
607998af
CM
123752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12376
12377 * scripts/config.guess: Update from upstream config git repository.
12378 * scripts/config.sub: Likewise.
12379
3601428f
CM
123802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12381
3ac8b282
CM
12382 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12383 (EM_NUM): Update.
12384 (R_TILEPRO_*, R_TILEGX_*): New macros.
12385
e034841e
CM
12386 * scripts/firstversions.awk: Fix bug in version range handling.
12387
540d7568
CM
12388 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12389
3601428f
CM
12390 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12391
463de862
CM
12392 * include/sys/epoll.h: New file.
12393 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12394 libc_hidden_def.
12395
73139a76
UD
123962012-01-28 Ulrich Drepper <drepper@gmail.com>
12397
96bc5b45
UD
12398 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12399 Avoid unnecessary __WORDSIZE == 64 test.
12400 (fmaxf): Use VEX format if possible.
12401 (fmax): Likewise.
12402 (fminf): Likewise.
12403 (fmin): Likewise.
12404
56f6f6a2
UD
12405 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12406 * math/math_private.h: Remove libc_fegetround* and
12407 libc_fesetround*.
12408 * sysdeps/i386/configure.in: Check for -msse2avx.
12409 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12410 also if SSE2AVX is defined.
12411 Remove libc_fegetround* and libc_fesetround*.
12412 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12413 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12415 of HAS_YMM_USABLE.
12416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12417 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12420 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12421
73139a76
UD
12422 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12423
d73f93a4
AZ
124242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12425
12426 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12427 size is not set.
12428 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12429
6ee65ed6
UD
124302012-01-27 Ulrich Drepper <drepper@gmail.com>
12431
12432 [BZ #13618]
12433 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12434 relocation.
12435 * Makeconfig (libm): Define.
12436 * elf/Makefile: Add rules to build and run tst-relsort1.
12437 * elf/tst-relsort1.c: New file.
12438 * elf/tst-relsort1mod1.c: New file.
12439 * elf/tst-relsort1mod2.c: New file.
12440
8db21882
JM
124412012-01-27 Joseph Myers <joseph@codesourcery.com>
12442
12443 * math/s_ldexp.c: Remove __STDC__ conditionals.
12444 * math/s_ldexpf.c: Likewise.
12445 * math/s_ldexpl.c: Likewise.
12446 * math/s_nextafter.c: Likewise.
12447 * math/s_nexttowardf.c: Likewise.
12448 * math/s_significand.c: Likewise.
12449 * math/s_significandf.c: Likewise.
12450 * math/s_significandl.c: Likewise.
12451 * math/w_jnl.c: Likewise.
12452 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12453 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12454 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12455 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12456 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12471 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12472 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12473 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12479 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12480 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12481 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12482 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12483 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12484 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12485 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12486 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12487 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12488 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12489 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12490 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12491 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12492 * sysdeps/ieee754/k_standard.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12497 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12500 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12525 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12526 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12530 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12531 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12532 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12554 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12559 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12567 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12568 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12572 * sysdeps/ieee754/s_matherr.c: Likewise.
12573 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12574 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12577
965a54a4
JM
125782012-01-26 Joseph Myers <joseph@codesourcery.com>
12579
12580 * crypt/md5.h: Remove __STDC__ conditionals.
12581 * libio/libioP.h: Likewise.
12582 * locale/programs/config.h: Likewise.
12583 * sysdeps/generic/sysdep.h: Likewise.
12584 * sysdeps/i386/asm-syntax.h: Likewise.
12585 * sysdeps/s390/asm-syntax.h: Likewise.
12586 * sysdeps/unix/sysdep.h: Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12589
7071ad79
JM
125902012-01-26 Joseph Myers <joseph@codesourcery.com>
12591
12592 * libio/libio.h: Remove __STDC__ conditionals.
12593 * malloc/obstack.h: Likewise.
12594 * math/complex.h: Likewise.
12595 * math/math.h: Likewise.
12596 * sysdeps/generic/_G_config.h: Likewise.
12597 * sysdeps/gnu/_G_config.h: Likewise.
12598 * sysdeps/mach/hurd/_G_config.h: Likewise.
12599 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12600 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12601 * sysdeps/sparc/bits/mathdef.h: Likewise.
12602
afc5ed09
UD
126032012-01-26 Ulrich Drepper <drepper@gmail.com>
12604
12605 [BZ #13583]
12606 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12607 Clean up HAS_* macros.
afc5ed09 12608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12609 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12610 possible.
12611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12612 HAS_AVX.
12613 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12614 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12616 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12617 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12618
bdb6de1d
JM
126192012-01-25 Joseph Myers <joseph@codesourcery.com>
12620
12621 * elf/tst-unique3.cc (gets): Remove declaration.
12622 * elf/tst-unique3lib.cc (gets): Likewise.
12623 * elf/tst-unique3lib2.cc (gets): Likewise.
12624 * elf/tst-unique4.cc (gets): Likewise.
12625
b15549e6
UD
126262012-01-24 Ulrich Drepper <drepper@gmail.com>
12627
12628 * include/stdio.h: Add C++ protection. Add gets declarations and
12629 definitions.
12630 * debug/tst-chk1.c: Don't declare gets here.
12631 * stdio-common/tst-gets.c: Likewise.
12632
a037381f
JM
126332012-01-24 Joseph Myers <joseph@codesourcery.com>
12634
12635 * posix/glob: Remove directory.
12636
f1d4aa75
JM
126372012-01-24 Joseph Myers <joseph@codesourcery.com>
12638
12639 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12640
81c0c964
PT
126412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12642
12643 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12644 of the non-standard EPFNOSUPPORT.
12645
0ea698ae
ST
126462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12647
12648 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12649 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12650 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12651
d220b117
UD
126522012-01-21 Ulrich Drepper <drepper@gmail.com>
12653
12654 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12655
3e1aa84e
UD
126562012-01-20 Ulrich Drepper <drepper@gmail.com>
12657
12658 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12659 transient errors.
12660 * nscd/grpcache.c (cache_addgr): Likewise.
12661 * nscd/hstcache.c (cache_addhst): Likewise.
12662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12663 * nscd/pwdcache.c (cache_addpw): Likewise.
12664 * nscd/servicescache.c (cache_addserv): Likewise.
12665
400aa020
UD
126662012-01-16 Ulrich Drepper <drepper@gmail.com>
12667
d77e7869
UD
12668 * malloc/malloc.c: Various cleanups.
12669 * malloc/hooks.c: Likewise.
12670
400aa020
UD
12671 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12672 * stdlib/bug-fmtmsg1.c: New file.
12673
12674 * stdlib/fmtmsg.c (init): Add missing unlock.
12675 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12676
e0a309cf
MP
126772012-01-12 Marek Polacek <polacek@redhat.com>
12678
12679 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12680 and _GNU_SOURCE.
12681
929d11c7
WS
126822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12683
12684 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12685 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12686 macro to ensure uniqueness of label name.
12687 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12688 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12689
41d0e869
UD
126902012-01-11 Ulrich Drepper <drepper@gmail.com>
12691
0cc5ed3b
UD
12692 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12693
41d0e869
UD
12694 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12695 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12698
a47a831a
UD
126992012-01-10 Ulrich Drepper <drepper@gmail.com>
12700
daa891c0
UD
12701 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12702
12703 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12704 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12706
e58ef0f2
UD
12707 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12708
a47a831a 12709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12710 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12713
12714 * math/bits/math-finite.h: Add ldexp support.
12715
a0bfc9c7
MP
127162012-01-10 Marek Polacek <polacek@redhat.com>
12717
12718 * locale/programs/localedef.h (show_archive_content): Add noreturn
12719 attribute.
12720
d6e97a1d
UD
127212012-01-09 Ulrich Drepper <drepper@gmail.com>
12722
12723 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12724
d5835c26
UD
127252012-01-08 Ulrich Drepper <drepper@gmail.com>
12726
e5f484c6
UD
12727 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12728
d5835c26
UD
12729 * io/Makefile (headers): Add bits/poll2.h.
12730
d1f741e9
WS
127312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12732
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12734 typo #include statement.
12735
ec09c1c4
UD
127362012-01-08 Ulrich Drepper <drepper@gmail.com>
12737
12738 * include/sys/cdefs.h: Define __attribute_alloc_size.
12739 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12740 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12741 * elf/pldd.c: Likewise.
12742 * iconv/iconv_charmap.c: Likewise.
12743 * iconv/iconvconfig.c: Likewise.
12744 * iconv/strtab.c: Likewise.
12745 * locale/programs/locale.c: Likewise.
12746 * locale/programs/localedef.h: Likewise.
12747 * locale/programs/simple-hash.c: Likewise.
12748 * nscd/nscd.h: Likewise.
12749 * nss/makedb.c: Likewise.
12750 * sysdeps/generic/ldconfig.h: Likewise.
12751 * locale/programs/localedef.c: Remove xmalloc prototype.
12752 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12753
20b38e03
PP
127542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12755
12756 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12757 appropriate.
12758
a0da5fe1
UD
127592012-01-08 Ulrich Drepper <drepper@gmail.com>
12760
1d5a644a 12761 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12762 * math/tst-CMPLX.c: New file.
1d5a644a 12763
8784a6db
UD
12764 * math/complex.h (CMPLXL): Fix typo.
12765
d9a216c0
UD
12766 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12767 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12768 GLIBC_2.16.
12769 * debug/tst-chk1.c: Add poll and ppoll tests.
12770 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12771 * include/sys/poll.h: Add hidden proto for ppoll.
12772 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12773 * sysdeps/mach/hurd/ppoll.c: Likewise.
12774 * io/ppoll.c: Likewise.
12775 * debug/poll_chk.c: New file.
12776 * debug/ppoll_chk.c: New file.
12777 * include/bits/poll2.h: New file.
12778 * io/bits/poll2.h: New file.
12779
ac097f5c
UD
12780 [BZ #1350]
12781 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12782
2119dcfa
UD
12783 * configure.in: static is always set to yes. Remove.
12784 * config.make.in: Don't set build-static.
12785 * Makeconfig: Remove use of build-static.
12786 * dlfcn/Makefile: Likewise.
12787 * elf/Makefile: Likewise.
12788 * math/Makefile: Likewise.
12789 * misc/Makefile: Likewise.
12790 * nptl/Makefile: Likewise.
12791 * sysdeps/mach/hurd/Makefile: Likewise.
12792
121766a9
UD
12793 * configure.in: PWD_P is not used anymore.
12794 * config.make.in: Remove PWD_P entry.
12795
51a1d39c 12796 * configure.in: Remove last remnants of RANLIB.
8720d066 12797 No need to check for signed size_t anymore.
215f4bdc
UD
12798 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12799 and IA-64.
3857022a 12800 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12801 * aclocal.m4: Likewise.
12802
d3ed7225
UD
12803 * wcsmbs/mbrtoc16.c: Implement using towc function.
12804 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12805 * wcsmbs/wcsmbsload.c: Likewise.
12806 * iconv/gconv_simple.c: Likewise.
12807 * iconv/gconv_int.h: Likewise.
12808 * iconv/gconv_builtin.h: Likewise.
12809 * iconv/iconv_prog.c: Remove CHAR16 handling.
12810
12811 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12812
12813 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12814
a0da5fe1
UD
12815 * configure.in: Remove --with-elf and --enable-bounded options.
12816 Dont set base_machine for ia64. More non-ELF conditions removed.
12817 Remove testing and setting of leading underscore information.
12818 * config.make.in (build-bounded): Set to no.
12819 * config.h.in: Remove NO_UNDERSCORES entry.
12820 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12821 them.
12822 * csu/start.c: Remove !NO_UNDERSCORE code.
12823 * locale/localeinfo.h: Likewise.
12824 * sysdeps/generic/machine-gmon.h: Likewise.
12825 * sysdeps/generic/sysdep.h: Likewise.
12826 * sysdeps/i386/sysdep.h: Likewise.
12827 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12828 * sysdeps/mach/sysdep.h: Likewise.
12829 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12830 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12831 * sysdeps/sh/sysdep.h: Likewise.
12832 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12833 * sysdeps/unix/i386/sysdep.S: Likewise.
12834 * sysdeps/unix/sparc/start.c: Likewise.
12835 * sysdeps/unix/sparc/sysdep.S: Likewise.
12836 * sysdeps/unix/sparc/sysdep.h: Likewise.
12837 * sysdeps/unix/start.c: Likewise.
12838 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12839 * sysdeps/x86_64/sysdep.h: Likewise.
12840
df78418a
UD
128412012-01-07 Ulrich Drepper <drepper@gmail.com>
12842
a784e502
UD
12843 [BZ #13553]
12844 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12845 for non-gcc.
12846 * argp/argp-fmtstream.h: Use const instead __const.
12847 * argp/argp.h: Likewise.
12848 * assert/assert.h: Likewise.
12849 * bits/fenv.h: Likewise.
12850 * bits/sched.h: Likewise.
12851 * bits/sigset.h: Likewise.
12852 * bits/sigthread.h: Likewise.
12853 * catgets/nl_types.h: Likewise.
12854 * conform/data/pthread.h-data: Likewise.
12855 * crypt/crypt-private.h: Likewise.
12856 * crypt/crypt.h: Likewise.
12857 * crypt/crypt_util.c: Likewise.
12858 * ctype/ctype.h: Likewise.
12859 * debug/execinfo.h: Likewise.
12860 * debug/mbsnrtowcs_chk.c: Likewise.
12861 * debug/mbsrtowcs_chk.c: Likewise.
12862 * debug/wcsnrtombs_chk.c: Likewise.
12863 * debug/wcsrtombs_chk.c: Likewise.
12864 * debug/wcstombs_chk.c: Likewise.
12865 * dirent/dirent.h: Likewise.
12866 * dlfcn/dlfcn.h: Likewise.
12867 * elf/neededtest4.c: Likewise.
12868 * grp/grp.h: Likewise.
12869 * gshadow/gshadow.h: Likewise.
12870 * iconv/gconv.h: Likewise.
12871 * iconv/gconv_int.h: Likewise.
12872 * iconv/gconv_simple.c: Likewise.
12873 * iconv/iconv.h: Likewise.
12874 * iconv/loop.c: Likewise.
12875 * iconv/skeleton.c: Likewise.
12876 * include/aio.h: Likewise.
12877 * include/aliases.h: Likewise.
12878 * include/argz.h: Likewise.
12879 * include/arpa/inet.h: Likewise.
12880 * include/assert.h: Likewise.
12881 * include/dirent.h: Likewise.
12882 * include/dlfcn.h: Likewise.
12883 * include/execinfo.h: Likewise.
12884 * include/fcntl.h: Likewise.
12885 * include/fenv.h: Likewise.
12886 * include/glob.h: Likewise.
12887 * include/grp.h: Likewise.
12888 * include/libintl.h: Likewise.
12889 * include/mntent.h: Likewise.
12890 * include/netdb.h: Likewise.
12891 * include/pwd.h: Likewise.
12892 * include/rpc/netdb.h: Likewise.
12893 * include/sched.h: Likewise.
12894 * include/search.h: Likewise.
12895 * include/shadow.h: Likewise.
12896 * include/signal.h: Likewise.
12897 * include/stdio.h: Likewise.
12898 * include/stdlib.h: Likewise.
12899 * include/string.h: Likewise.
12900 * include/sys/socket.h: Likewise.
12901 * include/sys/stat.h: Likewise.
12902 * include/sys/statfs.h: Likewise.
12903 * include/sys/statvfs.h: Likewise.
12904 * include/sys/syslog.h: Likewise.
12905 * include/sys/time.h: Likewise.
12906 * include/sys/uio.h: Likewise.
12907 * include/time.h: Likewise.
12908 * include/unistd.h: Likewise.
12909 * include/utmp.h: Likewise.
12910 * include/wchar.h: Likewise.
12911 * include/wctype.h: Likewise.
12912 * inet/aliases.h: Likewise.
12913 * inet/arpa/inet.h: Likewise.
12914 * inet/netinet/ether.h: Likewise.
12915 * inet/netinet/in.h: Likewise.
12916 * intl/libintl.h: Likewise.
12917 * io/bits/fcntl2.h: Likewise.
12918 * io/fcntl.h: Likewise.
12919 * io/ftw.h: Likewise.
12920 * io/sys/poll.h: Likewise.
12921 * io/sys/stat.h: Likewise.
12922 * io/sys/statfs.h: Likewise.
12923 * io/sys/statvfs.h: Likewise.
12924 * io/utime.h: Likewise.
12925 * libio/bits/stdio.h: Likewise.
12926 * libio/bits/stdio2.h: Likewise.
12927 * libio/libio.h: Likewise.
12928 * libio/libioP.h: Likewise.
12929 * libio/stdio.h: Likewise.
12930 * locale/lc-ctype.c: Likewise.
12931 * locale/locale.h: Likewise.
12932 * login/utmp.h: Likewise.
12933 * malloc/arena.c: Likewise.
12934 * malloc/malloc.c: Likewise.
12935 * malloc/malloc.h: Likewise.
12936 * malloc/mcheck.c: Likewise.
12937 * malloc/mtrace.c: Likewise.
12938 * math/bits/mathcalls.h: Likewise.
12939 * math/fenv.h: Likewise.
12940 * math/math_private.h: Likewise.
12941 * misc/bits/error.h: Likewise.
12942 * misc/bits/syslog.h: Likewise.
12943 * misc/err.h: Likewise.
12944 * misc/error.h: Likewise.
12945 * misc/fstab.h: Likewise.
12946 * misc/mntent.h: Likewise.
12947 * misc/regexp.h: Likewise.
12948 * misc/search.h: Likewise.
12949 * misc/sgtty.h: Likewise.
12950 * misc/sys/mman.h: Likewise.
12951 * misc/sys/syslog.h: Likewise.
12952 * misc/sys/uio.h: Likewise.
12953 * misc/sys/xattr.h: Likewise.
12954 * misc/ttyent.h: Likewise.
12955 * nis/rpcsvc/ypclnt.h: Likewise.
12956 * nss/nss.h: Likewise.
12957 * posix/bits/unistd.h: Likewise.
12958 * posix/fnmatch.h: Likewise.
12959 * posix/glob.h: Likewise.
12960 * posix/sched.h: Likewise.
12961 * posix/spawn.h: Likewise.
12962 * posix/sys/wait.h: Likewise.
12963 * posix/unistd.h: Likewise.
12964 * posix/wordexp.h: Likewise.
12965 * pwd/pwd.h: Likewise.
12966 * resolv/netdb.h: Likewise.
12967 * resource/sys/resource.h: Likewise.
12968 * rt/aio.h: Likewise.
12969 * rt/bits/mqueue2.h: Likewise.
12970 * rt/mqueue.h: Likewise.
12971 * shadow/shadow.h: Likewise.
12972 * signal/signal.h: Likewise.
12973 * socket/send.c: Likewise.
12974 * socket/sendto.c: Likewise.
12975 * socket/sys/socket.h: Likewise.
12976 * stdio-common/printf.h: Likewise.
12977 * stdlib/bits/stdlib.h: Likewise.
12978 * stdlib/fmtmsg.h: Likewise.
12979 * stdlib/monetary.h: Likewise.
12980 * stdlib/stdlib.h: Likewise.
12981 * stdlib/ucontext.h: Likewise.
12982 * streams/stropts.h: Likewise.
12983 * string/argz.h: Likewise.
12984 * string/bits/string2.h: Likewise.
12985 * string/string.h: Likewise.
12986 * string/strings.h: Likewise.
12987 * sunrpc/rpc/auth.h: Likewise.
12988 * sunrpc/rpc/auth_des.h: Likewise.
12989 * sunrpc/rpc/clnt.h: Likewise.
12990 * sunrpc/rpc/netdb.h: Likewise.
12991 * sunrpc/rpc/pmap_clnt.h: Likewise.
12992 * sunrpc/rpc/xdr.h: Likewise.
12993 * sysdeps/generic/inttypes.h: Likewise.
12994 * sysdeps/generic/net/if.h: Likewise.
12995 * sysdeps/generic/sys/swap.h: Likewise.
12996 * sysdeps/gnu/net/if.h: Likewise.
12997 * sysdeps/gnu/utmpx.h: Likewise.
12998 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12999 * sysdeps/i386/i486/bits/string.h: Likewise.
13000 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13001 * sysdeps/s390/bits/string.h: Likewise.
13002 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13003 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13004 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13005 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13006 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13007 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13008 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13009 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13010 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13011 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13012 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13013 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13014 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13015 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13016 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13017 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13018 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13020 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13023 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13024 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13025 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13026 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13027 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13028 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13029 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13030 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13031 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13032 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13033 * sysvipc/sys/ipc.h: Likewise.
13034 * sysvipc/sys/msg.h: Likewise.
13035 * sysvipc/sys/sem.h: Likewise.
13036 * sysvipc/sys/shm.h: Likewise.
13037 * termios/termios.h: Likewise.
13038 * time/sys/time.h: Likewise.
13039 * time/time.h: Likewise.
13040 * wcsmbs/bits/wchar2.h: Likewise.
13041 * wcsmbs/uchar.h: Likewise.
13042 * wcsmbs/wchar.h: Likewise.
13043 * wctype/wctype.h: Likewise.
13044
0269750c
UD
13045 [BZ #13551]
13046 * Makeconfig: Remove all but ELF support including AIX support.
13047 * Makerules: Likewise.
13048 * config.h.in: Likewise.
13049 * config.make.in: Likewise.
13050 * configure: Likewise.
13051 * configure.in: Likewise.
13052 * csu/Makefile: Likewise.
13053 * csu/version.c: Likewise.
13054 * debug/Makefile: Likewise.
13055 * dlfcn/Makefile: Likewise.
13056 * elf/Makefile: Likewise.
13057 * extra-lib.mk: Likewise.
13058 * iconv/Makefile: Likewise.
13059 * include/libc-symbols.h: Likewise.
13060 * include/shlib-compat.h: Likewise.
13061 * resolv/Makefile: Likewise.
13062 * resolv/res_libc.c: Likewise.
13063 * rt/Makefile: Likewise.
13064 * sysdeps/i386/asm-syntax.h: Likewise.
13065 * sysdeps/i386/sysdep.h: Likewise.
13066 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13067 * sysdeps/mach/sysdep.h: Likewise.
13068 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13069 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13070 * sysdeps/s390/asm-syntax.h: Likewise.
13071 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13072 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13073 * sysdeps/sh/sysdep.h: Likewise.
13074 * sysdeps/unix/sparc/sysdep.h: Likewise.
13075 * sysdeps/wordsize-32/divdi3.c: Likewise.
13076 * sysdeps/x86_64/sysdep.h: Likewise.
13077
00bbd29b
UD
13078 * argp/Versions: Remove _argp_unlock_xxx.
13079
13080 [BZ #13559]
13081 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13082 * abilist/libBrokenLocale.abilist: Likewise.
13083 * abilist/libanl.abilist: Likewise.
13084 * abilist/libc.abilist: Likewise.
13085 * abilist/libcrypt.abilist: Likewise.
13086 * abilist/libdl.abilist: Likewise.
13087 * abilist/libm.abilist: Likewise.
13088 * abilist/libnsl.abilist: Likewise.
13089 * abilist/libpthread.abilist: Likewise.
13090 * abilist/libresolv.abilist: Likewise.
13091 * abilist/librt.abilist: Likewise.
13092 * abilist/libthread_db.abilist: Likewise.
13093 * abilist/libutil.abilist: Likewise.
13094 * abilist/libnss_db.abilist: New file.
13095
13096 * scripts/abilist.awk: Add support for indirect functions.
13097
a2693a0e
UD
13098 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13099
3f05895f
UD
13100 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13101
ecb6fb48
UD
13102 * shlib-versions: Remove entries for ports architectures.
13103
664f8cb9
UD
13104 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13105 files in ports.
13106 * elf/stackguard-macros.h: Remove support for IA-64.
13107 * elf/tst-auditmod1.c: Likewise.
13108 * sysdeps/generic/ldsodefs.h: Likewise.
13109
7ae81d88
UD
13110 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13111 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13112 configure files.
13113
bdeba135
UD
13114 [BZ #13552]
13115 * configure.in: Remove --enable-omitfp support.
13116 * FAQ.in: Adjust.
13117 * config.make.in: Likewise.
13118 * Makeconfig: Likewise.
13119 * manual/install.texi: Likewise.
13120
d75a0a62
UD
13121 In case anyone cares, the IA-64 architecture could move to ports.
13122 * sysdeps/ia64/*: Removed.
13123 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13124 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13125
dcc9756b
UD
13126 [BZ #13555]
13127 * configure.in: Remove entries for unsupported architectures.
13128
d3761ebc 13129 [BZ #13533]
9954432e
UD
13130 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13131 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13132 routines.
13133 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13134 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13135 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13136 fall back to using wcrtomb.
13137 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13138 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13139 renaming.
13140 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13141 * wcsmbs/tst-c16c32-1.c: New file.
13142
13143 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13144 local variable.
13145
c3a87236
UD
13146 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13147
28926a1b
UD
13148 * elf/tst-unique3.cc: Add explicit declaration of gets.
13149 * elf/tst-unique3lib.cc: Likewise.
13150 * elf/tst-unique3lib2.cc: Likewise.
13151 * elf/tst-unique4.cc: Likewise.
13152
df78418a
UD
13153 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13154
8ecd6b2a
JM
131552012-01-06 Joseph Myers <joseph@codesourcery.com>
13156
13157 [BZ #13566]
13158 * assert/assert.h (static_assert): Don't define for C++.
13159 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13160 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13161
9f115170
UD
131622012-01-03 Ulrich Drepper <drepper@gmail.com>
13163
5e0d0300
UD
13164 * iconv/loop.c (single loop): Fix assertion in storing of
13165 remaining bytes.
13166
9f115170
UD
13167 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13168
81fb02b0
UD
131692012-01-01 Ulrich Drepper <drepper@gmail.com>
13170
13171 * posix/getconf.c: Update copyright year.
13172 * nss/getent.c: Likewise.
a316c1f6 13173 * nss/makedb.c: Likewise.
81fb02b0
UD
13174 * iconv/iconvconfig.c: Likewise.
13175 * iconv/iconv_prog.c: Likewise.
13176 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13177 * elf/pldd.c: Likewise.
13178 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13179 * catgets/gencat.c: Likewise.
13180 * csu/version.c: Likewise.
13181 * elf/ldd.bash.in: Likewise.
13182 * elf/sprof.c (print_version): Likewise.
13183 * locale/programs/locale.c: Likewise.
13184 * locale/programs/localedef.c: Likewise.
a316c1f6 13185 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13186 * nscd/nscd.c (print_version): Likewise.
13187 * debug/xtrace.sh: Likewise.
13188 * malloc/memusage.sh: Likewise.
13189 * malloc/mtrace.pl: Likewise.
13190 * debug/catchsegv.sh: Likewise.
13191
2ba92745
JJ
131922011-12-30 Jakub Jelinek <jakub@redhat.com>
13193
13194 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13195 pure attribute.
13196
dadebdae
UD
131972011-12-24 Ulrich Drepper <drepper@gmail.com>
13198
d3761ebc 13199 [BZ #13533]
db6af3eb
UD
13200 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13201 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13202 transformations.
13203 * iconv/gconv_int.h: Likewise.
13204 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13205 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13206 from libc for GLIBC_2.16.
13207 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13208 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13209 * wcsmbs/uchar.h: Really define mbstate_t.
13210 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13211 * wcsmbs/c16rtomb.c: New file.
13212 * wcsmbs/mbrtoc16.c: New file.
13213 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13214 for C/POSIX locale.
13215 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13216 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13217
dadebdae
UD
13218 * wcsmbs/wchar.h: Add missing __restrict.
13219
67371b56
UD
132202011-12-23 Ulrich Drepper <drepper@gmail.com>
13221
74033a25
UD
13222 [BZ #13532]
13223 * time/Makefile (routines): Add timespec_get.
13224 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13225 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13226 timespec for ISO C11.
13227 * time/timespec_get.c: New file.
13228 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13229 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13230
380d7e87
UD
13231 [BZ #13531]
13232 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13233 * stdlib/stdlib.h: Declare aligned_alloc.
13234 * Versions.def: Add GLIBC_2.16 for libc.
13235 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13236
4e9e7a35
UD
13237 [BZ 13527]
13238 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13239 ISO C11.
13240
380d7e87 13241 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13242 code.
13243
03a71829
UD
13244 [BZ #13528]
13245 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13246
839e283e
UD
13247 [BZ #13529]
13248 * assert/assert.h (static_assert): Define.
13249
ce5294e2 13250 * version.h: Update for 2.16 development version.
90fa7312 13251
8d44e150 13252 [BZ #13526]
d7809905
UD
13253 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13254 _ISOC11_SOURCE.
13255
c0da14cd
UD
13256 * version.h (RELEASE): Bump for 2.15 release.
13257 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13258
530a3249
MP
13259 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13260 Patch by Marek Polacek <mpolacek@redhat.com>.
13261
67371b56
UD
13262 * bits/byteswap.h: Protect long long constants with __extension__.
13263 * sysdeps/i386/bits/byteswap.h: Likewise.
13264 * sysdeps/ia64/bits/byteswap.h: Likewise.
13265 * sysdeps/s390/bits/byteswap.h: Likewise.
13266 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13267
15db4de1
LD
132682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13269
13270 [BZ #13540]
bbe315ea
LD
13271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13272 destination buffer.
15db4de1
LD
13273 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13274
2b2596b1
MP
132752011-12-23 Marek Polacek <polacek@redhat.com>
13276
13277 * elf/dl-addr.c (determine_info): Add inline keyword.
13278 * elf/tst-auditmod4b.c (check_avx): Likewise.
13279 * elf/tst-auditmod6b.c (check_avx): Likewise.
13280 * elf/tst-auditmod6c.c (check_avx): Likewise.
13281 * elf/tst-auditmod7b.c (check_avx): Likewise.
13282
70c6c246
UD
132832011-12-23 Ulrich Drepper <drepper@gmail.com>
13284
13285 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13286 !__SSE_MATH__.
13287
c044cf14
LD
132882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13289
15db4de1 13290 [BZ #13540]
c044cf14
LD
13291 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13292 processing for last bytes.
13293
6b13d9d9
BH
132942011-08-06 Bruno Haible <bruno@clisp.org>
13295
d455f537
BH
13296 [BZ #13061]
13297 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13298 U+0385, not to U+1FEE.
13299
6b13d9d9
BH
13300 [BZ #13062]
13301 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13302 entry for U+00A5 U+0301.
13303
db910efd
UD
133042011-12-22 Ulrich Drepper <drepper@gmail.com>
13305
27deeafc
UD
13306 [BZ #13166]
13307 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13308 buffer for the output is too small.
13309
aed9d171
UD
13310 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13311 optimization.
13312
db910efd
UD
13313 [BZ #13185]
13314 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13315 SSE flags if possible.
13316
2bd779ae
LD
133172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13318
e7f9dac3 13319 [BZ #13540]
2bd779ae
LD
13320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13321 processing for last bytes.
13322
154bfc16
JM
133232011-12-22 Joseph Myers <joseph@codesourcery.com>
13324
13325 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13326 (syscall-list-default-options, syscall-list-default-condition)
13327 (syscall-list-includes): Define.
13328 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13329 list of ABIs and options and #if conditions for each ABI. Do not
13330 handle common syscalls between ABIs specially.
13331 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13332 Remove.
13333 (syscall-list-variants, syscall-list-32bit-options)
13334 (syscall-list-32bit-condition, syscall-list-64bit-options)
13335 (syscall-list-64bit-condition): Define.
13336 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13337 (syscall-list-variants, syscall-list-32bit-options)
13338 (syscall-list-32bit-condition, syscall-list-64bit-options)
13339 (syscall-list-64bit-condition): Define.
13340 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13341 Remove.
13342 (syscall-list-variants, syscall-list-32bit-options)
13343 (syscall-list-32bit-condition, syscall-list-64bit-options)
13344 (syscall-list-64bit-condition): Define.
13345 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13346 Remove.
13347 (syscall-list-variants, syscall-list-32bit-options)
13348 (syscall-list-32bit-condition, syscall-list-64bit-options)
13349 (syscall-list-64bit-condition): Define.
13350
21eaf3a5
UD
133512011-12-22 Ulrich Drepper <drepper@gmail.com>
13352
16c6f992
UD
13353 * locale/iso-639.def: Add brx entry.
13354
41043168
UD
13355 [BZ #13328]
13356 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13357 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13358
21eaf3a5
UD
13359 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13360 __feraiseexcept_renamed.
13361
e3a851a2
UD
133622011-12-21 Ulrich Drepper <drepper@gmail.com>
13363
4920765e
UD
13364 [BZ #13538]
13365 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13366 EPOLLET with unsigned values.
13367 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13368 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13369
e3a851a2
UD
13370 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13371 to large cancellation.
13372 * math/s_cacoshf.c: Likewise.
13373 * math/s_cacoshl.c: Likewise.
13374
b27e24b8
RK
133752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13376
13377 [BZ #13305]
aebefeee 13378 [BZ #12786]
b27e24b8
RK
13379 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13380 * math/s_cacoshf.c: Likewise.
13381 * math/s_cacoshl.c: Likewise.
13382
ee190f67
UD
133832011-12-21 Ulrich Drepper <drepper@gmail.com>
13384
13385 [BZ #13439]
13386 * iconv/gconv.h: Define __GCONV_SWAP.
13387 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13388 * iconvdata/utf-16.c: Likewise.
13389 * iconvdata/utf-32.c: Likewise.
13390
707f25df
AS
133912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13392
13393 [BZ #13524]
13394 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13395 numerator after shifting it by one limb.
13396
d2daaa1e
RÁE
133972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13398
13399 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13400 under [__USE_EXTERN_INLINES].
13401
a4647e72
UD
134022011-12-17 Ulrich Drepper <drepper@gmail.com>
13403
13404 [BZ #13446]
13405 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13406
f0b264f1
AZ
134072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13408
13409 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13410 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13411 optimized code.
13412 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13413 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13414 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13415 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13416 for strncasecmp/strncasecmp_l compilation.
13417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13418 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13419
8ef4f244
MP
134202011-12-08 Marek Polacek <mpolacek@redhat.com>
13421
13422 [BZ #13484]
13423 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13424 of __asm__.
13425
97ac2654
UD
134262011-12-17 Ulrich Drepper <drepper@gmail.com>
13427
13428 [BZ #13506]
13429 * time/tzfile.c (__tzfile_read): Check values from file header.
13430
91d2a845
WS
134312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13432
13433 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13434 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13435 * powerpc/powerpc32/dl-start.S: Likewise.
13436 * powerpc/powerpc32/elf/start.S: Likewise.
13437 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13438 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13439 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13440 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13441 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13442 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13443 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13444 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13445 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13446 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13447 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13448 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13449 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13450 * powerpc/powerpc32/memset.S: Likewise.
13451 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13452 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13453 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13454 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13455 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13456 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13457 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13458 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13459 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13460 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13461 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13462 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13463 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13464
a1267ba1
AZ
134652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13466
13467 * math/libm-test.inc: Added more nearbyint tests.
13468 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13469 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13470 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13471 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13472
ad8ac1bd
RL
134732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13474
13475 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13476 FD_CLOEXEC.
13477
1d3e4b61
UD
134782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13479
13480 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13481 Add wcscpy-ssse3 wcscpy-c.
13482 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13483 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13484 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13485 * sysdeps/x86_64/wcschr.S: New file.
13486 * sysdeps/x86_64/wcsrchr.S: New file.
13487 * string/test-strcmp.c: Remove checking of wcscmp function for
13488 wrong alignments.
13489 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13490 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13491 wcsrchr-sse2 wcsrchr-c.
13492 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13493 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13494 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13495 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13496 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13497 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13498 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13499 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13500 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13501 * wcsmbc/wcschr.c (WCSCHR): New macro.
13502
5b330a2d
UD
135032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13504
13505 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13506 * wcsmbs/test-wcsrchr.c: New file.
13507 * string/test-strrchr.c: Add wcsrchr support.
13508 (WIDE): New macro.
13509 * wcsmbs/test-wcscpy.c: New file.
13510 * string/test-strcpy.c: Add wcscpy support.
13511 (WIDE): New macro.
26428b7c 13512
f039c043
UD
135132011-12-10 Ulrich Drepper <drepper@gmail.com>
13514
13515 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13516 the inner loop.
13517
850fb039
AS
135182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13519
13520 [BZ #13472]
13521 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13522
4efbd5cb
UD
135232011-12-04 Ulrich Drepper <drepper@gmail.com>
13524
52ff5dd0 13525 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13526 Minor optimizations.
52ff5dd0 13527
4efbd5cb
UD
13528 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13529 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13530 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13531
8a426e12
UD
135322011-12-03 Ulrich Drepper <drepper@gmail.com>
13533
aff2453d
UD
13534 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13535 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13536 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13537 for gcc to avoid warnings.
13538 * inet/Makefile (tests): Add tst-checks.
13539 * inet/tst-checks.c: New file.
13540
13541 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13542 warning.
13543
13544 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13545 __wmemcmp_sse2.
13546
13547 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13548 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13549
8a426e12
UD
13550 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13551
9bea3473
UD
135522011-12-02 Ulrich Drepper <drepper@gmail.com>
13553
3a965496
UD
13554 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13555 problem.
13556
9bea3473
UD
13557 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13558
f101631b
UD
135592011-11-29 Joseph Myers <joseph@codesourcery.com>
13560
13561 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13562 conditional on GCC version.
13563 (__arch_compare_and_exchange_val_8_acq)
13564 (__arch_compare_and_exchange_val_16_acq)
13565 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13566 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13567 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13568
a98275aa
UD
135692011-12-02 Joseph Myers <joseph@codesourcery.com>
13570
13571 * sysdeps/sh/backtrace.c: New file.
13572
d4cc29a2
AS
135732011-12-02 Andreas Schwab <schwab@redhat.com>
13574
13575 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13576 parenthesis.
13577
6257af2d
AS
135782011-12-01 Andreas Schwab <schwab@redhat.com>
13579
13580 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13581 falling back to utime.
13582
b5f44c1a
AS
135832011-11-30 Andreas Schwab <schwab@redhat.com>
13584
13585 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13586 expectations for float.
13587
f3a6cc0a
AS
135882011-11-29 Andreas Schwab <schwab@redhat.com>
13589
13590 * locale/weight.h (findidx): Add parameter len.
13591 * locale/weightwc.h (findidx): Likewise.
13592 * posix/fnmatch_loop.c (FCT): Adjust caller.
13593 * posix/regcomp.c (build_equiv_class): Likewise.
13594 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13595 * posix/regexec.c (check_node_accept_bytes): Likewise.
13596 * string/strcoll_l.c (STRCOLL): Likewise.
13597 * string/strxfrm_l.c (STRXFRM): Likewise.
13598
9d65ea3a
UD
135992011-11-17 Ulrich Drepper <drepper@gmail.com>
13600
13601 * Makefile.in: Remove CVSOPT handling.
13602 * configure.in: Remove use of AC_REVISION.
13603 * iconvdata/Makefile (distribute): No need to filter out CVS.
13604 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13605 handling.
13606
5583a086
AS
136072011-11-16 Andreas Schwab <schwab@redhat.com>
13608
13609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13610 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13611 [USE_AS_STRNCASECMP_L]: Likewise.
13612 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13613 NO_TLS_DIRECT_SEG_REFS.
13614 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13615 Fix argument offsets for non-PIC.
13616 [USE_AS_STRNCASECMP_L]: Likewise.
13617 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13618 NO_TLS_DIRECT_SEG_REFS.
13619
d62a8200
UD
136202011-11-15 Ulrich Drepper <drepper@gmail.com>
13621
9d65ea3a 13622 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13623 O_CLOEXEC.
13624 * locale/loadlocale.c (_nl_load_locale): Likewise.
13625
09f93bd3
AS
136262011-11-15 Andreas Schwab <schwab@redhat.com>
13627
446514f9
AS
13628 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13629 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13630 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13631 (SYSCALL_GETTIME): Set errno on error.
13632
09f93bd3
AS
13633 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13634 count references to noai6ai_cached.
13635
312be3f9
UD
136362011-11-15 Ulrich Drepper <drepper@gmail.com>
13637
13638 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13639
13640 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13641 FD_CLOEXEC for /proc/self/maps.
13642
13643 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13644 FD_CLOEXEC for /proc/meminfo.
13645
13646 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13647 gai.conf.
13648
13649 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13650 FD_CLOEXEC for given file.
13651
13652 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13653
13654 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13655 FD_CLOEXEC for /etc/hosts.
13656 (_gethtent): Likewise.
13657
13658 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13659
13660 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13661 cancellation and set FD_CLOEXEC for /etc/netgroup.
13662
13663 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13664 reading /etc/publickey.
13665
13666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13667 allow cancellation when reading /etc/group.
13668
13669 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13670 cancellation.
13671 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13672
13673 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13674 when using data file.
13675
13676 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13677
13678 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13679 (write_nis_obj): Use "c" and "e" in fopen.
13680
13681 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13682
13683 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13684
13685 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13686
13687 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13688
13689 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13690 locale.alias.
13691
13692 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13693
13694 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13695
13696 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13697
13698 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13699 file parsing and set FD_CLOEXEC.
13700
82af0fa8
UD
137012011-11-14 Ulrich Drepper <drepper@gmail.com>
13702
13703 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13704
a5fb313c
AS
137052011-11-14 Andreas Schwab <schwab@redhat.com>
13706
13707 * malloc/arena.c (arena_get2): Don't call reused_arena when
13708 _int_new_arena failed.
13709
6abf3465
UD
137102011-11-14 Ulrich Drepper <drepper@gmail.com>
13711
13712 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13713 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13714 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13715 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13716 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13717 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13718 to compile strcasecmp and strncasecmp.
13719 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13720 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13721
13722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13723
76e3966e
UD
137242011-11-13 Ulrich Drepper <drepper@gmail.com>
13725
13726 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13727 locale-defines.sym to gen-as-const-headers.
13728 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13729 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13731 to compile strcasecmp and strncasecmp.
13732 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13733 strcasecmp_l and strncasecmp_l.
13734 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13735 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13736 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13737 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13738 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13739 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13740 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13741 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13742 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13743 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13744 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13745
ab26144e
UD
137462011-11-12 Ulrich Drepper <drepper@gmail.com>
13747
7edb22ef
UD
13748 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13749 result of SYSDEP_GETTIME_CPU to retval.
13750 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13751 parameter list to macro. Remove trailing semicolon. Adjust users.
13752
9694fc44
UD
13753 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13754 variable.
13755
8ad89ef8
UD
13756 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13757 mantissa words.
13758 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13759
0c822ef9
UD
13760 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13761 from unused variable.
13762
874e0564
UD
13763 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13764 DWARF definitions.
13765 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13766 for assembling.
13767
3a2edc79
UD
13768 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13769 over namespaces.
13770
f3c2577f
UD
13771 * sunrpc/rpc_prot.c (rejected): Fix case value.
13772
294ce126
UD
13773 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13774 unsigned long long int to avoid warnings in shift.
13775
5e2b63c6
UD
13776 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13777 of use of trans.
13778 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13779 variable tmp.
13780
e7f4b08e
UD
13781 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13782 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13783 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13784
ab26144e
UD
13785 * nis/nis_table.c (nis_list): Use variable of correct type for
13786 result of __follow_path call.
13787
8a6d5255
AZ
137882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13789
13790 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13791 of math functions ceil, trunc, floor, round, and sqrt, when
13792 avaliable on the platform.
13793 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13794 name clash.
13795 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13796 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13797 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13798
aaddc98c
MP
137992011-10-30 Marek Polacek <mpolacek@redhat.com>
13800
13801 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13802 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13803
95b7042b
RM
138042011-11-11 Roland McGrath <roland@hack.frob.com>
13805
13806 * include/unistd.h: Fix __readlink return type.
13807 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13808
57769839
UD
138092011-11-11 Ulrich Drepper <drepper@gmail.com>
13810
13811 * stdlib/ucontext.h: Undo last change for makecontext.
13812
edc5984d
AS
138132011-11-11 Andreas Schwab <schwab@redhat.com>
13814
98591e58
AS
13815 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13816
edc5984d
AS
13817 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13818 * setjmp/setjmp.h: Mark functions as non-leaf.
13819 * setjmp/bits/setjmp2.h: Likewise.
13820 * stdlib/ucontext.h: Likewise.
13821
77cdc054
AS
138222011-11-10 Andreas Schwab <schwab@redhat.com>
13823
13824 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13825 (reused_arena): Don't check arena limit.
13826 (arena_get2): Atomically check arena limit.
13827
fe72eebd
UD
138282011-11-08 Ulrich Drepper <drepper@gmail.com>
13829
5f078c32
UD
13830 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13831 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13832
fe72eebd
UD
13833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13834 instructions.
13835
ae1bc2fa
AS
138362011-11-07 Andreas Schwab <schwab@redhat.com>
13837
7583a88d
AS
13838 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13839 handler when locking.
13840
ae1bc2fa
AS
13841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13842 Fix size of allocated buffer.
13843
10fb0bfa
AS
138442011-11-04 Andreas Schwab <schwab@redhat.com>
13845
998832a4
AS
13846 [BZ #10103]
13847 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13848 declarations for long double functions.
13849 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13850
10fb0bfa
AS
13851 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13852
3d7ba52b
AS
138532011-11-03 Andreas Schwab <schwab@redhat.com>
13854
a9ae54a1
AS
13855 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13856 installed.
13857
3d7ba52b
AS
13858 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13859 is disabled.
13860
bc8db248
ST
138612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13862
13863 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13864
45b96dd6
AS
138652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13866
647776f6
AS
13867 * include/alloca.h (stackinfo_alloca_round): Define.
13868 (extend_alloca): Use it.
13869 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13870 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13871 here.
13872
d91a8b93
AS
13873 * scripts/check-local-headers.sh: Ignore libaudit.h.
13874
45b96dd6
AS
13875 * nscd/Makefile (extra-objs): Make recursively expanded.
13876
432d41ce
UD
138772011-11-01 Ulrich Drepper <drepper@gmail.com>
13878
34372fc6
UD
13879 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13880 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13881
fadb59f8
UD
13882 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13883 * posix/tst-rfc3484-2.c: Likewise.
13884 * posix/tst-rfc3484-3.c: Likewise.
13885
78239589
UD
13886 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13887 process_vm_writev.
13888 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13889 process_vm_writev.
13890 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13891 process_vm_writev from libc using GLIBC_2.15 version.
13892
432d41ce
UD
13893 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13894
02f9c6cf
PP
138952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13896
13897 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13898 stack usage.
13899
3a2c0242
UD
139002011-10-31 Ulrich Drepper <drepper@gmail.com>
13901
f4ec4833
UD
13902 [BZ #13367]
13903 * nss/getent.c (initgroups_keys): Show error message in case no group
13904 names are given.
13905
3a2c0242
UD
13906 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13907 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13908 __bump_nl_timestamp.
13909 * nscd/connections (nscd_init): When host database is served open
13910 netlink socket and request notification about configuration changes.
13911 (main_loop_poll): Track netlink file descriptor and bump timestamp
13912 in case data becomes available.
13913 (main_loop_epoll): Likewise.
13914 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13915 (database_pers_head): Add extra_data fileds.
13916 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13918 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13919 Adjust caller.
13920 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13921 in6ai data, call __free_in6ai.
13922 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13923 Add -DHAVE_NETLINK.
13924 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13925 interface information. Reuse previous data if netlink timestamp
13926 is not changed.
13927 (__bump_nl_timestamp): New function.
13928 (__free_in6ai): New function.
13929
636064eb
UD
139302011-10-30 Ulrich Drepper <drepper@gmail.com>
13931
13932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13933 close_not_cancel_no_status here.
13934 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13935
9beb2334
UD
139362011-10-29 Ulrich Drepper <drepper@gmail.com>
13937
6ef76f3b
UD
13938 [BZ #13276]
13939 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13940 return value.
13941
0ffc4f3e 13942 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13943 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13944 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13945
cb95113e
UD
139462011-07-03 Andreas Jaeger <aj@suse.de>
13947
13948 [BZ #10709]
13949 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13950 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13951 * math/libm-test.inc (sin_test): Add test case.
13952
a1b560ff
UD
139532011-10-29 Ulrich Drepper <drepper@gmail.com>
13954
c9aaface
UD
13955 [BZ #13337]
13956 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13957 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13958
d272e7f1
UD
13959 * elf/chroot_canon.c (chroot_canon): Cleanups.
13960
1bc33071
UD
13961 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13962
1760874d
TJ
13963 [BZ #13335]
13964 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13965 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13966
51d91b18
UD
13967 * string/test-strchr.c: Make usable for strchrnul testing.
13968 * string/test-strchrnul.c: New file.
13969 * string/Makefile (strop-tests): Add strchrnul.
13970
a1b560ff 13971 * po/it.po: Update from translation team.
b611fb81 13972 * po/es.po: Likewise.
a1b560ff 13973
a5b81e1f
UD
139742011-10-28 Ulrich Drepper <drepper@gmail.com>
13975
fd52bc6d
UD
13976 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13977 the three constants needed as parameters. Drop the others.
13978 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13979 __m128i_strloadu_tolower.
52e4b9eb
UD
13980 Create and initialize variable zero and use it in all the places
13981 where _mm_setzero_si128 was used.
fd52bc6d 13982
a5b81e1f
UD
13983 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13984 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13985 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13986 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13987 anymore.
13988 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13989 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13990 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13991 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13992 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13993 __mpranred, __mptan.
13994 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13995 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13996 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13997 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13998 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13999 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14000 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14001 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14002 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14003
b4343346
AS
140042011-10-28 Andreas Schwab <schwab@redhat.com>
14005
0c92d8a8
AS
14006 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14007 redefine if SHARED.
14008 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14009
b4343346
AS
14010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14011 wide char related routines to wcsmbs subdir.
14012
3871f58f
AS
140132011-10-27 Andreas Schwab <schwab@redhat.com>
14014
14015 [BZ #13344]
14016 * misc/sys/cdefs.h (__THROWNL): Define.
14017 * posix/unistd.h: Use __THREADNL instead of __THREAD
14018 for memory synchronization functions.
14019
94d44d9f
RM
140202011-10-26 Roland McGrath <roland@hack.frob.com>
14021
21b64b15 14022 [BZ #13349]
94d44d9f
RM
14023 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14024 doesn't exist.
14025 * manual/stdio.texi (Obstack Streams): Node removed.
14026
f6ce9294
AS
140272011-10-26 Andreas Schwab <schwab@redhat.com>
14028
80479147
AS
14029 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14031 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14032
f6ce9294
AS
14033 * math/math_private.h (math_force_eval): Allow non-addressable
14034 arguments.
14035 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14036
618280a1
UD
140372011-10-25 Ulrich Drepper <drepper@gmail.com>
14038
e0016b11
UD
14039 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14040 file is not needed.
14041
14042 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14043 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14044 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14045 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14046 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14047 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14048 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14049 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14050 Add AVX variants.
14051 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14052 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14053 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14054 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14055 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14056 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14057 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14058 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14059 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14060 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14061 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14062 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14063 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14064 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14065 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14066 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14067 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14068 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14069 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14070
14071 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14072 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14073
618280a1
UD
14074 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14075 place. Use VEX encoding when compiling for AVX.
14076
37822576
AS
140772011-10-25 Andreas Schwab <schwab@redhat.com>
14078
1f1e1947
AS
14079 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14080 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14081
37822576
AS
14082 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14083
31ea014d
UD
140842011-10-25 Ulrich Drepper <drepper@gmail.com>
14085
d7826aa1 14086 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14087 useless if() expression.
d7826aa1
UD
14088 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14098 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14099 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14100 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14101 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14102 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14103 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14104 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14107
31ea014d
UD
14108 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14109
16437fec
AS
141102011-10-25 Andreas Schwab <schwab@redhat.com>
14111
14112 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14113 condition.
14114 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14115
31d3cc00
UD
141162011-10-25 Ulrich Drepper <drepper@gmail.com>
14117
14118 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14119 .text section. Avoid duplicate constants.
14120 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14130 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14132 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14135 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14137 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14143 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14144 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14145 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14146 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14147 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14148 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14149 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14150 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14151 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14152 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14153 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14154 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14155 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14156 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14157 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14158 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14159 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14160 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14161 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14162 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14163 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14164 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14165
58985aa9
UD
141662011-10-24 Ulrich Drepper <drepper@gmail.com>
14167
202c9deb
UD
14168 * sysdeps/x86_64/dla.h: Move to ...
14169 * sysdeps/x86_64/fpu/dla.h: ...here.
14170 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14171 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14172
af968f62
UD
14173 * config.make.in: Add have-mfma4 entry.
14174 * configure.in: Substitute libc_cv_cc_fma4.
14175 * math/Makefile (dbl-only-routines): Add sincostab.
14176 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14177 Use __sincostab not sincos.
14178 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14179 name is a macro.
14180 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14184 using __copysign.
14185 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14186 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14187 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14188 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14189 and __inv.
14190 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14191 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14192 __copysign.
14193 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14194 define aliases when function name is a macro.
14195 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14196 sysdeps/ieee754/dbl-64/sincos.tbl.
14197 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14198 fma4-enabled routines.
14199 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14200 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14201 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14202 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14203 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14204 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14205 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14206 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14207 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14208 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14209 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14210 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14211 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14212 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14213 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14214 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14215 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14216 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14217 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14218 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14219 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14220 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14222 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14223 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14224 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14225 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14226 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14227 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14228 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14229
58985aa9
UD
14230 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14231 rename.
14232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14240
a201fbcf
AS
142412011-10-24 Andreas Schwab <schwab@redhat.com>
14242
14243 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14244
fc2ee42a
LD
142452011-10-23 Ulrich Drepper <drepper@gmail.com>
14246
bb3129bd
UD
14247 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14248
0275fff8
UD
14249 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14250 prediction.
14251 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14252
2fa2ae85
UD
14253 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14254 Remove unused variable magic_bits.
14255 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14256
fc2ee42a
LD
14257 * string/strnlen.c: Define and use STRNLEN macro.
14258 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14259 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14260 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14261 * wcsmbs/wcslen.c: Define and use WCSLEN.
14262 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14263 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14264 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14265 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14266 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14267 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14268 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14269
ce7dd29f
LD
142702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14271
14272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14273 strnlen-sse2-no-bsf.
14274 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14276 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14277 Add strnlen support.
14278 (USE_AS_STRNLEN): New macro.
14279 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14280 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14281 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14282 * sysdeps/x86_64/wcslen.S: New file.
14283
979c70a3
MZ
142842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14285
14286 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14287 XMM-moves are used for copying on small sizes.
14288
2d09f82f
LD
142892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14290
14291 * wcsmbs/Makefile (strop-tests): Add wcschr.
14292 * wcsmbs/test-wcschr.c: New file.
14293 * string/test-strchr.c: Update.
14294 Add wcschr support.
14295 (WIDE): New macro.
14296
619fccca
LD
142972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14298
2d09f82f 14299 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14300 * wcsmbs/test-wcslen.c: New file.
14301 * string/test-strlen.c: Update.
14302 Add wcslen support.
14303 (WIDE): New macro.
14304
09f699ea
UD
143052011-10-23 Ulrich Drepper <drepper@gmail.com>
14306
14307 * po/it.po: Update from translation team.
14308
95584d3b
LD
143092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14310
14311 * sysdeps/x86_64/wcscmp.S: Update.
14312 Fix wrong comparison semantics.
14313 wcscmp shall use signed comparison not unsigned.
14314 Don't use substraction to avoid overflow bug.
14315 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14316 * wcsmbc/wcscmp.c: Likewise.
14317 * string/test-strcmp.c: Likewise.
14318 Add new tests to check cases with negative values.
14319
c8b3296b
UD
143202011-10-23 Ulrich Drepper <drepper@gmail.com>
14321
14322 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14323 * sysdeps/x86_64/dla.h: ...here. New file.
14324 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14333
246ad57a
AS
143342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14335
14336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14337 __ynl_finite aliases.
14338
a1a87169
UD
143392011-10-22 Ulrich Drepper <drepper@gmail.com>
14340
0d355eb7
UD
14341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14342
a1a87169
UD
14343 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14344 define DLA_FMA.
14345 [DLA_FMA] (EMULV): Use DLA_FMA.
14346 [DLA_FMA] (MUL12): Use EMULV.
14347 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14348 that are not needed.
14349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14356
ee2aafe0
AS
143572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14358
14359 * math/s_nan.c: Undef __nan.
14360 * math/s_nanf.c: Undef __nanf.
14361 * math/s_nanl.c: Undef __nanl.
14362 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14363 "math_private.h".
14364
bc62c2fb
UD
143652011-10-22 Ulrich Drepper <drepper@gmail.com>
14366
77425c63
UD
14367 * math/s_catan.c: Add branch predictions.
14368 * math/s_catanf.c: Likewise.
14369 * math/s_catanh.c: Likewise.
14370 * math/s_catanhf.c: Likewise.
14371 * math/s_catanhl.c: Likewise.
14372 * math/s_catanl.c: Likewise.
14373 * math/s_cexp.c: Likewise.
14374 * math/s_cexpf.c: Likewise.
14375 * math/s_cexpl.c: Likewise.
14376 * math/s_clog.c: Likewise.
14377 * math/s_clog10.c: Likewise.
14378 * math/s_clog10f.c: Likewise.
14379 * math/s_clog10l.c: Likewise.
14380 * math/s_clogf.c: Likewise.
14381 * math/s_clogl.c: Likewise.
14382 * math/s_csqrt.c: Likewise.
14383 * math/s_csqrtf.c: Likewise.
14384 * math/s_csqrtl.c: Likewise.
14385 * math/s_ctanf.c: Likewise.
14386 * math/s_ctanh.c: Likewise.
14387 * math/s_ctanhf.c: Likewise.
14388 * math/s_ctanhl.c: Likewise.
14389 * math/s_ctanl.c: Likewise.
14390
bc62c2fb
UD
14391 * math/math_private.h: Define __nan, __nanf, __nanl.
14392 * math/s_cacosh.c: Include <math_private.h>.
14393 * math/s_cacoshl.c: Likewise.
14394 * math/s_casinh.c: Likewise.
14395 * math/s_casinhf.c: Likewise.
14396 * math/s_casinhl.c: Likewise.
14397 * math/s_ccos.c: Rely entire on ccosh.
14398 * math/s_ccosf.c: Rely entire on ccoshf.
14399 * math/s_ccosl.c: Rely entirely on ccoshl.
14400 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14401 Remove tests for FE_INVALID.
14402 * math/s_ccoshf.c: Likewise.
14403 * math/s_ccoshl.c: Likewise.
14404 * math/s_csin.c: Likewise.
14405 * math/s_csinf.c: Likewise.
14406 * math/s_csinh.c Likewise.
14407 * math/s_csinhf.c: Likewise.
14408 * math/s_csinhl.c: Likewise.
14409 * math/s_csinl.c: Likewise.
14410 * math/s_ctan.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14412 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14413 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14414
8ec250a4
UD
144152011-10-21 Ulrich Drepper <drepper@gmail.com>
14416
c196fed8
UD
14417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14418 compilation problems.
14419
8ec250a4
UD
14420 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14421 __builtin_expect.
14422
8d4f46c6
UD
144232011-10-20 Ulrich Drepper <drepper@gmail.com>
14424
ed72b654
UD
14425 * sysdeps/i386/configure.in: Test for -mfma4 option.
14426 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14427 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14428 COMMON_CPUID_INDEX_80000001.
14429 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14430 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14431 use it if FMA3 is not supported.
14432 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14433
8d4f46c6
UD
14434 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14435 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14436
d45c60c2
AS
144372011-10-20 Andreas Schwab <schwab@redhat.com>
14438
14439 [BZ #12892]
14440 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14441 it would create a cycle with a link time dependency.
14442
d9a4d2ab
UD
144432011-10-19 Ulrich Drepper <drepper@gmail.com>
14444
855d1560
UD
14445 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14446 instruction.
14447 * string/Makefile (strop-tests): Add rawmemchr.
14448 * string/test-rawmemchr.c: New file.
14449
d9a4d2ab
UD
14450 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14452 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14453 when compiling str{,n}casecmp and when AVX is available. Hook up
14454 new optimized code in initializers.
14455
8f3b1ffe
AS
144562011-10-19 Andreas Schwab <schwab@redhat.com>
14457
14458 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14459 __feraiseexcept instead of feraiseexcept.
14460
d38f1dba
UD
144612011-10-18 Ulrich Drepper <drepper@gmail.com>
14462
d9a8d0ab
UD
14463 * math/math_private.h: Define defaults for libc_fetestexcept and
14464 libc_feupdateenv.
14465 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14466 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14467 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14468 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14469 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14470 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14471 libc_fetestexcept and libc_feupdateenv.
14472
4855e3dd
UD
14473 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14474 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14475 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14476 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14477 libc_feholdexcept_setround.
14478
581d30e3
UD
14479 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14480 Add s_nearbyint-c and s_nearbyintf-c.
14481 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14482 nearbyintf inlines.
14483 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14484 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14485 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14486 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14487
d38f1dba
UD
14488 * math/math_private.h: Define defaults for libc_fegetround,
14489 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14490 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14491 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14493 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14494 standard functions.
14495 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14496 Remove comments and hacks for old compiler versions.
14497 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14498 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14499 libc_feholdexceptl.
14500
caa6c9d8
AS
145012011-10-18 Andreas Schwab <schwab@redhat.com>
14502
14503 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14504 (__feraiseexcept_renamed): Add __NTH.
14505 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14506 namespace violations.
14507
97c066e6
UD
145082011-10-17 Ulrich Drepper <drepper@gmail.com>
14509
99ce7b04
UD
14510 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14511
1004d182
UD
14512 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14513
228a984d
UD
14514 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14515 recently added interfaces.
14516 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14517
c8553a6a
UD
14518 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14519 about macro parameter expansion.
14520
ed22dcf6
UD
14521 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14522 __NO_MATH_INLINES is defined. Cleanups.
14523
14524 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14525 and __floorf is target has SSE4.1.
14526 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14527 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14528 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14529 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14530
b171c137
UD
14531 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14532 name.
14533 (floorf): Likewise.
14534
97c066e6
UD
14535 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14536
629f62ef
AS
145372011-10-17 Andreas Schwab <schwab@redhat.com>
14538
49a43d80
AS
14539 * misc/sys/cdefs.h: Fix last change.
14540
629f62ef
AS
14541 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14542 database lookup.
14543
e453f6cd
UD
145442011-10-16 Ulrich Drepper <drepper@gmail.com>
14545
aa78043a
UD
14546 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14547
ad0f5cad
UD
14548 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14549 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14554 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14555 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14556 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14557 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14558 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14559 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14560 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14561 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14562 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14563 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14564 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14565 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14566 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14567 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14568 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14569 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14570
14571 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14572 ceil, ceilf, floor, floorf.
14573
14574 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14575 Perform IRELATIVE relocations last.
14576
e453f6cd
UD
14577 * elf/do-rel.h: Add another parameter nrelative, replacing the
14578 local variable with the same name. Change name of the function
14579 to end in Rel or Rela (uppercase).
14580 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14581 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14582 elf_dynamic_do_##reloc function.
14583
fd5bdc09
UD
145842011-10-15 Ulrich Drepper <drepper@gmail.com>
14585
79b195b5
UD
14586 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14587 is sufficient, at least on modern CPUs.
14588
d4a28569
UD
14589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14590
b61099b5
UD
14591 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14592 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14593
bcf01e6d
UD
14594 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14595 __expl_finite.
14596 * math/bits/math-finite.h: Add entries for exp.
14597 * math/e_expl.c: Add __*_finite alias.
14598 * sysdeps/i386/fpu/e_exp.S: Likewise.
14599 * sysdeps/i386/fpu/e_expf.S: Likewise.
14600 * sysdeps/i386/fpu/e_expl.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14602 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14606 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14607 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14608
ba1a0d59
UD
14609 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14610 is sufficient, at least on modern CPUs.
14611
fd5bdc09
UD
14612 * ctype/ctype-info.c (__ctype_init): Define.
14613 * include/ctype.h (__ctype_init): Declare.
14614 (__ctype_b_loc): The variable is always initialized.
14615 (__ctype_toupper_loc): Likewise.
14616 (__ctype_tolower_loc): Likewise.
14617 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14618 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14619
7872cfb0
AS
146202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14621
b468825a
AS
14622 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14623
7872cfb0
AS
14624 * configure.in: Also look in $cxxmachine/include for C++ system
14625 headers.
14626
be13f7bf
LD
146272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14628
14629 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14630 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14631 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14632 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14633 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14634 (USE_AS_WMEMCMP): New macro.
14635 Fixing indents.
14636 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14637 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14638 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14639 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14641 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14642 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14643 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14644 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14645 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14646 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14647 (USE_AS_WMEMCMP): New macro.
14648 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14649 * sysdeps/string/test-memcmp.c: Update.
14650 Fix simple_wmemcmp.
14651 Add new tests.
14652 * wcsmbs/wmemcmp.c: Update.
14653 (WMEMCMP): New macro.
14654 Fix overflow bug.
14655
556a2007
AJ
146562011-10-12 Andreas Jaeger <aj@suse.de>
14657
14658 [BZ #13268]
14659 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14660
538faaa7
UD
146612011-10-15 Ulrich Drepper <drepper@gmail.com>
14662
ab6737ff
UD
14663 * libio/iofwide.c (do_length): Avoid warning.
14664
538faaa7
UD
14665 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14666
396a21b1
UD
146672011-10-14 Ulrich Drepper <drepper@gmail.com>
14668
cdf2901f
UD
14669 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14670
38ad40ce
UD
14671 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14672 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14673 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14674 * sysdeps/i386/i686/fpu/e_log.S: New file.
14675 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14676 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14677
396a21b1
UD
14678 * ctype/ctype.h: Add support for inlined isXXX functions when
14679 compiling C++ code.
14680
6b1f68c9
AS
146812011-10-14 Andreas Schwab <schwab@redhat.com>
14682
349290c0
AS
14683 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14684
6b1f68c9
AS
14685 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14686
f2282d42
RM
146872011-10-13 Roland McGrath <roland@hack.frob.com>
14688
14689 [BZ #13291]
14690 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14691
5298ffa8
AS
146922011-10-13 Andreas Schwab <schwab@redhat.com>
14693
714fad23
AS
14694 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14695 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14696 feraiseexcept.
14697
81dcc7fb
AS
14698 * sysdeps/x86_64/memrchr.S: Check for zero size.
14699
5298ffa8
AS
14700 * string/stratcliff.c: Add memrchr tests.
14701
951fbcec
LD
147022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14703
14704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14705 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14706 rawmemchr-sse2 rawmemchr-sse2-bsf.
14707 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14708 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14709 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14710 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14711 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14712 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14713 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14714 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14715 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14716 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14717 * string/memrchr.c (MEMRCHR): New macro.
14718
0ac5ae23
UD
147192011-10-12 Ulrich Drepper <drepper@gmail.com>
14720
14721 Add integration with gcc's -ffinite-math-only and optimize wrapper
14722 functions in libm.
14723 * Versions.def: Define GLIBC_2.15 version for libm.
14724 * math/Makefile (headers): Add bits/math-finite.h.
14725 * math/bits/math-finite.h: New file.
14726 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14727 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14728 * math/e_acoshl.c: Add __*_finite alias.
14729 * math/e_acosl.c: Likewise.
14730 * math/e_asinl.c: Likewise.
14731 * math/e_atan2l.c: Likewise.
14732 * math/e_atanhl.c: Likewise.
14733 * math/e_coshl.c: Likewise.
14734 * math/e_exp10.c: Likewise.
14735 * math/e_exp10f.c: Likewise.
14736 * math/e_exp10l.c: Likewise.
14737 * math/e_exp2l.c: Likewise.
14738 * math/e_fmodl.c: Likewise.
14739 * math/e_gammal_r.c: Likewise.
14740 * math/e_hypotl.c: Likewise.
14741 * math/e_j0l.c: Likewise.
14742 * math/e_j1l.c: Likewise.
14743 * math/e_jnl.c: Likewise.
14744 * math/e_lgammal_r.c: Likewise.
14745 * math/e_log10l.c: Likewise.
14746 * math/e_log2l.c: Likewise.
14747 * math/e_logl.c: Likewise.
14748 * math/e_powl.c: Likewise.
14749 * math/e_sinhl.c: Likewise.
14750 * math/e_sqrtl.c: Likewise.
14751 * math/e_scalb.c: Completely rewritten and optimized.
14752 * math/e_scalbf.c: Likewise.
14753 * math/e_scalbl.c: Likewise.
14754 * math/w_acos.c: Likewise.
14755 * math/w_acosf.c: Likewise.
14756 * math/w_acosl.c: Likewise.
14757 * math/w_acosh.c: Likewise.
14758 * math/w_acoshf.c: Likewise.
14759 * math/w_acoshl.c: Likewise.
14760 * math/w_asin.c: Likewise.
14761 * math/w_asinf.c: Likewise.
14762 * math/w_asinl.c: Likewise.
14763 * math/w_atan2.c: Likewise.
14764 * math/w_atan2f.c: Likewise.
14765 * math/w_atan2l.c: Likewise.
14766 * math/w_atanh.c: Likewise.
14767 * math/w_atanhf.c: Likewise.
14768 * math/w_atanhl.c: Likewise.
14769 * math/w_exp10.c: Likewise.
14770 * math/w_exp10f.c: Likewise.
14771 * math/w_exp10l.c: Likewise.
14772 * math/w_fmod.c: Likewise.
14773 * math/w_fmodf.c: Likewise.
14774 * math/w_fmodl.c: Likewise.
14775 * math/w_j0.c: Likewise.
14776 * math/w_j0f.c: Likewise.
14777 * math/w_j0l.c: Likewise.
14778 * math/w_j1.c: Likewise.
14779 * math/w_j1f.c: Likewise.
14780 * math/w_j1l.c: Likewise.
14781 * math/w_jn.c: Likewise.
14782 * math/w_jnf.c: Likewise.
14783 * math/w_log.c: Likewise.
14784 * math/w_logf.c: Likewise.
14785 * math/w_logl.c: Likewise.
14786 * math/w_log10.c: Likewise.
14787 * math/w_log10f.c: Likewise.
14788 * math/w_log10l.c: Likewise.
14789 * math/w_log2.c: Likewise.
14790 * math/w_log2f.c: Likewise.
14791 * math/w_log2l.c: Likewise.
14792 * math/w_pow.c: Likewise.
14793 * math/w_powf.c: Likewise.
14794 * math/w_powl.c: Likewise.
14795 * math/w_remainder.c: Likewise.
14796 * math/w_remainderf.c: Likewise.
14797 * math/w_remainderl.c: Likewise.
14798 * math/w_scalb.c: Likewise.
14799 * math/w_scalbf.c: Likewise.
14800 * math/w_scalbl.c: Likewise.
14801 * math/w_sqrt.c: Likewise.
14802 * math/w_sqrtf.c: Likewise.
14803 * math/w_sqrtl.c: Likewise.
14804 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14805 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14806 used.
14807 * math/math_private.h: Declare __kernel_standard_f.
14808 * math/w_cosh.c: Remove cruft and optimize a bit.
14809 * math/w_coshf.c: Likewise.
14810 * math/w_coshl.c: Likewise.
14811 * math/w_exp2.c: Likewise.
14812 * math/w_exp2f.c: Likewise.
14813 * math/w_exp2l.c: Likewise.
14814 * math/w_hypot.c: Likewise.
14815 * math/w_hypotf.c: Likewise.
14816 * math/w_hypotl.c: Likewise.
14817 * math/w_lgamma.c: Likewise.
14818 * math/w_lgamma_r.c: Likewise.
14819 * math/w_lgammaf.c: Likewise.
14820 * math/w_lgammaf_r.c: Likewise.
14821 * math/w_lgammal.c: Likewise.
14822 * math/w_lgammal_r.c: Likewise.
14823 * math/w_sinh.c: Likewise.
14824 * math/w_sinhf.c: Likewise.
14825 * math/w_sinhl.c: Likewise.
14826 * math/w_tgamma.c: Likewise.
14827 * math/w_tgammaf.c: Likewise.
14828 * math/w_tgammal.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14830 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14831 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14832 Minor optimizations. Pretty printing. Remove cruft.
14833 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14834 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14835 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14837 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14838 * sysdeps/i386/fpu/e_asin.S: Likewise.
14839 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14840 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14841 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14842 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14843 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14844 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14845 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14846 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14847 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14848 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14849 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14850 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14851 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14852 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14853 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14854 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14855 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14856 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14857 * sysdeps/i386/fpu/e_log.S: Likewise.
14858 * sysdeps/i386/fpu/e_log10.S: Likewise.
14859 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14860 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14861 * sysdeps/i386/fpu/e_log2.S: Likewise.
14862 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14864 * sysdeps/i386/fpu/e_logf.S: Likewise.
14865 * sysdeps/i386/fpu/e_logl.S: Likewise.
14866 * sysdeps/i386/fpu/e_pow.S: Likewise.
14867 * sysdeps/i386/fpu/e_powf.S: Likewise.
14868 * sysdeps/i386/fpu/e_powl.S: Likewise.
14869 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14870 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14871 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14873 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14874 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14875 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14876 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14877 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14899 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14900 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14901 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14902 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14903 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14904 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14905 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14906 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14907 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14909 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14910 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14912 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14913 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14914 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14919 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14958 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14961 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14963 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14964 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14966 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14969 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14970 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14971 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14972 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14973 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14974 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14975 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14976 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14977 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14978 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14979 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14980 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14981 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14982 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14983 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14984 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14985 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14986 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14987 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14988 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14989 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14990 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14991 (__isnanf): Likewise.
14992 (__isinf_ns): Likewise.
14993 (__isinf_nsf): Likewise.
14994 (__finite): Likewise.
14995 (__finitef): Likewise.
14996 (__ieee754_sqrt): Define as macro.
14997 (__ieee754_sqrtf): Define as macro.
14998 (__ieee754_sqrtl): Define as macro.
14999 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15000 inlined copy.
15001 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15002 __FINITE_MATH_ONLY__ consistent.
15003 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15004
12cc2fcd
AS
150052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15006
a843a204
AS
15007 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15008 of rawmemchr.
15009
12cc2fcd
AS
15010 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15011
c853acd5
UD
150122011-10-09 Ulrich Drepper <drepper@gmail.com>
15013
15014 * po/ja.po: Update from translation team.
15015
c658d255
RM
150162011-10-08 Roland McGrath <roland@hack.frob.com>
15017
110946e4
RM
15018 * locale/programs/locarchive.c (prepare_address_space): New function.
15019 (create_archive, enlarge_archive, open_archive): Use it.
15020
50604220
RM
15021 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15022 inside [SHARED], where it is used.
15023
c658d255
RM
15024 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15025
15026 * nss/getent.c (netgroup_keys): Remove unused variable.
15027 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15028
6a621eb7
UD
150292011-10-08 Ulrich Drepper <drepper@gmail.com>
15030
7edb55ce
UD
15031 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15032 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15034 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15035 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15036 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15037 * math/Makefile (libm-calls): Add s_isinf_ns.
15038 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15039 * math/multc3.c: Likewise.
15040 * math/s_casin.c: Likewise.
15041 * math/s_casinf.c: Likewise.
15042 * math/s_casinl.c: Likewise.
15043 * math/s_ccos.c: Likewise.
15044 * math/s_ccosf.c: Likewise.
15045 * math/s_ccosl.c: Likewise.
15046 * math/s_ctan.c: Likewise.
15047 * math/s_ctanf.c: Likewise.
15048 * math/s_ctanh.c: Likewise.
15049 * math/s_ctanhf.c: Likewise.
15050 * math/s_ctanhl.c: Likewise.
15051 * math/s_ctanl.c: Likewise.
15052 * math/w_fmod.c: Likewise.
15053 * math/w_fmodf.c: Likewise.
15054 * math/w_fmodl.c: Likewise.
15055 * math/w_remainder.c: Likewise.
15056 * math/w_remainderf.c: Likewise.
15057 * math/w_remainderl.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15059 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15060 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15062 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15063 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15064 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15065 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15066
187da0ae
UD
15067 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15068 of the number.
15069 * stdio-common/printf_fphex.c: Likewise.
15070 * stdio-common/printf_size.c: Likewise.
15071
9277c064
UD
15072 * math/e_exp10.c: Include math_private.h using <...> not "...".
15073 * math/e_exp10f.c: Likewise.
15074 * math/e_exp10l.c: Likewise.
15075 * math/e_exp2l.c: Likewise.
15076 * math/e_j0l.c: Likewise.
15077 * math/e_j1l.c: Likewise.
15078 * math/e_jnl.c: Likewise.
15079 * math/e_lgammal_r.c: Likewise.
15080 * math/e_rem_pio2l.c: Likewise.
15081 * math/e_scalb.c: Likewise.
15082 * math/e_scalbf.c: Likewise.
15083 * math/e_scalbl.c: Likewise.
15084 * math/k_cosl.c: Likewise.
15085 * math/k_sinl.c: Likewise.
15086 * math/k_tanl.c: Likewise.
15087 * math/s_cacoshf.c: Likewise.
15088 * math/s_catan.c: Likewise.
15089 * math/s_catanf.c: Likewise.
15090 * math/s_catanh.c: Likewise.
15091 * math/s_catanhf.c: Likewise.
15092 * math/s_catanhl.c: Likewise.
15093 * math/s_catanl.c: Likewise.
15094 * math/s_ccosh.c: Likewise.
15095 * math/s_ccoshf.c: Likewise.
15096 * math/s_ccoshl.c: Likewise.
15097 * math/s_cexp.c: Likewise.
15098 * math/s_cexpf.c: Likewise.
15099 * math/s_cexpl.c: Likewise.
15100 * math/s_clog.c: Likewise.
15101 * math/s_clog10.c: Likewise.
15102 * math/s_clog10f.c: Likewise.
15103 * math/s_clog10l.c: Likewise.
15104 * math/s_clogf.c: Likewise.
15105 * math/s_clogl.c: Likewise.
15106 * math/s_csin.c: Likewise.
15107 * math/s_csinf.c: Likewise.
15108 * math/s_csinh.c: Likewise.
15109 * math/s_csinhf.c: Likewise.
15110 * math/s_csinhl.c: Likewise.
15111 * math/s_csinl.c: Likewise.
15112 * math/s_csqrt.c: Likewise.
15113 * math/s_csqrtf.c: Likewise.
15114 * math/s_csqrtl.c: Likewise.
15115 * math/s_ctan.c: Likewise.
15116 * math/s_ctanf.c: Likewise.
15117 * math/s_ctanh.c: Likewise.
15118 * math/s_ctanhf.c: Likewise.
15119 * math/s_ctanhl.c: Likewise.
15120 * math/s_ctanl.c: Likewise.
15121 * math/s_ldexp.c: Likewise.
15122 * math/s_ldexpf.c: Likewise.
15123 * math/s_ldexpl.c: Likewise.
15124 * math/s_significand.c: Likewise.
15125 * math/s_significandf.c: Likewise.
15126 * math/s_significandl.c: Likewise.
15127 * math/w_acos.c: Likewise.
15128 * math/w_acosf.c: Likewise.
15129 * math/w_acosh.c: Likewise.
15130 * math/w_acoshf.c: Likewise.
15131 * math/w_acoshl.c: Likewise.
15132 * math/w_acosl.c: Likewise.
15133 * math/w_asin.c: Likewise.
15134 * math/w_asinf.c: Likewise.
15135 * math/w_asinl.c: Likewise.
15136 * math/w_atan2.c: Likewise.
15137 * math/w_atan2f.c: Likewise.
15138 * math/w_atan2l.c: Likewise.
15139 * math/w_atanh.c: Likewise.
15140 * math/w_atanhf.c: Likewise.
15141 * math/w_atanhl.c: Likewise.
15142 * math/w_cosh.c: Likewise.
15143 * math/w_coshf.c: Likewise.
15144 * math/w_coshl.c: Likewise.
15145 * math/w_dremf.c: Likewise.
15146 * math/w_exp10.c: Likewise.
15147 * math/w_exp10f.c: Likewise.
15148 * math/w_exp10l.c: Likewise.
15149 * math/w_exp2.c: Likewise.
15150 * math/w_exp2f.c: Likewise.
15151 * math/w_fmod.c: Likewise.
15152 * math/w_fmodf.c: Likewise.
15153 * math/w_fmodl.c: Likewise.
15154 * math/w_hypot.c: Likewise.
15155 * math/w_hypotf.c: Likewise.
15156 * math/w_hypotl.c: Likewise.
15157 * math/w_j0.c: Likewise.
15158 * math/w_j0f.c: Likewise.
15159 * math/w_j0l.c: Likewise.
15160 * math/w_j1.c: Likewise.
15161 * math/w_j1f.c: Likewise.
15162 * math/w_j1l.c: Likewise.
15163 * math/w_jn.c: Likewise.
15164 * math/w_jnf.c: Likewise.
15165 * math/w_jnl.c: Likewise.
15166 * math/w_lgamma.c: Likewise.
15167 * math/w_lgamma_r.c: Likewise.
15168 * math/w_lgammaf.c: Likewise.
15169 * math/w_lgammaf_r.c: Likewise.
15170 * math/w_lgammal.c: Likewise.
15171 * math/w_lgammal_r.c: Likewise.
15172 * math/w_log.c: Likewise.
15173 * math/w_log10.c: Likewise.
15174 * math/w_log10f.c: Likewise.
15175 * math/w_log10l.c: Likewise.
15176 * math/w_log2.c: Likewise.
15177 * math/w_log2f.c: Likewise.
15178 * math/w_log2l.c: Likewise.
15179 * math/w_logf.c: Likewise.
15180 * math/w_logl.c: Likewise.
15181 * math/w_pow.c: Likewise.
15182 * math/w_powf.c: Likewise.
15183 * math/w_powl.c: Likewise.
15184 * math/w_remainder.c: Likewise.
15185 * math/w_remainderf.c: Likewise.
15186 * math/w_remainderl.c: Likewise.
15187 * math/w_scalb.c: Likewise.
15188 * math/w_scalbf.c: Likewise.
15189 * math/w_scalbl.c: Likewise.
15190 * math/w_sinh.c: Likewise.
15191 * math/w_sinhf.c: Likewise.
15192 * math/w_sinhl.c: Likewise.
15193 * math/w_sqrt.c: Likewise.
15194 * math/w_sqrtf.c: Likewise.
15195 * math/w_sqrtl.c: Likewise.
15196 * math/w_tgamma.c: Likewise.
15197 * math/w_tgammaf.c: Likewise.
15198 * math/w_tgammal.c: Likewise.
15199
6a621eb7
UD
15200 * po/ja.po: Update from translation team.
15201
bf582445
AJ
152022011-09-29 Andreas Jaeger <aj@suse.de>
15203
f9efbf3a
AJ
15204 [BZ #13179]
15205 * sunrpc/netname.c (netname2host): Fix logic.
15206
bf582445
AJ
15207 [BZ #6779]
15208 [BZ #6783]
15209 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15210 correctly.
15211 * math/w_remainder.c (__remainder): Likewise.
15212 * math/w_remainderf.c (__remainderf): Likewise.
15213 * math/libm-test.inc (remainder_test): Add test cases.
15214
48693bea
AK
152152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15216
15217 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15218 sdiv_qrnnd.
15219
42622229
LD
152202011-10-07 Ulrich Drepper <drepper@gmail.com>
15221
15222 * string/test-memcmp.c: Avoid unncessary #defines.
15223 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15224
093ecf92
LD
152252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15226
15227 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15228 Use new sse2 version for core i3 - i7 as it's faster
15229 than sse42 version.
15230 (bit_Prefer_PMINUB_for_stringop): New.
15231 * sysdeps/x86_64/rawmemchr.S: Update.
15232 Replace with faster SSE2 version.
15233 * sysdeps/x86_64/memrchr.S: New file.
15234 * sysdeps/x86_64/memchr.S: Update.
15235 Replace with faster SSE2 version.
15236
fde56e5c
MP
152372011-09-12 Marek Polacek <mpolacek@redhat.com>
15238
15239 * elf/dl-load.c (lose): Add cast to avoid warning.
15240
21fd49a9
UD
152412011-10-07 Ulrich Drepper <drepper@gmail.com>
15242
5a06e643
UD
15243 * po/ca.po: Update from translation team.
15244
684ae515
UD
15245 * inet/getnetgrent_r.c: Hook up nscd.
15246 * nscd/Makefile (routines): Add nscd_netgroup.
15247 (nscd-modules): Add netgroupcache.
15248 (CFLAGS-netgroupcache.c): Define.
15249 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15250 (cache_search): Add const to second parameter.
15251 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15252 INNETGR.
15253 (dbs): Add netgrdb entry.
15254 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15255 (verify_persistent_db): Handle netgrdb.
15256 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15257 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15258 GETFDNETGR.
15259 (netgroup_response_header): Define.
15260 (innetgroup_response_header): Define.
15261 (datahead): Add netgroup_response_header and innetgroup_response_header
15262 elements.
15263 * nscd/nscd.conf: Add entries for netgroup cache.
15264 * nscd/nscd.h (dbtype): Add netgrdb.
15265 (_PATH_NSCD_NETGROUP_DB): Define.
15266 (netgroup_iov_disabled): Declare.
15267 (xmalloc, xcalloc, xrealloc): Move declarations here.
15268 (cache_search): Adjust prototype.
15269 Add netgroup-related prototypes.
15270 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15271 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15272 (__nscd_innetgr): Declare.
15273 * nscd/selinux.c (perms): Use access_vector_t as element type and
15274 add netgroup-related initializers.
15275 * nscd/netgroupcache.c: New file.
15276 * nscd/nscd_netgroup.c: New file.
15277 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15278 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15279 For four parameters use innetgr.
15280 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15281 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15282 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15283 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15284
21fd49a9
UD
15285 * nscd/connections.c (register_traced_file): Don't register file
15286 for disabled databases.
15287
054c0457
UD
152882011-10-06 Ulrich Drepper <drepper@gmail.com>
15289
32b63198
UD
15290 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15291
054c0457
UD
15292 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15293 from tree and freeing node.
15294
64031225
JO
152952011-09-25 Jiri Olsa <jolsa@redhat.com>
15296
15297 * nss/nsswitch.c (__nss_database_lookup): Handle
15298 nss_parse_service_list out of memory case.
15299
0490345c
JO
153002011-09-15 Jiri Olsa <jolsa@redhat.com>
15301
15302 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15303 out of memory case.
15304
3a62d00d
AS
153052011-10-04 Andreas Schwab <schwab@redhat.com>
15306
15307 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15308 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15309 pass it down.
15310 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15311 elf_machine_rela, elf_machine_lazy_rel.
15312 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15313 (ELF_DYNAMIC_DO_REL): Likewise.
15314 (ELF_DYNAMIC_DO_RELA): Likewise.
15315 (ELF_DYNAMIC_RELOCATE): Likewise.
15316 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15317 to ELF_DYNAMIC_DO_REL.
15318 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15319 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15320 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15321 elf_machine_rela.
15322 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15323 skip_ifunc, don't call ifunc function if non-zero.
15324 (elf_machine_rela): Likewise.
15325 (elf_machine_lazy_rel): Likewise.
15326 (elf_machine_lazy_rela): Likewise.
15327 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15328 (elf_machine_lazy_rel): Likewise.
15329 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15330 Likewise.
15331 (elf_machine_lazy_rel): Likewise.
15332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15333 Likewise.
15334 (elf_machine_lazy_rel): Likewise.
15335 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15336 (elf_machine_lazy_rel): Likewise.
15337 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15338 (elf_machine_lazy_rel): Likewise.
15339 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15340 (elf_machine_lazy_rel): Likewise.
15341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15342 (elf_machine_lazy_rel): Likewise.
15343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15344 (elf_machine_lazy_rel): Likewise.
15345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15346 (elf_machine_lazy_rel): Likewise.
15347
68577918
UD
153482011-09-28 Ulrich Drepper <drepper@gmail.com>
15349
15350 * nss/nss_files/files-init.c (_nss_files_init): Use static
15351 initialization for all the *_traced_file variables.
15352
68822d74
AS
153532011-09-28 Andreas Schwab <schwab@redhat.com>
15354
15355 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15356
2056100b
RM
153572011-09-27 Roland McGrath <roland@hack.frob.com>
15358
15359 [BZ #13226]
15360 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15361
32c76b63
AS
153622011-09-27 Andreas Schwab <schwab@redhat.com>
15363
15364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15365 Reread the line before reparsing it.
15366
bf972c9d
AS
153672011-09-26 Andreas Schwab <schwab@redhat.com>
15368
15369 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15370
e057a1b5
JM
153712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15372 Maxim Kuvyrkov <maxim@codesourcery.com>
15373 Joseph Myers <joseph@codesourcery.com>
15374
15375 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15376 if needed for __stack_chk_guard.
15377
bc7e1c36
RM
153782011-09-19 Roland McGrath <roland@hack.frob.com>
15379
ecb1482f
RM
15380 * sysdeps/posix/spawni.c (script_execute): Always define it.
15381 It will be optimized away if unused.
15382 (maybe_script_execute): New function.
15383 (__spawni): Call it.
15384
bc7e1c36
RM
15385 * Makerules: Don't include tls.make.
15386 (config-tls): Always set to thread.
15387 * tls.make.c: File removed.
15388
1c3b002b
MF
153892011-09-19 Mike Frysinger <vapier@gentoo.org>
15390
15391 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15392 * config.make.in (CPPFLAGS-config): New substituted variable.
15393
2840865d
UD
153942011-09-15 Ulrich Drepper <drepper@gmail.com>
15395
88738eb6
UD
15396 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15397
cbf645a6 15398 [BZ #13192]
2840865d
UD
15399 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15400 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15401
b402e91a
RM
154022011-09-15 Roland McGrath <roland@hack.frob.com>
15403
15404 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15405 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15407 (CALL_FAIL): Likewise.
15408 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15409 (CALL_FAIL): Macro removed.
15410 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15411
4c1a1f71
UD
154122011-09-15 Ulrich Drepper <drepper@gmail.com>
15413
15414 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15415 for __FINITE_MATH_ONLY__ == 1.
15416
edc121be
AS
154172011-09-15 Andreas Schwab <schwab@redhat.com>
15418
15419 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15420 __ieee754_sqrt instead of sqrt.
15421 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15422 __ieee754_sqrtf instead of sqrtf.
15423 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15424 __floorf instead of floorf.
15425 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15426 __floorf, __truncf instead of floorf, truncf.
15427
cd205654
UD
154282011-09-14 Ulrich Drepper <drepper@gmail.com>
15429
ee4d0315
UD
15430 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15431
cd205654
UD
15432 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15433 __extern_always_inline.
15434 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15435 32-bit.
15436
48b67d71
AS
154372011-09-14 Andreas Schwab <schwab@redhat.com>
15438
15439 * elf/rtld.c (dl_main): Also relocate in dependency order when
15440 doing symbol dependency testing.
15441
1ae12c75
AS
154422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15443
15444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15445 Always define `refsym'.
15446
995a80df
AS
154472011-09-13 Andreas Schwab <schwab@redhat.com>
15448
e529793b
AS
15449 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15450 (__FD_ELT): Renamed from __FDELT.
15451 * misc/bits/select2.h (__FD_ELT): Likewise.
15452 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15453 __FD_MASK instead of __FDELT, __FDMASK.
15454 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15455 Likewise.
15456 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15457 Likewise.
15458
52d4fef8
AS
15459 * elf/Makefile (gen-ldd): Fix pattern.
15460
995a80df
AS
15461 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15462 (init_tls): Likewise.
15463
8682f8b0
UD
154642011-09-12 Ulrich Drepper <drepper@gmail.com>
15465
15466 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15467
de82006d
AS
154682011-09-12 Andreas Schwab <schwab@redhat.com>
15469
a7c8e6a1
AS
15470 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15471 `struct cmsghdr *' instead of `void *'.
15472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15473 Likewise.
15474
0f31fe77
AS
154752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15476
15477 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15478 if non-absolute.
15479 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15480 ldd_rewrite_script.
0f31fe77 15481
32b4c839
UD
154822011-09-11 Ulrich Drepper <drepper@gmail.com>
15483
83cd1420
UD
15484 * configure.in: Remove --with-tls option.
15485 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15486 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15487 out in case it is missing.
15488 * sysdeps/ia64/elf/configure.in: Likewise.
15489 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15490 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15491 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15492 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15493 * sysdeps/sh/elf/configure.in: Likewise.
15494 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15495 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15496 * sysdeps/x86_64/elf/configure.in: Likewise.
15497 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15498 * sysdeps/mach/hurd/tls.h: Likewise.
15499
633f745d
UD
15500 [BZ #13067]
15501 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15502
f318beb8
UD
15503 [BZ #13090]
15504 * configure.in: Fix use of AC_INIT.
15505
32b4c839
UD
15506 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15507
3ce1f295
UD
155082011-09-10 Ulrich Drepper <drepper@gmail.com>
15509
bb016596
UD
15510 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15511 __set_errno.
8e58439c
UD
15512 * malloc/hooks.c: Likewise.
15513
aebae053 15514 [BZ #11929]
02d46fc4
UD
15515 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15516 variables statically.
15517 (narenas): Initialize.
15518 (list_lock): Initialize.
bb016596
UD
15519 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15520 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15521 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15522 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15523 Add initializers to main_arena and mp_.
15524 (malloc_state): Remove pagesize member. Change all users to use
15525 GLRO(dl_pagesize).
15526
15527 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15528 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15529 is always initialized.
15530
22a89187
UD
15531 * malloc/malloc.c: Removed unused configurations and dead code.
15532 * malloc/arena.c: Likewise.
15533 * malloc/hooks.c: Likewise.
02d46fc4 15534 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15535
d063d164
UD
15536 * include/tls.h: Removed. USE___THREAD must always be defined.
15537 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15538 * elf/dl-libc.c: Likewise.
15539 * elf/dl-tsd.c: Likewise.
15540 * include/errno.h: Likewise.
15541 * include/netdb.h: Likewise.
15542 * include/resolv.h: Likewise.
15543 * inet/herrno-loc.c: Likewise.
15544 * inet/herrno.c: Likewise.
15545 * malloc/arena.c: Likewise.
15546 * malloc/hooks.c: Likewise.
15547 * malloc/malloc.c: Likewise.
15548 * resolv/res-state.c: Likewise.
15549 * resolv/res_libc.c: Likewise.
15550 * sysdeps/i386/dl-machine.h: Likewise.
15551 * sysdeps/ia64/dl-machine.h: Likewise.
15552 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15553 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15554 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15555 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15556 * sysdeps/sh/dl-machine.h: Likewise.
15557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15558 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15559 * sysdeps/unix/i386/sysdep.S: Likewise.
15560 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15561 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15565 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15566 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15570 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15571 * sysdeps/x86_64/dl-machine.h: Likewise.
15572 * tls.make.c: Likewise.
15573
3ce1f295
UD
15574 * configure.in: Remove --with-__thread option. Make tests for
15575 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15576 tls_model attribute fail if no support is available. Remove
15577 USE_IN_LIBIO.
15578 * Makeconfig: Adjust for dropped configure option. All features are
15579 now mandatory.
15580 * Makerules: Likewise.
15581 * Versions.def: Likewise.
15582 * argp/argp-fmtstream.c: Likewise.
15583 * argp/argp-fmtstream.h: Likewise.
15584 * argp/argp-help.c: Likewise.
15585 * assert/assert.c: Likewise.
15586 * config.h.in: Likewise.
15587 * config.make.in: Likewise.
15588 * configure: Likewise.
15589 * configure.in: Likewise.
15590 * csu/Versions: Likewise.
15591 * csu/init.c: Likewise.
15592 * elf/tst-audit2.c: Likewise.
15593 * elf/tst-tls10.c: Likewise.
15594 * elf/tst-tls10.h: Likewise.
15595 * elf/tst-tls11.c: Likewise.
15596 * elf/tst-tls12.c: Likewise.
15597 * elf/tst-tls14.c: Likewise.
15598 * elf/tst-tlsmod11.c: Likewise.
15599 * elf/tst-tlsmod12.c: Likewise.
15600 * elf/tst-tlsmod13.c: Likewise.
15601 * elf/tst-tlsmod13a.c: Likewise.
15602 * elf/tst-tlsmod14a.c: Likewise.
15603 * elf/tst-tlsmod15b.c: Likewise.
15604 * elf/tst-tlsmod16a.c: Likewise.
15605 * elf/tst-tlsmod16b.c: Likewise.
15606 * elf/tst-tlsmod7.c: Likewise.
15607 * elf/tst-tlsmod8.c: Likewise.
15608 * elf/tst-tlsmod9.c: Likewise.
15609 * gmon/gmon.c: Likewise.
15610 * grp/fgetgrent_r.c: Likewise.
15611 * grp/putgrent.c: Likewise.
15612 * hurd/fopenport.c: Likewise.
15613 * include/libc-symbols.h: Likewise.
15614 * include/tls.h: Likewise.
15615 * intl/gettextP.h: Likewise.
15616 * intl/loadinfo.h: Likewise.
15617 * locale/global-locale.c: Likewise.
15618 * locale/localeinfo.h: Likewise.
15619 * mach/devstream.c: Likewise.
15620 * malloc/arena.c: Likewise.
15621 * malloc/set-freeres.c: Likewise.
15622 * misc/err.c: Likewise.
15623 * misc/getttyent.c: Likewise.
15624 * misc/mntent_r.c: Likewise.
15625 * posix/getopt.c: Likewise.
15626 * posix/wordexp.c: Likewise.
15627 * pwd/fgetpwent_r.c: Likewise.
15628 * resolv/Versions: Likewise.
15629 * resolv/res_hconf.c: Likewise.
15630 * shadow/fgetspent_r.c: Likewise.
15631 * shadow/putspent.c: Likewise.
15632 * stdio-common/printf_fphex.c: Likewise.
15633 * stdio-common/tmpfile.c: Likewise.
15634 * stdlib/abort.c: Likewise.
15635 * stdlib/fmtmsg.c: Likewise.
15636 * sunrpc/auth_unix.c: Likewise.
15637 * sunrpc/clnt_perr.c: Likewise.
15638 * sunrpc/clnt_tcp.c: Likewise.
15639 * sunrpc/clnt_udp.c: Likewise.
15640 * sunrpc/clnt_unix.c: Likewise.
15641 * sunrpc/openchild.c: Likewise.
15642 * sunrpc/svc_simple.c: Likewise.
15643 * sunrpc/svc_tcp.c: Likewise.
15644 * sunrpc/svc_udp.c: Likewise.
15645 * sunrpc/svc_unix.c: Likewise.
15646 * sunrpc/xdr.c: Likewise.
15647 * sunrpc/xdr_array.c: Likewise.
15648 * sunrpc/xdr_rec.c: Likewise.
15649 * sunrpc/xdr_ref.c: Likewise.
15650 * sunrpc/xdr_stdio.c: Likewise.
15651
1248c1c4
PB
156522011-09-09 Ulrich Drepper <drepper@gmail.com>
15653
15654 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15655
156562011-07-03 Andreas Jaeger <aj@suse.de>
15657
15658 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15659 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15660 regenerate with gen-libm-tests.pl.
15661
156622010-05-12 Petr Baudis <pasky@suse.cz>
15663
15664 [BZ #11589]
15665 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15666 around j0() zero points by switching to j1().
15667 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15670 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15671
f22e1074
UD
156722011-09-09 Ulrich Drepper <drepper@gmail.com>
15673
f19009c1
UD
15674 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15675 instead of 0.
15676 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15677 instead of 0. .
15678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15679 Patch in part by Pavel Roskin <proski@gnu.org>.
15680
3f8cc204
UD
15681 [BZ #13138]
15682 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15683 realloc.
15684 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15685 Free memory block if necessary.
15686
f22e1074
UD
15687 [BZ #12847]
15688 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15689 be NULL. Don't lock in this case.
15690
0a2349f9
RM
156912011-09-09 Roland McGrath <roland@hack.frob.com>
15692
15693 * elf/elf.h (ELFOSABI_GNU): New macro.
15694 (ELFOSABI_LINUX): Define to that.
15695
f3cdd467
DZ
156962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15697
15698 * string/strncat.c (strncat): Undef the symbol in case it has been
15699 defined in bits/string.h.
15700
74718d13
UD
157012011-09-09 Ulrich Drepper <drepper@gmail.com>
15702
633e9e0f
UD
15703 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15704
0a2349f9 15705 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15706 link map.
15707
f9924780
AJ
157082011-08-17 Andreas Jaeger <aj@suse.de>
15709
15710 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15711
7f5517aa
PP
157122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15713 Ian Lance Taylor <iant@google.com>
15714
15715 * math/libm-test.inc (lround_test): New testcase.
15716 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15717
762011fe
UD
157182011-09-08 Ulrich Drepper <drepper@gmail.com>
15719
92963737
UD
15720 * Makefile: Remove support for automatic cvs check-ins.
15721 * Makerules: Likewise.
15722 * config.make.in: Likewise.
15723 * configure.in: Likewise.
15724 * intl/Makefile: Likewise.
15725 * locale/Makefile: Likewise.
15726 * po/Makefile: Likewise.
15727 * posix/Makefile: Likewise.
15728 * sysdeps/gnu/Makefile: Likewise.
15729 * sysdeps/mach/hurd/Makefile: Likewise.
15730 * sysdeps/sparc/sparc32/Makefile: Likewise.
15731
b0727fd8
JS
15732 [BZ #13118]
15733 * posix/Makefile (bug-regex32-ENV): Define.
15734 Patch by John Stanley <jpsinthemix@verizon.net>.
15735
a0f33f99
UD
15736 * misc/Makefile (headers): Add bits/select2.h.
15737 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15738 * misc/bits/select2.h: New file.
15739 * include/bits/select2.h: New file.
15740 * debug/Makefile (routines): Add fdelt_chk.
15741 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15742 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15743 FD_ISSET.
15744 * debug/fdelt_chk.c: New file.
15745
762011fe
UD
15746 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15747 * wcsmbs/test-wmemcmp.c: Likewise.
15748 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15749 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15750
157512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15752
15753 * string/Makefile (strop-tests): Add memcmp.
15754 * string/test-wmemcmp.c: New file.
15755 * string/test-memcmp.c: Add wmemcmp support.
15756
7f513ec8
RM
157572011-09-08 Roland McGrath <roland@hack.frob.com>
15758
0442afb4
RM
15759 [BZ #13153]
15760 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15761 2011-07-19 change.
15762
7f513ec8
RM
15763 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15764 garbage value in a __mach_port_mod_refs call in the cases of the
15765 task-self and thread-self ports.
15766
a12b2239
ST
157672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15768
15769 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15770
610f9ab4
AS
157712011-09-08 Andreas Schwab <schwab@redhat.com>
15772
7f513ec8 15773 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15774
48882a1a
LD
157752011-09-07 Ulrich Drepper <drepper@gmail.com>
15776
b49865be
UD
15777 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15778
fdc86bc9
UD
15779 * elf/dl-libc.c (dlerror_run): Pass back error code from
15780 dl_catch_error.
15781
c966526a
UD
15782 [BZ #13123]
15783 * elf/dl-load.c (lose): Free l_origin if it is valid.
15784
48882a1a
LD
15785 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15786 names.
15787 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15790 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15791 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15792 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15793
77a2a8b4
AZ
157942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795
15796 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15797 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15798 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15799 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15800 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15801 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15802 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15803 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15804 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15805 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15806
24f579d8
AM
158072011-08-15 Alan Modra <amodra@gmail.com>
15808
15809 [BZ #13092]
15810 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15811 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15812 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15813 ppc_mcount to static-only-routines.
15814 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15815 __mcount_internal.
15816 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15817 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15818
3d4837df
UD
158192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15820
15821 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15822 for finite and infinity parameters.
15823
22700377
WS
158242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15825
15826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15827 and add nop instructions for throughput optimization.
15828 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15829
5025581e
WS
158302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15831
15832 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15833 aligned copy for power7 with vector-scalar instructions.
15834 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15835
08a300c9
L
158362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15837
15838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15839 AVX check.
15840
59178ef9
AS
158412011-09-07 Andreas Schwab <schwab@redhat.com>
15842
15843 [BZ #13144]
15844 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15845 last change.
15846
e38ba7ab
UD
158472011-09-07 Ulrich Drepper <drepper@gmail.com>
15848
15849 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15850 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15851 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15852 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15853 clock_gettime.
15854
d53a73ac
UD
158552011-09-06 Ulrich Drepper <drepper@gmail.com>
15856
fc8bffcc
UD
15857 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15858 Forgot to demangle the pointer.
15859
ceaa0c5d
UD
15860 * sysdeps/i386/sysdep.h: Define atom_text_section.
15861 * sysdeps/x86_64/sysdep.h: Likewise.
15862 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15863 section with atom_text_section.
15864 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15865 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15866 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15868 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15869
a77d3c17
UD
15870 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15871 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15872 already be defined. Change to take two parameters and don't assign
15873 result to variable. Adjust all users.
15874 Define INTERNAL_GETTIME if not already defined.
15875 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15876 call.
15877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15878 HAVE_CLOCK_GETTIME_VSYSCALL.
15879 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15880
d53a73ac
UD
15881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15882 gettimeofday vsyscall, just use time.
15883
a8f84144
AS
158842011-09-06 Andreas Schwab <schwab@redhat.com>
15885
15886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15887 <errno.h>.
15888
ef606249
UD
158892011-09-06 Ulrich Drepper <drepper@gmail.com>
15890
15891 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15892 syscall on x86-64.
15893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15894 syscall.
15895 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15897 syscall if possible.
15898
6585cb60
UD
158992011-09-05 Ulrich Drepper <drepper@gmail.com>
15900
15901 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15902 e_ident. Don't pass to find_mapsXX.
15903 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15904
a5f524e4
LD
159052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15906
15907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15908 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15909 * sysdeps/x86_64/multiarch/strchr.S: Update.
15910 Check bit_slow_BSF bit.
15911 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15912 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15914
554881ef
UD
159152011-09-05 Ulrich Drepper <drepper@gmail.com>
15916
d96de963
UD
15917 [BZ #13134]
15918 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15919 before glibc 2.15.
15920 (tryshell): Define.
15921 (__spawni): Change last parameter to be flag. Test
15922 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15923 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15924 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15925 * posix/spawni.c: Likewise.
15926 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15927 * posix/spawnp.c: Likewise. Change normal version to use
15928 SPAWN_XFLAGS_USE_PATH.
15929 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15930 SPAWN_XFLAGS_TRY_SHELL.
15931
d48e5868
UD
15932 [BZ #13150]
15933 * posix/glob.h: Remove gcc 1.x support.
15934
554881ef
UD
15935 [BZ #13068]
15936 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15937
693fb948
LD
159382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15939
15940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15941 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15942 strrchr-sse2-bsf
15943 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15944 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15945 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15946 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15947 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15948 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15949
1b48c537
UD
159502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15951
49d42c37
UD
15952 * sysdeps/x86_64/wcscmp.S: New file.
15953
1b48c537
UD
15954 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15955 wcscmp-c wcscmp-sse2
15956 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15957 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15958 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15959 * wcsmbs/wcscmp.c: Allow renaming.
15960
15c95c5d
DM
159612011-09-05 David S. Miller <davem@davemloft.net>
15962
15963 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15964 stack slot, rather than the struct return pointer slot.
15965 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15966 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15968 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15969
2f0ad8f3
UD
159702011-09-05 Ulrich Drepper <drepper@gmail.com>
15971
d88ae418
UD
15972 * po/ja.po: Update from translation team.
15973
2f0ad8f3
UD
15974 [BZ #13144]
15975 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15976 kernel in 64-bit binaries.
15977
5f4318d1
DM
159782011-09-01 David S. Miller <davem@davemloft.net>
15979
15980 * elf/elf.h (HWCAP_SPARC_*): Move to..
15981 * sysdeps/sparc/sysdep.h: this new file and add new values.
15982 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15983 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15984 _DL_HWCAP_COUNT to 24.
15985 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15986 entries.
15987 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15988 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15989 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15991 instead of magic constants.
15992 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15993
3ba57516
DM
159942011-08-31 David S. Miller <davem@davemloft.net>
15995
15996 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15998 Reimplement to do errno handling inline.
15999 (SYSCALL_ERROR_HANDLER): New macro.
16000 (__SYSCALL_STRING): Do not do errno handling in asm.
16001 (__CLONE_SYSCALL_STRING): Delete.
16002 (__INTERNAL_SYSCALL_STRING): Delete.
16003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16004 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16005 (PSEUDO): Reimplement to do errno handling inline.
16006 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16007 (SYSCALL_ERROR_HANDLER): New macro.
16008 (__SYSCALL_STRING): Do not do errno handling in asm.
16009 (__CLONE_SYSCALL_STRING): Delete.
16010 (__INTERNAL_SYSCALL_STRING): Delete.
16011 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16012 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16013 i386.
16014 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16015 (inline_syscall*): Add 'err' argument.
16016 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16017 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16018 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16019 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16020
16021 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16022 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16023
2bc17433
AS
160242011-08-30 Andreas Schwab <schwab@redhat.com>
16025
16026 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16027
fbeb5f4d
JO
160282011-08-29 Jiri Olsa <jolsa@redhat.com>
16029
16030 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16031 directive.
16032
ad69cc26
DM
160332011-08-24 David S. Miller <davem@davemloft.net>
16034
16035 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16036
39dd69df
AS
160372011-08-24 Andreas Schwab <schwab@redhat.com>
16038
16039 * elf/Makefile: Add rules to build and run unload8 test.
16040 * elf/unload8.c: New file.
16041 * elf/unload8mod1.c: New file.
16042 * elf/unload8mod1x.c: New file.
16043 * elf/unload8mod2.c: New file.
16044 * elf/unload8mod3.c: New file.
16045
16046 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16047 it wasn't used.
16048
2c0b250a
DM
160492011-08-23 David S. Miller <davem@davemloft.net>
16050
16051 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16052 subtract stack bias.
16053 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16054 %sp not %fp in calculations.
16055 (_JMPBUF_UNWINDS_ADJ): Likewise.
16056
22044b48
DM
16057 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16058 (aio_suspend): Call it to force an exception region around the
16059 AIO_MISC_WAIT() invocation.
16060
2cae4995
AS
160612011-08-23 Andreas Schwab <schwab@redhat.com>
16062
16063 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16064 backslash.
16065
873a772e
AJ
160662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16067
16068 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16069 protection macro.
16070 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16071 and <dl-machine.h>.
16072 (Elf64_FuncDesc): Remove.
16073
25ad0df1
DM
160742011-08-22 David S. Miller <davem@davemloft.net>
16075
16076 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16077 sigaltstack check, add missing cfi directives.
16078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16079 missing cfi directives, and sigaltstack handling.
16080
e888bcbe
AS
160812011-08-16 Andreas Schwab <schwab@redhat.com>
16082
16083 [BZ #11724]
16084 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16085 object is seen twice.
16086 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16087
16088 * elf/Makefile (distribute): Add tst-initorder2.c.
16089 (tests): Add tst-initorder2.
16090 (modules-names): Add tst-initorder2a tst-initorder2b
16091 tst-initorder2c tst-initorder2d. Add rules to build them.
16092 ($(objpfx)tst-initorder2.out): New rule.
16093 * elf/tst-initorder2.c: New file.
16094 * elf/tst-initorder2.exp: New file.
16095
87162f46
AS
160962011-08-22 Andreas Schwab <schwab@redhat.com>
16097
70538b7f
AS
16098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16099
f55ffe58
AS
16100 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16101 dependencies back to end of function.
16102
87162f46
AS
16103 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16104 $(elfobjdir)/ld.so.
16105
91b392a4
UD
161062011-08-21 Ulrich Drepper <drepper@gmail.com>
16107
16108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16109 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16111 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16112 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16113 of __vdso_gettimeofday.
16114 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16115 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16116 attribute_hidden.
16117 (_libc_vdso_platform_setup): Remove initialization of
16118 __vdso_gettimeofday and __vdso_time.
16119
5c43483f
UD
161202011-08-20 Ulrich Drepper <drepper@gmail.com>
16121
775a77e7
UD
16122 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16123 and fgetc_unlocked.
16124 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16125 getc_unlocked.
89f447ed 16126
49c74ba9
UD
16127 * elf/dl-open.c (add_to_global): Report additions to the global scope
16128 for LD_DEBUG=scopes.
16129 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16130 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16131
5c43483f
UD
16132 [BZ #13114]
16133 * stdio-common/Makefile (tests): Add bug24.
16134 * stdio-common/bug24.c: New file.
16135
a101b025
AJ
161362011-08-19 Andreas Jaeger <aj@suse.de>
16137
16138 [BZ #13114]
16139 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16140 non-existant file when using close-on-exec mode.
16141
c88f1766
UD
161422011-08-20 Ulrich Drepper <drepper@gmail.com>
16143
0276a718
UD
16144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16145 the very first instruction.
16146
c88f1766
UD
16147 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16148 the CFI state in the end.
16149 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16150 inclusion of dl-trampoline.h.
16151 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16152
51ccffa0
AS
161532011-08-19 Andreas Schwab <schwab@redhat.com>
16154
94d7165f
AS
16155 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16156 expectations for long double.
16157
51ccffa0
AS
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16159 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16160
fd708658 161612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16162
16163 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16164 artificual limit depends upon the system page size.
16165
44f0a71e
UD
161662011-08-17 Ulrich Drepper <drepper@gmail.com>
16167
16168 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16169 * resolv/Makefile: Define CFLAGS-libresolv.
16170
8de79a24
AS
161712011-08-17 Andreas Schwab <schwab@redhat.com>
16172
16173 * nss/makedb.c (compute_tables): Make variables used in nested
16174 function static.
16175
27724598
UD
161762011-08-17 Ulrich Drepper <drepper@gmail.com>
16177
c5305d88
UD
16178 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16179 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16180 if buffer was too small.
16181
27724598
UD
16182 * elf/pldd.c (main): Attach to all threads in the process.
16183 Rewrite /proc handling to use *at functions.
16184
076fe015
UD
161852011-08-16 Ulrich Drepper <drepper@gmail.com>
16186
174baab3
UD
16187 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16188 specifies first scope to show.
16189 (dl_open_worker): Update callers. Move printing scope of new
16190 object to before the relocation.
44f0a71e 16191 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16192 * sysdeps/generic/ldsodefs.h: Update declaration.
16193
076fe015
UD
16194 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16195 string for the scope number.
16196
a60df2c3
UD
161972011-08-14 Ulrich Drepper <drepper@gmail.com>
16198
16199 * nscd/servicescache.c (cache_addserv): Make sure written is always
16200 initialized.
16201
5e4287d1
RM
162022011-08-14 Roland McGrath <roland@hack.frob.com>
16203
85ae0589
RM
16204 * sysdeps/i386/i486/bits/atomic.h
16205 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16206 statement expression, so as to suppress "set but not used" warning.
16207 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16208
69f63097
RM
16209 * string/strncat.c (STRNCAT): Use prototype definition.
16210
675456ef
RM
16211 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16212 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16213 -Iprograms here.
16214 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16215 (localedef-modules): Add localedef.
16216 (locale-modules): Add locale.
16217
5e4287d1
RM
16218 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16219 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16220 to avoid a warning.
16221
9c96ff23
DM
162222011-08-14 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16225 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16226
f9ddf089
UD
162272011-08-13 Ulrich Drepper <drepper@gmail.com>
16228
44f0a71e 16229 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16230 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16231 * elf/rtld.c (dl_main): Set l_name of vDSO.
16232 Call _dl_show_scope when DL_DEBUG_SCOPES.
16233 (process_dl_debug): Recognize scopes flag and also set it for all.
16234 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16235 Declare _dl_show_scope.
16236
1dc27704
UD
16237 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16238 (do_dlopen): Pass caller_dlopen to dl_open.
16239 (__libc_dlopen_mode): Initialize caller_dlopen.
16240
f9ddf089
UD
16241 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16242 of libc. Make tolower call locale-independent. Optimize a bit by
16243 using isdigit instead of isalnum.
16244 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16245
9ac533d3
UD
162462011-08-12 Ulrich Drepper <drepper@gmail.com>
16247
16248 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16249 was a dependency or dynamically loaded.
16250
89edf2e9
UD
162512011-08-11 Ulrich Drepper <drepper@gmail.com>
16252
8e999d29
UD
16253 * intl/l10nflist.c: Allow architecture-specific pop function.
16254 * sysdeps/x86_64/l10nflist.c: New file.
16255
89edf2e9
UD
16256 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16257 classification.
16258
14d96785
AS
162592011-08-10 Andreas Schwab <schwab@redhat.com>
16260
16261 * include/dirent.h: Add libc_hidden_proto for scandirat and
16262 scandirat64. Don't declare __scandirat64.
16263 * dirent/scandirat.c: Add libc_hidden_def.
16264 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16265 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16266
6761ac04
DM
162672011-08-10 David S. Miller <davem@davemloft.net>
16268
16269 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16270 enum.
16271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16274
c55fbd1e
UD
162752011-08-09 Ulrich Drepper <drepper@gmail.com>
16276
16277 * Versions.def [libc]: Add GLIBC_2.15.
16278 * dirent/Makefile (routines): Add scandirat and scandirat64.
16279 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16280 GLIBC_2.15.
16281 * dirent/dirent.h: Declare scandirat and scandirat64.
16282 * dirent/scandirat.c: New file.
16283 * dirent/scandirat64.c: New file.
16284 * sysdeps/wordsize-64/scandirat.c: New file.
16285 * sysdeps/wordsize-64/scandirat64.c: New file.
16286 * dirent/opendir.c: Define opendirat.
16287 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16288 using scandirat.
16289 * dirent/scandir64.c: Adjust for scandir.c change.
16290 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16291 __scandirat64, and __scandir_cancel_handler.
16292 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16293 additional parameter and use openat instead of open (outside of ld.so).
16294 Add new __opendir as wrapper around __opendirat.
16295 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16296 here without requiring old scandirat implementation.
16297
879165f2
UD
162982011-08-08 Ulrich Drepper <drepper@gmail.com>
16299
16300 * dirent/scandir.c (cancel_handler): Renamed to
16301 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16302 defined. Adjust users.
16303 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16304 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16305
cb7e923b
UD
163062011-08-04 Ulrich Drepper <drepper@gmail.com>
16307
16292edd
UD
16308 * string/test-string.h (IMPL): Use __STRING to expand name and then
16309 stringify it.
16310
cb7e923b
UD
16311 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16312 of cleanups.
16313
cff82933
LD
163142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16315
16316 * string/Makefile: Update.
16317 (strop-tests): Append strncat.
16318 * string/test-wcscmp.c: New file.
16319 New comprehensive test for wcscmp.
16320 * string/test-strcmp.c: Update.
16321 (WIDE): New define.
16322
9be9bfcc
AS
163232011-07-22 Andreas Schwab <schwab@redhat.com>
16324
16325 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16326 line.
16327
2e96f1c7
AS
163282011-07-26 Andreas Schwab <schwab@redhat.com>
16329
16330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16331 encoding to ACE if AI_IDN.
16332
85188888
JJ
163332011-08-01 Jakub Jelinek <jakub@redhat.com>
16334
16335 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16336 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16337
5fa16e9b
LD
163382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16339
16340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16341 Fix overflow bug in strncat.
16342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16343
16344 * string/test-strncat.c: Update.
16345 Add new tests for checking overflow bugs.
16346
163472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16348
16349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16350 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16351 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16352 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16353 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16354 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16355 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16356 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16357 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16358
16359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16360 (USE_AS_STRCAT): Define.
16361 Add strcat and strncat support.
16362 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16363
8c1a459f
AS
163642011-07-25 Andreas Schwab <schwab@redhat.com>
16365
16366 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16367 __n bigger than INT_MAX+1.
16368 (__strncmp_g): Likewise.
16369
bba33c28
UD
163702011-07-23 Ulrich Drepper <drepper@gmail.com>
16371
798be72d
UD
16372 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16373 * libio/stido.h: Likewise.
16374
8accd4dc
UD
16375 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16376 (AF_NFC): Define.
16377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16378 (AF_NFC): Define.
16379
cbff0d96
UD
16380 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16383 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16385
9191c04a
UD
16386 [BZ #13021]
16387 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16388 installed.
16389
bba33c28
UD
16390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16391 typo.
16392 (_dl_x86_64_save_sse): Likewise.
16393
90f139dd
UD
163942011-07-22 Ulrich Drepper <drepper@gmail.com>
16395
1aae088a
UD
16396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16397 OSXSAVE.
16398 (_dl_x86_64_save_sse): Likewise.
16399
8e2045f5
UD
16400 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16401
90f139dd
UD
16402 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16403
1d002f25
AS
164042011-07-21 Andreas Schwab <schwab@redhat.com>
16405
16406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16407 change.
16408 (_dl_x86_64_save_sse): Use correct AVX check.
16409
21137f89
UD
164102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16411
16412 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16413 bug in strncpy/strncat.
16414 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16415
a65c0b7a
UD
164162011-07-21 Ulrich Drepper <drepper@gmail.com>
16417
16418 * string/tester.c (test_strcat): Add tests for different alignments
16419 of source and destination.
16420 (test_strncat): Likewise.
16421
6986b98a
UD
164222011-07-20 Ulrich Drepper <drepper@gmail.com>
16423
90bb2039
UD
16424 [BZ #12852]
16425 * posix/glob.c (glob): Check passed in values before using them in
16426 expressions to avoid some overflows.
16427 (glob_in_dir): Likewise.
16428
5644ef54
UD
16429 [BZ #13007]
16430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16431 check for AVX enablement so that we don't crash with old kernels and
16432 new hardware.
16433 * elf/tst-audit4.c: Add same checks here.
16434 * elf/tst-audit6.c: Likewise.
16435
16436 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16437
bfc9dc9b
AS
164382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16439
16440 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16441
702e64bb
UD
164422011-07-20 Ulrich Drepper <drepper@gmail.com>
16443
16444 * po/cs.po: Update from translation team.
16445 * po/bg.po: Likewise.
16446
295e904f
MP
164472011-07-12 Marek Polacek <mpolacek@redhat.com>
16448
16449 * misc/sys/cdefs.h: Add support for const attribute.
16450 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16451 to gnu_dev_{major,minor,makedev} functions.
16452
3ff94596
MP
164532011-07-20 Marek Polacek <mpolacek@redhat.com>
16454
16455 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16456
28b59fca
AS
164572011-07-20 Andreas Schwab <schwab@redhat.com>
16458
16459 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16460 strlen results.
16461
19df733e
AK
164622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16463
16464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16465 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16466 register in order to avoid conflicts with the soft frame pointer
16467 being held in r11 when necessary.
16468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16469 (INTERNAL_VSYSCALL_NCS): Likewise.
16470
c8835729
MP
164712011-07-14 Marek Polacek <mpolacek@redhat.com>
16472
16473 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16474 * elf/dl-fini.c (_dl_fini): Adjust caller.
16475 * elf/dl-close.c (_dl_close_worker): Likewise.
16476 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16477
b902330c
MP
164782011-07-15 Marek Polacek <mpolacek@redhat.com>
16479
8991e135
MP
16480 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16481 "aux_cache->nlibs < 0".
16482
b902330c
MP
16483 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16484 in the reload-count case.
16485
99710781
LD
164862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16487
16488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16489 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16490 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16491 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16492 * sysdeps/x86_64/multiarch/strcat.S: New file.
16493 * sysdeps/x86_64/multiarch/strncat.S: New file.
16494 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16495 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16496 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16497 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16498 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16499 (USE_AS_STRCAT): Define.
16500 Add strcat and strncat support.
16501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16502 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16503 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16504 * string/strncat.c: Update.
16505 (USE_AS_STRNCAT): Define.
16506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16507 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16508 and i7.
16509 * sysdeps/x86_64/multiarch/init-arch.h
16510 (bit_Prefer_PMINUB_for_stringop): New.
16511 (index_Prefer_PMINUB_for_stringop): Likewise.
16512 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16513 bit_Prefer_PMINUB_for_stringop.
16514
7dc6bd90
UD
165152011-07-19 Ulrich Drepper <drepper@gmail.com>
16516
16517 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16518 buffer64.
16519 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16520 of casting of buffer.
16521 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16522 buffer32 and buffer64.
16523 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16524 writes instead of casting of buffer.
16525 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16526 buffer32.
16527 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16528 casting of buffer.
16529
e0e72284
AS
165302011-07-19 Andreas Schwab <schwab@redhat.com>
16531
16532 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16533
feb1eb0b
UD
165342011-07-19 Ulrich Drepper <drepper@gmail.com>
16535
16536 * nscd/nscd.c (termination_handler): Don't do anything for a database
16537 if it has not yet been initialized.
16538
298711ff
UD
165392011-07-18 Ulrich Drepper <drepper@gmail.com>
16540
16541 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16542
165432011-07-15 Marek Polacek <mpolacek@redhat.com>
16544
16545 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16546
f9d68389
UD
165472011-07-18 Ulrich Drepper <drepper@gmail.com>
16548
16549 * po/nl.po: Update from translation team.
16550 * po/sv.po: Likewise.
16551
db290cf5
RM
165522011-07-16 Roland McGrath <roland@hack.frob.com>
16553
16554 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16555 now disallowed by GCC.
5c550700 16556
fd5e21c7
RM
16557 * configure.in (use-default-link): Default to yes if a test -shared
16558 link meets our qualifications.
16559 * configure: Regenerated.
16560
5c550700
RM
16561 * config.make.in (output-format): New variable.
16562 * configure.in: Check for ld --print-output-format support.
16563 * configure: Regenerated.
16564 * Makerules ($(common-objpfx)format.lds)
16565 [$(output-format) != unknown]: Just use $(output-format),
16566 instead of the linker-script munging.
16567
9fa2c032
RM
165682011-07-14 Roland McGrath <roland@hack.frob.com>
16569
a6928d51
RM
16570 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16571 of $(common-objpfx)shlib.lds.
16572 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16573
661607b3
RM
16574 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16575 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16576
9fa2c032
RM
16577 * configure.in (-z relro check): Adjust test code to add a large
16578 writable data section after it.
16579 * configure: Regenerated.
16580
defe9061
RM
165812011-07-11 Roland McGrath <roland@hack.frob.com>
16582
16583 * configure.in (-z relro check): Fix test code to make the variable
16584 truly const.
16585 * configure: Regenerated.
16586
319b9ad4
UD
165872011-07-11 Ulrich Drepper <drepper@gmail.com>
16588
16589 * nscd/nscd.h (struct traced_file): Define.
16590 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16591 elements. Add traced_files.
16592 (inotify_fd): Declare.
16593 (register_traced_file): Declare.
16594 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16595 (inotify_fd): Export.
16596 (resolv_conf_descr): Remove.
16597 (nscd_init): Move inotify descriptor creation to main.
16598 Don't register files for notification here.
16599 (register_traced_file): New function.
16600 (invalidate_cache): Don't use reset_res to determine whether to call
16601 res_init, go through the list of registered files.
16602 (main_loop_poll): The inotify descriptors are now stored in the
16603 structures for the traced files.
16604 (main_loop_epoll): Likewise
16605 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16606 to __nss_disable_nscd.
16607 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16608 for a database anymore. Check the records for all the registered
16609 files instead.
16610 * nss/Makefile (libnss_files-routines): Add files-init.
16611 (libnss_db-routines): Add db-init.
16612 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16613 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16614 * nss/nss_db/db-init.c: New file.
16615 * nss/nss_files/files-init.c: New file.
16616 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16617 __nss_lookup_function.
16618 (__nss_lookup_function): Call nss_load_library.
16619 (nss_load_all_libraries): New function.
16620 (__nss_disable_nscd): Take parameter with callback function for files
16621 to register. Set is_nscd. Load all the DSOs for the NSS modules
16622 used for the cached services.
16623 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16624 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16625 options for features to all the files in nscd.
16626
16627 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16628
23bee3e8
RM
166292011-07-10 Roland McGrath <roland@hack.frob.com>
16630
16631 * csu/elf-init.c (__libc_csu_init): Comment typo.
16632
46a5b7f0
UD
166332011-07-09 Ulrich Drepper <drepper@gmail.com>
16634
16635 * po/pl.po: Update from translation team.
16636 * po/ja.po: Likewise.
16637 * po/ru.po: Likewise.
16638 * po/ko.po: Likewise.
16639 * po/fr.po: Likewise.
16640
d30cf5bb
RM
166412011-07-09 Roland McGrath <roland@hack.frob.com>
16642
113ddea4
RM
16643 * configure.in (.ctors/.dtors header and trailer check):
16644 Use an empirical test on a built program.
16645 * configure: Regenerated.
16646
574920b4
RM
16647 * configure.in (-z relro check): Use an empirical test on a built DSO.
16648 Detect, but do not require, on ia64.
16649 * configure: Regenerated.
16650
d30cf5bb
RM
16651 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16652 Update tests that use readelf to use $READELF instead.
16653 * configure: Regenerated.
16654
8538fdb3
UD
166552011-07-08 Ulrich Drepper <drepper@gmail.com>
16656
16657 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16658 if the result is not used.
16659
04d08991
AJ
166602011-07-05 Andreas Jaeger <aj@suse.de>
16661
16662 [BZ#9696]
16663 * stdlib/tst-strtod.c: Add testcase.
16664
de283087
AD
166652011-07-07 Ulrich Drepper <drepper@gmail.com>
16666
4e5f31c8 16667 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16668 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16669 The latter has a higher limit. Take additional parameter to pass to
16670 the new function.
16671 (__pathconf): Pass file to __statfs_link_max.
16672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16673 __statfs_link_max.
16674 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16675 __statfs_link_max.
16676
de283087
AD
16677 [BZ #12868]
16678 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16679 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16680 Handle Lustre.
16681 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16682 (__statfs_filesize_max): Likewise.
16683 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16684
c75fa153
AJ
166852011-07-05 Andreas Jaeger <aj@suse.de>
16686
16687 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16688
1a544854
UD
166892011-07-06 Marek Polacek <mpolacek@redhat.com>
16690
16691 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16692 `status' variable.
16693 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16694 Likewise.
16695
6f0eec67
UD
166962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16697
16698 * Makefile (strop-tests): Add strncat.
16699 * string/test-strncat.c: New file.
16700
aae30307
UD
167012011-06-30 Marek Polacek <mpolacek@redhat.com>
16702
16703 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16704
c0cfb5eb
UD
167052011-06-21 Andreas Jaeger <aj@suse.de>
16706
16707 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16708 Copy rule from iconvdata/Makefile.
16709
01636b21
UD
167102011-07-06 Ulrich Drepper <drepper@gmail.com>
16711
16712 [BZ #12922]
16713 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16714 but no long options are defined, just return 'W'.
16715
9895c8bc
UD
167162011-06-22 Marek Polacek <mpolacek@redhat.com>
16717
16718 [BZ #9696]
16719 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16720
5d4cf042
UD
167212011-07-06 Ulrich Drepper <drepper@gmail.com>
16722
16723 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16724 netgroups to read.
960e5535 16725 (innetgr): Likewise.
5d4cf042 16726
751eb97e
RM
167272011-07-05 Roland McGrath <roland@hack.frob.com>
16728
16729 * config.make.in (install_root): Default to $(DESTDIR).
16730
f15f1e45
UD
167312011-07-05 Ulrich Drepper <drepper@gmail.com>
16732
16733 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16734
4e34ac6a
RM
167352011-07-02 Roland McGrath <roland@hack.frob.com>
16736
5e9b6af4
RM
16737 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16738
84f9ea0f
RM
16739 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16740 containing directory rather than embedding absolute directory names.
16741
ea5ee9f7
RM
16742 * scripts/check-local-headers.sh: Rewritten using awk.
16743 Match by word, not by line. Print error messages for matches.
16744 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16745
1b74661a
RM
16746 * Makerules [shlib-lds-flags empty]:
16747 ($(common-objpfx)libc_pic.opts): New target.
16748 ($(common-objpfx)libc_pic.os.clean): New target.
16749 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16750
16751 * config.make.in (OBJCOPY): New variable.
16752 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16753 * configure: Regenerated.
16754
f781ef40
RM
16755 * config.make.in (use-default-link): New variable.
16756 * configure.in (use_default_link): Grok --with-default-link to set it.
16757 * configure: Regenerated.
16758 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16759 (shlib-lds, shlib-lds-flags): Define to empty.
16760
2d4fa81e
RM
16761 * Makerules (shlib-lds): New variable.
16762 (shlib-lds-flags): New variable.
16763 (build-shlib, build-moduile, build-module-asneeded): Use it.
16764 ($(common-objpfx)libc.so): Use $(shlib-lds).
16765 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16766 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16767
31fffa6b
RM
16768 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16769 DT_FLAGS/DT_FLAGS_1 with zero flags.
16770
4e34ac6a
RM
16771 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16772 linker script munging.
16773
fcfc776b
UD
167742011-07-02 Ulrich Drepper <drepper@gmail.com>
16775
16776 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16777 as 128-bit value.
16778 * crypt/sha512.c (sha512_process_block): Perform total addition using
16779 128-bit if possible.
16780 (__sha512_finish_ctx): Likewise.
16781 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16782 as 64-bit value.
16783 * crypt/sha256.c (SWAP64): Define.
16784 (sha256_process_block): Perform total addition using 64-bit if
16785 possible.
16786 (__sha256_finish_ctx): Likewise.
16787
99231d9a
UD
167882011-07-01 Ulrich Drepper <drepper@gmail.com>
16789
16790 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16791 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16792 * nscd/hstcache.c (cache_addhst): Likewise.
16793 * nscd/grpcache.c (cache_addgr): Likewise.
16794 * nscd/aicache.c (addhstaiX): Likewise
16795 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16796
445b4a53
TK
167972011-07-01 Thorsten Kukuk <kukuk@suse.de>
16798
16799 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16801 * nscd/hstcache.c (cache_addhst): Likewise.
16802 * nscd/grpcache.c (cache_addgr): Likewise.
16803 * nscd/aicache.c (addhstaiX): Likewise
16804
6d4d8e8e
AS
168052011-07-01 Andreas Schwab <schwab@redhat.com>
16806
16807 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16808 domain only when needed.
16809
89f654c5
AS
168102011-06-30 Andreas Schwab <schwab@redhat.com>
16811
16812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16813 is always restored.
16814
cf3b23ff
UD
168152011-06-29 Ulrich Drepper <drepper@gmail.com>
16816
16817 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16818 are re-adding the entry.
16819 * nscd/servicescache.c (cache_addserv): Likewise.
16820
751626f9
AJ
168212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16822
16823 * sysdeps/generic/dl-irel.h: fix protection against multiple
16824 inclusions.
16825 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16826
9113ea1f
UD
168272011-06-28 Ulrich Drepper <drepper@gmail.com>
16828
5c0b8d90
UD
16829 [BZ #12935]
16830 * malloc/memusage.sh: Fix quoting in message.
16831 * debug/xtrace.sh: Likewise.
16832
9113ea1f
UD
16833 * configure.in: Remove support for --experimental-malloc option, make
16834 it the default.
16835 * config.make.in: Likewise.
16836 * malloc/Makefile: Likewise.
16837
a4172181
AS
168382011-06-27 Andreas Schwab <schwab@redhat.com>
16839
16840 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16841 two-byte characters.
16842
78a7eee7
RM
168432011-06-27 Roland McGrath <roland@hack.frob.com>
16844
62bede13
RM
16845 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16846 AC_CACHE_CHECK invocation.
16847 * configure: Regenerated.
16848
78a7eee7
RM
16849 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16850
5ce33a62
UD
168512011-06-27 Ulrich Drepper <drepper@gmail.com>
16852
034807a9
UD
16853 [BZ #12350]
16854 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16855 bit from old_res_options.
16856
4902da17
UD
16857 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16858
5ce33a62
UD
16859 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16860 value type for setfct.
16861
c2344f56
L
168622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16863
16864 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16865 __gettimeofday instead of gettimeofday.
16866
68468076
UD
168672011-06-26 Ulrich Drepper <drepper@gmail.com>
16868
16869 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16870
acb0d739
L
168712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16872
16873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16874
16875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16876 info.
16877
8912479f
L
168782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16879
16880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16881 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16882 strcpy-sse2-unaligned strncpy-sse2-unaligned
16883 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16884 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16885 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16886 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16887 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16888 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16889 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16890 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16891 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16892 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16893 (STRCPY): Support SSE2 and SSSE3 versions.
16894
d5495a11
UD
168952011-06-24 Ulrich Drepper <drepper@gmail.com>
16896
16897 [BZ #12874]
16898 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16899 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16900 kernels which artificially limit size of requests.
16901
0b1cbaae
L
169022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16903
16904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16905 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16906 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16907 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16908 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16909 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16910 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16911 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16912 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16913 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16914 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16915 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16916 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16917 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16918 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16920 Enable unaligned load optimization for Intel Core i3, i5 and i7
16921 processors.
16922 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16923 Define.
16924 (index_Fast_Unaligned_Load): Define.
16925 (HAS_FAST_UNALIGNED_LOAD): Define.
16926
07f494a0
MP
169272011-06-23 Marek Polacek <mpolacek@redhat.com>
16928
16929 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16930
fa3fc0fe
UD
169312011-06-22 Ulrich Drepper <drepper@gmail.com>
16932
16933 [BZ #12907]
16934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16935 until it is clear that the information is realy needed.
16936 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16937
e12df166
AS
169382011-06-22 Andreas Schwab <schwab@redhat.com>
16939
16940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16941
852eb34d
UD
169422011-06-22 Ulrich Drepper <drepper@gmail.com>
16943
84e2a551
UD
16944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16945 /sys/devices/system/cpu/online if it is usable.
16946
852eb34d
UD
16947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16948 reading the information from the /proc filesystem to once a second.
16949
6e502e19
UD
169502011-06-21 Andreas Jaeger <aj@suse.de>
16951
16952 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16953 NULL after inclusion of kernel headers.
16954
75d39ff2
UD
169552011-06-21 Ulrich Drepper <drepper@gmail.com>
16956
51f9aa6a
UD
16957 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16958 calls to internal_setent.
16959
c0244a9d
UD
16960 [BZ #12885]
16961 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16962 addresses using gethostbyname4_r ignore IPv4 addresses.
16963
c5e3c2ae
UD
16964 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16965 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16966
75d39ff2
UD
16967 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16968
42675c6f
DM
169692011-06-20 David S. Miller <davem@davemloft.net>
16970
16971 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16972 inclusions.
16973 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16974
16975 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16976 (elf_irel): Use it.
16977 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16978 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16979 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16980 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16981 * sysdeps/x86_64/dl-irel.h: Likewise.
16982
16983 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16984 * elf/dl-sym.c: Likewise.
16985
57912a71
UD
169862011-06-15 Ulrich Drepper <drepper@gmail.com>
16987
16988 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16989 need to dereference resplen2.
16990
ee22793d
AS
169912011-06-14 Andreas Schwab <schwab@redhat.com>
16992
16993 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16994
a9e836b0
UD
169952011-06-15 Ulrich Drepper <drepper@gmail.com>
16996
77fb9117
UD
16997 * Makeconfig: Define vardbdir and inst_vardbdir.
16998 * nss/Makefile: Add rules to install db-Makefile.
16999
40c1b22c
UD
17000 * nss/nss_db/db-XXX.c: Cleanup.
17001
9f2da732
UD
17002 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17003 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17004 GLIBC_PRIVATE.
17005 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17006 * nss/makedb.c: Implement -g option to specify that value strings
17007 are generated and should not be added to table iterated over for
17008 get*ent calls.
17009 * nss/nss_db/db-initgroups.c: New file.
17010
82e9a1f7
UD
17011 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17012 interface.
17013
c41af17e
UD
17014 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17015 (internal_getgrouplist): Adjust to name change.
17016 Update use_initgroups_entry if this is not the first call.
17017 * nss/databases.def: Add initgroups entry.
17018
a9e836b0
UD
17019 * nss/makedb.c (compute_tables): Check result of multiple hash table
17020 sizes to minimize maximum chain length.
17021
2666d441
UD
170222011-06-14 Ulrich Drepper <drepper@gmail.com>
17023
17024 * Versions.def: Add entry for libnss_db.
17025 * shlib-versions: Likewise.
17026 * nss/Makefile: Add rules to build libnss_db.
17027 * nss/Versions: Add libnss_db information. Organize libnss_files
17028 entries better.
17029 * nss/db-Makefile: Add gshadow support. Change rules for the new
17030 makedb progra. Some minor improvements to generate smaller files.
17031 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17032 here from...
17033 * nss/makedb.c: ...here.
17034 Improve database format to be smaller and require less memory at
17035 runtime.
17036 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17037 db anymore.
17038 * nss/nss_db/db-netgrp.c: Likewise.
17039 * nss/nss_db/db-open.c: Likewise.
17040 * nss/nss_files/flies-XXX.x: Adjust comments.
17041 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17042 * nss/nss_files/files-grp.c: Likewise.
17043 * nss/nss_files/files-hosts.c: Likewise.
17044 * nss/nss_files/files-network.c: Likewise.
17045 * nss/nss_files/files-proto.c: Likewise.
17046 * nss/nss_files/files-pwd.c: Likewise.
17047 * nss/nss_files/files-rpc.c: Likewise.
17048 * nss/nss_files/files-service.c: Likewise.
17049 * nss/nss_files/files-sgrp.c: Likewise.
17050 * nss/nss_files/files-spwd.c: Likewise.
17051 * nss/nss_db/db-alias.c: Removed.
17052 * nss/nss_db/dummy-db.h: Removed.
17053
9ee76b5a
UD
170542011-06-02 Ulrich Drepper <drepper@gmail.com>
17055
17056 * nss/makedb.c: Rewritten to not use database library.
17057 * nss/Makefile: Update to build new makedb program.
17058
c71ca1f8
AJ
170592011-06-14 Andreas Jaeger <aj@suse.de>
17060
17061 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17062 memset declaration.
17063
3154bfb8
UD
170642011-06-10 Andreas Schwab <schwab@redhat.com>
17065
17066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17067 tmpbuf.
17068
b350afab
RM
170692011-06-10 Roland McGrath <roland@hack.frob.com>
17070
decd4e50
RM
17071 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17072 * elf/Makefile ($(objpfx)ld.so): Likewise.
17073
5615eaf2
RM
17074 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17075 Don't list ld.so twice in dependencies.
17076
17077 * posix/bug-regex31.c: Include <stdlib.h>.
17078
17079 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17080
17081 * nis/nss_compat/compat-spwd.c
17082 (getspent_next_nss_netgr): Remove unused variable.
17083 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17084
17085 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17086 nonmembers" output to use the right array.
17087
17088 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17089
17090 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17091
17092 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17093 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17094 * catgets/gencat.c (read_input_file): Likewise.
17095 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17096
17097 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17098 variable definition inside #if's controlling its use.
17099
17100 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17101
17102 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17103
17104 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17105
17106 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17107 unreachable code.
17108
17109 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17110
b68e08db
RM
17111 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17112 * configure: Regenerated.
17113
b350afab
RM
17114 * Makerules: Revert last change.
17115 * elf/Makefile: Likewise.
17116
28368601
RM
171172011-06-09 Roland McGrath <roland@hack.frob.com>
17118
17119 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17120 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17121 (reloc-link): Likewise.
17122
11988f8f
UD
171232011-06-09 Ulrich Drepper <drepper@gmail.com>
17124
17125 * elf/Makefile: Add rules to build pldd.
17126 * elf/pldd.c: New file.
17127 * elf/pldd-xx.c: New file.
17128
e80fab37
UD
171292011-06-07 Ulrich Drepper <drepper@gmail.com>
17130
17131 * version.h: Update for 2.15 development version.
17132
9b849836
DM
171332011-06-07 David S. Miller <davem@davemloft.net>
17134
17135 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17136 ifuncs.
17137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17138 elf_machine_lazy_rel): Likewise.
17139 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17141 elf_machine_lazy_rel): Likewise.
17142 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17143 dl_hwcap via passed in argument.
17144 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17145 Likewise.
17146
5a31b283
AK
171472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17148
17149 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17150
069e52f8
RM
171512011-06-06 Roland McGrath <roland@hack.frob.com>
17152
17153 [BZ #12849]
17154 * manual/fdl-1.1.texi: New file, verbatim from:
17155 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17156 * manual/lgpl-2.1.texi: New file, verbatim from:
17157 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17158 * manual/Makefile (licenses): New variable, list those new file names.
17159 (texis): Use it.
17160 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17161
17162 * manual/fdl.texi: File removed.
17163 * manual/lesser.texi: File removed.
17164 * manual/libc.texinfo (Copying, Documentation License):
17165 Use new @include file names, put @appendix directive before @include.
17166
f16846a5
JJ
171672011-06-04 Jakub Jelinek <jakub@redhat.com>
17168
17169 [BZ #12841]
17170 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17171 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17172 (mq_open): Add __NTH.
17173
3d29045b
L
171742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17175
17176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17177 Assume Intel Core i3/i5/i7 processor if AVX is available.
17178
8c297311
UD
171792011-05-31 Ulrich Drepper <drepper@gmail.com>
17180
17181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17182 typo.
17183
c8fc0c91
UD
171842011-05-31 Andreas Schwab <schwab@redhat.com>
17185
17186 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17187 memory. Use alloca_account. Fix memory leak when retrying.
17188
5b27a807
UD
171892011-05-31 Ulrich Drepper <drepper@gmail.com>
17190
356f8bc6
UD
17191 * version.h (RELEASE): Bump for 2.14 release.
17192 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17193
5b27a807
UD
17194 * config.make.in (RANLIB): Remove entry.
17195
01f16ab0
UD
171962011-05-30 Ulrich Drepper <drepper@gmail.com>
17197
41fce8bd
UD
17198 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17199 (libc.pot): Work around missing support for .ksh extension in xgettext.
17200
4769ae77
UD
17201 [BZ #12684]
17202 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17203 if both request failed.
17204 (send_dg): In case of server errors clear resplen or *resplen2.
17205
6b1e7d19
UD
17206 [BZ #12454]
17207 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17208 when there are multiple maps.
17209 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17210 (_dl_fini): Remove test here.
17211
01f16ab0
UD
17212 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17213
b1ebd700
UD
172142011-05-29 Ulrich Drepper <drepper@gmail.com>
17215
7ae22829
UD
17216 [BZ #12350]
17217 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17218 bit from old_res_options.
17219 (gaih_inet): Likewise.
17220
553149f6 17221 [BZ #11099]
18a84741 17222 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17223 as signed.
17224
652ffab1
UD
17225 * resolv/res_init.c (res_setoptions): Make the code more compact.
17226
16985fd0
UD
17227 [BZ #11558]
17228 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17229 set RES_USEVC.
17230
0464f746
UD
17231 [BZ #11634]
17232 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17233
7d17596c
UD
17234 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17235
cf6bbbd7
UD
17236 [BZ #11781]
17237 * malloc/malloc.h: Declare malloc hook variables as volatile.
17238
13f1ab36
UD
17239 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17240 in last patch.
17241
b1ebd700
UD
17242 [BZ #11799]
17243 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17244 raise in the comment.
80e2212d
UD
17245 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17246 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17247 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17248
ce67228d
UD
172492011-05-28 Ulrich Drepper <drepper@gmail.com>
17250
8887a920
UD
17251 [BZ #12811]
17252 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17253 grow the buffers more if it already has to be sufficient.
17254 (build_wcs_upper_buffer): Likewise.
17255 * posix/regexec.c (check_matching): Likewise.
17256 (clean_state_log_if_needed): Likewise.
17257 (extend_buffers): Don't enlarge buffers beyond size of the input
17258 buffer.
17259 Patches mostly by Emil Wojak <emil@wojak.eu>.
17260 * posix/bug-regex32.c: New file.
17261 * posix/Makefile (tests): Add bug-regex32.
17262
4f031072
UD
17263 * locale/findlocale.c (_nl_find_locale): Return right away if
17264 _nl_explode_name failed.
17265 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17266
d0478f0c
UD
17267 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17268
de81b246
UD
17269 * debug/xtrace.sh: Unify messages.
17270 * malloc/memusage.sh: Likewise.
17271
c738465a
UD
17272 [BZ #12813]
17273 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17274 time symbol from vDSO. Substitute with vsyscall if not available.
17275 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17276 __vdso_time.
17277
f1f929d7
UD
17278 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17279 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17280 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17281 Add sendmmsg and internal_sendmmsg.
17282 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17283 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17285
ce67228d
UD
17286 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17287 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17289
e57420c6
UD
172902011-05-27 Ulrich Drepper <drepper@gmail.com>
17291
a8509ca5
UD
17292 [BZ #12813]
17293 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17294 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17295 available.
17296 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17297 __vdso_getcpu.
17298
e57420c6
UD
17299 [BZ #12814]
17300 * iconvdata/Makefile (tests): Add bug-iconv9.
17301 * iconvdata/bug-iconv9.c: New file.
17302
4d07db15
AS
173032011-05-27 Andreas Schwab <schwab@redhat.com>
17304
17305 [BZ #12814]
17306 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17307
ea486f69
JJ
173082011-05-25 Jakub Jelinek <jakub@redhat.com>
17309
17310 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17311 (struct user_regs_struct): Change intcs field back to cs.
17312
6f038433
UD
173132011-05-25 Ulrich Drepper <drepper@gmail.com>
17314
17315 * po/ja.po: Update from translation team.
17316
67f86a25
UD
173172011-05-23 Ulrich Drepper <drepper@gmail.com>
17318
17319 [BZ #12795]
17320 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17321 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17322
def7fbd6
AS
173232011-05-20 Andreas Schwab <schwab@redhat.com>
17324
17325 * stdlib/longlong.h: Update from GCC.
17326
f50ef8f1
AS
173272011-05-23 Andreas Schwab <schwab@redhat.com>
17328
17329 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17330 parameter name.
17331 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17332 Add parameter name.
17333 (__sysconf): Pass it down.
17334
de7ce8f1
UD
173352011-05-22 Ulrich Drepper <drepper@gmail.com>
17336
f2962a71
UD
17337 [BZ #12671]
17338 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17339 some situations.
17340 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17341 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17342 add in in __libc_use_alloca calls. Adjust callers.
17343 (glob): Use malloc in some situations.
17344
de7ce8f1
UD
17345 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17346 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17347 pltexit.
17348
aec84f53
UD
173492011-05-21 Ulrich Drepper <drepper@gmail.com>
17350
05bb4a68
UD
17351 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17352 and CLOCK_BOOTTIME_ALARM.
17353
7ea72f99
UD
17354 [BZ #12782]
17355 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17356 is returned.
17357
7e4afad5
UD
17358 * string/_strerror.c (__strerror_r): Print negative errors as signed
17359 numbers.
17360
8e211fec
UD
17361 [BZ #12777]
17362 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17363 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17364 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17365
f7d82dc9
UD
17366 * configure.in: Fix typo in redirection and correct removal of test
17367 files in two cases.
17368
cc9e536d
UD
17369 [BZ #12788]
17370 * locale/setlocale.c (new_composite_name): Fix test to check for
17371 identical name of all categories.
17372
aec84f53
UD
17373 [BZ #12792]
17374 * libio/filedoalloc.c (local_isatty): New function.
17375 (_IO_file_doallocate): Use local_isatty.
17376 * stdio-common/perror.c (perror): In case a new stream is used
17377 forward the stream error.
17378 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17379 error flag.
17380
78e64fdc
RT
173812011-05-20 Ulrich Drepper <drepper@gmail.com>
17382
34a9094f
UD
17383 [BZ #11869]
17384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17385 alloca.
17386 * include/alloca.h (extend_alloca_account): Define.
17387
78e64fdc
RT
17388 [BZ #11857]
17389 * posix/regex.h: Fix comments with documentation of user-accessible
17390 fields after compilation and describe correct free'ing of pattern
17391 after re_compile_pattern.
17392 Patch by Reuben Thomas <rrt@sc3d.org>.
17393
457bddfc
RA
173942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17395
17396 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17397 and -mno-altivec to prevent the compiler from using Altivec and/or
17398 VSX instructions when the corresponding registers are not available.
17399
a4527b51
AS
174002011-05-19 Andreas Schwab <schwab@redhat.com>
17401
17402 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17403
ed690b2f
UD
174042011-05-19 Ulrich Drepper <drepper@gmail.com>
17405
17406 * libio/freopen.c (freopen): Use __dup2, not dup2.
17407 * libio/freopen64.c (freopen64): Likewise.
17408
8db73634
L
174092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17410
17411 [BZ #12775]
17412 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17413 * math/Makefile (tests): Add test-powl.
17414 (CFLAGS-test-powl.c): Define.
17415 * math/test-powl.c: New file.
17416
0a197a9d
L
174172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17418
17419 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17420
ee30c380
UD
174212011-05-17 Ulrich Drepper <drepper@gmail.com>
17422
17423 [BZ #11837]
17424 * iconvdata/gb18030.c: Update to GB18020-2005.
17425
6ce75379
UD
174262011-05-16 Ulrich Drepper <drepper@gmail.com>
17427
a4b89fd8
AR
17428 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17429 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17430 Patch by Aharon Robbins <arnold@skeeve.com>.
17431
ea389b12
UD
17432 [BZ #11892]
17433 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17434 on the stack.
17435
68a3f91f
UD
17436 [BZ #11895]
17437 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17438 through underflows.
17439
15cc7dd1
UD
17440 [BZ #12766]
17441 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17442 point to strings before performing equality test for error_one_per_line
17443 mode.
17444
f3799213
UD
17445 [BZ #11697]
17446 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17447
d79a9c94
UD
17448 [BZ #11820]
17449 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17450 (struct user_fpregs_struct): Avoid __uint*_t types.
17451
56e5eb46
UD
17452 [BZ #6420]
17453 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17454 symbol info. Use it instead of calling _dl_addr locally.
17455 (lock_and_info): New function.
17456 (tr_freehook): Call lock_and_info and pass symbol info as additional
17457 parameter to tr_where.
17458 (tr_mallochook): Likewise.
17459 (tr_reallochook): Likewise.
17460 (tr_memalignhook): Likewise.
17461
6ce75379
UD
17462 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17463 used and couldn't be at all thread-safe.
17464
f8a3b5bf
UD
174652011-05-15 Ulrich Drepper <drepper@gmail.com>
17466
94b7cc37
UD
17467 * libio/freopen.c (freopen): Don't close old file descriptor
17468 before the new one is opened. Instead dup the new file descriptor
17469 to the old one after the new stream is created.
17470 * libio/freopen64.c (freopen64): Likewise.
17471 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17472 * libio/fileops.c (_IO_new_file_close_it): Handle new
17473 _IO_FLAGS2_NOCLOSE flag.
17474 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17475 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17476 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17477 _IO_FLAGS2_NOCLOSE flag.
17478 * include/unistd.h: Add hidden_proto for dup3.
17479 Define __have_dup3.
17480 * io/dup3.c: Define hidden symbol.
17481 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17482
bd25564e
UD
17483 [BZ #7101]
17484 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17485 when an incomplete long option is used.
17486 * posix/tst-getopt_long1.c: New file.
17487 * posix/Makefile (tests): Add tst-getopt_long1.
17488
c84cfef4
UD
17489 [BZ #10138]
17490 * scripts/config.guess: Update from autoconf-2.68.
17491 * scripts/config.sub: Likewise.
17492
3b85df27
UD
17493 [BZ #10157]
17494 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17495 tests into ...
17496 (has_cpuclock): ...this. New function.
17497 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17498 macro here based on has_cpuclock code.
17499
15a856b1
UD
17500 [BZ #10149]
17501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17502 First byte (not low byte) is now always NUL.
17503 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17504
05f399e6
UD
17505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17506 Use non-cancelable interfaces.
17507
10a52685 17508 [BZ #9809]
94ecc67d
UD
17509 * locale/iso-639.def: Add entry for Sorani.
17510
f8a3b5bf
UD
17511 [BZ #11901]
17512 * include/stdlib.h: Move include protection to the right place.
17513 Define abort_msg_s. Declare __abort_msg with it.
17514 * stdlib/abort.c (__abort_msg): Adjust type.
17515 * assert/assert.c (__assert_fail_base): New function. Majority
17516 of code from __assert_fail. Allocate memory for __abort_msg with
17517 mmap.
17518 (__assert_fail): Now call __assert_fail_base.
17519 * assert/assert-perr.c: Remove bulk of implementation. Use
17520 __assert_fail_base.
17521 * include/assert.hL Declare __assert_fail_base.
17522 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17523 mmap.
17524 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17525
1af4e298
UD
175262011-05-14 Ulrich Drepper <drepper@gmail.com>
17527
f8a3b5bf 17528 [BZ #11952]
d26dfc60
MG
17529 [BZ #12453]
17530 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17531 until all modules are registered in the DTV.
17532 * elf/Makefile: Add rules to build and run tst-tls19.
17533 * elf/tst-tls19.c: New file.
17534 * elf/tst-tls19mod1.c: New file.
17535 * elf/tst-tls19mod2.c: New file.
17536 * elf/tst-tls19mod3.c: New file.
17537 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17538
2fc54d6f
UD
17539 [BZ #12083]
17540 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17541 correctly.
17542
98d76b46
UD
17543 [BZ #12601]
17544 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17545 two-byte sequence errors.
17546 * iconvdata/Makefile (tests): Add bug-iconv8.
17547 * iconvdata/bug-iconv8.c: New file.
17548
da3c19ef
UD
17549 [BZ #12626]
17550 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17551 buf2 definition.
17552
ca408c15
UD
17553 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17554
d6f67f7d
UD
17555 [BZ #12432]
17556 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17557 (dummy_getcfa): New function.
17558 (init): Get _Unwind_GetCFA address, use dummy if not found.
17559 (backtrace_helper): In recursion check, also check whether CFA changes.
17560 (__backtrace): Completely initialize arg.
17561
1af4e298 17562 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17563 storing incomplete byte sequence in state object. Avoid testing for
17564 guaranteed too small input if we know there is enough data available.
1af4e298 17565
da62f81b
AS
175662011-05-11 Andreas Schwab <schwab@redhat.com>
17567
17568 * Makeconfig (+link-pie): Indent.
17569 * Rules (binaries-pie): Define if $(have-fpie) and
17570 $(build-shared).
17571 (binaries-shared): Also filter out $(binaries-pie).
17572 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17573 * nscd/Makefile (others-pie): Add nscd.
17574 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17575 ($(objpfx)nscd): Remove command override.
17576 * login/Makefile (others-pie): Add pt_chown.
17577 ($(objpfx)pt_chown): Remove command override.
17578 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17579 remove command overrides.
17580
fcabc0f8
UD
175812011-05-13 Ulrich Drepper <drepper@gmail.com>
17582
20030ae6
UD
17583 * libio/tst_putwc.c: Fix error messages.
17584
fcabc0f8
UD
17585 [BZ #12724]
17586 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17587 currently writing and seek to current position when not.
17588 * libio/Makefile (tests): Add bug-fclose1.
17589 * libio/bug-fclose1.c: New file.
17590
320a5dc0
PB
175912011-05-12 Ulrich Drepper <drepper@gmail.com>
17592
17593 [BZ #12511]
17594 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17595 don't set DF_1_NODELETE here.
17596 (do_lookup_x): When entering new entry test for copy relocation
17597 and if necessary set DF_1_NODELETE flag.
17598 * elf/tst-unique4.cc: New file.
17599 * elf/tst-unique4.h: New file.
17600 * elf/tst-unique4lib.cc: New file.
17601 * elf/Makefile: Add rules to build and run tst-unique4.
17602 Patch by Piotr Bury <pbury@goahead.com>.
17603
22836f52
UD
176042011-05-11 Ulrich Drepper <drepper@gmail.com>
17605
f574184a
UD
17606 [BZ #12052]
17607 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17608
e1fb097f
UD
17609 [BZ #12625]
17610 * misc/mntent_r.c (addmntent): Flush the stream after the output
17611
22836f52
UD
17612 [BZ #12393]
17613 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17614 (is_trusted_path_normalize): Skip initial colon. Append slash
17615 to empty buffer. Duplicate is_trusted_path code but allow
17616 constructed patch to be prefix.
17617 (is_dst): Allow $ORIGIN followed by /.
17618 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17619 Correct testing of result of is_trusted_path_normalize
17620 (decompose_rpath): Fix warning.
17621
7b3b0b2a
UD
176222011-05-10 Ulrich Drepper <drepper@gmail.com>
17623
17624 [BZ #11257]
17625 * grp/initgroups.c (internal_getgrouplist): When we found the service
17626 list through the initgroups entry in nsswitch.conf do not always
17627 continue on a successful lookup. Don't always use the
eac80ce2 17628 __nss_group_database value if it is set.
7b3b0b2a
UD
17629 * nss/nsswitch.conf (initgroups): Change action for successful db
17630 lookup to continue for compatibility.
17631
2a81eaa5
UD
176322011-05-09 Ulrich Drepper <drepper@gmail.com>
17633
be97a69e
UD
17634 [BZ #11532]
17635 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17636 and CP774 modules.
17637 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17638 and CP774 modules.
17639 * iconvdata/tst-tables.sh: Likewise.
17640 * iconvdata/cp770.c: New file.
17641 * iconvdata/cp771.c: New file.
17642 * iconvdata/cp772.c: New file.
17643 * iconvdata/cp773.c: New file.
17644 * iconvdata/cp774.c: New file.
17645 * iconvdata/testdata/CP770: New file.
17646 * iconvdata/testdata/CP770..UTF8: New file.
17647 * iconvdata/testdata/CP771: New file.
17648 * iconvdata/testdata/CP771..UTF8: New file.
17649 * iconvdata/testdata/CP772: New file.
17650 * iconvdata/testdata/CP772..UTF8: New file.
17651 * iconvdata/testdata/CP773: New file.
17652 * iconvdata/testdata/CP773..UTF8: New file.
17653 * iconvdata/testdata/CP774: New file.
17654 * iconvdata/testdata/CP774..UTF8: New file.
17655
17656 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17657 END CHARMAP line.
17658 * iconvdata/gen-8bit-gap.sh: Likewise.
17659 * iconvdata/gen-8bit.sh: Likewise.
17660
c1e9e399
UD
17661 * locale/iso-639.def: Add ary entry.
17662
24c55fb3 17663 [BZ #11258]
96b4b1b0
UD
17664 * locale/C-translit.h.in: Add U20A1 transliteration.
17665
bdc2f971
KB
17666 [BZ #12178]
17667 * locale/iso-639.def: Add wae entry.
17668 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17669
2952b117
UD
17670 [BZ #12545]
17671 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17672 for n.
17673
2a81eaa5
UD
17674 [BZ #12711]
17675 * locale/C-translit.h.in: Add entry for U20B9.
17676 Patch by pravin.d.s@gmail.com.
17677
28377d1b
UD
176782011-05-08 Ulrich Drepper <drepper@gmail.com>
17679
7fb90fb8
UD
17680 [BZ #12713]
17681 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17682 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17683 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17684 in rtld. Use *stat64.
7fb90fb8 17685 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17686 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17687 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17688 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17689 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17690 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17691 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17692 __fstatat64 macros.
7fb90fb8
UD
17693 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17694 * dirent/rewinddir.c: Add libc_hidden_def.
17695 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17696 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17697
28377d1b
UD
17698 * include/dirent.h (__alloc_dir): Add flags parameter.
17699 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17700 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17701 __alloc_dir.
17702 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17703 from fdopendir if O_CLOEXEC is already set.
17704
66bdbaa4
AM
177052011-03-15 Alan Modra <amodra@gmail.com>
17706
17707 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17708 l_tls_firstbyte_offset non-zero. Save padding offset in
17709 l_tls_firstbyte_offset for later use.
17710 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17711 freeing static tls block.
17712
95721191
JN
177132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17714
17715 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17716 where #ifdef was intended. The intent is to prevent ARG_MAX from
17717 being defined by the kernel headers.
17718
f87dfb1f
UD
177192011-05-07 Ulrich Drepper <drepper@gmail.com>
17720
17721 [BZ #12734]
17722 * resolv/resolv.h: Define RES_NOTLDQUERY.
17723 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17724 no-tld-query and set RES_NOTLDQUERY.
17725 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17726 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17727 modern BIND to search name as TLD unless forbidden.
17728
47c3cd7a
UD
177292011-05-07 Petr Baudis <pasky@suse.cz>
17730 Ulrich Drepper <drepper@gmail.com>
17731
17732 [BZ #12393]
17733 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17734 (is_trusted_path): ...to here.
c1e9ea35 17735 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17736 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17737 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17738
8a35c912
PP
177392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17740
17741 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17742 __BEGIN/__END_DECLS.
17743
acd41f47
UD
177442011-05-06 Ulrich Drepper <drepper@gmail.com>
17745
17746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17747 NSS_STATUS_NOTFOUND if no record was found.
17748
597df647
AS
177492011-05-05 Andreas Schwab <schwab@redhat.com>
17750
17751 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17752 (headers-not-in-tirpc): Remove rpc/netdb.h
17753 * resolv/netdb.h: Revert last change.
17754
b9af1301
PP
177552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17756
17757 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17758 circular dependency between libgcc.a and libc.a.
17759
4e34d5f5
AS
177602011-05-05 Andreas Schwab <schwab@redhat.com>
17761
17762 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17763 * nis/Makefile: Don't install rpcsvc/*.
17764 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17765 instead of <rpc/types.h>.
17766 (MAXHOSTNAMELEN): Define.
17767
00ee369c
AS
177682011-05-03 Andreas Schwab <schwab@redhat.com>
17769
17770 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17771
0b592a30
MB
177722011-04-28 Maciej Babinski <mbabinski@google.com>
17773
17774 [BZ #12714]
17775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17776 gethostbyname4_r when IPv6 results are possible.
17777
6e04cbbe
UD
177782011-05-02 Ulrich Drepper <drepper@gmail.com>
17779
17780 [BZ #12723]
17781 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17782 _PC_PIPE_BUF handling.
17783
e4ecafe0
BH
177842011-04-30 Bruno Haible <bruno@clisp.org>
17785
17786 [BZ #12717]
17787 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17788 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17789 to 'int'.
17790 * inet/getnameinfo.c (getnameinfo): Likewise.
17791
125ee683
UD
177922011-04-29 Ulrich Drepper <drepper@gmail.com>
17793
17794 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17795 to groups setting in database lookup.
17796 * nss/nsswitch.conf: Add initgroups entry.
17797
b722481a
EB
177982011-04-22 Ulrich Drepper <drepper@gmail.com>
17799
17800 [BZ #12685]
17801 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17802 mode string.
17803 Patch by Eric Blake <eblake@redhat.com>.
17804
4df46dbd
L
178052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17806
17807 * sunrpc/Makefile (need-export-routines): Add svc_run.
17808 (routines): Remove svc_run.
17809 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17810 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17811 * sunrpc/svc_run.c (svc_run): Likewise.
17812 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17813
e84142d2
UD
178142011-04-21 Ulrich Drepper <drepper@gmail.com>
17815
17816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17817 problem in reallocation in last patch.
17818
877175d8
UD
178192011-04-20 Ulrich Drepper <drepper@gmail.com>
17820
17821 * sunrpc/Makefile: Move inclusion of Rules.
17822
ab8eed78
UD
178232011-04-19 Ulrich Drepper <drepper@gmail.com>
17824
17825 * nss/nss_files/files-initgroups.c: New file.
17826 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17827 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17828 _nss_files_initgroups_dyn.
17829
e3d8f584
RS
178302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17831
17832 * elf/elf.h (R_ARM_IRELATIVE): Define.
17833
af190f45
UD
178342011-04-19 Ulrich Drepper <drepper@gmail.com>
17835
17836 * po/ru.po: Update from translation team.
17837
53cf59ef
UD
178382011-04-17 Ulrich Drepper <drepper@gmail.com>
17839
17840 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17841 dependencies.
17842
4c559bcd
MF
178432011-02-06 Mike Frysinger <vapier@gentoo.org>
17844
17845 [BZ #12653]
17846 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17847 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17849 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17850 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17851
4420675c
AS
178522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17853
17854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17855 differing bytes.
17856 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17859
75ea32ab
UD
178602011-04-17 Ulrich Drepper <drepper@gmail.com>
17861
17862 [BZ #12420]
17863 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17864 storing it.
17865 * stdlib/bug-getcontext.c: New file.
17866 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17867
27390476
AK
178682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17869
17870 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17871 instructions into .machine "z9-109".
17872 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17873 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17874
10442705
AK
178752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17876
17877 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17878 between environment variables and auxiliary vector.
17879
7b57bfe5
UD
178802011-04-16 Ulrich Drepper <drepper@gmail.com>
17881
17882 * Makefile: Add rules to build linkobj/libc.so.
17883 * include/libc-symbols.h: Define libc_hidden_nolink.
17884 * include/rpc/auth.h: Mark functions which are to be hidden.
17885 * include/rpc/auth_des.h: Likewise.
17886 * include/rpc/auth_unix.h: Likewise.
17887 * include/rpc/clnt.h: Likewise.
17888 * include/rpc/des_crypt.h: Likewise.
17889 * include/rpc/key_prot.h: Likewise.
17890 * include/rpc/pmap_clnt.h: Likewise.
17891 * include/rpc/pmap_prot.h: Likewise.
17892 * include/rpc/pmap_rmt.h: Likewise.
17893 * include/rpc/rpc_msg.h: Likewise.
17894 * include/rpc/svc.h: Likewise.
17895 * include/rpc/svc_auth.h: Likewise.
17896 * include/rpc/xdr.h: Likewise.
17897 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17898 * nss/Makefile: Likewise.
17899 * sunrpc/Makefile: Don't install headers. Build library with normal
17900 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17901 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17902 for the compat linking library. Remove use of INTDEF/INTUSE.
17903 * sunrpc/auth_none.c: Likewise.
17904 * sunrpc/auth_unix.c: Likewise.
17905 * sunrpc/authdes_prot.c: Likewise.
17906 * sunrpc/authuxprot.c: Likewise.
17907 * sunrpc/clnt_gen.c: Likewise.
17908 * sunrpc/clnt_perr.c: Likewise.
17909 * sunrpc/clnt_raw.c: Likewise.
17910 * sunrpc/clnt_simp.c: Likewise.
17911 * sunrpc/clnt_tcp.c: Likewise.
17912 * sunrpc/clnt_udp.c: Likewise.
17913 * sunrpc/clnt_unix.c: Likewise.
17914 * sunrpc/des_crypt.c: Likewise.
17915 * sunrpc/des_soft.c: Likewise.
17916 * sunrpc/get_myaddr.c: Likewise.
17917 * sunrpc/key_call.c: Likewise.
17918 * sunrpc/key_prot.c: Likewise.
17919 * sunrpc/netname.c: Likewise.
17920 * sunrpc/pm_getmaps.c: Likewise.
17921 * sunrpc/pm_getport.c: Likewise.
17922 * sunrpc/pmap_clnt.c: Likewise.
17923 * sunrpc/pmap_prot.c: Likewise.
17924 * sunrpc/pmap_prot2.c: Likewise.
17925 * sunrpc/pmap_rmt.c: Likewise.
17926 * sunrpc/publickey.c: Likewise.
17927 * sunrpc/rpc_cmsg.c: Likewise.
17928 * sunrpc/rpc_common.c: Likewise.
17929 * sunrpc/rpc_dtable.c: Likewise.
17930 * sunrpc/rpc_prot.c: Likewise.
17931 * sunrpc/rpc_thread.c: Likewise.
17932 * sunrpc/rtime.c: Likewise.
17933 * sunrpc/svc.c: Likewise.
17934 * sunrpc/svc_auth.c: Likewise.
17935 * sunrpc/svc_authux.c: Likewise.
17936 * sunrpc/svc_raw.c: Likewise.
17937 * sunrpc/svc_run.c: Likewise.
17938 * sunrpc/svc_simple.c: Likewise.
17939 * sunrpc/svc_tcp.c: Likewise.
17940 * sunrpc/svc_udp.c: Likewise.
17941 * sunrpc/svc_unix.c: Likewise.
17942 * sunrpc/svcauth_des.c: Likewise.
17943 * sunrpc/xcrypt.c: Likewise.
17944 * sunrpc/xdr.c: Likewise.
17945 * sunrpc/xdr_array.c: Likewise.
17946 * sunrpc/xdr_float.c: Likewise.
17947 * sunrpc/xdr_intXX_t.c: Likewise.
17948 * sunrpc/xdr_mem.c: Likewise.
17949 * sunrpc/xdr_rec.c: Likewise.
17950 * sunrpc/xdr_ref.c: Likewise.
17951 * sunrpc/xdr_sizeof.c: Likewise.
17952 * sunrpc/xdr_stdio.c: Likewise.
17953
e6c61494
UD
179542011-04-10 Ulrich Drepper <drepper@gmail.com>
17955
17956 [BZ #12650]
17957 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17958 * sysdeps/ia64/dl-tls.h: Likewise.
17959 * sysdeps/powerpc/dl-tls.h: Likewise.
17960 * sysdeps/s390/dl-tls.h: Likewise.
17961 * sysdeps/sh/dl-tls.h: Likewise.
17962 * sysdeps/sparc/dl-tls.h: Likewise.
17963 * sysdeps/x86_64/dl-tls.h: Likewise.
17964 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17965
34fe483e
AS
179662011-03-14 Andreas Schwab <schwab@redhat.com>
17967
17968 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17969 rpath element also skip the following colon.
17970 (expand_dynamic_string_token): Add is_path parameter and pass
17971 down to DL_DST_REQUIRED and _dl_dst_substitute.
17972 (decompose_rpath): Call expand_dynamic_string_token with
17973 non-zero is_path. Ignore empty rpaths.
17974 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17975 with zero is_path.
17976
f12a32e6
AS
179772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17978
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17980 Make cancelable.
17981
38a7d692
UD
179822011-04-09 Ulrich Drepper <drepper@gmail.com>
17983
17984 [BZ #12655]
17985 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17986 Patch by Filipe David Manana <fdmanana@apache.org>.
17987
e451d22b
AS
179882011-04-07 Andreas Schwab <schwab@redhat.com>
17989
17990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17991 Maintain aligned stack.
17992 (CHECK_RSP): Remove unused macro.
17993
dedc7c7b
UD
179942011-04-03 Ulrich Drepper <drepper@gmail.com>
17995
17996 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17997 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17998
94521213
UD
179992011-04-02 Ulrich Drepper <drepper@gmail.com>
18000
18001 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18002
8cb700c0 18003 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18004
0354e355
L
180052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 [BZ #12518]
18008 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18009 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18010 * sysdeps/x86_64/memmove.c: New file.
18011 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18012 (memcpy): Renamed to ...
18013 (__new_memcpy): This.
18014 (memcpy): Provide GLIBC_2_14 memcpy.
18015 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18016 (memcpy): Provide GLIBC_2_2_5 memcpy.
18017
8593482f
UD
180182011-04-01 Ulrich Drepper <drepper@gmail.com>
18019
18020 [BZ #12631]
18021 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18022
81a5726b
AS
180232011-03-30 Andreas Schwab <schwab@redhat.com>
18024
18025 * misc/syncfs.c: New file.
18026 * misc/Makefile (routines): Add syncfs.
18027 * posix/unistd.h: Declare syncfs.
18028 * sysdeps/unix/syscalls.list: Add syncfs.
18029
00e5419f
AS
180302011-04-01 Andreas Schwab <schwab@redhat.com>
18031
18032 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18033 open_by_handle_at.
18034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18039 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18041
748876bf
UD
180422011-04-01 Ulrich Drepper <drepper@gmail.com>
18043
658e451d
UD
18044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18046 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18050 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18051
748876bf
UD
18052 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18053 sync_file_range.c with -fexceptions.
18054 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18055 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18056 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18057 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18058 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18059 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18061 sync_file_range as cancellation point
18062 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18063 now a wrapper around __call_sync_file_range with cancellation handling.
18064 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18065 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18066 function name to __call_sync_file_range.
18067 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18068 Add call_sync_file_range.
748876bf 18069
6e63d5e1
AS
180702011-04-01 Andreas Schwab <schwab@redhat.com>
18071
18072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18073 bits/timex.h.
6e63d5e1 18074
46998f74
UD
180752011-04-01 Ulrich Drepper <drepper@gmail.com>
18076
4c1423ed
UD
18077 * iconv/iconv.h: Fix typo in comment.
18078 * io/fcntl.h: Likewise.
18079 * libio/stdio.h: Likewise.
18080 * posix/spawn.h: Likewise.
18081 * posix/unistd.h: Likewise.
18082 * stdlib/stdlib.h: Likewise.
18083 * time/time.h: Likewise.
18084 * wcsmbs/wchar.h: Likewise.
18085
158648c0
UD
18086 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18087 open_by_handle): Add.
18088 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18089 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18090 Augment a few comments.
18091 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18096 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18097 open_by_handle.
18098
46998f74
UD
18099 * io/fcntl.h (AT_EMPTY_PATH): Define.
18100
83fe108b
UD
181012011-03-30 Ulrich Drepper <drepper@gmail.com>
18102
18103 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18104 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18105 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18106 to...
18107 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18108 * Versions.def: Add GLIBC_2.14.
18109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18110 Export.
83fe108b 18111
bb242059
UD
181122011-03-22 Ulrich Drepper <drepper@gmail.com>
18113
18114 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18115 round counter.
18116 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18117
c97a1282
L
181182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 [BZ #12597]
18121 * string/test-strncmp.c (do_page_test): New function.
18122 (check2): Likewise.
18123 (test_main): Call check2.
18124 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18125
2a115601
UD
181262011-03-20 Ulrich Drepper <drepper@gmail.com>
18127
18128 [BZ #12587]
18129 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18130 Handle cache information in CPU leaf 4.
18131 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18132
8126d904
UD
181332011-03-18 Ulrich Drepper <drepper@gmail.com>
18134
042c49c6 18135 [BZ #12583]
8126d904
UD
18136 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18137 character representation.
18138 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18139
ccfe366e
RA
181402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18141
18142 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18143 END(__isnan) to END(__isnanf) to match function entry point/label
18144 EALIGN(__isnanf,...).
18145
c6e13027
JJ
181462011-03-10 Jakub Jelinek <jakub@redhat.com>
18147
18148 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18149
33f85a3f
UD
181502011-03-10 Ulrich Drepper <drepper@gmail.com>
18151
028478fa
UD
18152 [BZ #12510]
18153 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18154 copy from the symbol referenced in the relocation to initialize the
18155 used variable.
18156 Patch by Piotr Bury <pbury@goahead.com>.
18157 * elf/Makefile: Add rules to build and tst-unique3.
18158 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18159 * elf/tst-unique3.cc: New file.
18160 * elf/tst-unique3.h: New file.
18161 * elf/tst-unique3lib.cc: New file.
18162 * elf/tst-unique3lib2.cc: New file.
18163
33f85a3f
UD
18164 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18165
03592fc7
MF
181662011-03-10 Mike Frysinger <vapier@gentoo.org>
18167
18168 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18169 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18170 to _start.
03592fc7 18171
6a5ee102
UD
181722011-03-06 Ulrich Drepper <drepper@gmail.com>
18173
18174 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18175 to-be-loaded object along a path to loader is ld.so.
18176
7e4ba49c
HJ
181772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18178 Ulrich Drepper <drepper@gmail.com>
18179
18180 * sysdeps/x86_64/memset.S: After aligning destination, code
18181 branches to different locations depending on the value of
18182 misalignment, when multiarch is enabled. Fix this.
18183
181842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18185
18186 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18187 Set _x86_64_preferred_memory_instruction for AMD processsors.
18188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18189 Set bit_Prefer_SSE_for_memop for AMD processors.
18190
13a804de
UD
181912011-03-04 Ulrich Drepper <drepper@gmail.com>
18192
18193 * libio/fmemopen.c (fmemopen): Optimize a bit.
18194
9d25c392
AS
181952011-03-03 Andreas Schwab <schwab@redhat.com>
18196
18197 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18198
a5543c6a
RM
181992011-03-03 Roland McGrath <roland@redhat.com>
18200
18201 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18202
012d35f7
DM
182032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18204
7e4ba49c 18205 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18206 __bzero_ultra1 instead of __memset_ultra1.
18207
4bff6e01
AS
182082011-02-23 Andreas Schwab <schwab@redhat.com>
18209 Ulrich Drepper <drepper@gmail.com>
18210
18211 [BZ #12509]
18212 * include/link.h (struct link_map): Add l_orig_initfini.
18213 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18214 returning unsuccessfully.
18215 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18216 close of a file loaded at startup, restore the original l_initfini
18217 list.
18218 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18219 list, store the pointer.
18220 * elf/Makefile ($(objpfx)noload-mem): New rule.
18221 (noload-ENV): Define.
18222 (tests): Add $(objpfx)noload-mem.
18223 * elf/noload.c: Include <memcheck.h>.
18224 (main): Call mtrace. Close all opened handles.
18225
f2092faf
AS
182262011-02-17 Andreas Schwab <schwab@redhat.com>
18227
18228 [BZ #12454]
18229 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18230 dependencies are missing.
18231
6c8a2e88
ST
182322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18233
f2092faf 18234 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18235 Hurd needs munmap.
18236 * sysdeps/mach/hurd/ifreq.h: New file.
18237
84a42118
PB
182382011-01-27 Petr Baudis <pasky@suse.cz>
18239 Ulrich Drepper <drepper@gmail.com>
18240
071f805e 18241 [BZ 12445]#
84a42118
PB
18242 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18243 to extend_alloca().
18244 * stdio-common/bug23.c: New file.
18245 * stdio-common/Makefile (tests): Add bug23.
18246
e23fe25b
AS
182472010-09-28 Andreas Schwab <schwab@redhat.com>
18248 Ulrich Drepper <drepper@gmail.com>
18249
18250 [BZ #12489]
18251 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18252 before performing relro protection. At old place add assertion
18253 to make sure nothing changed.
18254
d3f02e10
NS
182552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18256 Glauber de Oliveira Costa <glommer@gmail.com>
18257
18258 * elf/elf.h: Add new ARM TLS relocs.
18259
d55fd7a5
RA
182602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18261
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18263 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18264 cast from r3.
18265 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18266 'tests' variable.
18267 * sysdeps/wordsize-64/tst-writev.c: New file.
18268
2206397e
RA
182692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18270
18271 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18272 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18273 insns in _dl_start to prevent a TOC reference before relocs are
18274 resolved.
18275
e9433893
UD
182762011-02-15 Ulrich Drepper <drepper@gmail.com>
18277
18278 [BZ #12469]
18279 * Makeconfig: Remove RANLIB definition.
18280 * Makerules: Don't use RANLIB.
18281 * aclocal.m4: Remove ranlib test.
18282 * configure.in: No need to check for ranlib.
18283 * elf/rtld-Rules: Don't use RANLIB.
18284
f75286c6
ST
182852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18286
8e31c82d
ST
18287 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18288 protection macro.
18289 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18290 inclusion protection macro.
18291
f75286c6
ST
18292 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18293 SIGRTMIN and SIGRTMAX and print information in that case only when
18294 SIGRTMIN is defined.
18295
c1d0e639
JJ
182962011-02-11 Jakub Jelinek <jakub@redhat.com>
18297
18298 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18299 arginfo fn returning -1.
18300
18301 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18302 and thousands string is zero terminated.
18303
edf9294e
AS
183042011-02-03 Andreas Schwab <schwab@redhat.com>
18305
18306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18307 sysdeps/unix/sysv/linux/bits/socket.h.
18308
2b7e92df
ST
183092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18310
edf9294e
AS
18311 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18312 (__CPU_COUNT): Remove old macros.
18313 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18314 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18315 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18316 (__sched_cpualloc, __sched_cpufree): Add declarations.
18317
a4c7ea7b
UD
183182011-02-05 Ulrich Drepper <drepper@gmail.com>
18319
18320 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18321 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18322 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18323 (readdhstai): Return value of addhstaiX call.
18324 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18325 (addgrbyX): Return value returned by cache_addgr.
18326 (readdgrbyname): Return value returned by addgrbyX.
18327 (readdgrbygid): Likewise.
18328 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18329 (addpwbyX): Return value returned by cache_addpw.
18330 (readdpwbyname): Return value returned by addhstbyX.
18331 (readdpwbyuid): Likewise.
18332 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18333 (addservbyX): Return value returned by cache_addserv.
18334 (readdservbyname): Return value returned by addservbyX:
18335 (readdservbyport): Likewise.
18336 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18337 (addhstbyX): Return value returned by cache_addhst.
18338 (readdhstbyname): Return value returned by addhstbyX.
18339 (readdhstbyaddr): Likewise.
18340 (readdhstbynamev6): Likewise.
18341 (readdhstbyaddrv6): Likewise.
18342 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18343 (readdinitgroups): Return value returned by addinitgroupsX.
18344 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18345 (prune_cache): Keep track of timeout value of re-added entries.
18346 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18347 * nscd/nscd.h: Adjust prototypes of readd* functions.
18348
a0bf67cc
RM
183492011-02-04 Roland McGrath <roland@redhat.com>
18350
18351 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18352 (nis_stats): Likewise.
18353 * nis/nis_modify.c (nis_modify): Likewise.
18354 * nis/nis_remove.c (nis_remove): Likewise.
18355 * nis/nis_add.c (nis_add): Likewise.
18356
18357 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18358
18359 * posix/fnmatch_loop.c: Add some consts.
18360
18361 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18362
435b95eb
L
183632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18364
18365 [BZ #12460]
18366 * config.make.in (config-cflags-novzeroupper): Define.
18367 * configure.in: Substitute libc_cv_cc_novzeroupper.
18368 * elf/Makefile (AVX-CFLAGS): Define.
18369 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18370 (CFLAGS-tst-auditmod4a.c): Likewise.
18371 (CFLAGS-tst-auditmod4b.c): Likewise.
18372 (CFLAGS-tst-auditmod6b.c): Likewise.
18373 (CFLAGS-tst-auditmod6c.c): Likewise.
18374 (CFLAGS-tst-auditmod7b.c): Likewise.
18375 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18376
8517b15e
UD
183772011-02-02 Ulrich Drepper <drepper@gmail.com>
18378
18379 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18380 function to the callback.
18381 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18382
10a656fe
AS
183832011-02-02 Andreas Schwab <schwab@redhat.com>
18384
18385 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18386 of errno.
18387
968dad0a
UD
183882011-01-19 Ulrich Drepper <drepper@gmail.com>
18389
9f94d2ea 18390 [BZ #11724]
968dad0a
UD
18391 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18392 of constructors.
18393 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18394 of destructors.
18395 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18396
18397 [BZ #11724]
18398 * elf/Makefile: Add rules to build and run new test.
18399 * elf/tst-initorder.c: New file.
18400 * elf/tst-initorder.exp: New file.
18401 * elf/tst-initordera1.c: New file.
18402 * elf/tst-initordera2.c: New file.
18403 * elf/tst-initordera3.c: New file.
18404 * elf/tst-initordera4.c: New file.
18405 * elf/tst-initorderb1.c: New file.
18406 * elf/tst-initorderb2.c: New file.
18407 * elf/tst-order-a1.c: New file.
18408 * elf/tst-order-a2.c: New file.
18409 * elf/tst-order-a3.c: New file.
18410 * elf/tst-order-a4.c: New file.
18411 * elf/tst-order-b1.c: New file.
18412 * elf/tst-order-b2.c: New file.
18413 * elf/tst-order-main.c: New file.
18414 New test case by George Gensure <werkt0@gmail.com>.
18415
86e92359
UD
184162010-10-01 Andreas Schwab <schwab@redhat.com>
18417
18418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18419 decoding ACE if AI_CANONIDN.
18420
5d5732b0
UD
184212011-01-18 Ulrich Drepper <drepper@gmail.com>
18422
18423 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18424
a77e8cbc
UD
184252011-01-17 Ulrich Drepper <drepper@gmail.com>
18426
6392473f
UD
18427 * version.h (RELEASE): Bump for 2.13 release.
18428 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18429
620a0529
UD
18430 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18431
18ba70a5
UD
18432 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18433 MADV_NOHUGEPAGE.
32465c3e
UD
18434 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18435 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18440
c0dafcf1
UD
18441 * posix/getconf.c: Update copyright year.
18442 * catgets/gencat.c: Likewise.
18443 * csu/version.c: Likewise.
18444 * debug/catchsegv.sh: Likewise.
18445 * debug/xtrace.sh: Likewise.
18446 * elf/ldconfig.c: Likewise.
18447 * elf/ldd.bash.in: Likewise.
18448 * elf/sprof.c (print_version): Likewise.
18449 * iconv/iconv_prog.c: Likewise.
18450 * iconv/iconvconfig.c: Likewise.
18451 * locale/programs/locale.c: Likewise.
18452 * locale/programs/localedef.c: Likewise.
18453 * malloc/memusage.sh: Likewise.
18454 * malloc/mtrace.pl: Likewise.
18455 * nscd/nscd.c (print_version): Likewise.
18456 * nss/getent.c: Likewise.
18457
a77e8cbc
UD
18458 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18459 PF_CAIF, and PF_ALG.
18460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18461
77e8bddf
AS
184622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18463
1f20b93a
AS
18464 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18465 (modules-names): Use them.
18466 (ifunc-test-modules, ifunc-pie-tests): Define.
18467 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18468 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18469 (test-extras): Likewise.
18470 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18471 $(compile-command.c).
18472 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18473 (all-built-dso): Define.
18474 (check-textrel.out, check-execstack.out): Depend on it.
18475
77e8bddf
AS
18476 * configure.in: Don't override --enable-multi-arch.
18477
bc425b33
UD
184782011-01-15 Ulrich Drepper <drepper@gmail.com>
18479
18480 [BZ #6812]
18481 * nscd/hstcache.c (tryagain): Define.
18482 (cache_addhst): Return tryagain not notfound for temporary errors.
18483 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18484 failed.
18485
794c3ad3
UD
184862011-01-14 Ulrich Drepper <drepper@gmail.com>
18487
70181fdd
UD
18488 [BZ #10563]
18489 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18490 to make the syscall.
18491 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18492
794c3ad3
UD
18493 [BZ #12378]
18494 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18495 and fall back to matching as normal character if the string ends before
18496 the matching ']' is found. This is what POSIX requires.
18497 * posix/testfnm.c: Adjust test result.
18498 * posix/globtest.sh: Adjust test result. Add new test.
18499 * posix/tst-fnmatch.input: Likewise.
18500 * posix/tst-fnmatch2.c: Add new test.
18501
68dc9497
AS
185022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18503
18504 * elf/Makefile (check-execstack): Revert last change. Depend on
18505 check-execstack.h.
18506 (check-execstack.h): New target.
18507 (generated): Add check-execstack.h.
18508 * elf/check-execstack.c: Include "check-execstack.h".
18509 (main): Revert last change.
18510 (handle_file): Return zero if GNU_STACK is absent and
18511 DEFAULT_STACK_PERMS doesn't include PF_X.
18512
451f001b
UD
185132011-01-13 Ulrich Drepper <drepper@gmail.com>
18514
cfa28e56
UD
18515 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18516 in child fails because the descriptor is already closed.
8cf8ce17
UD
18517 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18518 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18519 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18520
1086d70d
UD
18521 [BZ #12397]
18522 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18523 syscall.
18524
451f001b
UD
18525 [BZ #10484]
18526 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18527 temporary buffer used to handle multi lookups locally.
a85b5cb4 18528 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18529
08769175
UD
185302011-01-12 Ulrich Drepper <drepper@gmail.com>
18531
18532 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18533 loader is ld.so.
18534
5e49c52e
UD
185352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18536
18537 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18538 alignment for SSE2.
18539
60522a5f
UD
185402011-01-12 Ulrich Drepper <drepper@gmail.com>
18541
18542 [BZ #12394]
18543 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18544 characters. When rounding increased number of integer digits recompute
18545 number of groups.
18546 * stdio-common/tst-grouping.c: New file.
18547 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18548
f257bbd7
UD
185492011-01-09 Ulrich Drepper <drepper@gmail.com>
18550
18551 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18552 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18553
18554 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18555 void.
18556 * bits/select.h: Likewise.
18557
fa9c15cb
UD
185582011-01-08 Ulrich Drepper <drepper@gmail.com>
18559
18560 * po/ja.po: Update from translation team.
18561
16c2895f
DM
185622011-01-04 David S. Miller <davem@sunset.davemloft.net>
18563
18564 [BZ #11155]
18565 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18566 implementation just like for lxstat, fxstatat, et al.
18567
2543fef2
JM
185682010-12-27 Jim Meyering <meyering@redhat.com>
18569
18570 [BZ #12348]
18571 * posix/regexec.c (build_trtable): Return failure indication upon
18572 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18573
98727dbe
UD
185742010-12-25 Ulrich Drepper <drepper@gmail.com>
18575
5bd6dc5c
UD
18576 [BZ #12201]
18577 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18578 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18579 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18581
97983464
UD
18582 [BZ #12207]
18583 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18584
98727dbe
UD
18585 [BZ #12204]
18586 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18587 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18588
4a531bb0
L
185892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18590
18591 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18592 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18593 script has SORT_BY_INIT_PRIORITY.
18594 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18595 NO_CTORS_DTORS_SECTIONS is defined.
18596 * elf/soinit.c: Likewise.
18597 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18598 NO_CTORS_DTORS_SECTIONS is defined.
18599 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18600 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18601 * sysdeps/sh/init-first.c: Likewise.
18602 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18603
07eb4b71
UD
186042010-12-24 Ulrich Drepper <drepper@gmail.com>
18605
18606 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18607 always use the slow path.
18608
30950a5f
RA
186092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18610
18611 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18612 similar rule which adds the sysdep directories to the header search in
18613 order to pick up the correct platform stackinfo.h.
18614 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18615 perform test if it is, otherwise return successfully without testing.
18616 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18617 DEFAULT_STACK_PERMS define in stackinfo.h.
18618 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18619 defined in stackinfo.h.
18620 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18621 DEFAULT_STACK_PERMS defined in stackinfo.h.
18622 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18623 * sysdeps/ia64/stackinfo.h: Likewise.
18624 * sysdeps/s390/stackinfo.h: Likewise.
18625 * sysdeps/sh/stackinfo.h: Likewise.
18626 * sysdeps/sparc/stackinfo.h: Likewise.
18627 * sysdeps/x86_64/stackinfo.h: Likewise.
18628 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18629 PF_X for powerpc64. Retain PF_X for powerpc32.
18630
db753e2c
UD
186312010-12-19 Ulrich Drepper <drepper@gmail.com>
18632
14b697f7
UD
18633 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18634 accurately.
db753e2c
UD
18635 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18636 GETDENTS_64BIT_ALIGNED.
18637
28300719
UD
186382010-12-14 Ulrich Drepper <dreper@gmail.com>
18639
14b697f7 18640 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18641
4f197237
AS
186422010-12-10 Andreas Schwab <schwab@redhat.com>
18643
dbb0472f
AS
18644 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18645 _GNU_SOURCE.
18646
4f197237
AS
18647 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18648 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18649 Remove __restrict.
18650 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18651 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18652
fb88ac72
UD
186532010-12-09 Ulrich Drepper <drepper@gmail.com>
18654
18655 [BZ #11655]
18656 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18657 are initialized.
18658
42acbb92
JJ
186592010-12-09 Jakub Jelinek <jakub@redhat.com>
18660
18661 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18662
c038d98d
UD
186632010-12-03 Ulrich Drepper <drepper@gmail.com>
18664
18665 * po/it.po: Update from translation team.
18666
3a4a2499
L
186672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18670 unused codes.
18671
1e24cf6e
UD
186722010-11-30 Ulrich Drepper <drepper@gmail.com>
18673
18674 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18675
a7690819
AS
186762010-11-24 Andreas Schwab <schwab@redhat.com>
18677
18678 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18679 specially.
18680 (gaih_getanswer_slice): Likewise.
18681
3bf8d1b1
JJ
186822010-10-20 Jakub Jelinek <jakub@redhat.com>
18683
18684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18685
6db52fbb
PB
186862010-05-31 Petr Baudis <pasky@suse.cz>
18687
18688 [BZ #11149]
18689 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18690 silently even in the chroot mode.
18691
eaca7569
UD
186922010-11-22 Ulrich Drepper <drepper@gmail.com>
18693
18694 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18695 last patch a bit. Pretty printing
18696
3056dcdb
UD
186972010-05-31 Petr Baudis <pasky@suse.cz>
18698
18699 [BZ #10085]
18700 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18701 initialization of skip_initgroups_dyn.
18702
cf7c9078
UD
187032010-11-19 Ulrich Drepper <drepper@gmail.com>
18704
18705 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18706 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18707
a1fb5e3e
UD
187082010-11-16 Ulrich Drepper <drepper@gmail.com>
18709
18710 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18711
3540d66b
AS
187122010-11-11 Andreas Schwab <schwab@redhat.com>
18713
18714 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18715 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18716 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18717 ($(objpfx)tst-fnmatch-mem): New rule.
18718 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18719 * posix/tst-fnmatch.c (main): Call mtrace.
18720
13b69574
L
187212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18722
18723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18724 Support Intel processor model 6 and model 0x2c.
18725
da93d214
LM
187262010-11-10 Luis Machado <luisgpm@br.ibm.com>
18727
18728 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18729 signed comparison.
18730
8ca52c6e
L
187312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18732
18733 [BZ #12205]
18734 * string/test-strncasecmp.c (check_result): New function.
18735 (do_one_test): Use it.
18736 (check1): New function.
18737 (test_main): Use it.
18738 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18739 Support strcasecmp and strncasecmp.
18740
69da074d
UD
187412010-11-08 Ulrich Drepper <drepper@gmail.com>
18742
18743 [BZ #12194]
18744 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18745 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18746
ff02d528
L
187472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18748
18749 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18750 IFUNC support.
18751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18752 memset-x86-64.
18753 * sysdeps/x86_64/multiarch/bzero.S: New file.
18754 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18755 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18756 * sysdeps/x86_64/multiarch/memset.S: New file.
18757 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18759 Set bit_Prefer_SSE_for_memop for Intel processors.
18760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18761 Define.
18762 (index_Prefer_SSE_for_memop): Define.
18763 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18764
344d0b54
LM
187652010-11-04 Luis Machado <luisgpm@br.ibm.com>
18766
18767 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18768 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18769
c0dde15b
UD
187702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18771
18772 [BZ #12191]
18773 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18774 (__x86_64_raw_data_cache_size_half): Likewise.
18775 (__x86_64_raw_shared_cache_size): Likewise.
18776 (__x86_64_raw_shared_cache_size_half): Likewise.
18777
18778 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18779 (__x86_64_raw_data_cache_size_half): Likewise.
18780 (__x86_64_raw_shared_cache_size): Likewise.
18781 (__x86_64_raw_shared_cache_size_half): Likewise.
18782 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18783 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18784 and __x86_64_raw_shared_cache_size_half. Round
18785 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18786 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18787 to multiple of 256 bytes.
18788
0e516e0e
MS
187892010-11-03 Ulrich Drepper <drepper@gmail.com>
18790
18791 [BZ #12167]
18792 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18793 of inacessible symlinks. Verify result of symlink before returning it.
18794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18795 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18796
0e012e87
ER
187972010-10-28 Erich Ritz <erichritz@gmail.com>
18798
18799 * math/math.h (isinf): Fix typo in comment.
18800
de0ff7bc
UD
188012010-11-01 Ulrich Drepper <drepper@gmail.com>
18802
18803 * po/da.po: Update from translation team.
18804
fa41c84d
UD
188052010-10-26 Ulrich Drepper <drepper@gmail.com>
18806
18807 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18808 is added to the list.
18809
f0967738
AK
188102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18811 Ulrich Drepper <drepper@gmail.com>
18812
18813 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18814 the global list here. Move code to...
18815 (_dl_add_to_namespace_list): ...here. New function.
18816 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18817 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18818 * elf/dl-load.c (lose): Don't remove the element from the list.
18819 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18820 (_dl_map_object): Likewise.
18821
188222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18823
18824 [BZ #12159]
18825 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18826 into all bytes of SSE register.
18827 Patch by Richard Li <richardpku@gmail.com>.
18828
f0967738 188292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18830
18831 [BZ #12140]
18832 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18833 perturbing.
18834
d0b9e94f
MB
188352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18836
18837 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18838 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18839 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18840 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18842 submachine.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18844
8e9f92e9
AS
188452010-10-22 Andreas Schwab <schwab@redhat.com>
18846
18847 * include/dlfcn.h (__RTLD_SECURE): Define.
18848 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18849 mode & __RTLD_SECURE instead.
18850 (open_path): Rename preloaded parameter to secure.
18851 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18852 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18853 * elf/dl-deps.c (openaux): Likewise.
18854 * elf/rtld.c (struct map_args): Remove is_preloaded.
18855 (map_doit): Don't use it.
18856 (dl_main): Likewise.
18857 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18858 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18859
bc96fbda
AS
188602010-09-09 Andreas Schwab <schwab@redhat.com>
18861
18862 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18863 (sysd-rules-targets): Remove duplicates.
18864 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18865 rtld-%.$o dependency.
18866
22cd1c9b
AS
188672010-10-18 Andreas Schwab <schwab@redhat.com>
18868
18869 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18870 _dl_map_object do it.
18871
18edac48
UD
188722010-10-19 Ulrich Drepper <drepper@gmail.com>
18873
18874 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18875 fast fma builtins, define the macros in the C99 standard.
18876 (FP_FAST_FMAF): Likewise.
18877 (FP_FAST_FMAL): Likewise.
18878 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18879
18880 * bits/mathdef.h: Update copyright year.
18881 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18882
d2050124
MM
188832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18884
18885 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18886 builtins, define the macros in the C99 standard.
18887 (FP_FAST_FMAF): Likewise.
18888 (FP_FAST_FMAL): Likewise.
18889 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18890 multiply/add.
18891 (FP_FAST_FMAF): Likewise.
18892
475facd1
JJ
188932010-10-15 Jakub Jelinek <jakub@redhat.com>
18894
18895 [BZ #3268]
18896 * math/libm-test.inc (fma_test): Some new testcases.
18897 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18898 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18899 y and infinite z. Do multiplication by C already in long double.
18900 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18902 y and infinite z. Do bitwise or of inexact bit into u.d.
18903 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18904 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18905 * sysdeps/i386/fpu/s_fma.S: Removed.
18906 * sysdeps/i386/fpu/s_fmal.S: Removed.
18907
7c08a05c
JJ
189082010-10-16 Jakub Jelinek <jakub@redhat.com>
18909
18910 [BZ #3268]
18911 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18913 computation is not scheduled after fetestexcept. Fix value
18914 of minimum denormal long double.
18915
f3f7372d
JJ
189162010-10-14 Jakub Jelinek <jakub@redhat.com>
18917
18918 [BZ #3268]
18919 * math/libm-test.inc (fma_test): Add some more tests.
18920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18921 correctly.
18922
14d43591
AS
189232010-10-15 Andreas Schwab <schwab@redhat.com>
18924
18925 * scripts/data/localplt-s390-linux-gnu.data: New file.
18926 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18927
5e908464
JJ
189282010-10-13 Jakub Jelinek <jakub@redhat.com>
18929
18930 [BZ #3268]
18931 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18932 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18933 instead of dbl-64.
18934 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18935 inlines.
18936 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18938 if one of x and y is very large and the other is subnormal.
18939 * sysdeps/s390/fpu/s_fmaf.c: New file.
18940 * sysdeps/s390/fpu/s_fma.c: New file.
18941 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18942 * sysdeps/powerpc/fpu/s_fma.S: New file.
18943 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18944 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18945 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18946
189472010-10-12 Jakub Jelinek <jakub@redhat.com>
18948
18949 [BZ #3268]
18950 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18951 fma tests.
18952 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18953 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18954 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18955 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18956 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18957 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18959
b833d51f
UD
189602010-10-12 Ulrich Drepper <drepper@redhat.com>
18961
18962 [BZ #12078]
18963 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18964 * posix/bug-regex31.input: Add test case.
18965
1751705d
UD
189662010-10-11 Ulrich Drepper <drepper@gmail.com>
18967
e9b9cbf5
UD
18968 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18969 * posix/bug-regex31.input: New file.
18970
18971 [BZ #12078]
18972 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18973 (parse_sub_exp): Fix last change, use postorder.
18974
ef06edbe
UD
18975 * posix/bug-regex31.c: New file.
18976 * posix/Makefile: Add rules to build and run bug-regex31.
18977
a129c80d
UD
18978 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18979
18980 [BZ #12078]
18981 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18982
b76b818e
UD
18983 [BZ #12108]
18984 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18985 to have entries in sys_siglist.
18986
1751705d
UD
18987 [BZ #12093]
18988 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18989 be NULL.
18990
9ff8d36f
JJ
189912010-10-07 Jakub Jelinek <jakub@redhat.com>
18992
18993 [BZ #3268]
18994 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18995 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18996 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18997 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18998 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18999 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19000 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19001 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19002 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19003 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19004 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19005 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19006 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19007 * math/ftestexcept.c (fetestexcept): Likewise.
19008 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19009 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19010 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19011 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19012 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19013 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19014 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19015
af325969
UD
190162010-10-11 Ulrich Drepper <drepper@gmail.com>
19017
c579b202 19018 [BZ #12107]
af325969
UD
19019 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19020 newline.
19021
67a67b95
UD
190222010-10-06 Ulrich Drepper <drepper@gmail.com>
19023
19024 * string/bug-strstr1.c: New file.
19025 * string/Makefile: Add rules to build and run bug-strstr1.
19026
5fb308bc
EB
190272010-10-05 Eric Blake <eblake@redhat.com>
19028
19029 [BZ #12092]
19030 * string/str-two-way.h (two_way_long_needle): Always clear memory
19031 when skipping input due to the shift table.
19032
45db99c7
UD
190332010-10-03 Ulrich Drepper <drepper@gmail.com>
19034
3b111893
UD
19035 [BZ #12005]
19036 * malloc/mcheck.c: Handle large requests.
19037
45db99c7
UD
19038 [BZ #12077]
19039 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19040 for strncmp and strncasecmp.
19041 * string/stratcliff.c: Add tests for strcmp and strncmp.
19042 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19043
cf7a1eb8
NI
190442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19045
19046 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19047 __set_fpscr.
19048
6484ba5e
AJ
190492010-09-30 Andreas Jaeger <aj@suse.de>
19050
19051 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19052 (CGROUP_SUPER_MAGIC): Define.
19053 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19054 Handle btrfs and cgroup file systems.
19055 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19056 Likewise.
19057
91c42559
LM
190582010-09-27 Luis Machado <luisgpm@br.ibm.com>
19059
19060 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19061 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19062
87a97932
AK
190632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19064
19065 [BZ #12067]
19066 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19067 trying to locate the ELF header.
19068
c21cc9bc
AS
190692010-09-27 Andreas Schwab <schwab@redhat.com>
19070
19071 [BZ #11611]
19072 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19073 Mask out sign-bit copies when constructing f_fsid.
19074
315970f6
PB
190752010-09-24 Petr Baudis <pasky@suse.cz>
19076
19077 * debug/stack_chk_fail_local.c: Add missing licence exception.
19078 * debug/warning-nop.c: Likewise.
19079
1ac7a2c7
JM
190802010-09-15 Joseph Myers <joseph@codesourcery.com>
19081
19082 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19083 implementing getdents64 using getdents syscall, set d_type if
19084 __ASSUME_GETDENTS32_D_TYPE.
19085
56801c50
AS
190862010-09-16 Andreas Schwab <schwab@redhat.com>
19087
19088 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19089 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19090
dda51327
UD
190912010-09-21 Ulrich Drepper <drepper@redhat.com>
19092
19093 [BZ #12037]
19094 * posix/unistd.h: Undo change of feature selection for ftruncate from
19095 2010-01-11.
19096
8ffcee4a
UD
190972010-09-20 Ulrich Drepper <drepper@redhat.com>
19098
a545ecd9 19099 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19100 detection.
19101
e24f0a8b
AS
191022010-09-20 Andreas Schwab <schwab@redhat.com>
19103
19104 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19105 fanotify_mark.
19106 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19107
7291c56f
AS
191082010-09-14 Andreas Schwab <schwab@redhat.com>
19109
19110 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19111 variables after CHECK_SP call.
19112 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19113
bc5fb037
AS
191142010-09-13 Andreas Schwab <schwab@redhat.com>
19115 Ulrich Drepper <drepper@redhat.com>
19116
19117 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19118 re-relocationg ld.so.
19119 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19120 _dl_init_paths call.
19121 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19122 here anymore.
19123
e66e7419
UD
191242010-09-14 Ulrich Drepper <drepper@redhat.com>
19125
19126 * resolv/res_init.c (__res_vinit): Count the default server we added.
19127
c044aa75
CLT
191282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19129 Ulrich Drepper <drepper@redhat.com>
19130
19131 [BZ #11968]
19132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19133 (____longjmp_chk): Use %ebx for saving value across system call.
19134 Add unwind info.
19135
32cf4069
AS
191362010-09-06 Andreas Schwab <schwab@redhat.com>
19137
19138 * manual/Makefile: Don't mix pattern rules with normal rules.
19139
817328ee
AS
191402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19141
19142 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19143 operation.
19144 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19145 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19146 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19147 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19149 Likewise.
19150
29fddf61
UD
191512010-09-04 Ulrich Drepper <drepper@redhat.com>
19152
19153 [BZ #11979]
19154 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19155 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19156
0959ffc9
UD
191572010-09-02 Ulrich Drepper <drepper@redhat.com>
19158
19159 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19160 * sysdeps/x86_64/addmul_1.S: Likewise.
19161 * sysdeps/x86_64/lshift.S: Likewise.
19162 * sysdeps/x86_64/mul_1.S: Likewise.
19163 * sysdeps/x86_64/rshift.S: Likewise.
19164 * sysdeps/x86_64/sub_n.S: Likewise.
19165 * sysdeps/x86_64/submul_1.S: Likewise.
19166
ece29840
ST
191672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19168
0959ffc9
UD
19169 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19170 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19171 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19172 * bits/sched.h [__need_schedparam]
ece29840 19173 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19174 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19175 (__defined_schedparam): Define to 1.
ece29840
ST
19176 (__sched_param): New structure, identical to sched_param.
19177 (__need_schedparam): Undefine.
19178
e53a31fe
MF
191792010-08-31 Mike Frysinger <vapier@gentoo.org>
19180
fdc0c10d
MF
19181 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19182 (epoll_create1): Declare.
19183
e53a31fe
MF
19184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19185
a726d796
AS
191862010-08-31 Andreas Schwab <schwab@redhat.com>
19187
19188 [BZ #7066]
19189 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19190 shifting retval into place.
19191
2f3e3dc7
UD
191922010-09-01 Ulrich Drepper <drepper@redhat.com>
19193
f2933da9
UD
19194 * nis/rpcsvc/nis.h: Update copyright notice.
19195 * nis/rpcsvc/nis.x: Likewise.
19196 * nis/rpcsvc/nis_callback.h: Likewise.
19197 * nis/rpcsvc/nis_callback.x: Likewise.
19198 * nis/rpcsvc/nis_object.x: Likewise.
19199 * nis/rpcsvc/nis_tags.h: Likewise.
19200 * nis/rpcsvc/yp.h: Likewise.
19201 * nis/rpcsvc/yp.x: Likewise.
19202 * nis/rpcsvc/ypupd.h: Likewise.
19203 * nis/yp_xdr.c: Likewise.
19204 * nis/ypupdate_xdr.c: Likewise.
19205
2f3e3dc7
UD
19206 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19207 mainly the body of pmap_getport. Add parameters to specify timeouts.
19208 (pmap_getport): Use __libc_rpc_getport.
19209 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19210 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19211 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19212
f3dcc2f9
AS
192132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19214
19215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19216 fanotify_mark.
19217
6d34eb5b
RM
192182010-08-27 Roland McGrath <roland@redhat.com>
19219
19220 * sysdeps/i386/i686/multiarch/Makefile
19221 (CFLAGS-varshift.c): New variable.
19222
9ea3de11
UD
192232010-08-27 Ulrich Drepper <drepper@redhat.com>
19224
c96d23fc
UD
19225 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19226 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19227
9ea3de11
UD
19228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19229
19230 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19231
623aac7f
L
192322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19233
19234 * sysdeps/x86_64/strlen.S: Unroll the loop.
19235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19236 strlen-sse2 strlen-sse2-bsf.
19237 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19238 __strlen_no_bsf if bit_Slow_BSF is set.
19239 (__strlen_sse42): Removed.
19240 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19241 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19242
8b2b7715
RM
192432010-08-25 Roland McGrath <roland@redhat.com>
19244
19245 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19246 * sysdeps/x86_64/multiarch/varshift.c: New file.
19247 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19248 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19249 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19250 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19251
e73015f2
L
192522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19253
19254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19255 strlen-sse2 strlen-sse2-bsf.
19256 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19257 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19258 (__strlen_sse2): Removed.
19259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19260 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19262 bit_Slow_BSF for Atom.
19263 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19264 (index_Slow_BSF): Define.
19265 (HAS_SLOW_BSF): Define.
19266
df24a73e
UD
192672010-08-25 Ulrich Drepper <drepper@redhat.com>
19268
19269 [BZ #10851]
19270 * resolv/res_init.c (__res_vinit): When no server address at all
19271 is given default to loopback.
19272
f2ac4868
RM
192732010-08-24 Roland McGrath <roland@redhat.com>
19274
09055553
RM
19275 * configure.in: Remove config-name.h generation.
19276 * configure: Regenerated.
19277 * config-name.in: File removed.
19278 * scripts/config-uname.sh: New file.
19279 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19280 ($(objdir)config-name.h): New target.
19281
f2ac4868
RM
19282 * sunrpc/rpc_parse.h: Avoid nested comment.
19283
73f27d5e
RH
192842010-08-24 Richard Henderson <rth@redhat.com>
19285 Ulrich Drepper <drepper@redhat.com>
19286 H.J. Lu <hongjiu.lu@intel.com>
19287
19288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19290 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19291 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19292 _mm_alignr_epi8 with _mm_loadu_si128.
19293 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19294 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19295 (__m128i_shift_right): Removed.
19296 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19297 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19298 * sysdeps/x86_64/multiarch/varshift.h: New file.
19299 * sysdeps/x86_64/multiarch/varshift.S: New file.
19300
84b9230c
MF
193012010-08-21 Mike Frysinger <vapier@gentoo.org>
19302
19303 * configure.in: Move assembler checks to before sysdep dir checking.
19304
9bbd0ddc
PB
193052010-08-20 Petr Baudis <pasky@suse.cz>
19306
19307 * LICENSES: Sync the sunrpc license.
19308
9da4bb31
UD
193092010-08-19 Ulrich Drepper <drepper@redhat.com>
19310
a7ab6ec8
UD
19311 * sunrpc/auth_des.c: Update copyright notice once again.
19312 * sunrpc/auth_none.c: Likewise.
19313 * sunrpc/auth_unix.c: Likewise.
19314 * sunrpc/authdes_prot.c: Likewise.
19315 * sunrpc/authuxprot.c: Likewise.
19316 * sunrpc/bindrsvprt.c: Likewise.
19317 * sunrpc/clnt_gen.c: Likewise.
19318 * sunrpc/clnt_perr.c: Likewise.
19319 * sunrpc/clnt_raw.c: Likewise.
19320 * sunrpc/clnt_simp.c: Likewise.
19321 * sunrpc/clnt_tcp.c: Likewise.
19322 * sunrpc/clnt_udp.c: Likewise.
19323 * sunrpc/clnt_unix.c: Likewise.
19324 * sunrpc/des_crypt.c: Likewise.
19325 * sunrpc/des_soft.c: Likewise.
19326 * sunrpc/get_myaddr.c: Likewise.
19327 * sunrpc/getrpcport.c: Likewise.
19328 * sunrpc/key_call.c: Likewise.
19329 * sunrpc/key_prot.c: Likewise.
19330 * sunrpc/openchild.c: Likewise.
19331 * sunrpc/pm_getmaps.c: Likewise.
19332 * sunrpc/pm_getport.c: Likewise.
19333 * sunrpc/pmap_clnt.c: Likewise.
19334 * sunrpc/pmap_prot.c: Likewise.
19335 * sunrpc/pmap_prot2.c: Likewise.
19336 * sunrpc/pmap_rmt.c: Likewise.
19337 * sunrpc/rpc/auth.h: Likewise.
19338 * sunrpc/rpc/auth_unix.h: Likewise.
19339 * sunrpc/rpc/clnt.h: Likewise.
19340 * sunrpc/rpc/des_crypt.h: Likewise.
19341 * sunrpc/rpc/key_prot.h: Likewise.
19342 * sunrpc/rpc/netdb.h: Likewise.
19343 * sunrpc/rpc/pmap_clnt.h: Likewise.
19344 * sunrpc/rpc/pmap_prot.h: Likewise.
19345 * sunrpc/rpc/pmap_rmt.h: Likewise.
19346 * sunrpc/rpc/rpc.h: Likewise.
19347 * sunrpc/rpc/rpc_des.h: Likewise.
19348 * sunrpc/rpc/rpc_msg.h: Likewise.
19349 * sunrpc/rpc/svc.h: Likewise.
19350 * sunrpc/rpc/svc_auth.h: Likewise.
19351 * sunrpc/rpc/types.h: Likewise.
19352 * sunrpc/rpc/xdr.h: Likewise.
19353 * sunrpc/rpc_clntout.c: Likewise.
19354 * sunrpc/rpc_cmsg.c: Likewise.
19355 * sunrpc/rpc_common.c: Likewise.
19356 * sunrpc/rpc_cout.c: Likewise.
19357 * sunrpc/rpc_dtable.c: Likewise.
19358 * sunrpc/rpc_hout.c: Likewise.
19359 * sunrpc/rpc_main.c: Likewise.
19360 * sunrpc/rpc_parse.c: Likewise.
19361 * sunrpc/rpc_parse.h: Likewise.
19362 * sunrpc/rpc_prot.c: Likewise.
19363 * sunrpc/rpc_sample.c: Likewise.
19364 * sunrpc/rpc_scan.c: Likewise.
19365 * sunrpc/rpc_scan.h: Likewise.
19366 * sunrpc/rpc_svcout.c: Likewise.
19367 * sunrpc/rpc_tblout.c: Likewise.
19368 * sunrpc/rpc_util.c: Likewise.
19369 * sunrpc/rpc_util.h: Likewise.
19370 * sunrpc/rpcinfo.c: Likewise.
19371 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19372 * sunrpc/rpcsvc/key_prot.x: Likewise.
19373 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19374 * sunrpc/rpcsvc/mount.x: Likewise.
19375 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19376 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19377 * sunrpc/rpcsvc/rex.x: Likewise.
19378 * sunrpc/rpcsvc/rstat.x: Likewise.
19379 * sunrpc/rpcsvc/rusers.x: Likewise.
19380 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19381 * sunrpc/rpcsvc/spray.x: Likewise.
19382 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19383 * sunrpc/rtime.c: Likewise.
19384 * sunrpc/svc.c: Likewise.
19385 * sunrpc/svc_auth.c: Likewise.
19386 * sunrpc/svc_authux.c: Likewise.
19387 * sunrpc/svc_raw.c: Likewise.
19388 * sunrpc/svc_run.c: Likewise.
19389 * sunrpc/svc_simple.c: Likewise.
19390 * sunrpc/svc_tcp.c: Likewise.
19391 * sunrpc/svc_udp.c: Likewise.
19392 * sunrpc/svc_unix.c: Likewise.
19393 * sunrpc/svcauth_des.c: Likewise.
19394 * sunrpc/xcrypt.c: Likewise.
19395 * sunrpc/xdr.c: Likewise.
19396 * sunrpc/xdr_array.c: Likewise.
19397 * sunrpc/xdr_float.c: Likewise.
19398 * sunrpc/xdr_mem.c: Likewise.
19399 * sunrpc/xdr_rec.c: Likewise.
19400 * sunrpc/xdr_ref.c: Likewise.
19401 * sunrpc/xdr_sizeof.c: Likewise.
19402 * sunrpc/xdr_stdio.c: Likewise.
19403
9da4bb31
UD
19404 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19405 handling.
19406
bdaa77bc
AS
194072010-08-19 Andreas Schwab <schwab@redhat.com>
19408
19409 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19410
fe2f79db
LM
194112010-08-19 Luis Machado <luisgpm@br.ibm.com>
19412
19413 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19415 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19416 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19417 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19418 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19419 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19420 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19421 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19422 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19423 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19424 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19425 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19426 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19427
b9b42ee0
AB
194282010-07-26 Anton Blanchard <anton@samba.org>
19429
19430 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19431 * malloc/arena.c (heap_trim): Likewise.
19432
1c06ba31
UD
194332010-08-16 Ulrich Drepper <drepper@redhat.com>
19434
19435 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19436 here. Not...
19437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19438 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19439
f8392f40
L
194402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19441
19442 * sysdeps/i386/elf/Makefile: New file.
19443
3162f12e
AS
194442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19445
19446 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19447 from fanotify_init.
19448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19450
28c90b2c
UD
194512010-08-15 Ulrich Drepper <drepper@redhat.com>
19452
19453 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19454 of strncasecmp_l.
1feccb6c 19455 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19456
ca6bb004
UD
194572010-08-14 Ulrich Drepper <drepper@redhat.com>
19458
e9f82e0d
UD
19459 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19460 strncase_l-nonascii.
19461 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19462 Add strncase_l-ssse3.
19463 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19464 * sysdeps/x86_64/strcmp.S: Likewise.
19465 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19466 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19467 * sysdeps/x86_64/strncase.S: New file.
19468 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19469 * sysdeps/x86_64/strncase_l.S: New file.
19470 * string/Makefile (strop-tests): Add strncasecmp.
19471 * string/test-strncasecmp.c: New file.
19472
19473 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19474 warning.
19475
ca6bb004
UD
19476 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19477 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19478
052fa7b3
AS
194792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19480
19481 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19482
962dba78
UD
194832010-08-12 Ulrich Drepper <drepper@redhat.com>
19484
19485 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19486 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19488
bebff237
AM
194892010-05-01 Alan Modra <amodra@gmail.com>
19490
19491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19492 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19493 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19494 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19495 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19496 tidying. Don't tail-call __sigjmp_save for static lib.
19497 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19498 save location.
19499 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19500 (CALL_MCOUNT): Add eh info, and nop after bl.
19501 (TAIL_CALL_SYSCALL_ERROR): New macro.
19502 (PSEUDO_RET): Use it.
19503 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19504 Correct save location of integer regs and cr.
19505 (_dl_profile_resolve): Correct cr save location. Delete nops
19506 after bl when SHARED. Reduce cfi size a little by better
19507 placement of cfi directives.
19508 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19509 make a stack frame. Instead use parm save area as a temp.
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19511 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19513 Don't make a stack frame for parent, use parm save area.
19514 Increase child stack frame to 112 bytes. Don't save unused reg,
19515 and adjust reg usage. Set up cfi on error recovery and
19516 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19518 (__makecontext): Add dummy nop after jump to exit.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19520 Use correct parm save area and cr save, reduce stack frame.
19521 Correct cfi for possible PSEUDO_RET frame setup.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19523 Branch to local label emitted by PSEUDO_RET rather than
19524 __syscall_error.
19525
02637374
AS
195262010-08-12 Andreas Schwab <schwab@redhat.com>
19527
19528 [BZ #11904]
19529 * locale/programs/locale.c (print_assignment): New function.
19530 (show_locale_vars): Use it.
19531
c3e2f19b
UD
195322010-08-11 Ulrich Drepper <drepper@redhat.com>
19533
3cdaa6ad
UD
19534 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19535 field.
19536 (struct statfs64): Likewise.
19537 (_STATFS_F_FLAGS): Define.
19538 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19539 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19540 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19541 (ST_VALID): Define locally.
19542 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19543 __statvfs_getflags, use the provided value.
19544 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19545 __ASSUME_STATFS_F_FLAGS.
19546
754f7da3
UD
19547 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19548
10b3bedc
UD
19549 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19550 Add sys/fanotify.h.
19551 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19552 fanotify_mask for GLIBC_2.13.
19553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19554 fanotify_init and fanotify_mark.
19555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19556 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19557
c08fb0d7
UD
19558 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19559 Add prlimit.
19560 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19561 prlimit64 for GLIBC_2.13.
19562 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19563 prlimit64.
19564 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19565 syscall.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19567 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19568 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19571 add prlimit alias.
19572 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19573
15bac72b
UD
19574 [BZ #11903]
19575 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19576 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19577
c3e2f19b
UD
19578 * nss/Makefile: Add rules to build and run tst-nss-test1.
19579 * shlib-versions: Add entry for libnss_test1.
19580 * nss/nss_test1.c: New file.
19581 * nss/tst-nss-test1.c: New file.
19582
19583 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19584 (__nss_configure_lookup): Set appropriate entry in
19585 __nss_configure_lookup to true.
19586 * nss/nsswitch.h: Define enum with indeces of databases in
19587 databases and __nss_database_custom arrays. Declare
19588 __nss_database_custom.
19589 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19590 to avoid using nscd when custom rules are installed.
19591 * nss/getXXbyYY_r.c: Likewise.
19592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19593
19594 * nss/nss_files/files-parse.c: Whitespace fixes.
19595
f15ce4d8
UD
195962010-08-09 Ulrich Drepper <drepper@redhat.com>
19597
19598 [BZ #11883]
19599 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19600 * posix/fnmatch_loop.c: Likewise.
19601
d22e4cc9
AK
196022010-07-17 Andi Kleen <ak@linux.intel.com>
19603
19604 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19605 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19606 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19607 * Versions.def [GLIBC_2.13]: Add.
19608
805bc17d
UD
196092010-08-06 Ulrich Drepper <drepper@redhat.com>
19610
19611 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19612 Also fail if tpwd after pwuid call is NULL.
19613
5a42321d
ST
196142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19615
19616 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19617 when converting to ms.
19618
fd3ebeda
ST
196192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19620
19621 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19622 EOPNOTSUPP errors with ENOTTY.
19623 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19624 EOPNOTSUPP errors with ENOTTY.
19625
73507d3a
UD
196262010-07-31 Ulrich Drepper <drepper@redhat.com>
19627
19628 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19629 Add strcasecmp_l-ssse3.
19630 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19631 strcasecmp.
19632 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19633 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19634 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19635
fe36dd02
UD
196362010-07-30 Ulrich Drepper <drepper@redhat.com>
19637
66f6765a
UD
19638 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19639
42e08a54
UD
19640 * string/Makefile (strop-tests): Add strcasecmp.
19641 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19642 strcasecmp_l-nonascii.
19643 (gen-as-const-headers): Add locale-defines.sym.
19644 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19645 * sysdeps/x86_64/strcasecmp.S: New file.
19646 * sysdeps/x86_64/strcasecmp_l.S: New file.
19647 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19648 * sysdeps/x86_64/locale-defines.sym: New file.
19649 * string/test-strcasecmp.c: New file.
19650
fe36dd02
UD
19651 * string/test-strcasestr.c: Test both ends of the range of characters.
19652 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19653
48cbc0d6
RM
196542010-07-29 Roland McGrath <roland@redhat.com>
19655
76e6d6bc 19656 [BZ #11856]
48cbc0d6
RM
19657 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19658
880113d9
UD
196592010-07-27 Ulrich Drepper <drepper@redhat.com>
19660
19661 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19662 for ld.so.
19663
deb9cabb
AS
196642010-07-27 Andreas Schwab <schwab@redhat.com>
19665
19666 * manual/memory.texi (Malloc Tunable Parameters): Document
19667 M_PERTURB.
19668
1c7570ff
RM
196692010-07-26 Roland McGrath <roland@redhat.com>
19670
19671 [BZ #11840]
19672 * configure.in (-fgnu89-inline check): Set and substitute
19673 gnu89_inline, not libc_cv_gnu89_inline.
19674 * configure: Regenerated.
19675 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19676
24fb0f88
UD
196772010-07-26 Ulrich Drepper <drepper@redhat.com>
19678
19679 * string/test-strnlen.c: New file.
19680 * string/Makefile (strop-tests): Add strnlen.
19681 * string/tester.c (test_strnlen): Add a few more test cases.
19682 * string/tst-strlen.c: Better error reporting.
19683
19684 * sysdeps/x86_64/strnlen.S: New file.
19685
8e96b93a
UD
196862010-07-24 Ulrich Drepper <drepper@redhat.com>
19687
19688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19689 lower-latency instructions.
19690
dbc676d4
UD
196912010-07-23 Ulrich Drepper <drepper@redhat.com>
19692
19693 * string/test-strcasestr.c: New file.
19694 * string/test-strstr.c: New file.
19695 * string/Makefile (strop-tests): Add strstr and strcasestr.
19696 * string/str-two-way.h: Don't undefine MAX.
19697 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19698
f6a31e0e
AS
196992010-07-21 Andreas Schwab <schwab@redhat.com>
19700
19701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19702 strcasestr-nonascii.
19703 (CFLAGS-strcasestr-nonascii.c): Define.
19704 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19705 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19706 Remove unused attribute.
19707
5dbc3b6c
RM
197082010-07-20 Roland McGrath <roland@redhat.com>
19709
19710 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19711 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19712 ld.so.cache was broken. With it, there is no way to disable dsocaps
19713 like LD_HWCAP_MASK can disable hwcaps.
19714
23d101d8
EPM
197152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19716
19717 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19718
cc9f2e47
UD
197192010-07-16 Ulrich Drepper <drepper@redhat.com>
19720
19721 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19722 call in strcasestr.
19723 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19724 __strcasestr_sse42_nonascii.
19725 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19726 strcasestr-nonascii.c.
19727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19728
77c1b069
LM
197292010-06-15 Luis Machado <luisgpm@br.ibm.com>
19730
19731 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19732 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19733 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19734 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19735
440566c3
UD
197362010-07-09 Ulrich Drepper <drepper@redhat.com>
19737
19738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19739 fcntl.
19740
5be9d05d
AS
197412010-07-06 Andreas Schwab <schwab@redhat.com>
19742
c30b7ee2 19743 [BZ #11577]
5be9d05d
AS
19744 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19745 dl_signal_cerror.
19746
8a492a67
UD
197472010-07-06 Ulrich Drepper <drepper@redhat.com>
19748
19749 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19750 _PC_PIPE_BUF using F_GETPIPE_SZ.
19751
713df3d5
RM
197522010-07-05 Roland McGrath <roland@redhat.com>
19753
19754 * manual/arith.texi (Rounding Functions): Fix rint description
19755 implicit in round description.
19756
702e8f14
UD
197572010-07-02 Ulrich Drepper <drepper@redhat.com>
19758
19759 * elf/Makefile: Fix linking for a few tests to make recent linker
19760 happy.
19761
52ed8be9
AS
197622010-06-30 Andreas Schwab <schwab@redhat.com>
19763
19764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19765 $(common-objpfx)libc_nonshared.a.
19766
f47c9a11
LM
197672010-06-21 Luis Machado <luisgpm@br.ibm.com>
19768
19769 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19770 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19771 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19772 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19773 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19774 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19775 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19776 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19791 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19792 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19793 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19794 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19795 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19796 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19797 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19798 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19799 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19800 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19801 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19802 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19817
6fb8cbcb
L
198182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19819
19820 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19821 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19822 * string/memmove.c (memmove): Renamed to ...
19823 (MEMMOVE): ...this. Default to memmove.
19824 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19825 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19826 (END_CHK): Define.
19827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19828 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19829 mempcpy-ssse3-back memmove-ssse3-back.
19830 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19831 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19832 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19833 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19834 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19835 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19836 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19837 * sysdeps/x86_64/multiarch/memmove.c: New file.
19838 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19839 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19840 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19841 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19842 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19844 Define.
19845 (index_Fast_Copy_Backward): Define.
19846 (HAS_ARCH_FEATURE): Define.
19847 (HAS_FAST_REP_STRING): Define.
19848 (HAS_FAST_COPY_BACKWARD): Define.
19849
4e733bac 198502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19851
19852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19853 Restore proper fallback handling.
19854
63c4ed22
UD
198552010-06-19 Ulrich Drepper <drepper@redhat.com>
19856
ac2b484c
UD
19857 [BZ #11701]
19858 * posix/group_member.c (__group_member): Correct checking loop.
19859
63c4ed22
UD
19860 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19861 OOM in getpwuid_r correctly. Return error number when the caller
19862 should return, otherwise -1.
19863 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19864 call returning > 0 value.
19865 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19866
765ade4b
AS
198672010-06-07 Andreas Schwab <schwab@redhat.com>
19868
19869 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19870 libc_nonshared.a from targets in modules-names.
19871
80da2e09
KS
198722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19873
19874 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19875 requires it.
19876
158db122
LM
198772010-06-10 Luis Machado <luisgpm@br.ibm.com>
19878
19879 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19882 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19883
caa78cf8
AS
198842010-06-02 Andreas Schwab <schwab@redhat.com>
19885
19886 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19887
b2ef2c01
UD
198882010-06-14 Ulrich Drepper <drepper@redhat.com>
19889
19890 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19891 and F_GETPIPE_SZ.
19892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19897 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19898
fbd643b6
RM
198992010-06-14 Roland McGrath <roland@redhat.com>
19900
19901 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19902
f32f2869
JJ
199032010-06-07 Jakub Jelinek <jakub@redhat.com>
19904
19905 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19906 __REDIRECT followed by __THROW.
19907 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19908 * posix/getopt.h (getopt): Likewise.
19909
2a50c078
EPM
199102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19911
19912 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19913 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19914 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19915 in AT_FLAGS.
19916 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19917 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19918
eb5ad2eb
LM
199192010-05-28 Luis Machado <luisgpm@br.ibm.com>
19920
19921 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19922
3c88fe1e
L
199232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19924
19925 [BZ #11640]
19926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19927 Properly check family and model.
19928
d2f73151
TY
199292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19930
19931 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19932
ebd2e13d
LM
199332010-05-24 Luis Machado <luisgpm@br.ibm.com>
19934
19935 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19936
b32b8b45
UD
199372010-05-21 Ulrich Drepper <drepper@redhat.com>
19938
19939 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19940 symbol reference.
19941
9acbe24d
AS
199422010-05-19 Andreas Schwab <schwab@redhat.com>
19943
19944 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19945 symbol reference.
19946
f0ccf6ea
AS
199472010-05-21 Andreas Schwab <schwab@redhat.com>
19948
3d04ff3a
AS
19949 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19950 and internal_recvmmsg.
19951 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19952 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19953 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19954 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19955
f0ccf6ea
AS
19956 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19957 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19958 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19959
5b08ac57
AS
199602010-05-20 Andreas Schwab <schwab@redhat.com>
19961
19962 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19963
4828935d
LM
199642010-05-17 Luis Machado <luisgpm@br.ibm.com>
19965
19966 POWER7 optimizations.
19967 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19968 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19969
373d545e
UD
199702010-05-19 Ulrich Drepper <drepper@redhat.com>
19971
19972 * version.h: Update for 2.13 development version.
19973
21a2b1ae
AS
199742010-05-12 Andrew Stubbs <ams@codesourcery.com>
19975
19976 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19977 exceptions. Return 0.
19978
3f7dcb2b
RM
199792010-05-07 Roland McGrath <roland@redhat.com>
19980
19981 * elf/ldconfig.c (main): Add a const.
19982
5f24d53a 199832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19984
a160f8d8
UD
19985 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19986 (args_options): Add no-idn option.
19987 (ahosts_keys_int): Add idn_flags to ai_flags.
19988 (parse_option): Handle 'i' option to clear idn_flags.
19989
5f24d53a
UD
19990 * malloc/malloc.c (_int_free): Possible race in the most recently
19991 added check. Only act on the data if no current modification
19992 happened.
265bb1ce
UD
19993
19994See ChangeLog.17 for earlier changes.
This page took 2.719775 seconds and 5 git commands to generate.