]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add tests for underflow exception bugs 10846, 14036.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
80bad0cc
JM
12012-05-24 Joseph Myers <joseph@codesourcery.com>
2
7a25eb06
JM
3 [BZ #10846]
4 [BZ #14036]
5 * math/libm-test.inc (exp_test): Add test from bug 14036.
6 (pow_test): Add test from bug 10846.
7
795405f9
JM
8 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9 and other flags.
10 (special_function): Do not include flags in test name.
11 (parse_args): Likewise.
12 * sysdeps/i386/fpu/libm-test-ulps: Update.
13 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17
80bad0cc
JM
18 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19 exceptions.
20 * math/libm-test.inc ("Philosophy"): Update comment about
21 exception testing.
22 (UNDERFLOW_EXCEPTION): New macro.
23 (UNDERFLOW_EXCEPTION_OK): Likewise.
24 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28 (INVALID_EXCEPTION_OK): Update value.
29 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30 (OVERFLOW_EXCEPTION_OK): Likewise.
31 (IGNORE_ZERO_INF_SIGN): Likewise.
32 (test_exceptions): Handle underflow exceptions.
33 (acos_test): Update for underflow exception expectations.
34 (cexp_test): Likewise.
35 (clog_test): Likewise.
36 (clog10_test): Likewise.
37 (csqrt_test): Likewise.
38 (ctan_test): Likewise.
39 (ctanh_test): Likewise.
40 (exp_test): Likewise.
41 (exp10_test): Likewise.
42 (exp2_test): Likewise.
43 (expm1_test): Likewise.
44 (fma_test): Likewise.
45 (j0_test): Likewise.
46 (jn_test): Likewise.
47 (nexttoward_test): Likewise.
48 (pow_test): Likewise.
49 (scalbn_test): Likewise.
50 (scalbln_test): Likewise.
51 (tan_test): Likewise.
52 (y1_test): Likewise.
53 * sysdeps/i386/fpu/libm-test-ulps: Update.
54 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55
9e0e3d0b
DM
562012-05-23 David S. Miller <davem@davemloft.net>
57
58 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59 (__libc_sigaction): Remove unused local variables.
60
ccd0a08f
L
612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62
63 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64
62bdf9a6
PE
652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
66
f8591f80
PE
67 mktime: avoid signed integer overflow
68 * time/mktime.c (__mktime_internal): Do not mishandle the case
69 where diff == INT_MIN.
70
94c7d826
PE
71 mktime: simplify computation of average
72 * time/mktime.c (ranged_convert): Use new time_t_avg function
73 instead of rolling our own (probably-slower) code.
74
ce73d683
PE
75 mktime: do not assume signed right shift propagates sign bit
76 * time/mktime.c (isdst_differ): New static function.
77 (__mktime_internal): No need to normalize tm_isdst now.
78 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79 tm_isdst values.
80
72a22e59
PE
81 mktime: merge another wrapv change from gnulib
82 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
83 from some compilers.
84
68605433
PE
85 mktime: remove incorrect attempt at unusual arithmetics
86 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
87 The code didn't really work on such machines anyway.
88 (TYPE_MINIMUM): Assume two's complement.
89 (twos_complement_arithmetic): Verify that long_int and time_t
90 are two's complement (or unsigned, in the latter case).
91
03cf7fe3
PE
92 mktime: check signed shifts on long_int and time_t, too
93 * time/mktime.c (SHR): Check that shifts work as desired
94 on the types long_int and time_t too, as SHR is used on
95 such types.
96
f04dfbc2
PE
97 mktime: do not assume 'long' is wide enough
98 * time/mktime.c (verify): Move decl up.
99 (long_int): New type.
100 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
101 to remove assumption in the code that 'long' is wide enough to
102 store year values. This assumption is not true on x32 and on
103 some non-glibc platforms.
104
62bdf9a6
PE
105 mktime: merge wrapv change from gnulib
106 * time/mktime.c (WRAPV): New macro.
107 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
108 (guess_time_tm, __mktime_internal): Do not assume that signed
109 integer overflow wraps around; modern compilers generate code
110 where this assumption is no longer valid.
111
5e292e4f
L
1122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
113
114 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
115 Replace "jmp L(pseudo_end)" with "ret".
116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
117 Likewise.
118
8caf8c87
AJ
1192012-05-23 Andreas Jaeger <aj@suse.de>
120
121 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
122 * sysdeps/unix/sysv/linux/poll.c: Remove file.
123
1a09dc56
AJ
1242012-05-23 Andreas Jaeger <aj@suse.de>
125 Maximilian Attems <max@stro.at>
126
127 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
128 New macros.
129
1c87aba0
L
1302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
131
132 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
133 code so that pseudo_end is just ret and the stack pointer is
134 correct also for static library in error case.
135
40e45bd5
JM
1362012-05-23 Joseph Myers <joseph@codesourcery.com>
137
c2670533
JM
138 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
139 move to syscalls.list.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
144
40e45bd5
JM
145 * manual/install.texi (Running make install): Do not mention Linux
146 kernel version for which pt_chown is not needed.
147 (Linux): Do not mention problems with nscd with 2.0 kernels.
148 * INSTALL: Regenerated.
149
be08eda5
AJ
1502012-05-23 Andreas Jaeger <aj@suse.de>
151
152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
153 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
154 macro.
155 * sysdeps/unix/sysv/linux/s390/bits/mman.h
156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
157 * sysdeps/unix/sysv/linux/sh/bits/mman.h
158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
159 * sysdeps/unix/sysv/linux/i386/bits/mman.h
160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
165 * sysdeps/unix/sysv/linux/bits/in.h
166 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
167
a6a056bb
RM
1682012-05-22 Roland McGrath <roland@hack.frob.com>
169
170 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
171 (PREPARE_VERSION): Just use assert instead, it will be elided
172 under [NDEBUG] anyway.
173
c9009328
L
1742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
175
176 * sysdeps/unix/sysv/linux/Makefile: Include
177 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 178 (sysdep_routines): Remove sysctl.
c9009328
L
179 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
180 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
181 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
182 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
183 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
184
73338355
AJ
1852012-05-22 Andreas Jaeger <aj@suse.de>
186
187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
188 that pseudo_end is just ret and the stack pointer is correct also
189 for static library in error case.
190
d44638b0
PP
1912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
192
193 [BZ #14122]
194 * nss/nsswitch.c (defconfig_entries): New variable.
195 (__nss_database_lookup): Don't leak defconfig entries.
196 (nss_parse_service_list): Don't leak on error paths.
197 (free_database_entries): New function.
198 (free_defconfig): New function.
199 (free_mem): Move common code to free_database_entries.
200
31a39bd8
L
2012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
202
da0331a8
L
203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
204 Add arch_prctl.
205 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
206
31a39bd8
L
207 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
208 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
210 New macro.
211 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
212 (INTERNAL_SYSCALL_TYPES): Likewise.
213 (LOAD_ARGS_TYPES_[1-6]): Likewise.
214 (LOAD_REGS_TYPES_[1-6]): Likewise.
215 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
216 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
217
45470df3
AZ
2182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219
220 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
221 copysignl for GLIBC_2_0.
222 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
223 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
225 logbl for GLIBC_2_0.
226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
227 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
228
98a61bcb
L
2292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
230
a4f6e481
L
231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
232 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
233
f63d5db6
L
234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
235 Use "neg %eax".
236
98a61bcb
L
237 * time/mktime.c: Update copyright years.
238
95770f14
PE
2392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
240
6226efbd
PE
241 mktime: merge comment-quoting-style change from gnulib
242 * time/mktime.c: Quote 'like this' in comments.
243 The GNU coding standards suggest that we no longer quote `like this',
244 as "`" and "'" are typically rendered asymmetrically nowadays.
245 The typical gnulib style is to quote 'like this' when quoting
246 code, and "like this" when quoting English.
247
b99e4f78
PE
248 * time/mktime.c (compile-command): Add "-I.".
249
643e01e6
PE
250 mktime: merge mktime-internal.h change from gnulib
251 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
252
2554247d
PE
253 mktime: merge time_r change from gnulib
254 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
255
826dd0ab
PE
256 mktime: merge DEBUG change from gnulib
257 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
258 case system <time.h> has a #define.
259
bd83aabe
PE
260 mktime: merge <sys/types.h> change from gnulib
261 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
262 since <time.t> is now guaranteed to define time_t.
263
95770f14
PE
264 mktime: merge HAVE_CONFIG_H change from gnulib
265 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
266
5e1a27a9
L
2672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
268
0e44a77e
L
269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
270 Use "neg %eax".
271
5e1a27a9
L
272 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
273 __rlim_t cast.
274 (struct rusage): Use anonymous union to pad each field to
275 __syscall_slong_t.
276
46259bec
DM
2772012-05-21 David S. Miller <davem@davemloft.net>
278
279 * Makefules (o-iterator): Remove .s cases.
280 (compile-command.s): Delete.
281 (COMPILE.s): Delete.
282 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
283
59f0c22e
JM
2842012-05-21 Joseph Myers <joseph@codesourcery.com>
285
286 * configure.in (libc_cv_predef_stack_protector): Only consider
287 "foobar" and "__stack_chk_fail" lines in libc_undefs.
288 * configure: Regenerated.
289
20c07380
L
2902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
291
bbb3154b
L
292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
293 New macro. Use R*LP on int and pointer.
294 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
295 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
296 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
297 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
298
20c07380
L
299 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
300 [__WORDSIZE_TIME64_COMPAT32] instead of
301 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
302 (struct utmp): Likewise.
303 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
304 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
305 Renamed to ...
306 (__WORDSIZE_TIME64_COMPAT32): This.
307 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
308 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
309 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
310 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
311 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
312 (__WORDSIZE_TIME64_COMPAT32): New macro.
313
d8d1017e
AJ
3142012-05-21 Andreas Jaeger <aj@suse.de>
315
316 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
317 only if [SHARED]. Add prototype for __wcschr_ia32.
318
6c7fb145
RM
3192012-05-21 Roland McGrath <roland@hack.frob.com>
320
321 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
322 of %rbp unmolested in the jmp_buf while mangling the low bits.
323 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
324 unmolested high bits of %rbp while demangling the low bits.
325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
326
66274218
AJ
3272012-05-21 Andreas Jaeger <aj@suse.de>
328
07c58f8f
AJ
329 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
330 * sunrpc/svc_simple.c: Use it for registerrpc.
331 * sunrpc/xcrypt.c: Use it for passwd2des.
332
66274218
AJ
333 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
334
61f65140
L
3352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
336
337 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
338 Don't define if [__SYSCALL_WORDSIZE != 32].
339 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
340 New macro.
341
5fefb436
AJ
3422012-05-21 Bruno Haible <bruno@clisp.org>
343 Andreas Jaeger <aj@suse.de>
344
345 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
346 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
347 inptr and inend for must_buffer_ch.
348 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
349 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
350 * stdio-common/Makefile (tests): Remove bug15.
351 (bug15-ENV): Remove macro.
352 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
353 anymore.
354
d8e272ab
AJ
3552012-05-19 Andreas Jaeger <aj@suse.de>
356 Roland McGrath <roland@hack.frob.com>
357
358 * manual/contrib.texi: Completely rewritten. It contains now an
359 alphabetical list of contributors and their contributions.
360
4a56a162
RH
3612012-05-21 Richard Henderson <rth@twiddle.net>
362
363 * misc/getauxval.c (__getauxval): Use unsigned long int.
364 * misc/sys/auxv.h: Include <sys/cdefs.h>.
365 (getauxval): Use unsigned long int.
366
d024d23c
L
3672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
368
369 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
370
cbc00a03
RM
3712012-05-21 Roland McGrath <roland@hack.frob.com>
372
373 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
374 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
375 __alignof__ (long double).
376
478143fa
AZ
3772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
378
379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
380
c7683a6d
RH
3812012-05-20 Richard Henderson <rth@twiddle.net>
382
383 * misc/getauxval.c: New file.
384 * misc/sys/auxv.h: New file.
385 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
386 (routines): Add getauxval.
387 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
388 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
389 * elf/dl-sysdep.c (_dl_auxv): Remove.
390 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
391 * elf/dl-support.c (_dl_auxv): New variable.
392 (_dl_aux_init): Initialize it.
393 * manual/startup.texi (Auxiliary Vector): New node.
394 * sysdeps/generic/bits/hwcap.h: New file.
395 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
396 * sysdeps/powerpc/sysdep.h: ... here. Include it.
397 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
398 * sysdeps/sparc/sysdep.h: ... here. Include it.
399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
402 Update.
c7683a6d
RH
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
411
a6f1845d
AZ
4122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
415
cbcbe830
DM
4162012-05-19 David S. Miller <davem@davemloft.net>
417
418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
419
e0b16cc2
JM
4202012-05-19 Joseph Myers <joseph@codesourcery.com>
421
422 [BZ #14123]
423 * math/s_ccosh.c: Include <float.h>
424 (__ccosh): Avoid internal overflow calculating sinh and cosh
425 values before multiplying by sin and cos values.
426 * math/s_ccoshf.c: Likewise.
427 * math/s_ccoshl.c: Likewise.
428 * math/s_csin.c: Likewise.
429 * math/s_csinf.c: Likewise.
430 * math/s_csinl.c: Likewise.
431 * math/s_csinh.c: Likewise.
432 * math/s_csinhf.c: Likewise.
433 * math/s_csinhl.c: Likewise.
434 * math/libm-test.inc (ccos_test): Add more tests.
435 (ccosh_test): Likewise.
436 (csin_test): Likewise.
437 (csinh_test): Likewise.
438 * sysdeps/i386/fpu/libm-test-ulps: Update.
439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
440
6ad13e08
L
4412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
442
f66f0ce8
L
443 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
444 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
445
6ad13e08
L
446 * sysdeps/x86_64/x32/_itoa.h: Add comment.
447
b1d072a7
JM
4482012-05-19 Joseph Myers <joseph@codesourcery.com>
449
450 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
451 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
452 * sysdeps/powerpc/soft-fp/Versions: Likewise.
453 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
454 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
455 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
456 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
457 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
458 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
459 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
460 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
461 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
462 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
463 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
464 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
465 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
466 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
467 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
468 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
469 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
470 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
471 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
472 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
473 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
474 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
475 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
476 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
477 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
478 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
479 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
480 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
481
9eae47cb
AJ
4822012-05-18 Andreas Jaeger <aj@suse.de>
483
484 * csu/.gitignore: Delete.
485
bb07f69f
L
4862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
487
488 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
489 (timex): Use __syscall_slong_t.
490
e6bdb741
AJ
4912012-05-18 Andreas Jaeger <aj@suse.de>
492 Carlos O'Donell <carlos_odonell@mentor.com>
493
494 * manual/install.texi (Configuring and compiling): Update
495 description about files modified in the source directory.
496 * INSTALL: Regenerated.
497
1b74487e
L
4982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
499
500 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
501 value. Use "or" to set return value to -1.
502 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
503 negate return value.
504
a88b64b9
TMQMF
5052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
506
507 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
508 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
509 failure if the compiler has Graphite support disabled.
510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
511 Likewise.
512 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
513 CFLAGS-memmove.c): Likewise.
514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
515 Likewise.
516
3707636e
L
5172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
518
610b8622
L
519 * sysdeps/x86_64/x32/_itoa.h: New file.
520
7cd195df
L
521 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
522 getdents system call only if kernel and user dirents have the
523 same d_ino and d_off.
524
94b07d20
L
525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
526 LLONG_MAX != LONG_MAX.
527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
528 (_fitoa_word): Likewise.
529
18298070
L
530 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
531 years.
532 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
533 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
534 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
535
553c7ea4
L
536 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
537 include <bits/wordsize.h>. Check __x86_64__ instead of
538 __WORDSIZE.
539 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
540 if __x86_64__ is defined. Use anonymous union on fpstate.
541
3707636e
L
542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
543 anonymous union.
544
b53ef01a
AS
5452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
546
37fb1dc0
AS
547 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
548 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
549 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
550 Refer to _rtld_local_ro instead of _rtld_global_ro.
551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
552 Likewise.
553 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
554 Likewise.
555 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
556 Likewise.
557 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
558 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
559 of _rtld_global, and rtld_progname instead of _dl_argv[0].
560
b53ef01a
AS
561 * sysdeps/powerpc/powerpc32/dl-machine.c
562 (__elf_machine_runtime_setup) [PROF]: Don't reference
563 _dl_prof_resolve.
564
7a185db2
AJ
5652012-05-18 Andreas Jaeger <aj@suse.de>
566
567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
568 function only available for GCCs before 3.4 since GCC 3.4
569 introduced a builtin.
570 (lrint): Likewise.
571 (llrintf): Likewise.
572 (llrint): Likewise.
573 (fmaxf): Likewise.
574 (fmax): Likewise.
575 (fminf): Likewise.
576 (fmin): Likewise.
577 (rint): Likewise.
578 (rintf): Likewise.
579 (nearbyint): Likewise.
580 (nearbyintf): Likewise.
581 (ceil): Likewise.
582 (ceilf): Likewise.
583 (floor): Likewise.
584 (floorf): Likewise.
585
3e5aef87
L
5862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
587
428bd707
L
588 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
589 on both fields and cast pointer to __syscall_ulong_t.
590
3e5aef87
L
591 * bits/types.h (__fsword_t): New type.
592 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
593 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
595 (__FSWORD_T_TYPE): Likewise.
596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
597 (__FSWORD_T_TYPE): Likewise.
598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
599 (__FSWORD_T_TYPE): Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
601 (__FSWORD_T_TYPE): Likewise.
602 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
603 __SWORD_TYPE with __fsword_t.
604 (statfs64): Likewise.
605
1ba7c3dc
DM
6062012-05-17 David S. Miller <davem@davemloft.net>
607
608 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
609
59910343
AJ
6102012-05-17 Andreas Jaeger <aj@suse.de>
611
612 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
613 warning.
614
2e4c1e9e
L
6152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
616
617 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
618
de7f5ce7
AJ
6192012-05-17 Andreas Jaeger <aj@suse.de>
620
621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
622 when it is used.
623
286abc3d
CM
6242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
625
626 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
627
477cc68e
L
6282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
629
630 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
631 * sysdeps/x86_64/tst-mallocalign1.c: New file.
632
1a0994f5
CD
6332012-05-17 Andreas Jaeger <aj@suse.de>
634 Carlos O'Donell <carlos_odonell@mentor.com>
635
636 [BZ #14059]
637 * sysdeps/x86_64/multiarch/init-arch.h
638 (bit_YMM_Usable): Rename to...
639 (bit_AVX_Usable): ... this.
640 (bit_FMA4_Usable): New macro.
641 (bit_XMM_state): New macro.
642 (bit_YMM_state): New macro.
643 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
644 [__ASSEMBLER__] (index_AVX_Usable): ... this.
645 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
646 (CPUID_OSXSAVE): New macro.
647 (CPUID_AVX): New macro.
648 (CPUID_FMA4): New macro.
649 (index_YMM_Usable): Rename to...
650 (index_AVX_Usable): ... this.
651 (HAS_AVX): Use HAS_ARCH_FEATURE.
652 (HAS_FMA4): Likewise.
653 (HAS_YMM_USABLE): Remove.
654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
655 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
656 are present.
657 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
658 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
659 * sysdeps/x86_64/multiarch/Makefile: Likewise.
660 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
661 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
662
0af797de
CM
6632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
664
665 * math/libm-test.c: Support platforms without multiple rounding modes.
666 * math/bug-nextafter.c: Support platforms without FP exceptions.
667 * math/bug-nexttoward.c: Likewise.
668 * math/test-fenv.c: Likewise.
669 * math/test-misc.c: Likewise.
670 * stdlib/bug-getcontext.c: Likewise.
671
e39745ff
AJ
6722012-05-17 Andreas Jaeger <aj@suse.de>
673
674 * manual/examples/search.c (critter_cmp): Change signature to
675 avoid warnings.
676 * manual/string.texi (Collation Functions): Likewise.
677
48970aba
L
6782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
679
680 * bits/types.h: Fold copyright years.
681 * bits/typesizes.h: Likewise.
682 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
686 * time/time.h: Likewise.
687
bedee953
PP
6882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
689
690 [BZ #208]
691 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
692 in instead of returning them. Return void.
693 (__libc_mallinfo): Accumulate over all arenas.
694 (__malloc_stats): Adjust for change in int_mallinfo interface.
695
61653dfb
RM
6962012-05-16 Roland McGrath <roland@hack.frob.com>
697
30b99d79
RM
698 [BZ #10375]
699 * configure.in (NM): Add AC_CHECK_TOOL for it.
700 (libc_extra_cflags): New substituted variable.
701 Check for -fstack-protector being used implicitly.
702 * configure: Regenerated.
703 * config.make.in (config-extra-cflags): New variable,
704 gets @libc_extra_cflags@.
705 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
706
61653dfb
RM
707 [BZ #10375]
708 * configure.in: Check for _FORTIFY_SOURCE being predefined.
709 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
710 * configure: Regenerated.
711 * config.make.in (CPPUNDEFS): New substituted variable.
712 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
713 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
714 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
715
661768bb
L
7162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
719 (mq_attr): Use __syscall_slong_t.
720
d4261567
L
7212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
722
723 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
724 Check __x86_64__ instead of __WORDSIZE.
725 (_STAT_VER_LINUX): Likewise.
726 (stat): Check __x86_64__ instead of __WORDSIZE. Use
727 __syscall_ulong_t and __syscall_slong_t.
728 (stat64): Likewise.
729
cf3ff365
L
7302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
731
732 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
733
76cf3e4d
L
7342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
735
736 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
737
a637753a
L
7382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
739
740 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
741 __syscall_ulong_t.
742
d5e05119
L
743 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
744 include <bits/wordsize.h>. Check __x86_64__ instead of
745 __WORDSIZE.
746 (greg_t): Use "__extension__ long long int" if __x86_64__ is
747 defined.
748 (mcontext_t): Replace "unsigned long" with "unsigned long long".
749
f62ee380
L
750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
751 include <bits/wordsize.h>. Check __x86_64__ instead of
752 __WORDSIZE.
753 (user_regs_struct): Use "__extension__ unsigned long long"
754 instead of "unsigned long" if __x86_64__ is defined.
755 (user): Likewise. Pad after pointer field if __ILP32__ is
756 defined.
757
4e124ced
JM
7582012-05-16 Joseph Myers <joseph@codesourcery.com>
759
6a3951a0
JM
760 * configure.in (makeinfo): Require version 4.5 or later. Allow
761 versions 5 to 9.
762 * configure: Regenerated.
763 * manual/install.texi (texinfo): Increase version requirement to
764 4.5 or later.
765 * INSTALL: Regenerated.
766
4e124ced
JM
767 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
768
953ca31a
L
7692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
770
771 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
772
617aca05
L
773 * sysdeps/x86_64/x32/ffs.c: New file.
774
5762f7ae
L
775 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
776 __syscall_ulong_t.
777 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
778 defined. Use __syscall_ulong_t.
779 (shminfo): Use __syscall_ulong_t.
780 (shm_info): Likewise.
781
a26b6856
L
782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
783 __syscall_ulong_t.
784
cb2b9ef7
L
785 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
786 <bits/wordsize.h>.
787 (msgqnum_t): Use __syscall_ulong_t.
788 (msglen_t): Likewise.
789 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
790 __syscall_ulong_t.
791
34683bb0
L
792 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
794
84a68786
L
795 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
796
48baa5f1
L
797 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
798 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
799
180be88b
L
800 * sysvipc/sys/msg.h (msgbuf): Replace long int with
801 __syscall_slong_t.
802
5e90c8ad
L
803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
804 include <bits/wordsize.h>. Check __x86_64__ instead of
805 __WORDSIZE.
806
23dfb58b
L
807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
808 "unsigned long long int" if __x86_64__ is defined.
809 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
810
ce5d54b0
L
811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
812 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
813 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
814
13dc9eac
L
815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
816 <stdint.h>.
817 (GET_PC): Cast to uintptr_t first.
818 (GET_FRAME): Likewise.
819 (GET_STACK): Likewise.
820
a7895d15
L
821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
824 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
826 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
827 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
828 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
829 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
833 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
834 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
835 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
843 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
845 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
847 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
849 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
850
656416c9
AS
8512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
852
5bd66283
AS
853 * Makerules (+depfiles): Also collect depfiles from .oS in
854 $(extra-objs).
855 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
856 .oS, $(libnldbl-routines)).
857
656416c9
AS
858 * Makerules (native-compile-mkdep-flags): Define.
859 * sunrpc/Makefile (extra-objs): Add $(addprefix
860 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
861 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
862 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
863 calling $(make-target-directory).
864
a46f2169
L
8652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
866
867 * bits/types.h (__snseconds_t): Removed.
868 * time/time.h (struct timespec): Replace __snseconds_t with
869 __syscall_slong_t.
870 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
871 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
872 Likewise.
873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
874 (__SNSECONDS_T_TYPE): Likewise.
875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
876 (__SNSECONDS_T_TYPE): Likewise.
877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
878 (__SNSECONDS_T_TYPE): Likewise.
879
6af6528b
L
8802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
881
882 * sysdeps/mach/hurd/bits/typesizes.h
883 (__SYSCALL_SLONG_TYPE): New macro.
884 (__SYSCALL_ULONG_TYPE): Likewise.
885
de986b56
L
8862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
887
888 * bits/types.h (__syscall_slong_t): New type.
889 (__syscall_ulong_t): Likewise.
890
891 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
892 (__SYSCALL_ULONG_TYPE): Likewise.
893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
894 (__SYSCALL_SLONG_TYPE): Likewise.
895 (__SYSCALL_ULONG_TYPE): Likewise.
896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
897 (__SYSCALL_SLONG_TYPE): Likewise.
898 (__SYSCALL_ULONG_TYPE): Likewise.
899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
900 (__SYSCALL_SLONG_TYPE): Likewise.
901 (__SYSCALL_ULONG_TYPE): Likewise.
902
85736dc7
L
9032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
904
905 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
906 Add sigaltstack-offsets.sym.
907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
908 <sigaltstack-offsets.h>.
909 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
910 longjmp_msg pointer.
911 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
912 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
913 signal stack.
914 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
915
cc03b296
JM
9162012-05-15 Joseph Myers <joseph@codesourcery.com>
917
a9538892
JM
918 * elf/stackguard-macros.h: Remove file.
919 * sysdeps/generic/stackguard-macros.h: New file.
920 * sysdeps/i386/stackguard-macros.h: Likewise.
921 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
922 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
923 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
924 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
925 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
926 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
927 * sysdeps/x86_64/stackguard-macros.h: Likewise.
928 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
929 <elf/stackguard-macros.h>.
930
cc03b296
JM
931 [BZ #14109]
932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
933 __aligned__ in attribute.
934 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
935 (gregset_t): Likewise.
936
93171016
L
9372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
938
939 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
940 * sysdeps/x86_64/64/Implies-after: Here. New file.
941 * sysdeps/x86_64/x32/Implies-after: New file.
942
d86813a0
L
9432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
944
945 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
946 and access return value for _dl_profile_fixup. Use R10_LP to
947 load frame size.
948
2953ec75
L
9492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
950
951 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
952
3b550e9e
L
9532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
954
955 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
956 * sysdeps/x86_64/x32/sysdep.h: New file.
957
eda41706
L
9582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
959
960 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
961 * sysdeps/x86_64/setjmp.S: Likewise.
962
9ea01d93
AZ
9632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
967 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
969 remove unused global constant.
970
02a91938
CM
9712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
972
973 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
974 include of <not-cancel.h>.
975
6540185f
RM
9762012-05-15 Roland McGrath <roland@hack.frob.com>
977
978 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
979
509072a0
AJ
9802012-05-15 Jeff Law <law@redhat.com>
981 Andreas Jaeger <aj@suse.de>
982
983 [BZ #13594]
984 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
985 out from...
986 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
987 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
988 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
989 code changing __hst_map_handle.map.
990
ba75122d
RM
9912012-05-15 Roland McGrath <roland@hack.frob.com>
992
993 * configure.in (sysnames): Look for Implies-before and Implies-after
994 files.
995 * configure: Regenerated.
996
890d8bd8
L
9972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
998
999 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1000 8-byte data alignment with LP_SIZE alignment.
1001
f6ee6623
L
10022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1005 into R10_LP.
1006
ea2626f6
L
10072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1010
085f715e
L
10112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1014 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1018
be8498fc
L
10192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1022 (stackinfo_sub_sp): Likewise.
1023
70bc83b9
L
10242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1027 RAX_LP.
1028
9bc0b730
L
10292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1030
1031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1032 into R*_LP.
1033
6d2850e7
L
10342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1037 sizes into R*_LP.
1038
3cb84561
L
10392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1040
1041 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1042
54e2ed81
L
10432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1046 into R11_LP and load __x86_64_shared_cache_size_half into
1047 R8_LP.
1048
8a17f349
L
10492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1050
1051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1052 R8_LP.
1053
777b1eea
AZ
10542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1055
1056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1057 logb for POWER7.
1058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1059 logbf for POWER7.
1060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1061 logbl for POWER7.
1062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1063 powerpc32/power7/fpu/s_logb.c via #include.
1064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1065 powerpc32/power7/fpu/s_logbf.c via #include.
1066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1067 powerpc32/power7/fpu/s_logbl.c via #include.
1068
d20d4ac2
JM
10692012-05-15 Joseph Myers <joseph@codesourcery.com>
1070
1071 * README.libm: Remove file.
1072
6cdef1ab
L
10732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1076 count for x32. Use R*_LP and omit operand-size suffix.
1077
0b254d8f
L
10782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1081 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1082 * sysdeps/x86_64/x32/shlib-versions: New file.
1083
ceb809dc
RM
10842012-05-14 Roland McGrath <roland@hack.frob.com>
1085
1086 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1087 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1088 Use _dl_fatal_printf instead.
1089
37f1abd4
JM
10902012-05-14 Joseph Myers <joseph@codesourcery.com>
1091
1092 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1093 set if not set by the user. Do not allow for being unset.
1094 * sysdeps/unix/sysv/linux/configure: Regenerated.
1095
11de3a33
L
10962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1099 the `q' suffix from lea and replace .quad with ASM_ADDR.
1100
e02f153a
L
11012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1104 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1105 instead of $17.
1106 (PTR_DEMANGLE): Likewise.
1107
520ae0fd
L
11082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1111 (LP_OP): Likewise.
1112 (ASM_ADDR): Likewise.
1113 (RAX_LP): Likewise.
1114 (RBP_LP): Likewise.
1115 (RBX_LP): Likewise.
1116 (RCX_LP): Likewise.
1117 (RDI_LP): Likewise.
1118 (RSI_LP): Likewise.
1119 (RSP_LP): Likewise.
1120 (R8_LP): Likewise.
1121 (R9_LP): Likewise.
1122 (R10_LP): Likewise.
1123 (R10_LP): Likewise.
1124 (R11_LP): Likewise.
1125 (R12_LP): Likewise.
1126 (R13_LP): Likewise.
1127 (R14_LP): Likewise.
1128 (R15_LP): Likewise.
1129
b985be81
L
11302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * sysdeps/x86_64/x32/dl-machine.h: New file.
1133
6a4888ff
AJ
11342012-05-14 Andreas Jaeger <aj@suse.de>
1135
1136 * manual/Makefile (subdir): Remove export of subdir.
1137 (all): Remove target.
1138 (.PHONY): Remove all from list.
1139 (mkinstalldirs): Remove.
1140 (.PHONY): Remove installdirs from list.
1141 ($(inst_infodir)/libc.info): Use make-target-directory.
1142 (installdirs): Remove.
1143 (subdir_%): Remove.
1144 (glibc-targets): Remove.
1145 (lib): Remove.
1146 (stubs): Remove.
1147 ($(objpfx)stubs ../po/manual.pot): Remove.
1148 ($(objpfx)stamp%): Remove.
1149 (make-target-directory): Remove.
1150 (subdir_install): Remove.
1151 (routines): Remove.
1152 (aux): Remove.
1153 (sources): Remove.
1154 (objects): Remove.
1155 (headers): Remove.
1156
1157 [BZ #13750]
1158 * manual/.gitignore: Remove, it's not needed anymore.
1159 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1160 all files in it.
1161 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1162 directory.
1163 (texis): Renamed to $(objpfx)texis.
1164 (texis-path): New, contains path to generated files.
1165 (chapters.%): Use texis-path for complete path, add extra argument
1166 libc-texinfo.sh.
1167 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1168 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1169 (summary,texi, stamp-summary): Use complete path of
1170 files. Generate files in build dir.
1171 (dir-add.texi): Build in build dir.
1172 (libm-err.texi,stamp-libm-err): Likewise.
1173 (version.texi, stamp-version): Likewise.
1174 (.%c.texi): Likewise.
1175 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1176 (mostlyclean): Remove target.
1177 (realclean): Remove target.
1178 (generated): Add new variable with contents from mostlyclean and
1179 realclean, remove entries duplicated in common-mostlyclean, add
1180 stamp-libm-err and stamp-version.
1181 (generated-dirs): Add libc directory.
1182 ($(inst_infodir)/libc.info): Install files from build dir.
1183
1184 * manual/install.texi (Configuring and compiling): Adjust since
1185 the info files are not part of the tar ball anymore.
1186
7ac77294
AJ
11872012-05-14 Andreas Jaeger <aj@suse.de>
1188
1189 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1190 variable.
1191
ffb7875d
JM
11922012-05-14 Joseph Myers <joseph@codesourcery.com>
1193
1194 [BZ #13717]
1195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1196 to 2.2.0 where earlier.
1197 * sysdeps/unix/sysv/linux/configure: Regenerated.
1198 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1199 Remove conditional code.
1200 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1201 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1202 Remove conditional code.
1203 [!__NR_lchown]: Likewise.
1204 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1205 [__NR_lchown]: Likewise.
1206 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1207 comment referencing __ASSUME_LCHOWN_SYSCALL.
1208 * sysdeps/unix/sysv/linux/i386/sigaction.c
1209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1211 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1212 Remove conditional code.
1213 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1214 (__protocol_available): Remove #if 0 code.
1215 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1216 conditional code.
1217 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1218 * sysdeps/unix/sysv/linux/kernel-features.h
1219 (__ASSUME_GETCWD_SYSCALL): Don't define.
1220 (__ASSUME_REALTIME_SIGNALS): Likewise.
1221 (__ASSUME_PREAD_SYSCALL): Likewise.
1222 (__ASSUME_PWRITE_SYSCALL): Likewise.
1223 (__ASSUME_POLL_SYSCALL): Likewise.
1224 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1225 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1226 non-SPARC.
1227 (__ASSUME_SIOCGIFNAME): Don't define.
1228 (__ASSUME_MSG_NOSIGNAL): Likewise.
1229 (__ASSUME_SENDFILE): Define unconditionally.
1230 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1231 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1232 conditional code.
1233 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1234 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1236 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1237 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1238 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1239 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1264 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1265 Remove conditional code.
1266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1267 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1268 Remove conditional code.
1269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1270 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1271 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1272 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1273 Remove conditional code.
1274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1275 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1276 Remove conditional code.
1277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1278 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1279 Remove conditional code.
1280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1281 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1282 Remove conditional code.
1283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1284 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1285 Remove conditional code.
1286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1287 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1290 * sysdeps/unix/sysv/linux/sigaction.c
1291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1293 * sysdeps/unix/sysv/linux/sigpending.c
1294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1296 * sysdeps/unix/sysv/linux/sigprocmask.c
1297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1299 * sysdeps/unix/sysv/linux/sigsuspend.c
1300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1303 (__libc_missing_rt_sigs): Remove.
1304 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1305 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1306 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1307 Remove conditional code.
1308 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1309 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1310 return 1.
1311 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1315
1bfb7291
AJ
13162012-05-14 Andreas Jaeger <aj@suse.de>
1317
caae5a81
AJ
1318 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1319 it's not used in glibc.
1320 (__coshm1): Likewise.
1321 (__acosh1p): Likewise.
1322 (__sgn): Likewise.
1323
1bfb7291
AJ
1324 * manual/string.texi (Copying and Concatenation): Add missing
1325 variable in concat example.
1326 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1327
c044d724
L
13282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1329
144c5467 1330 [BZ #14103]
c044d724
L
1331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1332 __builtin_clzl with __builtin_clzll.
1333
2523c62b
L
13342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 [BZ #14104]
1337 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1338 libc_freeres_ptr.
1339
d7bb4c42
LD
13402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1341
1342 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1343 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1344 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1346
9dc4e1fb
MF
13472012-05-14 Mike Frysinger <vapier@gentoo.org>
1348
1349 * NEWS: Update ia64 info.
1350
c7df0112
AS
13512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1352
1353 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1354 used as bcopy.
1355
dc70356c
TS
13562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1357
1358 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1359 * sysdeps/unix/syscalls.list (dup3): Likewise.
1360 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1361 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1362
9fb1a21f
L
13632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1366 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1367
4822a2a5
L
13682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1369
1370 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1371 thread pointer.
1372 (TLS_IE): Use mov/add instead of movq/addq to load thread
1373 pointer.
1374 (TLS_GD_PREFIX): New.
1375 (TLS_GD): Use it.
1376
842b81d6
DM
13772012-05-11 David S. Miller <davem@davemloft.net>
1378
1379 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1380 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1381 (_FPU_SETCW): Likewise.
1382
1cf463cd
L
13832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1384
1385 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1386 is 32-byte aligned.
1387
60cc4a18
AS
13882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1389
1390 [BZ #11837]
1391 * iconvdata/gb18030.c: Update tables.
1392 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1393 characters specially.
1394 (BODY for TO_LOOP): Add encoding of missing ranges.
1395
febb44a4
TS
13962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1397
1398 [BZ #13673]
1399 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1400 * sysdeps/mach/hurd/dup3.c: Likewise.
1401 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1402 * sysdeps/powerpc/memmove.c:: Likewise.
1403
0a10fb9e
L
14042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1405
1406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1407 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1408
df8a552f
L
14092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 * elf/elf.h (R_X86_64_RELATIVE64): New.
1412 (R_X86_64_NUM): Updated.
1413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1414 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1415 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1416 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1417 tst-quad1pie tst-quad2pie
1418 (modules-names): Add tst-quadmod1 tst-quadmod2.
1419 ($(objpfx)tst-quad1): New dependency.
1420 ($(objpfx)tst-quad2): Likewise.
1421 ($(objpfx)tst-quad1pie): Likewise.
1422 ($(objpfx)tst-quad2pie): Likewise.
1423 * sysdeps/x86_64/tst-quad1.c: New file.
1424 * sysdeps/x86_64/tst-quad1pie.c: New file.
1425 * sysdeps/x86_64/tst-quad2.c: Likewise.
1426 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1427 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1428 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1429 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1430 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1431
f34d6f84
ST
14322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1433
f42d41d1
ST
1434 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1435 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1436 * streams/stropts.h (t_scalar_t): Define type.
1437
3c3571fc
ST
1438 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1439 (_PATH_PRESERVE): Set to "/var/lib".
1440 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1441
61f06bd3
ST
1442 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1443 instead of int.
1444
918d4d71
ST
1445 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1446 if __dir_mkfile succeeded.
1447
f34d6f84
ST
1448 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1449 checking for _hurd_dtablesize. Unlock it right after having
1450 finished _hurd_dtable allocation.
1451
10589b4a
TS
14522012-05-10 Thomas Schwinge <thomas@schwinge.name>
1453
674cdbc7
TS
1454 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1455 * sysdeps/mach/hurd/configure: Regenerated.
1456 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1457 special-casing to...
1458 * sysdeps/gnu/configure.in: ... this new file.
1459 * sysdeps/unix/sysv/linux/configure: Regenerated.
1460 * sysdeps/gnu/configure: New generated file.
1461
8e41b99f
TS
1462 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1463 for Linux: use nsec instead of usec, as well as:
1464 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1465 members of type struct timespec.
1466 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1467 New macros.
1468 (struct stat64): Likewise.
1469 (_STATBUF_ST_NSEC): New macro.
1470 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1471
10589b4a
TS
1472 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1473 __strtoul_internal rather than strtoul.
1474
63643c85
PT
14752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1476
1477 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1478 and reject them.
1479
3faebe6a
ST
14802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1481
1482 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1483 which preserves existing values.
1484 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1485
c6474b07
PT
14862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1487
1488 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1489 TIMEOUT values. Return EINVAL for NFDS values either negative or
1490 greater than FD_SETSIZE.
1491
1043890b
ST
14922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1493
1494 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1495 allocated, call __vm_protect to finish enabling the existing space, and
1496 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1497 allocate the remainder.
1498
37ed8b9b
PT
14992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1500
1501 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1502 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1503
db653660
ST
15042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1505
37ed8b9b
PT
1506 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1507 sysdeps/mach/hurd/readlink.c.
b29d4053 1508
db653660
ST
1509 * posix/tst-sysconf.c (posix_options): Only use
1510 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1511 _POSIX_SYNCHRONIZED_IO when they are defined
1512 * sysdeps/mach/hurd/bits/posix_opt.h:
1513 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1514 (_XOPEN_REALTIME): Undefine macro.
1515 (_XOPEN_REALTIME_THREADS): Undefine macro.
1516 (_XOPEN_SHM): Undefine macro.
1517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1518 macro to -1.
1519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1520 macro to -1.
1521 (_POSIX_ASYNC_IO): Undefine macro.
1522 (_POSIX_PRIORITIZED_IO): Undefine macro.
1523 (_POSIX_SPIN_LOCKS): Define macro to -1.
1524
ee16e894
ST
1525 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1526 SA_NODEFER, SA_RESETHAND.
1527 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1528 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1529 F_DUPFD_CLOEXEC.
1530
6103ae3b
TS
15312012-05-10 Thomas Schwinge <thomas@schwinge.name>
1532
1533 * elf/Makefile (pldd-modules): Define unconditionally.
1534
80b4e5f3
TS
15352012-05-10 Thomas Schwinge <thomas@schwinge.name>
1536
1537 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1538
edadcbd6
ST
15392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1540
1541 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1542 Return ENOENT when name is empty.
1543 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1544
80694780
TS
15452012-05-10 Thomas Schwinge <thomas@schwinge.name>
1546
1792c087
TS
1547 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1548
80694780
TS
1549 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1550
6b645f0d
ST
15512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1552
80694780
TS
1553 Fix mlock in all cases except non-readable pages.
1554 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1555 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1556
6b645f0d
ST
1557 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1558 (__mkdir): When path is `/', just fail with EEXIST.
1559 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1560
e468f8a3
TS
15612012-05-10 Thomas Schwinge <thomas@schwinge.name>
1562
1563 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1564 <sys/uio.h> (for writev).
1565 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1566 and <sys/param.h> (for MIN).
1567
a4186cff
PT
15682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1569
1570 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1571 REQUESTED_TIME. Properly set the remaining time and return EINTR
1572 if interrupted.
1573
510bbf14
TS
15742012-05-10 Thomas Schwinge <thomas@schwinge.name>
1575
1576 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1577 Depend on against $(link-rpcuserlibs).
1578
5d5722e8
ST
15792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1580
a4186cff
PT
1581 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1582 (__libc_stack_end): Do not use attribute_relro.
1583 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1584 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1585 to libthread-provided value.
a4186cff
PT
1586 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1587 attribute_relro.
5d5722e8 1588
37233df9
TS
15892012-05-10 Thomas Schwinge <thomas@schwinge.name>
1590
be971a2b
TS
1591 [BZ #3748]
1592 * bits/libc-lock.h (__libc_once_get): New macro.
1593 * sysdeps/mach/bits/libc-lock.h: Likewise.
1594 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1596 instead of using implementation details.
1597
37233df9
TS
1598 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1599 * libio/freopen.c: Likewise.
1600 * libio/freopen64.c: Likewise.
1601 * misc/syslog.c: Likewise.
1602 * nscd/connections.c: Likewise.
1603 * nscd/netgroupcache.c: Likewise.
1604 * sysdeps/posix/getcwd.c: Likewise.
1605
38de94a5
RM
16062012-05-10 Roland McGrath <roland@hack.frob.com>
1607
1608 * math/w_ilogbf.c: Add #include <limits.h>.
1609
67530489
ST
16102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1611
a4186cff 1612 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1613 path instead of returning without unlocking.
1614
67530489
ST
1615 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1616 immediate-write ioctls.
1617 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1618
5aa3a74a
TS
16192012-05-10 Thomas Schwinge <thomas@schwinge.name>
1620
18bad2ae
TS
1621 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1622 __builtin_frame_address instead of making assumptions about the
1623 location of the return address relative to DATA. Force early load of
1624 the return address.
1625 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1626 __builtin_frame_address.
1627
5aa3a74a
TS
1628 dup3 for GNU Hurd.
1629 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1630 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1631 implement dup3 and do some further code clean-ups.
1632 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1634
ecd0de9a
ST
16352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1636
cd9fa985
ST
1637 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1638
a4186cff
PT
1639 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1640 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1641 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1642 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1643 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1644 d->port.lock.
802ca5a5 1645
a4186cff
PT
1646 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1647 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1648 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1649
bcf55240
TS
16502012-05-10 Thomas Schwinge <thomas@schwinge.name>
1651
6960eb42
TS
1652 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1653 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1654 definitions.
1655
eb43375f
TS
1656 accept4 for GNU Hurd.
1657 * include/sys/socket.h (__libc_accept4): New prototype.
1658 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1659 to implement __libc_accept4.
1660 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1661 __libc_accept4.
1662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1663
bcf55240
TS
1664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1665 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1666 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1667 signal-defines.sym.
1668
6178c55b
ST
16692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1670
a4186cff 1671 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1672
6f080c2f
TS
16732012-05-10 Thomas Schwinge <thomas@schwinge.name>
1674
1675 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1676 assertion on O_CLOEXEC flag.
1677 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1678 * hurd/intern-fd.c: Likewise.
1679 * hurd/port2fd.c: Likewise.
1680
bcfe3a54
ST
16812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1682
1683 [BZ #3906]
1684 * bits/in.h (IPV6_PKTINFO): Define new macro.
1685 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1686
89c9aa49
AZ
16872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688
1689 [BZ #13954]
1690 [BZ #13955]
1691 [BZ #13956]
1692 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1694 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1695 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1697 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1698 * math/libm-test.inc (logb_test) : Additional logb tests.
1699
021db4be
AJ
17002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1701 Andreas Jaeger <aj@suse.de>
1702
1703 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1704 * configure: Regenerated.
1705 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1706 * config.make.in (link-obsolete-rpc): New substituted variable.
1707 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1708 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1709 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1710 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1711 so that libc.a contains the symbols.
1712 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1713 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1714 * sunrpc/auth_none.c: Likewise.
1715 * sunrpc/auth_unix.c: Likewise.
1716 * sunrpc/authdes_prot.c: Likewise.
1717 * sunrpc/authuxprot.c: Likewise.
1718 * sunrpc/clnt_gen.c: Likewise.
1719 * sunrpc/clnt_perr.c: Likewise.
1720 * sunrpc/clnt_raw.c: Likewise.
1721 * sunrpc/clnt_simp.c: Likewise.
1722 * sunrpc/clnt_tcp.c: Likewise.
1723 * sunrpc/clnt_udp.c: Likewise.
1724 * sunrpc/clnt_unix.c: Likewise.
1725 * sunrpc/des_crypt.c: Likewise.
1726 * sunrpc/des_soft.c: Likewise.
1727 * sunrpc/get_myaddr.c: Likewise.
1728 * sunrpc/key_call.c: Likewise.
1729 * sunrpc/key_prot.c: Likewise.
1730 * sunrpc/netname.c: Likewise.
1731 * sunrpc/pm_getmaps.c: Likewise.
1732 * sunrpc/pm_getport.c: Likewise.
1733 * sunrpc/pmap_clnt.c: Likewise.
1734 * sunrpc/pmap_prot.c: Likewise.
1735 * sunrpc/pmap_prot2.c: Likewise.
1736 * sunrpc/pmap_rmt.c: Likewise.
1737 * sunrpc/publickey.c: Likewise.
1738 * sunrpc/rpc_cmsg.c: Likewise.
1739 * sunrpc/rpc_common.c: Likewise.
1740 * sunrpc/rpc_dtable.c: Likewise.
1741 * sunrpc/rpc_prot.c: Likewise.
1742 * sunrpc/rpc_thread.c: Likewise.
1743 * sunrpc/rtime.c: Likewise.
1744 * sunrpc/svc.c: Likewise.
1745 * sunrpc/svc_auth.c: Likewise.
1746 * sunrpc/svc_raw.c: Likewise.
1747 * sunrpc/svc_run.c: Likewise.
1748 * sunrpc/svc_tcp.c: Likewise.
1749 * sunrpc/svc_udp.c: Likewise.
1750 * sunrpc/svc_unix.c: Likewise.
1751 * sunrpc/svcauth_des.c: Likewise.
1752 * sunrpc/xcrypt.c: Likewise.
1753 * sunrpc/xdr.c: Likewise.
1754 * sunrpc/xdr_array.c: Likewise.
1755 * sunrpc/xdr_float.c: Likewise.
1756 * sunrpc/xdr_intXX_t.c: Likewise.
1757 * sunrpc/xdr_mem.c: Likewise.
1758 * sunrpc/xdr_rec.c: Likewise.
1759 * sunrpc/xdr_ref.c: Likewise.
1760 * sunrpc/xdr_sizeof.c: Likewise.
1761 * sunrpc/xdr_stdio.c: Likewise.
1762
b5c086a2
RM
17632012-05-10 Roland McGrath <roland@hack.frob.com>
1764
1765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1766 change. Update copyright years.
1767
6d74dd09
JM
17682012-05-10 Joseph Myers <joseph@codesourcery.com>
1769
1770 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1771
28e72501
MK
17722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1773 Joseph Myers <joseph@codesourcery.com>
1774 Paul Pluzhnikov <ppluzhnikov@google.com>
1775
1776 [BZ #14012]
1777 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1778 requiring rpcgen.
1779 [cross-compiling] (extra-libs): Likewise.
1780 [cross-compiling] (extra-libs-others): Likewise.
1781 [cross-compiling] (librpcsvc-routines): Likewise.
1782 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1783 [cross-compiling] (omit-deps): Likewise.
1784 (sunrpc-CPPFLAGS): New variable.
1785 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1786 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1787 (cross-rpcgen-objs): New variable.
1788 (extra-objs): Append $(cross-rpcgen-objs).
1789 ($(cross-rpcgen-objs)): New rule.
1790 ($(objpfx)cross-rpcgen): Likewise.
1791 (rpcgen-cmd): Define to use $(built-program-file). Expand
1792 comment.
1793 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1794 ($(objpfx)x%.stmp): Likewise.
1795 * sunrpc/proto.h [IS_IN_build] (_): Define.
1796 [IS_IN_build] (_libc_intl_domainname): Likewise.
1797
c8c59454
L
17982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1801 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1802 and R_X86_64_TPOFF64.
1803
6f27cd16
JM
18042012-05-10 Joseph Myers <joseph@codesourcery.com>
1805
1806 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1807 sysdeps/unix/sysv/syscalls.list.
1808 (stime): Likewise.
1809 (utime): Likewise.
1810 * sysdeps/unix/sysv/syscalls.list: Remove file.
1811
02467e1c
PE
18122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1813
1814 [BZ #3440]
1815 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1816 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1817 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1818 (__LC_IDENTIFICATION): Make these macros useful in #if
1819 expressions, as required by C99.
1820
da392631
AS
18212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1822
1823 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1824 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1825 after this.
1826
8115f29b
L
18272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 * stdlib/longlong.h: Updated from GCC.
1830
bdd74070
AJ
18312012-05-09 Andreas Jaeger <aj@suse.de>
1832
edfe0dbe
AJ
1833 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1834 default is first entry.
1835 (run_mode): Set type.
1836 (main): Remove informal message about syslog.
1837 (options): Fix typo.
1838
bcfe3a54
ST
1839 [BZ #14053]
1840 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1841 to asm.
bcfe3a54
ST
1842 (lrint): Likewise.
1843 (llrintf): Likewise.
1844 (llrint): Likewise.
1845 (rint): Likewise.
1846 (rintf): Likewise.
1847 (nearbyint): Likewise.
1848 (nearbyintf): Likewise.
bdd74070 1849
91d8d69e
AJ
18502012-05-09 Andreas Jaeger <aj@suse.de>
1851 Pedro Alves <palves@redhat.com>
1852
1853 * nscd/nscd.c (run_mode): Use enum.
1854 (main): Cleanup coding style issue.
1855
bb90b80b
AJ
18562012-05-09 Alexandre Oliva <aoliva@redhat.com>
1857 Andreas Jaeger <aj@suse.de>
1858
bcfe3a54
ST
1859 * nscd/nscd.c (go_background): Replaced with...
1860 (run_mode): ... this.
bb90b80b 1861 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1862 (options): Add -F --foreground.
1863 (main): Implement it.
1864 (parse_opt): Parse it.
bb90b80b 1865
1a4b75a1
AJ
18662012-05-09 Andreas Jaeger <aj@suse.de>
1867
1868 [BZ #14083]
1869 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1870 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1871 -Wconversion warning.
1872 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1873 Likewise.
1874
b1cc2472
JM
18752012-05-09 Joseph Myers <joseph@codesourcery.com>
1876
1877 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1878 == 0.
1879 (LC_ALL): Use macro-int-constant.
1880 (LC_COLLATE): Likewise.
1881 (LC_CTYPE): Likewise.
1882 (LC_MESSAGES): Likewise.
1883 (LC_MONETARY): Likewise.
1884 (LC_NUMERIC): Likewise.
1885 (LC_TIME): Likewise.
1886 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1887 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1889 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1890 Specify type.
1891 [C99-based standards] (float_t): Expect type.
1892 [C99-based standards] (double_t): Expect type.
1893 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1894 type.
1895 [C99-based standards] (HUGE_VALL): Likewise.
1896 [C99-based standards] (INFINITY): Likewise.
1897 [C99-based standards] (NAN): Likewise.
1898 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1899 [C99-based standards] (FP_NAN): Likewise.
1900 [C99-based standards] (FP_NORMAL): Likewise.
1901 [C99-based standards] (FP_SUBNORMAL): Likewise.
1902 [C99-based standards] (FP_ZERO): Likewise.
1903 [C99-based standards] (FP_FAST_FMA): Use
1904 optional-macro-int-constant. Specify type. Require == 1.
1905 [C99-based standards] (FP_FAST_FMAF): Likewise.
1906 [C99-based standards] (FP_FAST_FMAL): Likewise.
1907 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1908 [C99-based standards] (FP_ILOGBNAN): Likewise.
1909 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1910 Specify type.
1911 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1912 [C99-based standards] (math_errhandling): Specify type.
1913 [ISO99 || ISO11] (signgam): Do not allow.
1914 [non-C99-based standards] (copysignf): Do not allow.
1915 [non-C99-based standards] (exp2f): Likewise.
1916 [non-C99-based standards] (log2f): Likewise.
1917 [non-C99-based standards] (modff): Allow.
1918 [non-C99-based standards] (erff): Do not allow.
1919 [non-C99-based standards] (erfcf): Likewise.
1920 [non-C99-based standards] (gammaf): Likewise.
1921 [non-C99-based standards] (hypotf): Likewise.
1922 [non-C99-based standards] (j0f): Likewise.
1923 [non-C99-based standards] (j1f): Likewise.
1924 [non-C99-based standards] (jnf): Likewise.
1925 [non-C99-based standards] (lgammaf): Likewise.
1926 [non-C99-based standards] (tgammaf): Likewise.
1927 [non-C99-based standards] (y0f): Likewise.
1928 [non-C99-based standards] (y1f): Likewise.
1929 [non-C99-based standards] (ynf): Likewise.
1930 [non-C99-based standards] (isnanf): Likewise.
1931 [non-C99-based standards] (acoshf): Likewise.
1932 [non-C99-based standards] (asinhf): Likewise.
1933 [non-C99-based standards] (atanhf): Likewise.
1934 [non-C99-based standards] (cbrtf): Likewise.
1935 [non-C99-based standards] (expm1f): Likewise.
1936 [non-C99-based standards] (ilogbf): Likewise.
1937 [non-C99-based standards] (log1pf): Likewise.
1938 [non-C99-based standards] (logbf): Likewise.
1939 [non-C99-based standards] (nextafterf): Likewise.
1940 [non-C99-based standards] (remainderf): Likewise.
1941 [non-C99-based standards] (rintf): Likewise.
1942 [non-C99-based standards] (scalbf): Likewise.
1943 [non-C99-based standards] (copysignl): Likewise.
1944 [non-C99-based standards] (exp2l): Likewise.
1945 [non-C99-based standards] (log2l): Likewise.
1946 [non-C99-based standards] (modfl): Allow.
1947 [non-C99-based standards] (erfl): Do not allow.
1948 [non-C99-based standards] (erfcl): Likewise.
1949 [non-C99-based standards] (gammal): Likewise.
1950 [non-C99-based standards] (hypotl): Likewise.
1951 [non-C99-based standards] (j0l): Likewise.
1952 [non-C99-based standards] (j1l): Likewise.
1953 [non-C99-based standards] (jnl): Likewise.
1954 [non-C99-based standards] (lgammal): Likewise.
1955 [non-C99-based standards] (tgammal): Likewise.
1956 [non-C99-based standards] (y0l): Likewise.
1957 [non-C99-based standards] (y1l): Likewise.
1958 [non-C99-based standards] (ynl): Likewise.
1959 [non-C99-based standards] (isnanl): Likewise.
1960 [non-C99-based standards] (acoshl): Likewise.
1961 [non-C99-based standards] (asinhl): Likewise.
1962 [non-C99-based standards] (atanhl): Likewise.
1963 [non-C99-based standards] (cbrtl): Likewise.
1964 [non-C99-based standards] (expm1l): Likewise.
1965 [non-C99-based standards] (ilogbl): Likewise.
1966 [non-C99-based standards] (log1pl): Likewise.
1967 [non-C99-based standards] (logbl): Likewise.
1968 [non-C99-based standards] (nextafterl): Likewise.
1969 [non-C99-based standards] (remainderl): Likewise.
1970 [non-C99-based standards] (rintl): Likewise.
1971 [non-C99-based standards] (scalbl): Likewise.
1972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1973 [non-C99-based standards] (FP_*): Do not allow.
1974 [C99-based standards] (FP_*): Change to
1975 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1976 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1977 allow.
1978 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1979 (SIG_ERR): Likewise.
1980 [X/Open-based standards] (SIG_HOLD): Likewise.
1981 (SIG_IGN): Likewise.
1982 (SIGABRT): Use macro-int-constant. Specify type. Require
1983 positive value.
1984 (SIGFPE): Likewise.
1985 (SIGILL): Likewise.
1986 (SIGINT): Likewise.
1987 (SIGSEGV): Likewise.
1988 (SIGTER): Likewise.
1989 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1990 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1991 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1992 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1993 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1994 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1995 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1996 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2000 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2001 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2002 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2003 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2004 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2005 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2006 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2007 [X/Open-based standards] (SIGTRAP): Likewise.
2008 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2009 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2010 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2011 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2012 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2013 allow.
2014
b9f1922d
IW
20152012-05-08 Ian Wienand <ianw@vmware.com>
2016
2017 [BZ #14080]
2018 * time/tzset.c (__tzset_parse_tz): Update default rules for
2019 daylight time changes in the Energy Policy Act of 2005.
2020
1db86e88
AJ
20212012-05-09 Andreas Jaeger <aj@suse.de>
2022
2023 [BZ #13983]
2024 * elf/ldconfig.c (parse_conf): Change string to make clear that
2025 ldconfig only issued a warning if ld.so.conf does not exist.
2026
dee4a4e3
DM
20272012-05-08 David S. Miller <davem@davemloft.net>
2028
ee0db190
DM
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2030 movxtod instead of popping the value on the stack.
2031
dee4a4e3
DM
2032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2033
6a43ec98
CD
20342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2035
2036 * config.h.in: Add HAVE_ARM_PCS_VFP.
2037
05c2c961
RMG
20382012-05-08 Roland Mc Grath <roland@hack.frob.com>
2039
bcfe3a54
ST
2040 [BZ #13979]
2041 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2042 checking but the checks are disabled for any reason.
05c2c961 2043
4b30f61a
L
20442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2047 and ELF64_R_TYPE with ELFW(R_TYPE).
2048
eee2bc67
JM
20492012-05-08 Joseph Myers <joseph@codesourcery.com>
2050
7ea5391a
JM
2051 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2052 (ulimit): Likewise.
2053
eee2bc67
JM
2054 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2055 (settimeofday): Likewise.
2056
abb66a67
MF
20572012-05-08 Mike Frysinger <vapier@gentoo.org>
2058
2059 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2060 a struct th_u2 inside the union, and move tu_block/tu_code into
2061 a new th_u3 union of tu_block/tu_code inside of that. Move
2062 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2063 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2064 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2065 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2066 (th_stuff): Change to th_u1.tu_stuff.
2067 (th_data): Define.
2068 (th_msg): Change to th_u1.th_u2.tu_data.
2069
7f18b530
DM
20702012-05-07 David S. Miller <davem@davemloft.net>
2071
05760585
DM
2072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2073
7f18b530
DM
2074 [BZ #14074]
2075 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2076 (SETUP_PIC_REG): Use it.
2077 (SETUP_PIC_REG_LEAF): Use it.
2078
495fd99f
JM
20792012-05-07 Joseph Myers <joseph@codesourcery.com>
2080
2081 [BZ #13885]
2082 [BZ #13923]
2083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2084 USE_AS_EXPM1L.
2085 (EXPL_FINITE): Likewise.
2086 (FLDLOG): Likewise.
2087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2088 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2089 e_expl.S.
2090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2091 USE_AS_EXPM1L.
2092 (EXPL_FINITE): Likewise.
2093 (FLDLOG): Likewise.
2094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2095 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2096 e_expl.S.
2097 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2098 test of -max_value argument for long double.
2099 * sysdeps/i386/fpu/libm-test-ulps: Update.
2100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2101
6693d694
DM
21022012-05-06 David S. Miller <davem@davemloft.net>
2103
2104 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2105 quad soft-float symbols whose references which are compiler
2106 generated.
2107 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2108
6c23e11c
JM
21092012-05-06 Joseph Myers <joseph@codesourcery.com>
2110
d8b82cad
JM
2111 [BZ #13884]
2112 [BZ #13914]
2113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2114 USE_AS_EXP10L.
2115 (EXPL_FINITE): Likewise.
2116 (FLDLOG): Likewise.
2117 (c0): Likewise.
2118 (c1): Likewise.
2119 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2120 Adjust comments for base varying.
2121 (__expl_finite): Change alias to EXPL_FINITE.
2122 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2123 e_expl.S.
2124 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2125 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2127 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2129 USE_AS_EXP10L.
2130 (EXPL_FINITE): Likewise.
2131 (FLDLOG): Likewise.
2132 (c0): Likewise.
2133 (c1): Likewise.
2134 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2135 Adjust comments for base varying.
2136 (__expl_finite): Change alias to EXPL_FINITE.
2137 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2138 tests for bugs.
2139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2140
6c23e11c
JM
2141 [BZ #14064]
2142 * math/libm-test.inc (check_float_internal): Correct ulp
2143 calculation for subnormal expected results.
2144
29ba805c
AJ
21452012-05-06 Andreas Jaeger <aj@suse.de>
2146
2147 * Makeconfig (+math-flags): New, set to -frounding-math.
2148 (+cflags): Add +math-flags so that all of glibc gets compiled with
2149 it.
2150
2151 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2152
7b17aeda
JM
21532012-05-05 Joseph Myers <joseph@codesourcery.com>
2154
5779f134
JM
2155 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2156 Disable one test.
2157
41498f4d
JM
2158 [BZ #13787]
2159 [BZ #13922]
2160 [BZ #14036]
2161 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2162 (__ieee754_expl): Allow for and saturate large arguments.
2163 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2164 (u_threshold): Likewise.
2165 (__exp): Call __ieee754_exp before checking for overflow and
2166 underflow.
2167 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2168 (u_threshold): Likewise.
2169 (__expf): Call __ieee754_expf before checking for overflow and
2170 underflow.
2171 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2172 (u_threshold): Likewise.
2173 (__expl): Call __ieee754_expl before checking for overflow and
2174 underflow.
2175 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2176 (__ieee754_expl): Allow for and saturate large arguments.
2177 * math/libm-test.inc (exp_test): Add another test. Do not allow
2178 missing overflow exception on overflow.
2179 (expm1_test): Do not allow missing overflow exception on overflow.
2180
6698b8bf
JM
2181 * sysdeps/i386/fpu/e_expl.c: Move to ...
2182 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2183 rather than using inline asm.
2184 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2185 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2186 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2187
7b17aeda
JM
2188 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2189 (nice): Likewise.
2190 (poll): Likewise.
2191 (signal): Likewise.
2192 (time): Likewise.
2193 (times): Likewise.
2194
f7c85819
JM
21952012-05-04 Joseph Myers <joseph@codesourcery.com>
2196
2197 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2198 sysdeps/unix/common/syscalls.list.
2199 (fchmod): Likewise.
2200 (fchown): Likewise.
2201 (ftruncate): Likewise.
2202 (getrusage): Likewise.
2203 (gettimeofday): Likewise.
2204 (setpgid): Likewise.
2205 (setregid): Likewise.
2206 (setreuid): Likewise.
2207 (sigaction): Likewise.
2208 (truncate): Likewise.
2209 (vhangup): Likewise.
2210 * sysdeps/unix/common/syscalls.list: Remove file.
2211 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2212 * sysdeps/unix/sysv/linux/Implies: Likewise.
2213
336270d0
L
22142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2218 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2219 Moved to ...
2220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2221 Here.
2222 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2223 to ...
2224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2225 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2226 to ...
2227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2228 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2229 to ...
2230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2231 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2232 to ...
2233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2234 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2235 to ...
2236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2237 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2238 to ...
2239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2240 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2241 to ...
2242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2243 Here.
2244 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2245 to ...
2246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2247 Here.
2248 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2249 to ...
2250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2251 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2252 Moved to ...
2253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2254 Here.
2255 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2256 to ...
2257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2258
d128e450
JM
22592012-05-04 Joseph Myers <joseph@codesourcery.com>
2260
fa8ee516
JM
2261 * sysdeps/unix/common/bits/dirent.h: Remove file.
2262 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2263
d128e450
JM
2264 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2265 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2266 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2267 * sysdeps/unix/bsd/isatty.c: Likewise.
2268 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2269 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2270 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2271
ff8faaf0 22722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2273
62881be4 2274 [BZ #13563]
31dc8730
AZ
2275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2276 long double comparison inaccuracies.
2277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2279
6fef930c
AS
22802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2281
2282 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2284
8f203e6c
JM
22852012-05-04 Joseph Myers <joseph@codesourcery.com>
2286
2287 [BZ #14049]
2288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2289 nonzero digits before rounding a hex value.
2290 * stdlib/tst-strtod.c (tests): Add another test.
2291
5197d9c2
AK
22922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2293
2294 * sysdeps/s390/fpu/libm-test-ulps: Update.
2295
f0c1dedf
AJ
22962012-05-03 Andreas Jaeger <aj@suse.de>
2297
2298 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2299 does not get optimized out.
2300 (malloc_opt_barrier): New.
2301
a65ef2ae 23022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2303 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2304
2b942cb7 2305 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2306 intermediate file deletion.
2b942cb7 2307 (generated): Add .symlist files.
a65ef2ae 2308
54b71e02
JM
23092012-05-03 Joseph Myers <joseph@codesourcery.com>
2310
2311 [BZ #13775]
2312 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2313 Redirect under this condition.
2314 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2315 [__USE_GNU] (__dprintf_chk): Not under this condition.
2316 [__USE_GNU] (__vdprintf_chk): Likewise.
2317 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2318 under this condition.
2319 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2320 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2321 [__USE_XOPEN2K8] (vdprintf): Likewise.
2322 [__USE_GNU] (__dprintf_chk): Not under this condition.
2323 [__USE_GNU] (__vdprintf_chk): Likewise.
2324 [__USE_GNU] (dprintf): Likewise.
2325 [__USE_GNU] (vdprintf): Likewise.
2326
d3dfcc41
RM
23272012-05-03 Roland McGrath <roland@hack.frob.com>
2328
2329 * elf/Makefile (common-generated): Set this instead of generated for
2330 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2331 $(all-built-dso)-derived lists.
2332
7ac30cc5
AJ
23332012-05-03 Andreas Jaeger <aj@suse.de>
2334
0c51e550
AJ
2335 * sysdeps/i386/fpu/libm-test-ulps: Update.
2336
7ac30cc5
AJ
2337 * FAQ: Removed.
2338 * FAQ.in: Likewise.
2339 * scripts/gen-FAQ.pl: Likewise.
2340 * manual/install.texi (Installation): Point to online location of
2341 FAQ.
2342 * Makefile (files-for-dist): Remove FAQ.
2343 (FAQ): Remove.
2344
d4c2917f
AM
23452012-05-02 Allan McRae <allan@archlinux.org>
2346
2347 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2348 (LDFLAGS-reldepmod5.so): Likewise.
2349 (LDFLAGS-reldep6mod1.so): Likewise.
2350 (LDFLAGS-reldep6mod4.so): Likewise.
2351 (LDFLAGS-reldep8mod3.so): Likewise.
2352 (LDFLAGS-unload4mod1.so): Likewise.
2353 (LDFLAGS-unload4mod2.so): Likewise.
2354 (LDFLAGS-tst-initorder): Likewise.
2355 (LDFLAGS-tst-initordera2.so): Likewise.
2356 (LDFLAGS-tst-initordera3.so): Likewise.
2357 (LDFLAGS-tst-initordera4.so): Likewise.
2358 (LDFLAGS-tst-initorderb2.so): Likewise.
2359 (LDFLAGS-noload): Likewise.
2360 (LDFLAGS-next): Likewise.
2361 (LDFLAGS-order2mod1.so): Likewise.
2362 (LDFLAGS-order2mod2.so): Likewise.
2363 (LDFLAGS-tst-initorder2): Likewise.
2364 (LDFLAGS-tst-initorder2a.so): Likewise.
2365 (LDFLAGS-tst-initorder2b.so): Likewise.
2366 (LDFLAGS-tst-initorder2c.so): Likewise.
2367 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2368
d77f993f
DM
23692012-05-02 David S. Miller <davem@davemloft.net>
2370
2371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2372
171a70b4
PP
23732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2374
2375 [BZ #14055]
2376 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2377
0be196ad
AJ
23782012-05-02 Andreas Jaeger <aj@suse.de>
2379
2380 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2381 since we manipulate rounding mode.
2382 (CPPFLAGS-test-idouble.c): Likewise.
2383 (CPPFLAGS-test-ifloat.c): Likewise.
2384 (CFLAGS-test-ldouble.c): Likewise.
2385 (CFLAGS-test-double.c): Likewise.
2386 (CFLAGS-test-float.c): Likewise.
2387 (CFLAGS-test-misc.c): Likewise.
2388 (CFLAGS-test-test-fenv.c): Likewise.
2389
4f9d04aa
AZ
23902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2391
2b942cb7
RM
2392 [BZ #2550]
2393 [BZ #2570]
2394 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2395 comparisons to determine direction to adjust input.
4f9d04aa 2396
82a79e7d
RM
23972012-05-01 Roland McGrath <roland@hack.frob.com>
2398
f5a01ca9
RM
2399 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2400 output to the target.
2401
90fe4186
RM
2402 * scripts/localplt.awk: New file.
2403 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2404 (check-localplt-CFLAGS): Variable removed.
2405 ($(all-built-dso:=.jmprel)): New static pattern rule.
2406 (generated): Add those targets.
2407 (localplt-built-dso): New variable.
2408 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2409
2410 * elf/check-localplt.c: File removed.
2411
82397ed6
RM
2412 * scripts/check-execstack.awk: New file.
2413 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2414 (check-execstack-CFLAGS): Variable removed.
2415 ($(objpfx)check-execstack.h): Target removed.
2416 ($(objpfx)execstack-default): New target.
2417 (generated): Add that instead of check-execstack.h.
2418 ($(all-built-dso:=.phdr)): New static pattern rule.
2419 (generated): Add those targets.
2420 * elf/check-execstack.c: File removed.
2421
82a79e7d
RM
2422 * scripts/check-textrel.awk: New file.
2423 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2424 (check-textrel-CFLAGS): Variable removed.
2425 (all-built-dso): Use := to define.o
2426 ($(all-built-dso:=.dyn)): New static pattern rule.
2427 (generated): Add those targets.
2428 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2429 * config.make.in (READELF): New substituted variable.
2430 * elf/check-textrel.c: File removed.
2431
62fde54f 24322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2433
615605c9
JM
2434 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2435 allow.
2436 * conform/data/ctype.h-data [C99-based standards] (isblank):
2437 Expect function.
2438 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2439 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2441 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2442 Specify type. Require positive value.
2443 (EILSEQ): Likewise.
2444 (ERANGE): Likewise.
2445 [ISO || POSIX] (EILSEQ): Do not expect.
2446 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2447 Specify type. Require positive value.
2448 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2449 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2450 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2451 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2452 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2453 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2454 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2455 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2456 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2457 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2458 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2459 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2460 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2461 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2462 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2463 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2464 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2465 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2466 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2467 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2468 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2469 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2470 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2471 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2472 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2473 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2474 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2475 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2476 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2477 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2478 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2479 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2480 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2481 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2482 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2483 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2484 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2485 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2486 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2487 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2488 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2489 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2490 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2491 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2492 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2493 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2494 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2495 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2496 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2497 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2498 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2499 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2500 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2501 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2502 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2503 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2504 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2505 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2506 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2507 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2508 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2509 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2510 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2511 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2512 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2513 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2514 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2515 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2516 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2517 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2518 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2519 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2520 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2521 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2522 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2523 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2524 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2525 Require >= 2.
2526 (FLT_ROUNDS): Expect as macro, not constant.
2527 (FLT_MANT_DIG): Use macro-int-constant.
2528 (DBL_MANT_DIG): Likewise.
2529 (LDBL_MANT_DIG): Likewise.
2530 (FLT_DIG): Likewise.
2531 (DBL_DIG): Likewise.
2532 (LDBL_DIG): Likewise.
2533 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2534 (DBL_MIN_EXP): Likewise.
2535 (LDBL_MIN_EXP): Likewise.
2536 (FLT_MAX_EXP): Use macro-int-constant.
2537 (DBL_MAX_EXP): Likewise.
2538 (LDBL_MAX_EXP): Likewise.
2539 (FLT_MAX_10_EXP): Likewise.
2540 (DBL_MAX_10_EXP): Likewise.
2541 (LDBL_MAX_10_EXP): Likewise.
2542 (FLT_MAX): Use macro-constant.
2543 (DBL_MAX): Likewise.
2544 (LDBL_MAX): Likewise.
2545 (FLT_EPSILON): Use macro-constant. Give upper bound.
2546 (DBL_EPSILON): Likewise.
2547 (LDBL_EPSILON): Likewise.
2548 (FLT_MIN): Likewise.
2549 (DBL_MIN): Likewise.
2550 (LDBL_MIN): Likewise.
2551 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2552 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2553 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2554 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2555 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2556 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2557 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2558 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2559 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2560 [ISO11] (FLT_TRUE_MIN): Likewise.
2561 [ISO11] (LDBL_TRUE_MIN): Likewise.
2562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2563 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2564 (SCHAR_MIN): Use macro-int-constant. Specify type.
2565 (SCHAR_MAX): Likewise.
2566 (UCHAR_MAX): Likewise.
2567 (CHAR_MIN): Likewise.
2568 (CHAR_MAX): Likewise.
2569 (MB_LEN_MAX): Use macro-int-constant.
2570 (SHRT_MIN): Use macro-int-constant. Specify type.
2571 (SHRT_MAX): Likewise.
2572 (USHRT_MAX): Likewise.
2573 (INT_MAX): Likewise.
2574 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2575 bound negative.
2576 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2577 bound with "U".
2578 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2579 bound with "L".
2580 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2581 bound negative. Suffix upper bound with "L".
2582 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2583 bound with "UL".
2584 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2585 Specify type.
2586 [C99-based standards] (LLONG_MAX): Likewise.
2587 [C99-based standards] (ULLONG_MAX): Likewise.
2588 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2589 == 0.
2590 [ISO11] (max_align_t): Require type.
2591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2592
c9140a62
JM
2593 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2594 from $CFLAGS, without defining away __attribute__ calls.
2595 (checknamespace): Use $CFLAGS_namespace.
2596
9af0bf29
JM
2597 * conform/conformtest.pl (@keywords): Only include C99 keywords
2598 for standards based on C99 or C11.
2599
343222a2
JM
2600 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2601 Disable tests.
2602 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2603 UNIX98]: Likewise.
2604
661f8cf0
JM
2605 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2606 usability of symbols in #if.
2607
ee74b9cb
JM
2608 * conform/conformtest.pl: If macro or constant types start
2609 "promoted:", expect the symbol to be of the following type
2610 promoted by the integer promotions.
62fde54f 2611
aafc49b3
JM
2612 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2613 in one place. Also handle "macro-constant".
2614
fefdf574
JM
2615 * conform/conformtest.pl: Only accept expected macro values with
2616 "==". Parse all "macro" lines in one place.
2617 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2618
f2d922fe
JM
2619 * conform/conformtest.pl: Handle braced types on "constant" lines
2620 instead of handling "typed-constant".
2621 * conform/data/signal.h-data: Use "constant" instead of
2622 "typed-constant".
2623
d22956c9
JM
2624 * conform/conformtest.pl: Handle "optional-" at start of lines in
2625 one place rather than duplicating several cases. Handle each
2626 format of "macro" line with initial "optional-".
2627
028e2e38
JM
2628 * conform/conformtest.pl: Only accept expected constant or
2629 optional-constant values with "==". Parse all "constant" lines in
2630 one place. Parse all "optional-constant" lines in one place.
2631 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2632 * conform/data/fmtmsg.h-data: Likewise.
2633 * conform/data/netinet/in.h-data: Likewise.
2634 * conform/data/tar.h-data: Likewise.
2635 * conform/data/limits.h-data: Use "==" form on "constant" and
2636 "optional-constant" lines.
2637
1b8f2850
JM
2638 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2639 Use -std=c99 for XOPEN2K.
2640 (@knownproblems): Remove.
2641 (newtoken): Don't check %isknown.
2642
a05a144b
JM
2643 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2644 Do not expect macro.
2645 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2646 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2647 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2648 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2649 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2650 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2651 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2653 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2654 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2655 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2656 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2657 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2658 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2659 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2660 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2662 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2663 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2664 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2665 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2667 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2669 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2670 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2671 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2672 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2673 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2674 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2675 [XPG3] (acosh): Likewise.
2676 [XPG3] (asinh): Likewise.
2677 [XPG3] (atanh): Likewise.
2678 [XPG3] (cbrt): Likewise.
2679 [XPG3] (expm1): Likewise.
2680 [XPG3] (ilogb): Likewise.
2681 [XPG3] (log1p): Likewise.
2682 [XPG3] (logb): Likewise.
2683 [XPG3] (nextafter): Likewise.
2684 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2685 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2686 [XPG3] (remainder): Likewise.
2687 [XPG3] (rint): Likewise.
2688 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2689 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2690 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2691 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2692 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2693 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2694 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2695 [UNIX98 || XOPEN2K] (scalb): Expect.
2696 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2697 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2698 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2699 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2700 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2701 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2702 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2703 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2704 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2705 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2706 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2707 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2708 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2709 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2710 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2711 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2712 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2713 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2714 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2715 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2716 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2717 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2718 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2719 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2720 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2722 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2723 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2724 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2725 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2726 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2727 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2728 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2729 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2730 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2732 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2733 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2734 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2735 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2736 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2737 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2738 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2739 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2740 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2741 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2742 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2743 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2744 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2745 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2746 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2747 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2748 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2749 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2750 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2751 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2752 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2753 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2754 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2755 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2756 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2757 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2758 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2759 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2760 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2761 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2762 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2763 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2764 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2765 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2766 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2767 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2768 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2769 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2770 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2771 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2772 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2773 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2774 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2775 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2776 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2777 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2778 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2779 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2780 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2781 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2782 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2783 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2784 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2785 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2786 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2787 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2788 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2789 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2790 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2791 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2792 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2793 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2794 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2795 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2796 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2797 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2798 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2799 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2800 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2801 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2802 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2803 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2804 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2805 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2806 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2807 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2808 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2809 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2810 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2811 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2812 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2813 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2814 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2815 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2816 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2817 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2818 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2819 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2820 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2821 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2822 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2823 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2824 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2825 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2826 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2827 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2828 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2829 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2830 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2831 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2832 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2833
73c5ebe3
JM
2834 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2835 _XOPEN_SOURCE_EXTENDED for XPG4.
2836
39c33b6c
JM
2837 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2838
62fde54f
JM
2839 * Makeconfig (localtime): Remove variable.
2840 (inst_localtime-file): Likewise.
2841
0741d64c
AS
28422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2843
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2845 Update.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2847 Update.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2849 Update.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2851 Update.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2853 Update.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2855 Update.
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2857 Update.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2859 Update.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2861 Update.
2862
7cb029ee
JM
28632012-05-01 Joseph Myers <joseph@codesourcery.com>
2864
2865 [BZ #2550]
2866 [BZ #2570]
2867 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2868 comparisons to determine direction to adjust input.
2869 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2870 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2872 Likewise.
2873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2874 Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2876 Likewise.
2877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2879 Likewise.
2880 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2881 Likewise.
2882 * math/libm-test.inc (nexttoward_test): Add more tests.
2883
412bd966
AS
28842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2885
2886 [BZ #14040]
2887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2888 in version GLIBC_2.1, not GLIBC_2.0.
2889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2890 Likewise.
2891
9568c0c2
JM
28922012-04-30 Joseph Myers <joseph@codesourcery.com>
2893
adfbc8ac
JM
2894 [BZ #13942]
2895 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2896 (1 - x) * (1 + x).
2897 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2898 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2899 * math/libm-test.inc (acos_test): Add more tests.
2900 (asin_test): Likewise.
2901 * sysdeps/i386/fpu/libm-test-ulps: Update.
2902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903
5ba3cc69
JM
2904 [BZ #14034]
2905 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2906 of square root.
2907 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2909 * math/libm-test.inc (acos_test_tonearest): New function.
2910 (acos_test_towardzero): Likewise.
2911 (acos_test_downward): Likewise.
2912 (acos_test_upward): Likewise.
2913 (asin_test_tonearest): Likewise.
2914 (asin_test_towardzero): Likewise.
2915 (asin_test_downward): Likewise.
2916 (asin_test_upward): Likewise.
2917 (main): Call the new functions.
2918 * sysdeps/i386/fpu/libm-test-ulps: Update.
2919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2920
9568c0c2
JM
2921 [BZ #13884]
2922 [BZ #13924]
2923 * math/e_exp10.c: Include <float.h>.
2924 (__ieee754_exp10): Handle underflow here rather than multiplying
2925 large negative argument by M_LN10.
2926 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2927 of __ieee754_expf.
2928 * math/e_exp10l.c: Include <float.h>.
2929 (__ieee754_exp10l): Handle underflow here rather than multiplying
2930 large negative argument by M_LN10l.
2931 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2932 spurious overflow exception on underflow.
2933
5ac3ea17
MP
29342012-04-29 Marek Polacek <polacek@redhat.com>
2935
2936 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2937 (__fortify_function): New macro.
2938 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2939 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2940 __extern_always_inline.
2941 * libio/bits/stdio2.h: Likewise.
2942 * libio/bits/stdio.h: Likewise.
2943 * string/string.h: Likewise.
2944 * string/bits/string3.h: Likewise.
2945 * include/stdio.h: Likewise.
2946 * stdlib/bits/stdlib.h: Likewise.
2947 * stdlib/stdlib.h: Likewise.
2948 * rt/bits/mqueue2.h: Likewise.
2949 * rt/mqueue.h: Likewise.
2950 * posix/bits/unistd.h: Likewise.
2951 * posix/unistd.h: Likewise.
2952 * io/bits/poll2.h: Likewise.
2953 * io/bits/fcntl2.h: Likewise.
2954 * io/fcntl.h: Likewise.
2955 * io/sys/poll.h: Likewise.
2956 * misc/bits/syslog.h: Likewise.
2957 * misc/bits/syslog-ldbl.h: Likewise.
2958 * misc/sys/syslog.h: Likewise.
2959 * socket/bits/socket2.h: Likewise.
2960 * socket/sys/socket.h: Likewise.
2961 * debug/tst-chk1.c: Likewise.
2962 * wcsmbs/bits/wchar2.h: Likewise.
2963 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2964 * wcsmbs/wchar.h: Likewise.
2965
ecf0ebfb
AJ
29662012-04-29 Andreas Jaeger <aj@suse.de>
2967
2968 * Makerules (tests): Remove enable-check-abi protection.
2969 (check-abi-warn): Remove.
2970 (check-abi-%): Remove check-abi-warn usage.
2971
2972 * configure.in: Remove check-abi configure option.
2973 * configure: Regenerated.
2974 * config.make.in (enable-check-abi): Remove.
2975
6d5c57fa
AS
29762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2977
24c5d07e 2978 [BZ #14033]
ded5180a
AS
2979 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2980 double functions to double *_finite functions.
2981
7e0d315d
AS
2982 [BZ #13941]
2983 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2984 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2985 LDBL_MIN_EXP.
2986 * stdio-common/Makefile (tests): Add tst-sprintf3.
2987 * stdio-common/tst-sprintf3.c: New file.
2988
6d5c57fa
AS
2989 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2990 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2991
0749ff8b
JM
29922012-04-28 Joseph Myers <joseph@codesourcery.com>
2993
2994 * conform/conformtest.pl: Remove duplicate typed-constant
2995 handling.
2996
8dbd5d7b
DM
29972012-04-28 David S. Miller <davem@davemloft.net>
2998
2999 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3000 (check-abi-%): Remove AWK script prerequisite and explicit
3001 abilist directory.
3002 (check-abi): Rewrite to just diff the symlist with the abilist.
3003 (config-tls, config-abi-config): Delete, no longer used.
3004 (update-abi-%): Remove AWK script and explicit abilist directory.
3005 (update-abi): Rewrite to simply compare and conditionally copy the
3006 symlist and the sysdep abilist file. Remove update-abi-config
3007 checks.
3008 * abilist/ld.abilist: Remove.
3009 * abilist/libBrokenLocale.abilist: Remove.
3010 * abilist/libanl.abilist: Remove.
3011 * abilist/libcrypt.abilist: Remove.
3012 * abilist/libdl.abilist: Remove.
3013 * abilist/librt.abilist: Remove.
3014 * abilist/libthread_db.abilist: Remove.
3015 * abilist/libutil.abilist: Remove.
3016 * scripts/extract-abilist.awk: Remove.
3017 * scripts/merge-abilist.awk: Remove.
3018 * sysdeps/generic/libcidn.abilist: New file.
3019 * sysdeps/generic/libnss_compat.abilist: New file.
3020 * sysdeps/generic/libnss_db.abilist: New file.
3021 * sysdeps/generic/libnss_dns.abilist: New file.
3022 * sysdeps/generic/libnss_files.abilist: New file.
3023 * sysdeps/generic/libnss_hesiod.abilist: New file.
3024 * sysdeps/generic/libnss_nis.abilist: New file.
3025 * sysdeps/generic/libnss_nisplus.abilist: New file.
3026 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3027 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3028 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3029 file.
3030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3031 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3032 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3033 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3034 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3035 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3036 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3037 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3038 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3039 file.
3040 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3041 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3042 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3043 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3044 file.
3045 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3047 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3048 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3049 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3050 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3051 file.
3052 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3053 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3054 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3055 file.
3056 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3058 New file.
3059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3060 New file.
3061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3062 New file.
3063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3064 New file.
3065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3066 New file.
3067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3068 New file.
3069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3070 New file.
3071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3072 New file.
3073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3074 New file.
3075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3076 New file.
3077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3078 New file.
3079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3080 New file.
3081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3082 New file.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3084 file.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3086 New file.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3088 New file.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3090 file.
3091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3092 New file.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3094 New file.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3096 file.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3098 New file.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3100 New file.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3102 New file.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3104 New file.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3106 New file.
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3108 New file.
3109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3111 file.
3112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3113 New file.
3114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3115 file.
3116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3117 file.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3119 file.
3120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3121 file.
3122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3123 file.
3124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3125 New file.
3126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3127 file.
3128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3129 file.
3130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3131 New file.
3132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3133 file.
3134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3136 file.
3137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3138 New file.
3139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3140 file.
3141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3142 file.
3143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3144 file.
3145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3146 file.
3147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3148 file.
3149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3150 New file.
3151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3152 file.
3153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3154 file.
3155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3156 New file.
3157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3158 file.
3159 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3160 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3161 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3162 file.
3163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3164 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3165 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3166 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3167 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3169 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3170 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3171 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3172 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3175 file.
3176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3177 New file.
3178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3179 file.
3180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3181 file.
3182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3183 file.
3184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3185 file.
3186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3187 file.
3188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3189 New file.
3190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3191 New file.
3192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3193 file.
3194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3195 New file.
3196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3197 file.
3198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3200 file.
3201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3202 New file.
3203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3204 file.
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3206 file.
3207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3208 file.
3209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3210 file.
3211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3212 file.
3213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3214 New file.
3215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3216 New file.
3217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3218 file.
3219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3220 New file.
3221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3222 file.
3223
41d73a1b
JM
32242012-04-28 Joseph Myers <joseph@codesourcery.com>
3225
3226 * conform/conformtest.pl: Fix typo in handling typed-constant from
3227 allow-header.
3228
28aeeda4
JM
32292012-04-27 Joseph Myers <joseph@codesourcery.com>
3230
adae8f5e
JM
3231 * README: Cut down references to pre-2.6 Linux kernels and
3232 Linuxthreads. Update lists of configurations in libc and ports
3233 and sort alphabetically. Say "or newer" with Linux kernel version
3234 requirements.
3235
28aeeda4
JM
3236 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3237
a462cb63
RA
32382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3239
3240 [BZ #887]
3241 * math/libm-test.inc (logb_test_downward): New test to expose
3242 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3243 rounding mode.
3244
6ad3493e
JM
32452012-04-27 Joseph Myers <joseph@codesourcery.com>
3246
3247 [BZ #14027]
3248 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3249 to be done.
3250 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3251 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3252
2ce4f015
JM
32532012-04-26 Joseph Myers <joseph@codesourcery.com>
3254
5aeb141a
JM
3255 * sysdeps/unix/i386/brk.S: Remove file.
3256 * sysdeps/unix/i386/dl-brk.S: Likewise.
3257 * sysdeps/unix/i386/pipe.S: Likewise.
3258 * sysdeps/unix/i386/sigreturn.S: Likewise.
3259 * sysdeps/unix/i386/syscall.S: Likewise.
3260 * sysdeps/unix/i386/vfork.S: Likewise.
3261 * sysdeps/unix/i386/wait.S: Likewise.
3262
7143acae
JM
3263 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3264 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3265
2ce4f015
JM
3266 * configure.in (arm*-none*): Do not allow without
3267 --enable-hacker-mode.
3268 (netbsd*): Remove case setting base_os.
3269 (386bsd*): Likewise.
3270 (freebsd*): Likewise.
3271 (bsdi*): Likewise.
3272 (osf*): Likewise.
3273 (sunos*): Likewise.
3274 (ultrix*): Likewise.
3275 (newsos*): Likewise.
3276 (dynix*): Likewise.
3277 (*bsd*): Likewise.
3278 (sysv*): Likewise.
3279 (isc*): Likewise.
3280 (esix*): Likewise.
3281 (sco*): Likewise.
3282 (minix*): Likewise.
3283 (irix4*): Likewise.
3284 (irix6*): Likewise.
3285 (solaris[2-9]*): Likewise.
3286 (none): Likewise.
3287 * configure: Regenerated.
3288
0ac229c8
AZ
32892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3290
3291 [BZ #11521]
3292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3293 overflow or cancellation in calculating denominator.
3294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3296 down expression to avoid unexpected rounding in newer GCCs.
3297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3298
33f244f4
DM
32992012-04-26 David S. Miller <davem@davemloft.net>
3300
3301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3302 long-double compat symbols.
3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3316
cfa1f3e8
DM
33172012-04-25 David S. Miller <davem@davemloft.net>
3318
3319 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3320 HWCAP_* values only after the memory barriers have been defined.
3321 (atomic_full_barrier): Define.
3322 (atomic_read_barrier): Define.
3323 (atomic_write_barrier): Define.
3324
6e236b92
SP
33252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3326
3327 * shlib-versions: Add libgcc_s version information.
3328 * sysdeps/generic/libgcc_s.h: Remove.
3329 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3330 libgcc_s.h.
3331 * sysdeps/gnu/unwind-resume.c: Likewise.
3332 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3333
aab39a09
DM
33342012-04-25 David S. Miller <davem@davemloft.net>
3335
3336 * sysdeps/unix/sparc/brk.S: Delete.
3337 * sysdeps/unix/sparc/dl-brk.S: Delete.
3338 * sysdeps/unix/sparc/pipe.S: Delete.
3339 * sysdeps/unix/sparc/sysdep.S: Delete.
3340 * sysdeps/unix/sparc/sysdep.h: Delete.
3341 * sysdeps/unix/sparc/vfork.S: Delete.
3342 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3343 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3345 ret_ERRVAL, r0, r1, MOVE): Define.
3346 (JUMPTARGET): Remove.
3347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3348 sysdeps/unix/sparc/sysdep.h
3349 (ENTRY, END): Remove.
3350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3351
a3cc4f48
JM
33522012-04-25 Joseph Myers <joseph@codesourcery.com>
3353
2ed8cda2
JM
3354 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3355 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3356 -DIS_IN_build.
3357
35d76d59
JM
3358 * timezone/README: Update upstream location and email address for
3359 tzcode and tzdata.
3360 * timezone/zdump.c: Update from tzcode 2012b.
3361 * timezone/zic.c: Likewise.
3362
a3cc4f48
JM
3363 * configure.in (libc_cv_as_needed): Remove test.
3364 * configure: Regenerated.
3365 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3366 conditional definition.
3367 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3368 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3369 * config.make.in (have-as-needed): Remove variable.
3370
ceab42c3
SP
33712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3372 Paul Pluzhnikov <ppluzhnikov@google.com>
3373
3374 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3375 strings correctly.
3376
3ce2865f
CLT
33772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3378
3379 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3380 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3381 * sysdeps/sh/strlen.S: Likewise.
3382
f37e0d68
JM
33832012-04-24 Joseph Myers <joseph@codesourcery.com>
3384
ae186e9a
JM
3385 * sysdeps/unix/fork.S: Remove file.
3386 * sysdeps/unix/i386/fork.S: Likewise.
3387 * sysdeps/unix/sparc/fork.S: Likewise.
3388
b96914af
JM
3389 * sysdeps/unix/system.c: Remove file.
3390 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3391
f37e0d68
JM
3392 * sysdeps/unix/getegid.S: Remove file.
3393 * sysdeps/unix/geteuid.S: Likewise.
3394
87ef29ca
RM
33952012-04-24 Roland McGrath <roland@hack.frob.com>
3396
83bcd236
RM
3397 * scripts/check-localplt.awk: New file.
3398 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3399 of diff.
3400 * scripts/data/localplt-generic.data: Add a comment.
3401
87ef29ca
RM
3402 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3403 NODE when __dir_mkfile failed.
3404 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3405 Reported by Ludovic Courtès <ludo@gnu.org>.
3406
e5a6e567
AJ
34072012-04-24 Andreas Jaeger <aj@suse.de>
3408
3409 * Makerules (common-clean): Also remove gen-as-const-headers
3410 files.
3411
c1820385
JM
34122012-04-24 Joseph Myers <joseph@codesourcery.com>
3413
3414 * Makerules (native-compile): Do not change working directory for
3415 build. Use $(OUTPUT_OPTION) in command.
3416 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3417
94e02fc4
AZ
34182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
3420 [BZ #13886]
3421 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3422 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3423 * math/libm-test.inc (floor_test): Add more tests.
3424 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3425
3a533ca3
JM
34262012-04-24 Joseph Myers <joseph@codesourcery.com>
3427
940ab4b3
JM
3428 * sysdeps/unix/getdents.c: Remove file.
3429 * sysdeps/unix/sysv/getdents.c: Likewise.
3430 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3431
90e037bd
JM
3432 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3433 sysdeps/unix/mman/syscalls.list.
3434 (mmap): Likewise.
3435 (mprotect): Likewise.
3436 (msync): Likewise.
3437 (munmap): Likewise.
3438 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3439 * sysdeps/unix/mman/syscalls.list: Remove.
3440 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3441
3a533ca3
JM
3442 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3443 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3444 * configure: Regenerated.
3445 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3446 $(libgcc_s_suffix).
3447 * config.make.in (libgcc_s_suffix): Remove variable.
3448
1ad743de
JM
34492012-04-23 Joseph Myers <joseph@codesourcery.com>
3450
4ad451e2
JM
3451 * sysdeps/unix/sysv/gethostname.c: Move to ...
3452 * sysdeps/posix/gethostname.c: ... here.
3453
5e37ce39
JM
3454 * sysdeps/unix/execve.S: Remove file.
3455
1ad743de
JM
3456 * sysdeps/unix/_exit.S: Remove file.
3457
4e681b5b
AJ
34582012-04-23 Andreas Jaeger <aj@suse.de>
3459
3460 [BZ #13739]
3461 * manual/Makefile: Remove make dist support, there's no
3462 need for a stand-alone documentation tar ball.
3463 (TEXI2DVI): Define always, it's not in Makeconfig.
3464 (dist): Removed.
3465 (tar-it): Removed.
3466 (edition): Removed.
3467 (glibc-doc-$(edition).tar): Removed
3468 (%.Z): Removed.
3469 (%.gz): Removed.
3470 (%.uu): Removed.
3471 (ETAGS): Remove, it's in Makeconfig.
3472 (move-if-change): Remove, it's in Makeconfig.
3473
c0baea34
PE
34742013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3475
3476 [BZ #13970]
3477 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3478 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3479 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3480 (strtod_l, strtof_l, strtold_l): Remove __wur.
3481 It is not necessarily an error to ignore strtol's return value.
3482 One can reliably look at the stored endptr to decide whether
3483 the number had valid syntax.
3484
7c0616fa
AJ
34852012-04-21 Andreas Jaeger <aj@suse.de>
3486
803cb6b7 3487 [BZ #13739]
7c0616fa
AJ
3488 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3489
b0fe253f
JM
34902012-04-21 Joseph Myers <joseph@codesourcery.com>
3491
3492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3493 * sysdeps/unix/sysv/Versions: Remove file.
3494
8280f22d
MT
34952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3496
3497 [BZ #13927]
3498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3499
75ce411f 35002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3501
3502 [BZ #7064]
3503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3504 version from __vm86.
3505
097d59fa
JM
35062012-04-20 Joseph Myers <joseph@codesourcery.com>
3507
a90f3bcb
JM
3508 * sysdeps/unix/common/lxstat.c: Remove file.
3509 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3510
edc7ea78
JM
3511 * sysdeps/unix/sysv/Makefile: Remove file.
3512
cb78c221
JM
3513 * sysdeps/unix/sysv/direct.h: Remove file.
3514
efa6a45f
JM
3515 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3516 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3517 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3518 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3519 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3520 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3521 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3522
9c9f2d0c
JM
3523 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3524
4541c83b
JM
3525 * sysdeps/unix/xmknod.c: Remove file.
3526 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3527
f5d153a0
JM
3528 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3529
aa746595
JM
3530 * sysdeps/unix/sysv/i386/time.S: Remove file.
3531
cce5905e
JM
3532 * sysdeps/unix/fxstat.c: Remove file.
3533 * sysdeps/unix/xstat.c: Likewise.
3534 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3535
37fa3841
JM
3536 * sysdeps/unix/sysv/sigaction.c: Remove file.
3537
ff1962a3
JM
3538 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3539 (sysdep_headers): Remove variable.
3540 [termio.h not in sysdep_headers] (generated): Likewise.
3541 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3542 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3543 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3544 * sysdeps/unix/sysv/tcflow.c: Likewise.
3545 * sysdeps/unix/sysv/tcflush.c: Likewise.
3546 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3547 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3548 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3549 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3550 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3551
e7740d31
JM
3552 * sysdeps/unix/siglist.c: Remove file.
3553
ee06f18b
JM
3554 * sysdeps/unix/getppid.S: Remove file.
3555
097d59fa
JM
3556 * sysdeps/unix/mkdir.c: Remove file.
3557 * sysdeps/unix/rmdir.c: Likewise.
3558
ff3d51ec
AS
35592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3560
3561 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3562 ERR_MAX value.
3563 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3564 errlist-compat value.
3565
50f81fd7
DM
35662012-04-18 David S. Miller <davem@davemloft.net>
3567
3568 * sysdeps/generic/memcopy.h (reg_char): Delete.
3569 * debug/strcat_chk.c: Use char, not reg_char.
3570 * debug/strcpy_chk.c: Likewise.
3571 * debug/strncat_chk.c: Likewise.
3572 * debug/strncpy_chk.c: Likewise.
3573 * string/memchr.c: Likewise.
3574 * string/memrchr.c: Likewise.
3575 * string/rawmemchr.c: Likewise.
3576 * string/strcat.c: Likewise.
3577 * string/strchr.c: Likewise.
3578 * string/strchrnul.c: Likewise.
3579 * string/strcmp.c: Likewise.
3580 * string/strcpy.c: Likewise.
3581 * string/strncat.c: Likewise.
3582 * string/strncmp.c: Likewise.
3583 * string/strncpy.c: Likewise.
3584
8ff41c46
WS
35852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3586
3587 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3588 __builtin_memcopy is called when src and dest ranges are known to not
3589 overlap.
3590
6b652f46
WS
35912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3592
3593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3594 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3595 fwd_align_merge macro call.
3596 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3597 bwd_align_merge macro call.
3598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3599
b282631e
WS
36002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3601
3602 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3603 bwd_align_merge macros.
3604 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3605 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3607
95aa737c
DM
36082012-04-18 David S. Miller <davem@davemloft.net>
3609
3610 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3611
7a99a614
AJ
36122012-04-18 Andreas Jaeger <aj@suse.de>
3613
3614 [BZ# 6794]
3615 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3616 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3618
3619 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3620 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3622
3623 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3624 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3625 Adjust for changed ldbl-128 files.
3626
3627 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3628 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3629 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3630
e5270c23
DM
36312012-04-17 David S. Miller <davem@davemloft.net>
3632
3633 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3634
fb5e92c9
AS
36352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3636
3637 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3638 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3639 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3640 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3641 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3642 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3643
76da7265
AZ
36442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3645
3646 [BZ #6794]
3647 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3648 * math/libm-test.inc: Add ilogb errno and exception tests.
3649 * math/w_ilogb.c: New file: ilogb wrapper.
3650 * math/w_ilogbf.c: New file: ilogbf wrapper.
3651 * math/w_ilogbl.c: New file: ilogbl wrapper.
3652 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3653 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3654 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3655 exception being thrown with 0.0 as argument.
3656 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3657 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3658 exception being thrown with 0.0 as argument.
3659 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3660 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3661 exception being thrown with 0.0 as argument.
3662 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3663 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3664 exception being thrown with 0.0 as argument.
3665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3666 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3668 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3670 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3671 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3672 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3673 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3674
0396e69d
PB
36752012-04-17 Petr Baudis <pasky@ucw.cz>
3676
3677 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3678 with altivec.
3679
750b5926
MP
36802012-04-16 Marek Polacek <polacek@redhat.com>
3681
3682 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3683
751728a1
MP
36842012-04-16 Marek Polacek <polacek@redhat.com>
3685
3686 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3687 operands of fdivp instruction.
3688
34a27407
L
36892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3692 * elf/tst-auditmod3b.c: Likewise.
3693 * elf/tst-auditmod4b.c: Likewise.
3694 * elf/tst-auditmod5b.c: Likewise.
3695 * elf/tst-auditmod6b.c: Likewise.
3696 * elf/tst-auditmod6c.c: Likewise.
3697 * elf/tst-auditmod7b.c: Likewise.
3698 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3699 * sysdeps/x86_64/preconfigure.in: Likewise.
3700 * sysdeps/x86_64/preconfigure: Regenerated.
3701
7e73e17d
L
37022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3703
3704 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3705 __ILP32__.
3706
c7a6ab72
AB
37072012-04-13 Antoine Balestrat <merkil33@gmail.com>
3708
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3710 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3711
a9e8e0e0
CL
37122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3713
3714 [BZ #13973]
3715 * locale/iso-639.def: Fix gl language name. Spotted by
3716 Yaron Shahrabani.
3717
ec98af7d
RM
37182012-04-12 Roland McGrath <roland@hack.frob.com>
3719
3720 [BZ #2074]
3721 * libio/libio.h (__io_write_fn): Update comment.
3722
247c3ede
PB
37232012-04-12 Petr Baudis <pasky@ucw.cz>
3724
3725 [BZ #2074]
3726 * stdio.texi (Hook Functions): The user provided writer function
3727 is not allowed to return -1.
3728
55939d6d
DM
37292012-04-11 David S. Miller <davem@davemloft.net>
3730
3731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3732
90020f5a
MF
37332012-04-11 Mike Frysinger <vapier@gentoo.org>
3734
3735 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3736 Add a leading slash to rtkaio.
3737
288f9098
JM
37382012-04-11 Jim Meyering <meyering@redhat.com>
3739
90020f5a
MF
3740 [BZ #11959]
3741 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3742 It is not necessarily an error to ignore fwrite's return
3743 value. One can reliably use ferror to test for errors after
3744 the fact.
288f9098 3745
4be2b570
L
37462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * bits/types.h (__snseconds_t): New type.
3749 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3750
3751 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3753 (__SNSECONDS_T_TYPE): Likewise.
3754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3755 (__SNSECONDS_T_TYPE): Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3757 (__SNSECONDS_T_TYPE): Likewise.
3758
288f9098 37592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3760
3761 [BZ #2636]
3762 * manual/time.texi (Processor Time): Return type of times is
3763 elapsed real time since an arbitrary point in the past.
3764 (CPU Time): Move CLK_TCK from here...
3765 (Processor Time): ...to here. Correct description.
3766 * manual/conf.texi (Constants for Sysconf): Correct description of
3767 _SC_CLK_TCK.
3768
d7dd4413
DM
37692012-04-10 David S. Miller <davem@davemloft.net>
3770
3771 [BZ #13967]
3772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3773 where the is a gap between DT_REL(A) and DT_JMPREL.
3774
b46068fc
L
37752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3776
3777 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3778 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3779 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3780
73d65cc3
SP
37812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3782
3783 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3784 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3785 (dl_main): Handle --inhibit-cache.
3786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3787 _dl_inhibit_cache.
3788 * elf/dl-load.c (_dl_map_object): Use it.
3789 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3790
bcc8d661
JM
37912012-04-09 Joseph Myers <joseph@codesourcery.com>
3792
8f9a2fae
JM
3793 [BZ #13872]
3794 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3795 (__ieee754_powl): Saturate large exponents rather than testing for
3796 overflow of y*log2(x).
3797 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3798 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3799 exceptions.
3800
bcc8d661
JM
3801 [BZ #11521]
3802 * math/s_ctan.c: Include <float.h>.
3803 (__ctan): Avoid internal overflow or cancellation in calculating
3804 denominator.
3805 * math/s_ctanf.c: Likewise.
3806 * math/s_ctanl.c: Likewise.
3807 * math/s_ctanh.c: Likewise.
3808 * math/s_ctanhf.c: Likewise.
3809 * math/s_ctanhl.c: Likewise.
3810 * math/libm-test.inc (ctan_test): Add more tests.
3811 (ctanh_test): Likewise.
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814
823fbbb4
AJ
38152012-04-09 Andreas Jaeger <aj@suse.de>
3816
03879793
AJ
3817 [BZ #6894]
3818 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3819 is an optional BSD extension.
3820
823fbbb4
AJ
3821 [BZ #10254]
3822 * manual/stdio.texi (Opening Streams): Document additional fopen
3823 parameters.
3824
8de131cb
RM
38252012-04-09 Roland McGrath <roland@hack.frob.com>
3826
3827 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3828 %eax without telling the compiler.
3829
c0ed9d7d
CD
38302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3831
3832 [BZ # 13963]
3833 * manual/install.texi: Use sourceware.org.
3834
c483f6b4
JM
38352012-04-09 Joseph Myers <joseph@codesourcery.com>
3836
d7dd9453
JM
3837 [BZ #13873]
3838 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3839 (__ieee754_pow): Generate overflow and underflow using huge*huge
3840 and tiny*tiny rather than just returning constant infinity or zero
3841 for large exponents.
3842 * math/libm-test.inc (pow_test): Require overflow exceptions for
3843 applicable cases of large exponents.
3844
c483f6b4
JM
3845 [BZ #706]
3846 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3847 (__ieee754_pow): Use iterative multiplication algorithm only for
3848 integer exponents with absolute value below 1024. Check for odd
3849 integer exponents when using algorithm for real exponents.
3850 * math/libm-test.inc (pow_test): Add more tests.
3851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3852
d2de7579
JM
38532012-04-08 Joseph Myers <joseph@codesourcery.com>
3854
3855 [BZ #13705]
3856 * math/libm-test.inc (exp_test): Do not allow overflow exception
3857 on underflow test.
3858
f77f1232
AJ
38592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3860
3861 [BZ #13705]
3862 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3863 instead of __kernel_standard_f.
3864
3884932b
MF
38652012-04-08 Mike Frysinger <vapier@gentoo.org>
3866
3867 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3868 * sysdeps/x86_64/memset_chk.S: Likewise.
3869
54472e9c
AJ
38702012-04-08 Andreas Jaeger <aj@suse.de>
3871
6ab0fbfc
AJ
3872 [BZ #10153]
3873 * manual/startup.texi (Environment Access): Describe return value
3874 for putenv and setenv.
3875
61efba8c
AJ
3876 [BZ #6895]
3877 * manual/filesys.texi (Directory Entries): Add description for
3878 DT_LNK.
3879
95c3f29a
AJ
3880 [BZ #6890]
3881 * manual/filesys.texi (Directory Entries): Clarify that it's file
3882 system not operating system in the description of DT_UNKNOWN.
3883
54472e9c
AJ
3884 [BZ #6578]
3885 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3886
624254b1
SC
38872012-04-08 Stephen Compall <s11@member.fsf.org>
3888
3889 [BZ #6649]
3890 * manual/llio.texi (Opening and Closing Files): Add cross
3891 reference to explain mode argument.
3892
1e4920e0
MF
38932012-04-07 Mike Frysinger <vapier@gentoo.org>
3894
3895 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3896 * sysdeps/x86_64/memset_chk.S: Likewise.
3897
5ed848f3
DM
38982012-04-07 David S. Miller <davem@davemloft.net>
3899
3900 * elf/elf.h (R_SPARC_WDISP10): Define.
3901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3902 R_SPARC_SIZE32.
3903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3904 R_SPARC_SIZE64 and R_SPARC_H34.
3905
96154cd8
CD
39062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3907
3908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3909 conditions and remove no longer applicable assertion.
3910
9904dc47
L
39112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * bits/byteswap.h: Include <features.h>.
3914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3916
f8887d0a
L
39172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3918
3919 * bits/byteswap.h (__bswap_16): Removed.
3920 Include <bits/byteswap-16.h> to get __bswap_16.
3921 * sysdeps/i386/bits/byteswap.h: Likewise.
3922 * sysdeps/s390/bits/byteswap.h: Likewise.
3923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3924 * bits/byteswap-16.h: New file.
3925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3926 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3927 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3928 * string/Makefile (headers): Add bits/byteswap-16.h.
3929
62470f60
PP
39302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3931
3932 [BZ #13895]
3933 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3934 extra indirection.
3935 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3936 * nss/tst-nss-static.c: New.
3937
4dad7bab
RM
39382012-04-06 Robert Millan <rmh@gnu.org>
3939
3940 [BZ #6486]
3941 * manual/llio.texi (File Position Primitive): lseek
3942 refers to WHENCE when it really means OFFSET.
3943
e9142a17
AJ
39442012-04-06 Andreas Jaeger <aj@suse.de>
3945
2c040eff
AJ
3946 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3947 strncmp declarations.
3948
e9142a17
AJ
3949 * abilist/libc.abilist: Add __poll and __ppoll.
3950
ff9f1c5f
DM
39512012-04-05 David S. Miller <davem@davemloft.net>
3952
dcd2ae90
DM
3953 * scripts/check-local-headers.sh: Accept a host triplet in the
3954 path matched by the exclude regexp.
3955
993eb054
DM
3956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3957 definition.
3958 * sysdeps/powerpc/powerpc32/dl-machine.h
3959 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3960 * sysdeps/s390/s390-32/dl-machine.h
3961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3962 * sysdeps/sparc/sparc32/dl-machine.h
3963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3964 * sysdeps/sparc/sparc64/dl-machine.h
3965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3966
ff9f1c5f
DM
3967 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3968 lazy binding.
48e2e132 3969 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3970 undefined symbol errors.
3971
48e2e132 3972 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3973 DT_NEEDED entries.
3974
e80d6f94
MM
39752012-04-05 Michael Matz <matz@suse.de>
3976
3977 [BZ #13592]
3978 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3979
349fa79f
AJ
39802012-04-05 Andreas Jaeger <aj@suse.de>
3981
3982 [BZ #13908]
3983 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3984 comment.
3985
f402708f
KK
39862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3987
3988 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3989 which ROUND is no valid rounding mode.
3990
2ecccfc9
KK
39912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3992
3993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3994 read again.
3995 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3996
8a53f50f
KK
39972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3998
3999 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4000 an exception using FPU order intentionally.
4001
40022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4003
4004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4005 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4006 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4007 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4008
d653abb7
SJ
40092012-04-05 Simon Josefsson <simon@josefsson.org>
4010
4011 [BZ #12340]
4012 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4013 EINVAL when BUFLEN is too smal.
4014
c3b1bf7d
TS
40152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4016
4017 [BZ #13553]
4018 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4019 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4020
b1aa60f3
AJ
40212012-04-03 Andreas Jaeger <aj@suse.de>
4022
c3b1bf7d 4023 [BZ #13938]
67f60a26
AJ
4024 * manual/setjmp.texi (System V contexts): Fix sentence.
4025
b1aa60f3
AJ
4026 [BZ #13926]
4027 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4028 New macro for this case.
4029 [!__GNUC__] (__bswap_64): New inline function for this case.
4030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4031 * bits/byteswap.h: Likewise.
4032 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4033 ull, guard with __GLIBC_HAVE_LONG_LONG.
4034
4035 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4036 __GLIBC_HAVE_LONG_LONG.
4037
4038 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4039 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4040
39c59c35
TMQMF
40412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4042
4043 [BZ #13691]
4044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4045 inptr and inend, rather than using last_ch.
4046
135ffda8
DM
40472012-04-02 David S. Miller <davem@davemloft.net>
4048
4049 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4050 * stdio-common/printf-parse.h (read_int): Change return type to
4051 'int', return -1 on INT_MAX overflow.
4052 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4053 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4054 overflows INT_MAX. Check for overflow of in-format-string precision
4055 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4056 SIZE_MAX not INT_MAX for integer overflow test.
4057 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4058 skip the construct in the format string but do not record anything.
4059 * stdio-common/bug22.c: Adjust to test both width/prevision
4060 INT_MAX overflow as well as total length INT_MAX overflow. Check
4061 explicitly for proper errno values.
4062
228c019e
TS
40632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4064
302cadd3
TS
4065 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4066 CHAR_MAX.
4067 * string/test-strcmp.c [! WIDE]: Likewise.
4068 * time/tst-mktime2.c: Likewise for INT_MAX.
4069 * string/test-string.h: #include <sys/param.h> for MIN.
4070
228c019e
TS
4071 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4072 * sysdeps/i386/init-first.c (init): Likewise.
4073 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4074 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4075 * sysdeps/sh/init-first.c (init): Likewise.
4076
cfa633f5
UD
40772012-04-01 Ulrich Drepper <drepper@gmail.com>
4078
4079 * po/ru.po: Update from translation team.
d1635ef8 4080 * po/vi.po: Likewise.
cfa633f5 4081
6cd0a5ea
SP
40822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4083
4084 * resolv/nss_dns/dns-host.c: Merge copyright years.
4085
4b43400f
LD
40862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4087
4088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4089 Optimize memcpy with prefetch if
4090 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4091 src, dst pointers have unequal 16 byte alignments.
4092
48c41d04
SP
40932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
4095 [BZ #13928]
4096 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4097 from a CNAME entry and return the minimum ttl for the query.
4098 (gaih_getanswer_slice): Likewise.
4099
b8dc394d
JL
41002012-03-30 Jeff Law <law@redhat.com>
4101
4102 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4103 due to long keys.
4104 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4105 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4106
2f5a5ed0
JL
4107 * resolv/nss_dns/dns-host.c: Update copyright year.
4108
1d39e359
UD
41092012-03-30 Ulrich Drepper <drepper@gmail.com>
4110
c030f70c 4111 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4112 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4113
1d39e359
UD
4114 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4115 comments for sendmmsg.
4116
41172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4118
4119 [BZ #13691]
4120 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4121 with only 1 character between 0x0041 and 0x01b0.
4122 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4123 * wcsmbs/tst-mbsnrtowcs.c: New file.
4124
20fde227
DM
41252012-03-29 David S. Miller <davem@davemloft.net>
4126
4127 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4128 small copies by hand.
4129
984a4237
JL
41302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4131
4132 [BZ #13761]
4133 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4134 _nss_compat_initgroups_dyn): Fall back to malloc/free
4135 for large group memberships.
4136
18c9d62b
DM
41372012-03-28 David S. Miller <davem@davemloft.net>
4138
88d85d4f
DM
4139 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4140 that branches into memcpy.
4141 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4144 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4146 bits.
4147 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4148 implementation too.
4149 * sysdeps/sparc/mempcpy.S: New file.
4150
e5aa83e1
DM
4151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4152 the IFUNC routine in the libc case.
4153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4154
88570753
DM
4155 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4156 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4157 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4158 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4159 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4160 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4161 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4162 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4163
249d7567
DM
4164 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4165 loop to 256 bytes instead of 64 bytes and fix test signedness.
4166
18c9d62b
DM
4167 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4168 * sysdeps/sparc/sparc32/Makefile: rather than here...
4169 * sysdeps/sparc/sparc64/Makefile: and here.
4170
05f3d1f6
UD
41712012-03-28 Ulrich Drepper <drepper@gmail.com>
4172
4173 * malloc/mallocbug.c: Avoid warnings about unused variables.
4174
86ae07a8
JL
41752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4176
4177 [BZ #13760]
4178 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4179 in the right place. Discard and retry query if response is
4180 larger than input buffer size.
4181
41bf21a1
JM
41822012-03-28 Joseph Myers <joseph@codesourcery.com>
4183
d6270972
JM
4184 [BZ #369]
4185 [BZ #2678]
4186 [BZ #3866]
4187 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4188 x for large integer exponent.
4189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4191 sign of result as needed afterwards.
4192 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4194 result for underflowing pow the same as for overflow.
4195 (__kernel_standard_l): Handle powl overflow and underflow here
4196 rather than calling __kernel_standard.
4197 * math/libm-test.inc (pow_test): Add more tests.
4198
414fca03 4199 [BZ #3868]
41bf21a1
JM
4200 [BZ #13879]
4201 [BZ #13910]
4202 [BZ #13911]
4203 [BZ #13912]
4204 [BZ #13913]
4205 [BZ #13915]
4206 [BZ #13916]
4207 [BZ #13917]
4208 [BZ #13918]
4209 [BZ #13919]
4210 [BZ #13920]
4211 [BZ #13921]
4212 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4213 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4214 (__kernel_standard_l): New function.
4215 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4216 __kernel_standard.
4217 * math/w_acosl.c (__acosl): Likewise.
4218 * math/w_asinl.c (__asinl): Likewise.
4219 * math/w_atan2l.c (__atan2l): Likewise.
4220 * math/w_atanhl.c (__atanhl): Likewise.
4221 * math/w_coshl.c (__coshl): Likewise.
4222 * math/w_exp10l.c (__exp10l): Likewise.
4223 * math/w_exp2l.c (__exp2l): Likewise.
4224 * math/w_fmodl.c (__fmodl): Likewise.
4225 * math/w_hypotl.c (__hypotl): Likewise.
4226 * math/w_j0l.c (__j0l, __y0l): Likewise.
4227 * math/w_j1l.c (__j1l, __y1l): Likewise.
4228 * math/w_jnl.c (__jnl, __ynl): Likewise.
4229 * math/w_lgammal.c (__lgammal): Likewise.
4230 * math/w_log10l.c (__log10l): Likewise.
4231 * math/w_log2l.c (__log2l): Likewise.
4232 * math/w_logl.c (__logl): Likewise.
4233 * math/w_powl.c (__powl): Likewise.
4234 * math/w_remainderl.c (__remainderl): Likewise.
4235 * math/w_scalbl.c (sysv_scalbl): Likewise.
4236 * math/w_sinhl.c (__sinhl): Likewise.
4237 * math/w_sqrtl.c (__sqrtl): Likewise.
4238 * math/w_tgammal.c (__tgammal): Likewise.
4239 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4240 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4241 * math/libm-test.inc (acos_test): Add more tests.
4242 (acosh_test): Likewise.
4243 (asin_test): Likewise.
4244 (atanh_test): Likewise.
4245 (exp_test): Likewise.
4246 (exp10_test): Likewise.
4247 (exp2_test): Likewise.
4248 (expm1_test): Likewise.
4249 (lgamma_test): Likewise.
4250 (log_test): Likewise.
4251 (log10_test): Likewise.
4252 (log1p_test): Likewise.
4253 (log2_test): Likewise.
4254 (pow_test): Do not allow some spurious overflow exceptions.
4255 (sqrt_test): Add more tests.
4256 (tgamma_test): Likewise.
4257 (y0_test): Likewise.
4258 (y1_test): Likewise.
4259 (yn_test): Likewise.
4260
dd62fda6
AB
42612012-03-27 Anton Blanchard <anton@samba.org>
4262
4263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4264 MAP_HUGETLB.
4265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4268
1e3cdfda
AJ
42692012-03-27 David S. Miller <davem@davemloft.net>
4270
b855ab85
DM
4271 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4272
1e3cdfda
AJ
4273 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4274 have-as-vis3 check.
4275
42762012-03-27 Andreas Jaeger <aj@suse.de>
4277
4278 * sysdeps/x86_64/elf/configure.in: Moved to ...
4279 * sysdeps/x86_64/configure.in: ... here.
4280 * sysdeps/x86_64/elf/start.S: Moved to ...
4281 * sysdeps/x86_64/start.S: ... here.
4282 * sysdeps/x86_64/elf/configure: Delete.
4283
4284 * sysdeps/x86_64/configure.in: Merge contents from
4285 sysdeps/i386/configure.in (without i686 check).
4286
4287 * sysdeps/i386/elf/Versions: Merge into ...
4288 * sysdeps/i386/Versions: ... this.
4289 * sysdeps/i386/elf/Versions: Delete file.
4290 * sysdeps/i386/elf/start.S: Moved to ...
4291 * sysdeps/i386/start.S: ...here.
4292 * sysdeps/i386/elf/configure.in: Merge into...
4293 * sysdeps/i386/configure.in: ...here.
4294 * sysdeps/i386/elf/configure.in: Delete file.
4295 * sysdeps/i386/elf/configure: Delete file.
4296
4297 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4298 * debug/backtracesyms.c: ... here.
4299 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4300 * debug/backtracesymsfd.c: ... here.
4301 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4302 * sysdeps/generic/ifunc-sel.h: ... here.
4303
4304 * sysdeps/unix/i386/start.c: Delete file.
4305 * sysdeps/unix/sparc/start.c: Delete file.
4306 * sysdeps/unix/start.c: Delete file.
4307
4308 * sysdeps/sh/elf/configure.in: Moved to ...
4309 * sysdeps/sh/configure.in: ... here.
4310 * sysdeps/sh/elf/start.S: Moved to ...
4311 * sysdeps/sh/start.S: ... here.
4312 * sysdeps/sh/elf/configure: Delete file.
4313
4314 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4315 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4316 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4317 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4318 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4319 * sysdeps/powerpc/powerpc64/start.S: here.
4320 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4321 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4322 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4323 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4324 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4325
4326 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4327 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4328 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4329 * sysdeps/powerpc/powerpc32/start.S: ... here.
4330 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4331 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4332 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4333
4334 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4335 * sysdeps/powerpc/ifunc-sel.h: ... here.
4336 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4337 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4338
4339 * sysdeps/sparc/elf/configure.in: Moved to ...
4340 * sysdeps/sparc/configure.in: ... here.
4341 * sysdeps/sparc/elf/configure: Delete file.
4342 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4343 * sysdeps/sparc/sparc32/start.S: ... here.
4344 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4345 * sysdeps/sparc/sparc64/start.S: ... here.
4346 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4347 * sysdeps/sparc/sparc32/Makefile: ... this.
4348 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4349 * sysdeps/sparc/sparc64/Makefile: ... this.
4350
4351 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4352 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4353 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4354 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4355 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4356 * sysdeps/s390/s390-32/setjmp.S: ... here.
4357 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4358 * sysdeps/s390/s390-32/configure.in: ... here.
4359 * sysdeps/s390/s390-32/elf/configure: Delete file.
4360 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4361 * sysdeps/s390/s390-32/start.S: ... here.
4362
4363 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4364 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4365 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4366 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4367 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4368 * sysdeps/s390/s390-64/setjmp.S: ... here.
4369 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4370 * sysdeps/s390/s390-64/configure.in: ... here
4371 * sysdeps/s390/s390-64/elf/configure: Delete file.
4372 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4373 * sysdeps/s390/s390-64/start.S: ... here.
4374 * sysdeps/s390/s390-64/elf/configure: Delete.
4375
4376 * configure.in: Remove support for elf directories in sysdeps.
4377
4378 * configure: Regenerated.
4379 * sysdeps/i386/configure: Regenerated.
4380 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4381 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4382 * sysdeps/s390/s390-32/configure: Regenerated.
4383 * sysdeps/s390/s390-64/configure: Regenerated.
4384 * sysdeps/sh/configure: Regenerated.
4385 * sysdeps/sparc/configure: Regenerated.
4386 * sysdeps/x86_64/configure: Regenerated.
4387
a3f61311
AS
43882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4389
c876e002
AS
4390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4391
a3f61311
AS
4392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4393 denormal result into account.
4394
ac4c54f0
RM
43952012-03-25 Roland McGrath <roland@hack.frob.com>
4396
4397 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4398 Reported by Allan McRae <allan@archlinux.org>.
4399
6a9b9c02
JL
44002012-03-23 Jeff Law <law@redhat.com>
4401
4402 * nss/getnssent.c (__nss_getent): Fix typo.
4403
4c42a0c1
DM
44042012-03-23 David S. Miller <davem@davemloft.net>
4405
4406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4407
1532c7ac
L
44082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4411 to pad to uint64_t for each field.
4412 (dl_tls_index): Replace unsigned long with uint64_t.
4413
3ff42526
PP
44142012-03-23 Daniel Jacobowitz <dmj@google.com>
4415 Paul Pluzhnikov <ppluzhnikov@google.com>
4416
4417 [BZ #6528]
4418 * grp/Makefile (otherlibs): Don't set it.
4419 * inet/Makefile (otherlibs): Likewise.
4420 * login/Makefile (otherlibs): Likewise.
4421 * nscd/Makefile (otherlibs): Likewise.
4422 * posix/Makefile (otherlibs): Likewise.
4423 * pwd/Makefile (otherlibs): Likewise.
4424 * rt/Makefile (otherlibs): Likewise.
4425 * sunrpc/Makefile (otherlibs): Likewise.
4426 * nss/Makefile (otherlibs): Likewise.
4427 Add libnss_files to routines and static-only-routines.
4428 ($(objpfx)getent): Remove rule.
4429 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4430 static-only-routines.
4431
7c69cd14
JM
44322012-03-22 Joseph Myers <joseph@codesourcery.com>
4433
4434 [BZ #13892]
4435 * math/s_cexp.c: Include <float.h>.
4436 (__cexp): Handle exp result overflowing not necessarily
4437 overflowing both real and imaginary parts of result.
4438 * math/s_cexpf.c: Likewise.
4439 * math/s_cexpl.c: Likewise.
4440 * math/libm-test.inc (cexp_test): Add more tests.
4441 * sysdeps/i386/fpu/libm-test-ulps: Update.
4442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4443
81b035fe
L
44442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * include/link.h (ELFW): New macro.
4447 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4448 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4449
1da7940c
L
44502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4453 with uint64_t.
4454
b749dbb9
L
44552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4456
4457 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4458 declaration.
4459 (struct La_x32_retval): Likewise.
4460
2ff87f3f
L
44612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * sysdeps/x86_64/preconfigure.in: New file.
4464 * sysdeps/x86_64/preconfigure: New generated file.
4465
c0df8e69
JM
44662012-03-22 Joseph Myers <joseph@codesourcery.com>
4467
48e44791
JM
4468 [BZ #13824]
4469 * math/e_exp2l.c: Include <float.h>.
4470 (__ieee754_exp2l): Handle overflow and underflow cases
4471 separately. Only pass fractional part of argument to
4472 __ieee754_expl.
4473 * math/libm-test.inc (exp2_test): Add more tests.
4474
c0df8e69
JM
4475 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4476 negating x to take absolute value.
4477 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4478 Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4481 Likewise.
4482 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4483 computing low part if x was negated.
4484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4485
c8e43ba7
L
44862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4487
4488 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4489 la_x32_gnu_pltexit.
4490 (pltexit): Cast int_retval to ptrdiff_t.
4491 * elf/tst-auditmod3b.c: Likewise.
4492 * elf/tst-auditmod4b.c: Likewise.
4493 * elf/tst-auditmod5b.c: Likewise.
4494 * elf/tst-auditmod6b.c: Likewise.
4495 * elf/tst-auditmod6c.c: Likewise.
4496 * elf/tst-auditmod7b.c: Likewise.
4497
4498 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4499 and x32_gnu_pltexit.
4500
4501 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4502 __ELF_NATIVE_CLASS.
4503 (La_x32_regs): New macro.
4504 (La_x32_retval): Likewise.
4505 (la_x32_gnu_pltenter): New function prototype.
4506 (la_x32_gnu_pltexit): Likewise.
4507
7998fa78
AS
45082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4509
dcb33988
AS
4510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4511 exponent.
4512
233fc563
AS
4513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4514
7998fa78
AS
4515 * configure.in (libc_cv_cc_nofma): Check for option to disable
4516 generation of FMA instructions.
4517 * configure: Regenerate.
4518 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4519 * sysdeps/ieee754/dbl-64/Makefile: New file.
4520 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4521 Remove brandred-fma4.
4522 (CFLAGS-brandred-fma4.c): Remove.
4523 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4525 define.
4526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4527 define.
4528
8e95c99a
L
45292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4532 LLONG_MAX != LONG_MAX.
4533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4534 (_fitoa_word): Likewise.
4535 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4536 LLONG_MAX != LONG_MAX.
4537 * stdio-common/_itowa.h: Include <_itoa.h>.
4538 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4539 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4540 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4541 only if not defined.
4542 (_ITOA_WORD_TYPE): Likewise.
4543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4544 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4545
6f4db457
DM
45462012-03-21 David S. Miller <davem@davemloft.net>
4547
4548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4549
7785fe5a
L
45502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4551
4552 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4553 of x86_64 when setting libc_cv_slibdir, libdir and
4554 libc_cv_localedir.
4555 * sysdeps/unix/sysv/linux/configure: Regenerated.
4556
4535cd55
JM
45572012-03-21 Joseph Myers <joseph@codesourcery.com>
4558
4559 * manual/lang.texi (Old Varargs): Remove section.
4560 (How Variadic): Update menu.
4561 (va_start): Do not mention varargs.h.
4562
17228132
TS
45632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4564 Joseph Myers <joseph@codesourcery.com>
4565
4566 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4567 link test.
4568 * configure: Regenerated.
4569
8149f976
TS
45702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4571
05f3d1f6
UD
4572 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4573 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4574 conformtest.pl
8149f976 4575
1a4ac776
JM
45762012-03-21 Joseph Myers <joseph@codesourcery.com>
4577
be22ce65
JM
4578 * NOTES: Remove.
4579 * Makefile (files-for-dist): Remove NOTES.
4580 (NOTES): Remove rule.
4581 * README: Don't refer to NOTES.
4582 * manual/creature.texi: Don't include macros.texi.
4583 * manual/intro.texi (creature.texi): Remove comment referring to
4584 NOTES.
4585
40b601fb
JM
4586 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4587 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4588 * configure: Regenerated.
4589 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4590 LIBC_TRY_CC_OPTION.
4591 (libc_cv_as_i686): Likewise.
4592 (libc_cv_cc_avx): Likewise.
4593 (libc_cv_cc_sse2avx): Likewise.
4594 (libc_cv_cc_fma4): Likewise.
4595 (libc_cv_cc_novzeroupper): Likewise.
4596 * sysdeps/i386/configure: Regenerated.
4597
1a4ac776
JM
4598 [BZ #13883]
4599 * sysdeps/i386/fpu/s_cexp.S: Remove.
4600 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4601 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4602 * math/libm-test.inc (cexp_test): Add more tests.
4603 * sysdeps/i386/fpu/libm-test-ulps: Update.
4604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4605
a458e7fe
AM
46062012-03-21 Allan McRae <allan@archlinux.org>
4607
4608 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4609
0cb7efc5
JM
46102012-03-21 Joseph Myers <joseph@codesourcery.com>
4611
4612 [BZ #13871]
4613 * math/w_exp2.c: Do not include <float.h>.
4614 (o_threshold, u_threshold): Remove.
4615 (__exp2): Calculate result before checking finiteness and calling
4616 __kernel_standard.
4617 * math/w_exp2f.c: Likewise.
4618 * math/w_exp2l.c: Likewise.
4619 * math/libm-test.inc (exp2_test): Require overflow exception for
4620 1e6 input.
2460d3aa
JM
4621
4622 [BZ #3866]
4623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4624 range of signed 64-bit integers before using fistpll. Remove
4625 checks for whether integers fit in mantissa bits.
4626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4627 the range of signed 32-bit integers before using fistpl. Remove
4628 checks for whether integers fit in mantissa bits.
4629 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4630 (__ieee754_powl): Test for y outside the range of signed 64-bit
4631 integers before using fistpll. Reduce 64-bit values to 63-bit
4632 ones as needed.
4633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4634 divide-by-zero is raised for zero to large negative powers.
4635 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4636 (__ieee754_powl): Test for y outside the range of signed 64-bit
4637 integers before using fistpll. Reduce 64-bit values to 63-bit
4638 ones as needed.
4639 * math/libm-test.inc (pow_test): Add more tests.
4640
eb96ffb0
L
46412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4642
4643 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4644 <stdio-common/_itoa.h>.
4645 * debug/segfault.c: Likewise.
4646 * elf/dl-cache.c: Likewise.
4647 * elf/dl-minimal.c: Likewise.
4648 * elf/dl-misc.c: Likewise.
4649 * elf/dl-sysdep.c: Likewise.
4650 * elf/dl-version.c: Likewise.
4651 * elf/rtld.c: Likewise.
4652 * hurd/hurdsock.c: Likewise.
4653 * hurd/lookup-retry.c: Likewise.
4654 * malloc/malloc.c: Likewise.
4655 * malloc/mtrace.c: Likewise.
4656 * nscd/nscd_getgr_r.c: Likewise.
4657 * nscd/nscd_getpw_r.c: Likewise.
4658 * nscd/nscd_getserv_r.c: Likewise.
4659 * posix/getopt_init.c: Likewise.
4660 * posix/wordexp.c: Likewise.
4661 * stdio-common/_itoa.c: Likewise.
4662 * stdio-common/printf_fphex.c: Likewise.
4663 * stdio-common/vfprintf.c: Likewise.
4664 * string/_strerror.c: Likewise.
4665 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4666 * sysdeps/i386/i686/hp-timing.h: Likewise.
4667 * sysdeps/mach/_strerror.c: Likewise.
4668 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4669 * sysdeps/mach/hurd/sethostid.c: Likewise.
4670 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4671 * sysdeps/mach/xpg-strerror.c: Likewise.
4672 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4674 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4675 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4676 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4677 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4678 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4679 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4680 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4681 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4682 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4684 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4686 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4687 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4688 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4690 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4691 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4692 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4693
4694 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4695
4696 * stdio-common/_itoa.h: Moved to ...
4697 * sysdeps/generic/_itoa.h: Here.
4698
4699 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4700
4701 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4702 instead of "_itoa.h" and "_itowa.h".
4703 * stdio-common/vfprintf.: Likewise.
4704
d1af992d
L
47052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4706
4707 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4708 <bits/wordsize.h>.
4709 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4710 (__signbit): Likwise.
4711 (llrintf): Likwise.
4712 (llrint): Likwise.
4713
114883e0
L
47142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4715
4716 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4717 __WORDSIZE != 64.
4718
c135cc1b
JM
47192012-03-20 Joseph Myers <joseph@codesourcery.com>
4720
4721 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4722 OVERFLOW_EXCEPTION_OK.
4723 * math/libm-test.inc ("Philosophy"): Update comment about
4724 exception testing.
4725 (OVERFLOW_EXCEPTION): Define.
4726 (OVERFLOW_EXCEPTION_OK): Likewise.
4727 (INVALID_EXCEPTION_OK): Renumber.
4728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4729 (IGNORE_ZERO_INF_SIGN): Likewise.
4730 (test_exceptions): Handle FE_OVERFLOW.
4731 (exp10_test): Expect overflow exceptions.
4732 (exp2_test): Likewise.
4733 (expm1_test): Likewise.
4734 (nextafter_test): Likewise.
4735 (pow_test): Likewise.
4736 (scalbn_test): Likewise.
4737 (scalbln_test): Likewise.
4738
95443d88
L
47392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4740
4741 * sysdeps/x86_64/bits/atomic.h
4742 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4743 64bit integer.
4744 (atomic_exchange_acq): Likewise.
4745 (__arch_exchange_and_add_body): Likewise.
4746 (__arch_add_body): Likewise.
4747 (atomic_add_negative): Likewise.
4748 (atomic_add_zero): Likewise.
4749
490df6c4
L
47502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4751
c2722551 4752 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4753 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4754
5e52b189
L
47552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4758 Check __x86_64__ instead of __WORDSIZE.
4759
a9879d4c
L
47602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4761
4762 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4763
5df98260
DM
47642012-03-19 David S. Miller <davem@davemloft.net>
4765
e1497744
DM
4766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4767
5df98260
DM
4768 * sysdeps/sparc/fpu/fenv_private.h: New file.
4769 * sysdeps/sparc/fpu/math_private.h: Use it.
4770 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4771 Remove.
4772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4773 (libc_feholdexcept_setroundl): Remove.
4774 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4775 Remove.
4776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4778
b4c35121
L
47792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4780
4781 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4782 int64_t instead of long int.
4783 (INSERT_WORDS64): Likwise.
4784
56965fd7
L
47852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4786
4787 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4788 _Unwind_GetCFA return to _Unwind_Ptr first.
4789
83d1aec8
JM
47902012-03-19 Joseph Myers <joseph@codesourcery.com>
4791
1897ad44
JM
4792 [BZ #13629]
4793 * math/s_clog.c: Include <float.h>.
4794 (__clog): Scale large or subnormal inputs.
4795 * math/s_clogf.c: Likewise.
4796 * math/s_clogl.c: Likewise.
4797 * math/s_clog10.c: Include <float.h>.
4798 (M_LOG10_2): Define.
4799 (__clog10): Scale large or subnormal inputs.
4800 * math/s_clog10f.c: Likewise.
4801 * math/s_clog10l.c: Likewise.
4802 * math/libm-test.inc (clog_test): Add more tests.
4803 (clog10_test): Likewise.
4804 * sysdeps/i386/fpu/libm-test-ulps: Update.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
7726d6a9
JM
4807 [BZ #11451]
4808 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4809 x and y.
4810 * math/libm-test.inc (atan2_test): Add another test.
4811
83d1aec8
JM
4812 * Makerules (common-objdir-compile): Remove.
4813 * sysdeps/unix/Makefile (config-generated): Do not add
4814 $(unix-generated) to variable.
4815 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4816 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4817 Remove rule.
4818 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4819 Likewise.
4820 [generic bits/local_lim.h] (before-compile): Do not append to
4821 variable.
4822 [generic bits/local_lim.h] (common-generated): Likewise.
4823 [generic sys/param.h] (before-compile): Do not append to variable.
4824 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4825 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4826 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4827 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4828 include.
4829 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4830 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4831 [generic sys/param.h] ($(addprefix
4832 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4833 [generic sys/param.h] (common-generated): Do not append to
4834 variable.
4835 [generic sys/param.h] (sysdep_headers): Likewise.
4836 [generic bits/errno.h] (before-compile): Do not append to
4837 variable.
4838 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4839 rule.
4840 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4841 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4842 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4843 [generic bits/errno.h] (common-generated): Do not append to
4844 variable.
4845 [generic bits/ioctls.h] (before-compile): Do not append to
4846 variable.
4847 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4848 rule.
4849 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4850 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4852 rule.
4853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4854 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4855 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4856 [generic bits/ioctls.h] (common-generated): Do not append to
4857 variable.
4858 [generic sys/syscall.h] (syscall.h): Remove variable.
4859 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4860 rule.
4861 [generic sys/syscall.h] (before-compile): Do not append to
4862 variable.
4863 [generic sys/syscall.h] (common-generated): Likewise.
4864 * sysdeps/unix/errnos-tmpl.c: Remove file.
4865 * sysdeps/unix/errnos.awk: Likewise.
4866 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4867 * sysdeps/unix/ioctls.awk: Likewise.
4868 * sysdeps/unix/mk-local_lim.c: Likewise.
4869 * sysdeps/unix/snarf-ioctls: Likewise.
4870
4851a949
RH
48712012-03-19 Richard Henderson <rth@twiddle.net>
4872
bd37f2ee
RH
4873 * sysdeps/i386/fpu/fenv_private.h: New file.
4874 * sysdeps/i386/fpu/math_private.h: Use it.
4875 (math_opt_barrier, math_force_eval): Remove.
4876 (libc_feholdexcept_setround_53bit): Remove.
4877 (libc_feupdateenv_53bit): Remove.
4878 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4879 (math_opt_barrier, math_force_eval): Remove.
4880 (libc_feholdexcept): Remove.
4881 (libc_feholdexcept_setround): Remove.
4882 (libc_fetestexcept, libc_fesetenv): Remove.
4883 (libc_feupdateenv_test): Remove.
4884 (libc_feupdateenv, libc_feholdsetround): Remove.
4885 (libc_feresetround): Remove.
4886
d0adc922
RH
4887 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4888 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4889
0fe0f1f8
RH
4890 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4891 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4892 (libc_feupdateenv_testl): New.
4893 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4894 (libc_feupdateenv_testf): New.
4895 (libc_feupdateenv): Use libc_feupdateenv_test.
4896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4898
eb92c487
RH
4899 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4900 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4901 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4902 (libc_feresetround_noex): New.
4903 (libc_feresetround_noexf): New.
4904 (libc_feresetround_noexl): New.
4905 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4906 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4907 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4908 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4909 SET_RESTORE_ROUND.
4910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4912 (__cos): Likewise.
4913 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4914 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4915 SET_RESTORE_ROUND_NOEX.
4916 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4917 SET_RESTORE_ROUND_NOEXF.
4918 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4919 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4920 (libc_feholdsetroundf): New.
4921 (libc_feresetround, libc_feresetroundf): New.
4922
7d2e8012
RH
4923 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4924 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4925 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4926
b4dabbb4
RH
4927 * sysdeps/generic/math_private.h: Include <fenv.h>.
4928 (default_libc_feholdexcept): New.
4929 (default_libc_feholdexcept_setround): New.
4930 (default_libc_fesetenv, default_libc_feupdateenv): New.
4931 (libc_feholdexcept): Only define if undefined.
4932 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4933 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4934 (libc_feholdexcept_setroundl): Likewise.
4935 (libc_feholdexcept_setround_53bit): Likewise.
4936 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4937 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4938 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4939 (libc_feupdateenv_53bit): Likewise.
4940 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4941 (libc_feholdexcept): Convert from macro to inline function.
4942 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4943 (libc_fesetenv, libc_feupdateenv): Likewise.
4944
4851a949
RH
4945 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4946 not previously defined.
4947 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4948 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4949 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4951 * sysdeps/ieee754/flt-32/math_private.h: New file.
4952 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4953 math_private.h below SET_FLOAT_WORD.
4954 (__isnan, __isinf_ns, __finite): Remove.
4955 (__isnanf, __isinf_nsf, __finitef): Remove.
4956
e79d442e
AS
49572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4960
90b80344
DM
49612012-03-17 David S. Miller <davem@davemloft.net>
4962
4963 [BZ #6471]
4964 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4965 for 2.16.
4966
edc21804
DM
49672012-03-16 David S. Miller <davem@davemloft.net>
4968
77e927af
DM
4969 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4970 warnings.
4971
374976dd
DM
4972 [BZ #6471]
4973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4974 properly.
4975 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4976 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4977 sysdep_routines when subdir is sysvipc.
4978 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4979 __getshmlba helper.
4980
edc21804
DM
4981 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4982
473c3ef3
L
49832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4984
4985 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4986 [__LP64__].
4987
eb0f39b6
L
49882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4989
4990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4991 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4992 (__lround): Renamed to ...
4993 (__llround): This. Replace long int with long long int.
4994 Define lround functions as aliases of llround functions.
4995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4996
6b6cd74b
L
49972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4998
4999 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5000 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5001 adresses to uintptr_t. Replace "long int" and "unsigned long
5002 int" with "greg_t" on va_arg.
5003
f1a77b01
L
50042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5005
5006 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5007 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5008
5009 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5010 Move e_machine check before EI_CLASS check. Handle x32
5011 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5012 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5013 SKIP_EM_IA_64 and include
5014 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5015
5016 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5017 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5018 (add_system_dir): New macro.
5019
5020 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5021 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5022
11b90b9f
JM
50232012-03-16 Joseph Myers <joseph@codesourcery.com>
5024
c36e1d23
JM
5025 [BZ #2551]
5026 [BZ #2552]
5027 [BZ #2553]
5028 [BZ #2554]
5029 [BZ #2562]
5030 [BZ #2563]
5031 [BZ #2565]
5032 [BZ #2566]
5033 [BZ #2576]
5034 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5035 (y0): Likewise.
5036 * math/w_j0f.c (j0f): Likewise.
5037 (y0f): Likewise.
5038 * math/w_j0l.c (__j0l): Likewise.
5039 (__y0l): Likewise.
5040 * math/w_j1.c (j1): Likewise.
5041 (y1): Likewise.
5042 * math/w_j1f.c (j1f): Likewise.
5043 (y1f): Likewise.
5044 * math/w_j1l.c (__j1l): Likewise.
5045 (__y1l): Likewise.
5046 * math/w_jn.c (jn): Likewise.
5047 (yn): Likewise.
5048 * math/w_jnf.c (jnf): Likewise.
5049 (ynf): Likewise.
5050 * math/w_jnl.c (__jnl): Likewise.
5051 (__ynl): Likewise.
5052 * math/libm-test.inc (j0_test): Add more tests.
5053 (j1_test): Likewise.
5054 (jn_test): Likewise. Add trailing semicolon to existing test.
5055 (y0_test): Likewise.
5056 (y1_test): Likewise.
5057 * sysdeps/i386/fpu/libm-test-ulps: Update.
5058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5059
11b90b9f
JM
5060 [BZ #13851]
5061 [BZ #13854]
5062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5063 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5064 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5066 (__tanl): Set errno for infinite argument.
5067 * sysdeps/i386/fpu/mptan.c: Remove.
5068 * sysdeps/i386/fpu/s_tan.S: Likewise.
5069 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5070 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5071 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5072 * math/libm-test.inc (tan_test): Add more tests and enable more
5073 tests for double and long double.
5074 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076
6a1bd2a1
JK
50772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5078
5079 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5080 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5081
10a803e0
RM
50822012-03-16 Roland McGrath <roland@hack.frob.com>
5083
5084 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5085 * configure.in: Use it for both main tree and add-ons.
5086 * configure: Regenerated.
5087
f196c7f7
L
50882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5089
5090 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5091
8848d99d
JM
50922012-03-16 Joseph Myers <joseph@codesourcery.com>
5093
96cbe7f4
JM
5094 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5095 in comment.
5096
8848d99d
JM
5097 [BZ #13851]
5098 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5099 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5103 infinite argument.
5104 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5106 != 0 for prec == 2.
5107 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5108 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5109 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5110 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5111 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5112 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5113 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5114 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5115 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5116 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5117 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5118 * math/libm-test.inc (cos_test): Add more tests and enable more
5119 tests for long double.
5120 (sin_test): Likewise.
5121 (sincos_test): Likewise.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124
dd7f4703
DM
51252012-03-16 David S. Miller <davem@davemloft.net>
5126
5127 * sysdeps/sparc/fpu/math_private.h: New file.
5128
006f1daa
DM
51292012-03-15 David S. Miller <davem@davemloft.net>
5130
c0c83bc8
DM
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5132 file.
e6a62e18 5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5135 file.
e6a62e18
DM
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5142 sysdep routines.
5143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5144
88cb87d9
DM
5145 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5146 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5147
006f1daa 5148 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5150 sparc-ifunc.h
006f1daa 5151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5153 Likewise.
5154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5155 Likewise.
006f1daa
DM
5156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5160 Likewise.
006f1daa
DM
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5166 Likewise.
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5168 Likewise.
006f1daa
DM
5169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5193
11e0098e
AS
51942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5195
5196 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5197 scaling.
5198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5199
e85b09d0
AJ
52002012-03-15 Andreas Jaeger <aj@suse.de>
5201
5202 [BZ #13852]
5203 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5204 ieee754/flt-32 implementation for sin, cos and sincos.
5205 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5206 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5207 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5208 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5209 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5210 ieee754/flt-32 implementation for tan.
5211
5212 * math/libm-test.inc (cos_test): Enable some large input tests for
5213 float as well
5214 (sin_test): Likewise.
5215 (sincos_test): Likewise.
5216 (tan_test): Add tests for large input.
5217
5218 * sysdeps/i386/fpu/libm-test-ulps: Update.
5219
81c64153
AJ
52202012-03-15 Andreas Jaeger <aj@suse.de>
5221
5222 [BZ #13658]
5223 * math/libm-test.inc (cos_test): Add more test cases.
5224 (sin_test): Likewise.
5225 (sincos_test): Likewise.
5226
7bbfa5c6
AJ
52272012-03-15 Andreas Jaeger <aj@suse.de>
5228
5229 [BZ #13837]
5230 * math/libm-test.inc (cos_test): Add a test case for large input
5231 value.
5232 (sin_test): Likewise.
5233 (sincos_test): Likewise.
5234
52352012-03-15 Andreas Jaeger <aj@suse.de>,
5236 Joseph Myers <joseph@codesourcery.com>
5237
5238 [BZ #13658]
0671f479 5239 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5240 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5241 * sysdeps/i386/fpu/branred.c: Likewise.
5242 * sysdeps/i386/fpu/dosincos.c: Likewise.
5243 * sysdeps/i386/fpu/mpa.c: Likewise.
5244 * sysdeps/i386/fpu/s_cos.S: Likewise.
5245 * sysdeps/i386/fpu/s_sin.S: Likewise.
5246 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5247 * sysdeps/i386/fpu/sincos32.c: Likewise.
5248
5249 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5250 Define.
5251 (libc_feupdateenv_53bit): Define.
5252 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5253 Define.
5254 (libc_feupdateenv_53bit): Define.
5255
5256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5257 53 bit (without extend i386 double precision).
5258
5259 * math/libm-test.inc (sincos_test): Add tests for large input.
5260 (sin): Likewise.
5261 (cos): Likewise.
5262
5263 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5264
9cad04ea
AS
52652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5266
5267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5268
f7062b9a
DM
52692012-03-15 David S. Miller <davem@davemloft.net>
5270
5271 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5272 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5273 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5274 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5287 file.
f7062b9a 5288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5290 file.
f7062b9a 5291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5293 file.
f7062b9a 5294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5296 file.
f7062b9a
DM
5297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5299 fmin/fmax sysdep routines.
5300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5301
7bd951ff
DM
53022012-03-14 David S. Miller <davem@davemloft.net>
5303
559398ab
DM
5304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5333 routines.
5334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5335 file.
559398ab 5336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5338 file.
559398ab 5339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5341 file.
559398ab 5342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5344 file.
559398ab 5345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5347 file.
559398ab 5348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5350 file.
5351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5352 file.
5353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5354 file.
5355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5356 file.
5357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5358 New file.
5359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5360 file.
5361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5362 file.
559398ab 5363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5365 file.
559398ab 5366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5368 file.
559398ab 5369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5371 file.
559398ab 5372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5374 VIS3 routines.
559398ab
DM
5375
5376 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5377 New file.
5378
5a1c1e32
DM
5379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5380
eae47a36
DM
5381 * sysdeps/sparc/configure.in: New file.
5382 * sysdeps/sparc/configure: Generate.
5383 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5384 * configure: Regenerate.
5385 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5386 * config.make.in (have-as-vis3): New.
5387 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5388 available use -Av9d instead of -Av9a.
5389 * sysdeps/sparc/sparc64/Makefile: Likewise.
5390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5392 New file.
5393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5394 file.
5395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5396 New file.
5397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5398 file.
eae47a36
DM
5399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5404
c0c83bc8
DM
5405 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5406 fzeros/fnegs to load 0x80000000 into a float register instead of
5407 using the stack.
7bd951ff
DM
5408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5409
bd951ccb
JM
54102012-03-14 Joseph Myers <joseph@codesourcery.com>
5411
5412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5413 bits/syscall.h.
5414 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5415 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5416 ($(inst_includedir)/bits/syscall.h): Remove rule.
5417 ($(objpfx)bits/syscall.d): Include instead of
5418 $(objpfx)syscall-list.d.
5419 (generated): Change syscall-list.h and syscall-list.d to
5420 bits/syscall.h and bits/syscall.d.
5421
bb4e6db2
RM
54222012-03-14 Roland McGrath <roland@hack.frob.com>
5423
5424 [BZ #13846]
5425 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5426
aa4a2ae1
JM
54272012-03-14 Joseph Myers <joseph@codesourcery.com>
5428
e456826d
JM
5429 [BZ #13841]
5430 * math/s_csqrt.c: Include <float.h>.
5431 (__csqrt): Scale large or subnormal inputs.
5432 * math/s_csqrtf.c: Likewise.
5433 * math/s_csqrtl.c: Likewise.
5434 * math/libm-test.inc (csqrt_test): Add more tests.
5435 * sysdeps/i386/fpu/libm-test-ulps: Update.
5436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5437
aa4a2ae1
JM
5438 [BZ #13840]
5439 * math/libm-test.inc (hypot_test): Add more tests.
5440
7c10fd35
DM
54412012-03-13 David S. Miller <davem@davemloft.net>
5442
5443 [BZ #13840]
5444 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5445 double-precision for the calculation instead of scaling.
5446
f453b98b
JM
54472012-03-13 Joseph Myers <joseph@codesourcery.com>
5448
5449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5450 manipulate bits before adding and subtracting TWO52[sx].
5451 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5452 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5453 Likewise.
5454 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5455
09a3453f
DM
54562012-03-13 David S. Miller <davem@davemloft.net>
5457
8e59da90
DM
5458 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5459 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5461 rtld-global-offsets.h
5462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5463
2a8ab7f2
DM
5464 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5465 large parameters.
5466
10f62770
DM
5467 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5468
5f0bdb18
DM
5469 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5470 'err' in the ifdef scope in which it is actually used.
5471
09a3453f
DM
5472 * nss/nss_db/db-init.c: Include string.h
5473
b4b2eb5e
DM
54742012-03-12 David S. Miller <davem@davemloft.net>
5475
98bb2f1c
DM
5476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5477 masking out of the most significant byte of random value used.
5478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5479 Fix coding style in previous change.
5480
b4b2eb5e
DM
5481 * sysdeps/unix/sysv/linux/kernel-features.h
5482 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5483 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5484 expression.
5485 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5486 later.
5487
6e226b09
DM
54882012-03-11 David S. Miller <davem@davemloft.net>
5489
a1bcbd40
DM
5490 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5491 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5493 for 'resultvar' otherwise things get truncated on 64-bit.
5494
cb9d6174
DM
5495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5496 Fix masking out of the most significant byte of random value used.
5497
6e226b09
DM
5498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5499
058c132d
AS
55002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5501
5502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5503
2d2cd515
DM
55042012-03-09 David S. Miller <davem@davemloft.net>
5505
5506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5507 variables with appropriate CPP guards.
5508 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5509 frame pointer, not the stack pointer. Correct layout comments. Fix test
5510 on resulting framesize and the management of the outregs buffer for pltexit.
5511 Preserve floating point return values across _dl_call_pltexit call.
5512 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5513 framesize and the management of the outregs buffer for pltexit.
5514 Preserve floating point return values across _dl_call_pltexit
5515 call.
5516 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5517 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5518 (print_exit): Fix format string for return register value.
5519
9a07f9d0
JM
55202012-03-10 Joseph Myers <joseph@codesourcery.com>
5521
5522 * sunrpc/Makefile (others): Add rpcgen.
5523 ($(objpfx)rpcgen): Remove special build rule and dependency on
5524 libc.
5525 * sunrpc/rpcgen.c: New file.
5526
547b5e30
PE
55272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5528
c524201a
PE
5529 [BZ #13673]
5530 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5531 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5532 * sysdeps/i386/crti.S: Likewise.
5533 * sysdeps/i386/crtn.S: Likewise.
5534 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5535 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5536 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5537 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5538 * sysdeps/sh/crti.S: Likewise.
5539 * sysdeps/sh/crtn.S: Likewise.
5540 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5541
7b6235f2
PE
5542 [BZ #13673]
5543 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5544 with URL.
5545 * locale/programs/locfile-kw.gperf: Likewise.
5546 * locale/programs/charmap-kw.h: Regenerated.
5547 * locale/programs/locfile-kw.h: Likewise.
5548
547b5e30
PE
5549 [BZ #13673]
5550 * intl/plural.y: Replace FSF snail mail address with URL.
5551 * intl/plural.c: Regenerated.
5552
5f0a5dae
RH
55532012-03-09 Richard Henderson <rth@twiddle.net>
5554
5555 * include/math_private.h: Remove file.
5556 * math/math_private.h: Move file ...
5557 * sysdeps/generic/math_private.h: ... here.
5558
b8c03620
RH
5559 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5560 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5561 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5562
4e234f5d 5563 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5564 and <math_private.h>.
5565 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5566 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5567 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5568 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5569 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5579 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5617 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5653 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5656 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5659 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5670 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5671 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5672 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5677 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5679 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5684 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5690 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5694 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5695 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5696 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5698 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5699 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5703 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5707 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5708 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5709 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5710 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5711 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5712 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5713 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5714 * sysdeps/ieee754/k_standard.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5831 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5842 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5844 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5845 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5846 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5847 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5854 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5855 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5857 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5858 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5864 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5865 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5868 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5869 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5870 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5875 * sysdeps/ieee754/s_lib_version.c: Likewise.
5876 * sysdeps/ieee754/s_matherr.c: Likewise.
5877 * sysdeps/ieee754/s_signgam.c: Likewise.
5878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5881 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5884 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5885 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5886 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5887 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5888 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5889 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5892 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5895 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5899
1991fa03
JM
59002012-03-09 Joseph Myers <joseph@codesourcery.com>
5901
5902 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5903 * sunrpc/rpc_main.c: Likewise.
5904 * sunrpc/rpc_svcout.c: Likewise.
5905
60d6f5a6
DM
59062012-03-09 David S. Miller <davem@davemloft.net>
5907
5908 * include/math_private.h: New file.
5909
4962050e
JM
59102012-03-09 Joseph Myers <joseph@codesourcery.com>
5911
02a6f887
JM
5912 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5913 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5914 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5915 from <bits/socket_type.h>.
5916 (enum __socket_type): Don't define here.
5917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5919 bits/socket_type.h.
5920
c6e013c1
JM
5921 [BZ #13566]
5922 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5923 checking __USE_GNU.
5924
4962050e
JM
5925 * Makerules ($(inst_includedir)/%.h): New rule.
5926 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5927 (install-others): Remove variable setting.
5928 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5929
38842f45
RH
59302012-03-08 Richard Henderson <rth@twiddle.net>
5931
67bb6da6
RH
5932 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5933 from macro to inline function; merge with the
5934 !__LIBC_INTERNAL_MATH_INLINES version.
5935 (__ieee754_sqrtf): Likewise.
5936
15194b4b
RH
5937 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5938 to inline function.
5939 (__rintf, __floor, __floorf): Likewise.
5940
64e21ede
RH
5941 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5942 macro to inline function.
5943 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5944
38842f45
RH
5945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5946 not <math/math_private.h>.
5947
c64bf5fe
DM
59482012-03-08 David S. Miller <davem@davemloft.net>
5949
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5951 copyright year.
5952 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5953
82d86f28
TS
59542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5955
5956 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5957 normalization.
5958 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5959 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5960
aea5d727
UD
59612012-03-08 Ulrich Drepper <drepper@gmail.com>
5962
5963 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5964 be defined individually, they must be defined as a block. Define
5965 S for printing a string instead of hidint the different by using a
5966 macro for adding the 'l'.
5967 * stdio-common/tst-fphex-wide.c: Adjust.
5968
70bca0a3
MP
59692012-03-07 Marek Polacek <polacek@redhat.com>
5970
5971 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5972
65b81130
MP
59732012-03-08 Marek Polacek <polacek@redhat.com>
5974
5975 [BZ #13806]
5976 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5977 * stdio-common/tst-fphex.c: Define a few macros to make the
5978 test reusable. Use them.
5979 * stdio-common/tst-fphex-wide.c: New file.
5980
07037eeb
JM
59812012-03-08 Joseph Myers <joseph@codesourcery.com>
5982
a7a93d50
JM
5983 [BZ #6911]
5984 * manual/macros.texi (gnusystems): New macro.
5985 (nongnusystems): Likewise.
5986 (gnulinuxhurdsystems): Likewise.
5987 (gnuhurdsystems): Likewise..
5988 (gnulinuxsystems): Likewise.
5989 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5990 variants of the GNU system, not "GNU system".
5991 * manual/conf.texi: Likewise.
5992 * manual/errno.texi: Likewise. Update example of errno macro
5993 expansion.
5994 * manual/filesys.texi: Likewise.
5995 (getumask): Document as specific to GNU/Hurd.
5996 * manual/install.texi: Likewise. Reword some references to
5997 GNU/Linux.
5998 * manual/intro.texi: Likewise.
5999 * manual/io.texi: Likewise.
6000 (File Name Portability): Detail which constraints are inapplicable
6001 to all GNU systems and which are only inapplicable to GNU/Hurd.
6002 * manual/job.texi: Likewise.
6003 * manual/llio.texi: Likewise.
6004 (O_NOCTTY): Document as present on GNU/Linux.
6005 * manual/maint.texi: Likewise.
6006 * manual/memory.texi: Likewise.
6007 * manual/pattern.texi: Likewise.
6008 * manual/pipe.texi: Likewise.
6009 * manual/process.texi: Likewise.
6010 * manual/resource.texi: Likewise.
6011 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6012 child on GNU/Hurd.
6013 * manual/setjmp.texi: Likewise.
6014 * manual/signal.texi: Likewise.
6015 * manual/startup.texi: Likewise.
6016 * manual/stdio.texi: Likewise.
6017 * manual/terminal.texi: Likewise.
6018 (ONLCR): Document as POSIX.
6019 (OXTABS): Document availability on GNU/Linux as XTABS.
6020 (ONOEOT): Document availability separately from other bits.
6021 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6022 * manual/time.texi: Likewise.
6023 * manual/users.texi: Likewise.
6024 * INSTALL: Regenerated.
6025 * sysdeps/gnu/errlist.c: Regenerated.
6026
07037eeb
JM
6027 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6028 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6029 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6030 puts.
6031 * configure: Regenerated.
6032
d1d3431a
JM
60332012-03-07 Joseph Myers <joseph@codesourcery.com>
6034
af6a1e37
JM
6035 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6036 default includes instead of AC_HEADER_CHECK.
6037 * sysdeps/i386/configure: Regenerated.
6038
d1d3431a
JM
6039 [BZ #10716]
6040 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6041 * math/s_cacoshf.c (__cacoshf): Likewise.
6042 * math/s_cacoshl.c (__cacoshl): Likewise.
6043 * math/s_casinh.c (__casinh): Set signs of result from argument.
6044 * math/s_casinhf.c (__casinhf): Likewise.
6045 * math/s_casinhl.c (__casinhl): Likewise.
6046 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6047 (casinh_test): Add more tests.
6048 * sysdeps/i386/fpu/libm-test-ulps: Update.
6049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6050
482ff4da
UD
60512012-03-07 Ulrich Drepper <drepper@gmail.com>
6052
872fda05
UD
6053 * po/zh_TW.po: Update from translation team.
6054
a4300c7a
UD
6055 * login/Makefile (distribute): Remove variable.
6056 * catgets/Makefile: Likewise.
6057 * mach/Makefile: Likewise.
6058 * malloc/Makefile: Likewise.
6059 * misc/Makefile: Likewise.
6060 * iconv/Makefile: Likewise.
6061 * nscd/Makefile: Likewise.
6062 * hurd/Makefile: Likewise.
6063 * manual/Makefile: Likewise.
6064 * locale/Makefile: Likewise.
6065 * intl/Makefile: Likewise.
6066 * conform/Makefile: Likewise.
6067 * nss/Makefile: Likewise.
6068 * time/Makefile: Likewise.
6069 * soft-fp/Makefile: Likewise.
6070 * dirent/Makefile: Likewise.
6071 * gmon/Makefile: Likewise.
6072 * po/Makefile: Likewise.
6073 * rt/Makefile: Likewise.
6074 * socket/Makefile: Likewise.
6075 * math/Makefile: Likewise.
6076 * signal/Makefile: Likewise.
6077 * debug/Makefile: Likewise.
6078 * elf/Makefile: Likewise.
6079 * timezone/Makefile: Likewise.
6080 * stdlib/Makefile: Likewise.
6081 * iconvdata/Makefile: Likewise.
6082 * sunrpc/Makefile: Likewise.
6083 * io/Makefile: Likewise.
6084 * argp/Makefile: Likewise.
6085 * inet/Makefile: Likewise.
6086 * hesiod/Makefile: Likewise.
6087 * grp/Makefile: Likewise.
6088 * csu/Makefile: Likewise.
6089 * wctype/Makefile: Likewise.
6090 * crypt/Makefile: Likewise.
6091 * libio/Makefile: Likewise.
6092 * string/Makefile: Likewise.
6093 * nis/Makefile: Likewise.
6094 * resolv/Makefile: Likewise.
6095 * stdio-common/Makefile: Likewise.
6096 * wcsmbs/Makefile: Likewise.
6097 * dlfcn/Makefile: Likewise.
6098 * posix/Makefile: Likewise.
6099
3b7c4e74 6100 [BZ #6959]
482ff4da
UD
6101 * timezone/Makefile: Don't install timezone files, just the programs
6102 and scripts.
6103
f72ed77d
UD
61042012-03-06 Ulrich Drepper <drepper@gmail.com>
6105
a000466f
UD
6106 * nss/databases.def: Add missing gshadow entry.
6107
f72ed77d
UD
6108 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6109
a53b7a4e
MP
61102012-03-06 Marek Polacek <polacek@redhat.com>
6111
6112 [BZ #13726]
6113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6115 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6116 * stdio-common/tst-long-dbl-fphex.c: New file.
6117
e9258400
DM
61182012-03-06 David S. Miller <davem@davemloft.net>
6119
6120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6121 (set_obp_int): New function.
6122 (get_obp_int): New function.
6123 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6125 Avoid unused variable warnings on 'val' and use builtin_expect.
6126 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6127 __builtin_expect.
e9258400
DM
6128 (INLINE_CLONE_SYSCALL): Likewise.
6129
3bd2c723
DM
61302012-03-05 David S. Miller <davem@davemloft.net>
6131
6132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6133
bbb78d03
AS
61342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6135
884c5db4
AS
6136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6137
bbb78d03
AS
6138 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6139 only for |x| >= 40.
6140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6141
1c9f702a 61422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6143
6144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6145 Replace gettimeofday with __vdso_gettimeofday.
6146
7be16f82
RM
6147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6148 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6149 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6150
6151 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6152 time with __vdso_time.
6153
ed58a00f
JM
61542012-03-05 Joseph Myers <joseph@codesourcery.com>
6155
6156 * manual/lang.texi (size_t): Note types to which size_t may be
6157 equivalent with the GNU C Library, but do not describe when
6158 differences between them are significant.
6159
30ee4ced
AJ
61602012-03-05 Andreas Jaeger <aj@suse.de>
6161
6162 * sysdeps/i386/fpu/libm-test-ulps: Update.
6163
b7cd39e8
JM
61642012-03-05 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #3976]
6167 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6168 (__ieee754_pow): Save and restore rounding mode and use
6169 round-to-nearest for main computations.
6170 * math/libm-test.inc (pow_test_tonearest): New function.
6171 (pow_test_towardzero): Likewise.
6172 (pow_test_downward): Likewise.
6173 (pow_test_upward): Likewise.
6174 (main): Call the new functions.
6175 * sysdeps/i386/fpu/libm-test-ulps: Update.
6176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6177
6178 [BZ #3976]
6179 * math/libm-test.inc (cosh_test_tonearest): New function.
6180 (cosh_test_towardzero): Likewise.
6181 (cosh_test_downward): Likewise.
6182 (cosh_test_upward): Likewise.
6183 (sinh_test_tonearest): Likewise.
6184 (sinh_test_towardzero): Likewise.
6185 (sinh_test_downward): Likewise.
6186 (sinh_test_upward): Likewise.
6187 (main): Call the new functions.
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6190
6c6a98c9
TV
61912012-03-05 Tom de Vries <tom@codesourcery.com>
6192
6193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6194 default stack guard is set in last bytes.
6195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6196
21bb2d2e 61972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6198
21bb2d2e 6199 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6200
21bb2d2e
AJ
6201 [BZ #13656]
6202 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6203 possibly allocate from heap instead of stack.
6204 * stdio-common/bug-vfprintf-nargs.c: New file.
6205 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6206
c6922934
AS
62072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6208
6209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6210
bc957d53
MP
62112012-03-03 Marek Polacek <polacek@redhat.com>
6212
6213 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6214 * math/math_private.h: Likewise.
6215 * stdlib/tst-strtod.c: Likewise.
6216 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6217 * sysdeps/x86_64/bits/atomic.h: Likewise.
6218
6358490d
DM
62192012-03-02 David S. Miller <davem@davemloft.net>
6220
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6225 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6226 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6227 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6228 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6229
01ae168d
RM
62302012-03-02 Roland McGrath <roland@hack.frob.com>
6231
d9a17c07
RM
6232 [BZ #13792]
6233 * manual/examples/README: New file, says the example source files
6234 can be used under GPL>=2.
6235 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6236 line containing just "*/".
6237 * manual/examples/add.c: Add copyright header (GPL>=2).
6238 * manual/examples/argp-ex1.c: Likewise.
6239 * manual/examples/argp-ex2.c: Likewise.
6240 * manual/examples/argp-ex3.c: Likewise.
6241 * manual/examples/argp-ex4.c: Likewise.
6242 * manual/examples/atexit.c: Likewise.
6243 * manual/examples/db.c: Likewise.
6244 * manual/examples/dir.c: Likewise.
6245 * manual/examples/dir2.c: Likewise.
6246 * manual/examples/execinfo.c: Likewise.
6247 * manual/examples/filecli.c: Likewise.
6248 * manual/examples/filesrv.c: Likewise.
6249 * manual/examples/fmtmsgexpl.c: Likewise.
6250 * manual/examples/genpass.c: Likewise.
6251 * manual/examples/inetcli.c: Likewise.
6252 * manual/examples/inetsrv.c: Likewise.
6253 * manual/examples/isockad.c: Likewise.
6254 * manual/examples/longopt.c: Likewise.
6255 * manual/examples/memopen.c: Likewise.
6256 * manual/examples/memstrm.c: Likewise.
6257 * manual/examples/mkfsock.c: Likewise.
6258 * manual/examples/mkisock.c: Likewise.
6259 * manual/examples/mygetpass.c: Likewise.
6260 * manual/examples/pipe.c: Likewise.
6261 * manual/examples/popen.c: Likewise.
6262 * manual/examples/rprintf.c: Likewise.
6263 * manual/examples/search.c: Likewise.
6264 * manual/examples/select.c: Likewise.
6265 * manual/examples/setjmp.c: Likewise.
6266 * manual/examples/sigh1.c: Likewise.
6267 * manual/examples/sigusr.c: Likewise.
6268 * manual/examples/stpcpy.c: Likewise.
6269 * manual/examples/strdupa.c: Likewise.
6270 * manual/examples/strftim.c: Likewise.
6271 * manual/examples/strncat.c: Likewise.
6272 * manual/examples/subopt.c: Likewise.
6273 * manual/examples/swapcontext.c: Likewise.
6274 * manual/examples/termios.c: Likewise.
6275 * manual/examples/testopt.c: Likewise.
6276 * manual/examples/testpass.c: Likewise.
6277 * manual/examples/timeval_subtract.c: Likewise.
6278
01ae168d
RM
6279 [BZ #13792]
6280 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6281 function to ...
6282 * manual/timeval_subtract.c.texi: ... here, new file.
6283
49efa33d
DM
62842012-03-02 David S. Miller <davem@davemloft.net>
6285
6286 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6287
28afd92d
JM
62882012-03-02 Joseph Myers <joseph@codesourcery.com>
6289
804360ed
JM
6290 [BZ #3976]
6291 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6292 (__sin): Save and restore rounding mode and use round-to-nearest
6293 for all computations.
6294 (__cos): Save and restore rounding mode and use round-to-nearest
6295 for all computations.
6296 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6297 <fenv.h>.
6298 (tan): Save and restore rounding mode and use round-to-nearest for
6299 all computations.
6300 * math/libm-test.inc (cos_test_tonearest): New function.
6301 (cos_test_towardzero): Likewise.
6302 (cos_test_downward): Likewise.
6303 (cos_test_upward): Likewise.
6304 (sin_test_tonearest): Likewise.
6305 (sin_test_towardzero): Likewise.
6306 (sin_test_downward): Likewise.
6307 (sin_test_upward): Likewise.
6308 (tan_test_tonearest): Likewise.
6309 (tan_test_towardzero): Likewise.
6310 (tan_test_downward): Likewise.
6311 (tan_test_upward): Likewise.
6312 (main): Call the new functions.
6313 * sysdeps/i386/fpu/libm-test-ulps: Update.
6314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6315
a6d06d7b
JM
6316 [BZ #10135]
6317 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6318 small n, then large n, before computing and testing k+n.
6319 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6321 Likewise.
6322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6323 Likewise.
6324 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6325 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6332 * math/libm-test.inc (scalbn_test): Add more tests.
6333 (scalbln_test): Likewise.
6334
07e12bb3
JM
6335 * manual/filesys.texi (mode_t): Describe constraints on size and
6336 signedness, not exact equivalence to a particular type.
6337 (ino_t): Likewise.
6338 (ino64_t): Likewise.
6339 (dev_t): Likewise.
6340 (nlink_t): Likewise.
6341 (blkcnt_t): Likewise.
6342 (blkcnt64_t): Likewise.
6343 * manual/llio.texi (off_t): Likewise.
6344
28afd92d
JM
6345 [BZ #3976]
6346 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6347 (__ieee754_exp): Save and restore rounding mode and use
6348 round-to-nearest for all computations.
6349 * math/libm-test.inc (exp_test_tonearest): New function.
6350 (exp_test_towardzero): Likewise.
6351 (exp_test_downward): Likewise.
6352 (exp_test_upward): Likewise.
6353 (main): Call the new functions.
6354 * sysdeps/i386/fpu/libm-test-ulps: Update.
6355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6356
b1eeb65d
CD
63572012-03-01 Chris Demetriou <cgd@google.com>
6358
6359 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6360 have predictable order.
6361
53362a4b
DM
63622012-03-01 David S. Miller <davem@davemloft.net>
6363
3c969083
DM
6364 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6365
759707de
DM
6366 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6367 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6369 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6370
dfdb8ff2
DM
6371 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6372 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6373 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6375 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6376 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6377 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6378 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6379 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6380
ead89f96
DM
6381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6382
7f66bd07
DM
6383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6384 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6386
53362a4b
DM
6387 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6388 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6389 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6394 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6395 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6403 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6404 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6405 * sysdeps/sparc/elf/configure: Regenerated.
6406
7b1902cb
JM
64072012-03-01 Joseph Myers <joseph@codesourcery.com>
6408
bec039bc
JM
6409 * configure.in (AS, LD): Require binutils 2.20 or later.
6410 * configure: Regenerated.
6411 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6412 as required minimum version.
6413 * INSTALL: Regenerated.
6414
7b1902cb
JM
6415 [BZ #2541]
6416 [BZ #4108]
6417 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6418 before squaring exponent.
6419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6420 bottom long double and 27 bits of top long double before squaring
6421 exponent.
6422 * math/libm-test.inc (erfc_test): Add more tests.
6423 * sysdeps/i386/fpu/libm-test-ulps: Update.
6424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6426
f775c276
KT
64272012-03-01 Kai Tietz <ktietz@redhat.com>
6428
6429 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6430 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6431 containing bit-fields.
6432 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6433 * soft-fp/single.h (_FP_UNION_S): Likewise.
6434 * soft-fp/double.h (_FP_UNION_D): Likewise.
6435
5b8a4d4a
JM
64362012-02-29 Joseph Myers <joseph@codesourcery.com>
6437
0bab47b6
JM
6438 [BZ #13786]
6439 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6440 not include ../strcmp.S.
6441 [USE_AS_STRNCASECMP_L]: Likewise.
6442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6443 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6444 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6445 (__strncasecmp_l_ia32): Define as alias to
6446 __strncasecmp_l_nonascii.
6447
0fcad3e2
JM
6448 [BZ #5794]
6449 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6450 * sysdeps/i386/fpu/libm-test-ulps: Update.
6451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452
5b8a4d4a
JM
6453 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6455
8fdceb2e
JL
64562012-02-29 Jeff Law <law@redhat.com>
6457
6458 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6459 out of bounds read.
6460
1f393a11
MP
64612012-02-29 Marek Polacek <polacek@redhat.com>
6462
6463 [BZ #13706]
6464 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6465 * elf/Makefile: Add rules to run tst-unused-dep.out.
6466
8847f037
DM
64672012-02-28 David S. Miller <davem@davemloft.net>
6468
6469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6475
169d7f11
JM
64762012-02-29 Joseph Myers <joseph@codesourcery.com>
6477
6478 * math/libm-test.inc (llround_test): Move one test from
6479 lround_test. Use TEST_f_L in moved test.
6480 (lround_test): Move misplaced test to llround_test. Add testcase
6481 from bug 2561.
6482
39adf059
UD
64832012-02-28 Ulrich Drepper <drepper@gmail.com>
6484
6485 * sysdeps/x86_64/fpu/e_expf.S: New file.
6486 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6487
71b5d1c5
SB
64882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6489
6490 [BZ #13637]
6491 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6492 of remain_len that may cause incomplete multi-byte character and
6493 false match.
6494 * posix/bug-regex33.c: New file.
6495 * posix/Makefile (tests): Add bug-regex33.
6496
1f77f049
JM
64972012-02-28 Joseph Myers <joseph@codesourcery.com>
6498
6499 * manual/macros.texi: New file.
6500 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6501 * manual/libc.texinfo: Include macros.texi.
6502 * manual/creatute.texi: Likewise.
6503 * manual/install.texi: Likewise.
6504 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6505 @glibcadj{} in references to the GNU C Library.
6506 * manual/charset.texi: Likewise.
6507 * manual/conf.texi: Likewise.
6508 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6509 when not using those macros.
6510 * manual/creature.texi: Likewise.
6511 * manual/crypt.texi: Likewise.
6512 * manual/errno.texi: Likewise.
6513 * manual/filesys.texi: Likewise.
6514 * manual/header.texi: Likewise.
6515 * manual/install.texi: Likewise.
6516 * manual/intro.texi: Likewise.
6517 * manual/io.texi: Likewise.
6518 * manual/job.texi: Likewise.
6519 * manual/lang.texi: Likewise.
6520 * manual/libc.texiinfo: Likewise.
6521 * manual/llio.texi: Likewise.
6522 * manual/locale.texi: Likewise.
6523 * manual/maint.texi: Likewise.
6524 * manual/math.texi: Likewise.
6525 * manual/memory.texi: Likewise.
6526 * manual/message.texi: Likewise.
6527 * manual/nss.texi: Likewise.
6528 * manual/pattern.texi: Likewise.
6529 * manual/process.texi: Likewise.
6530 * manual/resource.texi: Likewise.
6531 * manual/search.texi: Likewise.
6532 * manual/setjmp.texi: Likewise.
6533 * manual/signal.texi: Likewise.
6534 * manual/socket.texi: Likewise.
6535 * manual/startup.texi: Likewise.
6536 * manual/stdio.texi: Likewise.
6537 * manual/string.texi: Likewise.
6538 * manual/sysinfo.texi: Likewise.
6539 * manual/syslog.texi: Likewise.
6540 * manual/terminal.texi: Likewise.
6541 * manual/time.texi: Likewise.
6542 * manual/users.texi: Likewise.
6543 * INSTALL: Regenerated.
6544 * NOTES: Regenerated.
d40c5d54 6545 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6546
450bf206
AS
65472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6548
6549 * include/dirent.h: Include <dirstream.h> before
6550 <dirent/dirent.h>.
6551
741a235b
DM
65522012-02-28 David S. Miller <davem@davemloft.net>
6553
6554 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6555 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6556 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6558
d6b5aa58
DM
65592012-02-27 David S. Miller <davem@davemloft.net>
6560
1aff59a3
DM
6561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6564 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6565
d6b5aa58
DM
6566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6567 frame pointer instead of stack pointer relative arg slot.
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6569 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6570 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6571
433f48bf
CD
65722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6573
6574 [BZ #3992]
6575 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6576
d674b76d
DM
65772012-02-27 David S. Miller <davem@davemloft.net>
6578
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6585 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6587
0e7727f7
JM
65882012-02-27 Joseph Myers <joseph@codesourcery.com>
6589
6590 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6591 later. Allow versions 5-9.
43be4ca2 6592 * configure: Regenerated.
0e7727f7
JM
6593 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6594 required minimum version and 4.6 as recommended version. Do not
6595 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6596 * INSTALL: Regenerated.
0e7727f7 6597
a78bc654
DM
65982012-02-27 David S. Miller <davem@davemloft.net>
6599
428d5830
DM
6600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6606 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6607 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6608
a78bc654
DM
6609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6610 manipulate bits before adding and subtracting TWO112[sx].
6611 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6612
4579f81c
RM
66132012-02-27 Roland McGrath <roland@hack.frob.com>
6614
36c8acb4
RM
6615 [BZ #13775]
6616 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6617 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6618 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6619 being in POSIX, because they are in 1003.1-2008.
6620
84ad622b
RM
6621 * rt/tst-aio.c: Include <fcntl.h>.
6622 * rt/tst-aio7.c: Likewise.
6623 * rt/tst-aio64.c: Likewise.
6624
4579f81c
RM
6625 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6626
abd923db
JM
66272012-02-27 Joseph Myers <joseph@codesourcery.com>
6628
6629 * manual/install.texi (--with-headers): Describe headers as
6630 interface headers, not private headers.
6631 (Specific advice for GNU/Linux systems): Describe use of headers
6632 from "make headers_install", not private headers from older
6633 kernels.
43be4ca2 6634 * INSTALL: Regenerated.
abd923db
JM
6635 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6636 Change to 2.6.19.
6637 * sysdeps/unix/sysv/linux/configure: Regenerated.
6638
6664049b
JM
6639 * manual/llio.texi (fclean): Remove documentation.
6640
bb8b6697
JM
6641 * manual/Makefile (libc-texi-generated): New variable. Include
6642 version.texi.
6643 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6644 $(libc-texi-generated), not duplicated list of files.
6645 (version.texi, stamp-version): New rules.
6646 (realclean): Remove $(libc-texi-generated), not individual files
6647 from that list. Do not remove dir-add.texinfo.
6648 * manual/libc.texinfo: Comment out uses of edition numbers and
6649 references to printed manual. Remove last-updated dates.
6650 (EDITION): Comment out.
6651 (ISBN): Likewise.
6652 (VERSION, UPDATED): Remove.
6653 (version.texi): Include.
6654
12e5c3b9
AS
66552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6656
6657 * sysdeps/posix/spawni.c: Include <signal.h>.
6658 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6659 * sysdeps/pthread/aio_fsync.c: Likewise.
6660
4efeffc1 66612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6662
ba63ba08
UD
6663 * conform/Makefile (tests): Run only when not cross-compiling and
6664 when fast-check is not defined.
6665
d94a4670
UD
6666 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6667 * conform/data/limits.h-data: Fixes for POSIX2008.
6668 * conform/run-conformtest.sh: Run all tests.
6669 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6670 headers.
6671 * include/bits/dlfcn.h: Likewise.
6672 * include/langinfo.h: Likewise.
6673 * include/monetary.h: Likewise.
6674 * include/sys/poll.h: Likewise.
6675
6676 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6677 for __USE_GNU.
6678 * posix/spawn.h: Define __need_sigset_t.
6679 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6680 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6681 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6682 to get sigevent_t only.
6683 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6684 only for __USE_GNU.
6685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6686 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6687 process_vm_writev only for __USE_GNU.
6688 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6689
6690 * conform/Makefile: For now ignore errors from run-conformtest.
6691 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6692 POSIX to avoid namespace pollution. Don't prepend headers.
6693 * conform/data/aio.h-data: Fixes for POSIX testing.
6694 * conform/data/fcntl.h-data: Likewise.
6695 * conform/data/glob.h-data: Likewise.
6696 * conform/data/grp.h-data: Likewise.
6697 * conform/data/pthread.h-data: Likewise.
6698 * conform/data/pwd.h-data: Likewise.
6699 * conform/data/signal.h-data: Likewise.
6700 * conform/data/spawn.h-data: Likewise.
6701 * conform/data/stdio.h-data: Likewise.
6702 * conform/data/stdlib.h-data: Likewise.
6703 * conform/data/stropts.h-data: Likewise.
6704 * conform/data/sys/mman.h-data: Likewise.
6705 * conform/data/sys/stat.h-data: Likewise.
6706 * conform/data/sys/types.h-data: Likewise.
6707 * conform/data/sys/wait.h-data: Likewise.
6708 * conform/data/time.h-data: Likewise.
6709 * conform/data/unistd.h-data: Likewise.
6710 * conform/data/utime.h-data: Likewise.
6711
6712 * io/sys/stat.h: fchmod was always in POSIX.
6713 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6714 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6715 * rt/aio.h: Define __need_timespec before including <time.h>.
6716 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6717 struct. Add forward declaration of pthread_attr_t and use it in
6718 sigevent.
6719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6721 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6722 always remove CLK_TCK definition.
6723
c20105c3
AS
67242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6725
6726 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6727
7a270350
UD
67282012-02-25 Ulrich Drepper <drepper@gmail.com>
6729
31341567
UD
6730 * conform/run-conformtest.sh: New file.
6731 * conform/Makefile: Run run-conformtest for tests.
6732 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6733 support.
6734
6735 * conform/data/uchar.h-data: New file.
6736 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6737 * conform/data/arpa/inet.h-data: Likewise.
6738 * conform/data/assert.h-data: Likewise.
6739 * conform/data/complex.h-data: Likewise.
6740 * conform/data/cpio.h-data: Likewise.
6741 * conform/data/ctype.h-data: Likewise.
6742 * conform/data/dirent.h-data: Likewise.
6743 * conform/data/dlfcn.h-data: Likewise.
6744 * conform/data/errno.h-data: Likewise.
6745 * conform/data/fcntl.h-data: Likewise.
6746 * conform/data/float.h-data: Likewise.
6747 * conform/data/fmtmsg.h-data: Likewise.
6748 * conform/data/fnmatch.h-data: Likewise.
6749 * conform/data/ftw.h-data: Likewise.
6750 * conform/data/glob.h-data: Likewise.
6751 * conform/data/grp.h-data: Likewise.
6752 * conform/data/iconv.h-data: Likewise.
6753 * conform/data/inttypes.h-data: Likewise.
6754 * conform/data/langinfo.h-data: Likewise.
6755 * conform/data/libgen.h-data: Likewise.
6756 * conform/data/limits.h-data: Likewise.
6757 * conform/data/locale.h-data: Likewise.
6758 * conform/data/math.h-data: Likewise.
6759 * conform/data/monetary.h-data: Likewise.
6760 * conform/data/mqueue.h-data: Likewise.
6761 * conform/data/ndbm.h-data: Likewise.
6762 * conform/data/net/if.h-data: Likewise.
6763 * conform/data/netdb.h-data: Likewise.
6764 * conform/data/netinet/in.h-data: Likewise.
6765 * conform/data/nl_types.h-data: Likewise.
6766 * conform/data/poll.h-data: Likewise.
6767 * conform/data/pthread.h-data: Likewise.
6768 * conform/data/pwd.h-data: Likewise.
6769 * conform/data/regex.h-data: Likewise.
6770 * conform/data/sched.h-data: Likewise.
6771 * conform/data/search.h-data: Likewise.
6772 * conform/data/semaphore.h-data: Likewise.
6773 * conform/data/setjmp.h-data: Likewise.
6774 * conform/data/signal.h-data: Likewise.
6775 * conform/data/spawn.h-data: Likewise.
6776 * conform/data/stdarg.h-data: Likewise.
6777 * conform/data/stdio.h-data: Likewise.
6778 * conform/data/stdlib.h-data: Likewise.
6779 * conform/data/string.h-data: Likewise.
6780 * conform/data/strings.h-data: Likewise.
6781 * conform/data/stropts.h-data: Likewise.
6782 * conform/data/sys/ipc.h-data: Likewise.
6783 * conform/data/sys/mman.h-data: Likewise.
6784 * conform/data/sys/msg.h-data: Likewise.
6785 * conform/data/sys/resource.h-data: Likewise.
6786 * conform/data/sys/select.h-data: Likewise.
6787 * conform/data/sys/sem.h-data: Likewise.
6788 * conform/data/sys/shm.h-data: Likewise.
6789 * conform/data/sys/socket.h-data: Likewise.
6790 * conform/data/sys/stat.h-data: Likewise.
6791 * conform/data/sys/statvfs.h-data: Likewise.
6792 * conform/data/sys/time.h-data: Likewise.
6793 * conform/data/sys/timeb.h-data: Likewise.
6794 * conform/data/sys/times.h-data: Likewise.
6795 * conform/data/sys/types.h-data: Likewise.
6796 * conform/data/sys/uio.h-data: Likewise.
6797 * conform/data/sys/un.h-data: Likewise.
6798 * conform/data/sys/utsname.h-data: Likewise.
6799 * conform/data/sys/wait.h-data: Likewise.
6800 * conform/data/syslog.h-data: Likewise.
6801 * conform/data/tar.h-data: Likewise.
6802 * conform/data/termios.h-data: Likewise.
6803 * conform/data/utime.h-data: Likewise.
6804 * conform/data/utmpx.h-data: Likewise.
6805 * conform/data/varargs.h-data: Likewise.
6806 * conform/data/wchar.h-data: Likewise.
6807 * conform/data/wctype.h-data: Likewise.
6808 * conform/data/wordexp.h-data: Likewise.
6809
6810 * include/stropts.h: New file.
6811 * include/uchar.h: New file.
6812 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6813 * include/assert.h: Likewise.
6814 * include/ctype.h: Likewise.
6815 * include/dirent.h: Likewise.
6816 * include/dlfcn.h: Likewise.
6817 * include/fcntl.h: Likewise.
6818 * include/fnmatch.h: Likewise.
6819 * include/glob.h: Likewise.
6820 * include/grp.h: Likewise.
6821 * include/libio.h: Likewise.
6822 * include/locale.h: Likewise.
6823 * include/math.h: Likewise.
6824 * include/net/if.h: Likewise.
6825 * include/netdb.h: Likewise.
6826 * include/netinet/in.h: Likewise.
6827 * include/pthread.h: Likewise.
6828 * include/pwd.h: Likewise.
6829 * include/regex.h: Likewise.
6830 * include/sched.h: Likewise.
6831 * include/search.h: Likewise.
6832 * include/setjmp.h: Likewise.
6833 * include/signal.h: Likewise.
6834 * include/stdio.h: Likewise.
6835 * include/stdlib.h: Likewise.
6836 * include/string.h: Likewise.
6837 * include/sys/cdefs.h: Likewise.
6838 * include/sys/mman.h: Likewise.
6839 * include/sys/msg.h: Likewise.
6840 * include/sys/resource.h: Likewise.
6841 * include/sys/select.h: Likewise.
6842 * include/sys/socket.h: Likewise.
6843 * include/sys/stat.h: Likewise.
6844 * include/sys/statvfs.h: Likewise.
6845 * include/sys/time.h: Likewise.
6846 * include/sys/times.h: Likewise.
6847 * include/sys/uio.h: Likewise.
6848 * include/sys/utsname.h: Likewise.
6849 * include/sys/wait.h: Likewise.
6850 * include/termios.h: Likewise.
6851 * include/time.h: Likewise.
6852 * include/ulimit.h: Likewise.
6853 * include/unistd.h: Likewise.
6854 * include/utime.h: Likewise.
6855 * include/wchar.h: Likewise.
6856 * include/wctype.h: Likewise.
6857 * include/wordexp.h: Likewise.
6858
6859 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6860
7a270350
UD
6861 * time/time.h: TIME_UTC must be a macro.
6862 Make timespec_get available for ISO C11 only as well.
6863
7724defc
UD
68642012-02-24 Ulrich Drepper <drepper@gmail.com>
6865
6866 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6867 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6868
6b1d1d46
JM
68692012-02-24 Joseph Myers <joseph@codesourcery.com>
6870
6871 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6872
0f8bbd69
JM
68732012-02-24 Joseph Myers <joseph@codesourcery.com>
6874
6875 * manual/texinfo.tex: Update to version 2012-01-19.16.
6876
66ab80bc
JM
68772012-02-24 Joseph Myers <joseph@codesourcery.com>
6878
6879 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6880
74981cc5
RM
68812012-02-24 Roland McGrath <roland@hack.frob.com>
6882
ee968201
RM
6883 [BZ #13738]
6884 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6885 * manual/fdl-1.3.texi: New file.
6886 * manual/fdl-1.1.texi: File removed.
6887
74981cc5
RM
6888 [BZ #13738]
6889 * manual/libc.texinfo (FDL_VERSION): New @set.
6890 Use it for mention of FDL in cover text.
6891 (Documentation License): Use it in @include file name.
6892
7bb764bc
JM
68932012-02-22 Joseph Myers <joseph@codesourcery.com>
6894 Roland McGrath <roland@hack.frob.com>
6895
6896 [BZ #5461]
6897 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6898 not LONG_LONG_MAX and LONG_LONG_MIN.
6899 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6900 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6901 name.
6902 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6903
6cbeae47
JM
69042012-02-22 Joseph Myers <joseph@codesourcery.com>
6905
6906 [BZ #2547]
6907 [BZ #11365]
6908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6909 manipulate bits before adding and subtracting TWO23[sx].
6910 * math/libm-test.inc (nearbyint_test): Add more tests.
6911
fe45ce09
JM
69122012-02-22 Joseph Myers <joseph@codesourcery.com>
6913
6914 [BZ #2548]
6915 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6916 bits before adding and subtracting TWO23[sx].
6917 * math/libm-test.inc (rint_test): Add more tests.
6918 (rint_test_tonearest): Likewise.
6919 (rint_test_towardzero): Likewise.
6920 (rint_test_downward): Likewise.
6921 (rint_test_upward: Likewise.
6922
ff3b3d82
JM
69232012-02-22 Joseph Myers <joseph@codesourcery.com>
6924
6925 [BZ #10110]
6926 * include/stdc-predef.h: New file. Extracted from features.h.
6927 * include/features.h: Include stdc-predef.h.
6928 * Makefile (headers): Add stdc-predef.h.
6929 * CONFORMANCE (Compiler limitations): Update.
6930
ef0aab35
JM
69312012-02-22 Joseph Myers <joseph@codesourcery.com>
6932
6933 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6934
58639409
DM
69352012-02-21 David S. Miller <davem@davemloft.net>
6936
6937 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6938 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6939
c0e70b25
DM
69402012-02-20 David S. Miller <davem@davemloft.net>
6941
6942 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6943 using a normal save/restore sequence, rather than allocating a
6944 dummy stack frame just to store a frame pointer and restore.
6945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6946
fb06851d
JM
69472012-02-21 Joseph Myers <joseph@codesourcery.com>
6948
6949 * manual/install.texi: Fix stray word in line-wrapped comment.
6950
7a8b71c3
DM
69512012-02-20 David S. Miller <davem@davemloft.net>
6952
d510c123
DM
6953 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6954 both binutils and gcc support GOTDATA.
6955
0722d7c2
DM
6956 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6957 "rd %pc" in the PIC register setup sequences.
6958
3d2b3019
DM
6959 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6960 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6961 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6962 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6963 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6968 (SYSCALL_ERROR_HANDLER): Likewise.
6969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6972 (SYSCALL_ERROR_HANDLER): Likewise.
6973
c80098a9
DM
6974 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6975 (HAVE_GCC_GOTDATA): New.
6976 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6977 relocation support in both binutils and gcc.
6978 * sysdeps/sparc/elf/configure: Regenerate.
6979
3a2545a0
DM
6980 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6981 * sysdeps/sparc/sparc32/elf/configure: Delete.
6982 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6983 * sysdeps/sparc/sparc64/elf/configure: Delete.
6984 * sysdeps/sparc/elf/configure.in: New file.
6985 * sysdeps/sparc/elf/configure: Generate.
6986
7a8b71c3
DM
6987 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6988 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6989 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6990 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6991 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6992
f1e86fca
JM
69932012-02-21 Joseph Myers <joseph@codesourcery.com>
6994
6995 * manual/install.texi: Do not mention specific glibc version
6996 numbers.
6997 * manual/libc.texinfo (VERSION, UPDATED): Update.
6998 (@copying): Use @copyright{} and range of years.
6999
0e7dfaef
JM
70002012-02-21 Joseph Myers <joseph@codesourcery.com>
7001
7002 [BZ #13695]
7003 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7004 [crti.S not in sysdirs] (generated): Do not append.
7005 [crti.S not in sysdirs] (omit-deps): Likewise.
7006 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7007 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7008 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7009 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7010 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7011 Likewise.
7012 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7013 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7014 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7015 * csu/defs.awk: Remove file.
7016 * sysdeps/generic/initfini.c: Likewise.
7017 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7018 variable.
7019 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7020 Likewise.
7021
599af3ca
JM
70222012-02-20 Joseph Myers <joseph@codesourcery.com>
7023
7024 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7025 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7026 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7029 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7030 <bits/epoll.h>.
7031 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7032 (__EPOLL_PACKED): Define to empty if not defined by
7033 <bits/epoll.h>.
7034 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7036 bits/epoll.h.
7037
0e499750
JM
70382012-02-20 Joseph Myers <joseph@codesourcery.com>
7039
7040 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7041 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7043 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7044 <bits/timerfd.h>.
7045 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7047 bits/timerfd.h.
7048
5ad91f6e
JM
70492012-02-20 Joseph Myers <joseph@codesourcery.com>
7050
7051 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7052 in C locale.
7053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7057
06b99b02
AJ
70582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7059
7060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7062
7638c0fd
AS
70632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7064
7065 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7066 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7067 defined.
7068 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7069 Likewise.
7070 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7071 entry for 2.16.
7072
92221550
AJ
70732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7074
7075 * math/w_acos.c: Use non-signaling floating-point comparisons.
7076 * math/w_acosf.c: Likewise.
7077 * math/w_acosh.c: Likewise.
7078 * math/w_acoshf.c: Likewise.
7079 * math/w_acoshl.c: Likewise.
7080 * math/w_acosl.c: Likewise.
7081 * math/w_asin.c: Likewise.
7082 * math/w_asinf.c: Likewise.
7083 * math/w_asinl.c: Likewise.
7084 * math/w_atanh.c: Likewise.
7085 * math/w_atanhf.c: Likewise.
7086 * math/w_atanhl.c: Likewise.
7087 * math/w_exp2.c: Likewise.
7088 * math/w_exp2f.c: Likewise.
7089 * math/w_exp2l.c: Likewise.
7090 * math/w_j0.c: Likewise.
7091 * math/w_j0f.c: Likewise.
7092 * math/w_j0l.c: Likewise.
7093 * math/w_j1.c: Likewise.
7094 * math/w_j1f.c: Likewise.
7095 * math/w_j1l.c: Likewise.
7096 * math/w_jn.c: Likewise.
7097 * math/w_jnf.c: Likewise.
7098 * math/w_log.c: Likewise.
7099 * math/w_log10.c: Likewise.
7100 * math/w_log10f.c: Likewise.
7101 * math/w_log10l.c: Likewise.
7102 * math/w_log2.c: Likewise.
7103 * math/w_log2f.c: Likewise.
7104 * math/w_log2l.c: Likewise.
7105 * math/w_logf.c: Likewise.
7106 * math/w_logl.c: Likewise.
7107 * math/w_sqrt.c: Likewise.
7108 * math/w_sqrtf.c: Likewise.
7109 * math/w_sqrtl.c: Likewise.
7110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7111 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7115
ebaf36eb
JM
71162012-02-19 Joseph Myers <joseph@codesourcery.com>
7117
7118 [BZ #9739]
7119 * manual/string.texi (strnlen): Use correct parameter name in
7120 equivalent expression.
7121
71c254a6
JM
71222012-02-19 Joseph Myers <joseph@codesourcery.com>
7123
7124 [BZ #11174]
7125 * manual/users.texi (seteuid): Consistently use neweuid for
7126 argument name.
7127
16d2c631
JM
71282012-02-19 Joseph Myers <joseph@codesourcery.com>
7129
7130 [BZ #13704]
7131 * manual/nss.texi (Services in the NSS configuration): Correct
7132 list of services in example configuration file.
7133
cd837b09
NB
71342012-02-19 Nick Bowler <nbowler@draconx.ca>
7135
7136 [BZ #11322]
7137 * manual/arith.texi: Remove statements about negative zero
7138 behaving identically to zero.
7139
02c4bbad
JM
71402012-02-18 Joseph Myers <joseph@codesourcery.com>
7141
7142 [BZ #5993]
7143 * manual/install.texi: Do not document upgrading from libc5.
7144
366842e7
JM
71452012-02-18 Joseph Myers <joseph@codesourcery.com>
7146
7147 [BZ #4596]
7148 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7149
dd54084d
DM
71502012-02-18 David S. Miller <davem@davemloft.net>
7151
7152 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7153 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7154 %o7 across the call.
7155 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7156 instead.
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7158 SETUP_PIC_REG_LEAF.
7159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7160 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7161 * sysdeps/sparc/crtn.S: Likewise.
7162
2bcc53a3
UD
71632012-02-17 Ulrich Drepper <drepper@gmail.com>
7164
7165 * aout/Makefile: Remove.
7166
09c093b5
RK
71672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7168
7169 [BZ #13058]
7170 * manual/examples/argp-ex1.c (main): Format definition in GNU
7171 style.
7172 * manual/examples/argp-ex2.c (main): Likewise.
7173 * manual/examples/argp-ex3.c (main): Likewise.
7174 * manual/examples/argp-ex4.c (main): Likewise.
7175 * manual/examples/longopt.c (main): Use new-style prototype
7176 definition.
7177 * manual/examples/strncat.c (main): Specify return type and use
7178 (void) for arguments.
7179 * manual/examples/subopt.c (main): Use char **argv argument.
7180
2ee633a2
JM
71812012-02-17 Joseph Myers <joseph@codesourcery.com>
7182
7183 [BZ #5077]
7184 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7185 rounding modes.
7186
0520adde
FB
71872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7188
7189 [BZ #6907]
7190 * manual/string.texi (strchr): Change when strchrnul is
7191 recommended.
7192
3f4081cd
DGM
71932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7194
7195 [BZ #174]
7196 * manual/locale.texi (setlocale): Document LOCPATH.
7197
d1b10e78
JM
71982012-02-17 Joseph Myers <joseph@codesourcery.com>
7199
7200 [BZ #10210]
7201 * manual/process.texi (execle): Move @dots{} before last argument.
7202
79c6869c
PB
72032012-02-17 Paul Bolle <pebolle@tiscali.nl>
7204
7205 [BZ #12047]
7206 * manual/charset.texi (Generic Charset Conversion): Fix typo
7207 (LC_TYPE -> LC_CTYPE).
7208
cc6e48bc
NB
72092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7210
7211 [BZ #5805]
7212 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7213 (scalbnf): Likewise.
7214 (scalbnl): Likewise.
7215 (scalbln): Likewise.
7216 (scalblnf): Likewise.
7217 (scalblnl): Likewise.
7218 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7219 (vwarnx): Likewise.
7220 (verr): Likewise.
7221 (verrx): Likewise.
7222 * manual/filesys.texi (telldir): Use braces around return type.
7223 * manual/llio.texi (mmap): Add space after comma.
7224 (mmap64): Likewise.
7225 * manual/math.texi (jn): Use @var{} on parameter names.
7226 (jnf): Likewise.
7227 (jnl): Likewise.
7228 (yn): Likewise.
7229 (ynf): Likewise.
7230 (ynl): Likewise.
7231 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7232 line.
7233 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7234 "...".
7235 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7236 (sched_get_priority_max): Likewise.
7237 * manual/signal.texi (sigvec): Add space after comma.
7238 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7239 names.
7240 (if_indextoname): Likewise.
7241 (if_freenameindex): Likewise.
7242 (sendto): Use ',' instead of '.' in prototype.
7243 * manual/startup.texi (syscall): Use @dots{} instead of literal
7244 "...".
7245 * manual/stdio.texi (__fpending): Separate initial words of
7246 paragraph from @deftypefun line.
7247 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7248 "...".
7249 (vsyslog): Use @var{} on parameter names.
7250 * manual/terminal.texi (stty): Use @var{} on parameter names.
7251 * manual/users.texi (getutmp): Use @var{} on parameter names.
7252 (getutmpx): Likewise.
7253
5b23062f
JM
72542012-02-17 Joseph Myers <joseph@codesourcery.com>
7255
7256 [BZ #6884]
7257 * manual/stdio.texi (fopen): Fix typos in description of
7258 ",ccs=STRING".
7259
8dee4833
AJ
72602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7261
7262 [BZ #4026]
7263 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7264 get clock_id definition.
7265
9078ce93
TS
72662012-02-17 Thomas Schwinge <thomas@schwinge.name>
7267
7268 [BZ #4822]
7269 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7270 (madvise): Cast every argument to void on its own.
7271
3835c55f
JM
72722012-02-17 Joseph Myers <joseph@codesourcery.com>
7273
7274 [BZ #9902]
7275 * manual/startup.texi (Exit Status): Fix typo.
7276
35c47e37
JM
72772012-02-17 Joseph Myers <joseph@codesourcery.com>
7278
7279 [BZ #10140]
7280 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7281 * manual/examples/argp-ex2.c: Likewise.
7282 * manual/examples/argp-ex3.c: Likewise.
7283
e3b69ca7
RH
72842012-02-16 Richard Henderson <rth@redhat.com>
7285
7286 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7287 * sysdeps/s390/s390-32/initfini.c: Remove.
7288 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7289 * sysdeps/s390/s390-64/initfini.c: Remove.
7290
df83af67
KK
72912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7292
7293 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7294 compiler output for sysdeps/generic/initfini.c.
7295 * sysdeps/sh/elf/initfini.c: Remove file.
7296
f63f3380
DM
72972012-02-16 David S. Miller <davem@davemloft.net>
7298
fb59b3a4
DM
7299 [BZ #11494]
7300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7301
f63f3380
DM
7302 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7303 * sysdeps/sparc/crti.S: New file.
7304 * sysdeps/sparc/crtn.S: New file.
7305 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7306 * sysdeps/sparc/sparc64/Makefile: Likewise.
7307
df6a4a4a
MF
73082012-02-15 Mike Frysinger <vapier@gentoo.org>
7309
6dd8f3dc 7310 [BZ #3335]
df6a4a4a
MF
7311 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7312
1cac7236
RM
73132012-02-15 Roland McGrath <roland@hack.frob.com>
7314
d2c736f8
RM
7315 [BZ #4822]
7316 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7317
1cac7236
RM
7318 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7319 (write, read, close): Likewise.
7320 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7321
8e475601
JM
73222012-02-15 Joseph Myers <joseph@codesourcery.com>
7323
7324 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7325 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7326 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7327 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7328 <bits/signalfd.h>.
7329 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7331 bits/signalfd.h.
7332
ed656b40
MP
73332012-02-14 Marek Polacek <polacek@redhat.com>
7334
7335 * sysdeps/x86_64/crti.S: New file.
7336 * sysdeps/x86_64/crtn.S: New file.
7337 * sysdeps/x86_64/elf/initfini.c: Remove file.
7338
2a979d3a
JM
73392012-02-13 Joseph Myers <joseph@codesourcery.com>
7340
7341 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7342 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7344 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7345 <bits/inotify.h>.
7346 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7348 bits/inotify.h.
7349
2a418ac3
JM
73502012-02-13 Joseph Myers <joseph@codesourcery.com>
7351
7352 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7353 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7354 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7355 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7356 <bits/eventfd.h>.
7357 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7359 bits/eventfd.h.
7360
fb779be7
TS
73612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7362
e19e83c5
RM
7363 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7364 __feraiseexcept instead of feraiseexcept.
7c35ffed 7365
fb779be7
TS
7366 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7367 nanosleep invocations.
7368 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7369 strings, and add error checking for a nanosleep invocations.
7370
59ba27a6
PE
73712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7372
7373 Replace FSF snail mail address with URLs, as per GNU coding standards.
7374 Most of the snail mail addresses were wrong anyway, and omitting
7375 them makes the source code easier to maintain. Almost all of the
7376 changes are to license notices and to locale LC_IDENTIFICATION
7377 addresses, except for this one:
7378 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7379 not its snail mail address.
7380
57b957eb
RH
73812012-02-09 Richard Henderson <rth@twiddle.net>
7382
af850b1c
RH
7383 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7384 of kernel-features.h.
7385
57b957eb
RH
7386 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7387
6b73181a
MP
73882012-02-08 Marek Polacek <polacek@redhat.com>
7389
7390 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7391 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7392 * sysdeps/gnu/_G_config.h: Likewise.
7393 * sysdeps/generic/_G_config.h: Likewise.
7394
26ecc33a
AS
73952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7396
6c6dbc63
AS
7397 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7398 tests.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400
e216c012
AS
7401 * sysdeps/powerpc/powerpc32/crti.S: New file.
7402 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7403 * sysdeps/powerpc/powerpc64/crti.S: New file.
7404 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7405
26ecc33a
AS
7406 * Makeconfig (have-initfini): Don't set.
7407 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7408 * configure.in (nopic_initfini): Don't substitute.
7409 * config.h.in (HAVE_INITFINI): Don't #undef.
7410 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7411 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7412
3add8e13
JM
74132012-02-08 Joseph Myers <joseph@codesourcery.com>
7414
7415 Support crti.S and crtn.S provided directly by architectures.
7416 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7417 [crti.S in sysdirs] (omit-deps): Likewise.
7418 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7419 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7420 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7421 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7422 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7423 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7424 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7425 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7426 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7427 compiler output for sysdeps/generic/initfini.c.
7428 * sysdeps/i386/elf/Makefile: Remove file.
7429 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7430
a22f12b4
MP
74312012-02-07 Marek Polacek <polacek@redhat.com>
7432
7433 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7434 * sysdeps/gnu/_G_config.h: Likewise.
7435 * sysdeps/mach/hurd/_G_config.h: Likewise.
7436
148cf100
MP
74372012-02-07 Marek Polacek <polacek@redhat.com>
7438
7439 * math/Makefile (tests): Add tst-CMPLX2.
7440 * math/tst-CMPLX2.c: New file.
7441
cfdc0dd7
AS
74422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7443
84ba42c4
AS
7444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7445
cfdc0dd7
AS
7446 * math/libm-test.inc (jn_test): Add missing L suffix.
7447
622c86f4
MP
74482012-02-06 Marek Polacek <polacek@redhat.com>
7449
7450 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7451 * sysdeps/i386/fpu/e_powf.S: Likewise.
7452 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7455 * sysdeps/i386/fpu/e_pow.S: Likewise.
7456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7460 * sysdeps/i386/fpu/e_log2.S: Likewise.
7461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7463 * sysdeps/i386/fpu/e_powl.S: Likewise.
7464 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7466 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7467 * sysdeps/i386/fpu/e_logl.S: Likewise.
7468 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7469 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7470 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7471 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7473 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7474 * sysdeps/i386/fpu/e_log.S: Likewise.
7475 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7477 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7478 * sysdeps/i386/fpu/e_logf.S: Likewise.
7479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7481 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7482 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7483 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7484 * sysdeps/i386/fpu/e_log10.S: Likewise.
7485 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7486 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7487 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7488 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7490 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7491 * sysdeps/i386/asm-syntax.h: Likewise.
7492 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7495 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7496 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7498 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7499 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7501 * sysdeps/powerpc/sysdep.h: Likewise.
7502 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7504
d4a54ac6
JM
75052012-02-06 Joseph Myers <joseph@codesourcery.com>
7506
7507 [BZ #411]
7508 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7509
314054ea
JM
75102012-02-06 Joseph Myers <joseph@codesourcery.com>
7511
7512 * sysdeps/i386/sysdep.h: Include <features.h>.
7513 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7514 version.
7515
d8e0ca50
JM
75162012-02-05 Joseph Myers <joseph@codesourcery.com>
7517
7518 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7519 Define.
7520 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7521 LOAD_PIC_REG_STR.
7522
b1da7dd9
JM
75232012-02-03 Joseph Myers <joseph@codesourcery.com>
7524
7525 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7526 (SETUP_PIC_REG): Use GET_PC_THUNK.
7527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7528 macro.
7529
9a1d9254
JM
75302012-02-03 Joseph Myers <joseph@codesourcery.com>
7531
7532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7533 for non-PIC compilation.
7534 (SETUP_PIC_REG): Add .p2align directive.
7535 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7536 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7543 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7546 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7547 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7548 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7550 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7551 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7552 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7553 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7554 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7566 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7576
65dc3b75
JM
75772012-02-03 Joseph Myers <joseph@codesourcery.com>
7578
7579 * math/tst-CMPLX.c: Include <stdio.h>.
7580
d55bf177
JM
75812012-01-31 Joseph Myers <joseph@codesourcery.com>
7582
7583 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7584 float.
7585 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7586 * sysdeps/sparc/bits/mathdef.h: Likewise.
7587
69db4f8f
MP
75882012-01-31 Marek Polacek <polacek@redhat.com>
7589
7590 * libio/libio.h: Don't define _PARAMS.
7591 * locale/programs/config.h: Don't define PARAMS.
7592 * stdlib/strtol_l.c: Likewise.
7593 (__strtol_l): Remove PARAMS from the prototype.
7594
41b81892
UD
75952012-01-31 Ulrich Drepper <drepper@gmail.com>
7596
3b49edc0
UD
7597 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7598 names. Just use the correct names. Remove unnecessary wrapper
7599 functions.
7600 * malloc/arena.c: Likewise.
7601 * malloc/hooks.c: Likewise.
7602
41b81892
UD
7603 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7604 ARENA_TEST says not to. Simplify test for creation of a new arena.
7605 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7606
27a25b6e
UD
76072012-01-30 Ulrich Drepper <drepper@gmail.com>
7608
7609 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7610 into tail calls.
7611 (update_get_addr): New function.
7612 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7613 GET_ADDR_MODULE parameter.
7614
c8a89e7d
JM
76152012-01-30 Joseph Myers <joseph@codesourcery.com>
7616
7617 * crypt/cert.c: Remove __STDC__ conditionals.
7618 * crypt/crypt-entry.c: Likewise.
7619 * crypt/crypt_util.c: Likewise.
7620 * libio/filedoalloc.c: Likewise.
7621 * libio/fileops.c: Likewise.
7622 * libio/genops.c: Likewise.
7623 * libio/iofclose.c: Likewise.
7624 * libio/iofdopen.c: Likewise.
7625 * libio/iofopen.c: Likewise.
7626 * libio/iofopen64.c: Likewise.
7627 * libio/iogetdelim.c: Likewise.
7628 * libio/iopopen.c: Likewise.
7629 * libio/obprintf.c: Likewise.
7630 * libio/oldfileops.c: Likewise.
7631 * libio/oldiofclose.c: Likewise.
7632 * libio/oldiofdopen.c: Likewise.
7633 * libio/oldiofopen.c: Likewise.
7634 * libio/oldiopopen.c: Likewise.
7635 * libio/wfiledoalloc.c: Likewise.
7636 * libio/wgenops.c: Likewise.
7637 * locale/programs/xmalloc.c: Likewise.
7638 * misc/syslog.c: Likewise.
7639 * stdio-common/xbug.c: Likewise.
7640 * string/memchr.c: Likewise.
7641 * string/memcmp.c: Likewise.
7642 * string/memrchr.c: Likewise.
7643 * string/rawmemchr.c: Likewise.
7644 * sysdeps/posix/getcwd.c: Likewise.
7645 * time/strftime_l.c: Likewise.
7646
3b100462
JM
76472012-01-30 Joseph Myers <joseph@codesourcery.com>
7648
7649 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7650 * config.make.in (config-cflags-sse2avx): Define.
7651 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7652 Fix typo.
7653
607998af
CM
76542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7655
7656 * scripts/config.guess: Update from upstream config git repository.
7657 * scripts/config.sub: Likewise.
7658
3601428f
CM
76592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7660
3ac8b282
CM
7661 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7662 (EM_NUM): Update.
7663 (R_TILEPRO_*, R_TILEGX_*): New macros.
7664
e034841e
CM
7665 * scripts/firstversions.awk: Fix bug in version range handling.
7666
540d7568
CM
7667 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7668
3601428f
CM
7669 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7670
463de862
CM
7671 * include/sys/epoll.h: New file.
7672 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7673 libc_hidden_def.
7674
73139a76
UD
76752012-01-28 Ulrich Drepper <drepper@gmail.com>
7676
96bc5b45
UD
7677 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7678 Avoid unnecessary __WORDSIZE == 64 test.
7679 (fmaxf): Use VEX format if possible.
7680 (fmax): Likewise.
7681 (fminf): Likewise.
7682 (fmin): Likewise.
7683
56f6f6a2
UD
7684 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7685 * math/math_private.h: Remove libc_fegetround* and
7686 libc_fesetround*.
7687 * sysdeps/i386/configure.in: Check for -msse2avx.
7688 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7689 also if SSE2AVX is defined.
7690 Remove libc_fegetround* and libc_fesetround*.
7691 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7692 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7694 of HAS_YMM_USABLE.
7695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7700
73139a76
UD
7701 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7702
d73f93a4
AZ
77032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7704
7705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7706 size is not set.
7707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7708
6ee65ed6
UD
77092012-01-27 Ulrich Drepper <drepper@gmail.com>
7710
7711 [BZ #13618]
7712 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7713 relocation.
7714 * Makeconfig (libm): Define.
7715 * elf/Makefile: Add rules to build and run tst-relsort1.
7716 * elf/tst-relsort1.c: New file.
7717 * elf/tst-relsort1mod1.c: New file.
7718 * elf/tst-relsort1mod2.c: New file.
7719
8db21882
JM
77202012-01-27 Joseph Myers <joseph@codesourcery.com>
7721
7722 * math/s_ldexp.c: Remove __STDC__ conditionals.
7723 * math/s_ldexpf.c: Likewise.
7724 * math/s_ldexpl.c: Likewise.
7725 * math/s_nextafter.c: Likewise.
7726 * math/s_nexttowardf.c: Likewise.
7727 * math/s_significand.c: Likewise.
7728 * math/s_significandf.c: Likewise.
7729 * math/s_significandl.c: Likewise.
7730 * math/w_jnl.c: Likewise.
7731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7750 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7751 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7765 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7766 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7771 * sysdeps/ieee754/k_standard.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7851 * sysdeps/ieee754/s_matherr.c: Likewise.
7852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7856
965a54a4
JM
78572012-01-26 Joseph Myers <joseph@codesourcery.com>
7858
7859 * crypt/md5.h: Remove __STDC__ conditionals.
7860 * libio/libioP.h: Likewise.
7861 * locale/programs/config.h: Likewise.
7862 * sysdeps/generic/sysdep.h: Likewise.
7863 * sysdeps/i386/asm-syntax.h: Likewise.
7864 * sysdeps/s390/asm-syntax.h: Likewise.
7865 * sysdeps/unix/sysdep.h: Likewise.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7868
7071ad79
JM
78692012-01-26 Joseph Myers <joseph@codesourcery.com>
7870
7871 * libio/libio.h: Remove __STDC__ conditionals.
7872 * malloc/obstack.h: Likewise.
7873 * math/complex.h: Likewise.
7874 * math/math.h: Likewise.
7875 * sysdeps/generic/_G_config.h: Likewise.
7876 * sysdeps/gnu/_G_config.h: Likewise.
7877 * sysdeps/mach/hurd/_G_config.h: Likewise.
7878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7880 * sysdeps/sparc/bits/mathdef.h: Likewise.
7881
afc5ed09
UD
78822012-01-26 Ulrich Drepper <drepper@gmail.com>
7883
7884 [BZ #13583]
7885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7886 Clean up HAS_* macros.
afc5ed09 7887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7888 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7889 possible.
7890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7891 HAS_AVX.
7892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7897
bdb6de1d
JM
78982012-01-25 Joseph Myers <joseph@codesourcery.com>
7899
7900 * elf/tst-unique3.cc (gets): Remove declaration.
7901 * elf/tst-unique3lib.cc (gets): Likewise.
7902 * elf/tst-unique3lib2.cc (gets): Likewise.
7903 * elf/tst-unique4.cc (gets): Likewise.
7904
b15549e6
UD
79052012-01-24 Ulrich Drepper <drepper@gmail.com>
7906
7907 * include/stdio.h: Add C++ protection. Add gets declarations and
7908 definitions.
7909 * debug/tst-chk1.c: Don't declare gets here.
7910 * stdio-common/tst-gets.c: Likewise.
7911
a037381f
JM
79122012-01-24 Joseph Myers <joseph@codesourcery.com>
7913
7914 * posix/glob: Remove directory.
7915
f1d4aa75
JM
79162012-01-24 Joseph Myers <joseph@codesourcery.com>
7917
7918 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7919
81c0c964
PT
79202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7921
7922 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7923 of the non-standard EPFNOSUPPORT.
7924
0ea698ae
ST
79252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7926
7927 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7928 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7929 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7930
d220b117
UD
79312012-01-21 Ulrich Drepper <drepper@gmail.com>
7932
7933 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7934
3e1aa84e
UD
79352012-01-20 Ulrich Drepper <drepper@gmail.com>
7936
7937 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7938 transient errors.
7939 * nscd/grpcache.c (cache_addgr): Likewise.
7940 * nscd/hstcache.c (cache_addhst): Likewise.
7941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7942 * nscd/pwdcache.c (cache_addpw): Likewise.
7943 * nscd/servicescache.c (cache_addserv): Likewise.
7944
400aa020
UD
79452012-01-16 Ulrich Drepper <drepper@gmail.com>
7946
d77e7869
UD
7947 * malloc/malloc.c: Various cleanups.
7948 * malloc/hooks.c: Likewise.
7949
400aa020
UD
7950 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7951 * stdlib/bug-fmtmsg1.c: New file.
7952
7953 * stdlib/fmtmsg.c (init): Add missing unlock.
7954 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7955
e0a309cf
MP
79562012-01-12 Marek Polacek <polacek@redhat.com>
7957
7958 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7959 and _GNU_SOURCE.
7960
929d11c7
WS
79612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7962
7963 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7964 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7965 macro to ensure uniqueness of label name.
7966 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7967 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7968
41d0e869
UD
79692012-01-11 Ulrich Drepper <drepper@gmail.com>
7970
0cc5ed3b
UD
7971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7972
41d0e869
UD
7973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7974 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7977
a47a831a
UD
79782012-01-10 Ulrich Drepper <drepper@gmail.com>
7979
daa891c0
UD
7980 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7981
7982 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7984 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7985
e58ef0f2
UD
7986 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7987
a47a831a 7988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7992
7993 * math/bits/math-finite.h: Add ldexp support.
7994
a0bfc9c7
MP
79952012-01-10 Marek Polacek <polacek@redhat.com>
7996
7997 * locale/programs/localedef.h (show_archive_content): Add noreturn
7998 attribute.
7999
d6e97a1d
UD
80002012-01-09 Ulrich Drepper <drepper@gmail.com>
8001
8002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8003
d5835c26
UD
80042012-01-08 Ulrich Drepper <drepper@gmail.com>
8005
e5f484c6
UD
8006 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8007
d5835c26
UD
8008 * io/Makefile (headers): Add bits/poll2.h.
8009
d1f741e9
WS
80102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8011
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8013 typo #include statement.
8014
ec09c1c4
UD
80152012-01-08 Ulrich Drepper <drepper@gmail.com>
8016
8017 * include/sys/cdefs.h: Define __attribute_alloc_size.
8018 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8019 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8020 * elf/pldd.c: Likewise.
8021 * iconv/iconv_charmap.c: Likewise.
8022 * iconv/iconvconfig.c: Likewise.
8023 * iconv/strtab.c: Likewise.
8024 * locale/programs/locale.c: Likewise.
8025 * locale/programs/localedef.h: Likewise.
8026 * locale/programs/simple-hash.c: Likewise.
8027 * nscd/nscd.h: Likewise.
8028 * nss/makedb.c: Likewise.
8029 * sysdeps/generic/ldconfig.h: Likewise.
8030 * locale/programs/localedef.c: Remove xmalloc prototype.
8031 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8032
20b38e03
PP
80332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8034
8035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8036 appropriate.
8037
a0da5fe1
UD
80382012-01-08 Ulrich Drepper <drepper@gmail.com>
8039
1d5a644a 8040 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8041 * math/tst-CMPLX.c: New file.
1d5a644a 8042
8784a6db
UD
8043 * math/complex.h (CMPLXL): Fix typo.
8044
d9a216c0
UD
8045 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8046 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8047 GLIBC_2.16.
8048 * debug/tst-chk1.c: Add poll and ppoll tests.
8049 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8050 * include/sys/poll.h: Add hidden proto for ppoll.
8051 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8052 * sysdeps/mach/hurd/ppoll.c: Likewise.
8053 * io/ppoll.c: Likewise.
8054 * debug/poll_chk.c: New file.
8055 * debug/ppoll_chk.c: New file.
8056 * include/bits/poll2.h: New file.
8057 * io/bits/poll2.h: New file.
8058
ac097f5c
UD
8059 [BZ #1350]
8060 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8061
2119dcfa
UD
8062 * configure.in: static is always set to yes. Remove.
8063 * config.make.in: Don't set build-static.
8064 * Makeconfig: Remove use of build-static.
8065 * dlfcn/Makefile: Likewise.
8066 * elf/Makefile: Likewise.
8067 * math/Makefile: Likewise.
8068 * misc/Makefile: Likewise.
8069 * nptl/Makefile: Likewise.
8070 * sysdeps/mach/hurd/Makefile: Likewise.
8071
121766a9
UD
8072 * configure.in: PWD_P is not used anymore.
8073 * config.make.in: Remove PWD_P entry.
8074
51a1d39c 8075 * configure.in: Remove last remnants of RANLIB.
8720d066 8076 No need to check for signed size_t anymore.
215f4bdc
UD
8077 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8078 and IA-64.
3857022a 8079 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8080 * aclocal.m4: Likewise.
8081
d3ed7225
UD
8082 * wcsmbs/mbrtoc16.c: Implement using towc function.
8083 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8084 * wcsmbs/wcsmbsload.c: Likewise.
8085 * iconv/gconv_simple.c: Likewise.
8086 * iconv/gconv_int.h: Likewise.
8087 * iconv/gconv_builtin.h: Likewise.
8088 * iconv/iconv_prog.c: Remove CHAR16 handling.
8089
8090 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8091
8092 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8093
a0da5fe1
UD
8094 * configure.in: Remove --with-elf and --enable-bounded options.
8095 Dont set base_machine for ia64. More non-ELF conditions removed.
8096 Remove testing and setting of leading underscore information.
8097 * config.make.in (build-bounded): Set to no.
8098 * config.h.in: Remove NO_UNDERSCORES entry.
8099 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8100 them.
8101 * csu/start.c: Remove !NO_UNDERSCORE code.
8102 * locale/localeinfo.h: Likewise.
8103 * sysdeps/generic/machine-gmon.h: Likewise.
8104 * sysdeps/generic/sysdep.h: Likewise.
8105 * sysdeps/i386/sysdep.h: Likewise.
8106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8107 * sysdeps/mach/sysdep.h: Likewise.
8108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8110 * sysdeps/sh/sysdep.h: Likewise.
8111 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8112 * sysdeps/unix/i386/sysdep.S: Likewise.
8113 * sysdeps/unix/sparc/start.c: Likewise.
8114 * sysdeps/unix/sparc/sysdep.S: Likewise.
8115 * sysdeps/unix/sparc/sysdep.h: Likewise.
8116 * sysdeps/unix/start.c: Likewise.
8117 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8118 * sysdeps/x86_64/sysdep.h: Likewise.
8119
df78418a
UD
81202012-01-07 Ulrich Drepper <drepper@gmail.com>
8121
a784e502
UD
8122 [BZ #13553]
8123 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8124 for non-gcc.
8125 * argp/argp-fmtstream.h: Use const instead __const.
8126 * argp/argp.h: Likewise.
8127 * assert/assert.h: Likewise.
8128 * bits/fenv.h: Likewise.
8129 * bits/sched.h: Likewise.
8130 * bits/sigset.h: Likewise.
8131 * bits/sigthread.h: Likewise.
8132 * catgets/nl_types.h: Likewise.
8133 * conform/data/pthread.h-data: Likewise.
8134 * crypt/crypt-private.h: Likewise.
8135 * crypt/crypt.h: Likewise.
8136 * crypt/crypt_util.c: Likewise.
8137 * ctype/ctype.h: Likewise.
8138 * debug/execinfo.h: Likewise.
8139 * debug/mbsnrtowcs_chk.c: Likewise.
8140 * debug/mbsrtowcs_chk.c: Likewise.
8141 * debug/wcsnrtombs_chk.c: Likewise.
8142 * debug/wcsrtombs_chk.c: Likewise.
8143 * debug/wcstombs_chk.c: Likewise.
8144 * dirent/dirent.h: Likewise.
8145 * dlfcn/dlfcn.h: Likewise.
8146 * elf/neededtest4.c: Likewise.
8147 * grp/grp.h: Likewise.
8148 * gshadow/gshadow.h: Likewise.
8149 * iconv/gconv.h: Likewise.
8150 * iconv/gconv_int.h: Likewise.
8151 * iconv/gconv_simple.c: Likewise.
8152 * iconv/iconv.h: Likewise.
8153 * iconv/loop.c: Likewise.
8154 * iconv/skeleton.c: Likewise.
8155 * include/aio.h: Likewise.
8156 * include/aliases.h: Likewise.
8157 * include/argz.h: Likewise.
8158 * include/arpa/inet.h: Likewise.
8159 * include/assert.h: Likewise.
8160 * include/dirent.h: Likewise.
8161 * include/dlfcn.h: Likewise.
8162 * include/execinfo.h: Likewise.
8163 * include/fcntl.h: Likewise.
8164 * include/fenv.h: Likewise.
8165 * include/glob.h: Likewise.
8166 * include/grp.h: Likewise.
8167 * include/libintl.h: Likewise.
8168 * include/mntent.h: Likewise.
8169 * include/netdb.h: Likewise.
8170 * include/pwd.h: Likewise.
8171 * include/rpc/netdb.h: Likewise.
8172 * include/sched.h: Likewise.
8173 * include/search.h: Likewise.
8174 * include/shadow.h: Likewise.
8175 * include/signal.h: Likewise.
8176 * include/stdio.h: Likewise.
8177 * include/stdlib.h: Likewise.
8178 * include/string.h: Likewise.
8179 * include/sys/socket.h: Likewise.
8180 * include/sys/stat.h: Likewise.
8181 * include/sys/statfs.h: Likewise.
8182 * include/sys/statvfs.h: Likewise.
8183 * include/sys/syslog.h: Likewise.
8184 * include/sys/time.h: Likewise.
8185 * include/sys/uio.h: Likewise.
8186 * include/time.h: Likewise.
8187 * include/unistd.h: Likewise.
8188 * include/utmp.h: Likewise.
8189 * include/wchar.h: Likewise.
8190 * include/wctype.h: Likewise.
8191 * inet/aliases.h: Likewise.
8192 * inet/arpa/inet.h: Likewise.
8193 * inet/netinet/ether.h: Likewise.
8194 * inet/netinet/in.h: Likewise.
8195 * intl/libintl.h: Likewise.
8196 * io/bits/fcntl2.h: Likewise.
8197 * io/fcntl.h: Likewise.
8198 * io/ftw.h: Likewise.
8199 * io/sys/poll.h: Likewise.
8200 * io/sys/stat.h: Likewise.
8201 * io/sys/statfs.h: Likewise.
8202 * io/sys/statvfs.h: Likewise.
8203 * io/utime.h: Likewise.
8204 * libio/bits/stdio.h: Likewise.
8205 * libio/bits/stdio2.h: Likewise.
8206 * libio/libio.h: Likewise.
8207 * libio/libioP.h: Likewise.
8208 * libio/stdio.h: Likewise.
8209 * locale/lc-ctype.c: Likewise.
8210 * locale/locale.h: Likewise.
8211 * login/utmp.h: Likewise.
8212 * malloc/arena.c: Likewise.
8213 * malloc/malloc.c: Likewise.
8214 * malloc/malloc.h: Likewise.
8215 * malloc/mcheck.c: Likewise.
8216 * malloc/mtrace.c: Likewise.
8217 * math/bits/mathcalls.h: Likewise.
8218 * math/fenv.h: Likewise.
8219 * math/math_private.h: Likewise.
8220 * misc/bits/error.h: Likewise.
8221 * misc/bits/syslog.h: Likewise.
8222 * misc/err.h: Likewise.
8223 * misc/error.h: Likewise.
8224 * misc/fstab.h: Likewise.
8225 * misc/mntent.h: Likewise.
8226 * misc/regexp.h: Likewise.
8227 * misc/search.h: Likewise.
8228 * misc/sgtty.h: Likewise.
8229 * misc/sys/mman.h: Likewise.
8230 * misc/sys/syslog.h: Likewise.
8231 * misc/sys/uio.h: Likewise.
8232 * misc/sys/xattr.h: Likewise.
8233 * misc/ttyent.h: Likewise.
8234 * nis/rpcsvc/ypclnt.h: Likewise.
8235 * nss/nss.h: Likewise.
8236 * posix/bits/unistd.h: Likewise.
8237 * posix/fnmatch.h: Likewise.
8238 * posix/glob.h: Likewise.
8239 * posix/sched.h: Likewise.
8240 * posix/spawn.h: Likewise.
8241 * posix/sys/wait.h: Likewise.
8242 * posix/unistd.h: Likewise.
8243 * posix/wordexp.h: Likewise.
8244 * pwd/pwd.h: Likewise.
8245 * resolv/netdb.h: Likewise.
8246 * resource/sys/resource.h: Likewise.
8247 * rt/aio.h: Likewise.
8248 * rt/bits/mqueue2.h: Likewise.
8249 * rt/mqueue.h: Likewise.
8250 * shadow/shadow.h: Likewise.
8251 * signal/signal.h: Likewise.
8252 * socket/send.c: Likewise.
8253 * socket/sendto.c: Likewise.
8254 * socket/sys/socket.h: Likewise.
8255 * stdio-common/printf.h: Likewise.
8256 * stdlib/bits/stdlib.h: Likewise.
8257 * stdlib/fmtmsg.h: Likewise.
8258 * stdlib/monetary.h: Likewise.
8259 * stdlib/stdlib.h: Likewise.
8260 * stdlib/ucontext.h: Likewise.
8261 * streams/stropts.h: Likewise.
8262 * string/argz.h: Likewise.
8263 * string/bits/string2.h: Likewise.
8264 * string/string.h: Likewise.
8265 * string/strings.h: Likewise.
8266 * sunrpc/rpc/auth.h: Likewise.
8267 * sunrpc/rpc/auth_des.h: Likewise.
8268 * sunrpc/rpc/clnt.h: Likewise.
8269 * sunrpc/rpc/netdb.h: Likewise.
8270 * sunrpc/rpc/pmap_clnt.h: Likewise.
8271 * sunrpc/rpc/xdr.h: Likewise.
8272 * sysdeps/generic/inttypes.h: Likewise.
8273 * sysdeps/generic/net/if.h: Likewise.
8274 * sysdeps/generic/sys/swap.h: Likewise.
8275 * sysdeps/gnu/net/if.h: Likewise.
8276 * sysdeps/gnu/utmpx.h: Likewise.
8277 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8278 * sysdeps/i386/i486/bits/string.h: Likewise.
8279 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8280 * sysdeps/s390/bits/string.h: Likewise.
8281 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8282 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8283 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8284 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8285 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8286 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8287 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8288 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8289 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8290 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8292 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8293 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8295 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8296 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8297 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8303 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8304 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8305 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8306 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8307 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8309 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8311 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8312 * sysvipc/sys/ipc.h: Likewise.
8313 * sysvipc/sys/msg.h: Likewise.
8314 * sysvipc/sys/sem.h: Likewise.
8315 * sysvipc/sys/shm.h: Likewise.
8316 * termios/termios.h: Likewise.
8317 * time/sys/time.h: Likewise.
8318 * time/time.h: Likewise.
8319 * wcsmbs/bits/wchar2.h: Likewise.
8320 * wcsmbs/uchar.h: Likewise.
8321 * wcsmbs/wchar.h: Likewise.
8322 * wctype/wctype.h: Likewise.
8323
0269750c
UD
8324 [BZ #13551]
8325 * Makeconfig: Remove all but ELF support including AIX support.
8326 * Makerules: Likewise.
8327 * config.h.in: Likewise.
8328 * config.make.in: Likewise.
8329 * configure: Likewise.
8330 * configure.in: Likewise.
8331 * csu/Makefile: Likewise.
8332 * csu/version.c: Likewise.
8333 * debug/Makefile: Likewise.
8334 * dlfcn/Makefile: Likewise.
8335 * elf/Makefile: Likewise.
8336 * extra-lib.mk: Likewise.
8337 * iconv/Makefile: Likewise.
8338 * include/libc-symbols.h: Likewise.
8339 * include/shlib-compat.h: Likewise.
8340 * resolv/Makefile: Likewise.
8341 * resolv/res_libc.c: Likewise.
8342 * rt/Makefile: Likewise.
8343 * sysdeps/i386/asm-syntax.h: Likewise.
8344 * sysdeps/i386/sysdep.h: Likewise.
8345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8346 * sysdeps/mach/sysdep.h: Likewise.
8347 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8348 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8349 * sysdeps/s390/asm-syntax.h: Likewise.
8350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8352 * sysdeps/sh/sysdep.h: Likewise.
8353 * sysdeps/unix/sparc/sysdep.h: Likewise.
8354 * sysdeps/wordsize-32/divdi3.c: Likewise.
8355 * sysdeps/x86_64/sysdep.h: Likewise.
8356
00bbd29b
UD
8357 * argp/Versions: Remove _argp_unlock_xxx.
8358
8359 [BZ #13559]
8360 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8361 * abilist/libBrokenLocale.abilist: Likewise.
8362 * abilist/libanl.abilist: Likewise.
8363 * abilist/libc.abilist: Likewise.
8364 * abilist/libcrypt.abilist: Likewise.
8365 * abilist/libdl.abilist: Likewise.
8366 * abilist/libm.abilist: Likewise.
8367 * abilist/libnsl.abilist: Likewise.
8368 * abilist/libpthread.abilist: Likewise.
8369 * abilist/libresolv.abilist: Likewise.
8370 * abilist/librt.abilist: Likewise.
8371 * abilist/libthread_db.abilist: Likewise.
8372 * abilist/libutil.abilist: Likewise.
8373 * abilist/libnss_db.abilist: New file.
8374
8375 * scripts/abilist.awk: Add support for indirect functions.
8376
a2693a0e
UD
8377 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8378
3f05895f
UD
8379 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8380
ecb6fb48
UD
8381 * shlib-versions: Remove entries for ports architectures.
8382
664f8cb9
UD
8383 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8384 files in ports.
8385 * elf/stackguard-macros.h: Remove support for IA-64.
8386 * elf/tst-auditmod1.c: Likewise.
8387 * sysdeps/generic/ldsodefs.h: Likewise.
8388
7ae81d88
UD
8389 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8390 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8391 configure files.
8392
bdeba135
UD
8393 [BZ #13552]
8394 * configure.in: Remove --enable-omitfp support.
8395 * FAQ.in: Adjust.
8396 * config.make.in: Likewise.
8397 * Makeconfig: Likewise.
8398 * manual/install.texi: Likewise.
8399
d75a0a62
UD
8400 In case anyone cares, the IA-64 architecture could move to ports.
8401 * sysdeps/ia64/*: Removed.
8402 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8403 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8404
dcc9756b
UD
8405 [BZ #13555]
8406 * configure.in: Remove entries for unsupported architectures.
8407
d3761ebc 8408 [BZ #13533]
9954432e
UD
8409 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8410 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8411 routines.
8412 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8413 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8414 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8415 fall back to using wcrtomb.
8416 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8417 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8418 renaming.
8419 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8420 * wcsmbs/tst-c16c32-1.c: New file.
8421
8422 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8423 local variable.
8424
c3a87236
UD
8425 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8426
28926a1b
UD
8427 * elf/tst-unique3.cc: Add explicit declaration of gets.
8428 * elf/tst-unique3lib.cc: Likewise.
8429 * elf/tst-unique3lib2.cc: Likewise.
8430 * elf/tst-unique4.cc: Likewise.
8431
df78418a
UD
8432 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8433
8ecd6b2a
JM
84342012-01-06 Joseph Myers <joseph@codesourcery.com>
8435
8436 [BZ #13566]
8437 * assert/assert.h (static_assert): Don't define for C++.
8438 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8439 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8440
9f115170
UD
84412012-01-03 Ulrich Drepper <drepper@gmail.com>
8442
5e0d0300
UD
8443 * iconv/loop.c (single loop): Fix assertion in storing of
8444 remaining bytes.
8445
9f115170
UD
8446 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8447
81fb02b0
UD
84482012-01-01 Ulrich Drepper <drepper@gmail.com>
8449
8450 * posix/getconf.c: Update copyright year.
8451 * nss/getent.c: Likewise.
a316c1f6 8452 * nss/makedb.c: Likewise.
81fb02b0
UD
8453 * iconv/iconvconfig.c: Likewise.
8454 * iconv/iconv_prog.c: Likewise.
8455 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8456 * elf/pldd.c: Likewise.
8457 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8458 * catgets/gencat.c: Likewise.
8459 * csu/version.c: Likewise.
8460 * elf/ldd.bash.in: Likewise.
8461 * elf/sprof.c (print_version): Likewise.
8462 * locale/programs/locale.c: Likewise.
8463 * locale/programs/localedef.c: Likewise.
a316c1f6 8464 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8465 * nscd/nscd.c (print_version): Likewise.
8466 * debug/xtrace.sh: Likewise.
8467 * malloc/memusage.sh: Likewise.
8468 * malloc/mtrace.pl: Likewise.
8469 * debug/catchsegv.sh: Likewise.
8470
2ba92745
JJ
84712011-12-30 Jakub Jelinek <jakub@redhat.com>
8472
8473 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8474 pure attribute.
8475
dadebdae
UD
84762011-12-24 Ulrich Drepper <drepper@gmail.com>
8477
d3761ebc 8478 [BZ #13533]
db6af3eb
UD
8479 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8480 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8481 transformations.
8482 * iconv/gconv_int.h: Likewise.
8483 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8484 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8485 from libc for GLIBC_2.16.
8486 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8487 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8488 * wcsmbs/uchar.h: Really define mbstate_t.
8489 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8490 * wcsmbs/c16rtomb.c: New file.
8491 * wcsmbs/mbrtoc16.c: New file.
8492 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8493 for C/POSIX locale.
8494 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8495 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8496
dadebdae
UD
8497 * wcsmbs/wchar.h: Add missing __restrict.
8498
67371b56
UD
84992011-12-23 Ulrich Drepper <drepper@gmail.com>
8500
74033a25
UD
8501 [BZ #13532]
8502 * time/Makefile (routines): Add timespec_get.
8503 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8504 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8505 timespec for ISO C11.
8506 * time/timespec_get.c: New file.
8507 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8508 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8509
380d7e87
UD
8510 [BZ #13531]
8511 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8512 * stdlib/stdlib.h: Declare aligned_alloc.
8513 * Versions.def: Add GLIBC_2.16 for libc.
8514 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8515
4e9e7a35
UD
8516 [BZ 13527]
8517 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8518 ISO C11.
8519
380d7e87 8520 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8521 code.
8522
03a71829
UD
8523 [BZ #13528]
8524 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8525
839e283e
UD
8526 [BZ #13529]
8527 * assert/assert.h (static_assert): Define.
8528
ce5294e2 8529 * version.h: Update for 2.16 development version.
90fa7312 8530
8d44e150 8531 [BZ #13526]
d7809905
UD
8532 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8533 _ISOC11_SOURCE.
8534
c0da14cd
UD
8535 * version.h (RELEASE): Bump for 2.15 release.
8536 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8537
530a3249
MP
8538 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8539 Patch by Marek Polacek <mpolacek@redhat.com>.
8540
67371b56
UD
8541 * bits/byteswap.h: Protect long long constants with __extension__.
8542 * sysdeps/i386/bits/byteswap.h: Likewise.
8543 * sysdeps/ia64/bits/byteswap.h: Likewise.
8544 * sysdeps/s390/bits/byteswap.h: Likewise.
8545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8546
15db4de1
LD
85472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8548
8549 [BZ #13540]
bbe315ea
LD
8550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8551 destination buffer.
15db4de1
LD
8552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8553
2b2596b1
MP
85542011-12-23 Marek Polacek <polacek@redhat.com>
8555
8556 * elf/dl-addr.c (determine_info): Add inline keyword.
8557 * elf/tst-auditmod4b.c (check_avx): Likewise.
8558 * elf/tst-auditmod6b.c (check_avx): Likewise.
8559 * elf/tst-auditmod6c.c (check_avx): Likewise.
8560 * elf/tst-auditmod7b.c (check_avx): Likewise.
8561
70c6c246
UD
85622011-12-23 Ulrich Drepper <drepper@gmail.com>
8563
8564 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8565 !__SSE_MATH__.
8566
c044cf14
LD
85672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8568
15db4de1 8569 [BZ #13540]
c044cf14
LD
8570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8571 processing for last bytes.
8572
6b13d9d9
BH
85732011-08-06 Bruno Haible <bruno@clisp.org>
8574
d455f537
BH
8575 [BZ #13061]
8576 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8577 U+0385, not to U+1FEE.
8578
6b13d9d9
BH
8579 [BZ #13062]
8580 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8581 entry for U+00A5 U+0301.
8582
db910efd
UD
85832011-12-22 Ulrich Drepper <drepper@gmail.com>
8584
27deeafc
UD
8585 [BZ #13166]
8586 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8587 buffer for the output is too small.
8588
aed9d171
UD
8589 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8590 optimization.
8591
db910efd
UD
8592 [BZ #13185]
8593 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8594 SSE flags if possible.
8595
2bd779ae
LD
85962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8597
e7f9dac3 8598 [BZ #13540]
2bd779ae
LD
8599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8600 processing for last bytes.
8601
154bfc16
JM
86022011-12-22 Joseph Myers <joseph@codesourcery.com>
8603
8604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8605 (syscall-list-default-options, syscall-list-default-condition)
8606 (syscall-list-includes): Define.
8607 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8608 list of ABIs and options and #if conditions for each ABI. Do not
8609 handle common syscalls between ABIs specially.
8610 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8611 Remove.
8612 (syscall-list-variants, syscall-list-32bit-options)
8613 (syscall-list-32bit-condition, syscall-list-64bit-options)
8614 (syscall-list-64bit-condition): Define.
8615 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8616 (syscall-list-variants, syscall-list-32bit-options)
8617 (syscall-list-32bit-condition, syscall-list-64bit-options)
8618 (syscall-list-64bit-condition): Define.
8619 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8620 Remove.
8621 (syscall-list-variants, syscall-list-32bit-options)
8622 (syscall-list-32bit-condition, syscall-list-64bit-options)
8623 (syscall-list-64bit-condition): Define.
8624 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8625 Remove.
8626 (syscall-list-variants, syscall-list-32bit-options)
8627 (syscall-list-32bit-condition, syscall-list-64bit-options)
8628 (syscall-list-64bit-condition): Define.
8629
21eaf3a5
UD
86302011-12-22 Ulrich Drepper <drepper@gmail.com>
8631
16c6f992
UD
8632 * locale/iso-639.def: Add brx entry.
8633
41043168
UD
8634 [BZ #13328]
8635 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8636 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8637
21eaf3a5
UD
8638 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8639 __feraiseexcept_renamed.
8640
e3a851a2
UD
86412011-12-21 Ulrich Drepper <drepper@gmail.com>
8642
4920765e
UD
8643 [BZ #13538]
8644 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8645 EPOLLET with unsigned values.
8646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8648
e3a851a2
UD
8649 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8650 to large cancellation.
8651 * math/s_cacoshf.c: Likewise.
8652 * math/s_cacoshl.c: Likewise.
8653
b27e24b8
RK
86542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8655
8656 [BZ #13305]
aebefeee 8657 [BZ #12786]
b27e24b8
RK
8658 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8659 * math/s_cacoshf.c: Likewise.
8660 * math/s_cacoshl.c: Likewise.
8661
ee190f67
UD
86622011-12-21 Ulrich Drepper <drepper@gmail.com>
8663
8664 [BZ #13439]
8665 * iconv/gconv.h: Define __GCONV_SWAP.
8666 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8667 * iconvdata/utf-16.c: Likewise.
8668 * iconvdata/utf-32.c: Likewise.
8669
707f25df
AS
86702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8671
8672 [BZ #13524]
8673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8674 numerator after shifting it by one limb.
8675
d2daaa1e
RÁE
86762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8677
8678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8679 under [__USE_EXTERN_INLINES].
8680
a4647e72
UD
86812011-12-17 Ulrich Drepper <drepper@gmail.com>
8682
8683 [BZ #13446]
8684 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8685
f0b264f1
AZ
86862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8687
8688 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8689 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8690 optimized code.
8691 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8692 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8693 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8694 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8695 for strncasecmp/strncasecmp_l compilation.
8696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8697 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8698
8ef4f244
MP
86992011-12-08 Marek Polacek <mpolacek@redhat.com>
8700
8701 [BZ #13484]
8702 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8703 of __asm__.
8704
97ac2654
UD
87052011-12-17 Ulrich Drepper <drepper@gmail.com>
8706
8707 [BZ #13506]
8708 * time/tzfile.c (__tzfile_read): Check values from file header.
8709
91d2a845
WS
87102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8711
8712 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8713 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8714 * powerpc/powerpc32/dl-start.S: Likewise.
8715 * powerpc/powerpc32/elf/start.S: Likewise.
8716 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8717 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8718 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8719 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8720 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8721 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8722 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8723 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8724 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8725 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8726 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8727 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8728 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8729 * powerpc/powerpc32/memset.S: Likewise.
8730 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8731 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8732 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8733 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8734 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8735 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8736 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8737 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8738 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8739 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8741 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8742 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8743
a1267ba1
AZ
87442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8745
8746 * math/libm-test.inc: Added more nearbyint tests.
8747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8751
ad8ac1bd
RL
87522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8753
8754 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8755 FD_CLOEXEC.
8756
1d3e4b61
UD
87572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8758
8759 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8760 Add wcscpy-ssse3 wcscpy-c.
8761 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8762 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8763 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8764 * sysdeps/x86_64/wcschr.S: New file.
8765 * sysdeps/x86_64/wcsrchr.S: New file.
8766 * string/test-strcmp.c: Remove checking of wcscmp function for
8767 wrong alignments.
8768 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8769 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8770 wcsrchr-sse2 wcsrchr-c.
8771 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8772 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8773 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8774 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8775 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8776 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8777 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8778 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8779 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8780 * wcsmbc/wcschr.c (WCSCHR): New macro.
8781
5b330a2d
UD
87822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8783
8784 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8785 * wcsmbs/test-wcsrchr.c: New file.
8786 * string/test-strrchr.c: Add wcsrchr support.
8787 (WIDE): New macro.
8788 * wcsmbs/test-wcscpy.c: New file.
8789 * string/test-strcpy.c: Add wcscpy support.
8790 (WIDE): New macro.
26428b7c 8791
f039c043
UD
87922011-12-10 Ulrich Drepper <drepper@gmail.com>
8793
8794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8795 the inner loop.
8796
850fb039
AS
87972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 [BZ #13472]
8800 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8801
4efbd5cb
UD
88022011-12-04 Ulrich Drepper <drepper@gmail.com>
8803
52ff5dd0 8804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8805 Minor optimizations.
52ff5dd0 8806
4efbd5cb
UD
8807 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8808 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8809 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8810
8a426e12
UD
88112011-12-03 Ulrich Drepper <drepper@gmail.com>
8812
aff2453d
UD
8813 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8814 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8815 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8816 for gcc to avoid warnings.
8817 * inet/Makefile (tests): Add tst-checks.
8818 * inet/tst-checks.c: New file.
8819
8820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8821 warning.
8822
8823 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8824 __wmemcmp_sse2.
8825
8826 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8827 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8828
8a426e12
UD
8829 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8830
9bea3473
UD
88312011-12-02 Ulrich Drepper <drepper@gmail.com>
8832
3a965496
UD
8833 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8834 problem.
8835
9bea3473
UD
8836 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8837
f101631b
UD
88382011-11-29 Joseph Myers <joseph@codesourcery.com>
8839
8840 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8841 conditional on GCC version.
8842 (__arch_compare_and_exchange_val_8_acq)
8843 (__arch_compare_and_exchange_val_16_acq)
8844 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8845 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8846 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8847
a98275aa
UD
88482011-12-02 Joseph Myers <joseph@codesourcery.com>
8849
8850 * sysdeps/sh/backtrace.c: New file.
8851
d4cc29a2
AS
88522011-12-02 Andreas Schwab <schwab@redhat.com>
8853
8854 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8855 parenthesis.
8856
6257af2d
AS
88572011-12-01 Andreas Schwab <schwab@redhat.com>
8858
8859 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8860 falling back to utime.
8861
b5f44c1a
AS
88622011-11-30 Andreas Schwab <schwab@redhat.com>
8863
8864 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8865 expectations for float.
8866
f3a6cc0a
AS
88672011-11-29 Andreas Schwab <schwab@redhat.com>
8868
8869 * locale/weight.h (findidx): Add parameter len.
8870 * locale/weightwc.h (findidx): Likewise.
8871 * posix/fnmatch_loop.c (FCT): Adjust caller.
8872 * posix/regcomp.c (build_equiv_class): Likewise.
8873 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8874 * posix/regexec.c (check_node_accept_bytes): Likewise.
8875 * string/strcoll_l.c (STRCOLL): Likewise.
8876 * string/strxfrm_l.c (STRXFRM): Likewise.
8877
9d65ea3a
UD
88782011-11-17 Ulrich Drepper <drepper@gmail.com>
8879
8880 * Makefile.in: Remove CVSOPT handling.
8881 * configure.in: Remove use of AC_REVISION.
8882 * iconvdata/Makefile (distribute): No need to filter out CVS.
8883 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8884 handling.
8885
5583a086
AS
88862011-11-16 Andreas Schwab <schwab@redhat.com>
8887
8888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8889 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8890 [USE_AS_STRNCASECMP_L]: Likewise.
8891 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8892 NO_TLS_DIRECT_SEG_REFS.
8893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8894 Fix argument offsets for non-PIC.
8895 [USE_AS_STRNCASECMP_L]: Likewise.
8896 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8897 NO_TLS_DIRECT_SEG_REFS.
8898
d62a8200
UD
88992011-11-15 Ulrich Drepper <drepper@gmail.com>
8900
9d65ea3a 8901 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8902 O_CLOEXEC.
8903 * locale/loadlocale.c (_nl_load_locale): Likewise.
8904
09f93bd3
AS
89052011-11-15 Andreas Schwab <schwab@redhat.com>
8906
446514f9
AS
8907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8908 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8910 (SYSCALL_GETTIME): Set errno on error.
8911
09f93bd3
AS
8912 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8913 count references to noai6ai_cached.
8914
312be3f9
UD
89152011-11-15 Ulrich Drepper <drepper@gmail.com>
8916
8917 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8918
8919 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8920 FD_CLOEXEC for /proc/self/maps.
8921
8922 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8923 FD_CLOEXEC for /proc/meminfo.
8924
8925 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8926 gai.conf.
8927
8928 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8929 FD_CLOEXEC for given file.
8930
8931 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8932
8933 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8934 FD_CLOEXEC for /etc/hosts.
8935 (_gethtent): Likewise.
8936
8937 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8938
8939 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8940 cancellation and set FD_CLOEXEC for /etc/netgroup.
8941
8942 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8943 reading /etc/publickey.
8944
8945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8946 allow cancellation when reading /etc/group.
8947
8948 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8949 cancellation.
8950 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8951
8952 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8953 when using data file.
8954
8955 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8956
8957 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8958 (write_nis_obj): Use "c" and "e" in fopen.
8959
8960 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8961
8962 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8963
8964 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8965
8966 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8967
8968 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8969 locale.alias.
8970
8971 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8972
8973 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8974
8975 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8976
8977 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8978 file parsing and set FD_CLOEXEC.
8979
82af0fa8
UD
89802011-11-14 Ulrich Drepper <drepper@gmail.com>
8981
8982 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8983
a5fb313c
AS
89842011-11-14 Andreas Schwab <schwab@redhat.com>
8985
8986 * malloc/arena.c (arena_get2): Don't call reused_arena when
8987 _int_new_arena failed.
8988
6abf3465
UD
89892011-11-14 Ulrich Drepper <drepper@gmail.com>
8990
8991 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8992 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8997 to compile strcasecmp and strncasecmp.
8998 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8999 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9000
9001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9002
76e3966e
UD
90032011-11-13 Ulrich Drepper <drepper@gmail.com>
9004
9005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9006 locale-defines.sym to gen-as-const-headers.
9007 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9008 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9010 to compile strcasecmp and strncasecmp.
9011 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9012 strcasecmp_l and strncasecmp_l.
9013 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9014 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9015 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9017 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9019 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9020 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9021 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9022 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9023 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9024
ab26144e
UD
90252011-11-12 Ulrich Drepper <drepper@gmail.com>
9026
7edb22ef
UD
9027 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9028 result of SYSDEP_GETTIME_CPU to retval.
9029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9030 parameter list to macro. Remove trailing semicolon. Adjust users.
9031
9694fc44
UD
9032 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9033 variable.
9034
8ad89ef8
UD
9035 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9036 mantissa words.
9037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9038
0c822ef9
UD
9039 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9040 from unused variable.
9041
874e0564
UD
9042 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9043 DWARF definitions.
9044 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9045 for assembling.
9046
3a2edc79
UD
9047 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9048 over namespaces.
9049
f3c2577f
UD
9050 * sunrpc/rpc_prot.c (rejected): Fix case value.
9051
294ce126
UD
9052 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9053 unsigned long long int to avoid warnings in shift.
9054
5e2b63c6
UD
9055 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9056 of use of trans.
9057 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9058 variable tmp.
9059
e7f4b08e
UD
9060 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9061 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9063
ab26144e
UD
9064 * nis/nis_table.c (nis_list): Use variable of correct type for
9065 result of __follow_path call.
9066
8a6d5255
AZ
90672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9068
9069 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9070 of math functions ceil, trunc, floor, round, and sqrt, when
9071 avaliable on the platform.
9072 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9073 name clash.
9074 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9075 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9076 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9077
aaddc98c
MP
90782011-10-30 Marek Polacek <mpolacek@redhat.com>
9079
9080 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9081 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9082
95b7042b
RM
90832011-11-11 Roland McGrath <roland@hack.frob.com>
9084
9085 * include/unistd.h: Fix __readlink return type.
9086 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9087
57769839
UD
90882011-11-11 Ulrich Drepper <drepper@gmail.com>
9089
9090 * stdlib/ucontext.h: Undo last change for makecontext.
9091
edc5984d
AS
90922011-11-11 Andreas Schwab <schwab@redhat.com>
9093
98591e58
AS
9094 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9095
edc5984d
AS
9096 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9097 * setjmp/setjmp.h: Mark functions as non-leaf.
9098 * setjmp/bits/setjmp2.h: Likewise.
9099 * stdlib/ucontext.h: Likewise.
9100
77cdc054
AS
91012011-11-10 Andreas Schwab <schwab@redhat.com>
9102
9103 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9104 (reused_arena): Don't check arena limit.
9105 (arena_get2): Atomically check arena limit.
9106
fe72eebd
UD
91072011-11-08 Ulrich Drepper <drepper@gmail.com>
9108
5f078c32
UD
9109 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9110 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9111
fe72eebd
UD
9112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9113 instructions.
9114
ae1bc2fa
AS
91152011-11-07 Andreas Schwab <schwab@redhat.com>
9116
7583a88d
AS
9117 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9118 handler when locking.
9119
ae1bc2fa
AS
9120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9121 Fix size of allocated buffer.
9122
10fb0bfa
AS
91232011-11-04 Andreas Schwab <schwab@redhat.com>
9124
998832a4
AS
9125 [BZ #10103]
9126 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9127 declarations for long double functions.
9128 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9129
10fb0bfa
AS
9130 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9131
3d7ba52b
AS
91322011-11-03 Andreas Schwab <schwab@redhat.com>
9133
a9ae54a1
AS
9134 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9135 installed.
9136
3d7ba52b
AS
9137 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9138 is disabled.
9139
bc8db248
ST
91402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9141
9142 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9143
45b96dd6
AS
91442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9145
647776f6
AS
9146 * include/alloca.h (stackinfo_alloca_round): Define.
9147 (extend_alloca): Use it.
9148 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9149 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9150 here.
9151
d91a8b93
AS
9152 * scripts/check-local-headers.sh: Ignore libaudit.h.
9153
45b96dd6
AS
9154 * nscd/Makefile (extra-objs): Make recursively expanded.
9155
432d41ce
UD
91562011-11-01 Ulrich Drepper <drepper@gmail.com>
9157
34372fc6
UD
9158 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9160
fadb59f8
UD
9161 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9162 * posix/tst-rfc3484-2.c: Likewise.
9163 * posix/tst-rfc3484-3.c: Likewise.
9164
78239589
UD
9165 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9166 process_vm_writev.
9167 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9168 process_vm_writev.
9169 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9170 process_vm_writev from libc using GLIBC_2.15 version.
9171
432d41ce
UD
9172 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9173
02f9c6cf
PP
91742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9175
9176 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9177 stack usage.
9178
3a2c0242
UD
91792011-10-31 Ulrich Drepper <drepper@gmail.com>
9180
f4ec4833
UD
9181 [BZ #13367]
9182 * nss/getent.c (initgroups_keys): Show error message in case no group
9183 names are given.
9184
3a2c0242
UD
9185 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9186 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9187 __bump_nl_timestamp.
9188 * nscd/connections (nscd_init): When host database is served open
9189 netlink socket and request notification about configuration changes.
9190 (main_loop_poll): Track netlink file descriptor and bump timestamp
9191 in case data becomes available.
9192 (main_loop_epoll): Likewise.
9193 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9194 (database_pers_head): Add extra_data fileds.
9195 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9196 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9197 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9198 Adjust caller.
9199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9200 in6ai data, call __free_in6ai.
9201 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9202 Add -DHAVE_NETLINK.
9203 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9204 interface information. Reuse previous data if netlink timestamp
9205 is not changed.
9206 (__bump_nl_timestamp): New function.
9207 (__free_in6ai): New function.
9208
636064eb
UD
92092011-10-30 Ulrich Drepper <drepper@gmail.com>
9210
9211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9212 close_not_cancel_no_status here.
9213 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9214
9beb2334
UD
92152011-10-29 Ulrich Drepper <drepper@gmail.com>
9216
6ef76f3b
UD
9217 [BZ #13276]
9218 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9219 return value.
9220
0ffc4f3e 9221 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9222 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9223 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9224
cb95113e
UD
92252011-07-03 Andreas Jaeger <aj@suse.de>
9226
9227 [BZ #10709]
9228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9229 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9230 * math/libm-test.inc (sin_test): Add test case.
9231
a1b560ff
UD
92322011-10-29 Ulrich Drepper <drepper@gmail.com>
9233
c9aaface
UD
9234 [BZ #13337]
9235 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9236 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9237
d272e7f1
UD
9238 * elf/chroot_canon.c (chroot_canon): Cleanups.
9239
1bc33071
UD
9240 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9241
1760874d
TJ
9242 [BZ #13335]
9243 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9245
51d91b18
UD
9246 * string/test-strchr.c: Make usable for strchrnul testing.
9247 * string/test-strchrnul.c: New file.
9248 * string/Makefile (strop-tests): Add strchrnul.
9249
a1b560ff 9250 * po/it.po: Update from translation team.
b611fb81 9251 * po/es.po: Likewise.
a1b560ff 9252
a5b81e1f
UD
92532011-10-28 Ulrich Drepper <drepper@gmail.com>
9254
fd52bc6d
UD
9255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9256 the three constants needed as parameters. Drop the others.
9257 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9258 __m128i_strloadu_tolower.
52e4b9eb
UD
9259 Create and initialize variable zero and use it in all the places
9260 where _mm_setzero_si128 was used.
fd52bc6d 9261
a5b81e1f
UD
9262 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9263 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9264 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9266 anymore.
9267 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9270 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9272 __mpranred, __mptan.
9273 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9274 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9275 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9276 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9280 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9282
b4343346
AS
92832011-10-28 Andreas Schwab <schwab@redhat.com>
9284
0c92d8a8
AS
9285 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9286 redefine if SHARED.
9287 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9288
b4343346
AS
9289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9290 wide char related routines to wcsmbs subdir.
9291
3871f58f
AS
92922011-10-27 Andreas Schwab <schwab@redhat.com>
9293
9294 [BZ #13344]
9295 * misc/sys/cdefs.h (__THROWNL): Define.
9296 * posix/unistd.h: Use __THREADNL instead of __THREAD
9297 for memory synchronization functions.
9298
94d44d9f
RM
92992011-10-26 Roland McGrath <roland@hack.frob.com>
9300
21b64b15 9301 [BZ #13349]
94d44d9f
RM
9302 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9303 doesn't exist.
9304 * manual/stdio.texi (Obstack Streams): Node removed.
9305
f6ce9294
AS
93062011-10-26 Andreas Schwab <schwab@redhat.com>
9307
80479147
AS
9308 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9311
f6ce9294
AS
9312 * math/math_private.h (math_force_eval): Allow non-addressable
9313 arguments.
9314 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9315
618280a1
UD
93162011-10-25 Ulrich Drepper <drepper@gmail.com>
9317
e0016b11
UD
9318 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9319 file is not needed.
9320
9321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9328 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9329 Add AVX variants.
9330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9336 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9338 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9339 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9340 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9341 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9347 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9348 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9349
9350 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9351 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9352
618280a1
UD
9353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9354 place. Use VEX encoding when compiling for AVX.
9355
37822576
AS
93562011-10-25 Andreas Schwab <schwab@redhat.com>
9357
1f1e1947
AS
9358 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9359 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9360
37822576
AS
9361 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9362
31ea014d
UD
93632011-10-25 Ulrich Drepper <drepper@gmail.com>
9364
d7826aa1 9365 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9366 useless if() expression.
d7826aa1
UD
9367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9379 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9386
31ea014d
UD
9387 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9388
16437fec
AS
93892011-10-25 Andreas Schwab <schwab@redhat.com>
9390
9391 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9392 condition.
9393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9394
31d3cc00
UD
93952011-10-25 Ulrich Drepper <drepper@gmail.com>
9396
9397 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9398 .text section. Avoid duplicate constants.
9399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9416 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9423 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9424 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9425 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9426 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9444
58985aa9
UD
94452011-10-24 Ulrich Drepper <drepper@gmail.com>
9446
202c9deb
UD
9447 * sysdeps/x86_64/dla.h: Move to ...
9448 * sysdeps/x86_64/fpu/dla.h: ...here.
9449 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9450 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9451
af968f62
UD
9452 * config.make.in: Add have-mfma4 entry.
9453 * configure.in: Substitute libc_cv_cc_fma4.
9454 * math/Makefile (dbl-only-routines): Add sincostab.
9455 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9456 Use __sincostab not sincos.
9457 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9458 name is a macro.
9459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9463 using __copysign.
9464 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9465 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9466 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9467 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9468 and __inv.
9469 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9470 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9471 __copysign.
9472 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9473 define aliases when function name is a macro.
9474 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9475 sysdeps/ieee754/dbl-64/sincos.tbl.
9476 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9477 fma4-enabled routines.
9478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9482 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9488 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9490 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9491 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9493 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9494 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9495 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9496 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9498 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9499 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9508
58985aa9
UD
9509 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9510 rename.
9511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9519
a201fbcf
AS
95202011-10-24 Andreas Schwab <schwab@redhat.com>
9521
9522 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9523
fc2ee42a
LD
95242011-10-23 Ulrich Drepper <drepper@gmail.com>
9525
bb3129bd
UD
9526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9527
0275fff8
UD
9528 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9529 prediction.
9530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9531
2fa2ae85
UD
9532 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9533 Remove unused variable magic_bits.
9534 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9535
fc2ee42a
LD
9536 * string/strnlen.c: Define and use STRNLEN macro.
9537 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9538 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9540 * wcsmbs/wcslen.c: Define and use WCSLEN.
9541 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9542 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9543 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9544 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9545 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9546 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9547 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9548
ce7dd29f
LD
95492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9550
9551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9552 strnlen-sse2-no-bsf.
9553 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9554 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9556 Add strnlen support.
9557 (USE_AS_STRNLEN): New macro.
9558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9560 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9561 * sysdeps/x86_64/wcslen.S: New file.
9562
979c70a3
MZ
95632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9564
9565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9566 XMM-moves are used for copying on small sizes.
9567
2d09f82f
LD
95682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9569
9570 * wcsmbs/Makefile (strop-tests): Add wcschr.
9571 * wcsmbs/test-wcschr.c: New file.
9572 * string/test-strchr.c: Update.
9573 Add wcschr support.
9574 (WIDE): New macro.
9575
619fccca
LD
95762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9577
2d09f82f 9578 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9579 * wcsmbs/test-wcslen.c: New file.
9580 * string/test-strlen.c: Update.
9581 Add wcslen support.
9582 (WIDE): New macro.
9583
09f699ea
UD
95842011-10-23 Ulrich Drepper <drepper@gmail.com>
9585
9586 * po/it.po: Update from translation team.
9587
95584d3b
LD
95882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9589
9590 * sysdeps/x86_64/wcscmp.S: Update.
9591 Fix wrong comparison semantics.
9592 wcscmp shall use signed comparison not unsigned.
9593 Don't use substraction to avoid overflow bug.
9594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9595 * wcsmbc/wcscmp.c: Likewise.
9596 * string/test-strcmp.c: Likewise.
9597 Add new tests to check cases with negative values.
9598
c8b3296b
UD
95992011-10-23 Ulrich Drepper <drepper@gmail.com>
9600
9601 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9602 * sysdeps/x86_64/dla.h: ...here. New file.
9603 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9612
246ad57a
AS
96132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9614
9615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9616 __ynl_finite aliases.
9617
a1a87169
UD
96182011-10-22 Ulrich Drepper <drepper@gmail.com>
9619
0d355eb7
UD
9620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9621
a1a87169
UD
9622 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9623 define DLA_FMA.
9624 [DLA_FMA] (EMULV): Use DLA_FMA.
9625 [DLA_FMA] (MUL12): Use EMULV.
9626 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9627 that are not needed.
9628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9635
ee2aafe0
AS
96362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9637
9638 * math/s_nan.c: Undef __nan.
9639 * math/s_nanf.c: Undef __nanf.
9640 * math/s_nanl.c: Undef __nanl.
9641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9642 "math_private.h".
9643
bc62c2fb
UD
96442011-10-22 Ulrich Drepper <drepper@gmail.com>
9645
77425c63
UD
9646 * math/s_catan.c: Add branch predictions.
9647 * math/s_catanf.c: Likewise.
9648 * math/s_catanh.c: Likewise.
9649 * math/s_catanhf.c: Likewise.
9650 * math/s_catanhl.c: Likewise.
9651 * math/s_catanl.c: Likewise.
9652 * math/s_cexp.c: Likewise.
9653 * math/s_cexpf.c: Likewise.
9654 * math/s_cexpl.c: Likewise.
9655 * math/s_clog.c: Likewise.
9656 * math/s_clog10.c: Likewise.
9657 * math/s_clog10f.c: Likewise.
9658 * math/s_clog10l.c: Likewise.
9659 * math/s_clogf.c: Likewise.
9660 * math/s_clogl.c: Likewise.
9661 * math/s_csqrt.c: Likewise.
9662 * math/s_csqrtf.c: Likewise.
9663 * math/s_csqrtl.c: Likewise.
9664 * math/s_ctanf.c: Likewise.
9665 * math/s_ctanh.c: Likewise.
9666 * math/s_ctanhf.c: Likewise.
9667 * math/s_ctanhl.c: Likewise.
9668 * math/s_ctanl.c: Likewise.
9669
bc62c2fb
UD
9670 * math/math_private.h: Define __nan, __nanf, __nanl.
9671 * math/s_cacosh.c: Include <math_private.h>.
9672 * math/s_cacoshl.c: Likewise.
9673 * math/s_casinh.c: Likewise.
9674 * math/s_casinhf.c: Likewise.
9675 * math/s_casinhl.c: Likewise.
9676 * math/s_ccos.c: Rely entire on ccosh.
9677 * math/s_ccosf.c: Rely entire on ccoshf.
9678 * math/s_ccosl.c: Rely entirely on ccoshl.
9679 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9680 Remove tests for FE_INVALID.
9681 * math/s_ccoshf.c: Likewise.
9682 * math/s_ccoshl.c: Likewise.
9683 * math/s_csin.c: Likewise.
9684 * math/s_csinf.c: Likewise.
9685 * math/s_csinh.c Likewise.
9686 * math/s_csinhf.c: Likewise.
9687 * math/s_csinhl.c: Likewise.
9688 * math/s_csinl.c: Likewise.
9689 * math/s_ctan.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9691 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9692 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9693
8ec250a4
UD
96942011-10-21 Ulrich Drepper <drepper@gmail.com>
9695
c196fed8
UD
9696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9697 compilation problems.
9698
8ec250a4
UD
9699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9700 __builtin_expect.
9701
8d4f46c6
UD
97022011-10-20 Ulrich Drepper <drepper@gmail.com>
9703
ed72b654
UD
9704 * sysdeps/i386/configure.in: Test for -mfma4 option.
9705 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9706 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9707 COMMON_CPUID_INDEX_80000001.
9708 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9709 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9710 use it if FMA3 is not supported.
9711 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9712
8d4f46c6
UD
9713 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9715
d45c60c2
AS
97162011-10-20 Andreas Schwab <schwab@redhat.com>
9717
9718 [BZ #12892]
9719 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9720 it would create a cycle with a link time dependency.
9721
d9a4d2ab
UD
97222011-10-19 Ulrich Drepper <drepper@gmail.com>
9723
855d1560
UD
9724 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9725 instruction.
9726 * string/Makefile (strop-tests): Add rawmemchr.
9727 * string/test-rawmemchr.c: New file.
9728
d9a4d2ab
UD
9729 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9731 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9732 when compiling str{,n}casecmp and when AVX is available. Hook up
9733 new optimized code in initializers.
9734
8f3b1ffe
AS
97352011-10-19 Andreas Schwab <schwab@redhat.com>
9736
9737 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9738 __feraiseexcept instead of feraiseexcept.
9739
d38f1dba
UD
97402011-10-18 Ulrich Drepper <drepper@gmail.com>
9741
d9a8d0ab
UD
9742 * math/math_private.h: Define defaults for libc_fetestexcept and
9743 libc_feupdateenv.
9744 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9745 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9748 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9750 libc_fetestexcept and libc_feupdateenv.
9751
4855e3dd
UD
9752 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9753 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9754 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9755 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9756 libc_feholdexcept_setround.
9757
581d30e3
UD
9758 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9759 Add s_nearbyint-c and s_nearbyintf-c.
9760 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9761 nearbyintf inlines.
9762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9765 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9766
d38f1dba
UD
9767 * math/math_private.h: Define defaults for libc_fegetround,
9768 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9769 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9770 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9772 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9773 standard functions.
9774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9775 Remove comments and hacks for old compiler versions.
9776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9777 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9778 libc_feholdexceptl.
9779
caa6c9d8
AS
97802011-10-18 Andreas Schwab <schwab@redhat.com>
9781
9782 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9783 (__feraiseexcept_renamed): Add __NTH.
9784 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9785 namespace violations.
9786
97c066e6
UD
97872011-10-17 Ulrich Drepper <drepper@gmail.com>
9788
99ce7b04
UD
9789 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9790
1004d182
UD
9791 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9792
228a984d
UD
9793 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9794 recently added interfaces.
9795 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9796
c8553a6a
UD
9797 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9798 about macro parameter expansion.
9799
ed22dcf6
UD
9800 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9801 __NO_MATH_INLINES is defined. Cleanups.
9802
9803 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9804 and __floorf is target has SSE4.1.
9805 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9808 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9809
b171c137
UD
9810 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9811 name.
9812 (floorf): Likewise.
9813
97c066e6
UD
9814 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9815
629f62ef
AS
98162011-10-17 Andreas Schwab <schwab@redhat.com>
9817
49a43d80
AS
9818 * misc/sys/cdefs.h: Fix last change.
9819
629f62ef
AS
9820 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9821 database lookup.
9822
e453f6cd
UD
98232011-10-16 Ulrich Drepper <drepper@gmail.com>
9824
aa78043a
UD
9825 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9826
ad0f5cad
UD
9827 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9836 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9837 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9838 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9839 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9842 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9843 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9844 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9846 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9847 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9848 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9849
9850 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9851 ceil, ceilf, floor, floorf.
9852
9853 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9854 Perform IRELATIVE relocations last.
9855
e453f6cd
UD
9856 * elf/do-rel.h: Add another parameter nrelative, replacing the
9857 local variable with the same name. Change name of the function
9858 to end in Rel or Rela (uppercase).
9859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9860 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9861 elf_dynamic_do_##reloc function.
9862
fd5bdc09
UD
98632011-10-15 Ulrich Drepper <drepper@gmail.com>
9864
79b195b5
UD
9865 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9866 is sufficient, at least on modern CPUs.
9867
d4a28569
UD
9868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9869
b61099b5
UD
9870 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9872
bcf01e6d
UD
9873 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9874 __expl_finite.
9875 * math/bits/math-finite.h: Add entries for exp.
9876 * math/e_expl.c: Add __*_finite alias.
9877 * sysdeps/i386/fpu/e_exp.S: Likewise.
9878 * sysdeps/i386/fpu/e_expf.S: Likewise.
9879 * sysdeps/i386/fpu/e_expl.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9887
ba1a0d59
UD
9888 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9889 is sufficient, at least on modern CPUs.
9890
fd5bdc09
UD
9891 * ctype/ctype-info.c (__ctype_init): Define.
9892 * include/ctype.h (__ctype_init): Declare.
9893 (__ctype_b_loc): The variable is always initialized.
9894 (__ctype_toupper_loc): Likewise.
9895 (__ctype_tolower_loc): Likewise.
9896 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9897 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9898
7872cfb0
AS
98992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9900
b468825a
AS
9901 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9902
7872cfb0
AS
9903 * configure.in: Also look in $cxxmachine/include for C++ system
9904 headers.
9905
be13f7bf
LD
99062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9907
9908 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9909 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9910 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9911 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9913 (USE_AS_WMEMCMP): New macro.
9914 Fixing indents.
9915 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9916 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9917 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9918 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9920 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9921 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9922 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9923 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9924 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9925 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9926 (USE_AS_WMEMCMP): New macro.
9927 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9928 * sysdeps/string/test-memcmp.c: Update.
9929 Fix simple_wmemcmp.
9930 Add new tests.
9931 * wcsmbs/wmemcmp.c: Update.
9932 (WMEMCMP): New macro.
9933 Fix overflow bug.
9934
556a2007
AJ
99352011-10-12 Andreas Jaeger <aj@suse.de>
9936
9937 [BZ #13268]
9938 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9939
538faaa7
UD
99402011-10-15 Ulrich Drepper <drepper@gmail.com>
9941
ab6737ff
UD
9942 * libio/iofwide.c (do_length): Avoid warning.
9943
538faaa7
UD
9944 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9945
396a21b1
UD
99462011-10-14 Ulrich Drepper <drepper@gmail.com>
9947
cdf2901f
UD
9948 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9949
38ad40ce
UD
9950 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9951 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9952 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9953 * sysdeps/i386/i686/fpu/e_log.S: New file.
9954 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9955 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9956
396a21b1
UD
9957 * ctype/ctype.h: Add support for inlined isXXX functions when
9958 compiling C++ code.
9959
6b1f68c9
AS
99602011-10-14 Andreas Schwab <schwab@redhat.com>
9961
349290c0
AS
9962 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9963
6b1f68c9
AS
9964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9965
f2282d42
RM
99662011-10-13 Roland McGrath <roland@hack.frob.com>
9967
9968 [BZ #13291]
9969 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9970
5298ffa8
AS
99712011-10-13 Andreas Schwab <schwab@redhat.com>
9972
714fad23
AS
9973 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9974 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9975 feraiseexcept.
9976
81dcc7fb
AS
9977 * sysdeps/x86_64/memrchr.S: Check for zero size.
9978
5298ffa8
AS
9979 * string/stratcliff.c: Add memrchr tests.
9980
951fbcec
LD
99812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9982
9983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9984 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9985 rawmemchr-sse2 rawmemchr-sse2-bsf.
9986 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9987 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9988 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9989 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9990 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9991 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9992 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9993 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9995 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9996 * string/memrchr.c (MEMRCHR): New macro.
9997
0ac5ae23
UD
99982011-10-12 Ulrich Drepper <drepper@gmail.com>
9999
10000 Add integration with gcc's -ffinite-math-only and optimize wrapper
10001 functions in libm.
10002 * Versions.def: Define GLIBC_2.15 version for libm.
10003 * math/Makefile (headers): Add bits/math-finite.h.
10004 * math/bits/math-finite.h: New file.
10005 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10006 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10007 * math/e_acoshl.c: Add __*_finite alias.
10008 * math/e_acosl.c: Likewise.
10009 * math/e_asinl.c: Likewise.
10010 * math/e_atan2l.c: Likewise.
10011 * math/e_atanhl.c: Likewise.
10012 * math/e_coshl.c: Likewise.
10013 * math/e_exp10.c: Likewise.
10014 * math/e_exp10f.c: Likewise.
10015 * math/e_exp10l.c: Likewise.
10016 * math/e_exp2l.c: Likewise.
10017 * math/e_fmodl.c: Likewise.
10018 * math/e_gammal_r.c: Likewise.
10019 * math/e_hypotl.c: Likewise.
10020 * math/e_j0l.c: Likewise.
10021 * math/e_j1l.c: Likewise.
10022 * math/e_jnl.c: Likewise.
10023 * math/e_lgammal_r.c: Likewise.
10024 * math/e_log10l.c: Likewise.
10025 * math/e_log2l.c: Likewise.
10026 * math/e_logl.c: Likewise.
10027 * math/e_powl.c: Likewise.
10028 * math/e_sinhl.c: Likewise.
10029 * math/e_sqrtl.c: Likewise.
10030 * math/e_scalb.c: Completely rewritten and optimized.
10031 * math/e_scalbf.c: Likewise.
10032 * math/e_scalbl.c: Likewise.
10033 * math/w_acos.c: Likewise.
10034 * math/w_acosf.c: Likewise.
10035 * math/w_acosl.c: Likewise.
10036 * math/w_acosh.c: Likewise.
10037 * math/w_acoshf.c: Likewise.
10038 * math/w_acoshl.c: Likewise.
10039 * math/w_asin.c: Likewise.
10040 * math/w_asinf.c: Likewise.
10041 * math/w_asinl.c: Likewise.
10042 * math/w_atan2.c: Likewise.
10043 * math/w_atan2f.c: Likewise.
10044 * math/w_atan2l.c: Likewise.
10045 * math/w_atanh.c: Likewise.
10046 * math/w_atanhf.c: Likewise.
10047 * math/w_atanhl.c: Likewise.
10048 * math/w_exp10.c: Likewise.
10049 * math/w_exp10f.c: Likewise.
10050 * math/w_exp10l.c: Likewise.
10051 * math/w_fmod.c: Likewise.
10052 * math/w_fmodf.c: Likewise.
10053 * math/w_fmodl.c: Likewise.
10054 * math/w_j0.c: Likewise.
10055 * math/w_j0f.c: Likewise.
10056 * math/w_j0l.c: Likewise.
10057 * math/w_j1.c: Likewise.
10058 * math/w_j1f.c: Likewise.
10059 * math/w_j1l.c: Likewise.
10060 * math/w_jn.c: Likewise.
10061 * math/w_jnf.c: Likewise.
10062 * math/w_log.c: Likewise.
10063 * math/w_logf.c: Likewise.
10064 * math/w_logl.c: Likewise.
10065 * math/w_log10.c: Likewise.
10066 * math/w_log10f.c: Likewise.
10067 * math/w_log10l.c: Likewise.
10068 * math/w_log2.c: Likewise.
10069 * math/w_log2f.c: Likewise.
10070 * math/w_log2l.c: Likewise.
10071 * math/w_pow.c: Likewise.
10072 * math/w_powf.c: Likewise.
10073 * math/w_powl.c: Likewise.
10074 * math/w_remainder.c: Likewise.
10075 * math/w_remainderf.c: Likewise.
10076 * math/w_remainderl.c: Likewise.
10077 * math/w_scalb.c: Likewise.
10078 * math/w_scalbf.c: Likewise.
10079 * math/w_scalbl.c: Likewise.
10080 * math/w_sqrt.c: Likewise.
10081 * math/w_sqrtf.c: Likewise.
10082 * math/w_sqrtl.c: Likewise.
10083 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10084 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10085 used.
10086 * math/math_private.h: Declare __kernel_standard_f.
10087 * math/w_cosh.c: Remove cruft and optimize a bit.
10088 * math/w_coshf.c: Likewise.
10089 * math/w_coshl.c: Likewise.
10090 * math/w_exp2.c: Likewise.
10091 * math/w_exp2f.c: Likewise.
10092 * math/w_exp2l.c: Likewise.
10093 * math/w_hypot.c: Likewise.
10094 * math/w_hypotf.c: Likewise.
10095 * math/w_hypotl.c: Likewise.
10096 * math/w_lgamma.c: Likewise.
10097 * math/w_lgamma_r.c: Likewise.
10098 * math/w_lgammaf.c: Likewise.
10099 * math/w_lgammaf_r.c: Likewise.
10100 * math/w_lgammal.c: Likewise.
10101 * math/w_lgammal_r.c: Likewise.
10102 * math/w_sinh.c: Likewise.
10103 * math/w_sinhf.c: Likewise.
10104 * math/w_sinhl.c: Likewise.
10105 * math/w_tgamma.c: Likewise.
10106 * math/w_tgammaf.c: Likewise.
10107 * math/w_tgammal.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10110 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10111 Minor optimizations. Pretty printing. Remove cruft.
10112 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10114 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10116 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10117 * sysdeps/i386/fpu/e_asin.S: Likewise.
10118 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10119 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10120 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10121 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10122 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10123 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10125 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10126 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10127 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10128 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10129 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10130 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10131 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10132 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10133 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10134 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10135 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10136 * sysdeps/i386/fpu/e_log.S: Likewise.
10137 * sysdeps/i386/fpu/e_log10.S: Likewise.
10138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10139 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10140 * sysdeps/i386/fpu/e_log2.S: Likewise.
10141 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10142 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10143 * sysdeps/i386/fpu/e_logf.S: Likewise.
10144 * sysdeps/i386/fpu/e_logl.S: Likewise.
10145 * sysdeps/i386/fpu/e_pow.S: Likewise.
10146 * sysdeps/i386/fpu/e_powf.S: Likewise.
10147 * sysdeps/i386/fpu/e_powl.S: Likewise.
10148 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10149 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10150 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10152 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10153 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10154 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10155 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10156 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10178 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10181 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10184 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10186 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10191 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10192 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10193 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10194 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10242 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10245 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10252 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10253 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10254 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10255 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10256 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10257 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10258 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10259 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10260 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10263 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10265 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10267 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10268 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10269 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10270 (__isnanf): Likewise.
10271 (__isinf_ns): Likewise.
10272 (__isinf_nsf): Likewise.
10273 (__finite): Likewise.
10274 (__finitef): Likewise.
10275 (__ieee754_sqrt): Define as macro.
10276 (__ieee754_sqrtf): Define as macro.
10277 (__ieee754_sqrtl): Define as macro.
10278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10279 inlined copy.
10280 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10281 __FINITE_MATH_ONLY__ consistent.
10282 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10283
12cc2fcd
AS
102842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10285
a843a204
AS
10286 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10287 of rawmemchr.
10288
12cc2fcd
AS
10289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10290
c853acd5
UD
102912011-10-09 Ulrich Drepper <drepper@gmail.com>
10292
10293 * po/ja.po: Update from translation team.
10294
c658d255
RM
102952011-10-08 Roland McGrath <roland@hack.frob.com>
10296
110946e4
RM
10297 * locale/programs/locarchive.c (prepare_address_space): New function.
10298 (create_archive, enlarge_archive, open_archive): Use it.
10299
50604220
RM
10300 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10301 inside [SHARED], where it is used.
10302
c658d255
RM
10303 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10304
10305 * nss/getent.c (netgroup_keys): Remove unused variable.
10306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10307
6a621eb7
UD
103082011-10-08 Ulrich Drepper <drepper@gmail.com>
10309
7edb55ce
UD
10310 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10311 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10314 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10315 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10316 * math/Makefile (libm-calls): Add s_isinf_ns.
10317 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10318 * math/multc3.c: Likewise.
10319 * math/s_casin.c: Likewise.
10320 * math/s_casinf.c: Likewise.
10321 * math/s_casinl.c: Likewise.
10322 * math/s_ccos.c: Likewise.
10323 * math/s_ccosf.c: Likewise.
10324 * math/s_ccosl.c: Likewise.
10325 * math/s_ctan.c: Likewise.
10326 * math/s_ctanf.c: Likewise.
10327 * math/s_ctanh.c: Likewise.
10328 * math/s_ctanhf.c: Likewise.
10329 * math/s_ctanhl.c: Likewise.
10330 * math/s_ctanl.c: Likewise.
10331 * math/w_fmod.c: Likewise.
10332 * math/w_fmodf.c: Likewise.
10333 * math/w_fmodl.c: Likewise.
10334 * math/w_remainder.c: Likewise.
10335 * math/w_remainderf.c: Likewise.
10336 * math/w_remainderl.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10338 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10341 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10342 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10343 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10344 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10345
187da0ae
UD
10346 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10347 of the number.
10348 * stdio-common/printf_fphex.c: Likewise.
10349 * stdio-common/printf_size.c: Likewise.
10350
9277c064
UD
10351 * math/e_exp10.c: Include math_private.h using <...> not "...".
10352 * math/e_exp10f.c: Likewise.
10353 * math/e_exp10l.c: Likewise.
10354 * math/e_exp2l.c: Likewise.
10355 * math/e_j0l.c: Likewise.
10356 * math/e_j1l.c: Likewise.
10357 * math/e_jnl.c: Likewise.
10358 * math/e_lgammal_r.c: Likewise.
10359 * math/e_rem_pio2l.c: Likewise.
10360 * math/e_scalb.c: Likewise.
10361 * math/e_scalbf.c: Likewise.
10362 * math/e_scalbl.c: Likewise.
10363 * math/k_cosl.c: Likewise.
10364 * math/k_sinl.c: Likewise.
10365 * math/k_tanl.c: Likewise.
10366 * math/s_cacoshf.c: Likewise.
10367 * math/s_catan.c: Likewise.
10368 * math/s_catanf.c: Likewise.
10369 * math/s_catanh.c: Likewise.
10370 * math/s_catanhf.c: Likewise.
10371 * math/s_catanhl.c: Likewise.
10372 * math/s_catanl.c: Likewise.
10373 * math/s_ccosh.c: Likewise.
10374 * math/s_ccoshf.c: Likewise.
10375 * math/s_ccoshl.c: Likewise.
10376 * math/s_cexp.c: Likewise.
10377 * math/s_cexpf.c: Likewise.
10378 * math/s_cexpl.c: Likewise.
10379 * math/s_clog.c: Likewise.
10380 * math/s_clog10.c: Likewise.
10381 * math/s_clog10f.c: Likewise.
10382 * math/s_clog10l.c: Likewise.
10383 * math/s_clogf.c: Likewise.
10384 * math/s_clogl.c: Likewise.
10385 * math/s_csin.c: Likewise.
10386 * math/s_csinf.c: Likewise.
10387 * math/s_csinh.c: Likewise.
10388 * math/s_csinhf.c: Likewise.
10389 * math/s_csinhl.c: Likewise.
10390 * math/s_csinl.c: Likewise.
10391 * math/s_csqrt.c: Likewise.
10392 * math/s_csqrtf.c: Likewise.
10393 * math/s_csqrtl.c: Likewise.
10394 * math/s_ctan.c: Likewise.
10395 * math/s_ctanf.c: Likewise.
10396 * math/s_ctanh.c: Likewise.
10397 * math/s_ctanhf.c: Likewise.
10398 * math/s_ctanhl.c: Likewise.
10399 * math/s_ctanl.c: Likewise.
10400 * math/s_ldexp.c: Likewise.
10401 * math/s_ldexpf.c: Likewise.
10402 * math/s_ldexpl.c: Likewise.
10403 * math/s_significand.c: Likewise.
10404 * math/s_significandf.c: Likewise.
10405 * math/s_significandl.c: Likewise.
10406 * math/w_acos.c: Likewise.
10407 * math/w_acosf.c: Likewise.
10408 * math/w_acosh.c: Likewise.
10409 * math/w_acoshf.c: Likewise.
10410 * math/w_acoshl.c: Likewise.
10411 * math/w_acosl.c: Likewise.
10412 * math/w_asin.c: Likewise.
10413 * math/w_asinf.c: Likewise.
10414 * math/w_asinl.c: Likewise.
10415 * math/w_atan2.c: Likewise.
10416 * math/w_atan2f.c: Likewise.
10417 * math/w_atan2l.c: Likewise.
10418 * math/w_atanh.c: Likewise.
10419 * math/w_atanhf.c: Likewise.
10420 * math/w_atanhl.c: Likewise.
10421 * math/w_cosh.c: Likewise.
10422 * math/w_coshf.c: Likewise.
10423 * math/w_coshl.c: Likewise.
10424 * math/w_dremf.c: Likewise.
10425 * math/w_exp10.c: Likewise.
10426 * math/w_exp10f.c: Likewise.
10427 * math/w_exp10l.c: Likewise.
10428 * math/w_exp2.c: Likewise.
10429 * math/w_exp2f.c: Likewise.
10430 * math/w_fmod.c: Likewise.
10431 * math/w_fmodf.c: Likewise.
10432 * math/w_fmodl.c: Likewise.
10433 * math/w_hypot.c: Likewise.
10434 * math/w_hypotf.c: Likewise.
10435 * math/w_hypotl.c: Likewise.
10436 * math/w_j0.c: Likewise.
10437 * math/w_j0f.c: Likewise.
10438 * math/w_j0l.c: Likewise.
10439 * math/w_j1.c: Likewise.
10440 * math/w_j1f.c: Likewise.
10441 * math/w_j1l.c: Likewise.
10442 * math/w_jn.c: Likewise.
10443 * math/w_jnf.c: Likewise.
10444 * math/w_jnl.c: Likewise.
10445 * math/w_lgamma.c: Likewise.
10446 * math/w_lgamma_r.c: Likewise.
10447 * math/w_lgammaf.c: Likewise.
10448 * math/w_lgammaf_r.c: Likewise.
10449 * math/w_lgammal.c: Likewise.
10450 * math/w_lgammal_r.c: Likewise.
10451 * math/w_log.c: Likewise.
10452 * math/w_log10.c: Likewise.
10453 * math/w_log10f.c: Likewise.
10454 * math/w_log10l.c: Likewise.
10455 * math/w_log2.c: Likewise.
10456 * math/w_log2f.c: Likewise.
10457 * math/w_log2l.c: Likewise.
10458 * math/w_logf.c: Likewise.
10459 * math/w_logl.c: Likewise.
10460 * math/w_pow.c: Likewise.
10461 * math/w_powf.c: Likewise.
10462 * math/w_powl.c: Likewise.
10463 * math/w_remainder.c: Likewise.
10464 * math/w_remainderf.c: Likewise.
10465 * math/w_remainderl.c: Likewise.
10466 * math/w_scalb.c: Likewise.
10467 * math/w_scalbf.c: Likewise.
10468 * math/w_scalbl.c: Likewise.
10469 * math/w_sinh.c: Likewise.
10470 * math/w_sinhf.c: Likewise.
10471 * math/w_sinhl.c: Likewise.
10472 * math/w_sqrt.c: Likewise.
10473 * math/w_sqrtf.c: Likewise.
10474 * math/w_sqrtl.c: Likewise.
10475 * math/w_tgamma.c: Likewise.
10476 * math/w_tgammaf.c: Likewise.
10477 * math/w_tgammal.c: Likewise.
10478
6a621eb7
UD
10479 * po/ja.po: Update from translation team.
10480
bf582445
AJ
104812011-09-29 Andreas Jaeger <aj@suse.de>
10482
f9efbf3a
AJ
10483 [BZ #13179]
10484 * sunrpc/netname.c (netname2host): Fix logic.
10485
bf582445
AJ
10486 [BZ #6779]
10487 [BZ #6783]
10488 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10489 correctly.
10490 * math/w_remainder.c (__remainder): Likewise.
10491 * math/w_remainderf.c (__remainderf): Likewise.
10492 * math/libm-test.inc (remainder_test): Add test cases.
10493
48693bea
AK
104942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10495
10496 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10497 sdiv_qrnnd.
10498
42622229
LD
104992011-10-07 Ulrich Drepper <drepper@gmail.com>
10500
10501 * string/test-memcmp.c: Avoid unncessary #defines.
10502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10503
093ecf92
LD
105042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10505
10506 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10507 Use new sse2 version for core i3 - i7 as it's faster
10508 than sse42 version.
10509 (bit_Prefer_PMINUB_for_stringop): New.
10510 * sysdeps/x86_64/rawmemchr.S: Update.
10511 Replace with faster SSE2 version.
10512 * sysdeps/x86_64/memrchr.S: New file.
10513 * sysdeps/x86_64/memchr.S: Update.
10514 Replace with faster SSE2 version.
10515
fde56e5c
MP
105162011-09-12 Marek Polacek <mpolacek@redhat.com>
10517
10518 * elf/dl-load.c (lose): Add cast to avoid warning.
10519
21fd49a9
UD
105202011-10-07 Ulrich Drepper <drepper@gmail.com>
10521
5a06e643
UD
10522 * po/ca.po: Update from translation team.
10523
684ae515
UD
10524 * inet/getnetgrent_r.c: Hook up nscd.
10525 * nscd/Makefile (routines): Add nscd_netgroup.
10526 (nscd-modules): Add netgroupcache.
10527 (CFLAGS-netgroupcache.c): Define.
10528 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10529 (cache_search): Add const to second parameter.
10530 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10531 INNETGR.
10532 (dbs): Add netgrdb entry.
10533 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10534 (verify_persistent_db): Handle netgrdb.
10535 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10536 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10537 GETFDNETGR.
10538 (netgroup_response_header): Define.
10539 (innetgroup_response_header): Define.
10540 (datahead): Add netgroup_response_header and innetgroup_response_header
10541 elements.
10542 * nscd/nscd.conf: Add entries for netgroup cache.
10543 * nscd/nscd.h (dbtype): Add netgrdb.
10544 (_PATH_NSCD_NETGROUP_DB): Define.
10545 (netgroup_iov_disabled): Declare.
10546 (xmalloc, xcalloc, xrealloc): Move declarations here.
10547 (cache_search): Adjust prototype.
10548 Add netgroup-related prototypes.
10549 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10550 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10551 (__nscd_innetgr): Declare.
10552 * nscd/selinux.c (perms): Use access_vector_t as element type and
10553 add netgroup-related initializers.
10554 * nscd/netgroupcache.c: New file.
10555 * nscd/nscd_netgroup.c: New file.
10556 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10557 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10558 For four parameters use innetgr.
10559 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10560 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10561 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10562 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10563
21fd49a9
UD
10564 * nscd/connections.c (register_traced_file): Don't register file
10565 for disabled databases.
10566
054c0457
UD
105672011-10-06 Ulrich Drepper <drepper@gmail.com>
10568
32b63198
UD
10569 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10570
054c0457
UD
10571 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10572 from tree and freeing node.
10573
64031225
JO
105742011-09-25 Jiri Olsa <jolsa@redhat.com>
10575
10576 * nss/nsswitch.c (__nss_database_lookup): Handle
10577 nss_parse_service_list out of memory case.
10578
0490345c
JO
105792011-09-15 Jiri Olsa <jolsa@redhat.com>
10580
10581 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10582 out of memory case.
10583
3a62d00d
AS
105842011-10-04 Andreas Schwab <schwab@redhat.com>
10585
10586 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10587 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10588 pass it down.
10589 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10590 elf_machine_rela, elf_machine_lazy_rel.
10591 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10592 (ELF_DYNAMIC_DO_REL): Likewise.
10593 (ELF_DYNAMIC_DO_RELA): Likewise.
10594 (ELF_DYNAMIC_RELOCATE): Likewise.
10595 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10596 to ELF_DYNAMIC_DO_REL.
10597 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10598 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10599 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10600 elf_machine_rela.
10601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10602 skip_ifunc, don't call ifunc function if non-zero.
10603 (elf_machine_rela): Likewise.
10604 (elf_machine_lazy_rel): Likewise.
10605 (elf_machine_lazy_rela): Likewise.
10606 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10607 (elf_machine_lazy_rel): Likewise.
10608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10609 Likewise.
10610 (elf_machine_lazy_rel): Likewise.
10611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10612 Likewise.
10613 (elf_machine_lazy_rel): Likewise.
10614 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10615 (elf_machine_lazy_rel): Likewise.
10616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10617 (elf_machine_lazy_rel): Likewise.
10618 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10619 (elf_machine_lazy_rel): Likewise.
10620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10621 (elf_machine_lazy_rel): Likewise.
10622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10623 (elf_machine_lazy_rel): Likewise.
10624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10625 (elf_machine_lazy_rel): Likewise.
10626
68577918
UD
106272011-09-28 Ulrich Drepper <drepper@gmail.com>
10628
10629 * nss/nss_files/files-init.c (_nss_files_init): Use static
10630 initialization for all the *_traced_file variables.
10631
68822d74
AS
106322011-09-28 Andreas Schwab <schwab@redhat.com>
10633
10634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10635
2056100b
RM
106362011-09-27 Roland McGrath <roland@hack.frob.com>
10637
10638 [BZ #13226]
10639 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10640
32c76b63
AS
106412011-09-27 Andreas Schwab <schwab@redhat.com>
10642
10643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10644 Reread the line before reparsing it.
10645
bf972c9d
AS
106462011-09-26 Andreas Schwab <schwab@redhat.com>
10647
10648 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10649
e057a1b5
JM
106502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10651 Maxim Kuvyrkov <maxim@codesourcery.com>
10652 Joseph Myers <joseph@codesourcery.com>
10653
10654 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10655 if needed for __stack_chk_guard.
10656
bc7e1c36
RM
106572011-09-19 Roland McGrath <roland@hack.frob.com>
10658
ecb1482f
RM
10659 * sysdeps/posix/spawni.c (script_execute): Always define it.
10660 It will be optimized away if unused.
10661 (maybe_script_execute): New function.
10662 (__spawni): Call it.
10663
bc7e1c36
RM
10664 * Makerules: Don't include tls.make.
10665 (config-tls): Always set to thread.
10666 * tls.make.c: File removed.
10667
1c3b002b
MF
106682011-09-19 Mike Frysinger <vapier@gentoo.org>
10669
10670 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10671 * config.make.in (CPPFLAGS-config): New substituted variable.
10672
2840865d
UD
106732011-09-15 Ulrich Drepper <drepper@gmail.com>
10674
88738eb6
UD
10675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10676
cbf645a6 10677 [BZ #13192]
2840865d
UD
10678 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10679 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10680
b402e91a
RM
106812011-09-15 Roland McGrath <roland@hack.frob.com>
10682
10683 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10684 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10686 (CALL_FAIL): Likewise.
10687 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10688 (CALL_FAIL): Macro removed.
10689 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10690
4c1a1f71
UD
106912011-09-15 Ulrich Drepper <drepper@gmail.com>
10692
10693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10694 for __FINITE_MATH_ONLY__ == 1.
10695
edc121be
AS
106962011-09-15 Andreas Schwab <schwab@redhat.com>
10697
10698 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10699 __ieee754_sqrt instead of sqrt.
10700 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10701 __ieee754_sqrtf instead of sqrtf.
10702 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10703 __floorf instead of floorf.
10704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10705 __floorf, __truncf instead of floorf, truncf.
10706
cd205654
UD
107072011-09-14 Ulrich Drepper <drepper@gmail.com>
10708
ee4d0315
UD
10709 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10710
cd205654
UD
10711 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10712 __extern_always_inline.
10713 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10714 32-bit.
10715
48b67d71
AS
107162011-09-14 Andreas Schwab <schwab@redhat.com>
10717
10718 * elf/rtld.c (dl_main): Also relocate in dependency order when
10719 doing symbol dependency testing.
10720
1ae12c75
AS
107212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10722
10723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10724 Always define `refsym'.
10725
995a80df
AS
107262011-09-13 Andreas Schwab <schwab@redhat.com>
10727
e529793b
AS
10728 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10729 (__FD_ELT): Renamed from __FDELT.
10730 * misc/bits/select2.h (__FD_ELT): Likewise.
10731 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10732 __FD_MASK instead of __FDELT, __FDMASK.
10733 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10734 Likewise.
10735 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10736 Likewise.
10737
52d4fef8
AS
10738 * elf/Makefile (gen-ldd): Fix pattern.
10739
995a80df
AS
10740 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10741 (init_tls): Likewise.
10742
8682f8b0
UD
107432011-09-12 Ulrich Drepper <drepper@gmail.com>
10744
10745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10746
de82006d
AS
107472011-09-12 Andreas Schwab <schwab@redhat.com>
10748
a7c8e6a1
AS
10749 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10750 `struct cmsghdr *' instead of `void *'.
10751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10752 Likewise.
10753
0f31fe77
AS
107542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10755
10756 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10757 if non-absolute.
10758 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10759 ldd_rewrite_script.
0f31fe77 10760
32b4c839
UD
107612011-09-11 Ulrich Drepper <drepper@gmail.com>
10762
83cd1420
UD
10763 * configure.in: Remove --with-tls option.
10764 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10765 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10766 out in case it is missing.
10767 * sysdeps/ia64/elf/configure.in: Likewise.
10768 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10769 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10770 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10771 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10772 * sysdeps/sh/elf/configure.in: Likewise.
10773 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10775 * sysdeps/x86_64/elf/configure.in: Likewise.
10776 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10777 * sysdeps/mach/hurd/tls.h: Likewise.
10778
633f745d
UD
10779 [BZ #13067]
10780 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10781
f318beb8
UD
10782 [BZ #13090]
10783 * configure.in: Fix use of AC_INIT.
10784
32b4c839
UD
10785 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10786
3ce1f295
UD
107872011-09-10 Ulrich Drepper <drepper@gmail.com>
10788
bb016596
UD
10789 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10790 __set_errno.
8e58439c
UD
10791 * malloc/hooks.c: Likewise.
10792
aebae053 10793 [BZ #11929]
02d46fc4
UD
10794 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10795 variables statically.
10796 (narenas): Initialize.
10797 (list_lock): Initialize.
bb016596
UD
10798 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10799 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10800 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10801 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10802 Add initializers to main_arena and mp_.
10803 (malloc_state): Remove pagesize member. Change all users to use
10804 GLRO(dl_pagesize).
10805
10806 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10807 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10808 is always initialized.
10809
22a89187
UD
10810 * malloc/malloc.c: Removed unused configurations and dead code.
10811 * malloc/arena.c: Likewise.
10812 * malloc/hooks.c: Likewise.
02d46fc4 10813 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10814
d063d164
UD
10815 * include/tls.h: Removed. USE___THREAD must always be defined.
10816 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10817 * elf/dl-libc.c: Likewise.
10818 * elf/dl-tsd.c: Likewise.
10819 * include/errno.h: Likewise.
10820 * include/netdb.h: Likewise.
10821 * include/resolv.h: Likewise.
10822 * inet/herrno-loc.c: Likewise.
10823 * inet/herrno.c: Likewise.
10824 * malloc/arena.c: Likewise.
10825 * malloc/hooks.c: Likewise.
10826 * malloc/malloc.c: Likewise.
10827 * resolv/res-state.c: Likewise.
10828 * resolv/res_libc.c: Likewise.
10829 * sysdeps/i386/dl-machine.h: Likewise.
10830 * sysdeps/ia64/dl-machine.h: Likewise.
10831 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10832 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10833 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10834 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10835 * sysdeps/sh/dl-machine.h: Likewise.
10836 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10838 * sysdeps/unix/i386/sysdep.S: Likewise.
10839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10840 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10850 * sysdeps/x86_64/dl-machine.h: Likewise.
10851 * tls.make.c: Likewise.
10852
3ce1f295
UD
10853 * configure.in: Remove --with-__thread option. Make tests for
10854 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10855 tls_model attribute fail if no support is available. Remove
10856 USE_IN_LIBIO.
10857 * Makeconfig: Adjust for dropped configure option. All features are
10858 now mandatory.
10859 * Makerules: Likewise.
10860 * Versions.def: Likewise.
10861 * argp/argp-fmtstream.c: Likewise.
10862 * argp/argp-fmtstream.h: Likewise.
10863 * argp/argp-help.c: Likewise.
10864 * assert/assert.c: Likewise.
10865 * config.h.in: Likewise.
10866 * config.make.in: Likewise.
10867 * configure: Likewise.
10868 * configure.in: Likewise.
10869 * csu/Versions: Likewise.
10870 * csu/init.c: Likewise.
10871 * elf/tst-audit2.c: Likewise.
10872 * elf/tst-tls10.c: Likewise.
10873 * elf/tst-tls10.h: Likewise.
10874 * elf/tst-tls11.c: Likewise.
10875 * elf/tst-tls12.c: Likewise.
10876 * elf/tst-tls14.c: Likewise.
10877 * elf/tst-tlsmod11.c: Likewise.
10878 * elf/tst-tlsmod12.c: Likewise.
10879 * elf/tst-tlsmod13.c: Likewise.
10880 * elf/tst-tlsmod13a.c: Likewise.
10881 * elf/tst-tlsmod14a.c: Likewise.
10882 * elf/tst-tlsmod15b.c: Likewise.
10883 * elf/tst-tlsmod16a.c: Likewise.
10884 * elf/tst-tlsmod16b.c: Likewise.
10885 * elf/tst-tlsmod7.c: Likewise.
10886 * elf/tst-tlsmod8.c: Likewise.
10887 * elf/tst-tlsmod9.c: Likewise.
10888 * gmon/gmon.c: Likewise.
10889 * grp/fgetgrent_r.c: Likewise.
10890 * grp/putgrent.c: Likewise.
10891 * hurd/fopenport.c: Likewise.
10892 * include/libc-symbols.h: Likewise.
10893 * include/tls.h: Likewise.
10894 * intl/gettextP.h: Likewise.
10895 * intl/loadinfo.h: Likewise.
10896 * locale/global-locale.c: Likewise.
10897 * locale/localeinfo.h: Likewise.
10898 * mach/devstream.c: Likewise.
10899 * malloc/arena.c: Likewise.
10900 * malloc/set-freeres.c: Likewise.
10901 * misc/err.c: Likewise.
10902 * misc/getttyent.c: Likewise.
10903 * misc/mntent_r.c: Likewise.
10904 * posix/getopt.c: Likewise.
10905 * posix/wordexp.c: Likewise.
10906 * pwd/fgetpwent_r.c: Likewise.
10907 * resolv/Versions: Likewise.
10908 * resolv/res_hconf.c: Likewise.
10909 * shadow/fgetspent_r.c: Likewise.
10910 * shadow/putspent.c: Likewise.
10911 * stdio-common/printf_fphex.c: Likewise.
10912 * stdio-common/tmpfile.c: Likewise.
10913 * stdlib/abort.c: Likewise.
10914 * stdlib/fmtmsg.c: Likewise.
10915 * sunrpc/auth_unix.c: Likewise.
10916 * sunrpc/clnt_perr.c: Likewise.
10917 * sunrpc/clnt_tcp.c: Likewise.
10918 * sunrpc/clnt_udp.c: Likewise.
10919 * sunrpc/clnt_unix.c: Likewise.
10920 * sunrpc/openchild.c: Likewise.
10921 * sunrpc/svc_simple.c: Likewise.
10922 * sunrpc/svc_tcp.c: Likewise.
10923 * sunrpc/svc_udp.c: Likewise.
10924 * sunrpc/svc_unix.c: Likewise.
10925 * sunrpc/xdr.c: Likewise.
10926 * sunrpc/xdr_array.c: Likewise.
10927 * sunrpc/xdr_rec.c: Likewise.
10928 * sunrpc/xdr_ref.c: Likewise.
10929 * sunrpc/xdr_stdio.c: Likewise.
10930
1248c1c4
PB
109312011-09-09 Ulrich Drepper <drepper@gmail.com>
10932
10933 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10934
109352011-07-03 Andreas Jaeger <aj@suse.de>
10936
10937 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10938 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10939 regenerate with gen-libm-tests.pl.
10940
109412010-05-12 Petr Baudis <pasky@suse.cz>
10942
10943 [BZ #11589]
10944 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10945 around j0() zero points by switching to j1().
10946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10950
f22e1074
UD
109512011-09-09 Ulrich Drepper <drepper@gmail.com>
10952
f19009c1
UD
10953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10954 instead of 0.
10955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10956 instead of 0. .
10957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10958 Patch in part by Pavel Roskin <proski@gnu.org>.
10959
3f8cc204
UD
10960 [BZ #13138]
10961 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10962 realloc.
10963 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10964 Free memory block if necessary.
10965
f22e1074
UD
10966 [BZ #12847]
10967 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10968 be NULL. Don't lock in this case.
10969
0a2349f9
RM
109702011-09-09 Roland McGrath <roland@hack.frob.com>
10971
10972 * elf/elf.h (ELFOSABI_GNU): New macro.
10973 (ELFOSABI_LINUX): Define to that.
10974
f3cdd467
DZ
109752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10976
10977 * string/strncat.c (strncat): Undef the symbol in case it has been
10978 defined in bits/string.h.
10979
74718d13
UD
109802011-09-09 Ulrich Drepper <drepper@gmail.com>
10981
633e9e0f
UD
10982 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10983
0a2349f9 10984 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10985 link map.
10986
f9924780
AJ
109872011-08-17 Andreas Jaeger <aj@suse.de>
10988
10989 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10990
7f5517aa
PP
109912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10992 Ian Lance Taylor <iant@google.com>
10993
10994 * math/libm-test.inc (lround_test): New testcase.
10995 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10996
762011fe
UD
109972011-09-08 Ulrich Drepper <drepper@gmail.com>
10998
92963737
UD
10999 * Makefile: Remove support for automatic cvs check-ins.
11000 * Makerules: Likewise.
11001 * config.make.in: Likewise.
11002 * configure.in: Likewise.
11003 * intl/Makefile: Likewise.
11004 * locale/Makefile: Likewise.
11005 * po/Makefile: Likewise.
11006 * posix/Makefile: Likewise.
11007 * sysdeps/gnu/Makefile: Likewise.
11008 * sysdeps/mach/hurd/Makefile: Likewise.
11009 * sysdeps/sparc/sparc32/Makefile: Likewise.
11010
b0727fd8
JS
11011 [BZ #13118]
11012 * posix/Makefile (bug-regex32-ENV): Define.
11013 Patch by John Stanley <jpsinthemix@verizon.net>.
11014
a0f33f99
UD
11015 * misc/Makefile (headers): Add bits/select2.h.
11016 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11017 * misc/bits/select2.h: New file.
11018 * include/bits/select2.h: New file.
11019 * debug/Makefile (routines): Add fdelt_chk.
11020 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11021 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11022 FD_ISSET.
11023 * debug/fdelt_chk.c: New file.
11024
762011fe
UD
11025 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11026 * wcsmbs/test-wmemcmp.c: Likewise.
11027 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11028 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11029
110302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11031
11032 * string/Makefile (strop-tests): Add memcmp.
11033 * string/test-wmemcmp.c: New file.
11034 * string/test-memcmp.c: Add wmemcmp support.
11035
7f513ec8
RM
110362011-09-08 Roland McGrath <roland@hack.frob.com>
11037
0442afb4
RM
11038 [BZ #13153]
11039 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11040 2011-07-19 change.
11041
7f513ec8
RM
11042 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11043 garbage value in a __mach_port_mod_refs call in the cases of the
11044 task-self and thread-self ports.
11045
a12b2239
ST
110462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11047
11048 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11049
610f9ab4
AS
110502011-09-08 Andreas Schwab <schwab@redhat.com>
11051
7f513ec8 11052 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11053
48882a1a
LD
110542011-09-07 Ulrich Drepper <drepper@gmail.com>
11055
b49865be
UD
11056 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11057
fdc86bc9
UD
11058 * elf/dl-libc.c (dlerror_run): Pass back error code from
11059 dl_catch_error.
11060
c966526a
UD
11061 [BZ #13123]
11062 * elf/dl-load.c (lose): Free l_origin if it is valid.
11063
48882a1a
LD
11064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11065 names.
11066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11071 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11072
77a2a8b4
AZ
110732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11074
11075 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11076 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11079 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11080 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11081 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11082 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11083 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11084 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11085
24f579d8
AM
110862011-08-15 Alan Modra <amodra@gmail.com>
11087
11088 [BZ #13092]
11089 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11090 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11091 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11092 ppc_mcount to static-only-routines.
11093 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11094 __mcount_internal.
11095 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11096 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11097
3d4837df
UD
110982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11099
11100 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11101 for finite and infinity parameters.
11102
22700377
WS
111032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11104
11105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11106 and add nop instructions for throughput optimization.
11107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11108
5025581e
WS
111092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11110
11111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11112 aligned copy for power7 with vector-scalar instructions.
11113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11114
08a300c9
L
111152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11118 AVX check.
11119
59178ef9
AS
111202011-09-07 Andreas Schwab <schwab@redhat.com>
11121
11122 [BZ #13144]
11123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11124 last change.
11125
e38ba7ab
UD
111262011-09-07 Ulrich Drepper <drepper@gmail.com>
11127
11128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11129 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11130 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11132 clock_gettime.
11133
d53a73ac
UD
111342011-09-06 Ulrich Drepper <drepper@gmail.com>
11135
fc8bffcc
UD
11136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11137 Forgot to demangle the pointer.
11138
ceaa0c5d
UD
11139 * sysdeps/i386/sysdep.h: Define atom_text_section.
11140 * sysdeps/x86_64/sysdep.h: Likewise.
11141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11142 section with atom_text_section.
11143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11148
a77d3c17
UD
11149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11150 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11151 already be defined. Change to take two parameters and don't assign
11152 result to variable. Adjust all users.
11153 Define INTERNAL_GETTIME if not already defined.
11154 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11155 call.
11156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11157 HAVE_CLOCK_GETTIME_VSYSCALL.
11158 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11159
d53a73ac
UD
11160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11161 gettimeofday vsyscall, just use time.
11162
a8f84144
AS
111632011-09-06 Andreas Schwab <schwab@redhat.com>
11164
11165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11166 <errno.h>.
11167
ef606249
UD
111682011-09-06 Ulrich Drepper <drepper@gmail.com>
11169
11170 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11171 syscall on x86-64.
11172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11173 syscall.
11174 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11176 syscall if possible.
11177
6585cb60
UD
111782011-09-05 Ulrich Drepper <drepper@gmail.com>
11179
11180 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11181 e_ident. Don't pass to find_mapsXX.
11182 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11183
a5f524e4
LD
111842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11185
11186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11187 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11188 * sysdeps/x86_64/multiarch/strchr.S: Update.
11189 Check bit_slow_BSF bit.
11190 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11191 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11193
554881ef
UD
111942011-09-05 Ulrich Drepper <drepper@gmail.com>
11195
d96de963
UD
11196 [BZ #13134]
11197 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11198 before glibc 2.15.
11199 (tryshell): Define.
11200 (__spawni): Change last parameter to be flag. Test
11201 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11202 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11203 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11204 * posix/spawni.c: Likewise.
11205 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11206 * posix/spawnp.c: Likewise. Change normal version to use
11207 SPAWN_XFLAGS_USE_PATH.
11208 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11209 SPAWN_XFLAGS_TRY_SHELL.
11210
d48e5868
UD
11211 [BZ #13150]
11212 * posix/glob.h: Remove gcc 1.x support.
11213
554881ef
UD
11214 [BZ #13068]
11215 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11216
693fb948
LD
112172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11218
11219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11220 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11221 strrchr-sse2-bsf
11222 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11223 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11224 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11225 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11228
1b48c537
UD
112292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11230
49d42c37
UD
11231 * sysdeps/x86_64/wcscmp.S: New file.
11232
1b48c537
UD
11233 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11234 wcscmp-c wcscmp-sse2
11235 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11236 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11237 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11238 * wcsmbs/wcscmp.c: Allow renaming.
11239
15c95c5d
DM
112402011-09-05 David S. Miller <davem@davemloft.net>
11241
11242 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11243 stack slot, rather than the struct return pointer slot.
11244 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11245 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11248
2f0ad8f3
UD
112492011-09-05 Ulrich Drepper <drepper@gmail.com>
11250
d88ae418
UD
11251 * po/ja.po: Update from translation team.
11252
2f0ad8f3
UD
11253 [BZ #13144]
11254 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11255 kernel in 64-bit binaries.
11256
5f4318d1
DM
112572011-09-01 David S. Miller <davem@davemloft.net>
11258
11259 * elf/elf.h (HWCAP_SPARC_*): Move to..
11260 * sysdeps/sparc/sysdep.h: this new file and add new values.
11261 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11262 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11263 _DL_HWCAP_COUNT to 24.
11264 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11265 entries.
11266 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11267 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11268 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11270 instead of magic constants.
11271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11272
3ba57516
DM
112732011-08-31 David S. Miller <davem@davemloft.net>
11274
11275 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11277 Reimplement to do errno handling inline.
11278 (SYSCALL_ERROR_HANDLER): New macro.
11279 (__SYSCALL_STRING): Do not do errno handling in asm.
11280 (__CLONE_SYSCALL_STRING): Delete.
11281 (__INTERNAL_SYSCALL_STRING): Delete.
11282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11283 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11284 (PSEUDO): Reimplement to do errno handling inline.
11285 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11286 (SYSCALL_ERROR_HANDLER): New macro.
11287 (__SYSCALL_STRING): Do not do errno handling in asm.
11288 (__CLONE_SYSCALL_STRING): Delete.
11289 (__INTERNAL_SYSCALL_STRING): Delete.
11290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11291 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11292 i386.
11293 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11294 (inline_syscall*): Add 'err' argument.
11295 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11296 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11297 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11298 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11299
11300 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11301 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11302
2bc17433
AS
113032011-08-30 Andreas Schwab <schwab@redhat.com>
11304
11305 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11306
fbeb5f4d
JO
113072011-08-29 Jiri Olsa <jolsa@redhat.com>
11308
11309 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11310 directive.
11311
ad69cc26
DM
113122011-08-24 David S. Miller <davem@davemloft.net>
11313
11314 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11315
39dd69df
AS
113162011-08-24 Andreas Schwab <schwab@redhat.com>
11317
11318 * elf/Makefile: Add rules to build and run unload8 test.
11319 * elf/unload8.c: New file.
11320 * elf/unload8mod1.c: New file.
11321 * elf/unload8mod1x.c: New file.
11322 * elf/unload8mod2.c: New file.
11323 * elf/unload8mod3.c: New file.
11324
11325 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11326 it wasn't used.
11327
2c0b250a
DM
113282011-08-23 David S. Miller <davem@davemloft.net>
11329
11330 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11331 subtract stack bias.
11332 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11333 %sp not %fp in calculations.
11334 (_JMPBUF_UNWINDS_ADJ): Likewise.
11335
22044b48
DM
11336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11337 (aio_suspend): Call it to force an exception region around the
11338 AIO_MISC_WAIT() invocation.
11339
2cae4995
AS
113402011-08-23 Andreas Schwab <schwab@redhat.com>
11341
11342 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11343 backslash.
11344
873a772e
AJ
113452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11346
11347 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11348 protection macro.
11349 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11350 and <dl-machine.h>.
11351 (Elf64_FuncDesc): Remove.
11352
25ad0df1
DM
113532011-08-22 David S. Miller <davem@davemloft.net>
11354
11355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11356 sigaltstack check, add missing cfi directives.
11357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11358 missing cfi directives, and sigaltstack handling.
11359
e888bcbe
AS
113602011-08-16 Andreas Schwab <schwab@redhat.com>
11361
11362 [BZ #11724]
11363 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11364 object is seen twice.
11365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11366
11367 * elf/Makefile (distribute): Add tst-initorder2.c.
11368 (tests): Add tst-initorder2.
11369 (modules-names): Add tst-initorder2a tst-initorder2b
11370 tst-initorder2c tst-initorder2d. Add rules to build them.
11371 ($(objpfx)tst-initorder2.out): New rule.
11372 * elf/tst-initorder2.c: New file.
11373 * elf/tst-initorder2.exp: New file.
11374
87162f46
AS
113752011-08-22 Andreas Schwab <schwab@redhat.com>
11376
70538b7f
AS
11377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11378
f55ffe58
AS
11379 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11380 dependencies back to end of function.
11381
87162f46
AS
11382 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11383 $(elfobjdir)/ld.so.
11384
91b392a4
UD
113852011-08-21 Ulrich Drepper <drepper@gmail.com>
11386
11387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11388 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11390 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11391 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11392 of __vdso_gettimeofday.
11393 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11394 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11395 attribute_hidden.
11396 (_libc_vdso_platform_setup): Remove initialization of
11397 __vdso_gettimeofday and __vdso_time.
11398
5c43483f
UD
113992011-08-20 Ulrich Drepper <drepper@gmail.com>
11400
775a77e7
UD
11401 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11402 and fgetc_unlocked.
11403 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11404 getc_unlocked.
89f447ed 11405
49c74ba9
UD
11406 * elf/dl-open.c (add_to_global): Report additions to the global scope
11407 for LD_DEBUG=scopes.
11408 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11409 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11410
5c43483f
UD
11411 [BZ #13114]
11412 * stdio-common/Makefile (tests): Add bug24.
11413 * stdio-common/bug24.c: New file.
11414
a101b025
AJ
114152011-08-19 Andreas Jaeger <aj@suse.de>
11416
11417 [BZ #13114]
11418 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11419 non-existant file when using close-on-exec mode.
11420
c88f1766
UD
114212011-08-20 Ulrich Drepper <drepper@gmail.com>
11422
0276a718
UD
11423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11424 the very first instruction.
11425
c88f1766
UD
11426 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11427 the CFI state in the end.
11428 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11429 inclusion of dl-trampoline.h.
11430 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11431
51ccffa0
AS
114322011-08-19 Andreas Schwab <schwab@redhat.com>
11433
94d7165f
AS
11434 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11435 expectations for long double.
11436
51ccffa0
AS
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11438 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11439
fd708658 114402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11441
11442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11443 artificual limit depends upon the system page size.
11444
44f0a71e
UD
114452011-08-17 Ulrich Drepper <drepper@gmail.com>
11446
11447 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11448 * resolv/Makefile: Define CFLAGS-libresolv.
11449
8de79a24
AS
114502011-08-17 Andreas Schwab <schwab@redhat.com>
11451
11452 * nss/makedb.c (compute_tables): Make variables used in nested
11453 function static.
11454
27724598
UD
114552011-08-17 Ulrich Drepper <drepper@gmail.com>
11456
c5305d88
UD
11457 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11458 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11459 if buffer was too small.
11460
27724598
UD
11461 * elf/pldd.c (main): Attach to all threads in the process.
11462 Rewrite /proc handling to use *at functions.
11463
076fe015
UD
114642011-08-16 Ulrich Drepper <drepper@gmail.com>
11465
174baab3
UD
11466 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11467 specifies first scope to show.
11468 (dl_open_worker): Update callers. Move printing scope of new
11469 object to before the relocation.
44f0a71e 11470 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11471 * sysdeps/generic/ldsodefs.h: Update declaration.
11472
076fe015
UD
11473 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11474 string for the scope number.
11475
a60df2c3
UD
114762011-08-14 Ulrich Drepper <drepper@gmail.com>
11477
11478 * nscd/servicescache.c (cache_addserv): Make sure written is always
11479 initialized.
11480
5e4287d1
RM
114812011-08-14 Roland McGrath <roland@hack.frob.com>
11482
85ae0589
RM
11483 * sysdeps/i386/i486/bits/atomic.h
11484 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11485 statement expression, so as to suppress "set but not used" warning.
11486 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11487
69f63097
RM
11488 * string/strncat.c (STRNCAT): Use prototype definition.
11489
675456ef
RM
11490 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11491 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11492 -Iprograms here.
11493 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11494 (localedef-modules): Add localedef.
11495 (locale-modules): Add locale.
11496
5e4287d1
RM
11497 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11498 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11499 to avoid a warning.
11500
9c96ff23
DM
115012011-08-14 David S. Miller <davem@davemloft.net>
11502
11503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11504 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11505
f9ddf089
UD
115062011-08-13 Ulrich Drepper <drepper@gmail.com>
11507
44f0a71e 11508 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11509 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11510 * elf/rtld.c (dl_main): Set l_name of vDSO.
11511 Call _dl_show_scope when DL_DEBUG_SCOPES.
11512 (process_dl_debug): Recognize scopes flag and also set it for all.
11513 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11514 Declare _dl_show_scope.
11515
1dc27704
UD
11516 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11517 (do_dlopen): Pass caller_dlopen to dl_open.
11518 (__libc_dlopen_mode): Initialize caller_dlopen.
11519
f9ddf089
UD
11520 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11521 of libc. Make tolower call locale-independent. Optimize a bit by
11522 using isdigit instead of isalnum.
11523 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11524
9ac533d3
UD
115252011-08-12 Ulrich Drepper <drepper@gmail.com>
11526
11527 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11528 was a dependency or dynamically loaded.
11529
89edf2e9
UD
115302011-08-11 Ulrich Drepper <drepper@gmail.com>
11531
8e999d29
UD
11532 * intl/l10nflist.c: Allow architecture-specific pop function.
11533 * sysdeps/x86_64/l10nflist.c: New file.
11534
89edf2e9
UD
11535 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11536 classification.
11537
14d96785
AS
115382011-08-10 Andreas Schwab <schwab@redhat.com>
11539
11540 * include/dirent.h: Add libc_hidden_proto for scandirat and
11541 scandirat64. Don't declare __scandirat64.
11542 * dirent/scandirat.c: Add libc_hidden_def.
11543 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11544 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11545
6761ac04
DM
115462011-08-10 David S. Miller <davem@davemloft.net>
11547
11548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11549 enum.
11550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11553
c55fbd1e
UD
115542011-08-09 Ulrich Drepper <drepper@gmail.com>
11555
11556 * Versions.def [libc]: Add GLIBC_2.15.
11557 * dirent/Makefile (routines): Add scandirat and scandirat64.
11558 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11559 GLIBC_2.15.
11560 * dirent/dirent.h: Declare scandirat and scandirat64.
11561 * dirent/scandirat.c: New file.
11562 * dirent/scandirat64.c: New file.
11563 * sysdeps/wordsize-64/scandirat.c: New file.
11564 * sysdeps/wordsize-64/scandirat64.c: New file.
11565 * dirent/opendir.c: Define opendirat.
11566 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11567 using scandirat.
11568 * dirent/scandir64.c: Adjust for scandir.c change.
11569 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11570 __scandirat64, and __scandir_cancel_handler.
11571 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11572 additional parameter and use openat instead of open (outside of ld.so).
11573 Add new __opendir as wrapper around __opendirat.
11574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11575 here without requiring old scandirat implementation.
11576
879165f2
UD
115772011-08-08 Ulrich Drepper <drepper@gmail.com>
11578
11579 * dirent/scandir.c (cancel_handler): Renamed to
11580 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11581 defined. Adjust users.
11582 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11584
cb7e923b
UD
115852011-08-04 Ulrich Drepper <drepper@gmail.com>
11586
16292edd
UD
11587 * string/test-string.h (IMPL): Use __STRING to expand name and then
11588 stringify it.
11589
cb7e923b
UD
11590 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11591 of cleanups.
11592
cff82933
LD
115932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11594
11595 * string/Makefile: Update.
11596 (strop-tests): Append strncat.
11597 * string/test-wcscmp.c: New file.
11598 New comprehensive test for wcscmp.
11599 * string/test-strcmp.c: Update.
11600 (WIDE): New define.
11601
9be9bfcc
AS
116022011-07-22 Andreas Schwab <schwab@redhat.com>
11603
11604 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11605 line.
11606
2e96f1c7
AS
116072011-07-26 Andreas Schwab <schwab@redhat.com>
11608
11609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11610 encoding to ACE if AI_IDN.
11611
85188888
JJ
116122011-08-01 Jakub Jelinek <jakub@redhat.com>
11613
11614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11615 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11616
5fa16e9b
LD
116172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11618
11619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11620 Fix overflow bug in strncat.
11621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11622
11623 * string/test-strncat.c: Update.
11624 Add new tests for checking overflow bugs.
11625
116262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11627
11628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11629 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11630 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11631 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11633 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11634 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11635 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11636 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11637
11638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11639 (USE_AS_STRCAT): Define.
11640 Add strcat and strncat support.
11641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11642
8c1a459f
AS
116432011-07-25 Andreas Schwab <schwab@redhat.com>
11644
11645 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11646 __n bigger than INT_MAX+1.
11647 (__strncmp_g): Likewise.
11648
bba33c28
UD
116492011-07-23 Ulrich Drepper <drepper@gmail.com>
11650
798be72d
UD
11651 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11652 * libio/stido.h: Likewise.
11653
8accd4dc
UD
11654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11655 (AF_NFC): Define.
11656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11657 (AF_NFC): Define.
11658
cbff0d96
UD
11659 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11664
9191c04a
UD
11665 [BZ #13021]
11666 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11667 installed.
11668
bba33c28
UD
11669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11670 typo.
11671 (_dl_x86_64_save_sse): Likewise.
11672
90f139dd
UD
116732011-07-22 Ulrich Drepper <drepper@gmail.com>
11674
1aae088a
UD
11675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11676 OSXSAVE.
11677 (_dl_x86_64_save_sse): Likewise.
11678
8e2045f5
UD
11679 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11680
90f139dd
UD
11681 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11682
1d002f25
AS
116832011-07-21 Andreas Schwab <schwab@redhat.com>
11684
11685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11686 change.
11687 (_dl_x86_64_save_sse): Use correct AVX check.
11688
21137f89
UD
116892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11690
11691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11692 bug in strncpy/strncat.
11693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11694
a65c0b7a
UD
116952011-07-21 Ulrich Drepper <drepper@gmail.com>
11696
11697 * string/tester.c (test_strcat): Add tests for different alignments
11698 of source and destination.
11699 (test_strncat): Likewise.
11700
6986b98a
UD
117012011-07-20 Ulrich Drepper <drepper@gmail.com>
11702
90bb2039
UD
11703 [BZ #12852]
11704 * posix/glob.c (glob): Check passed in values before using them in
11705 expressions to avoid some overflows.
11706 (glob_in_dir): Likewise.
11707
5644ef54
UD
11708 [BZ #13007]
11709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11710 check for AVX enablement so that we don't crash with old kernels and
11711 new hardware.
11712 * elf/tst-audit4.c: Add same checks here.
11713 * elf/tst-audit6.c: Likewise.
11714
11715 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11716
bfc9dc9b
AS
117172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11718
11719 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11720
702e64bb
UD
117212011-07-20 Ulrich Drepper <drepper@gmail.com>
11722
11723 * po/cs.po: Update from translation team.
11724 * po/bg.po: Likewise.
11725
295e904f
MP
117262011-07-12 Marek Polacek <mpolacek@redhat.com>
11727
11728 * misc/sys/cdefs.h: Add support for const attribute.
11729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11730 to gnu_dev_{major,minor,makedev} functions.
11731
3ff94596
MP
117322011-07-20 Marek Polacek <mpolacek@redhat.com>
11733
11734 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11735
28b59fca
AS
117362011-07-20 Andreas Schwab <schwab@redhat.com>
11737
11738 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11739 strlen results.
11740
19df733e
AK
117412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11742
11743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11744 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11745 register in order to avoid conflicts with the soft frame pointer
11746 being held in r11 when necessary.
11747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11748 (INTERNAL_VSYSCALL_NCS): Likewise.
11749
c8835729
MP
117502011-07-14 Marek Polacek <mpolacek@redhat.com>
11751
11752 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11753 * elf/dl-fini.c (_dl_fini): Adjust caller.
11754 * elf/dl-close.c (_dl_close_worker): Likewise.
11755 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11756
b902330c
MP
117572011-07-15 Marek Polacek <mpolacek@redhat.com>
11758
8991e135
MP
11759 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11760 "aux_cache->nlibs < 0".
11761
b902330c
MP
11762 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11763 in the reload-count case.
11764
99710781
LD
117652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11766
11767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11768 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11769 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11771 * sysdeps/x86_64/multiarch/strcat.S: New file.
11772 * sysdeps/x86_64/multiarch/strncat.S: New file.
11773 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11774 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11775 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11776 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11778 (USE_AS_STRCAT): Define.
11779 Add strcat and strncat support.
11780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11781 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11782 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11783 * string/strncat.c: Update.
11784 (USE_AS_STRNCAT): Define.
11785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11786 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11787 and i7.
11788 * sysdeps/x86_64/multiarch/init-arch.h
11789 (bit_Prefer_PMINUB_for_stringop): New.
11790 (index_Prefer_PMINUB_for_stringop): Likewise.
11791 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11792 bit_Prefer_PMINUB_for_stringop.
11793
7dc6bd90
UD
117942011-07-19 Ulrich Drepper <drepper@gmail.com>
11795
11796 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11797 buffer64.
11798 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11799 of casting of buffer.
11800 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11801 buffer32 and buffer64.
11802 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11803 writes instead of casting of buffer.
11804 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11805 buffer32.
11806 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11807 casting of buffer.
11808
e0e72284
AS
118092011-07-19 Andreas Schwab <schwab@redhat.com>
11810
11811 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11812
feb1eb0b
UD
118132011-07-19 Ulrich Drepper <drepper@gmail.com>
11814
11815 * nscd/nscd.c (termination_handler): Don't do anything for a database
11816 if it has not yet been initialized.
11817
298711ff
UD
118182011-07-18 Ulrich Drepper <drepper@gmail.com>
11819
11820 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11821
118222011-07-15 Marek Polacek <mpolacek@redhat.com>
11823
11824 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11825
f9d68389
UD
118262011-07-18 Ulrich Drepper <drepper@gmail.com>
11827
11828 * po/nl.po: Update from translation team.
11829 * po/sv.po: Likewise.
11830
db290cf5
RM
118312011-07-16 Roland McGrath <roland@hack.frob.com>
11832
11833 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11834 now disallowed by GCC.
5c550700 11835
fd5e21c7
RM
11836 * configure.in (use-default-link): Default to yes if a test -shared
11837 link meets our qualifications.
11838 * configure: Regenerated.
11839
5c550700
RM
11840 * config.make.in (output-format): New variable.
11841 * configure.in: Check for ld --print-output-format support.
11842 * configure: Regenerated.
11843 * Makerules ($(common-objpfx)format.lds)
11844 [$(output-format) != unknown]: Just use $(output-format),
11845 instead of the linker-script munging.
11846
9fa2c032
RM
118472011-07-14 Roland McGrath <roland@hack.frob.com>
11848
a6928d51
RM
11849 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11850 of $(common-objpfx)shlib.lds.
11851 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11852
661607b3
RM
11853 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11854 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11855
9fa2c032
RM
11856 * configure.in (-z relro check): Adjust test code to add a large
11857 writable data section after it.
11858 * configure: Regenerated.
11859
defe9061
RM
118602011-07-11 Roland McGrath <roland@hack.frob.com>
11861
11862 * configure.in (-z relro check): Fix test code to make the variable
11863 truly const.
11864 * configure: Regenerated.
11865
319b9ad4
UD
118662011-07-11 Ulrich Drepper <drepper@gmail.com>
11867
11868 * nscd/nscd.h (struct traced_file): Define.
11869 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11870 elements. Add traced_files.
11871 (inotify_fd): Declare.
11872 (register_traced_file): Declare.
11873 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11874 (inotify_fd): Export.
11875 (resolv_conf_descr): Remove.
11876 (nscd_init): Move inotify descriptor creation to main.
11877 Don't register files for notification here.
11878 (register_traced_file): New function.
11879 (invalidate_cache): Don't use reset_res to determine whether to call
11880 res_init, go through the list of registered files.
11881 (main_loop_poll): The inotify descriptors are now stored in the
11882 structures for the traced files.
11883 (main_loop_epoll): Likewise
11884 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11885 to __nss_disable_nscd.
11886 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11887 for a database anymore. Check the records for all the registered
11888 files instead.
11889 * nss/Makefile (libnss_files-routines): Add files-init.
11890 (libnss_db-routines): Add db-init.
11891 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11892 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11893 * nss/nss_db/db-init.c: New file.
11894 * nss/nss_files/files-init.c: New file.
11895 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11896 __nss_lookup_function.
11897 (__nss_lookup_function): Call nss_load_library.
11898 (nss_load_all_libraries): New function.
11899 (__nss_disable_nscd): Take parameter with callback function for files
11900 to register. Set is_nscd. Load all the DSOs for the NSS modules
11901 used for the cached services.
11902 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11903 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11904 options for features to all the files in nscd.
11905
11906 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11907
23bee3e8
RM
119082011-07-10 Roland McGrath <roland@hack.frob.com>
11909
11910 * csu/elf-init.c (__libc_csu_init): Comment typo.
11911
46a5b7f0
UD
119122011-07-09 Ulrich Drepper <drepper@gmail.com>
11913
11914 * po/pl.po: Update from translation team.
11915 * po/ja.po: Likewise.
11916 * po/ru.po: Likewise.
11917 * po/ko.po: Likewise.
11918 * po/fr.po: Likewise.
11919
d30cf5bb
RM
119202011-07-09 Roland McGrath <roland@hack.frob.com>
11921
113ddea4
RM
11922 * configure.in (.ctors/.dtors header and trailer check):
11923 Use an empirical test on a built program.
11924 * configure: Regenerated.
11925
574920b4
RM
11926 * configure.in (-z relro check): Use an empirical test on a built DSO.
11927 Detect, but do not require, on ia64.
11928 * configure: Regenerated.
11929
d30cf5bb
RM
11930 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11931 Update tests that use readelf to use $READELF instead.
11932 * configure: Regenerated.
11933
8538fdb3
UD
119342011-07-08 Ulrich Drepper <drepper@gmail.com>
11935
11936 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11937 if the result is not used.
11938
04d08991
AJ
119392011-07-05 Andreas Jaeger <aj@suse.de>
11940
11941 [BZ#9696]
11942 * stdlib/tst-strtod.c: Add testcase.
11943
de283087
AD
119442011-07-07 Ulrich Drepper <drepper@gmail.com>
11945
4e5f31c8 11946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11947 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11948 The latter has a higher limit. Take additional parameter to pass to
11949 the new function.
11950 (__pathconf): Pass file to __statfs_link_max.
11951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11952 __statfs_link_max.
11953 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11954 __statfs_link_max.
11955
de283087
AD
11956 [BZ #12868]
11957 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11959 Handle Lustre.
11960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11961 (__statfs_filesize_max): Likewise.
11962 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11963
c75fa153
AJ
119642011-07-05 Andreas Jaeger <aj@suse.de>
11965
11966 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11967
1a544854
UD
119682011-07-06 Marek Polacek <mpolacek@redhat.com>
11969
11970 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11971 `status' variable.
11972 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11973 Likewise.
11974
6f0eec67
UD
119752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 * Makefile (strop-tests): Add strncat.
11978 * string/test-strncat.c: New file.
11979
aae30307
UD
119802011-06-30 Marek Polacek <mpolacek@redhat.com>
11981
11982 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11983
c0cfb5eb
UD
119842011-06-21 Andreas Jaeger <aj@suse.de>
11985
11986 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11987 Copy rule from iconvdata/Makefile.
11988
01636b21
UD
119892011-07-06 Ulrich Drepper <drepper@gmail.com>
11990
11991 [BZ #12922]
11992 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11993 but no long options are defined, just return 'W'.
11994
9895c8bc
UD
119952011-06-22 Marek Polacek <mpolacek@redhat.com>
11996
11997 [BZ #9696]
11998 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11999
5d4cf042
UD
120002011-07-06 Ulrich Drepper <drepper@gmail.com>
12001
12002 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12003 netgroups to read.
960e5535 12004 (innetgr): Likewise.
5d4cf042 12005
751eb97e
RM
120062011-07-05 Roland McGrath <roland@hack.frob.com>
12007
12008 * config.make.in (install_root): Default to $(DESTDIR).
12009
f15f1e45
UD
120102011-07-05 Ulrich Drepper <drepper@gmail.com>
12011
12012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12013
4e34ac6a
RM
120142011-07-02 Roland McGrath <roland@hack.frob.com>
12015
5e9b6af4
RM
12016 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12017
84f9ea0f
RM
12018 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12019 containing directory rather than embedding absolute directory names.
12020
ea5ee9f7
RM
12021 * scripts/check-local-headers.sh: Rewritten using awk.
12022 Match by word, not by line. Print error messages for matches.
12023 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12024
1b74661a
RM
12025 * Makerules [shlib-lds-flags empty]:
12026 ($(common-objpfx)libc_pic.opts): New target.
12027 ($(common-objpfx)libc_pic.os.clean): New target.
12028 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12029
12030 * config.make.in (OBJCOPY): New variable.
12031 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12032 * configure: Regenerated.
12033
f781ef40
RM
12034 * config.make.in (use-default-link): New variable.
12035 * configure.in (use_default_link): Grok --with-default-link to set it.
12036 * configure: Regenerated.
12037 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12038 (shlib-lds, shlib-lds-flags): Define to empty.
12039
2d4fa81e
RM
12040 * Makerules (shlib-lds): New variable.
12041 (shlib-lds-flags): New variable.
12042 (build-shlib, build-moduile, build-module-asneeded): Use it.
12043 ($(common-objpfx)libc.so): Use $(shlib-lds).
12044 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12046
31fffa6b
RM
12047 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12048 DT_FLAGS/DT_FLAGS_1 with zero flags.
12049
4e34ac6a
RM
12050 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12051 linker script munging.
12052
fcfc776b
UD
120532011-07-02 Ulrich Drepper <drepper@gmail.com>
12054
12055 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12056 as 128-bit value.
12057 * crypt/sha512.c (sha512_process_block): Perform total addition using
12058 128-bit if possible.
12059 (__sha512_finish_ctx): Likewise.
12060 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12061 as 64-bit value.
12062 * crypt/sha256.c (SWAP64): Define.
12063 (sha256_process_block): Perform total addition using 64-bit if
12064 possible.
12065 (__sha256_finish_ctx): Likewise.
12066
99231d9a
UD
120672011-07-01 Ulrich Drepper <drepper@gmail.com>
12068
12069 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12071 * nscd/hstcache.c (cache_addhst): Likewise.
12072 * nscd/grpcache.c (cache_addgr): Likewise.
12073 * nscd/aicache.c (addhstaiX): Likewise
12074 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12075
445b4a53
TK
120762011-07-01 Thorsten Kukuk <kukuk@suse.de>
12077
12078 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12080 * nscd/hstcache.c (cache_addhst): Likewise.
12081 * nscd/grpcache.c (cache_addgr): Likewise.
12082 * nscd/aicache.c (addhstaiX): Likewise
12083
6d4d8e8e
AS
120842011-07-01 Andreas Schwab <schwab@redhat.com>
12085
12086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12087 domain only when needed.
12088
89f654c5
AS
120892011-06-30 Andreas Schwab <schwab@redhat.com>
12090
12091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12092 is always restored.
12093
cf3b23ff
UD
120942011-06-29 Ulrich Drepper <drepper@gmail.com>
12095
12096 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12097 are re-adding the entry.
12098 * nscd/servicescache.c (cache_addserv): Likewise.
12099
751626f9
AJ
121002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12101
12102 * sysdeps/generic/dl-irel.h: fix protection against multiple
12103 inclusions.
12104 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12105
9113ea1f
UD
121062011-06-28 Ulrich Drepper <drepper@gmail.com>
12107
5c0b8d90
UD
12108 [BZ #12935]
12109 * malloc/memusage.sh: Fix quoting in message.
12110 * debug/xtrace.sh: Likewise.
12111
9113ea1f
UD
12112 * configure.in: Remove support for --experimental-malloc option, make
12113 it the default.
12114 * config.make.in: Likewise.
12115 * malloc/Makefile: Likewise.
12116
a4172181
AS
121172011-06-27 Andreas Schwab <schwab@redhat.com>
12118
12119 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12120 two-byte characters.
12121
78a7eee7
RM
121222011-06-27 Roland McGrath <roland@hack.frob.com>
12123
62bede13
RM
12124 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12125 AC_CACHE_CHECK invocation.
12126 * configure: Regenerated.
12127
78a7eee7
RM
12128 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12129
5ce33a62
UD
121302011-06-27 Ulrich Drepper <drepper@gmail.com>
12131
034807a9
UD
12132 [BZ #12350]
12133 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12134 bit from old_res_options.
12135
4902da17
UD
12136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12137
5ce33a62
UD
12138 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12139 value type for setfct.
12140
c2344f56
L
121412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12142
12143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12144 __gettimeofday instead of gettimeofday.
12145
68468076
UD
121462011-06-26 Ulrich Drepper <drepper@gmail.com>
12147
12148 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12149
acb0d739
L
121502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12153
12154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12155 info.
12156
8912479f
L
121572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12160 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12161 strcpy-sse2-unaligned strncpy-sse2-unaligned
12162 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12163 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12164 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12165 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12166 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12169 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12170 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12171 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12172 (STRCPY): Support SSE2 and SSSE3 versions.
12173
d5495a11
UD
121742011-06-24 Ulrich Drepper <drepper@gmail.com>
12175
12176 [BZ #12874]
12177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12178 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12179 kernels which artificially limit size of requests.
12180
0b1cbaae
L
121812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12184 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12185 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12186 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12187 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12188 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12189 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12190 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12193 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12194 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12195 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12196 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12197 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12199 Enable unaligned load optimization for Intel Core i3, i5 and i7
12200 processors.
12201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12202 Define.
12203 (index_Fast_Unaligned_Load): Define.
12204 (HAS_FAST_UNALIGNED_LOAD): Define.
12205
07f494a0
MP
122062011-06-23 Marek Polacek <mpolacek@redhat.com>
12207
12208 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12209
fa3fc0fe
UD
122102011-06-22 Ulrich Drepper <drepper@gmail.com>
12211
12212 [BZ #12907]
12213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12214 until it is clear that the information is realy needed.
12215 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12216
e12df166
AS
122172011-06-22 Andreas Schwab <schwab@redhat.com>
12218
12219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12220
852eb34d
UD
122212011-06-22 Ulrich Drepper <drepper@gmail.com>
12222
84e2a551
UD
12223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12224 /sys/devices/system/cpu/online if it is usable.
12225
852eb34d
UD
12226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12227 reading the information from the /proc filesystem to once a second.
12228
6e502e19
UD
122292011-06-21 Andreas Jaeger <aj@suse.de>
12230
12231 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12232 NULL after inclusion of kernel headers.
12233
75d39ff2
UD
122342011-06-21 Ulrich Drepper <drepper@gmail.com>
12235
51f9aa6a
UD
12236 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12237 calls to internal_setent.
12238
c0244a9d
UD
12239 [BZ #12885]
12240 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12241 addresses using gethostbyname4_r ignore IPv4 addresses.
12242
c5e3c2ae
UD
12243 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12244 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12245
75d39ff2
UD
12246 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12247
42675c6f
DM
122482011-06-20 David S. Miller <davem@davemloft.net>
12249
12250 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12251 inclusions.
12252 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12253
12254 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12255 (elf_irel): Use it.
12256 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12257 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12258 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12259 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12260 * sysdeps/x86_64/dl-irel.h: Likewise.
12261
12262 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12263 * elf/dl-sym.c: Likewise.
12264
57912a71
UD
122652011-06-15 Ulrich Drepper <drepper@gmail.com>
12266
12267 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12268 need to dereference resplen2.
12269
ee22793d
AS
122702011-06-14 Andreas Schwab <schwab@redhat.com>
12271
12272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12273
a9e836b0
UD
122742011-06-15 Ulrich Drepper <drepper@gmail.com>
12275
77fb9117
UD
12276 * Makeconfig: Define vardbdir and inst_vardbdir.
12277 * nss/Makefile: Add rules to install db-Makefile.
12278
40c1b22c
UD
12279 * nss/nss_db/db-XXX.c: Cleanup.
12280
9f2da732
UD
12281 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12282 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12283 GLIBC_PRIVATE.
12284 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12285 * nss/makedb.c: Implement -g option to specify that value strings
12286 are generated and should not be added to table iterated over for
12287 get*ent calls.
12288 * nss/nss_db/db-initgroups.c: New file.
12289
82e9a1f7
UD
12290 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12291 interface.
12292
c41af17e
UD
12293 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12294 (internal_getgrouplist): Adjust to name change.
12295 Update use_initgroups_entry if this is not the first call.
12296 * nss/databases.def: Add initgroups entry.
12297
a9e836b0
UD
12298 * nss/makedb.c (compute_tables): Check result of multiple hash table
12299 sizes to minimize maximum chain length.
12300
2666d441
UD
123012011-06-14 Ulrich Drepper <drepper@gmail.com>
12302
12303 * Versions.def: Add entry for libnss_db.
12304 * shlib-versions: Likewise.
12305 * nss/Makefile: Add rules to build libnss_db.
12306 * nss/Versions: Add libnss_db information. Organize libnss_files
12307 entries better.
12308 * nss/db-Makefile: Add gshadow support. Change rules for the new
12309 makedb progra. Some minor improvements to generate smaller files.
12310 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12311 here from...
12312 * nss/makedb.c: ...here.
12313 Improve database format to be smaller and require less memory at
12314 runtime.
12315 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12316 db anymore.
12317 * nss/nss_db/db-netgrp.c: Likewise.
12318 * nss/nss_db/db-open.c: Likewise.
12319 * nss/nss_files/flies-XXX.x: Adjust comments.
12320 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12321 * nss/nss_files/files-grp.c: Likewise.
12322 * nss/nss_files/files-hosts.c: Likewise.
12323 * nss/nss_files/files-network.c: Likewise.
12324 * nss/nss_files/files-proto.c: Likewise.
12325 * nss/nss_files/files-pwd.c: Likewise.
12326 * nss/nss_files/files-rpc.c: Likewise.
12327 * nss/nss_files/files-service.c: Likewise.
12328 * nss/nss_files/files-sgrp.c: Likewise.
12329 * nss/nss_files/files-spwd.c: Likewise.
12330 * nss/nss_db/db-alias.c: Removed.
12331 * nss/nss_db/dummy-db.h: Removed.
12332
9ee76b5a
UD
123332011-06-02 Ulrich Drepper <drepper@gmail.com>
12334
12335 * nss/makedb.c: Rewritten to not use database library.
12336 * nss/Makefile: Update to build new makedb program.
12337
c71ca1f8
AJ
123382011-06-14 Andreas Jaeger <aj@suse.de>
12339
12340 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12341 memset declaration.
12342
3154bfb8
UD
123432011-06-10 Andreas Schwab <schwab@redhat.com>
12344
12345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12346 tmpbuf.
12347
b350afab
RM
123482011-06-10 Roland McGrath <roland@hack.frob.com>
12349
decd4e50
RM
12350 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12351 * elf/Makefile ($(objpfx)ld.so): Likewise.
12352
5615eaf2
RM
12353 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12354 Don't list ld.so twice in dependencies.
12355
12356 * posix/bug-regex31.c: Include <stdlib.h>.
12357
12358 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12359
12360 * nis/nss_compat/compat-spwd.c
12361 (getspent_next_nss_netgr): Remove unused variable.
12362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12363
12364 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12365 nonmembers" output to use the right array.
12366
12367 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12368
12369 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12370
12371 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12372 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12373 * catgets/gencat.c (read_input_file): Likewise.
12374 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12375
12376 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12377 variable definition inside #if's controlling its use.
12378
12379 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12380
12381 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12382
12383 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12384
12385 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12386 unreachable code.
12387
12388 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12389
b68e08db
RM
12390 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12391 * configure: Regenerated.
12392
b350afab
RM
12393 * Makerules: Revert last change.
12394 * elf/Makefile: Likewise.
12395
28368601
RM
123962011-06-09 Roland McGrath <roland@hack.frob.com>
12397
12398 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12399 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12400 (reloc-link): Likewise.
12401
11988f8f
UD
124022011-06-09 Ulrich Drepper <drepper@gmail.com>
12403
12404 * elf/Makefile: Add rules to build pldd.
12405 * elf/pldd.c: New file.
12406 * elf/pldd-xx.c: New file.
12407
e80fab37
UD
124082011-06-07 Ulrich Drepper <drepper@gmail.com>
12409
12410 * version.h: Update for 2.15 development version.
12411
9b849836
DM
124122011-06-07 David S. Miller <davem@davemloft.net>
12413
12414 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12415 ifuncs.
12416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12417 elf_machine_lazy_rel): Likewise.
12418 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12420 elf_machine_lazy_rel): Likewise.
12421 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12422 dl_hwcap via passed in argument.
12423 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12424 Likewise.
12425
5a31b283
AK
124262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12427
12428 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12429
069e52f8
RM
124302011-06-06 Roland McGrath <roland@hack.frob.com>
12431
12432 [BZ #12849]
12433 * manual/fdl-1.1.texi: New file, verbatim from:
12434 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12435 * manual/lgpl-2.1.texi: New file, verbatim from:
12436 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12437 * manual/Makefile (licenses): New variable, list those new file names.
12438 (texis): Use it.
12439 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12440
12441 * manual/fdl.texi: File removed.
12442 * manual/lesser.texi: File removed.
12443 * manual/libc.texinfo (Copying, Documentation License):
12444 Use new @include file names, put @appendix directive before @include.
12445
f16846a5
JJ
124462011-06-04 Jakub Jelinek <jakub@redhat.com>
12447
12448 [BZ #12841]
12449 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12450 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12451 (mq_open): Add __NTH.
12452
3d29045b
L
124532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12454
12455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12456 Assume Intel Core i3/i5/i7 processor if AVX is available.
12457
8c297311
UD
124582011-05-31 Ulrich Drepper <drepper@gmail.com>
12459
12460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12461 typo.
12462
c8fc0c91
UD
124632011-05-31 Andreas Schwab <schwab@redhat.com>
12464
12465 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12466 memory. Use alloca_account. Fix memory leak when retrying.
12467
5b27a807
UD
124682011-05-31 Ulrich Drepper <drepper@gmail.com>
12469
356f8bc6
UD
12470 * version.h (RELEASE): Bump for 2.14 release.
12471 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12472
5b27a807
UD
12473 * config.make.in (RANLIB): Remove entry.
12474
01f16ab0
UD
124752011-05-30 Ulrich Drepper <drepper@gmail.com>
12476
41fce8bd
UD
12477 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12478 (libc.pot): Work around missing support for .ksh extension in xgettext.
12479
4769ae77
UD
12480 [BZ #12684]
12481 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12482 if both request failed.
12483 (send_dg): In case of server errors clear resplen or *resplen2.
12484
6b1e7d19
UD
12485 [BZ #12454]
12486 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12487 when there are multiple maps.
12488 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12489 (_dl_fini): Remove test here.
12490
01f16ab0
UD
12491 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12492
b1ebd700
UD
124932011-05-29 Ulrich Drepper <drepper@gmail.com>
12494
7ae22829
UD
12495 [BZ #12350]
12496 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12497 bit from old_res_options.
12498 (gaih_inet): Likewise.
12499
553149f6 12500 [BZ #11099]
18a84741 12501 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12502 as signed.
12503
652ffab1
UD
12504 * resolv/res_init.c (res_setoptions): Make the code more compact.
12505
16985fd0
UD
12506 [BZ #11558]
12507 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12508 set RES_USEVC.
12509
0464f746
UD
12510 [BZ #11634]
12511 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12512
7d17596c
UD
12513 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12514
cf6bbbd7
UD
12515 [BZ #11781]
12516 * malloc/malloc.h: Declare malloc hook variables as volatile.
12517
13f1ab36
UD
12518 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12519 in last patch.
12520
b1ebd700
UD
12521 [BZ #11799]
12522 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12523 raise in the comment.
80e2212d
UD
12524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12526 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12527
ce67228d
UD
125282011-05-28 Ulrich Drepper <drepper@gmail.com>
12529
8887a920
UD
12530 [BZ #12811]
12531 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12532 grow the buffers more if it already has to be sufficient.
12533 (build_wcs_upper_buffer): Likewise.
12534 * posix/regexec.c (check_matching): Likewise.
12535 (clean_state_log_if_needed): Likewise.
12536 (extend_buffers): Don't enlarge buffers beyond size of the input
12537 buffer.
12538 Patches mostly by Emil Wojak <emil@wojak.eu>.
12539 * posix/bug-regex32.c: New file.
12540 * posix/Makefile (tests): Add bug-regex32.
12541
4f031072
UD
12542 * locale/findlocale.c (_nl_find_locale): Return right away if
12543 _nl_explode_name failed.
12544 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12545
d0478f0c
UD
12546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12547
de81b246
UD
12548 * debug/xtrace.sh: Unify messages.
12549 * malloc/memusage.sh: Likewise.
12550
c738465a
UD
12551 [BZ #12813]
12552 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12553 time symbol from vDSO. Substitute with vsyscall if not available.
12554 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12555 __vdso_time.
12556
f1f929d7
UD
12557 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12558 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12560 Add sendmmsg and internal_sendmmsg.
12561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12562 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12564
ce67228d
UD
12565 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12566 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12568
e57420c6
UD
125692011-05-27 Ulrich Drepper <drepper@gmail.com>
12570
a8509ca5
UD
12571 [BZ #12813]
12572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12573 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12574 available.
12575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12576 __vdso_getcpu.
12577
e57420c6
UD
12578 [BZ #12814]
12579 * iconvdata/Makefile (tests): Add bug-iconv9.
12580 * iconvdata/bug-iconv9.c: New file.
12581
4d07db15
AS
125822011-05-27 Andreas Schwab <schwab@redhat.com>
12583
12584 [BZ #12814]
12585 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12586
ea486f69
JJ
125872011-05-25 Jakub Jelinek <jakub@redhat.com>
12588
12589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12590 (struct user_regs_struct): Change intcs field back to cs.
12591
6f038433
UD
125922011-05-25 Ulrich Drepper <drepper@gmail.com>
12593
12594 * po/ja.po: Update from translation team.
12595
67f86a25
UD
125962011-05-23 Ulrich Drepper <drepper@gmail.com>
12597
12598 [BZ #12795]
12599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12601
def7fbd6
AS
126022011-05-20 Andreas Schwab <schwab@redhat.com>
12603
12604 * stdlib/longlong.h: Update from GCC.
12605
f50ef8f1
AS
126062011-05-23 Andreas Schwab <schwab@redhat.com>
12607
12608 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12609 parameter name.
12610 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12611 Add parameter name.
12612 (__sysconf): Pass it down.
12613
de7ce8f1
UD
126142011-05-22 Ulrich Drepper <drepper@gmail.com>
12615
f2962a71
UD
12616 [BZ #12671]
12617 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12618 some situations.
12619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12620 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12621 add in in __libc_use_alloca calls. Adjust callers.
12622 (glob): Use malloc in some situations.
12623
de7ce8f1
UD
12624 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12625 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12626 pltexit.
12627
aec84f53
UD
126282011-05-21 Ulrich Drepper <drepper@gmail.com>
12629
05bb4a68
UD
12630 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12631 and CLOCK_BOOTTIME_ALARM.
12632
7ea72f99
UD
12633 [BZ #12782]
12634 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12635 is returned.
12636
7e4afad5
UD
12637 * string/_strerror.c (__strerror_r): Print negative errors as signed
12638 numbers.
12639
8e211fec
UD
12640 [BZ #12777]
12641 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12642 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12643 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12644
f7d82dc9
UD
12645 * configure.in: Fix typo in redirection and correct removal of test
12646 files in two cases.
12647
cc9e536d
UD
12648 [BZ #12788]
12649 * locale/setlocale.c (new_composite_name): Fix test to check for
12650 identical name of all categories.
12651
aec84f53
UD
12652 [BZ #12792]
12653 * libio/filedoalloc.c (local_isatty): New function.
12654 (_IO_file_doallocate): Use local_isatty.
12655 * stdio-common/perror.c (perror): In case a new stream is used
12656 forward the stream error.
12657 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12658 error flag.
12659
78e64fdc
RT
126602011-05-20 Ulrich Drepper <drepper@gmail.com>
12661
34a9094f
UD
12662 [BZ #11869]
12663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12664 alloca.
12665 * include/alloca.h (extend_alloca_account): Define.
12666
78e64fdc
RT
12667 [BZ #11857]
12668 * posix/regex.h: Fix comments with documentation of user-accessible
12669 fields after compilation and describe correct free'ing of pattern
12670 after re_compile_pattern.
12671 Patch by Reuben Thomas <rrt@sc3d.org>.
12672
457bddfc
RA
126732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12674
12675 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12676 and -mno-altivec to prevent the compiler from using Altivec and/or
12677 VSX instructions when the corresponding registers are not available.
12678
a4527b51
AS
126792011-05-19 Andreas Schwab <schwab@redhat.com>
12680
12681 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12682
ed690b2f
UD
126832011-05-19 Ulrich Drepper <drepper@gmail.com>
12684
12685 * libio/freopen.c (freopen): Use __dup2, not dup2.
12686 * libio/freopen64.c (freopen64): Likewise.
12687
8db73634
L
126882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 [BZ #12775]
12691 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12692 * math/Makefile (tests): Add test-powl.
12693 (CFLAGS-test-powl.c): Define.
12694 * math/test-powl.c: New file.
12695
0a197a9d
L
126962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12697
12698 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12699
ee30c380
UD
127002011-05-17 Ulrich Drepper <drepper@gmail.com>
12701
12702 [BZ #11837]
12703 * iconvdata/gb18030.c: Update to GB18020-2005.
12704
6ce75379
UD
127052011-05-16 Ulrich Drepper <drepper@gmail.com>
12706
a4b89fd8
AR
12707 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12708 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12709 Patch by Aharon Robbins <arnold@skeeve.com>.
12710
ea389b12
UD
12711 [BZ #11892]
12712 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12713 on the stack.
12714
68a3f91f
UD
12715 [BZ #11895]
12716 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12717 through underflows.
12718
15cc7dd1
UD
12719 [BZ #12766]
12720 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12721 point to strings before performing equality test for error_one_per_line
12722 mode.
12723
f3799213
UD
12724 [BZ #11697]
12725 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12726
d79a9c94
UD
12727 [BZ #11820]
12728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12729 (struct user_fpregs_struct): Avoid __uint*_t types.
12730
56e5eb46
UD
12731 [BZ #6420]
12732 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12733 symbol info. Use it instead of calling _dl_addr locally.
12734 (lock_and_info): New function.
12735 (tr_freehook): Call lock_and_info and pass symbol info as additional
12736 parameter to tr_where.
12737 (tr_mallochook): Likewise.
12738 (tr_reallochook): Likewise.
12739 (tr_memalignhook): Likewise.
12740
6ce75379
UD
12741 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12742 used and couldn't be at all thread-safe.
12743
f8a3b5bf
UD
127442011-05-15 Ulrich Drepper <drepper@gmail.com>
12745
94b7cc37
UD
12746 * libio/freopen.c (freopen): Don't close old file descriptor
12747 before the new one is opened. Instead dup the new file descriptor
12748 to the old one after the new stream is created.
12749 * libio/freopen64.c (freopen64): Likewise.
12750 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12751 * libio/fileops.c (_IO_new_file_close_it): Handle new
12752 _IO_FLAGS2_NOCLOSE flag.
12753 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12754 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12755 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12756 _IO_FLAGS2_NOCLOSE flag.
12757 * include/unistd.h: Add hidden_proto for dup3.
12758 Define __have_dup3.
12759 * io/dup3.c: Define hidden symbol.
12760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12761
bd25564e
UD
12762 [BZ #7101]
12763 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12764 when an incomplete long option is used.
12765 * posix/tst-getopt_long1.c: New file.
12766 * posix/Makefile (tests): Add tst-getopt_long1.
12767
c84cfef4
UD
12768 [BZ #10138]
12769 * scripts/config.guess: Update from autoconf-2.68.
12770 * scripts/config.sub: Likewise.
12771
3b85df27
UD
12772 [BZ #10157]
12773 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12774 tests into ...
12775 (has_cpuclock): ...this. New function.
12776 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12777 macro here based on has_cpuclock code.
12778
15a856b1
UD
12779 [BZ #10149]
12780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12781 First byte (not low byte) is now always NUL.
12782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12783
05f399e6
UD
12784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12785 Use non-cancelable interfaces.
12786
10a52685 12787 [BZ #9809]
94ecc67d
UD
12788 * locale/iso-639.def: Add entry for Sorani.
12789
f8a3b5bf
UD
12790 [BZ #11901]
12791 * include/stdlib.h: Move include protection to the right place.
12792 Define abort_msg_s. Declare __abort_msg with it.
12793 * stdlib/abort.c (__abort_msg): Adjust type.
12794 * assert/assert.c (__assert_fail_base): New function. Majority
12795 of code from __assert_fail. Allocate memory for __abort_msg with
12796 mmap.
12797 (__assert_fail): Now call __assert_fail_base.
12798 * assert/assert-perr.c: Remove bulk of implementation. Use
12799 __assert_fail_base.
12800 * include/assert.hL Declare __assert_fail_base.
12801 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12802 mmap.
12803 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12804
1af4e298
UD
128052011-05-14 Ulrich Drepper <drepper@gmail.com>
12806
f8a3b5bf 12807 [BZ #11952]
d26dfc60
MG
12808 [BZ #12453]
12809 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12810 until all modules are registered in the DTV.
12811 * elf/Makefile: Add rules to build and run tst-tls19.
12812 * elf/tst-tls19.c: New file.
12813 * elf/tst-tls19mod1.c: New file.
12814 * elf/tst-tls19mod2.c: New file.
12815 * elf/tst-tls19mod3.c: New file.
12816 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12817
2fc54d6f
UD
12818 [BZ #12083]
12819 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12820 correctly.
12821
98d76b46
UD
12822 [BZ #12601]
12823 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12824 two-byte sequence errors.
12825 * iconvdata/Makefile (tests): Add bug-iconv8.
12826 * iconvdata/bug-iconv8.c: New file.
12827
da3c19ef
UD
12828 [BZ #12626]
12829 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12830 buf2 definition.
12831
ca408c15
UD
12832 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12833
d6f67f7d
UD
12834 [BZ #12432]
12835 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12836 (dummy_getcfa): New function.
12837 (init): Get _Unwind_GetCFA address, use dummy if not found.
12838 (backtrace_helper): In recursion check, also check whether CFA changes.
12839 (__backtrace): Completely initialize arg.
12840
1af4e298 12841 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12842 storing incomplete byte sequence in state object. Avoid testing for
12843 guaranteed too small input if we know there is enough data available.
1af4e298 12844
da62f81b
AS
128452011-05-11 Andreas Schwab <schwab@redhat.com>
12846
12847 * Makeconfig (+link-pie): Indent.
12848 * Rules (binaries-pie): Define if $(have-fpie) and
12849 $(build-shared).
12850 (binaries-shared): Also filter out $(binaries-pie).
12851 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12852 * nscd/Makefile (others-pie): Add nscd.
12853 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12854 ($(objpfx)nscd): Remove command override.
12855 * login/Makefile (others-pie): Add pt_chown.
12856 ($(objpfx)pt_chown): Remove command override.
12857 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12858 remove command overrides.
12859
fcabc0f8
UD
128602011-05-13 Ulrich Drepper <drepper@gmail.com>
12861
20030ae6
UD
12862 * libio/tst_putwc.c: Fix error messages.
12863
fcabc0f8
UD
12864 [BZ #12724]
12865 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12866 currently writing and seek to current position when not.
12867 * libio/Makefile (tests): Add bug-fclose1.
12868 * libio/bug-fclose1.c: New file.
12869
320a5dc0
PB
128702011-05-12 Ulrich Drepper <drepper@gmail.com>
12871
12872 [BZ #12511]
12873 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12874 don't set DF_1_NODELETE here.
12875 (do_lookup_x): When entering new entry test for copy relocation
12876 and if necessary set DF_1_NODELETE flag.
12877 * elf/tst-unique4.cc: New file.
12878 * elf/tst-unique4.h: New file.
12879 * elf/tst-unique4lib.cc: New file.
12880 * elf/Makefile: Add rules to build and run tst-unique4.
12881 Patch by Piotr Bury <pbury@goahead.com>.
12882
22836f52
UD
128832011-05-11 Ulrich Drepper <drepper@gmail.com>
12884
f574184a
UD
12885 [BZ #12052]
12886 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12887
e1fb097f
UD
12888 [BZ #12625]
12889 * misc/mntent_r.c (addmntent): Flush the stream after the output
12890
22836f52
UD
12891 [BZ #12393]
12892 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12893 (is_trusted_path_normalize): Skip initial colon. Append slash
12894 to empty buffer. Duplicate is_trusted_path code but allow
12895 constructed patch to be prefix.
12896 (is_dst): Allow $ORIGIN followed by /.
12897 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12898 Correct testing of result of is_trusted_path_normalize
12899 (decompose_rpath): Fix warning.
12900
7b3b0b2a
UD
129012011-05-10 Ulrich Drepper <drepper@gmail.com>
12902
12903 [BZ #11257]
12904 * grp/initgroups.c (internal_getgrouplist): When we found the service
12905 list through the initgroups entry in nsswitch.conf do not always
12906 continue on a successful lookup. Don't always use the
eac80ce2 12907 __nss_group_database value if it is set.
7b3b0b2a
UD
12908 * nss/nsswitch.conf (initgroups): Change action for successful db
12909 lookup to continue for compatibility.
12910
2a81eaa5
UD
129112011-05-09 Ulrich Drepper <drepper@gmail.com>
12912
be97a69e
UD
12913 [BZ #11532]
12914 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12915 and CP774 modules.
12916 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12917 and CP774 modules.
12918 * iconvdata/tst-tables.sh: Likewise.
12919 * iconvdata/cp770.c: New file.
12920 * iconvdata/cp771.c: New file.
12921 * iconvdata/cp772.c: New file.
12922 * iconvdata/cp773.c: New file.
12923 * iconvdata/cp774.c: New file.
12924 * iconvdata/testdata/CP770: New file.
12925 * iconvdata/testdata/CP770..UTF8: New file.
12926 * iconvdata/testdata/CP771: New file.
12927 * iconvdata/testdata/CP771..UTF8: New file.
12928 * iconvdata/testdata/CP772: New file.
12929 * iconvdata/testdata/CP772..UTF8: New file.
12930 * iconvdata/testdata/CP773: New file.
12931 * iconvdata/testdata/CP773..UTF8: New file.
12932 * iconvdata/testdata/CP774: New file.
12933 * iconvdata/testdata/CP774..UTF8: New file.
12934
12935 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12936 END CHARMAP line.
12937 * iconvdata/gen-8bit-gap.sh: Likewise.
12938 * iconvdata/gen-8bit.sh: Likewise.
12939
c1e9e399
UD
12940 * locale/iso-639.def: Add ary entry.
12941
24c55fb3 12942 [BZ #11258]
96b4b1b0
UD
12943 * locale/C-translit.h.in: Add U20A1 transliteration.
12944
bdc2f971
KB
12945 [BZ #12178]
12946 * locale/iso-639.def: Add wae entry.
12947 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12948
2952b117
UD
12949 [BZ #12545]
12950 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12951 for n.
12952
2a81eaa5
UD
12953 [BZ #12711]
12954 * locale/C-translit.h.in: Add entry for U20B9.
12955 Patch by pravin.d.s@gmail.com.
12956
28377d1b
UD
129572011-05-08 Ulrich Drepper <drepper@gmail.com>
12958
7fb90fb8
UD
12959 [BZ #12713]
12960 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12961 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12962 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12963 in rtld. Use *stat64.
7fb90fb8 12964 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12965 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12966 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12967 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12968 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12969 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12970 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12971 __fstatat64 macros.
7fb90fb8
UD
12972 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12973 * dirent/rewinddir.c: Add libc_hidden_def.
12974 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12975 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12976
28377d1b
UD
12977 * include/dirent.h (__alloc_dir): Add flags parameter.
12978 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12979 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12980 __alloc_dir.
12981 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12982 from fdopendir if O_CLOEXEC is already set.
12983
66bdbaa4
AM
129842011-03-15 Alan Modra <amodra@gmail.com>
12985
12986 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12987 l_tls_firstbyte_offset non-zero. Save padding offset in
12988 l_tls_firstbyte_offset for later use.
12989 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12990 freeing static tls block.
12991
95721191
JN
129922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12993
12994 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12995 where #ifdef was intended. The intent is to prevent ARG_MAX from
12996 being defined by the kernel headers.
12997
f87dfb1f
UD
129982011-05-07 Ulrich Drepper <drepper@gmail.com>
12999
13000 [BZ #12734]
13001 * resolv/resolv.h: Define RES_NOTLDQUERY.
13002 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13003 no-tld-query and set RES_NOTLDQUERY.
13004 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13005 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13006 modern BIND to search name as TLD unless forbidden.
13007
47c3cd7a
UD
130082011-05-07 Petr Baudis <pasky@suse.cz>
13009 Ulrich Drepper <drepper@gmail.com>
13010
13011 [BZ #12393]
13012 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13013 (is_trusted_path): ...to here.
c1e9ea35 13014 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13015 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13016 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13017
8a35c912
PP
130182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13019
13020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13021 __BEGIN/__END_DECLS.
13022
acd41f47
UD
130232011-05-06 Ulrich Drepper <drepper@gmail.com>
13024
13025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13026 NSS_STATUS_NOTFOUND if no record was found.
13027
597df647
AS
130282011-05-05 Andreas Schwab <schwab@redhat.com>
13029
13030 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13031 (headers-not-in-tirpc): Remove rpc/netdb.h
13032 * resolv/netdb.h: Revert last change.
13033
b9af1301
PP
130342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13035
13036 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13037 circular dependency between libgcc.a and libc.a.
13038
4e34d5f5
AS
130392011-05-05 Andreas Schwab <schwab@redhat.com>
13040
13041 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13042 * nis/Makefile: Don't install rpcsvc/*.
13043 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13044 instead of <rpc/types.h>.
13045 (MAXHOSTNAMELEN): Define.
13046
00ee369c
AS
130472011-05-03 Andreas Schwab <schwab@redhat.com>
13048
13049 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13050
0b592a30
MB
130512011-04-28 Maciej Babinski <mbabinski@google.com>
13052
13053 [BZ #12714]
13054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13055 gethostbyname4_r when IPv6 results are possible.
13056
6e04cbbe
UD
130572011-05-02 Ulrich Drepper <drepper@gmail.com>
13058
13059 [BZ #12723]
13060 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13061 _PC_PIPE_BUF handling.
13062
e4ecafe0
BH
130632011-04-30 Bruno Haible <bruno@clisp.org>
13064
13065 [BZ #12717]
13066 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13067 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13068 to 'int'.
13069 * inet/getnameinfo.c (getnameinfo): Likewise.
13070
125ee683
UD
130712011-04-29 Ulrich Drepper <drepper@gmail.com>
13072
13073 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13074 to groups setting in database lookup.
13075 * nss/nsswitch.conf: Add initgroups entry.
13076
b722481a
EB
130772011-04-22 Ulrich Drepper <drepper@gmail.com>
13078
13079 [BZ #12685]
13080 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13081 mode string.
13082 Patch by Eric Blake <eblake@redhat.com>.
13083
4df46dbd
L
130842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 * sunrpc/Makefile (need-export-routines): Add svc_run.
13087 (routines): Remove svc_run.
13088 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13089 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13090 * sunrpc/svc_run.c (svc_run): Likewise.
13091 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13092
e84142d2
UD
130932011-04-21 Ulrich Drepper <drepper@gmail.com>
13094
13095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13096 problem in reallocation in last patch.
13097
877175d8
UD
130982011-04-20 Ulrich Drepper <drepper@gmail.com>
13099
13100 * sunrpc/Makefile: Move inclusion of Rules.
13101
ab8eed78
UD
131022011-04-19 Ulrich Drepper <drepper@gmail.com>
13103
13104 * nss/nss_files/files-initgroups.c: New file.
13105 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13106 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13107 _nss_files_initgroups_dyn.
13108
e3d8f584
RS
131092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13110
13111 * elf/elf.h (R_ARM_IRELATIVE): Define.
13112
af190f45
UD
131132011-04-19 Ulrich Drepper <drepper@gmail.com>
13114
13115 * po/ru.po: Update from translation team.
13116
53cf59ef
UD
131172011-04-17 Ulrich Drepper <drepper@gmail.com>
13118
13119 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13120 dependencies.
13121
4c559bcd
MF
131222011-02-06 Mike Frysinger <vapier@gentoo.org>
13123
13124 [BZ #12653]
13125 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13126 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13130
4420675c
AS
131312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13132
13133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13134 differing bytes.
13135 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13138
75ea32ab
UD
131392011-04-17 Ulrich Drepper <drepper@gmail.com>
13140
13141 [BZ #12420]
13142 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13143 storing it.
13144 * stdlib/bug-getcontext.c: New file.
13145 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13146
27390476
AK
131472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13148
13149 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13150 instructions into .machine "z9-109".
13151 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13152 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13153
10442705
AK
131542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13155
13156 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13157 between environment variables and auxiliary vector.
13158
7b57bfe5
UD
131592011-04-16 Ulrich Drepper <drepper@gmail.com>
13160
13161 * Makefile: Add rules to build linkobj/libc.so.
13162 * include/libc-symbols.h: Define libc_hidden_nolink.
13163 * include/rpc/auth.h: Mark functions which are to be hidden.
13164 * include/rpc/auth_des.h: Likewise.
13165 * include/rpc/auth_unix.h: Likewise.
13166 * include/rpc/clnt.h: Likewise.
13167 * include/rpc/des_crypt.h: Likewise.
13168 * include/rpc/key_prot.h: Likewise.
13169 * include/rpc/pmap_clnt.h: Likewise.
13170 * include/rpc/pmap_prot.h: Likewise.
13171 * include/rpc/pmap_rmt.h: Likewise.
13172 * include/rpc/rpc_msg.h: Likewise.
13173 * include/rpc/svc.h: Likewise.
13174 * include/rpc/svc_auth.h: Likewise.
13175 * include/rpc/xdr.h: Likewise.
13176 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13177 * nss/Makefile: Likewise.
13178 * sunrpc/Makefile: Don't install headers. Build library with normal
13179 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13180 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13181 for the compat linking library. Remove use of INTDEF/INTUSE.
13182 * sunrpc/auth_none.c: Likewise.
13183 * sunrpc/auth_unix.c: Likewise.
13184 * sunrpc/authdes_prot.c: Likewise.
13185 * sunrpc/authuxprot.c: Likewise.
13186 * sunrpc/clnt_gen.c: Likewise.
13187 * sunrpc/clnt_perr.c: Likewise.
13188 * sunrpc/clnt_raw.c: Likewise.
13189 * sunrpc/clnt_simp.c: Likewise.
13190 * sunrpc/clnt_tcp.c: Likewise.
13191 * sunrpc/clnt_udp.c: Likewise.
13192 * sunrpc/clnt_unix.c: Likewise.
13193 * sunrpc/des_crypt.c: Likewise.
13194 * sunrpc/des_soft.c: Likewise.
13195 * sunrpc/get_myaddr.c: Likewise.
13196 * sunrpc/key_call.c: Likewise.
13197 * sunrpc/key_prot.c: Likewise.
13198 * sunrpc/netname.c: Likewise.
13199 * sunrpc/pm_getmaps.c: Likewise.
13200 * sunrpc/pm_getport.c: Likewise.
13201 * sunrpc/pmap_clnt.c: Likewise.
13202 * sunrpc/pmap_prot.c: Likewise.
13203 * sunrpc/pmap_prot2.c: Likewise.
13204 * sunrpc/pmap_rmt.c: Likewise.
13205 * sunrpc/publickey.c: Likewise.
13206 * sunrpc/rpc_cmsg.c: Likewise.
13207 * sunrpc/rpc_common.c: Likewise.
13208 * sunrpc/rpc_dtable.c: Likewise.
13209 * sunrpc/rpc_prot.c: Likewise.
13210 * sunrpc/rpc_thread.c: Likewise.
13211 * sunrpc/rtime.c: Likewise.
13212 * sunrpc/svc.c: Likewise.
13213 * sunrpc/svc_auth.c: Likewise.
13214 * sunrpc/svc_authux.c: Likewise.
13215 * sunrpc/svc_raw.c: Likewise.
13216 * sunrpc/svc_run.c: Likewise.
13217 * sunrpc/svc_simple.c: Likewise.
13218 * sunrpc/svc_tcp.c: Likewise.
13219 * sunrpc/svc_udp.c: Likewise.
13220 * sunrpc/svc_unix.c: Likewise.
13221 * sunrpc/svcauth_des.c: Likewise.
13222 * sunrpc/xcrypt.c: Likewise.
13223 * sunrpc/xdr.c: Likewise.
13224 * sunrpc/xdr_array.c: Likewise.
13225 * sunrpc/xdr_float.c: Likewise.
13226 * sunrpc/xdr_intXX_t.c: Likewise.
13227 * sunrpc/xdr_mem.c: Likewise.
13228 * sunrpc/xdr_rec.c: Likewise.
13229 * sunrpc/xdr_ref.c: Likewise.
13230 * sunrpc/xdr_sizeof.c: Likewise.
13231 * sunrpc/xdr_stdio.c: Likewise.
13232
e6c61494
UD
132332011-04-10 Ulrich Drepper <drepper@gmail.com>
13234
13235 [BZ #12650]
13236 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13237 * sysdeps/ia64/dl-tls.h: Likewise.
13238 * sysdeps/powerpc/dl-tls.h: Likewise.
13239 * sysdeps/s390/dl-tls.h: Likewise.
13240 * sysdeps/sh/dl-tls.h: Likewise.
13241 * sysdeps/sparc/dl-tls.h: Likewise.
13242 * sysdeps/x86_64/dl-tls.h: Likewise.
13243 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13244
34fe483e
AS
132452011-03-14 Andreas Schwab <schwab@redhat.com>
13246
13247 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13248 rpath element also skip the following colon.
13249 (expand_dynamic_string_token): Add is_path parameter and pass
13250 down to DL_DST_REQUIRED and _dl_dst_substitute.
13251 (decompose_rpath): Call expand_dynamic_string_token with
13252 non-zero is_path. Ignore empty rpaths.
13253 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13254 with zero is_path.
13255
f12a32e6
AS
132562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13257
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13259 Make cancelable.
13260
38a7d692
UD
132612011-04-09 Ulrich Drepper <drepper@gmail.com>
13262
13263 [BZ #12655]
13264 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13265 Patch by Filipe David Manana <fdmanana@apache.org>.
13266
e451d22b
AS
132672011-04-07 Andreas Schwab <schwab@redhat.com>
13268
13269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13270 Maintain aligned stack.
13271 (CHECK_RSP): Remove unused macro.
13272
dedc7c7b
UD
132732011-04-03 Ulrich Drepper <drepper@gmail.com>
13274
13275 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13276 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13277
94521213
UD
132782011-04-02 Ulrich Drepper <drepper@gmail.com>
13279
13280 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13281
8cb700c0 13282 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13283
0354e355
L
132842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13285
13286 [BZ #12518]
13287 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13288 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13289 * sysdeps/x86_64/memmove.c: New file.
13290 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13291 (memcpy): Renamed to ...
13292 (__new_memcpy): This.
13293 (memcpy): Provide GLIBC_2_14 memcpy.
13294 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13295 (memcpy): Provide GLIBC_2_2_5 memcpy.
13296
8593482f
UD
132972011-04-01 Ulrich Drepper <drepper@gmail.com>
13298
13299 [BZ #12631]
13300 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13301
81a5726b
AS
133022011-03-30 Andreas Schwab <schwab@redhat.com>
13303
13304 * misc/syncfs.c: New file.
13305 * misc/Makefile (routines): Add syncfs.
13306 * posix/unistd.h: Declare syncfs.
13307 * sysdeps/unix/syscalls.list: Add syncfs.
13308
00e5419f
AS
133092011-04-01 Andreas Schwab <schwab@redhat.com>
13310
13311 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13312 open_by_handle_at.
13313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13318 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13320
748876bf
UD
133212011-04-01 Ulrich Drepper <drepper@gmail.com>
13322
658e451d
UD
13323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13330
748876bf
UD
13331 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13332 sync_file_range.c with -fexceptions.
13333 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13334 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13335 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13336 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13337 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13338 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13340 sync_file_range as cancellation point
13341 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13342 now a wrapper around __call_sync_file_range with cancellation handling.
13343 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13344 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13345 function name to __call_sync_file_range.
13346 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13347 Add call_sync_file_range.
748876bf 13348
6e63d5e1
AS
133492011-04-01 Andreas Schwab <schwab@redhat.com>
13350
13351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13352 bits/timex.h.
6e63d5e1 13353
46998f74
UD
133542011-04-01 Ulrich Drepper <drepper@gmail.com>
13355
4c1423ed
UD
13356 * iconv/iconv.h: Fix typo in comment.
13357 * io/fcntl.h: Likewise.
13358 * libio/stdio.h: Likewise.
13359 * posix/spawn.h: Likewise.
13360 * posix/unistd.h: Likewise.
13361 * stdlib/stdlib.h: Likewise.
13362 * time/time.h: Likewise.
13363 * wcsmbs/wchar.h: Likewise.
13364
158648c0
UD
13365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13366 open_by_handle): Add.
13367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13368 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13369 Augment a few comments.
13370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13375 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13376 open_by_handle.
13377
46998f74
UD
13378 * io/fcntl.h (AT_EMPTY_PATH): Define.
13379
83fe108b
UD
133802011-03-30 Ulrich Drepper <drepper@gmail.com>
13381
13382 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13383 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13384 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13385 to...
13386 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13387 * Versions.def: Add GLIBC_2.14.
13388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13389 Export.
83fe108b 13390
bb242059
UD
133912011-03-22 Ulrich Drepper <drepper@gmail.com>
13392
13393 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13394 round counter.
13395 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13396
c97a1282
L
133972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 [BZ #12597]
13400 * string/test-strncmp.c (do_page_test): New function.
13401 (check2): Likewise.
13402 (test_main): Call check2.
13403 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13404
2a115601
UD
134052011-03-20 Ulrich Drepper <drepper@gmail.com>
13406
13407 [BZ #12587]
13408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13409 Handle cache information in CPU leaf 4.
13410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13411
8126d904
UD
134122011-03-18 Ulrich Drepper <drepper@gmail.com>
13413
042c49c6 13414 [BZ #12583]
8126d904
UD
13415 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13416 character representation.
13417 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13418
ccfe366e
RA
134192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13420
13421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13422 END(__isnan) to END(__isnanf) to match function entry point/label
13423 EALIGN(__isnanf,...).
13424
c6e13027
JJ
134252011-03-10 Jakub Jelinek <jakub@redhat.com>
13426
13427 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13428
33f85a3f
UD
134292011-03-10 Ulrich Drepper <drepper@gmail.com>
13430
028478fa
UD
13431 [BZ #12510]
13432 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13433 copy from the symbol referenced in the relocation to initialize the
13434 used variable.
13435 Patch by Piotr Bury <pbury@goahead.com>.
13436 * elf/Makefile: Add rules to build and tst-unique3.
13437 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13438 * elf/tst-unique3.cc: New file.
13439 * elf/tst-unique3.h: New file.
13440 * elf/tst-unique3lib.cc: New file.
13441 * elf/tst-unique3lib2.cc: New file.
13442
33f85a3f
UD
13443 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13444
03592fc7
MF
134452011-03-10 Mike Frysinger <vapier@gentoo.org>
13446
13447 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13448 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13449 to _start.
03592fc7 13450
6a5ee102
UD
134512011-03-06 Ulrich Drepper <drepper@gmail.com>
13452
13453 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13454 to-be-loaded object along a path to loader is ld.so.
13455
7e4ba49c
HJ
134562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13457 Ulrich Drepper <drepper@gmail.com>
13458
13459 * sysdeps/x86_64/memset.S: After aligning destination, code
13460 branches to different locations depending on the value of
13461 misalignment, when multiarch is enabled. Fix this.
13462
134632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13464
13465 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13466 Set _x86_64_preferred_memory_instruction for AMD processsors.
13467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13468 Set bit_Prefer_SSE_for_memop for AMD processors.
13469
13a804de
UD
134702011-03-04 Ulrich Drepper <drepper@gmail.com>
13471
13472 * libio/fmemopen.c (fmemopen): Optimize a bit.
13473
9d25c392
AS
134742011-03-03 Andreas Schwab <schwab@redhat.com>
13475
13476 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13477
a5543c6a
RM
134782011-03-03 Roland McGrath <roland@redhat.com>
13479
13480 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13481
012d35f7
DM
134822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13483
7e4ba49c 13484 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13485 __bzero_ultra1 instead of __memset_ultra1.
13486
4bff6e01
AS
134872011-02-23 Andreas Schwab <schwab@redhat.com>
13488 Ulrich Drepper <drepper@gmail.com>
13489
13490 [BZ #12509]
13491 * include/link.h (struct link_map): Add l_orig_initfini.
13492 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13493 returning unsuccessfully.
13494 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13495 close of a file loaded at startup, restore the original l_initfini
13496 list.
13497 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13498 list, store the pointer.
13499 * elf/Makefile ($(objpfx)noload-mem): New rule.
13500 (noload-ENV): Define.
13501 (tests): Add $(objpfx)noload-mem.
13502 * elf/noload.c: Include <memcheck.h>.
13503 (main): Call mtrace. Close all opened handles.
13504
f2092faf
AS
135052011-02-17 Andreas Schwab <schwab@redhat.com>
13506
13507 [BZ #12454]
13508 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13509 dependencies are missing.
13510
6c8a2e88
ST
135112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13512
f2092faf 13513 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13514 Hurd needs munmap.
13515 * sysdeps/mach/hurd/ifreq.h: New file.
13516
84a42118
PB
135172011-01-27 Petr Baudis <pasky@suse.cz>
13518 Ulrich Drepper <drepper@gmail.com>
13519
071f805e 13520 [BZ 12445]#
84a42118
PB
13521 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13522 to extend_alloca().
13523 * stdio-common/bug23.c: New file.
13524 * stdio-common/Makefile (tests): Add bug23.
13525
e23fe25b
AS
135262010-09-28 Andreas Schwab <schwab@redhat.com>
13527 Ulrich Drepper <drepper@gmail.com>
13528
13529 [BZ #12489]
13530 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13531 before performing relro protection. At old place add assertion
13532 to make sure nothing changed.
13533
d3f02e10
NS
135342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13535 Glauber de Oliveira Costa <glommer@gmail.com>
13536
13537 * elf/elf.h: Add new ARM TLS relocs.
13538
d55fd7a5
RA
135392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13540
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13542 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13543 cast from r3.
13544 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13545 'tests' variable.
13546 * sysdeps/wordsize-64/tst-writev.c: New file.
13547
2206397e
RA
135482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13549
13550 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13551 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13552 insns in _dl_start to prevent a TOC reference before relocs are
13553 resolved.
13554
e9433893
UD
135552011-02-15 Ulrich Drepper <drepper@gmail.com>
13556
13557 [BZ #12469]
13558 * Makeconfig: Remove RANLIB definition.
13559 * Makerules: Don't use RANLIB.
13560 * aclocal.m4: Remove ranlib test.
13561 * configure.in: No need to check for ranlib.
13562 * elf/rtld-Rules: Don't use RANLIB.
13563
f75286c6
ST
135642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13565
8e31c82d
ST
13566 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13567 protection macro.
13568 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13569 inclusion protection macro.
13570
f75286c6
ST
13571 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13572 SIGRTMIN and SIGRTMAX and print information in that case only when
13573 SIGRTMIN is defined.
13574
c1d0e639
JJ
135752011-02-11 Jakub Jelinek <jakub@redhat.com>
13576
13577 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13578 arginfo fn returning -1.
13579
13580 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13581 and thousands string is zero terminated.
13582
edf9294e
AS
135832011-02-03 Andreas Schwab <schwab@redhat.com>
13584
13585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13586 sysdeps/unix/sysv/linux/bits/socket.h.
13587
2b7e92df
ST
135882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13589
edf9294e
AS
13590 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13591 (__CPU_COUNT): Remove old macros.
13592 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13593 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13594 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13595 (__sched_cpualloc, __sched_cpufree): Add declarations.
13596
a4c7ea7b
UD
135972011-02-05 Ulrich Drepper <drepper@gmail.com>
13598
13599 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13600 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13601 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13602 (readdhstai): Return value of addhstaiX call.
13603 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13604 (addgrbyX): Return value returned by cache_addgr.
13605 (readdgrbyname): Return value returned by addgrbyX.
13606 (readdgrbygid): Likewise.
13607 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13608 (addpwbyX): Return value returned by cache_addpw.
13609 (readdpwbyname): Return value returned by addhstbyX.
13610 (readdpwbyuid): Likewise.
13611 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13612 (addservbyX): Return value returned by cache_addserv.
13613 (readdservbyname): Return value returned by addservbyX:
13614 (readdservbyport): Likewise.
13615 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13616 (addhstbyX): Return value returned by cache_addhst.
13617 (readdhstbyname): Return value returned by addhstbyX.
13618 (readdhstbyaddr): Likewise.
13619 (readdhstbynamev6): Likewise.
13620 (readdhstbyaddrv6): Likewise.
13621 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13622 (readdinitgroups): Return value returned by addinitgroupsX.
13623 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13624 (prune_cache): Keep track of timeout value of re-added entries.
13625 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13626 * nscd/nscd.h: Adjust prototypes of readd* functions.
13627
a0bf67cc
RM
136282011-02-04 Roland McGrath <roland@redhat.com>
13629
13630 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13631 (nis_stats): Likewise.
13632 * nis/nis_modify.c (nis_modify): Likewise.
13633 * nis/nis_remove.c (nis_remove): Likewise.
13634 * nis/nis_add.c (nis_add): Likewise.
13635
13636 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13637
13638 * posix/fnmatch_loop.c: Add some consts.
13639
13640 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13641
435b95eb
L
136422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13643
13644 [BZ #12460]
13645 * config.make.in (config-cflags-novzeroupper): Define.
13646 * configure.in: Substitute libc_cv_cc_novzeroupper.
13647 * elf/Makefile (AVX-CFLAGS): Define.
13648 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13649 (CFLAGS-tst-auditmod4a.c): Likewise.
13650 (CFLAGS-tst-auditmod4b.c): Likewise.
13651 (CFLAGS-tst-auditmod6b.c): Likewise.
13652 (CFLAGS-tst-auditmod6c.c): Likewise.
13653 (CFLAGS-tst-auditmod7b.c): Likewise.
13654 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13655
8517b15e
UD
136562011-02-02 Ulrich Drepper <drepper@gmail.com>
13657
13658 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13659 function to the callback.
13660 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13661
10a656fe
AS
136622011-02-02 Andreas Schwab <schwab@redhat.com>
13663
13664 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13665 of errno.
13666
968dad0a
UD
136672011-01-19 Ulrich Drepper <drepper@gmail.com>
13668
9f94d2ea 13669 [BZ #11724]
968dad0a
UD
13670 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13671 of constructors.
13672 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13673 of destructors.
13674 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13675
13676 [BZ #11724]
13677 * elf/Makefile: Add rules to build and run new test.
13678 * elf/tst-initorder.c: New file.
13679 * elf/tst-initorder.exp: New file.
13680 * elf/tst-initordera1.c: New file.
13681 * elf/tst-initordera2.c: New file.
13682 * elf/tst-initordera3.c: New file.
13683 * elf/tst-initordera4.c: New file.
13684 * elf/tst-initorderb1.c: New file.
13685 * elf/tst-initorderb2.c: New file.
13686 * elf/tst-order-a1.c: New file.
13687 * elf/tst-order-a2.c: New file.
13688 * elf/tst-order-a3.c: New file.
13689 * elf/tst-order-a4.c: New file.
13690 * elf/tst-order-b1.c: New file.
13691 * elf/tst-order-b2.c: New file.
13692 * elf/tst-order-main.c: New file.
13693 New test case by George Gensure <werkt0@gmail.com>.
13694
86e92359
UD
136952010-10-01 Andreas Schwab <schwab@redhat.com>
13696
13697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13698 decoding ACE if AI_CANONIDN.
13699
5d5732b0
UD
137002011-01-18 Ulrich Drepper <drepper@gmail.com>
13701
13702 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13703
a77e8cbc
UD
137042011-01-17 Ulrich Drepper <drepper@gmail.com>
13705
6392473f
UD
13706 * version.h (RELEASE): Bump for 2.13 release.
13707 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13708
620a0529
UD
13709 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13710
18ba70a5
UD
13711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13712 MADV_NOHUGEPAGE.
32465c3e
UD
13713 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13719
c0dafcf1
UD
13720 * posix/getconf.c: Update copyright year.
13721 * catgets/gencat.c: Likewise.
13722 * csu/version.c: Likewise.
13723 * debug/catchsegv.sh: Likewise.
13724 * debug/xtrace.sh: Likewise.
13725 * elf/ldconfig.c: Likewise.
13726 * elf/ldd.bash.in: Likewise.
13727 * elf/sprof.c (print_version): Likewise.
13728 * iconv/iconv_prog.c: Likewise.
13729 * iconv/iconvconfig.c: Likewise.
13730 * locale/programs/locale.c: Likewise.
13731 * locale/programs/localedef.c: Likewise.
13732 * malloc/memusage.sh: Likewise.
13733 * malloc/mtrace.pl: Likewise.
13734 * nscd/nscd.c (print_version): Likewise.
13735 * nss/getent.c: Likewise.
13736
a77e8cbc
UD
13737 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13738 PF_CAIF, and PF_ALG.
13739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13740
77e8bddf
AS
137412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13742
1f20b93a
AS
13743 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13744 (modules-names): Use them.
13745 (ifunc-test-modules, ifunc-pie-tests): Define.
13746 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13747 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13748 (test-extras): Likewise.
13749 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13750 $(compile-command.c).
13751 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13752 (all-built-dso): Define.
13753 (check-textrel.out, check-execstack.out): Depend on it.
13754
77e8bddf
AS
13755 * configure.in: Don't override --enable-multi-arch.
13756
bc425b33
UD
137572011-01-15 Ulrich Drepper <drepper@gmail.com>
13758
13759 [BZ #6812]
13760 * nscd/hstcache.c (tryagain): Define.
13761 (cache_addhst): Return tryagain not notfound for temporary errors.
13762 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13763 failed.
13764
794c3ad3
UD
137652011-01-14 Ulrich Drepper <drepper@gmail.com>
13766
70181fdd
UD
13767 [BZ #10563]
13768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13769 to make the syscall.
13770 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13771
794c3ad3
UD
13772 [BZ #12378]
13773 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13774 and fall back to matching as normal character if the string ends before
13775 the matching ']' is found. This is what POSIX requires.
13776 * posix/testfnm.c: Adjust test result.
13777 * posix/globtest.sh: Adjust test result. Add new test.
13778 * posix/tst-fnmatch.input: Likewise.
13779 * posix/tst-fnmatch2.c: Add new test.
13780
68dc9497
AS
137812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13782
13783 * elf/Makefile (check-execstack): Revert last change. Depend on
13784 check-execstack.h.
13785 (check-execstack.h): New target.
13786 (generated): Add check-execstack.h.
13787 * elf/check-execstack.c: Include "check-execstack.h".
13788 (main): Revert last change.
13789 (handle_file): Return zero if GNU_STACK is absent and
13790 DEFAULT_STACK_PERMS doesn't include PF_X.
13791
451f001b
UD
137922011-01-13 Ulrich Drepper <drepper@gmail.com>
13793
cfa28e56
UD
13794 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13795 in child fails because the descriptor is already closed.
8cf8ce17
UD
13796 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13797 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13799
1086d70d
UD
13800 [BZ #12397]
13801 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13802 syscall.
13803
451f001b
UD
13804 [BZ #10484]
13805 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13806 temporary buffer used to handle multi lookups locally.
a85b5cb4 13807 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13808
08769175
UD
138092011-01-12 Ulrich Drepper <drepper@gmail.com>
13810
13811 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13812 loader is ld.so.
13813
5e49c52e
UD
138142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13815
13816 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13817 alignment for SSE2.
13818
60522a5f
UD
138192011-01-12 Ulrich Drepper <drepper@gmail.com>
13820
13821 [BZ #12394]
13822 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13823 characters. When rounding increased number of integer digits recompute
13824 number of groups.
13825 * stdio-common/tst-grouping.c: New file.
13826 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13827
f257bbd7
UD
138282011-01-09 Ulrich Drepper <drepper@gmail.com>
13829
13830 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13831 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13832
13833 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13834 void.
13835 * bits/select.h: Likewise.
13836
fa9c15cb
UD
138372011-01-08 Ulrich Drepper <drepper@gmail.com>
13838
13839 * po/ja.po: Update from translation team.
13840
16c2895f
DM
138412011-01-04 David S. Miller <davem@sunset.davemloft.net>
13842
13843 [BZ #11155]
13844 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13845 implementation just like for lxstat, fxstatat, et al.
13846
2543fef2
JM
138472010-12-27 Jim Meyering <meyering@redhat.com>
13848
13849 [BZ #12348]
13850 * posix/regexec.c (build_trtable): Return failure indication upon
13851 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13852
98727dbe
UD
138532010-12-25 Ulrich Drepper <drepper@gmail.com>
13854
5bd6dc5c
UD
13855 [BZ #12201]
13856 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13857 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13860
97983464
UD
13861 [BZ #12207]
13862 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13863
98727dbe
UD
13864 [BZ #12204]
13865 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13866 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13867
4a531bb0
L
138682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13869
13870 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13871 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13872 script has SORT_BY_INIT_PRIORITY.
13873 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13874 NO_CTORS_DTORS_SECTIONS is defined.
13875 * elf/soinit.c: Likewise.
13876 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13877 NO_CTORS_DTORS_SECTIONS is defined.
13878 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13879 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13880 * sysdeps/sh/init-first.c: Likewise.
13881 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13882
07eb4b71
UD
138832010-12-24 Ulrich Drepper <drepper@gmail.com>
13884
13885 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13886 always use the slow path.
13887
30950a5f
RA
138882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13889
13890 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13891 similar rule which adds the sysdep directories to the header search in
13892 order to pick up the correct platform stackinfo.h.
13893 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13894 perform test if it is, otherwise return successfully without testing.
13895 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13896 DEFAULT_STACK_PERMS define in stackinfo.h.
13897 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13898 defined in stackinfo.h.
13899 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13900 DEFAULT_STACK_PERMS defined in stackinfo.h.
13901 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13902 * sysdeps/ia64/stackinfo.h: Likewise.
13903 * sysdeps/s390/stackinfo.h: Likewise.
13904 * sysdeps/sh/stackinfo.h: Likewise.
13905 * sysdeps/sparc/stackinfo.h: Likewise.
13906 * sysdeps/x86_64/stackinfo.h: Likewise.
13907 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13908 PF_X for powerpc64. Retain PF_X for powerpc32.
13909
db753e2c
UD
139102010-12-19 Ulrich Drepper <drepper@gmail.com>
13911
14b697f7
UD
13912 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13913 accurately.
db753e2c
UD
13914 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13915 GETDENTS_64BIT_ALIGNED.
13916
28300719
UD
139172010-12-14 Ulrich Drepper <dreper@gmail.com>
13918
14b697f7 13919 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13920
4f197237
AS
139212010-12-10 Andreas Schwab <schwab@redhat.com>
13922
dbb0472f
AS
13923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13924 _GNU_SOURCE.
13925
4f197237
AS
13926 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13927 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13928 Remove __restrict.
13929 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13930 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13931
fb88ac72
UD
139322010-12-09 Ulrich Drepper <drepper@gmail.com>
13933
13934 [BZ #11655]
13935 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13936 are initialized.
13937
42acbb92
JJ
139382010-12-09 Jakub Jelinek <jakub@redhat.com>
13939
13940 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13941
c038d98d
UD
139422010-12-03 Ulrich Drepper <drepper@gmail.com>
13943
13944 * po/it.po: Update from translation team.
13945
3a4a2499
L
139462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13947
13948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13949 unused codes.
13950
1e24cf6e
UD
139512010-11-30 Ulrich Drepper <drepper@gmail.com>
13952
13953 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13954
a7690819
AS
139552010-11-24 Andreas Schwab <schwab@redhat.com>
13956
13957 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13958 specially.
13959 (gaih_getanswer_slice): Likewise.
13960
3bf8d1b1
JJ
139612010-10-20 Jakub Jelinek <jakub@redhat.com>
13962
13963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13964
6db52fbb
PB
139652010-05-31 Petr Baudis <pasky@suse.cz>
13966
13967 [BZ #11149]
13968 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13969 silently even in the chroot mode.
13970
eaca7569
UD
139712010-11-22 Ulrich Drepper <drepper@gmail.com>
13972
13973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13974 last patch a bit. Pretty printing
13975
3056dcdb
UD
139762010-05-31 Petr Baudis <pasky@suse.cz>
13977
13978 [BZ #10085]
13979 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13980 initialization of skip_initgroups_dyn.
13981
cf7c9078
UD
139822010-11-19 Ulrich Drepper <drepper@gmail.com>
13983
13984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13986
a1fb5e3e
UD
139872010-11-16 Ulrich Drepper <drepper@gmail.com>
13988
13989 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13990
3540d66b
AS
139912010-11-11 Andreas Schwab <schwab@redhat.com>
13992
13993 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13994 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13995 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13996 ($(objpfx)tst-fnmatch-mem): New rule.
13997 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13998 * posix/tst-fnmatch.c (main): Call mtrace.
13999
13b69574
L
140002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14001
14002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14003 Support Intel processor model 6 and model 0x2c.
14004
da93d214
LM
140052010-11-10 Luis Machado <luisgpm@br.ibm.com>
14006
14007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14008 signed comparison.
14009
8ca52c6e
L
140102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14011
14012 [BZ #12205]
14013 * string/test-strncasecmp.c (check_result): New function.
14014 (do_one_test): Use it.
14015 (check1): New function.
14016 (test_main): Use it.
14017 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14018 Support strcasecmp and strncasecmp.
14019
69da074d
UD
140202010-11-08 Ulrich Drepper <drepper@gmail.com>
14021
14022 [BZ #12194]
14023 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14025
ff02d528
L
140262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14027
14028 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14029 IFUNC support.
14030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14031 memset-x86-64.
14032 * sysdeps/x86_64/multiarch/bzero.S: New file.
14033 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14034 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14035 * sysdeps/x86_64/multiarch/memset.S: New file.
14036 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14038 Set bit_Prefer_SSE_for_memop for Intel processors.
14039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14040 Define.
14041 (index_Prefer_SSE_for_memop): Define.
14042 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14043
344d0b54
LM
140442010-11-04 Luis Machado <luisgpm@br.ibm.com>
14045
14046 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14047 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14048
c0dde15b
UD
140492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14050
14051 [BZ #12191]
14052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14053 (__x86_64_raw_data_cache_size_half): Likewise.
14054 (__x86_64_raw_shared_cache_size): Likewise.
14055 (__x86_64_raw_shared_cache_size_half): Likewise.
14056
14057 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14058 (__x86_64_raw_data_cache_size_half): Likewise.
14059 (__x86_64_raw_shared_cache_size): Likewise.
14060 (__x86_64_raw_shared_cache_size_half): Likewise.
14061 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14062 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14063 and __x86_64_raw_shared_cache_size_half. Round
14064 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14065 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14066 to multiple of 256 bytes.
14067
0e516e0e
MS
140682010-11-03 Ulrich Drepper <drepper@gmail.com>
14069
14070 [BZ #12167]
14071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14072 of inacessible symlinks. Verify result of symlink before returning it.
14073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14074 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14075
0e012e87
ER
140762010-10-28 Erich Ritz <erichritz@gmail.com>
14077
14078 * math/math.h (isinf): Fix typo in comment.
14079
de0ff7bc
UD
140802010-11-01 Ulrich Drepper <drepper@gmail.com>
14081
14082 * po/da.po: Update from translation team.
14083
fa41c84d
UD
140842010-10-26 Ulrich Drepper <drepper@gmail.com>
14085
14086 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14087 is added to the list.
14088
f0967738
AK
140892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14090 Ulrich Drepper <drepper@gmail.com>
14091
14092 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14093 the global list here. Move code to...
14094 (_dl_add_to_namespace_list): ...here. New function.
14095 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14096 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14097 * elf/dl-load.c (lose): Don't remove the element from the list.
14098 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14099 (_dl_map_object): Likewise.
14100
141012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14102
14103 [BZ #12159]
14104 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14105 into all bytes of SSE register.
14106 Patch by Richard Li <richardpku@gmail.com>.
14107
f0967738 141082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14109
14110 [BZ #12140]
14111 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14112 perturbing.
14113
d0b9e94f
MB
141142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14115
14116 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14117 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14119 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14121 submachine.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14123
8e9f92e9
AS
141242010-10-22 Andreas Schwab <schwab@redhat.com>
14125
14126 * include/dlfcn.h (__RTLD_SECURE): Define.
14127 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14128 mode & __RTLD_SECURE instead.
14129 (open_path): Rename preloaded parameter to secure.
14130 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14131 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14132 * elf/dl-deps.c (openaux): Likewise.
14133 * elf/rtld.c (struct map_args): Remove is_preloaded.
14134 (map_doit): Don't use it.
14135 (dl_main): Likewise.
14136 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14137 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14138
bc96fbda
AS
141392010-09-09 Andreas Schwab <schwab@redhat.com>
14140
14141 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14142 (sysd-rules-targets): Remove duplicates.
14143 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14144 rtld-%.$o dependency.
14145
22cd1c9b
AS
141462010-10-18 Andreas Schwab <schwab@redhat.com>
14147
14148 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14149 _dl_map_object do it.
14150
18edac48
UD
141512010-10-19 Ulrich Drepper <drepper@gmail.com>
14152
14153 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14154 fast fma builtins, define the macros in the C99 standard.
14155 (FP_FAST_FMAF): Likewise.
14156 (FP_FAST_FMAL): Likewise.
14157 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14158
14159 * bits/mathdef.h: Update copyright year.
14160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14161
d2050124
MM
141622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14163
14164 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14165 builtins, define the macros in the C99 standard.
14166 (FP_FAST_FMAF): Likewise.
14167 (FP_FAST_FMAL): Likewise.
14168 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14169 multiply/add.
14170 (FP_FAST_FMAF): Likewise.
14171
475facd1
JJ
141722010-10-15 Jakub Jelinek <jakub@redhat.com>
14173
14174 [BZ #3268]
14175 * math/libm-test.inc (fma_test): Some new testcases.
14176 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14178 y and infinite z. Do multiplication by C already in long double.
14179 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14181 y and infinite z. Do bitwise or of inexact bit into u.d.
14182 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14183 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14184 * sysdeps/i386/fpu/s_fma.S: Removed.
14185 * sysdeps/i386/fpu/s_fmal.S: Removed.
14186
7c08a05c
JJ
141872010-10-16 Jakub Jelinek <jakub@redhat.com>
14188
14189 [BZ #3268]
14190 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14192 computation is not scheduled after fetestexcept. Fix value
14193 of minimum denormal long double.
14194
f3f7372d
JJ
141952010-10-14 Jakub Jelinek <jakub@redhat.com>
14196
14197 [BZ #3268]
14198 * math/libm-test.inc (fma_test): Add some more tests.
14199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14200 correctly.
14201
14d43591
AS
142022010-10-15 Andreas Schwab <schwab@redhat.com>
14203
14204 * scripts/data/localplt-s390-linux-gnu.data: New file.
14205 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14206
5e908464
JJ
142072010-10-13 Jakub Jelinek <jakub@redhat.com>
14208
14209 [BZ #3268]
14210 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14211 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14212 instead of dbl-64.
14213 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14214 inlines.
14215 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14217 if one of x and y is very large and the other is subnormal.
14218 * sysdeps/s390/fpu/s_fmaf.c: New file.
14219 * sysdeps/s390/fpu/s_fma.c: New file.
14220 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14221 * sysdeps/powerpc/fpu/s_fma.S: New file.
14222 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14223 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14224 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14225
142262010-10-12 Jakub Jelinek <jakub@redhat.com>
14227
14228 [BZ #3268]
14229 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14230 fma tests.
14231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14232 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14233 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14234 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14235 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14236 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14238
b833d51f
UD
142392010-10-12 Ulrich Drepper <drepper@redhat.com>
14240
14241 [BZ #12078]
14242 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14243 * posix/bug-regex31.input: Add test case.
14244
1751705d
UD
142452010-10-11 Ulrich Drepper <drepper@gmail.com>
14246
e9b9cbf5
UD
14247 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14248 * posix/bug-regex31.input: New file.
14249
14250 [BZ #12078]
14251 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14252 (parse_sub_exp): Fix last change, use postorder.
14253
ef06edbe
UD
14254 * posix/bug-regex31.c: New file.
14255 * posix/Makefile: Add rules to build and run bug-regex31.
14256
a129c80d
UD
14257 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14258
14259 [BZ #12078]
14260 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14261
b76b818e
UD
14262 [BZ #12108]
14263 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14264 to have entries in sys_siglist.
14265
1751705d
UD
14266 [BZ #12093]
14267 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14268 be NULL.
14269
9ff8d36f
JJ
142702010-10-07 Jakub Jelinek <jakub@redhat.com>
14271
14272 [BZ #3268]
14273 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14274 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14275 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14276 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14278 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14279 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14280 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14281 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14282 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14283 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14284 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14286 * math/ftestexcept.c (fetestexcept): Likewise.
14287 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14288 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14289 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14290 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14291 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14292 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14294
af325969
UD
142952010-10-11 Ulrich Drepper <drepper@gmail.com>
14296
c579b202 14297 [BZ #12107]
af325969
UD
14298 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14299 newline.
14300
67a67b95
UD
143012010-10-06 Ulrich Drepper <drepper@gmail.com>
14302
14303 * string/bug-strstr1.c: New file.
14304 * string/Makefile: Add rules to build and run bug-strstr1.
14305
5fb308bc
EB
143062010-10-05 Eric Blake <eblake@redhat.com>
14307
14308 [BZ #12092]
14309 * string/str-two-way.h (two_way_long_needle): Always clear memory
14310 when skipping input due to the shift table.
14311
45db99c7
UD
143122010-10-03 Ulrich Drepper <drepper@gmail.com>
14313
3b111893
UD
14314 [BZ #12005]
14315 * malloc/mcheck.c: Handle large requests.
14316
45db99c7
UD
14317 [BZ #12077]
14318 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14319 for strncmp and strncasecmp.
14320 * string/stratcliff.c: Add tests for strcmp and strncmp.
14321 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14322
cf7a1eb8
NI
143232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14324
14325 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14326 __set_fpscr.
14327
6484ba5e
AJ
143282010-09-30 Andreas Jaeger <aj@suse.de>
14329
14330 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14331 (CGROUP_SUPER_MAGIC): Define.
14332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14333 Handle btrfs and cgroup file systems.
14334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14335 Likewise.
14336
91c42559
LM
143372010-09-27 Luis Machado <luisgpm@br.ibm.com>
14338
14339 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14340 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14341
87a97932
AK
143422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14343
14344 [BZ #12067]
14345 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14346 trying to locate the ELF header.
14347
c21cc9bc
AS
143482010-09-27 Andreas Schwab <schwab@redhat.com>
14349
14350 [BZ #11611]
14351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14352 Mask out sign-bit copies when constructing f_fsid.
14353
315970f6
PB
143542010-09-24 Petr Baudis <pasky@suse.cz>
14355
14356 * debug/stack_chk_fail_local.c: Add missing licence exception.
14357 * debug/warning-nop.c: Likewise.
14358
1ac7a2c7
JM
143592010-09-15 Joseph Myers <joseph@codesourcery.com>
14360
14361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14362 implementing getdents64 using getdents syscall, set d_type if
14363 __ASSUME_GETDENTS32_D_TYPE.
14364
56801c50
AS
143652010-09-16 Andreas Schwab <schwab@redhat.com>
14366
14367 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14368 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14369
dda51327
UD
143702010-09-21 Ulrich Drepper <drepper@redhat.com>
14371
14372 [BZ #12037]
14373 * posix/unistd.h: Undo change of feature selection for ftruncate from
14374 2010-01-11.
14375
8ffcee4a
UD
143762010-09-20 Ulrich Drepper <drepper@redhat.com>
14377
a545ecd9 14378 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14379 detection.
14380
e24f0a8b
AS
143812010-09-20 Andreas Schwab <schwab@redhat.com>
14382
14383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14384 fanotify_mark.
14385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14386
7291c56f
AS
143872010-09-14 Andreas Schwab <schwab@redhat.com>
14388
14389 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14390 variables after CHECK_SP call.
14391 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14392
bc5fb037
AS
143932010-09-13 Andreas Schwab <schwab@redhat.com>
14394 Ulrich Drepper <drepper@redhat.com>
14395
14396 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14397 re-relocationg ld.so.
14398 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14399 _dl_init_paths call.
14400 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14401 here anymore.
14402
e66e7419
UD
144032010-09-14 Ulrich Drepper <drepper@redhat.com>
14404
14405 * resolv/res_init.c (__res_vinit): Count the default server we added.
14406
c044aa75
CLT
144072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14408 Ulrich Drepper <drepper@redhat.com>
14409
14410 [BZ #11968]
14411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14412 (____longjmp_chk): Use %ebx for saving value across system call.
14413 Add unwind info.
14414
32cf4069
AS
144152010-09-06 Andreas Schwab <schwab@redhat.com>
14416
14417 * manual/Makefile: Don't mix pattern rules with normal rules.
14418
817328ee
AS
144192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14420
14421 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14422 operation.
14423 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14424 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14425 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14426 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14428 Likewise.
14429
29fddf61
UD
144302010-09-04 Ulrich Drepper <drepper@redhat.com>
14431
14432 [BZ #11979]
14433 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14434 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14435
0959ffc9
UD
144362010-09-02 Ulrich Drepper <drepper@redhat.com>
14437
14438 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14439 * sysdeps/x86_64/addmul_1.S: Likewise.
14440 * sysdeps/x86_64/lshift.S: Likewise.
14441 * sysdeps/x86_64/mul_1.S: Likewise.
14442 * sysdeps/x86_64/rshift.S: Likewise.
14443 * sysdeps/x86_64/sub_n.S: Likewise.
14444 * sysdeps/x86_64/submul_1.S: Likewise.
14445
ece29840
ST
144462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14447
0959ffc9
UD
14448 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14449 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14450 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14451 * bits/sched.h [__need_schedparam]
ece29840 14452 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14453 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14454 (__defined_schedparam): Define to 1.
ece29840
ST
14455 (__sched_param): New structure, identical to sched_param.
14456 (__need_schedparam): Undefine.
14457
e53a31fe
MF
144582010-08-31 Mike Frysinger <vapier@gentoo.org>
14459
fdc0c10d
MF
14460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14461 (epoll_create1): Declare.
14462
e53a31fe
MF
14463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14464
a726d796
AS
144652010-08-31 Andreas Schwab <schwab@redhat.com>
14466
14467 [BZ #7066]
14468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14469 shifting retval into place.
14470
2f3e3dc7
UD
144712010-09-01 Ulrich Drepper <drepper@redhat.com>
14472
f2933da9
UD
14473 * nis/rpcsvc/nis.h: Update copyright notice.
14474 * nis/rpcsvc/nis.x: Likewise.
14475 * nis/rpcsvc/nis_callback.h: Likewise.
14476 * nis/rpcsvc/nis_callback.x: Likewise.
14477 * nis/rpcsvc/nis_object.x: Likewise.
14478 * nis/rpcsvc/nis_tags.h: Likewise.
14479 * nis/rpcsvc/yp.h: Likewise.
14480 * nis/rpcsvc/yp.x: Likewise.
14481 * nis/rpcsvc/ypupd.h: Likewise.
14482 * nis/yp_xdr.c: Likewise.
14483 * nis/ypupdate_xdr.c: Likewise.
14484
2f3e3dc7
UD
14485 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14486 mainly the body of pmap_getport. Add parameters to specify timeouts.
14487 (pmap_getport): Use __libc_rpc_getport.
14488 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14489 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14490 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14491
f3dcc2f9
AS
144922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14493
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14495 fanotify_mark.
14496
6d34eb5b
RM
144972010-08-27 Roland McGrath <roland@redhat.com>
14498
14499 * sysdeps/i386/i686/multiarch/Makefile
14500 (CFLAGS-varshift.c): New variable.
14501
9ea3de11
UD
145022010-08-27 Ulrich Drepper <drepper@redhat.com>
14503
c96d23fc
UD
14504 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14505 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14506
9ea3de11
UD
14507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14508
14509 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14510
623aac7f
L
145112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14512
14513 * sysdeps/x86_64/strlen.S: Unroll the loop.
14514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14515 strlen-sse2 strlen-sse2-bsf.
14516 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14517 __strlen_no_bsf if bit_Slow_BSF is set.
14518 (__strlen_sse42): Removed.
14519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14520 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14521
8b2b7715
RM
145222010-08-25 Roland McGrath <roland@redhat.com>
14523
14524 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14525 * sysdeps/x86_64/multiarch/varshift.c: New file.
14526 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14527 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14528 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14529 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14530
e73015f2
L
145312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14532
14533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14534 strlen-sse2 strlen-sse2-bsf.
14535 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14536 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14537 (__strlen_sse2): Removed.
14538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14541 bit_Slow_BSF for Atom.
14542 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14543 (index_Slow_BSF): Define.
14544 (HAS_SLOW_BSF): Define.
14545
df24a73e
UD
145462010-08-25 Ulrich Drepper <drepper@redhat.com>
14547
14548 [BZ #10851]
14549 * resolv/res_init.c (__res_vinit): When no server address at all
14550 is given default to loopback.
14551
f2ac4868
RM
145522010-08-24 Roland McGrath <roland@redhat.com>
14553
09055553
RM
14554 * configure.in: Remove config-name.h generation.
14555 * configure: Regenerated.
14556 * config-name.in: File removed.
14557 * scripts/config-uname.sh: New file.
14558 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14559 ($(objdir)config-name.h): New target.
14560
f2ac4868
RM
14561 * sunrpc/rpc_parse.h: Avoid nested comment.
14562
73f27d5e
RH
145632010-08-24 Richard Henderson <rth@redhat.com>
14564 Ulrich Drepper <drepper@redhat.com>
14565 H.J. Lu <hongjiu.lu@intel.com>
14566
14567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14569 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14570 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14571 _mm_alignr_epi8 with _mm_loadu_si128.
14572 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14573 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14574 (__m128i_shift_right): Removed.
14575 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14576 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14577 * sysdeps/x86_64/multiarch/varshift.h: New file.
14578 * sysdeps/x86_64/multiarch/varshift.S: New file.
14579
84b9230c
MF
145802010-08-21 Mike Frysinger <vapier@gentoo.org>
14581
14582 * configure.in: Move assembler checks to before sysdep dir checking.
14583
9bbd0ddc
PB
145842010-08-20 Petr Baudis <pasky@suse.cz>
14585
14586 * LICENSES: Sync the sunrpc license.
14587
9da4bb31
UD
145882010-08-19 Ulrich Drepper <drepper@redhat.com>
14589
a7ab6ec8
UD
14590 * sunrpc/auth_des.c: Update copyright notice once again.
14591 * sunrpc/auth_none.c: Likewise.
14592 * sunrpc/auth_unix.c: Likewise.
14593 * sunrpc/authdes_prot.c: Likewise.
14594 * sunrpc/authuxprot.c: Likewise.
14595 * sunrpc/bindrsvprt.c: Likewise.
14596 * sunrpc/clnt_gen.c: Likewise.
14597 * sunrpc/clnt_perr.c: Likewise.
14598 * sunrpc/clnt_raw.c: Likewise.
14599 * sunrpc/clnt_simp.c: Likewise.
14600 * sunrpc/clnt_tcp.c: Likewise.
14601 * sunrpc/clnt_udp.c: Likewise.
14602 * sunrpc/clnt_unix.c: Likewise.
14603 * sunrpc/des_crypt.c: Likewise.
14604 * sunrpc/des_soft.c: Likewise.
14605 * sunrpc/get_myaddr.c: Likewise.
14606 * sunrpc/getrpcport.c: Likewise.
14607 * sunrpc/key_call.c: Likewise.
14608 * sunrpc/key_prot.c: Likewise.
14609 * sunrpc/openchild.c: Likewise.
14610 * sunrpc/pm_getmaps.c: Likewise.
14611 * sunrpc/pm_getport.c: Likewise.
14612 * sunrpc/pmap_clnt.c: Likewise.
14613 * sunrpc/pmap_prot.c: Likewise.
14614 * sunrpc/pmap_prot2.c: Likewise.
14615 * sunrpc/pmap_rmt.c: Likewise.
14616 * sunrpc/rpc/auth.h: Likewise.
14617 * sunrpc/rpc/auth_unix.h: Likewise.
14618 * sunrpc/rpc/clnt.h: Likewise.
14619 * sunrpc/rpc/des_crypt.h: Likewise.
14620 * sunrpc/rpc/key_prot.h: Likewise.
14621 * sunrpc/rpc/netdb.h: Likewise.
14622 * sunrpc/rpc/pmap_clnt.h: Likewise.
14623 * sunrpc/rpc/pmap_prot.h: Likewise.
14624 * sunrpc/rpc/pmap_rmt.h: Likewise.
14625 * sunrpc/rpc/rpc.h: Likewise.
14626 * sunrpc/rpc/rpc_des.h: Likewise.
14627 * sunrpc/rpc/rpc_msg.h: Likewise.
14628 * sunrpc/rpc/svc.h: Likewise.
14629 * sunrpc/rpc/svc_auth.h: Likewise.
14630 * sunrpc/rpc/types.h: Likewise.
14631 * sunrpc/rpc/xdr.h: Likewise.
14632 * sunrpc/rpc_clntout.c: Likewise.
14633 * sunrpc/rpc_cmsg.c: Likewise.
14634 * sunrpc/rpc_common.c: Likewise.
14635 * sunrpc/rpc_cout.c: Likewise.
14636 * sunrpc/rpc_dtable.c: Likewise.
14637 * sunrpc/rpc_hout.c: Likewise.
14638 * sunrpc/rpc_main.c: Likewise.
14639 * sunrpc/rpc_parse.c: Likewise.
14640 * sunrpc/rpc_parse.h: Likewise.
14641 * sunrpc/rpc_prot.c: Likewise.
14642 * sunrpc/rpc_sample.c: Likewise.
14643 * sunrpc/rpc_scan.c: Likewise.
14644 * sunrpc/rpc_scan.h: Likewise.
14645 * sunrpc/rpc_svcout.c: Likewise.
14646 * sunrpc/rpc_tblout.c: Likewise.
14647 * sunrpc/rpc_util.c: Likewise.
14648 * sunrpc/rpc_util.h: Likewise.
14649 * sunrpc/rpcinfo.c: Likewise.
14650 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14651 * sunrpc/rpcsvc/key_prot.x: Likewise.
14652 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14653 * sunrpc/rpcsvc/mount.x: Likewise.
14654 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14655 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14656 * sunrpc/rpcsvc/rex.x: Likewise.
14657 * sunrpc/rpcsvc/rstat.x: Likewise.
14658 * sunrpc/rpcsvc/rusers.x: Likewise.
14659 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14660 * sunrpc/rpcsvc/spray.x: Likewise.
14661 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14662 * sunrpc/rtime.c: Likewise.
14663 * sunrpc/svc.c: Likewise.
14664 * sunrpc/svc_auth.c: Likewise.
14665 * sunrpc/svc_authux.c: Likewise.
14666 * sunrpc/svc_raw.c: Likewise.
14667 * sunrpc/svc_run.c: Likewise.
14668 * sunrpc/svc_simple.c: Likewise.
14669 * sunrpc/svc_tcp.c: Likewise.
14670 * sunrpc/svc_udp.c: Likewise.
14671 * sunrpc/svc_unix.c: Likewise.
14672 * sunrpc/svcauth_des.c: Likewise.
14673 * sunrpc/xcrypt.c: Likewise.
14674 * sunrpc/xdr.c: Likewise.
14675 * sunrpc/xdr_array.c: Likewise.
14676 * sunrpc/xdr_float.c: Likewise.
14677 * sunrpc/xdr_mem.c: Likewise.
14678 * sunrpc/xdr_rec.c: Likewise.
14679 * sunrpc/xdr_ref.c: Likewise.
14680 * sunrpc/xdr_sizeof.c: Likewise.
14681 * sunrpc/xdr_stdio.c: Likewise.
14682
9da4bb31
UD
14683 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14684 handling.
14685
bdaa77bc
AS
146862010-08-19 Andreas Schwab <schwab@redhat.com>
14687
14688 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14689
fe2f79db
LM
146902010-08-19 Luis Machado <luisgpm@br.ibm.com>
14691
14692 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14694 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14695 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14696 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14697 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14698 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14699 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14701 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14702 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14704 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14706
b9b42ee0
AB
147072010-07-26 Anton Blanchard <anton@samba.org>
14708
14709 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14710 * malloc/arena.c (heap_trim): Likewise.
14711
1c06ba31
UD
147122010-08-16 Ulrich Drepper <drepper@redhat.com>
14713
14714 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14715 here. Not...
14716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14717 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14718
f8392f40
L
147192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14720
14721 * sysdeps/i386/elf/Makefile: New file.
14722
3162f12e
AS
147232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14724
14725 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14726 from fanotify_init.
14727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14729
28c90b2c
UD
147302010-08-15 Ulrich Drepper <drepper@redhat.com>
14731
14732 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14733 of strncasecmp_l.
1feccb6c 14734 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14735
ca6bb004
UD
147362010-08-14 Ulrich Drepper <drepper@redhat.com>
14737
e9f82e0d
UD
14738 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14739 strncase_l-nonascii.
14740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14741 Add strncase_l-ssse3.
14742 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14743 * sysdeps/x86_64/strcmp.S: Likewise.
14744 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14745 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14746 * sysdeps/x86_64/strncase.S: New file.
14747 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14748 * sysdeps/x86_64/strncase_l.S: New file.
14749 * string/Makefile (strop-tests): Add strncasecmp.
14750 * string/test-strncasecmp.c: New file.
14751
14752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14753 warning.
14754
ca6bb004
UD
14755 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14757
052fa7b3
AS
147582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14759
14760 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14761
962dba78
UD
147622010-08-12 Ulrich Drepper <drepper@redhat.com>
14763
14764 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14767
bebff237
AM
147682010-05-01 Alan Modra <amodra@gmail.com>
14769
14770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14771 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14772 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14773 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14774 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14775 tidying. Don't tail-call __sigjmp_save for static lib.
14776 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14777 save location.
14778 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14779 (CALL_MCOUNT): Add eh info, and nop after bl.
14780 (TAIL_CALL_SYSCALL_ERROR): New macro.
14781 (PSEUDO_RET): Use it.
14782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14783 Correct save location of integer regs and cr.
14784 (_dl_profile_resolve): Correct cr save location. Delete nops
14785 after bl when SHARED. Reduce cfi size a little by better
14786 placement of cfi directives.
14787 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14788 make a stack frame. Instead use parm save area as a temp.
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14790 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14792 Don't make a stack frame for parent, use parm save area.
14793 Increase child stack frame to 112 bytes. Don't save unused reg,
14794 and adjust reg usage. Set up cfi on error recovery and
14795 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14797 (__makecontext): Add dummy nop after jump to exit.
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14799 Use correct parm save area and cr save, reduce stack frame.
14800 Correct cfi for possible PSEUDO_RET frame setup.
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14802 Branch to local label emitted by PSEUDO_RET rather than
14803 __syscall_error.
14804
02637374
AS
148052010-08-12 Andreas Schwab <schwab@redhat.com>
14806
14807 [BZ #11904]
14808 * locale/programs/locale.c (print_assignment): New function.
14809 (show_locale_vars): Use it.
14810
c3e2f19b
UD
148112010-08-11 Ulrich Drepper <drepper@redhat.com>
14812
3cdaa6ad
UD
14813 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14814 field.
14815 (struct statfs64): Likewise.
14816 (_STATFS_F_FLAGS): Define.
14817 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14819 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14820 (ST_VALID): Define locally.
14821 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14822 __statvfs_getflags, use the provided value.
14823 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14824 __ASSUME_STATFS_F_FLAGS.
14825
754f7da3
UD
14826 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14827
10b3bedc
UD
14828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14829 Add sys/fanotify.h.
14830 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14831 fanotify_mask for GLIBC_2.13.
14832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14833 fanotify_init and fanotify_mark.
14834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14835 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14836
c08fb0d7
UD
14837 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14838 Add prlimit.
14839 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14840 prlimit64 for GLIBC_2.13.
14841 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14842 prlimit64.
14843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14844 syscall.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14846 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14850 add prlimit alias.
14851 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14852
15bac72b
UD
14853 [BZ #11903]
14854 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14855 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14856
c3e2f19b
UD
14857 * nss/Makefile: Add rules to build and run tst-nss-test1.
14858 * shlib-versions: Add entry for libnss_test1.
14859 * nss/nss_test1.c: New file.
14860 * nss/tst-nss-test1.c: New file.
14861
14862 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14863 (__nss_configure_lookup): Set appropriate entry in
14864 __nss_configure_lookup to true.
14865 * nss/nsswitch.h: Define enum with indeces of databases in
14866 databases and __nss_database_custom arrays. Declare
14867 __nss_database_custom.
14868 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14869 to avoid using nscd when custom rules are installed.
14870 * nss/getXXbyYY_r.c: Likewise.
14871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14872
14873 * nss/nss_files/files-parse.c: Whitespace fixes.
14874
f15ce4d8
UD
148752010-08-09 Ulrich Drepper <drepper@redhat.com>
14876
14877 [BZ #11883]
14878 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14879 * posix/fnmatch_loop.c: Likewise.
14880
d22e4cc9
AK
148812010-07-17 Andi Kleen <ak@linux.intel.com>
14882
14883 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14884 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14885 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14886 * Versions.def [GLIBC_2.13]: Add.
14887
805bc17d
UD
148882010-08-06 Ulrich Drepper <drepper@redhat.com>
14889
14890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14891 Also fail if tpwd after pwuid call is NULL.
14892
5a42321d
ST
148932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894
14895 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14896 when converting to ms.
14897
fd3ebeda
ST
148982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14899
14900 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14901 EOPNOTSUPP errors with ENOTTY.
14902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14903 EOPNOTSUPP errors with ENOTTY.
14904
73507d3a
UD
149052010-07-31 Ulrich Drepper <drepper@redhat.com>
14906
14907 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14908 Add strcasecmp_l-ssse3.
14909 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14910 strcasecmp.
14911 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14913 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14914
fe36dd02
UD
149152010-07-30 Ulrich Drepper <drepper@redhat.com>
14916
66f6765a
UD
14917 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14918
42e08a54
UD
14919 * string/Makefile (strop-tests): Add strcasecmp.
14920 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14921 strcasecmp_l-nonascii.
14922 (gen-as-const-headers): Add locale-defines.sym.
14923 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14924 * sysdeps/x86_64/strcasecmp.S: New file.
14925 * sysdeps/x86_64/strcasecmp_l.S: New file.
14926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14927 * sysdeps/x86_64/locale-defines.sym: New file.
14928 * string/test-strcasecmp.c: New file.
14929
fe36dd02
UD
14930 * string/test-strcasestr.c: Test both ends of the range of characters.
14931 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14932
48cbc0d6
RM
149332010-07-29 Roland McGrath <roland@redhat.com>
14934
76e6d6bc 14935 [BZ #11856]
48cbc0d6
RM
14936 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14937
880113d9
UD
149382010-07-27 Ulrich Drepper <drepper@redhat.com>
14939
14940 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14941 for ld.so.
14942
deb9cabb
AS
149432010-07-27 Andreas Schwab <schwab@redhat.com>
14944
14945 * manual/memory.texi (Malloc Tunable Parameters): Document
14946 M_PERTURB.
14947
1c7570ff
RM
149482010-07-26 Roland McGrath <roland@redhat.com>
14949
14950 [BZ #11840]
14951 * configure.in (-fgnu89-inline check): Set and substitute
14952 gnu89_inline, not libc_cv_gnu89_inline.
14953 * configure: Regenerated.
14954 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14955
24fb0f88
UD
149562010-07-26 Ulrich Drepper <drepper@redhat.com>
14957
14958 * string/test-strnlen.c: New file.
14959 * string/Makefile (strop-tests): Add strnlen.
14960 * string/tester.c (test_strnlen): Add a few more test cases.
14961 * string/tst-strlen.c: Better error reporting.
14962
14963 * sysdeps/x86_64/strnlen.S: New file.
14964
8e96b93a
UD
149652010-07-24 Ulrich Drepper <drepper@redhat.com>
14966
14967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14968 lower-latency instructions.
14969
dbc676d4
UD
149702010-07-23 Ulrich Drepper <drepper@redhat.com>
14971
14972 * string/test-strcasestr.c: New file.
14973 * string/test-strstr.c: New file.
14974 * string/Makefile (strop-tests): Add strstr and strcasestr.
14975 * string/str-two-way.h: Don't undefine MAX.
14976 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14977
f6a31e0e
AS
149782010-07-21 Andreas Schwab <schwab@redhat.com>
14979
14980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14981 strcasestr-nonascii.
14982 (CFLAGS-strcasestr-nonascii.c): Define.
14983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14985 Remove unused attribute.
14986
5dbc3b6c
RM
149872010-07-20 Roland McGrath <roland@redhat.com>
14988
14989 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14990 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14991 ld.so.cache was broken. With it, there is no way to disable dsocaps
14992 like LD_HWCAP_MASK can disable hwcaps.
14993
23d101d8
EPM
149942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14995
14996 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14997
cc9f2e47
UD
149982010-07-16 Ulrich Drepper <drepper@redhat.com>
14999
15000 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15001 call in strcasestr.
15002 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15003 __strcasestr_sse42_nonascii.
15004 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15005 strcasestr-nonascii.c.
15006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15007
77c1b069
LM
150082010-06-15 Luis Machado <luisgpm@br.ibm.com>
15009
15010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15014
440566c3
UD
150152010-07-09 Ulrich Drepper <drepper@redhat.com>
15016
15017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15018 fcntl.
15019
5be9d05d
AS
150202010-07-06 Andreas Schwab <schwab@redhat.com>
15021
c30b7ee2 15022 [BZ #11577]
5be9d05d
AS
15023 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15024 dl_signal_cerror.
15025
8a492a67
UD
150262010-07-06 Ulrich Drepper <drepper@redhat.com>
15027
15028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15029 _PC_PIPE_BUF using F_GETPIPE_SZ.
15030
713df3d5
RM
150312010-07-05 Roland McGrath <roland@redhat.com>
15032
15033 * manual/arith.texi (Rounding Functions): Fix rint description
15034 implicit in round description.
15035
702e8f14
UD
150362010-07-02 Ulrich Drepper <drepper@redhat.com>
15037
15038 * elf/Makefile: Fix linking for a few tests to make recent linker
15039 happy.
15040
52ed8be9
AS
150412010-06-30 Andreas Schwab <schwab@redhat.com>
15042
15043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15044 $(common-objpfx)libc_nonshared.a.
15045
f47c9a11
LM
150462010-06-21 Luis Machado <luisgpm@br.ibm.com>
15047
15048 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15049 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15050 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15051 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15052 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15070 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15071 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15072 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15073 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15074 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15075 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15076 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15077 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15078 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15079 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15080 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15081 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15096
6fb8cbcb
L
150972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15098
15099 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15100 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15101 * string/memmove.c (memmove): Renamed to ...
15102 (MEMMOVE): ...this. Default to memmove.
15103 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15104 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15105 (END_CHK): Define.
15106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15107 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15108 mempcpy-ssse3-back memmove-ssse3-back.
15109 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15112 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15113 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15114 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15115 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15116 * sysdeps/x86_64/multiarch/memmove.c: New file.
15117 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15118 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15119 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15120 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15123 Define.
15124 (index_Fast_Copy_Backward): Define.
15125 (HAS_ARCH_FEATURE): Define.
15126 (HAS_FAST_REP_STRING): Define.
15127 (HAS_FAST_COPY_BACKWARD): Define.
15128
4e733bac 151292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15130
15131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15132 Restore proper fallback handling.
15133
63c4ed22
UD
151342010-06-19 Ulrich Drepper <drepper@redhat.com>
15135
ac2b484c
UD
15136 [BZ #11701]
15137 * posix/group_member.c (__group_member): Correct checking loop.
15138
63c4ed22
UD
15139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15140 OOM in getpwuid_r correctly. Return error number when the caller
15141 should return, otherwise -1.
15142 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15143 call returning > 0 value.
15144 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15145
765ade4b
AS
151462010-06-07 Andreas Schwab <schwab@redhat.com>
15147
15148 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15149 libc_nonshared.a from targets in modules-names.
15150
80da2e09
KS
151512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15152
15153 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15154 requires it.
15155
158db122
LM
151562010-06-10 Luis Machado <luisgpm@br.ibm.com>
15157
15158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15162
caa78cf8
AS
151632010-06-02 Andreas Schwab <schwab@redhat.com>
15164
15165 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15166
b2ef2c01
UD
151672010-06-14 Ulrich Drepper <drepper@redhat.com>
15168
15169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15170 and F_GETPIPE_SZ.
15171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15177
fbd643b6
RM
151782010-06-14 Roland McGrath <roland@redhat.com>
15179
15180 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15181
f32f2869
JJ
151822010-06-07 Jakub Jelinek <jakub@redhat.com>
15183
15184 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15185 __REDIRECT followed by __THROW.
15186 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15187 * posix/getopt.h (getopt): Likewise.
15188
2a50c078
EPM
151892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15190
15191 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15192 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15193 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15194 in AT_FLAGS.
15195 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15196 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15197
eb5ad2eb
LM
151982010-05-28 Luis Machado <luisgpm@br.ibm.com>
15199
15200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15201
3c88fe1e
L
152022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 [BZ #11640]
15205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15206 Properly check family and model.
15207
d2f73151
TY
152082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15209
15210 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15211
ebd2e13d
LM
152122010-05-24 Luis Machado <luisgpm@br.ibm.com>
15213
15214 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15215
b32b8b45
UD
152162010-05-21 Ulrich Drepper <drepper@redhat.com>
15217
15218 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15219 symbol reference.
15220
9acbe24d
AS
152212010-05-19 Andreas Schwab <schwab@redhat.com>
15222
15223 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15224 symbol reference.
15225
f0ccf6ea
AS
152262010-05-21 Andreas Schwab <schwab@redhat.com>
15227
3d04ff3a
AS
15228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15229 and internal_recvmmsg.
15230 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15232 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15233 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15234
f0ccf6ea
AS
15235 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15236 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15237 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15238
5b08ac57
AS
152392010-05-20 Andreas Schwab <schwab@redhat.com>
15240
15241 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15242
4828935d
LM
152432010-05-17 Luis Machado <luisgpm@br.ibm.com>
15244
15245 POWER7 optimizations.
15246 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15247 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15248
373d545e
UD
152492010-05-19 Ulrich Drepper <drepper@redhat.com>
15250
15251 * version.h: Update for 2.13 development version.
15252
21a2b1ae
AS
152532010-05-12 Andrew Stubbs <ams@codesourcery.com>
15254
15255 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15256 exceptions. Return 0.
15257
3f7dcb2b
RM
152582010-05-07 Roland McGrath <roland@redhat.com>
15259
15260 * elf/ldconfig.c (main): Add a const.
15261
5f24d53a 152622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15263
a160f8d8
UD
15264 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15265 (args_options): Add no-idn option.
15266 (ahosts_keys_int): Add idn_flags to ai_flags.
15267 (parse_option): Handle 'i' option to clear idn_flags.
15268
5f24d53a
UD
15269 * malloc/malloc.c (_int_free): Possible race in the most recently
15270 added check. Only act on the data if no current modification
15271 happened.
265bb1ce
UD
15272
15273See ChangeLog.17 for earlier changes.