]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Switch gettimeofday from INTUSE to libc_hidden_proto.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d6c33fda
RM
12012-05-24 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #14132]
4 * include/sys/time.h (__gettimeofday): Remove macro.
5 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7 Remove INTDEF.
8 (__gettimeofday): Add libc_hidden_def.
9 (gettimeofday): Add libc_hidden_weak.
10 * sysdeps/mach/gettimeofday.c: Likewise.
11 * sysdeps/posix/gettimeofday.c: Likewise.
12 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15 (__gettimeofday_internal): Remove strong_alias.
16 (__gettimeofday): Add libc_hidden_def.
17 (gettimeofday): Add libc_hidden_weak.
18 * sysdeps/unix/syscalls.list (gettimeofday):
19 Remove __gettimeofday_internal alias.
20
b5a2bbe6
L
212012-05-24 Daniel Jacobowitz <drow@false.org>
22 H.J. Lu <hongjiu.lu@intel.com>
23
24 [BZ #12495]
25 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27 (largebin_index_32_big): New.
28 (largebin_index): Use it for 16-byte alignment.
29 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30 correction with front_misalign.
31
cfba4fda
L
322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33
7f907421
L
34 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36 Likewise.
37 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38 Likewise.
39 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40 Likewise.
41 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42 Likewise.
43 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44 Likewise.
45 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46 Likewise.
47 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48 Likewise.
49 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50 Likewise.
51 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
52 Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
54 Likewise.
55 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56 Likewise.
57 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58 Likewise.
59
cfba4fda
L
60 * scripts/data/c++-types-x32-linux-gnu.data: New file.
61 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62
80bad0cc
JM
632012-05-24 Joseph Myers <joseph@codesourcery.com>
64
7a25eb06
JM
65 [BZ #10846]
66 [BZ #14036]
67 * math/libm-test.inc (exp_test): Add test from bug 14036.
68 (pow_test): Add test from bug 10846.
69
795405f9
JM
70 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71 and other flags.
72 (special_function): Do not include flags in test name.
73 (parse_args): Likewise.
74 * sysdeps/i386/fpu/libm-test-ulps: Update.
75 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79
80bad0cc
JM
80 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81 exceptions.
82 * math/libm-test.inc ("Philosophy"): Update comment about
83 exception testing.
84 (UNDERFLOW_EXCEPTION): New macro.
85 (UNDERFLOW_EXCEPTION_OK): Likewise.
86 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
87 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
88 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
89 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
90 (INVALID_EXCEPTION_OK): Update value.
91 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
92 (OVERFLOW_EXCEPTION_OK): Likewise.
93 (IGNORE_ZERO_INF_SIGN): Likewise.
94 (test_exceptions): Handle underflow exceptions.
95 (acos_test): Update for underflow exception expectations.
96 (cexp_test): Likewise.
97 (clog_test): Likewise.
98 (clog10_test): Likewise.
99 (csqrt_test): Likewise.
100 (ctan_test): Likewise.
101 (ctanh_test): Likewise.
102 (exp_test): Likewise.
103 (exp10_test): Likewise.
104 (exp2_test): Likewise.
105 (expm1_test): Likewise.
106 (fma_test): Likewise.
107 (j0_test): Likewise.
108 (jn_test): Likewise.
109 (nexttoward_test): Likewise.
110 (pow_test): Likewise.
111 (scalbn_test): Likewise.
112 (scalbln_test): Likewise.
113 (tan_test): Likewise.
114 (y1_test): Likewise.
115 * sysdeps/i386/fpu/libm-test-ulps: Update.
116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
117
9e0e3d0b
DM
1182012-05-23 David S. Miller <davem@davemloft.net>
119
120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
121 (__libc_sigaction): Remove unused local variables.
122
ccd0a08f
L
1232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
124
125 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
126
62bdf9a6
PE
1272012-05-23 Paul Eggert <eggert@cs.ucla.edu>
128
f8591f80
PE
129 mktime: avoid signed integer overflow
130 * time/mktime.c (__mktime_internal): Do not mishandle the case
131 where diff == INT_MIN.
132
94c7d826
PE
133 mktime: simplify computation of average
134 * time/mktime.c (ranged_convert): Use new time_t_avg function
135 instead of rolling our own (probably-slower) code.
136
ce73d683
PE
137 mktime: do not assume signed right shift propagates sign bit
138 * time/mktime.c (isdst_differ): New static function.
139 (__mktime_internal): No need to normalize tm_isdst now.
140 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
141 tm_isdst values.
142
72a22e59
PE
143 mktime: merge another wrapv change from gnulib
144 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
145 from some compilers.
146
68605433
PE
147 mktime: remove incorrect attempt at unusual arithmetics
148 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
149 The code didn't really work on such machines anyway.
150 (TYPE_MINIMUM): Assume two's complement.
151 (twos_complement_arithmetic): Verify that long_int and time_t
152 are two's complement (or unsigned, in the latter case).
153
03cf7fe3
PE
154 mktime: check signed shifts on long_int and time_t, too
155 * time/mktime.c (SHR): Check that shifts work as desired
156 on the types long_int and time_t too, as SHR is used on
157 such types.
158
f04dfbc2
PE
159 mktime: do not assume 'long' is wide enough
160 * time/mktime.c (verify): Move decl up.
161 (long_int): New type.
162 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
163 to remove assumption in the code that 'long' is wide enough to
164 store year values. This assumption is not true on x32 and on
165 some non-glibc platforms.
166
62bdf9a6
PE
167 mktime: merge wrapv change from gnulib
168 * time/mktime.c (WRAPV): New macro.
169 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
170 (guess_time_tm, __mktime_internal): Do not assume that signed
171 integer overflow wraps around; modern compilers generate code
172 where this assumption is no longer valid.
173
5e292e4f
L
1742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
175
176 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
177 Replace "jmp L(pseudo_end)" with "ret".
178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
179 Likewise.
180
8caf8c87
AJ
1812012-05-23 Andreas Jaeger <aj@suse.de>
182
183 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
184 * sysdeps/unix/sysv/linux/poll.c: Remove file.
185
1a09dc56
AJ
1862012-05-23 Andreas Jaeger <aj@suse.de>
187 Maximilian Attems <max@stro.at>
188
189 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
190 New macros.
191
1c87aba0
L
1922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
193
194 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
195 code so that pseudo_end is just ret and the stack pointer is
196 correct also for static library in error case.
197
40e45bd5
JM
1982012-05-23 Joseph Myers <joseph@codesourcery.com>
199
c2670533
JM
200 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
201 move to syscalls.list.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
206
40e45bd5
JM
207 * manual/install.texi (Running make install): Do not mention Linux
208 kernel version for which pt_chown is not needed.
209 (Linux): Do not mention problems with nscd with 2.0 kernels.
210 * INSTALL: Regenerated.
211
be08eda5
AJ
2122012-05-23 Andreas Jaeger <aj@suse.de>
213
214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
215 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
216 macro.
217 * sysdeps/unix/sysv/linux/s390/bits/mman.h
218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
219 * sysdeps/unix/sysv/linux/sh/bits/mman.h
220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
221 * sysdeps/unix/sysv/linux/i386/bits/mman.h
222 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
224 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
225 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
226 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
227 * sysdeps/unix/sysv/linux/bits/in.h
228 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
229
a6a056bb
RM
2302012-05-22 Roland McGrath <roland@hack.frob.com>
231
232 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
233 (PREPARE_VERSION): Just use assert instead, it will be elided
234 under [NDEBUG] anyway.
235
c9009328
L
2362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
237
238 * sysdeps/unix/sysv/linux/Makefile: Include
239 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 240 (sysdep_routines): Remove sysctl.
c9009328
L
241 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
242 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
243 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
244 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
245 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
246
73338355
AJ
2472012-05-22 Andreas Jaeger <aj@suse.de>
248
249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
250 that pseudo_end is just ret and the stack pointer is correct also
251 for static library in error case.
252
d44638b0
PP
2532012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
254
255 [BZ #14122]
256 * nss/nsswitch.c (defconfig_entries): New variable.
257 (__nss_database_lookup): Don't leak defconfig entries.
258 (nss_parse_service_list): Don't leak on error paths.
259 (free_database_entries): New function.
260 (free_defconfig): New function.
261 (free_mem): Move common code to free_database_entries.
262
31a39bd8
L
2632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
264
da0331a8
L
265 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
266 Add arch_prctl.
267 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
268
31a39bd8
L
269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
270 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
272 New macro.
273 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
274 (INTERNAL_SYSCALL_TYPES): Likewise.
275 (LOAD_ARGS_TYPES_[1-6]): Likewise.
276 (LOAD_REGS_TYPES_[1-6]): Likewise.
277 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
278 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
279
45470df3
AZ
2802012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
281
282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
283 copysignl for GLIBC_2_0.
284 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
285 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
287 logbl for GLIBC_2_0.
288 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
289 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
290
98a61bcb
L
2912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
292
a4f6e481
L
293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
294 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
295
f63d5db6
L
296 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
297 Use "neg %eax".
298
98a61bcb
L
299 * time/mktime.c: Update copyright years.
300
95770f14
PE
3012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
302
6226efbd
PE
303 mktime: merge comment-quoting-style change from gnulib
304 * time/mktime.c: Quote 'like this' in comments.
305 The GNU coding standards suggest that we no longer quote `like this',
306 as "`" and "'" are typically rendered asymmetrically nowadays.
307 The typical gnulib style is to quote 'like this' when quoting
308 code, and "like this" when quoting English.
309
b99e4f78
PE
310 * time/mktime.c (compile-command): Add "-I.".
311
643e01e6
PE
312 mktime: merge mktime-internal.h change from gnulib
313 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
314
2554247d
PE
315 mktime: merge time_r change from gnulib
316 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
317
826dd0ab
PE
318 mktime: merge DEBUG change from gnulib
319 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
320 case system <time.h> has a #define.
321
bd83aabe
PE
322 mktime: merge <sys/types.h> change from gnulib
323 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
324 since <time.t> is now guaranteed to define time_t.
325
95770f14
PE
326 mktime: merge HAVE_CONFIG_H change from gnulib
327 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
328
5e1a27a9
L
3292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
330
0e44a77e
L
331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
332 Use "neg %eax".
333
5e1a27a9
L
334 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
335 __rlim_t cast.
336 (struct rusage): Use anonymous union to pad each field to
337 __syscall_slong_t.
338
46259bec
DM
3392012-05-21 David S. Miller <davem@davemloft.net>
340
341 * Makefules (o-iterator): Remove .s cases.
342 (compile-command.s): Delete.
343 (COMPILE.s): Delete.
344 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
345
59f0c22e
JM
3462012-05-21 Joseph Myers <joseph@codesourcery.com>
347
348 * configure.in (libc_cv_predef_stack_protector): Only consider
349 "foobar" and "__stack_chk_fail" lines in libc_undefs.
350 * configure: Regenerated.
351
20c07380
L
3522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
353
bbb3154b
L
354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
355 New macro. Use R*LP on int and pointer.
356 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
357 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
358 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
359 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
360
20c07380
L
361 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
362 [__WORDSIZE_TIME64_COMPAT32] instead of
363 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
364 (struct utmp): Likewise.
365 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
366 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
367 Renamed to ...
368 (__WORDSIZE_TIME64_COMPAT32): This.
369 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
370 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
371 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
373 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
374 (__WORDSIZE_TIME64_COMPAT32): New macro.
375
d8d1017e
AJ
3762012-05-21 Andreas Jaeger <aj@suse.de>
377
378 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
379 only if [SHARED]. Add prototype for __wcschr_ia32.
380
6c7fb145
RM
3812012-05-21 Roland McGrath <roland@hack.frob.com>
382
383 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
384 of %rbp unmolested in the jmp_buf while mangling the low bits.
385 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
386 unmolested high bits of %rbp while demangling the low bits.
387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
388
66274218
AJ
3892012-05-21 Andreas Jaeger <aj@suse.de>
390
07c58f8f
AJ
391 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
392 * sunrpc/svc_simple.c: Use it for registerrpc.
393 * sunrpc/xcrypt.c: Use it for passwd2des.
394
66274218
AJ
395 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
396
61f65140
L
3972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
398
399 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
400 Don't define if [__SYSCALL_WORDSIZE != 32].
401 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
402 New macro.
403
5fefb436
AJ
4042012-05-21 Bruno Haible <bruno@clisp.org>
405 Andreas Jaeger <aj@suse.de>
406
407 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
408 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
409 inptr and inend for must_buffer_ch.
410 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
411 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
412 * stdio-common/Makefile (tests): Remove bug15.
413 (bug15-ENV): Remove macro.
414 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
415 anymore.
416
d8e272ab
AJ
4172012-05-19 Andreas Jaeger <aj@suse.de>
418 Roland McGrath <roland@hack.frob.com>
419
420 * manual/contrib.texi: Completely rewritten. It contains now an
421 alphabetical list of contributors and their contributions.
422
4a56a162
RH
4232012-05-21 Richard Henderson <rth@twiddle.net>
424
425 * misc/getauxval.c (__getauxval): Use unsigned long int.
426 * misc/sys/auxv.h: Include <sys/cdefs.h>.
427 (getauxval): Use unsigned long int.
428
d024d23c
L
4292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
430
431 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
432
cbc00a03
RM
4332012-05-21 Roland McGrath <roland@hack.frob.com>
434
435 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
436 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
437 __alignof__ (long double).
438
478143fa
AZ
4392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
440
441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
442
c7683a6d
RH
4432012-05-20 Richard Henderson <rth@twiddle.net>
444
445 * misc/getauxval.c: New file.
446 * misc/sys/auxv.h: New file.
447 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
448 (routines): Add getauxval.
449 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
451 * elf/dl-sysdep.c (_dl_auxv): Remove.
452 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
453 * elf/dl-support.c (_dl_auxv): New variable.
454 (_dl_aux_init): Initialize it.
455 * manual/startup.texi (Auxiliary Vector): New node.
456 * sysdeps/generic/bits/hwcap.h: New file.
457 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
458 * sysdeps/powerpc/sysdep.h: ... here. Include it.
459 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
460 * sysdeps/sparc/sysdep.h: ... here. Include it.
461 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
464 Update.
c7683a6d
RH
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
473
a6f1845d
AZ
4742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
475
476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
477
cbcbe830
DM
4782012-05-19 David S. Miller <davem@davemloft.net>
479
480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
481
e0b16cc2
JM
4822012-05-19 Joseph Myers <joseph@codesourcery.com>
483
484 [BZ #14123]
485 * math/s_ccosh.c: Include <float.h>
486 (__ccosh): Avoid internal overflow calculating sinh and cosh
487 values before multiplying by sin and cos values.
488 * math/s_ccoshf.c: Likewise.
489 * math/s_ccoshl.c: Likewise.
490 * math/s_csin.c: Likewise.
491 * math/s_csinf.c: Likewise.
492 * math/s_csinl.c: Likewise.
493 * math/s_csinh.c: Likewise.
494 * math/s_csinhf.c: Likewise.
495 * math/s_csinhl.c: Likewise.
496 * math/libm-test.inc (ccos_test): Add more tests.
497 (ccosh_test): Likewise.
498 (csin_test): Likewise.
499 (csinh_test): Likewise.
500 * sysdeps/i386/fpu/libm-test-ulps: Update.
501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
502
6ad13e08
L
5032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
504
f66f0ce8
L
505 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
506 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
507
6ad13e08
L
508 * sysdeps/x86_64/x32/_itoa.h: Add comment.
509
b1d072a7
JM
5102012-05-19 Joseph Myers <joseph@codesourcery.com>
511
512 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
513 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
514 * sysdeps/powerpc/soft-fp/Versions: Likewise.
515 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
516 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
517 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
518 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
519 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
520 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
521 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
522 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
523 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
524 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
525 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
526 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
527 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
528 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
529 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
530 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
531 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
532 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
533 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
534 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
535 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
536 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
537 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
538 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
539 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
540 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
541 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
542 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
543
9eae47cb
AJ
5442012-05-18 Andreas Jaeger <aj@suse.de>
545
546 * csu/.gitignore: Delete.
547
bb07f69f
L
5482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
549
550 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
551 (timex): Use __syscall_slong_t.
552
e6bdb741
AJ
5532012-05-18 Andreas Jaeger <aj@suse.de>
554 Carlos O'Donell <carlos_odonell@mentor.com>
555
556 * manual/install.texi (Configuring and compiling): Update
557 description about files modified in the source directory.
d6c33fda 558 * INSTALL: Regenerated.
e6bdb741 559
1b74487e
L
5602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
561
562 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
563 value. Use "or" to set return value to -1.
564 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
565 negate return value.
566
a88b64b9
TMQMF
5672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
568
569 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
570 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
571 failure if the compiler has Graphite support disabled.
572 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
573 Likewise.
574 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
575 CFLAGS-memmove.c): Likewise.
576 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
577 Likewise.
578
3707636e
L
5792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
580
610b8622
L
581 * sysdeps/x86_64/x32/_itoa.h: New file.
582
7cd195df
L
583 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
584 getdents system call only if kernel and user dirents have the
585 same d_ino and d_off.
586
94b07d20
L
587 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
588 LLONG_MAX != LONG_MAX.
589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
590 (_fitoa_word): Likewise.
591
18298070
L
592 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
593 years.
594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
597
553c7ea4
L
598 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
599 include <bits/wordsize.h>. Check __x86_64__ instead of
600 __WORDSIZE.
601 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
602 if __x86_64__ is defined. Use anonymous union on fpstate.
603
3707636e
L
604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
605 anonymous union.
606
b53ef01a
AS
6072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
608
37fb1dc0
AS
609 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
610 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
611 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
612 Refer to _rtld_local_ro instead of _rtld_global_ro.
613 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
614 Likewise.
615 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
616 Likewise.
617 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
618 Likewise.
619 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
620 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
621 of _rtld_global, and rtld_progname instead of _dl_argv[0].
622
b53ef01a
AS
623 * sysdeps/powerpc/powerpc32/dl-machine.c
624 (__elf_machine_runtime_setup) [PROF]: Don't reference
625 _dl_prof_resolve.
626
7a185db2
AJ
6272012-05-18 Andreas Jaeger <aj@suse.de>
628
629 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
630 function only available for GCCs before 3.4 since GCC 3.4
631 introduced a builtin.
632 (lrint): Likewise.
633 (llrintf): Likewise.
634 (llrint): Likewise.
635 (fmaxf): Likewise.
636 (fmax): Likewise.
637 (fminf): Likewise.
638 (fmin): Likewise.
639 (rint): Likewise.
640 (rintf): Likewise.
641 (nearbyint): Likewise.
642 (nearbyintf): Likewise.
643 (ceil): Likewise.
644 (ceilf): Likewise.
645 (floor): Likewise.
646 (floorf): Likewise.
647
3e5aef87
L
6482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
649
428bd707
L
650 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
651 on both fields and cast pointer to __syscall_ulong_t.
652
3e5aef87
L
653 * bits/types.h (__fsword_t): New type.
654 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
655 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
657 (__FSWORD_T_TYPE): Likewise.
658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
659 (__FSWORD_T_TYPE): Likewise.
660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
661 (__FSWORD_T_TYPE): Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
663 (__FSWORD_T_TYPE): Likewise.
664 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
665 __SWORD_TYPE with __fsword_t.
666 (statfs64): Likewise.
667
1ba7c3dc
DM
6682012-05-17 David S. Miller <davem@davemloft.net>
669
670 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
671
59910343
AJ
6722012-05-17 Andreas Jaeger <aj@suse.de>
673
674 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
675 warning.
676
2e4c1e9e
L
6772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
678
679 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
680
de7f5ce7
AJ
6812012-05-17 Andreas Jaeger <aj@suse.de>
682
683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
684 when it is used.
685
286abc3d
CM
6862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
687
688 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
689
477cc68e
L
6902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
691
692 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
693 * sysdeps/x86_64/tst-mallocalign1.c: New file.
694
1a0994f5
CD
6952012-05-17 Andreas Jaeger <aj@suse.de>
696 Carlos O'Donell <carlos_odonell@mentor.com>
697
698 [BZ #14059]
699 * sysdeps/x86_64/multiarch/init-arch.h
700 (bit_YMM_Usable): Rename to...
701 (bit_AVX_Usable): ... this.
702 (bit_FMA4_Usable): New macro.
703 (bit_XMM_state): New macro.
704 (bit_YMM_state): New macro.
705 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
706 [__ASSEMBLER__] (index_AVX_Usable): ... this.
707 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
708 (CPUID_OSXSAVE): New macro.
709 (CPUID_AVX): New macro.
710 (CPUID_FMA4): New macro.
711 (index_YMM_Usable): Rename to...
712 (index_AVX_Usable): ... this.
713 (HAS_AVX): Use HAS_ARCH_FEATURE.
714 (HAS_FMA4): Likewise.
715 (HAS_YMM_USABLE): Remove.
716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
717 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
718 are present.
719 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
720 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
721 * sysdeps/x86_64/multiarch/Makefile: Likewise.
722 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
723 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
724
0af797de
CM
7252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
726
727 * math/libm-test.c: Support platforms without multiple rounding modes.
728 * math/bug-nextafter.c: Support platforms without FP exceptions.
729 * math/bug-nexttoward.c: Likewise.
730 * math/test-fenv.c: Likewise.
731 * math/test-misc.c: Likewise.
732 * stdlib/bug-getcontext.c: Likewise.
733
e39745ff
AJ
7342012-05-17 Andreas Jaeger <aj@suse.de>
735
736 * manual/examples/search.c (critter_cmp): Change signature to
737 avoid warnings.
738 * manual/string.texi (Collation Functions): Likewise.
739
48970aba
L
7402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
741
742 * bits/types.h: Fold copyright years.
743 * bits/typesizes.h: Likewise.
744 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
748 * time/time.h: Likewise.
749
bedee953
PP
7502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
751
752 [BZ #208]
753 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
754 in instead of returning them. Return void.
755 (__libc_mallinfo): Accumulate over all arenas.
756 (__malloc_stats): Adjust for change in int_mallinfo interface.
757
61653dfb
RM
7582012-05-16 Roland McGrath <roland@hack.frob.com>
759
30b99d79
RM
760 [BZ #10375]
761 * configure.in (NM): Add AC_CHECK_TOOL for it.
762 (libc_extra_cflags): New substituted variable.
763 Check for -fstack-protector being used implicitly.
764 * configure: Regenerated.
765 * config.make.in (config-extra-cflags): New variable,
766 gets @libc_extra_cflags@.
767 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
768
61653dfb
RM
769 [BZ #10375]
770 * configure.in: Check for _FORTIFY_SOURCE being predefined.
771 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
772 * configure: Regenerated.
773 * config.make.in (CPPUNDEFS): New substituted variable.
774 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
775 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
776 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
777
661768bb
L
7782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
779
780 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
781 (mq_attr): Use __syscall_slong_t.
782
d4261567
L
7832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
784
785 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
786 Check __x86_64__ instead of __WORDSIZE.
787 (_STAT_VER_LINUX): Likewise.
788 (stat): Check __x86_64__ instead of __WORDSIZE. Use
789 __syscall_ulong_t and __syscall_slong_t.
790 (stat64): Likewise.
791
cf3ff365
L
7922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
793
794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
795
76cf3e4d
L
7962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
799
a637753a
L
8002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
803 __syscall_ulong_t.
804
d5e05119
L
805 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
806 include <bits/wordsize.h>. Check __x86_64__ instead of
807 __WORDSIZE.
808 (greg_t): Use "__extension__ long long int" if __x86_64__ is
809 defined.
810 (mcontext_t): Replace "unsigned long" with "unsigned long long".
811
f62ee380
L
812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
813 include <bits/wordsize.h>. Check __x86_64__ instead of
814 __WORDSIZE.
815 (user_regs_struct): Use "__extension__ unsigned long long"
816 instead of "unsigned long" if __x86_64__ is defined.
817 (user): Likewise. Pad after pointer field if __ILP32__ is
818 defined.
819
4e124ced
JM
8202012-05-16 Joseph Myers <joseph@codesourcery.com>
821
6a3951a0
JM
822 * configure.in (makeinfo): Require version 4.5 or later. Allow
823 versions 5 to 9.
824 * configure: Regenerated.
825 * manual/install.texi (texinfo): Increase version requirement to
826 4.5 or later.
827 * INSTALL: Regenerated.
828
4e124ced
JM
829 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
830
953ca31a
L
8312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
832
833 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
834
617aca05
L
835 * sysdeps/x86_64/x32/ffs.c: New file.
836
5762f7ae
L
837 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
838 __syscall_ulong_t.
839 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
840 defined. Use __syscall_ulong_t.
841 (shminfo): Use __syscall_ulong_t.
842 (shm_info): Likewise.
843
a26b6856
L
844 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
845 __syscall_ulong_t.
846
cb2b9ef7
L
847 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
848 <bits/wordsize.h>.
849 (msgqnum_t): Use __syscall_ulong_t.
850 (msglen_t): Likewise.
851 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
852 __syscall_ulong_t.
853
34683bb0
L
854 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
855 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
856
84a68786
L
857 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
858
48baa5f1
L
859 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
860 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
861
180be88b
L
862 * sysvipc/sys/msg.h (msgbuf): Replace long int with
863 __syscall_slong_t.
864
5e90c8ad
L
865 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
866 include <bits/wordsize.h>. Check __x86_64__ instead of
867 __WORDSIZE.
868
23dfb58b
L
869 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
870 "unsigned long long int" if __x86_64__ is defined.
871 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
872
ce5d54b0
L
873 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
874 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
875 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
876
13dc9eac
L
877 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
878 <stdint.h>.
879 (GET_PC): Cast to uintptr_t first.
880 (GET_FRAME): Likewise.
881 (GET_STACK): Likewise.
882
a7895d15
L
883 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
885 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
887 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
889 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
890 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
891 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
894 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
898 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
904 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
906 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
908 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
912
656416c9
AS
9132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
914
5bd66283
AS
915 * Makerules (+depfiles): Also collect depfiles from .oS in
916 $(extra-objs).
917 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
918 .oS, $(libnldbl-routines)).
919
656416c9
AS
920 * Makerules (native-compile-mkdep-flags): Define.
921 * sunrpc/Makefile (extra-objs): Add $(addprefix
922 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
923 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
924 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
925 calling $(make-target-directory).
926
a46f2169
L
9272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
928
929 * bits/types.h (__snseconds_t): Removed.
930 * time/time.h (struct timespec): Replace __snseconds_t with
931 __syscall_slong_t.
932 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
933 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
934 Likewise.
935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
936 (__SNSECONDS_T_TYPE): Likewise.
937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
938 (__SNSECONDS_T_TYPE): Likewise.
939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
940 (__SNSECONDS_T_TYPE): Likewise.
941
6af6528b
L
9422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
943
944 * sysdeps/mach/hurd/bits/typesizes.h
945 (__SYSCALL_SLONG_TYPE): New macro.
946 (__SYSCALL_ULONG_TYPE): Likewise.
947
de986b56
L
9482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
949
950 * bits/types.h (__syscall_slong_t): New type.
951 (__syscall_ulong_t): Likewise.
952
953 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
954 (__SYSCALL_ULONG_TYPE): Likewise.
955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
956 (__SYSCALL_SLONG_TYPE): Likewise.
957 (__SYSCALL_ULONG_TYPE): Likewise.
958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
959 (__SYSCALL_SLONG_TYPE): Likewise.
960 (__SYSCALL_ULONG_TYPE): Likewise.
961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
962 (__SYSCALL_SLONG_TYPE): Likewise.
963 (__SYSCALL_ULONG_TYPE): Likewise.
964
85736dc7
L
9652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
966
967 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
968 Add sigaltstack-offsets.sym.
969 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
970 <sigaltstack-offsets.h>.
971 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
972 longjmp_msg pointer.
973 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
974 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
975 signal stack.
976 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
977
cc03b296
JM
9782012-05-15 Joseph Myers <joseph@codesourcery.com>
979
a9538892
JM
980 * elf/stackguard-macros.h: Remove file.
981 * sysdeps/generic/stackguard-macros.h: New file.
982 * sysdeps/i386/stackguard-macros.h: Likewise.
983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
989 * sysdeps/x86_64/stackguard-macros.h: Likewise.
990 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
991 <elf/stackguard-macros.h>.
992
cc03b296
JM
993 [BZ #14109]
994 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
995 __aligned__ in attribute.
996 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
997 (gregset_t): Likewise.
998
93171016
L
9992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1002 * sysdeps/x86_64/64/Implies-after: Here. New file.
1003 * sysdeps/x86_64/x32/Implies-after: New file.
1004
d86813a0
L
10052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1008 and access return value for _dl_profile_fixup. Use R10_LP to
1009 load frame size.
1010
2953ec75
L
10112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1014
3b550e9e
L
10152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1018 * sysdeps/x86_64/x32/sysdep.h: New file.
1019
eda41706
L
10202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1023 * sysdeps/x86_64/setjmp.S: Likewise.
1024
9ea01d93
AZ
10252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026
1027 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1029 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1031 remove unused global constant.
1032
02a91938
CM
10332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1034
1035 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1036 include of <not-cancel.h>.
1037
6540185f
RM
10382012-05-15 Roland McGrath <roland@hack.frob.com>
1039
1040 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1041
509072a0
AJ
10422012-05-15 Jeff Law <law@redhat.com>
1043 Andreas Jaeger <aj@suse.de>
1044
1045 [BZ #13594]
1046 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1047 out from...
1048 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1049 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1050 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1051 code changing __hst_map_handle.map.
1052
ba75122d
RM
10532012-05-15 Roland McGrath <roland@hack.frob.com>
1054
1055 * configure.in (sysnames): Look for Implies-before and Implies-after
1056 files.
1057 * configure: Regenerated.
1058
890d8bd8
L
10592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1060
1061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1062 8-byte data alignment with LP_SIZE alignment.
1063
f6ee6623
L
10642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1067 into R10_LP.
1068
ea2626f6
L
10692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1070
1071 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1072
085f715e
L
10732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1076 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1080
be8498fc
L
10812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1084 (stackinfo_sub_sp): Likewise.
1085
70bc83b9
L
10862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1089 RAX_LP.
1090
9bc0b730
L
10912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1094 into R*_LP.
1095
6d2850e7
L
10962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1099 sizes into R*_LP.
1100
3cb84561
L
11012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1104
54e2ed81
L
11052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1108 into R11_LP and load __x86_64_shared_cache_size_half into
1109 R8_LP.
1110
8a17f349
L
11112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1114 R8_LP.
1115
777b1eea
AZ
11162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1117
1118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1119 logb for POWER7.
1120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1121 logbf for POWER7.
1122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1123 logbl for POWER7.
1124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1125 powerpc32/power7/fpu/s_logb.c via #include.
1126 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1127 powerpc32/power7/fpu/s_logbf.c via #include.
1128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1129 powerpc32/power7/fpu/s_logbl.c via #include.
1130
d20d4ac2
JM
11312012-05-15 Joseph Myers <joseph@codesourcery.com>
1132
1133 * README.libm: Remove file.
1134
6cdef1ab
L
11352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1138 count for x32. Use R*_LP and omit operand-size suffix.
1139
0b254d8f
L
11402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1143 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1144 * sysdeps/x86_64/x32/shlib-versions: New file.
1145
ceb809dc
RM
11462012-05-14 Roland McGrath <roland@hack.frob.com>
1147
1148 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1149 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1150 Use _dl_fatal_printf instead.
1151
37f1abd4
JM
11522012-05-14 Joseph Myers <joseph@codesourcery.com>
1153
1154 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1155 set if not set by the user. Do not allow for being unset.
1156 * sysdeps/unix/sysv/linux/configure: Regenerated.
1157
11de3a33
L
11582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1159
1160 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1161 the `q' suffix from lea and replace .quad with ASM_ADDR.
1162
e02f153a
L
11632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1166 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1167 instead of $17.
1168 (PTR_DEMANGLE): Likewise.
1169
520ae0fd
L
11702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1171
1172 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1173 (LP_OP): Likewise.
1174 (ASM_ADDR): Likewise.
1175 (RAX_LP): Likewise.
1176 (RBP_LP): Likewise.
1177 (RBX_LP): Likewise.
1178 (RCX_LP): Likewise.
1179 (RDI_LP): Likewise.
1180 (RSI_LP): Likewise.
1181 (RSP_LP): Likewise.
1182 (R8_LP): Likewise.
1183 (R9_LP): Likewise.
1184 (R10_LP): Likewise.
1185 (R10_LP): Likewise.
1186 (R11_LP): Likewise.
1187 (R12_LP): Likewise.
1188 (R13_LP): Likewise.
1189 (R14_LP): Likewise.
1190 (R15_LP): Likewise.
1191
b985be81
L
11922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * sysdeps/x86_64/x32/dl-machine.h: New file.
1195
6a4888ff
AJ
11962012-05-14 Andreas Jaeger <aj@suse.de>
1197
1198 * manual/Makefile (subdir): Remove export of subdir.
1199 (all): Remove target.
1200 (.PHONY): Remove all from list.
1201 (mkinstalldirs): Remove.
1202 (.PHONY): Remove installdirs from list.
1203 ($(inst_infodir)/libc.info): Use make-target-directory.
1204 (installdirs): Remove.
1205 (subdir_%): Remove.
1206 (glibc-targets): Remove.
1207 (lib): Remove.
1208 (stubs): Remove.
1209 ($(objpfx)stubs ../po/manual.pot): Remove.
1210 ($(objpfx)stamp%): Remove.
1211 (make-target-directory): Remove.
1212 (subdir_install): Remove.
1213 (routines): Remove.
1214 (aux): Remove.
1215 (sources): Remove.
1216 (objects): Remove.
1217 (headers): Remove.
1218
1219 [BZ #13750]
1220 * manual/.gitignore: Remove, it's not needed anymore.
1221 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1222 all files in it.
1223 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1224 directory.
1225 (texis): Renamed to $(objpfx)texis.
1226 (texis-path): New, contains path to generated files.
1227 (chapters.%): Use texis-path for complete path, add extra argument
1228 libc-texinfo.sh.
1229 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1230 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1231 (summary,texi, stamp-summary): Use complete path of
1232 files. Generate files in build dir.
1233 (dir-add.texi): Build in build dir.
1234 (libm-err.texi,stamp-libm-err): Likewise.
1235 (version.texi, stamp-version): Likewise.
1236 (.%c.texi): Likewise.
1237 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1238 (mostlyclean): Remove target.
1239 (realclean): Remove target.
1240 (generated): Add new variable with contents from mostlyclean and
1241 realclean, remove entries duplicated in common-mostlyclean, add
1242 stamp-libm-err and stamp-version.
1243 (generated-dirs): Add libc directory.
1244 ($(inst_infodir)/libc.info): Install files from build dir.
1245
1246 * manual/install.texi (Configuring and compiling): Adjust since
1247 the info files are not part of the tar ball anymore.
1248
7ac77294
AJ
12492012-05-14 Andreas Jaeger <aj@suse.de>
1250
1251 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1252 variable.
1253
ffb7875d
JM
12542012-05-14 Joseph Myers <joseph@codesourcery.com>
1255
1256 [BZ #13717]
1257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1258 to 2.2.0 where earlier.
1259 * sysdeps/unix/sysv/linux/configure: Regenerated.
1260 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1261 Remove conditional code.
1262 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1263 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1264 Remove conditional code.
1265 [!__NR_lchown]: Likewise.
1266 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1267 [__NR_lchown]: Likewise.
1268 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1269 comment referencing __ASSUME_LCHOWN_SYSCALL.
1270 * sysdeps/unix/sysv/linux/i386/sigaction.c
1271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1273 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1274 Remove conditional code.
1275 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1276 (__protocol_available): Remove #if 0 code.
1277 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1278 conditional code.
1279 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1280 * sysdeps/unix/sysv/linux/kernel-features.h
1281 (__ASSUME_GETCWD_SYSCALL): Don't define.
1282 (__ASSUME_REALTIME_SIGNALS): Likewise.
1283 (__ASSUME_PREAD_SYSCALL): Likewise.
1284 (__ASSUME_PWRITE_SYSCALL): Likewise.
1285 (__ASSUME_POLL_SYSCALL): Likewise.
1286 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1287 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1288 non-SPARC.
1289 (__ASSUME_SIOCGIFNAME): Don't define.
1290 (__ASSUME_MSG_NOSIGNAL): Likewise.
1291 (__ASSUME_SENDFILE): Define unconditionally.
1292 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1293 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1294 conditional code.
1295 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1296 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1297 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1298 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1299 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1300 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1301 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1326 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1327 Remove conditional code.
1328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1329 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1330 Remove conditional code.
1331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1332 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1333 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1334 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1335 Remove conditional code.
1336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1337 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1338 Remove conditional code.
1339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1340 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1341 Remove conditional code.
1342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1343 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1344 Remove conditional code.
1345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1346 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1347 Remove conditional code.
1348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1349 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1350 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1352 * sysdeps/unix/sysv/linux/sigaction.c
1353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1355 * sysdeps/unix/sysv/linux/sigpending.c
1356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1358 * sysdeps/unix/sysv/linux/sigprocmask.c
1359 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1360 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1361 * sysdeps/unix/sysv/linux/sigsuspend.c
1362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1365 (__libc_missing_rt_sigs): Remove.
1366 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1367 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1368 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1369 Remove conditional code.
1370 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1371 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1372 return 1.
1373 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1374 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1375 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1376 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1377
1bfb7291
AJ
13782012-05-14 Andreas Jaeger <aj@suse.de>
1379
caae5a81
AJ
1380 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1381 it's not used in glibc.
1382 (__coshm1): Likewise.
1383 (__acosh1p): Likewise.
1384 (__sgn): Likewise.
1385
1bfb7291
AJ
1386 * manual/string.texi (Copying and Concatenation): Add missing
1387 variable in concat example.
1388 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1389
c044d724
L
13902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1391
144c5467 1392 [BZ #14103]
c044d724
L
1393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1394 __builtin_clzl with __builtin_clzll.
1395
2523c62b
L
13962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1397
1398 [BZ #14104]
1399 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1400 libc_freeres_ptr.
1401
d7bb4c42
LD
14022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1403
1404 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1405 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1406 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1407 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1408
9dc4e1fb
MF
14092012-05-14 Mike Frysinger <vapier@gentoo.org>
1410
1411 * NEWS: Update ia64 info.
1412
c7df0112
AS
14132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1414
1415 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1416 used as bcopy.
1417
dc70356c
TS
14182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1419
1420 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1421 * sysdeps/unix/syscalls.list (dup3): Likewise.
1422 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1423 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1424
9fb1a21f
L
14252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1426
1427 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1428 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1429
4822a2a5
L
14302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1433 thread pointer.
1434 (TLS_IE): Use mov/add instead of movq/addq to load thread
1435 pointer.
1436 (TLS_GD_PREFIX): New.
1437 (TLS_GD): Use it.
1438
842b81d6
DM
14392012-05-11 David S. Miller <davem@davemloft.net>
1440
1441 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1442 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1443 (_FPU_SETCW): Likewise.
1444
1cf463cd
L
14452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1448 is 32-byte aligned.
1449
60cc4a18
AS
14502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1451
1452 [BZ #11837]
1453 * iconvdata/gb18030.c: Update tables.
1454 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1455 characters specially.
1456 (BODY for TO_LOOP): Add encoding of missing ranges.
1457
febb44a4
TS
14582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1459
1460 [BZ #13673]
1461 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1462 * sysdeps/mach/hurd/dup3.c: Likewise.
1463 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1464 * sysdeps/powerpc/memmove.c:: Likewise.
1465
0a10fb9e
L
14662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1467
1468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1469 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1470
df8a552f
L
14712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * elf/elf.h (R_X86_64_RELATIVE64): New.
1474 (R_X86_64_NUM): Updated.
1475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1476 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1477 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1478 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1479 tst-quad1pie tst-quad2pie
1480 (modules-names): Add tst-quadmod1 tst-quadmod2.
1481 ($(objpfx)tst-quad1): New dependency.
1482 ($(objpfx)tst-quad2): Likewise.
1483 ($(objpfx)tst-quad1pie): Likewise.
1484 ($(objpfx)tst-quad2pie): Likewise.
1485 * sysdeps/x86_64/tst-quad1.c: New file.
1486 * sysdeps/x86_64/tst-quad1pie.c: New file.
1487 * sysdeps/x86_64/tst-quad2.c: Likewise.
1488 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1489 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1490 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1491 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1492 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1493
f34d6f84
ST
14942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1495
f42d41d1
ST
1496 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1497 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1498 * streams/stropts.h (t_scalar_t): Define type.
1499
3c3571fc
ST
1500 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1501 (_PATH_PRESERVE): Set to "/var/lib".
1502 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1503
61f06bd3
ST
1504 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1505 instead of int.
1506
918d4d71
ST
1507 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1508 if __dir_mkfile succeeded.
1509
f34d6f84
ST
1510 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1511 checking for _hurd_dtablesize. Unlock it right after having
1512 finished _hurd_dtable allocation.
1513
10589b4a
TS
15142012-05-10 Thomas Schwinge <thomas@schwinge.name>
1515
674cdbc7
TS
1516 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1517 * sysdeps/mach/hurd/configure: Regenerated.
1518 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1519 special-casing to...
1520 * sysdeps/gnu/configure.in: ... this new file.
1521 * sysdeps/unix/sysv/linux/configure: Regenerated.
1522 * sysdeps/gnu/configure: New generated file.
1523
8e41b99f
TS
1524 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1525 for Linux: use nsec instead of usec, as well as:
1526 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1527 members of type struct timespec.
1528 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1529 New macros.
1530 (struct stat64): Likewise.
1531 (_STATBUF_ST_NSEC): New macro.
1532 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1533
10589b4a
TS
1534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1535 __strtoul_internal rather than strtoul.
1536
63643c85
PT
15372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1538
1539 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1540 and reject them.
1541
3faebe6a
ST
15422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1543
1544 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1545 which preserves existing values.
1546 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1547
c6474b07
PT
15482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1549
1550 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1551 TIMEOUT values. Return EINVAL for NFDS values either negative or
1552 greater than FD_SETSIZE.
1553
1043890b
ST
15542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1555
1556 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1557 allocated, call __vm_protect to finish enabling the existing space, and
1558 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1559 allocate the remainder.
1560
37ed8b9b
PT
15612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1562
1563 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1564 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1565
db653660
ST
15662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1567
37ed8b9b
PT
1568 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1569 sysdeps/mach/hurd/readlink.c.
b29d4053 1570
db653660
ST
1571 * posix/tst-sysconf.c (posix_options): Only use
1572 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1573 _POSIX_SYNCHRONIZED_IO when they are defined
1574 * sysdeps/mach/hurd/bits/posix_opt.h:
1575 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1576 (_XOPEN_REALTIME): Undefine macro.
1577 (_XOPEN_REALTIME_THREADS): Undefine macro.
1578 (_XOPEN_SHM): Undefine macro.
1579 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1580 macro to -1.
1581 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1582 macro to -1.
1583 (_POSIX_ASYNC_IO): Undefine macro.
1584 (_POSIX_PRIORITIZED_IO): Undefine macro.
1585 (_POSIX_SPIN_LOCKS): Define macro to -1.
1586
ee16e894
ST
1587 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1588 SA_NODEFER, SA_RESETHAND.
1589 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1590 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1591 F_DUPFD_CLOEXEC.
1592
6103ae3b
TS
15932012-05-10 Thomas Schwinge <thomas@schwinge.name>
1594
1595 * elf/Makefile (pldd-modules): Define unconditionally.
1596
80b4e5f3
TS
15972012-05-10 Thomas Schwinge <thomas@schwinge.name>
1598
1599 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1600
edadcbd6
ST
16012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1602
1603 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1604 Return ENOENT when name is empty.
1605 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1606
80694780
TS
16072012-05-10 Thomas Schwinge <thomas@schwinge.name>
1608
1792c087
TS
1609 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1610
80694780
TS
1611 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1612
6b645f0d
ST
16132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1614
80694780
TS
1615 Fix mlock in all cases except non-readable pages.
1616 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1617 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1618
6b645f0d
ST
1619 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1620 (__mkdir): When path is `/', just fail with EEXIST.
1621 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1622
e468f8a3
TS
16232012-05-10 Thomas Schwinge <thomas@schwinge.name>
1624
1625 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1626 <sys/uio.h> (for writev).
1627 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1628 and <sys/param.h> (for MIN).
1629
a4186cff
PT
16302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1631
1632 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1633 REQUESTED_TIME. Properly set the remaining time and return EINTR
1634 if interrupted.
1635
510bbf14
TS
16362012-05-10 Thomas Schwinge <thomas@schwinge.name>
1637
1638 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1639 Depend on against $(link-rpcuserlibs).
1640
5d5722e8
ST
16412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1642
a4186cff
PT
1643 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1644 (__libc_stack_end): Do not use attribute_relro.
1645 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1646 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1647 to libthread-provided value.
a4186cff
PT
1648 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1649 attribute_relro.
5d5722e8 1650
37233df9
TS
16512012-05-10 Thomas Schwinge <thomas@schwinge.name>
1652
be971a2b
TS
1653 [BZ #3748]
1654 * bits/libc-lock.h (__libc_once_get): New macro.
1655 * sysdeps/mach/bits/libc-lock.h: Likewise.
1656 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1658 instead of using implementation details.
1659
37233df9
TS
1660 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1661 * libio/freopen.c: Likewise.
1662 * libio/freopen64.c: Likewise.
1663 * misc/syslog.c: Likewise.
1664 * nscd/connections.c: Likewise.
1665 * nscd/netgroupcache.c: Likewise.
1666 * sysdeps/posix/getcwd.c: Likewise.
1667
38de94a5
RM
16682012-05-10 Roland McGrath <roland@hack.frob.com>
1669
1670 * math/w_ilogbf.c: Add #include <limits.h>.
1671
67530489
ST
16722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1673
a4186cff 1674 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1675 path instead of returning without unlocking.
1676
67530489
ST
1677 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1678 immediate-write ioctls.
1679 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1680
5aa3a74a
TS
16812012-05-10 Thomas Schwinge <thomas@schwinge.name>
1682
18bad2ae
TS
1683 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1684 __builtin_frame_address instead of making assumptions about the
1685 location of the return address relative to DATA. Force early load of
1686 the return address.
1687 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1688 __builtin_frame_address.
1689
5aa3a74a
TS
1690 dup3 for GNU Hurd.
1691 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1692 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1693 implement dup3 and do some further code clean-ups.
1694 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1695 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1696
ecd0de9a
ST
16972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1698
cd9fa985
ST
1699 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1700
a4186cff
PT
1701 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1702 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1703 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1704 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1705 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1706 d->port.lock.
802ca5a5 1707
a4186cff
PT
1708 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1709 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1710 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1711
bcf55240
TS
17122012-05-10 Thomas Schwinge <thomas@schwinge.name>
1713
6960eb42
TS
1714 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1715 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1716 definitions.
1717
eb43375f
TS
1718 accept4 for GNU Hurd.
1719 * include/sys/socket.h (__libc_accept4): New prototype.
1720 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1721 to implement __libc_accept4.
1722 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1723 __libc_accept4.
1724 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1725
bcf55240
TS
1726 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1727 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1728 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1729 signal-defines.sym.
1730
6178c55b
ST
17312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1732
a4186cff 1733 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1734
6f080c2f
TS
17352012-05-10 Thomas Schwinge <thomas@schwinge.name>
1736
1737 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1738 assertion on O_CLOEXEC flag.
1739 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1740 * hurd/intern-fd.c: Likewise.
1741 * hurd/port2fd.c: Likewise.
1742
bcfe3a54
ST
17432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1744
1745 [BZ #3906]
1746 * bits/in.h (IPV6_PKTINFO): Define new macro.
1747 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1748
89c9aa49
AZ
17492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1750
1751 [BZ #13954]
1752 [BZ #13955]
1753 [BZ #13956]
1754 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1756 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1757 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1759 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1760 * math/libm-test.inc (logb_test) : Additional logb tests.
1761
021db4be
AJ
17622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1763 Andreas Jaeger <aj@suse.de>
1764
1765 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1766 * configure: Regenerated.
1767 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1768 * config.make.in (link-obsolete-rpc): New substituted variable.
1769 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1770 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1771 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1772 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1773 so that libc.a contains the symbols.
1774 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1775 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1776 * sunrpc/auth_none.c: Likewise.
1777 * sunrpc/auth_unix.c: Likewise.
1778 * sunrpc/authdes_prot.c: Likewise.
1779 * sunrpc/authuxprot.c: Likewise.
1780 * sunrpc/clnt_gen.c: Likewise.
1781 * sunrpc/clnt_perr.c: Likewise.
1782 * sunrpc/clnt_raw.c: Likewise.
1783 * sunrpc/clnt_simp.c: Likewise.
1784 * sunrpc/clnt_tcp.c: Likewise.
1785 * sunrpc/clnt_udp.c: Likewise.
1786 * sunrpc/clnt_unix.c: Likewise.
1787 * sunrpc/des_crypt.c: Likewise.
1788 * sunrpc/des_soft.c: Likewise.
1789 * sunrpc/get_myaddr.c: Likewise.
1790 * sunrpc/key_call.c: Likewise.
1791 * sunrpc/key_prot.c: Likewise.
1792 * sunrpc/netname.c: Likewise.
1793 * sunrpc/pm_getmaps.c: Likewise.
1794 * sunrpc/pm_getport.c: Likewise.
1795 * sunrpc/pmap_clnt.c: Likewise.
1796 * sunrpc/pmap_prot.c: Likewise.
1797 * sunrpc/pmap_prot2.c: Likewise.
1798 * sunrpc/pmap_rmt.c: Likewise.
1799 * sunrpc/publickey.c: Likewise.
1800 * sunrpc/rpc_cmsg.c: Likewise.
1801 * sunrpc/rpc_common.c: Likewise.
1802 * sunrpc/rpc_dtable.c: Likewise.
1803 * sunrpc/rpc_prot.c: Likewise.
1804 * sunrpc/rpc_thread.c: Likewise.
1805 * sunrpc/rtime.c: Likewise.
1806 * sunrpc/svc.c: Likewise.
1807 * sunrpc/svc_auth.c: Likewise.
1808 * sunrpc/svc_raw.c: Likewise.
1809 * sunrpc/svc_run.c: Likewise.
1810 * sunrpc/svc_tcp.c: Likewise.
1811 * sunrpc/svc_udp.c: Likewise.
1812 * sunrpc/svc_unix.c: Likewise.
1813 * sunrpc/svcauth_des.c: Likewise.
1814 * sunrpc/xcrypt.c: Likewise.
1815 * sunrpc/xdr.c: Likewise.
1816 * sunrpc/xdr_array.c: Likewise.
1817 * sunrpc/xdr_float.c: Likewise.
1818 * sunrpc/xdr_intXX_t.c: Likewise.
1819 * sunrpc/xdr_mem.c: Likewise.
1820 * sunrpc/xdr_rec.c: Likewise.
1821 * sunrpc/xdr_ref.c: Likewise.
1822 * sunrpc/xdr_sizeof.c: Likewise.
1823 * sunrpc/xdr_stdio.c: Likewise.
1824
b5c086a2
RM
18252012-05-10 Roland McGrath <roland@hack.frob.com>
1826
1827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1828 change. Update copyright years.
1829
6d74dd09
JM
18302012-05-10 Joseph Myers <joseph@codesourcery.com>
1831
1832 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1833
28e72501
MK
18342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1835 Joseph Myers <joseph@codesourcery.com>
1836 Paul Pluzhnikov <ppluzhnikov@google.com>
1837
1838 [BZ #14012]
1839 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1840 requiring rpcgen.
1841 [cross-compiling] (extra-libs): Likewise.
1842 [cross-compiling] (extra-libs-others): Likewise.
1843 [cross-compiling] (librpcsvc-routines): Likewise.
1844 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1845 [cross-compiling] (omit-deps): Likewise.
1846 (sunrpc-CPPFLAGS): New variable.
1847 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1848 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1849 (cross-rpcgen-objs): New variable.
1850 (extra-objs): Append $(cross-rpcgen-objs).
1851 ($(cross-rpcgen-objs)): New rule.
1852 ($(objpfx)cross-rpcgen): Likewise.
1853 (rpcgen-cmd): Define to use $(built-program-file). Expand
1854 comment.
1855 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1856 ($(objpfx)x%.stmp): Likewise.
1857 * sunrpc/proto.h [IS_IN_build] (_): Define.
1858 [IS_IN_build] (_libc_intl_domainname): Likewise.
1859
c8c59454
L
18602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1863 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1864 and R_X86_64_TPOFF64.
1865
6f27cd16
JM
18662012-05-10 Joseph Myers <joseph@codesourcery.com>
1867
1868 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1869 sysdeps/unix/sysv/syscalls.list.
1870 (stime): Likewise.
1871 (utime): Likewise.
1872 * sysdeps/unix/sysv/syscalls.list: Remove file.
1873
02467e1c
PE
18742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1875
1876 [BZ #3440]
1877 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1878 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1879 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1880 (__LC_IDENTIFICATION): Make these macros useful in #if
1881 expressions, as required by C99.
1882
da392631
AS
18832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1884
1885 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1886 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1887 after this.
1888
8115f29b
L
18892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 * stdlib/longlong.h: Updated from GCC.
1892
bdd74070
AJ
18932012-05-09 Andreas Jaeger <aj@suse.de>
1894
edfe0dbe
AJ
1895 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1896 default is first entry.
1897 (run_mode): Set type.
1898 (main): Remove informal message about syslog.
1899 (options): Fix typo.
1900
bcfe3a54
ST
1901 [BZ #14053]
1902 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1903 to asm.
bcfe3a54
ST
1904 (lrint): Likewise.
1905 (llrintf): Likewise.
1906 (llrint): Likewise.
1907 (rint): Likewise.
1908 (rintf): Likewise.
1909 (nearbyint): Likewise.
1910 (nearbyintf): Likewise.
bdd74070 1911
91d8d69e
AJ
19122012-05-09 Andreas Jaeger <aj@suse.de>
1913 Pedro Alves <palves@redhat.com>
1914
1915 * nscd/nscd.c (run_mode): Use enum.
1916 (main): Cleanup coding style issue.
1917
bb90b80b
AJ
19182012-05-09 Alexandre Oliva <aoliva@redhat.com>
1919 Andreas Jaeger <aj@suse.de>
1920
bcfe3a54
ST
1921 * nscd/nscd.c (go_background): Replaced with...
1922 (run_mode): ... this.
bb90b80b 1923 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1924 (options): Add -F --foreground.
1925 (main): Implement it.
1926 (parse_opt): Parse it.
bb90b80b 1927
1a4b75a1
AJ
19282012-05-09 Andreas Jaeger <aj@suse.de>
1929
1930 [BZ #14083]
1931 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1932 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1933 -Wconversion warning.
1934 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1935 Likewise.
1936
b1cc2472
JM
19372012-05-09 Joseph Myers <joseph@codesourcery.com>
1938
1939 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1940 == 0.
1941 (LC_ALL): Use macro-int-constant.
1942 (LC_COLLATE): Likewise.
1943 (LC_CTYPE): Likewise.
1944 (LC_MESSAGES): Likewise.
1945 (LC_MONETARY): Likewise.
1946 (LC_NUMERIC): Likewise.
1947 (LC_TIME): Likewise.
1948 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1949 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1951 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1952 Specify type.
1953 [C99-based standards] (float_t): Expect type.
1954 [C99-based standards] (double_t): Expect type.
1955 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1956 type.
1957 [C99-based standards] (HUGE_VALL): Likewise.
1958 [C99-based standards] (INFINITY): Likewise.
1959 [C99-based standards] (NAN): Likewise.
1960 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1961 [C99-based standards] (FP_NAN): Likewise.
1962 [C99-based standards] (FP_NORMAL): Likewise.
1963 [C99-based standards] (FP_SUBNORMAL): Likewise.
1964 [C99-based standards] (FP_ZERO): Likewise.
1965 [C99-based standards] (FP_FAST_FMA): Use
1966 optional-macro-int-constant. Specify type. Require == 1.
1967 [C99-based standards] (FP_FAST_FMAF): Likewise.
1968 [C99-based standards] (FP_FAST_FMAL): Likewise.
1969 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1970 [C99-based standards] (FP_ILOGBNAN): Likewise.
1971 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1972 Specify type.
1973 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1974 [C99-based standards] (math_errhandling): Specify type.
1975 [ISO99 || ISO11] (signgam): Do not allow.
1976 [non-C99-based standards] (copysignf): Do not allow.
1977 [non-C99-based standards] (exp2f): Likewise.
1978 [non-C99-based standards] (log2f): Likewise.
1979 [non-C99-based standards] (modff): Allow.
1980 [non-C99-based standards] (erff): Do not allow.
1981 [non-C99-based standards] (erfcf): Likewise.
1982 [non-C99-based standards] (gammaf): Likewise.
1983 [non-C99-based standards] (hypotf): Likewise.
1984 [non-C99-based standards] (j0f): Likewise.
1985 [non-C99-based standards] (j1f): Likewise.
1986 [non-C99-based standards] (jnf): Likewise.
1987 [non-C99-based standards] (lgammaf): Likewise.
1988 [non-C99-based standards] (tgammaf): Likewise.
1989 [non-C99-based standards] (y0f): Likewise.
1990 [non-C99-based standards] (y1f): Likewise.
1991 [non-C99-based standards] (ynf): Likewise.
1992 [non-C99-based standards] (isnanf): Likewise.
1993 [non-C99-based standards] (acoshf): Likewise.
1994 [non-C99-based standards] (asinhf): Likewise.
1995 [non-C99-based standards] (atanhf): Likewise.
1996 [non-C99-based standards] (cbrtf): Likewise.
1997 [non-C99-based standards] (expm1f): Likewise.
1998 [non-C99-based standards] (ilogbf): Likewise.
1999 [non-C99-based standards] (log1pf): Likewise.
2000 [non-C99-based standards] (logbf): Likewise.
2001 [non-C99-based standards] (nextafterf): Likewise.
2002 [non-C99-based standards] (remainderf): Likewise.
2003 [non-C99-based standards] (rintf): Likewise.
2004 [non-C99-based standards] (scalbf): Likewise.
2005 [non-C99-based standards] (copysignl): Likewise.
2006 [non-C99-based standards] (exp2l): Likewise.
2007 [non-C99-based standards] (log2l): Likewise.
2008 [non-C99-based standards] (modfl): Allow.
2009 [non-C99-based standards] (erfl): Do not allow.
2010 [non-C99-based standards] (erfcl): Likewise.
2011 [non-C99-based standards] (gammal): Likewise.
2012 [non-C99-based standards] (hypotl): Likewise.
2013 [non-C99-based standards] (j0l): Likewise.
2014 [non-C99-based standards] (j1l): Likewise.
2015 [non-C99-based standards] (jnl): Likewise.
2016 [non-C99-based standards] (lgammal): Likewise.
2017 [non-C99-based standards] (tgammal): Likewise.
2018 [non-C99-based standards] (y0l): Likewise.
2019 [non-C99-based standards] (y1l): Likewise.
2020 [non-C99-based standards] (ynl): Likewise.
2021 [non-C99-based standards] (isnanl): Likewise.
2022 [non-C99-based standards] (acoshl): Likewise.
2023 [non-C99-based standards] (asinhl): Likewise.
2024 [non-C99-based standards] (atanhl): Likewise.
2025 [non-C99-based standards] (cbrtl): Likewise.
2026 [non-C99-based standards] (expm1l): Likewise.
2027 [non-C99-based standards] (ilogbl): Likewise.
2028 [non-C99-based standards] (log1pl): Likewise.
2029 [non-C99-based standards] (logbl): Likewise.
2030 [non-C99-based standards] (nextafterl): Likewise.
2031 [non-C99-based standards] (remainderl): Likewise.
2032 [non-C99-based standards] (rintl): Likewise.
2033 [non-C99-based standards] (scalbl): Likewise.
2034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2035 [non-C99-based standards] (FP_*): Do not allow.
2036 [C99-based standards] (FP_*): Change to
2037 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2038 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2039 allow.
2040 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2041 (SIG_ERR): Likewise.
2042 [X/Open-based standards] (SIG_HOLD): Likewise.
2043 (SIG_IGN): Likewise.
2044 (SIGABRT): Use macro-int-constant. Specify type. Require
2045 positive value.
2046 (SIGFPE): Likewise.
2047 (SIGILL): Likewise.
2048 (SIGINT): Likewise.
2049 (SIGSEGV): Likewise.
2050 (SIGTER): Likewise.
2051 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2052 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2053 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2054 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2055 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2056 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2057 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2058 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2059 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2060 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2061 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2062 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2063 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2064 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2065 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2066 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2067 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2069 [X/Open-based standards] (SIGTRAP): Likewise.
2070 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2071 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2072 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2073 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2074 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2075 allow.
2076
b9f1922d
IW
20772012-05-08 Ian Wienand <ianw@vmware.com>
2078
2079 [BZ #14080]
2080 * time/tzset.c (__tzset_parse_tz): Update default rules for
2081 daylight time changes in the Energy Policy Act of 2005.
2082
1db86e88
AJ
20832012-05-09 Andreas Jaeger <aj@suse.de>
2084
2085 [BZ #13983]
2086 * elf/ldconfig.c (parse_conf): Change string to make clear that
2087 ldconfig only issued a warning if ld.so.conf does not exist.
2088
dee4a4e3
DM
20892012-05-08 David S. Miller <davem@davemloft.net>
2090
ee0db190
DM
2091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2092 movxtod instead of popping the value on the stack.
2093
dee4a4e3
DM
2094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2095
6a43ec98
CD
20962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2097
2098 * config.h.in: Add HAVE_ARM_PCS_VFP.
2099
05c2c961
RMG
21002012-05-08 Roland Mc Grath <roland@hack.frob.com>
2101
bcfe3a54
ST
2102 [BZ #13979]
2103 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2104 checking but the checks are disabled for any reason.
05c2c961 2105
4b30f61a
L
21062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2109 and ELF64_R_TYPE with ELFW(R_TYPE).
2110
eee2bc67
JM
21112012-05-08 Joseph Myers <joseph@codesourcery.com>
2112
7ea5391a
JM
2113 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2114 (ulimit): Likewise.
2115
eee2bc67
JM
2116 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2117 (settimeofday): Likewise.
2118
abb66a67
MF
21192012-05-08 Mike Frysinger <vapier@gentoo.org>
2120
2121 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2122 a struct th_u2 inside the union, and move tu_block/tu_code into
2123 a new th_u3 union of tu_block/tu_code inside of that. Move
2124 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2125 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2126 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2127 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2128 (th_stuff): Change to th_u1.tu_stuff.
2129 (th_data): Define.
2130 (th_msg): Change to th_u1.th_u2.tu_data.
2131
7f18b530
DM
21322012-05-07 David S. Miller <davem@davemloft.net>
2133
05760585
DM
2134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2135
7f18b530
DM
2136 [BZ #14074]
2137 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2138 (SETUP_PIC_REG): Use it.
2139 (SETUP_PIC_REG_LEAF): Use it.
2140
495fd99f
JM
21412012-05-07 Joseph Myers <joseph@codesourcery.com>
2142
2143 [BZ #13885]
2144 [BZ #13923]
2145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2146 USE_AS_EXPM1L.
2147 (EXPL_FINITE): Likewise.
2148 (FLDLOG): Likewise.
2149 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2150 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2151 e_expl.S.
2152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2153 USE_AS_EXPM1L.
2154 (EXPL_FINITE): Likewise.
2155 (FLDLOG): Likewise.
2156 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2157 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2158 e_expl.S.
2159 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2160 test of -max_value argument for long double.
2161 * sysdeps/i386/fpu/libm-test-ulps: Update.
2162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2163
6693d694
DM
21642012-05-06 David S. Miller <davem@davemloft.net>
2165
2166 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2167 quad soft-float symbols whose references which are compiler
2168 generated.
2169 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2170
6c23e11c
JM
21712012-05-06 Joseph Myers <joseph@codesourcery.com>
2172
d8b82cad
JM
2173 [BZ #13884]
2174 [BZ #13914]
2175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2176 USE_AS_EXP10L.
2177 (EXPL_FINITE): Likewise.
2178 (FLDLOG): Likewise.
2179 (c0): Likewise.
2180 (c1): Likewise.
2181 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2182 Adjust comments for base varying.
2183 (__expl_finite): Change alias to EXPL_FINITE.
2184 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2185 e_expl.S.
2186 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2187 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2189 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2191 USE_AS_EXP10L.
2192 (EXPL_FINITE): Likewise.
2193 (FLDLOG): Likewise.
2194 (c0): Likewise.
2195 (c1): Likewise.
2196 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2197 Adjust comments for base varying.
2198 (__expl_finite): Change alias to EXPL_FINITE.
2199 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2200 tests for bugs.
2201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2202
6c23e11c
JM
2203 [BZ #14064]
2204 * math/libm-test.inc (check_float_internal): Correct ulp
2205 calculation for subnormal expected results.
2206
29ba805c
AJ
22072012-05-06 Andreas Jaeger <aj@suse.de>
2208
2209 * Makeconfig (+math-flags): New, set to -frounding-math.
2210 (+cflags): Add +math-flags so that all of glibc gets compiled with
2211 it.
2212
2213 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2214
7b17aeda
JM
22152012-05-05 Joseph Myers <joseph@codesourcery.com>
2216
5779f134
JM
2217 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2218 Disable one test.
2219
41498f4d
JM
2220 [BZ #13787]
2221 [BZ #13922]
2222 [BZ #14036]
2223 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2224 (__ieee754_expl): Allow for and saturate large arguments.
2225 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2226 (u_threshold): Likewise.
2227 (__exp): Call __ieee754_exp before checking for overflow and
2228 underflow.
2229 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2230 (u_threshold): Likewise.
2231 (__expf): Call __ieee754_expf before checking for overflow and
2232 underflow.
2233 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2234 (u_threshold): Likewise.
2235 (__expl): Call __ieee754_expl before checking for overflow and
2236 underflow.
2237 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2238 (__ieee754_expl): Allow for and saturate large arguments.
2239 * math/libm-test.inc (exp_test): Add another test. Do not allow
2240 missing overflow exception on overflow.
2241 (expm1_test): Do not allow missing overflow exception on overflow.
2242
6698b8bf
JM
2243 * sysdeps/i386/fpu/e_expl.c: Move to ...
2244 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2245 rather than using inline asm.
2246 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2247 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2248 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2249
7b17aeda
JM
2250 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2251 (nice): Likewise.
2252 (poll): Likewise.
2253 (signal): Likewise.
2254 (time): Likewise.
2255 (times): Likewise.
2256
f7c85819
JM
22572012-05-04 Joseph Myers <joseph@codesourcery.com>
2258
2259 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2260 sysdeps/unix/common/syscalls.list.
2261 (fchmod): Likewise.
2262 (fchown): Likewise.
2263 (ftruncate): Likewise.
2264 (getrusage): Likewise.
2265 (gettimeofday): Likewise.
2266 (setpgid): Likewise.
2267 (setregid): Likewise.
2268 (setreuid): Likewise.
2269 (sigaction): Likewise.
2270 (truncate): Likewise.
2271 (vhangup): Likewise.
2272 * sysdeps/unix/common/syscalls.list: Remove file.
2273 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2274 * sysdeps/unix/sysv/linux/Implies: Likewise.
2275
336270d0
L
22762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2277
2278 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2280 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2281 Moved to ...
2282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2283 Here.
2284 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2285 to ...
2286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2287 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2288 to ...
2289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2290 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2291 to ...
2292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2293 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2294 to ...
2295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2296 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2297 to ...
2298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2299 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2300 to ...
2301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2302 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2303 to ...
2304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2305 Here.
2306 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2307 to ...
2308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2309 Here.
2310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2311 to ...
2312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2313 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2314 Moved to ...
2315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2316 Here.
2317 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2318 to ...
2319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2320
d128e450
JM
23212012-05-04 Joseph Myers <joseph@codesourcery.com>
2322
fa8ee516
JM
2323 * sysdeps/unix/common/bits/dirent.h: Remove file.
2324 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2325
d128e450
JM
2326 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2327 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2328 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2329 * sysdeps/unix/bsd/isatty.c: Likewise.
2330 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2331 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2332 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2333
ff8faaf0 23342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2335
62881be4 2336 [BZ #13563]
31dc8730
AZ
2337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2338 long double comparison inaccuracies.
2339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2341
6fef930c
AS
23422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2343
2344 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2346
8f203e6c
JM
23472012-05-04 Joseph Myers <joseph@codesourcery.com>
2348
2349 [BZ #14049]
2350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2351 nonzero digits before rounding a hex value.
2352 * stdlib/tst-strtod.c (tests): Add another test.
2353
5197d9c2
AK
23542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2355
2356 * sysdeps/s390/fpu/libm-test-ulps: Update.
2357
f0c1dedf
AJ
23582012-05-03 Andreas Jaeger <aj@suse.de>
2359
2360 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2361 does not get optimized out.
2362 (malloc_opt_barrier): New.
2363
a65ef2ae 23642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2365 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2366
2b942cb7 2367 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2368 intermediate file deletion.
2b942cb7 2369 (generated): Add .symlist files.
a65ef2ae 2370
54b71e02
JM
23712012-05-03 Joseph Myers <joseph@codesourcery.com>
2372
2373 [BZ #13775]
2374 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2375 Redirect under this condition.
2376 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2377 [__USE_GNU] (__dprintf_chk): Not under this condition.
2378 [__USE_GNU] (__vdprintf_chk): Likewise.
2379 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2380 under this condition.
2381 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2382 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2383 [__USE_XOPEN2K8] (vdprintf): Likewise.
2384 [__USE_GNU] (__dprintf_chk): Not under this condition.
2385 [__USE_GNU] (__vdprintf_chk): Likewise.
2386 [__USE_GNU] (dprintf): Likewise.
2387 [__USE_GNU] (vdprintf): Likewise.
2388
d3dfcc41
RM
23892012-05-03 Roland McGrath <roland@hack.frob.com>
2390
2391 * elf/Makefile (common-generated): Set this instead of generated for
2392 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2393 $(all-built-dso)-derived lists.
2394
7ac30cc5
AJ
23952012-05-03 Andreas Jaeger <aj@suse.de>
2396
0c51e550
AJ
2397 * sysdeps/i386/fpu/libm-test-ulps: Update.
2398
7ac30cc5
AJ
2399 * FAQ: Removed.
2400 * FAQ.in: Likewise.
2401 * scripts/gen-FAQ.pl: Likewise.
2402 * manual/install.texi (Installation): Point to online location of
2403 FAQ.
2404 * Makefile (files-for-dist): Remove FAQ.
2405 (FAQ): Remove.
2406
d4c2917f
AM
24072012-05-02 Allan McRae <allan@archlinux.org>
2408
2409 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2410 (LDFLAGS-reldepmod5.so): Likewise.
2411 (LDFLAGS-reldep6mod1.so): Likewise.
2412 (LDFLAGS-reldep6mod4.so): Likewise.
2413 (LDFLAGS-reldep8mod3.so): Likewise.
2414 (LDFLAGS-unload4mod1.so): Likewise.
2415 (LDFLAGS-unload4mod2.so): Likewise.
2416 (LDFLAGS-tst-initorder): Likewise.
2417 (LDFLAGS-tst-initordera2.so): Likewise.
2418 (LDFLAGS-tst-initordera3.so): Likewise.
2419 (LDFLAGS-tst-initordera4.so): Likewise.
2420 (LDFLAGS-tst-initorderb2.so): Likewise.
2421 (LDFLAGS-noload): Likewise.
2422 (LDFLAGS-next): Likewise.
2423 (LDFLAGS-order2mod1.so): Likewise.
2424 (LDFLAGS-order2mod2.so): Likewise.
2425 (LDFLAGS-tst-initorder2): Likewise.
2426 (LDFLAGS-tst-initorder2a.so): Likewise.
2427 (LDFLAGS-tst-initorder2b.so): Likewise.
2428 (LDFLAGS-tst-initorder2c.so): Likewise.
2429 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2430
d77f993f
DM
24312012-05-02 David S. Miller <davem@davemloft.net>
2432
2433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2434
171a70b4
PP
24352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2436
2437 [BZ #14055]
2438 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2439
0be196ad
AJ
24402012-05-02 Andreas Jaeger <aj@suse.de>
2441
2442 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2443 since we manipulate rounding mode.
2444 (CPPFLAGS-test-idouble.c): Likewise.
2445 (CPPFLAGS-test-ifloat.c): Likewise.
2446 (CFLAGS-test-ldouble.c): Likewise.
2447 (CFLAGS-test-double.c): Likewise.
2448 (CFLAGS-test-float.c): Likewise.
2449 (CFLAGS-test-misc.c): Likewise.
2450 (CFLAGS-test-test-fenv.c): Likewise.
2451
4f9d04aa
AZ
24522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2453
2b942cb7
RM
2454 [BZ #2550]
2455 [BZ #2570]
2456 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2457 comparisons to determine direction to adjust input.
4f9d04aa 2458
82a79e7d
RM
24592012-05-01 Roland McGrath <roland@hack.frob.com>
2460
f5a01ca9
RM
2461 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2462 output to the target.
2463
90fe4186
RM
2464 * scripts/localplt.awk: New file.
2465 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2466 (check-localplt-CFLAGS): Variable removed.
2467 ($(all-built-dso:=.jmprel)): New static pattern rule.
2468 (generated): Add those targets.
2469 (localplt-built-dso): New variable.
2470 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2471
2472 * elf/check-localplt.c: File removed.
2473
82397ed6
RM
2474 * scripts/check-execstack.awk: New file.
2475 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2476 (check-execstack-CFLAGS): Variable removed.
2477 ($(objpfx)check-execstack.h): Target removed.
2478 ($(objpfx)execstack-default): New target.
2479 (generated): Add that instead of check-execstack.h.
2480 ($(all-built-dso:=.phdr)): New static pattern rule.
2481 (generated): Add those targets.
2482 * elf/check-execstack.c: File removed.
2483
82a79e7d
RM
2484 * scripts/check-textrel.awk: New file.
2485 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2486 (check-textrel-CFLAGS): Variable removed.
2487 (all-built-dso): Use := to define.o
2488 ($(all-built-dso:=.dyn)): New static pattern rule.
2489 (generated): Add those targets.
2490 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2491 * config.make.in (READELF): New substituted variable.
2492 * elf/check-textrel.c: File removed.
2493
62fde54f 24942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2495
615605c9
JM
2496 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2497 allow.
2498 * conform/data/ctype.h-data [C99-based standards] (isblank):
2499 Expect function.
2500 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2501 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2503 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2504 Specify type. Require positive value.
2505 (EILSEQ): Likewise.
2506 (ERANGE): Likewise.
2507 [ISO || POSIX] (EILSEQ): Do not expect.
2508 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2509 Specify type. Require positive value.
2510 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2511 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2512 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2513 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2514 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2515 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2516 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2517 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2518 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2519 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2520 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2521 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2522 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2523 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2524 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2525 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2526 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2527 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2528 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2529 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2530 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2531 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2532 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2533 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2534 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2535 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2536 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2537 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2538 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2539 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2540 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2541 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2542 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2543 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2544 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2545 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2546 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2547 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2548 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2549 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2550 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2551 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2552 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2555 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2557 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2558 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2559 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2560 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2561 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2562 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2563 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2564 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2565 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2566 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2567 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2568 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2569 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2570 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2571 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2572 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2573 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2574 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2581 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2582 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2583 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2584 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2585 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2586 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2587 Require >= 2.
2588 (FLT_ROUNDS): Expect as macro, not constant.
2589 (FLT_MANT_DIG): Use macro-int-constant.
2590 (DBL_MANT_DIG): Likewise.
2591 (LDBL_MANT_DIG): Likewise.
2592 (FLT_DIG): Likewise.
2593 (DBL_DIG): Likewise.
2594 (LDBL_DIG): Likewise.
2595 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2596 (DBL_MIN_EXP): Likewise.
2597 (LDBL_MIN_EXP): Likewise.
2598 (FLT_MAX_EXP): Use macro-int-constant.
2599 (DBL_MAX_EXP): Likewise.
2600 (LDBL_MAX_EXP): Likewise.
2601 (FLT_MAX_10_EXP): Likewise.
2602 (DBL_MAX_10_EXP): Likewise.
2603 (LDBL_MAX_10_EXP): Likewise.
2604 (FLT_MAX): Use macro-constant.
2605 (DBL_MAX): Likewise.
2606 (LDBL_MAX): Likewise.
2607 (FLT_EPSILON): Use macro-constant. Give upper bound.
2608 (DBL_EPSILON): Likewise.
2609 (LDBL_EPSILON): Likewise.
2610 (FLT_MIN): Likewise.
2611 (DBL_MIN): Likewise.
2612 (LDBL_MIN): Likewise.
2613 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2614 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2615 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2616 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2617 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2618 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2619 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2620 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2621 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2622 [ISO11] (FLT_TRUE_MIN): Likewise.
2623 [ISO11] (LDBL_TRUE_MIN): Likewise.
2624 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2625 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2626 (SCHAR_MIN): Use macro-int-constant. Specify type.
2627 (SCHAR_MAX): Likewise.
2628 (UCHAR_MAX): Likewise.
2629 (CHAR_MIN): Likewise.
2630 (CHAR_MAX): Likewise.
2631 (MB_LEN_MAX): Use macro-int-constant.
2632 (SHRT_MIN): Use macro-int-constant. Specify type.
2633 (SHRT_MAX): Likewise.
2634 (USHRT_MAX): Likewise.
2635 (INT_MAX): Likewise.
2636 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2637 bound negative.
2638 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2639 bound with "U".
2640 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2641 bound with "L".
2642 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2643 bound negative. Suffix upper bound with "L".
2644 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2645 bound with "UL".
2646 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2647 Specify type.
2648 [C99-based standards] (LLONG_MAX): Likewise.
2649 [C99-based standards] (ULLONG_MAX): Likewise.
2650 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2651 == 0.
2652 [ISO11] (max_align_t): Require type.
2653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2654
c9140a62
JM
2655 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2656 from $CFLAGS, without defining away __attribute__ calls.
2657 (checknamespace): Use $CFLAGS_namespace.
2658
9af0bf29
JM
2659 * conform/conformtest.pl (@keywords): Only include C99 keywords
2660 for standards based on C99 or C11.
2661
343222a2
JM
2662 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2663 Disable tests.
2664 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2665 UNIX98]: Likewise.
2666
661f8cf0
JM
2667 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2668 usability of symbols in #if.
2669
ee74b9cb
JM
2670 * conform/conformtest.pl: If macro or constant types start
2671 "promoted:", expect the symbol to be of the following type
2672 promoted by the integer promotions.
62fde54f 2673
aafc49b3
JM
2674 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2675 in one place. Also handle "macro-constant".
2676
fefdf574
JM
2677 * conform/conformtest.pl: Only accept expected macro values with
2678 "==". Parse all "macro" lines in one place.
2679 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2680
f2d922fe
JM
2681 * conform/conformtest.pl: Handle braced types on "constant" lines
2682 instead of handling "typed-constant".
2683 * conform/data/signal.h-data: Use "constant" instead of
2684 "typed-constant".
2685
d22956c9
JM
2686 * conform/conformtest.pl: Handle "optional-" at start of lines in
2687 one place rather than duplicating several cases. Handle each
2688 format of "macro" line with initial "optional-".
2689
028e2e38
JM
2690 * conform/conformtest.pl: Only accept expected constant or
2691 optional-constant values with "==". Parse all "constant" lines in
2692 one place. Parse all "optional-constant" lines in one place.
2693 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2694 * conform/data/fmtmsg.h-data: Likewise.
2695 * conform/data/netinet/in.h-data: Likewise.
2696 * conform/data/tar.h-data: Likewise.
2697 * conform/data/limits.h-data: Use "==" form on "constant" and
2698 "optional-constant" lines.
2699
1b8f2850
JM
2700 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2701 Use -std=c99 for XOPEN2K.
2702 (@knownproblems): Remove.
2703 (newtoken): Don't check %isknown.
2704
a05a144b
JM
2705 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2706 Do not expect macro.
2707 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2708 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2709 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2710 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2711 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2712 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2713 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2714 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2715 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2716 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2717 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2718 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2719 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2720 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2722 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2723 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2724 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2725 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2726 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2727 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2728 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2729 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2732 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2733 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2734 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2735 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2736 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2737 [XPG3] (acosh): Likewise.
2738 [XPG3] (asinh): Likewise.
2739 [XPG3] (atanh): Likewise.
2740 [XPG3] (cbrt): Likewise.
2741 [XPG3] (expm1): Likewise.
2742 [XPG3] (ilogb): Likewise.
2743 [XPG3] (log1p): Likewise.
2744 [XPG3] (logb): Likewise.
2745 [XPG3] (nextafter): Likewise.
2746 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2747 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2748 [XPG3] (remainder): Likewise.
2749 [XPG3] (rint): Likewise.
2750 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2751 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2752 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2753 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2754 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2755 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2756 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2757 [UNIX98 || XOPEN2K] (scalb): Expect.
2758 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2759 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2760 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2761 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2762 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2763 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2764 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2765 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2766 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2767 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2768 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2769 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2770 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2771 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2772 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2773 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2774 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2775 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2776 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2777 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2778 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2779 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2780 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2781 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2782 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2783 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2784 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2785 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2786 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2787 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2788 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2789 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2790 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2791 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2792 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2793 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2794 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2795 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2796 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2797 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2798 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2799 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2800 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2801 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2802 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2803 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2804 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2805 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2806 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2807 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2808 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2809 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2810 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2811 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2812 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2813 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2814 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2815 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2816 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2817 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2818 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2819 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2820 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2821 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2822 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2823 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2824 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2825 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2826 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2827 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2828 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2829 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2830 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2831 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2832 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2833 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2834 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2835 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2836 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2837 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2838 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2839 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2840 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2841 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2842 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2843 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2844 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2845 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2846 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2847 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2848 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2849 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2850 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2851 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2852 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2853 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2854 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2855 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2856 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2857 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2858 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2859 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2860 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2861 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2862 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2863 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2864 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2865 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2866 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2867 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2868 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2869 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2870 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2871 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2872 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2873 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2874 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2875 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2876 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2877 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2878 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2879 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2880 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2881 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2882 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2883 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2884 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2885 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2886 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2887 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2888 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2889 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2890 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2891 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2892 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2893 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2894 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2895
73c5ebe3
JM
2896 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2897 _XOPEN_SOURCE_EXTENDED for XPG4.
2898
39c33b6c
JM
2899 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2900
62fde54f
JM
2901 * Makeconfig (localtime): Remove variable.
2902 (inst_localtime-file): Likewise.
2903
0741d64c
AS
29042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2905
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2907 Update.
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2909 Update.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2911 Update.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2913 Update.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2915 Update.
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2917 Update.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2919 Update.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2921 Update.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2923 Update.
2924
7cb029ee
JM
29252012-05-01 Joseph Myers <joseph@codesourcery.com>
2926
2927 [BZ #2550]
2928 [BZ #2570]
2929 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2930 comparisons to determine direction to adjust input.
2931 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2932 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2934 Likewise.
2935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2936 Likewise.
2937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2938 Likewise.
2939 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2940 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2941 Likewise.
2942 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2943 Likewise.
2944 * math/libm-test.inc (nexttoward_test): Add more tests.
2945
412bd966
AS
29462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2947
2948 [BZ #14040]
2949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2950 in version GLIBC_2.1, not GLIBC_2.0.
2951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2952 Likewise.
2953
9568c0c2
JM
29542012-04-30 Joseph Myers <joseph@codesourcery.com>
2955
adfbc8ac
JM
2956 [BZ #13942]
2957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2958 (1 - x) * (1 + x).
2959 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2960 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2961 * math/libm-test.inc (acos_test): Add more tests.
2962 (asin_test): Likewise.
2963 * sysdeps/i386/fpu/libm-test-ulps: Update.
2964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2965
5ba3cc69
JM
2966 [BZ #14034]
2967 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2968 of square root.
2969 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2970 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2971 * math/libm-test.inc (acos_test_tonearest): New function.
2972 (acos_test_towardzero): Likewise.
2973 (acos_test_downward): Likewise.
2974 (acos_test_upward): Likewise.
2975 (asin_test_tonearest): Likewise.
2976 (asin_test_towardzero): Likewise.
2977 (asin_test_downward): Likewise.
2978 (asin_test_upward): Likewise.
2979 (main): Call the new functions.
2980 * sysdeps/i386/fpu/libm-test-ulps: Update.
2981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2982
9568c0c2
JM
2983 [BZ #13884]
2984 [BZ #13924]
2985 * math/e_exp10.c: Include <float.h>.
2986 (__ieee754_exp10): Handle underflow here rather than multiplying
2987 large negative argument by M_LN10.
2988 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2989 of __ieee754_expf.
2990 * math/e_exp10l.c: Include <float.h>.
2991 (__ieee754_exp10l): Handle underflow here rather than multiplying
2992 large negative argument by M_LN10l.
2993 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2994 spurious overflow exception on underflow.
2995
5ac3ea17
MP
29962012-04-29 Marek Polacek <polacek@redhat.com>
2997
2998 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2999 (__fortify_function): New macro.
3000 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3001 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3002 __extern_always_inline.
3003 * libio/bits/stdio2.h: Likewise.
3004 * libio/bits/stdio.h: Likewise.
3005 * string/string.h: Likewise.
3006 * string/bits/string3.h: Likewise.
3007 * include/stdio.h: Likewise.
3008 * stdlib/bits/stdlib.h: Likewise.
3009 * stdlib/stdlib.h: Likewise.
3010 * rt/bits/mqueue2.h: Likewise.
3011 * rt/mqueue.h: Likewise.
3012 * posix/bits/unistd.h: Likewise.
3013 * posix/unistd.h: Likewise.
3014 * io/bits/poll2.h: Likewise.
3015 * io/bits/fcntl2.h: Likewise.
3016 * io/fcntl.h: Likewise.
3017 * io/sys/poll.h: Likewise.
3018 * misc/bits/syslog.h: Likewise.
3019 * misc/bits/syslog-ldbl.h: Likewise.
3020 * misc/sys/syslog.h: Likewise.
3021 * socket/bits/socket2.h: Likewise.
3022 * socket/sys/socket.h: Likewise.
3023 * debug/tst-chk1.c: Likewise.
3024 * wcsmbs/bits/wchar2.h: Likewise.
3025 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3026 * wcsmbs/wchar.h: Likewise.
3027
ecf0ebfb
AJ
30282012-04-29 Andreas Jaeger <aj@suse.de>
3029
3030 * Makerules (tests): Remove enable-check-abi protection.
3031 (check-abi-warn): Remove.
3032 (check-abi-%): Remove check-abi-warn usage.
3033
3034 * configure.in: Remove check-abi configure option.
3035 * configure: Regenerated.
3036 * config.make.in (enable-check-abi): Remove.
3037
6d5c57fa
AS
30382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3039
24c5d07e 3040 [BZ #14033]
ded5180a
AS
3041 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3042 double functions to double *_finite functions.
3043
7e0d315d
AS
3044 [BZ #13941]
3045 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3046 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3047 LDBL_MIN_EXP.
3048 * stdio-common/Makefile (tests): Add tst-sprintf3.
3049 * stdio-common/tst-sprintf3.c: New file.
3050
6d5c57fa
AS
3051 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3052 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3053
0749ff8b
JM
30542012-04-28 Joseph Myers <joseph@codesourcery.com>
3055
3056 * conform/conformtest.pl: Remove duplicate typed-constant
3057 handling.
3058
8dbd5d7b
DM
30592012-04-28 David S. Miller <davem@davemloft.net>
3060
3061 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3062 (check-abi-%): Remove AWK script prerequisite and explicit
3063 abilist directory.
3064 (check-abi): Rewrite to just diff the symlist with the abilist.
3065 (config-tls, config-abi-config): Delete, no longer used.
3066 (update-abi-%): Remove AWK script and explicit abilist directory.
3067 (update-abi): Rewrite to simply compare and conditionally copy the
3068 symlist and the sysdep abilist file. Remove update-abi-config
3069 checks.
3070 * abilist/ld.abilist: Remove.
3071 * abilist/libBrokenLocale.abilist: Remove.
3072 * abilist/libanl.abilist: Remove.
3073 * abilist/libcrypt.abilist: Remove.
3074 * abilist/libdl.abilist: Remove.
3075 * abilist/librt.abilist: Remove.
3076 * abilist/libthread_db.abilist: Remove.
3077 * abilist/libutil.abilist: Remove.
3078 * scripts/extract-abilist.awk: Remove.
3079 * scripts/merge-abilist.awk: Remove.
3080 * sysdeps/generic/libcidn.abilist: New file.
3081 * sysdeps/generic/libnss_compat.abilist: New file.
3082 * sysdeps/generic/libnss_db.abilist: New file.
3083 * sysdeps/generic/libnss_dns.abilist: New file.
3084 * sysdeps/generic/libnss_files.abilist: New file.
3085 * sysdeps/generic/libnss_hesiod.abilist: New file.
3086 * sysdeps/generic/libnss_nis.abilist: New file.
3087 * sysdeps/generic/libnss_nisplus.abilist: New file.
3088 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3089 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3090 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3091 file.
3092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3093 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3094 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3095 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3096 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3097 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3098 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3099 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3100 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3101 file.
3102 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3103 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3104 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3105 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3106 file.
3107 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3108 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3109 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3110 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3111 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3112 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3113 file.
3114 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3115 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3116 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3117 file.
3118 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3120 New file.
3121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3122 New file.
3123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3124 New file.
3125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3126 New file.
3127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3128 New file.
3129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3130 New file.
3131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3132 New file.
3133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3134 New file.
3135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3136 New file.
3137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3138 New file.
3139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3140 New file.
3141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3142 New file.
3143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3144 New file.
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3146 file.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3148 New file.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3150 New file.
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3152 file.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3154 New file.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3156 New file.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3158 file.
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3160 New file.
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3162 New file.
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3164 New file.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3166 New file.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3168 New file.
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3170 New file.
3171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3173 file.
3174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3175 New file.
3176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3177 file.
3178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3179 file.
3180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3181 file.
3182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3183 file.
3184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3185 file.
3186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3187 New file.
3188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3189 file.
3190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3191 file.
3192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3193 New file.
3194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3195 file.
3196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3198 file.
3199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3200 New file.
3201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3202 file.
3203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3204 file.
3205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3206 file.
3207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3208 file.
3209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3210 file.
3211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3212 New file.
3213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3214 file.
3215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3216 file.
3217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3218 New file.
3219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3220 file.
3221 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3222 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3223 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3224 file.
3225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3226 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3227 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3228 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3229 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3230 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3231 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3232 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3233 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3234 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3237 file.
3238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3239 New file.
3240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3241 file.
3242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3243 file.
3244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3245 file.
3246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3247 file.
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3249 file.
3250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3251 New file.
3252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3253 New file.
3254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3255 file.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3257 New file.
3258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3259 file.
3260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3262 file.
3263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3264 New file.
3265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3266 file.
3267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3268 file.
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3270 file.
3271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3272 file.
3273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3274 file.
3275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3276 New file.
3277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3278 New file.
3279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3280 file.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3282 New file.
3283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3284 file.
3285
41d73a1b
JM
32862012-04-28 Joseph Myers <joseph@codesourcery.com>
3287
3288 * conform/conformtest.pl: Fix typo in handling typed-constant from
3289 allow-header.
3290
28aeeda4
JM
32912012-04-27 Joseph Myers <joseph@codesourcery.com>
3292
adae8f5e
JM
3293 * README: Cut down references to pre-2.6 Linux kernels and
3294 Linuxthreads. Update lists of configurations in libc and ports
3295 and sort alphabetically. Say "or newer" with Linux kernel version
3296 requirements.
3297
28aeeda4
JM
3298 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3299
a462cb63
RA
33002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3301
3302 [BZ #887]
3303 * math/libm-test.inc (logb_test_downward): New test to expose
3304 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3305 rounding mode.
3306
6ad3493e
JM
33072012-04-27 Joseph Myers <joseph@codesourcery.com>
3308
3309 [BZ #14027]
3310 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3311 to be done.
3312 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3313 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3314
2ce4f015
JM
33152012-04-26 Joseph Myers <joseph@codesourcery.com>
3316
5aeb141a
JM
3317 * sysdeps/unix/i386/brk.S: Remove file.
3318 * sysdeps/unix/i386/dl-brk.S: Likewise.
3319 * sysdeps/unix/i386/pipe.S: Likewise.
3320 * sysdeps/unix/i386/sigreturn.S: Likewise.
3321 * sysdeps/unix/i386/syscall.S: Likewise.
3322 * sysdeps/unix/i386/vfork.S: Likewise.
3323 * sysdeps/unix/i386/wait.S: Likewise.
3324
7143acae
JM
3325 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3326 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3327
2ce4f015
JM
3328 * configure.in (arm*-none*): Do not allow without
3329 --enable-hacker-mode.
3330 (netbsd*): Remove case setting base_os.
3331 (386bsd*): Likewise.
3332 (freebsd*): Likewise.
3333 (bsdi*): Likewise.
3334 (osf*): Likewise.
3335 (sunos*): Likewise.
3336 (ultrix*): Likewise.
3337 (newsos*): Likewise.
3338 (dynix*): Likewise.
3339 (*bsd*): Likewise.
3340 (sysv*): Likewise.
3341 (isc*): Likewise.
3342 (esix*): Likewise.
3343 (sco*): Likewise.
3344 (minix*): Likewise.
3345 (irix4*): Likewise.
3346 (irix6*): Likewise.
3347 (solaris[2-9]*): Likewise.
3348 (none): Likewise.
3349 * configure: Regenerated.
3350
0ac229c8
AZ
33512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352
3353 [BZ #11521]
3354 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3355 overflow or cancellation in calculating denominator.
3356 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3358 down expression to avoid unexpected rounding in newer GCCs.
3359 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3360
33f244f4
DM
33612012-04-26 David S. Miller <davem@davemloft.net>
3362
3363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3364 long-double compat symbols.
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3378
cfa1f3e8
DM
33792012-04-25 David S. Miller <davem@davemloft.net>
3380
3381 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3382 HWCAP_* values only after the memory barriers have been defined.
3383 (atomic_full_barrier): Define.
3384 (atomic_read_barrier): Define.
3385 (atomic_write_barrier): Define.
3386
6e236b92
SP
33872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3388
3389 * shlib-versions: Add libgcc_s version information.
3390 * sysdeps/generic/libgcc_s.h: Remove.
3391 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3392 libgcc_s.h.
3393 * sysdeps/gnu/unwind-resume.c: Likewise.
3394 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3395
aab39a09
DM
33962012-04-25 David S. Miller <davem@davemloft.net>
3397
3398 * sysdeps/unix/sparc/brk.S: Delete.
3399 * sysdeps/unix/sparc/dl-brk.S: Delete.
3400 * sysdeps/unix/sparc/pipe.S: Delete.
3401 * sysdeps/unix/sparc/sysdep.S: Delete.
3402 * sysdeps/unix/sparc/sysdep.h: Delete.
3403 * sysdeps/unix/sparc/vfork.S: Delete.
3404 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3405 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3407 ret_ERRVAL, r0, r1, MOVE): Define.
3408 (JUMPTARGET): Remove.
3409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3410 sysdeps/unix/sparc/sysdep.h
3411 (ENTRY, END): Remove.
3412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3413
a3cc4f48
JM
34142012-04-25 Joseph Myers <joseph@codesourcery.com>
3415
2ed8cda2
JM
3416 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3417 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3418 -DIS_IN_build.
3419
35d76d59
JM
3420 * timezone/README: Update upstream location and email address for
3421 tzcode and tzdata.
3422 * timezone/zdump.c: Update from tzcode 2012b.
3423 * timezone/zic.c: Likewise.
3424
a3cc4f48
JM
3425 * configure.in (libc_cv_as_needed): Remove test.
3426 * configure: Regenerated.
3427 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3428 conditional definition.
3429 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3430 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3431 * config.make.in (have-as-needed): Remove variable.
3432
ceab42c3
SP
34332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3434 Paul Pluzhnikov <ppluzhnikov@google.com>
3435
3436 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3437 strings correctly.
3438
3ce2865f
CLT
34392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3440
3441 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3442 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3443 * sysdeps/sh/strlen.S: Likewise.
3444
f37e0d68
JM
34452012-04-24 Joseph Myers <joseph@codesourcery.com>
3446
ae186e9a
JM
3447 * sysdeps/unix/fork.S: Remove file.
3448 * sysdeps/unix/i386/fork.S: Likewise.
3449 * sysdeps/unix/sparc/fork.S: Likewise.
3450
b96914af
JM
3451 * sysdeps/unix/system.c: Remove file.
3452 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3453
f37e0d68
JM
3454 * sysdeps/unix/getegid.S: Remove file.
3455 * sysdeps/unix/geteuid.S: Likewise.
3456
87ef29ca
RM
34572012-04-24 Roland McGrath <roland@hack.frob.com>
3458
83bcd236
RM
3459 * scripts/check-localplt.awk: New file.
3460 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3461 of diff.
3462 * scripts/data/localplt-generic.data: Add a comment.
3463
87ef29ca
RM
3464 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3465 NODE when __dir_mkfile failed.
3466 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3467 Reported by Ludovic Courtès <ludo@gnu.org>.
3468
e5a6e567
AJ
34692012-04-24 Andreas Jaeger <aj@suse.de>
3470
3471 * Makerules (common-clean): Also remove gen-as-const-headers
3472 files.
3473
c1820385
JM
34742012-04-24 Joseph Myers <joseph@codesourcery.com>
3475
3476 * Makerules (native-compile): Do not change working directory for
3477 build. Use $(OUTPUT_OPTION) in command.
3478 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3479
94e02fc4
AZ
34802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3481
3482 [BZ #13886]
3483 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3484 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3485 * math/libm-test.inc (floor_test): Add more tests.
3486 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3487
3a533ca3
JM
34882012-04-24 Joseph Myers <joseph@codesourcery.com>
3489
940ab4b3
JM
3490 * sysdeps/unix/getdents.c: Remove file.
3491 * sysdeps/unix/sysv/getdents.c: Likewise.
3492 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3493
90e037bd
JM
3494 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3495 sysdeps/unix/mman/syscalls.list.
3496 (mmap): Likewise.
3497 (mprotect): Likewise.
3498 (msync): Likewise.
3499 (munmap): Likewise.
3500 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3501 * sysdeps/unix/mman/syscalls.list: Remove.
3502 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3503
3a533ca3
JM
3504 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3505 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3506 * configure: Regenerated.
3507 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3508 $(libgcc_s_suffix).
3509 * config.make.in (libgcc_s_suffix): Remove variable.
3510
1ad743de
JM
35112012-04-23 Joseph Myers <joseph@codesourcery.com>
3512
4ad451e2
JM
3513 * sysdeps/unix/sysv/gethostname.c: Move to ...
3514 * sysdeps/posix/gethostname.c: ... here.
3515
5e37ce39
JM
3516 * sysdeps/unix/execve.S: Remove file.
3517
1ad743de
JM
3518 * sysdeps/unix/_exit.S: Remove file.
3519
4e681b5b
AJ
35202012-04-23 Andreas Jaeger <aj@suse.de>
3521
3522 [BZ #13739]
3523 * manual/Makefile: Remove make dist support, there's no
3524 need for a stand-alone documentation tar ball.
3525 (TEXI2DVI): Define always, it's not in Makeconfig.
3526 (dist): Removed.
3527 (tar-it): Removed.
3528 (edition): Removed.
3529 (glibc-doc-$(edition).tar): Removed
3530 (%.Z): Removed.
3531 (%.gz): Removed.
3532 (%.uu): Removed.
3533 (ETAGS): Remove, it's in Makeconfig.
3534 (move-if-change): Remove, it's in Makeconfig.
3535
c0baea34
PE
35362013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3537
3538 [BZ #13970]
3539 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3540 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3541 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3542 (strtod_l, strtof_l, strtold_l): Remove __wur.
3543 It is not necessarily an error to ignore strtol's return value.
3544 One can reliably look at the stored endptr to decide whether
3545 the number had valid syntax.
3546
7c0616fa
AJ
35472012-04-21 Andreas Jaeger <aj@suse.de>
3548
803cb6b7 3549 [BZ #13739]
7c0616fa
AJ
3550 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3551
b0fe253f
JM
35522012-04-21 Joseph Myers <joseph@codesourcery.com>
3553
3554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3555 * sysdeps/unix/sysv/Versions: Remove file.
3556
8280f22d
MT
35572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3558
3559 [BZ #13927]
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3561
75ce411f 35622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3563
3564 [BZ #7064]
3565 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3566 version from __vm86.
3567
097d59fa
JM
35682012-04-20 Joseph Myers <joseph@codesourcery.com>
3569
a90f3bcb
JM
3570 * sysdeps/unix/common/lxstat.c: Remove file.
3571 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3572
edc7ea78
JM
3573 * sysdeps/unix/sysv/Makefile: Remove file.
3574
cb78c221
JM
3575 * sysdeps/unix/sysv/direct.h: Remove file.
3576
efa6a45f
JM
3577 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3578 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3579 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3580 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3581 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3582 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3583 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3584
9c9f2d0c
JM
3585 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3586
4541c83b
JM
3587 * sysdeps/unix/xmknod.c: Remove file.
3588 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3589
f5d153a0
JM
3590 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3591
aa746595
JM
3592 * sysdeps/unix/sysv/i386/time.S: Remove file.
3593
cce5905e
JM
3594 * sysdeps/unix/fxstat.c: Remove file.
3595 * sysdeps/unix/xstat.c: Likewise.
3596 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3597
37fa3841
JM
3598 * sysdeps/unix/sysv/sigaction.c: Remove file.
3599
ff1962a3
JM
3600 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3601 (sysdep_headers): Remove variable.
3602 [termio.h not in sysdep_headers] (generated): Likewise.
3603 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3604 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3605 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3606 * sysdeps/unix/sysv/tcflow.c: Likewise.
3607 * sysdeps/unix/sysv/tcflush.c: Likewise.
3608 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3609 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3610 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3611 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3612 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3613
e7740d31
JM
3614 * sysdeps/unix/siglist.c: Remove file.
3615
ee06f18b
JM
3616 * sysdeps/unix/getppid.S: Remove file.
3617
097d59fa
JM
3618 * sysdeps/unix/mkdir.c: Remove file.
3619 * sysdeps/unix/rmdir.c: Likewise.
3620
ff3d51ec
AS
36212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3622
3623 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3624 ERR_MAX value.
3625 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3626 errlist-compat value.
3627
50f81fd7
DM
36282012-04-18 David S. Miller <davem@davemloft.net>
3629
3630 * sysdeps/generic/memcopy.h (reg_char): Delete.
3631 * debug/strcat_chk.c: Use char, not reg_char.
3632 * debug/strcpy_chk.c: Likewise.
3633 * debug/strncat_chk.c: Likewise.
3634 * debug/strncpy_chk.c: Likewise.
3635 * string/memchr.c: Likewise.
3636 * string/memrchr.c: Likewise.
3637 * string/rawmemchr.c: Likewise.
3638 * string/strcat.c: Likewise.
3639 * string/strchr.c: Likewise.
3640 * string/strchrnul.c: Likewise.
3641 * string/strcmp.c: Likewise.
3642 * string/strcpy.c: Likewise.
3643 * string/strncat.c: Likewise.
3644 * string/strncmp.c: Likewise.
3645 * string/strncpy.c: Likewise.
3646
8ff41c46
WS
36472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3648
3649 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3650 __builtin_memcopy is called when src and dest ranges are known to not
3651 overlap.
3652
6b652f46
WS
36532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3654
3655 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3656 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3657 fwd_align_merge macro call.
3658 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3659 bwd_align_merge macro call.
3660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3661
b282631e
WS
36622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3663
3664 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3665 bwd_align_merge macros.
3666 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3667 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3668 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3669
95aa737c
DM
36702012-04-18 David S. Miller <davem@davemloft.net>
3671
3672 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3673
7a99a614
AJ
36742012-04-18 Andreas Jaeger <aj@suse.de>
3675
3676 [BZ# 6794]
3677 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3678 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3680
3681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3682 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3684
3685 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3686 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3687 Adjust for changed ldbl-128 files.
3688
3689 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3690 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3691 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3692
e5270c23
DM
36932012-04-17 David S. Miller <davem@davemloft.net>
3694
3695 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3696
fb5e92c9
AS
36972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3698
3699 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3700 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3701 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3702 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3703 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3704 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3705
76da7265
AZ
37062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3707
3708 [BZ #6794]
3709 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3710 * math/libm-test.inc: Add ilogb errno and exception tests.
3711 * math/w_ilogb.c: New file: ilogb wrapper.
3712 * math/w_ilogbf.c: New file: ilogbf wrapper.
3713 * math/w_ilogbl.c: New file: ilogbl wrapper.
3714 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3715 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3716 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3717 exception being thrown with 0.0 as argument.
3718 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3719 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3720 exception being thrown with 0.0 as argument.
3721 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3722 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3723 exception being thrown with 0.0 as argument.
3724 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3725 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3726 exception being thrown with 0.0 as argument.
3727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3728 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3729 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3730 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3732 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3733 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3734 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3735 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3736
0396e69d
PB
37372012-04-17 Petr Baudis <pasky@ucw.cz>
3738
3739 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3740 with altivec.
3741
750b5926
MP
37422012-04-16 Marek Polacek <polacek@redhat.com>
3743
3744 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3745
751728a1
MP
37462012-04-16 Marek Polacek <polacek@redhat.com>
3747
3748 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3749 operands of fdivp instruction.
3750
34a27407
L
37512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3754 * elf/tst-auditmod3b.c: Likewise.
3755 * elf/tst-auditmod4b.c: Likewise.
3756 * elf/tst-auditmod5b.c: Likewise.
3757 * elf/tst-auditmod6b.c: Likewise.
3758 * elf/tst-auditmod6c.c: Likewise.
3759 * elf/tst-auditmod7b.c: Likewise.
3760 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3761 * sysdeps/x86_64/preconfigure.in: Likewise.
3762 * sysdeps/x86_64/preconfigure: Regenerated.
3763
7e73e17d
L
37642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3765
3766 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3767 __ILP32__.
3768
c7a6ab72
AB
37692012-04-13 Antoine Balestrat <merkil33@gmail.com>
3770
3771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3772 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3773
a9e8e0e0
CL
37742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3775
3776 [BZ #13973]
3777 * locale/iso-639.def: Fix gl language name. Spotted by
3778 Yaron Shahrabani.
3779
ec98af7d
RM
37802012-04-12 Roland McGrath <roland@hack.frob.com>
3781
3782 [BZ #2074]
3783 * libio/libio.h (__io_write_fn): Update comment.
3784
247c3ede
PB
37852012-04-12 Petr Baudis <pasky@ucw.cz>
3786
3787 [BZ #2074]
3788 * stdio.texi (Hook Functions): The user provided writer function
3789 is not allowed to return -1.
3790
55939d6d
DM
37912012-04-11 David S. Miller <davem@davemloft.net>
3792
3793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3794
90020f5a
MF
37952012-04-11 Mike Frysinger <vapier@gentoo.org>
3796
3797 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3798 Add a leading slash to rtkaio.
3799
288f9098
JM
38002012-04-11 Jim Meyering <meyering@redhat.com>
3801
90020f5a
MF
3802 [BZ #11959]
3803 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3804 It is not necessarily an error to ignore fwrite's return
3805 value. One can reliably use ferror to test for errors after
3806 the fact.
288f9098 3807
4be2b570
L
38082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3809
3810 * bits/types.h (__snseconds_t): New type.
3811 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3812
3813 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3815 (__SNSECONDS_T_TYPE): Likewise.
3816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3817 (__SNSECONDS_T_TYPE): Likewise.
3818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3819 (__SNSECONDS_T_TYPE): Likewise.
3820
288f9098 38212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3822
3823 [BZ #2636]
3824 * manual/time.texi (Processor Time): Return type of times is
3825 elapsed real time since an arbitrary point in the past.
3826 (CPU Time): Move CLK_TCK from here...
3827 (Processor Time): ...to here. Correct description.
3828 * manual/conf.texi (Constants for Sysconf): Correct description of
3829 _SC_CLK_TCK.
3830
d7dd4413
DM
38312012-04-10 David S. Miller <davem@davemloft.net>
3832
3833 [BZ #13967]
3834 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3835 where the is a gap between DT_REL(A) and DT_JMPREL.
3836
b46068fc
L
38372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3840 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3841 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3842
73d65cc3
SP
38432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3844
3845 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3846 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3847 (dl_main): Handle --inhibit-cache.
3848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3849 _dl_inhibit_cache.
3850 * elf/dl-load.c (_dl_map_object): Use it.
3851 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3852
bcc8d661
JM
38532012-04-09 Joseph Myers <joseph@codesourcery.com>
3854
8f9a2fae
JM
3855 [BZ #13872]
3856 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3857 (__ieee754_powl): Saturate large exponents rather than testing for
3858 overflow of y*log2(x).
3859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3860 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3861 exceptions.
3862
bcc8d661
JM
3863 [BZ #11521]
3864 * math/s_ctan.c: Include <float.h>.
3865 (__ctan): Avoid internal overflow or cancellation in calculating
3866 denominator.
3867 * math/s_ctanf.c: Likewise.
3868 * math/s_ctanl.c: Likewise.
3869 * math/s_ctanh.c: Likewise.
3870 * math/s_ctanhf.c: Likewise.
3871 * math/s_ctanhl.c: Likewise.
3872 * math/libm-test.inc (ctan_test): Add more tests.
3873 (ctanh_test): Likewise.
3874 * sysdeps/i386/fpu/libm-test-ulps: Update.
3875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3876
823fbbb4
AJ
38772012-04-09 Andreas Jaeger <aj@suse.de>
3878
03879793
AJ
3879 [BZ #6894]
3880 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3881 is an optional BSD extension.
3882
823fbbb4
AJ
3883 [BZ #10254]
3884 * manual/stdio.texi (Opening Streams): Document additional fopen
3885 parameters.
3886
8de131cb
RM
38872012-04-09 Roland McGrath <roland@hack.frob.com>
3888
3889 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3890 %eax without telling the compiler.
3891
c0ed9d7d
CD
38922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3893
3894 [BZ # 13963]
3895 * manual/install.texi: Use sourceware.org.
3896
c483f6b4
JM
38972012-04-09 Joseph Myers <joseph@codesourcery.com>
3898
d7dd9453
JM
3899 [BZ #13873]
3900 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3901 (__ieee754_pow): Generate overflow and underflow using huge*huge
3902 and tiny*tiny rather than just returning constant infinity or zero
3903 for large exponents.
3904 * math/libm-test.inc (pow_test): Require overflow exceptions for
3905 applicable cases of large exponents.
3906
c483f6b4
JM
3907 [BZ #706]
3908 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3909 (__ieee754_pow): Use iterative multiplication algorithm only for
3910 integer exponents with absolute value below 1024. Check for odd
3911 integer exponents when using algorithm for real exponents.
3912 * math/libm-test.inc (pow_test): Add more tests.
3913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3914
d2de7579
JM
39152012-04-08 Joseph Myers <joseph@codesourcery.com>
3916
3917 [BZ #13705]
3918 * math/libm-test.inc (exp_test): Do not allow overflow exception
3919 on underflow test.
3920
f77f1232
AJ
39212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3922
3923 [BZ #13705]
3924 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3925 instead of __kernel_standard_f.
3926
3884932b
MF
39272012-04-08 Mike Frysinger <vapier@gentoo.org>
3928
3929 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3930 * sysdeps/x86_64/memset_chk.S: Likewise.
3931
54472e9c
AJ
39322012-04-08 Andreas Jaeger <aj@suse.de>
3933
6ab0fbfc
AJ
3934 [BZ #10153]
3935 * manual/startup.texi (Environment Access): Describe return value
3936 for putenv and setenv.
3937
61efba8c
AJ
3938 [BZ #6895]
3939 * manual/filesys.texi (Directory Entries): Add description for
3940 DT_LNK.
3941
95c3f29a
AJ
3942 [BZ #6890]
3943 * manual/filesys.texi (Directory Entries): Clarify that it's file
3944 system not operating system in the description of DT_UNKNOWN.
3945
54472e9c
AJ
3946 [BZ #6578]
3947 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3948
624254b1
SC
39492012-04-08 Stephen Compall <s11@member.fsf.org>
3950
3951 [BZ #6649]
3952 * manual/llio.texi (Opening and Closing Files): Add cross
3953 reference to explain mode argument.
3954
1e4920e0
MF
39552012-04-07 Mike Frysinger <vapier@gentoo.org>
3956
3957 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3958 * sysdeps/x86_64/memset_chk.S: Likewise.
3959
5ed848f3
DM
39602012-04-07 David S. Miller <davem@davemloft.net>
3961
3962 * elf/elf.h (R_SPARC_WDISP10): Define.
3963 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3964 R_SPARC_SIZE32.
3965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3966 R_SPARC_SIZE64 and R_SPARC_H34.
3967
96154cd8
CD
39682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3969
3970 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3971 conditions and remove no longer applicable assertion.
3972
9904dc47
L
39732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * bits/byteswap.h: Include <features.h>.
3976 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3977 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3978
f8887d0a
L
39792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3980
3981 * bits/byteswap.h (__bswap_16): Removed.
3982 Include <bits/byteswap-16.h> to get __bswap_16.
3983 * sysdeps/i386/bits/byteswap.h: Likewise.
3984 * sysdeps/s390/bits/byteswap.h: Likewise.
3985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3986 * bits/byteswap-16.h: New file.
3987 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3988 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3989 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3990 * string/Makefile (headers): Add bits/byteswap-16.h.
3991
62470f60
PP
39922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3993
3994 [BZ #13895]
3995 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3996 extra indirection.
3997 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3998 * nss/tst-nss-static.c: New.
3999
4dad7bab
RM
40002012-04-06 Robert Millan <rmh@gnu.org>
4001
4002 [BZ #6486]
4003 * manual/llio.texi (File Position Primitive): lseek
4004 refers to WHENCE when it really means OFFSET.
4005
e9142a17
AJ
40062012-04-06 Andreas Jaeger <aj@suse.de>
4007
2c040eff
AJ
4008 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4009 strncmp declarations.
4010
e9142a17
AJ
4011 * abilist/libc.abilist: Add __poll and __ppoll.
4012
ff9f1c5f
DM
40132012-04-05 David S. Miller <davem@davemloft.net>
4014
dcd2ae90
DM
4015 * scripts/check-local-headers.sh: Accept a host triplet in the
4016 path matched by the exclude regexp.
4017
993eb054
DM
4018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4019 definition.
4020 * sysdeps/powerpc/powerpc32/dl-machine.h
4021 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4022 * sysdeps/s390/s390-32/dl-machine.h
4023 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4024 * sysdeps/sparc/sparc32/dl-machine.h
4025 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4026 * sysdeps/sparc/sparc64/dl-machine.h
4027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4028
ff9f1c5f
DM
4029 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4030 lazy binding.
48e2e132 4031 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4032 undefined symbol errors.
4033
48e2e132 4034 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4035 DT_NEEDED entries.
4036
e80d6f94
MM
40372012-04-05 Michael Matz <matz@suse.de>
4038
4039 [BZ #13592]
4040 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4041
349fa79f
AJ
40422012-04-05 Andreas Jaeger <aj@suse.de>
4043
4044 [BZ #13908]
4045 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4046 comment.
4047
f402708f
KK
40482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4049
4050 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4051 which ROUND is no valid rounding mode.
4052
2ecccfc9
KK
40532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4054
4055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4056 read again.
4057 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4058
8a53f50f
KK
40592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4060
4061 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4062 an exception using FPU order intentionally.
4063
40642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4065
4066 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4067 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4068 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4069 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4070
d653abb7
SJ
40712012-04-05 Simon Josefsson <simon@josefsson.org>
4072
4073 [BZ #12340]
4074 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4075 EINVAL when BUFLEN is too smal.
4076
c3b1bf7d
TS
40772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4078
4079 [BZ #13553]
4080 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4081 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4082
b1aa60f3
AJ
40832012-04-03 Andreas Jaeger <aj@suse.de>
4084
c3b1bf7d 4085 [BZ #13938]
67f60a26
AJ
4086 * manual/setjmp.texi (System V contexts): Fix sentence.
4087
b1aa60f3
AJ
4088 [BZ #13926]
4089 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4090 New macro for this case.
4091 [!__GNUC__] (__bswap_64): New inline function for this case.
4092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4093 * bits/byteswap.h: Likewise.
4094 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4095 ull, guard with __GLIBC_HAVE_LONG_LONG.
4096
4097 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4098 __GLIBC_HAVE_LONG_LONG.
4099
4100 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4101 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4102
39c59c35
TMQMF
41032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4104
4105 [BZ #13691]
4106 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4107 inptr and inend, rather than using last_ch.
4108
135ffda8
DM
41092012-04-02 David S. Miller <davem@davemloft.net>
4110
4111 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4112 * stdio-common/printf-parse.h (read_int): Change return type to
4113 'int', return -1 on INT_MAX overflow.
4114 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4115 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4116 overflows INT_MAX. Check for overflow of in-format-string precision
4117 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4118 SIZE_MAX not INT_MAX for integer overflow test.
4119 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4120 skip the construct in the format string but do not record anything.
4121 * stdio-common/bug22.c: Adjust to test both width/prevision
4122 INT_MAX overflow as well as total length INT_MAX overflow. Check
4123 explicitly for proper errno values.
4124
228c019e
TS
41252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4126
302cadd3
TS
4127 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4128 CHAR_MAX.
4129 * string/test-strcmp.c [! WIDE]: Likewise.
4130 * time/tst-mktime2.c: Likewise for INT_MAX.
4131 * string/test-string.h: #include <sys/param.h> for MIN.
4132
228c019e
TS
4133 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4134 * sysdeps/i386/init-first.c (init): Likewise.
4135 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4136 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4137 * sysdeps/sh/init-first.c (init): Likewise.
4138
cfa633f5
UD
41392012-04-01 Ulrich Drepper <drepper@gmail.com>
4140
4141 * po/ru.po: Update from translation team.
d1635ef8 4142 * po/vi.po: Likewise.
cfa633f5 4143
6cd0a5ea
SP
41442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4145
4146 * resolv/nss_dns/dns-host.c: Merge copyright years.
4147
4b43400f
LD
41482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4149
4150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4151 Optimize memcpy with prefetch if
4152 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4153 src, dst pointers have unequal 16 byte alignments.
4154
48c41d04
SP
41552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4156
4157 [BZ #13928]
4158 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4159 from a CNAME entry and return the minimum ttl for the query.
4160 (gaih_getanswer_slice): Likewise.
4161
b8dc394d
JL
41622012-03-30 Jeff Law <law@redhat.com>
4163
4164 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4165 due to long keys.
4166 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4167 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4168
2f5a5ed0
JL
4169 * resolv/nss_dns/dns-host.c: Update copyright year.
4170
1d39e359
UD
41712012-03-30 Ulrich Drepper <drepper@gmail.com>
4172
c030f70c 4173 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4174 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4175
1d39e359
UD
4176 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4177 comments for sendmmsg.
4178
41792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4180
4181 [BZ #13691]
4182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4183 with only 1 character between 0x0041 and 0x01b0.
4184 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4185 * wcsmbs/tst-mbsnrtowcs.c: New file.
4186
20fde227
DM
41872012-03-29 David S. Miller <davem@davemloft.net>
4188
4189 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4190 small copies by hand.
4191
984a4237
JL
41922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4193
4194 [BZ #13761]
4195 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4196 _nss_compat_initgroups_dyn): Fall back to malloc/free
4197 for large group memberships.
4198
18c9d62b
DM
41992012-03-28 David S. Miller <davem@davemloft.net>
4200
88d85d4f
DM
4201 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4202 that branches into memcpy.
4203 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4204 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4206 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4208 bits.
4209 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4210 implementation too.
4211 * sysdeps/sparc/mempcpy.S: New file.
4212
e5aa83e1
DM
4213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4214 the IFUNC routine in the libc case.
4215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4216
88570753
DM
4217 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4218 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4219 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4220 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4221 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4222 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4223 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4224 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4225
249d7567
DM
4226 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4227 loop to 256 bytes instead of 64 bytes and fix test signedness.
4228
18c9d62b
DM
4229 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4230 * sysdeps/sparc/sparc32/Makefile: rather than here...
4231 * sysdeps/sparc/sparc64/Makefile: and here.
4232
05f3d1f6
UD
42332012-03-28 Ulrich Drepper <drepper@gmail.com>
4234
4235 * malloc/mallocbug.c: Avoid warnings about unused variables.
4236
86ae07a8
JL
42372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4238
4239 [BZ #13760]
4240 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4241 in the right place. Discard and retry query if response is
4242 larger than input buffer size.
4243
41bf21a1
JM
42442012-03-28 Joseph Myers <joseph@codesourcery.com>
4245
d6270972
JM
4246 [BZ #369]
4247 [BZ #2678]
4248 [BZ #3866]
4249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4250 x for large integer exponent.
4251 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4252 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4253 sign of result as needed afterwards.
4254 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4256 result for underflowing pow the same as for overflow.
4257 (__kernel_standard_l): Handle powl overflow and underflow here
4258 rather than calling __kernel_standard.
4259 * math/libm-test.inc (pow_test): Add more tests.
4260
414fca03 4261 [BZ #3868]
41bf21a1
JM
4262 [BZ #13879]
4263 [BZ #13910]
4264 [BZ #13911]
4265 [BZ #13912]
4266 [BZ #13913]
4267 [BZ #13915]
4268 [BZ #13916]
4269 [BZ #13917]
4270 [BZ #13918]
4271 [BZ #13919]
4272 [BZ #13920]
4273 [BZ #13921]
4274 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4275 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4276 (__kernel_standard_l): New function.
4277 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4278 __kernel_standard.
4279 * math/w_acosl.c (__acosl): Likewise.
4280 * math/w_asinl.c (__asinl): Likewise.
4281 * math/w_atan2l.c (__atan2l): Likewise.
4282 * math/w_atanhl.c (__atanhl): Likewise.
4283 * math/w_coshl.c (__coshl): Likewise.
4284 * math/w_exp10l.c (__exp10l): Likewise.
4285 * math/w_exp2l.c (__exp2l): Likewise.
4286 * math/w_fmodl.c (__fmodl): Likewise.
4287 * math/w_hypotl.c (__hypotl): Likewise.
4288 * math/w_j0l.c (__j0l, __y0l): Likewise.
4289 * math/w_j1l.c (__j1l, __y1l): Likewise.
4290 * math/w_jnl.c (__jnl, __ynl): Likewise.
4291 * math/w_lgammal.c (__lgammal): Likewise.
4292 * math/w_log10l.c (__log10l): Likewise.
4293 * math/w_log2l.c (__log2l): Likewise.
4294 * math/w_logl.c (__logl): Likewise.
4295 * math/w_powl.c (__powl): Likewise.
4296 * math/w_remainderl.c (__remainderl): Likewise.
4297 * math/w_scalbl.c (sysv_scalbl): Likewise.
4298 * math/w_sinhl.c (__sinhl): Likewise.
4299 * math/w_sqrtl.c (__sqrtl): Likewise.
4300 * math/w_tgammal.c (__tgammal): Likewise.
4301 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4302 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4303 * math/libm-test.inc (acos_test): Add more tests.
4304 (acosh_test): Likewise.
4305 (asin_test): Likewise.
4306 (atanh_test): Likewise.
4307 (exp_test): Likewise.
4308 (exp10_test): Likewise.
4309 (exp2_test): Likewise.
4310 (expm1_test): Likewise.
4311 (lgamma_test): Likewise.
4312 (log_test): Likewise.
4313 (log10_test): Likewise.
4314 (log1p_test): Likewise.
4315 (log2_test): Likewise.
4316 (pow_test): Do not allow some spurious overflow exceptions.
4317 (sqrt_test): Add more tests.
4318 (tgamma_test): Likewise.
4319 (y0_test): Likewise.
4320 (y1_test): Likewise.
4321 (yn_test): Likewise.
4322
dd62fda6
AB
43232012-03-27 Anton Blanchard <anton@samba.org>
4324
4325 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4326 MAP_HUGETLB.
4327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4328 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4330
1e3cdfda
AJ
43312012-03-27 David S. Miller <davem@davemloft.net>
4332
b855ab85
DM
4333 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4334
1e3cdfda
AJ
4335 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4336 have-as-vis3 check.
4337
43382012-03-27 Andreas Jaeger <aj@suse.de>
4339
4340 * sysdeps/x86_64/elf/configure.in: Moved to ...
4341 * sysdeps/x86_64/configure.in: ... here.
4342 * sysdeps/x86_64/elf/start.S: Moved to ...
4343 * sysdeps/x86_64/start.S: ... here.
4344 * sysdeps/x86_64/elf/configure: Delete.
4345
4346 * sysdeps/x86_64/configure.in: Merge contents from
4347 sysdeps/i386/configure.in (without i686 check).
4348
4349 * sysdeps/i386/elf/Versions: Merge into ...
4350 * sysdeps/i386/Versions: ... this.
4351 * sysdeps/i386/elf/Versions: Delete file.
4352 * sysdeps/i386/elf/start.S: Moved to ...
4353 * sysdeps/i386/start.S: ...here.
4354 * sysdeps/i386/elf/configure.in: Merge into...
4355 * sysdeps/i386/configure.in: ...here.
4356 * sysdeps/i386/elf/configure.in: Delete file.
4357 * sysdeps/i386/elf/configure: Delete file.
4358
4359 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4360 * debug/backtracesyms.c: ... here.
4361 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4362 * debug/backtracesymsfd.c: ... here.
4363 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4364 * sysdeps/generic/ifunc-sel.h: ... here.
4365
4366 * sysdeps/unix/i386/start.c: Delete file.
4367 * sysdeps/unix/sparc/start.c: Delete file.
4368 * sysdeps/unix/start.c: Delete file.
4369
4370 * sysdeps/sh/elf/configure.in: Moved to ...
4371 * sysdeps/sh/configure.in: ... here.
4372 * sysdeps/sh/elf/start.S: Moved to ...
4373 * sysdeps/sh/start.S: ... here.
4374 * sysdeps/sh/elf/configure: Delete file.
4375
4376 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4377 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4378 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4379 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4380 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4381 * sysdeps/powerpc/powerpc64/start.S: here.
4382 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4383 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4384 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4385 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4386 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4387
4388 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4389 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4390 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4391 * sysdeps/powerpc/powerpc32/start.S: ... here.
4392 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4393 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4394 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4395
4396 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4397 * sysdeps/powerpc/ifunc-sel.h: ... here.
4398 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4399 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4400
4401 * sysdeps/sparc/elf/configure.in: Moved to ...
4402 * sysdeps/sparc/configure.in: ... here.
4403 * sysdeps/sparc/elf/configure: Delete file.
4404 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4405 * sysdeps/sparc/sparc32/start.S: ... here.
4406 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4407 * sysdeps/sparc/sparc64/start.S: ... here.
4408 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4409 * sysdeps/sparc/sparc32/Makefile: ... this.
4410 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4411 * sysdeps/sparc/sparc64/Makefile: ... this.
4412
4413 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4414 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4415 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4416 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4417 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4418 * sysdeps/s390/s390-32/setjmp.S: ... here.
4419 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4420 * sysdeps/s390/s390-32/configure.in: ... here.
4421 * sysdeps/s390/s390-32/elf/configure: Delete file.
4422 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4423 * sysdeps/s390/s390-32/start.S: ... here.
4424
4425 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4426 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4427 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4428 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4429 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4430 * sysdeps/s390/s390-64/setjmp.S: ... here.
4431 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4432 * sysdeps/s390/s390-64/configure.in: ... here
4433 * sysdeps/s390/s390-64/elf/configure: Delete file.
4434 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4435 * sysdeps/s390/s390-64/start.S: ... here.
4436 * sysdeps/s390/s390-64/elf/configure: Delete.
4437
4438 * configure.in: Remove support for elf directories in sysdeps.
4439
4440 * configure: Regenerated.
4441 * sysdeps/i386/configure: Regenerated.
4442 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4443 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4444 * sysdeps/s390/s390-32/configure: Regenerated.
4445 * sysdeps/s390/s390-64/configure: Regenerated.
4446 * sysdeps/sh/configure: Regenerated.
4447 * sysdeps/sparc/configure: Regenerated.
4448 * sysdeps/x86_64/configure: Regenerated.
4449
a3f61311
AS
44502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4451
c876e002
AS
4452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4453
a3f61311
AS
4454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4455 denormal result into account.
4456
ac4c54f0
RM
44572012-03-25 Roland McGrath <roland@hack.frob.com>
4458
4459 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4460 Reported by Allan McRae <allan@archlinux.org>.
4461
6a9b9c02
JL
44622012-03-23 Jeff Law <law@redhat.com>
4463
4464 * nss/getnssent.c (__nss_getent): Fix typo.
4465
4c42a0c1
DM
44662012-03-23 David S. Miller <davem@davemloft.net>
4467
4468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4469
1532c7ac
L
44702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4473 to pad to uint64_t for each field.
4474 (dl_tls_index): Replace unsigned long with uint64_t.
4475
3ff42526
PP
44762012-03-23 Daniel Jacobowitz <dmj@google.com>
4477 Paul Pluzhnikov <ppluzhnikov@google.com>
4478
4479 [BZ #6528]
4480 * grp/Makefile (otherlibs): Don't set it.
4481 * inet/Makefile (otherlibs): Likewise.
4482 * login/Makefile (otherlibs): Likewise.
4483 * nscd/Makefile (otherlibs): Likewise.
4484 * posix/Makefile (otherlibs): Likewise.
4485 * pwd/Makefile (otherlibs): Likewise.
4486 * rt/Makefile (otherlibs): Likewise.
4487 * sunrpc/Makefile (otherlibs): Likewise.
4488 * nss/Makefile (otherlibs): Likewise.
4489 Add libnss_files to routines and static-only-routines.
4490 ($(objpfx)getent): Remove rule.
4491 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4492 static-only-routines.
4493
7c69cd14
JM
44942012-03-22 Joseph Myers <joseph@codesourcery.com>
4495
4496 [BZ #13892]
4497 * math/s_cexp.c: Include <float.h>.
4498 (__cexp): Handle exp result overflowing not necessarily
4499 overflowing both real and imaginary parts of result.
4500 * math/s_cexpf.c: Likewise.
4501 * math/s_cexpl.c: Likewise.
4502 * math/libm-test.inc (cexp_test): Add more tests.
4503 * sysdeps/i386/fpu/libm-test-ulps: Update.
4504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4505
81b035fe
L
45062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4507
4508 * include/link.h (ELFW): New macro.
4509 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4510 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4511
1da7940c
L
45122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4513
4514 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4515 with uint64_t.
4516
b749dbb9
L
45172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4518
4519 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4520 declaration.
4521 (struct La_x32_retval): Likewise.
4522
2ff87f3f
L
45232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * sysdeps/x86_64/preconfigure.in: New file.
4526 * sysdeps/x86_64/preconfigure: New generated file.
4527
c0df8e69
JM
45282012-03-22 Joseph Myers <joseph@codesourcery.com>
4529
48e44791
JM
4530 [BZ #13824]
4531 * math/e_exp2l.c: Include <float.h>.
4532 (__ieee754_exp2l): Handle overflow and underflow cases
4533 separately. Only pass fractional part of argument to
4534 __ieee754_expl.
4535 * math/libm-test.inc (exp2_test): Add more tests.
4536
c0df8e69
JM
4537 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4538 negating x to take absolute value.
4539 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4540 Likewise.
4541 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4543 Likewise.
4544 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4545 computing low part if x was negated.
4546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4547
c8e43ba7
L
45482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4551 la_x32_gnu_pltexit.
4552 (pltexit): Cast int_retval to ptrdiff_t.
4553 * elf/tst-auditmod3b.c: Likewise.
4554 * elf/tst-auditmod4b.c: Likewise.
4555 * elf/tst-auditmod5b.c: Likewise.
4556 * elf/tst-auditmod6b.c: Likewise.
4557 * elf/tst-auditmod6c.c: Likewise.
4558 * elf/tst-auditmod7b.c: Likewise.
4559
4560 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4561 and x32_gnu_pltexit.
4562
4563 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4564 __ELF_NATIVE_CLASS.
4565 (La_x32_regs): New macro.
4566 (La_x32_retval): Likewise.
4567 (la_x32_gnu_pltenter): New function prototype.
4568 (la_x32_gnu_pltexit): Likewise.
4569
7998fa78
AS
45702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4571
dcb33988
AS
4572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4573 exponent.
4574
233fc563
AS
4575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4576
7998fa78
AS
4577 * configure.in (libc_cv_cc_nofma): Check for option to disable
4578 generation of FMA instructions.
4579 * configure: Regenerate.
4580 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4581 * sysdeps/ieee754/dbl-64/Makefile: New file.
4582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4583 Remove brandred-fma4.
4584 (CFLAGS-brandred-fma4.c): Remove.
4585 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4586 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4587 define.
4588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4589 define.
4590
8e95c99a
L
45912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4592
4593 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4594 LLONG_MAX != LONG_MAX.
4595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4596 (_fitoa_word): Likewise.
4597 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4598 LLONG_MAX != LONG_MAX.
4599 * stdio-common/_itowa.h: Include <_itoa.h>.
4600 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4601 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4602 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4603 only if not defined.
4604 (_ITOA_WORD_TYPE): Likewise.
4605 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4606 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4607
6f4db457
DM
46082012-03-21 David S. Miller <davem@davemloft.net>
4609
4610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4611
7785fe5a
L
46122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4613
4614 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4615 of x86_64 when setting libc_cv_slibdir, libdir and
4616 libc_cv_localedir.
4617 * sysdeps/unix/sysv/linux/configure: Regenerated.
4618
4535cd55
JM
46192012-03-21 Joseph Myers <joseph@codesourcery.com>
4620
4621 * manual/lang.texi (Old Varargs): Remove section.
4622 (How Variadic): Update menu.
4623 (va_start): Do not mention varargs.h.
4624
17228132
TS
46252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4626 Joseph Myers <joseph@codesourcery.com>
4627
4628 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4629 link test.
4630 * configure: Regenerated.
4631
8149f976
TS
46322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4633
05f3d1f6
UD
4634 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4635 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4636 conformtest.pl
8149f976 4637
1a4ac776
JM
46382012-03-21 Joseph Myers <joseph@codesourcery.com>
4639
be22ce65
JM
4640 * NOTES: Remove.
4641 * Makefile (files-for-dist): Remove NOTES.
4642 (NOTES): Remove rule.
4643 * README: Don't refer to NOTES.
4644 * manual/creature.texi: Don't include macros.texi.
4645 * manual/intro.texi (creature.texi): Remove comment referring to
4646 NOTES.
4647
40b601fb
JM
4648 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4649 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4650 * configure: Regenerated.
4651 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4652 LIBC_TRY_CC_OPTION.
4653 (libc_cv_as_i686): Likewise.
4654 (libc_cv_cc_avx): Likewise.
4655 (libc_cv_cc_sse2avx): Likewise.
4656 (libc_cv_cc_fma4): Likewise.
4657 (libc_cv_cc_novzeroupper): Likewise.
4658 * sysdeps/i386/configure: Regenerated.
4659
1a4ac776
JM
4660 [BZ #13883]
4661 * sysdeps/i386/fpu/s_cexp.S: Remove.
4662 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4663 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4664 * math/libm-test.inc (cexp_test): Add more tests.
4665 * sysdeps/i386/fpu/libm-test-ulps: Update.
4666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667
a458e7fe
AM
46682012-03-21 Allan McRae <allan@archlinux.org>
4669
4670 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4671
0cb7efc5
JM
46722012-03-21 Joseph Myers <joseph@codesourcery.com>
4673
4674 [BZ #13871]
4675 * math/w_exp2.c: Do not include <float.h>.
4676 (o_threshold, u_threshold): Remove.
4677 (__exp2): Calculate result before checking finiteness and calling
4678 __kernel_standard.
4679 * math/w_exp2f.c: Likewise.
4680 * math/w_exp2l.c: Likewise.
4681 * math/libm-test.inc (exp2_test): Require overflow exception for
4682 1e6 input.
2460d3aa
JM
4683
4684 [BZ #3866]
4685 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4686 range of signed 64-bit integers before using fistpll. Remove
4687 checks for whether integers fit in mantissa bits.
4688 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4689 the range of signed 32-bit integers before using fistpl. Remove
4690 checks for whether integers fit in mantissa bits.
4691 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4692 (__ieee754_powl): Test for y outside the range of signed 64-bit
4693 integers before using fistpll. Reduce 64-bit values to 63-bit
4694 ones as needed.
4695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4696 divide-by-zero is raised for zero to large negative powers.
4697 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4698 (__ieee754_powl): Test for y outside the range of signed 64-bit
4699 integers before using fistpll. Reduce 64-bit values to 63-bit
4700 ones as needed.
4701 * math/libm-test.inc (pow_test): Add more tests.
4702
eb96ffb0
L
47032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4704
4705 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4706 <stdio-common/_itoa.h>.
4707 * debug/segfault.c: Likewise.
4708 * elf/dl-cache.c: Likewise.
4709 * elf/dl-minimal.c: Likewise.
4710 * elf/dl-misc.c: Likewise.
4711 * elf/dl-sysdep.c: Likewise.
4712 * elf/dl-version.c: Likewise.
4713 * elf/rtld.c: Likewise.
4714 * hurd/hurdsock.c: Likewise.
4715 * hurd/lookup-retry.c: Likewise.
4716 * malloc/malloc.c: Likewise.
4717 * malloc/mtrace.c: Likewise.
4718 * nscd/nscd_getgr_r.c: Likewise.
4719 * nscd/nscd_getpw_r.c: Likewise.
4720 * nscd/nscd_getserv_r.c: Likewise.
4721 * posix/getopt_init.c: Likewise.
4722 * posix/wordexp.c: Likewise.
4723 * stdio-common/_itoa.c: Likewise.
4724 * stdio-common/printf_fphex.c: Likewise.
4725 * stdio-common/vfprintf.c: Likewise.
4726 * string/_strerror.c: Likewise.
4727 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4728 * sysdeps/i386/i686/hp-timing.h: Likewise.
4729 * sysdeps/mach/_strerror.c: Likewise.
4730 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4731 * sysdeps/mach/hurd/sethostid.c: Likewise.
4732 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4733 * sysdeps/mach/xpg-strerror.c: Likewise.
4734 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4736 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4737 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4739 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4740 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4741 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4742 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4743 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4744 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4746 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4747 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4748 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4752 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4753 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4754 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4755
4756 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4757
4758 * stdio-common/_itoa.h: Moved to ...
4759 * sysdeps/generic/_itoa.h: Here.
4760
4761 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4762
4763 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4764 instead of "_itoa.h" and "_itowa.h".
4765 * stdio-common/vfprintf.: Likewise.
4766
d1af992d
L
47672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4768
4769 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4770 <bits/wordsize.h>.
4771 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4772 (__signbit): Likwise.
4773 (llrintf): Likwise.
4774 (llrint): Likwise.
4775
114883e0
L
47762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4779 __WORDSIZE != 64.
4780
c135cc1b
JM
47812012-03-20 Joseph Myers <joseph@codesourcery.com>
4782
4783 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4784 OVERFLOW_EXCEPTION_OK.
4785 * math/libm-test.inc ("Philosophy"): Update comment about
4786 exception testing.
4787 (OVERFLOW_EXCEPTION): Define.
4788 (OVERFLOW_EXCEPTION_OK): Likewise.
4789 (INVALID_EXCEPTION_OK): Renumber.
4790 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4791 (IGNORE_ZERO_INF_SIGN): Likewise.
4792 (test_exceptions): Handle FE_OVERFLOW.
4793 (exp10_test): Expect overflow exceptions.
4794 (exp2_test): Likewise.
4795 (expm1_test): Likewise.
4796 (nextafter_test): Likewise.
4797 (pow_test): Likewise.
4798 (scalbn_test): Likewise.
4799 (scalbln_test): Likewise.
4800
95443d88
L
48012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4802
4803 * sysdeps/x86_64/bits/atomic.h
4804 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4805 64bit integer.
4806 (atomic_exchange_acq): Likewise.
4807 (__arch_exchange_and_add_body): Likewise.
4808 (__arch_add_body): Likewise.
4809 (atomic_add_negative): Likewise.
4810 (atomic_add_zero): Likewise.
4811
490df6c4
L
48122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4813
c2722551 4814 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4815 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4816
5e52b189
L
48172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4818
4819 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4820 Check __x86_64__ instead of __WORDSIZE.
4821
a9879d4c
L
48222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4823
4824 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4825
5df98260
DM
48262012-03-19 David S. Miller <davem@davemloft.net>
4827
e1497744
DM
4828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4829
5df98260
DM
4830 * sysdeps/sparc/fpu/fenv_private.h: New file.
4831 * sysdeps/sparc/fpu/math_private.h: Use it.
4832 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4833 Remove.
4834 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4835 (libc_feholdexcept_setroundl): Remove.
4836 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4837 Remove.
4838 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4839 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4840
b4c35121
L
48412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4842
4843 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4844 int64_t instead of long int.
4845 (INSERT_WORDS64): Likwise.
4846
56965fd7
L
48472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4848
4849 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4850 _Unwind_GetCFA return to _Unwind_Ptr first.
4851
83d1aec8
JM
48522012-03-19 Joseph Myers <joseph@codesourcery.com>
4853
1897ad44
JM
4854 [BZ #13629]
4855 * math/s_clog.c: Include <float.h>.
4856 (__clog): Scale large or subnormal inputs.
4857 * math/s_clogf.c: Likewise.
4858 * math/s_clogl.c: Likewise.
4859 * math/s_clog10.c: Include <float.h>.
4860 (M_LOG10_2): Define.
4861 (__clog10): Scale large or subnormal inputs.
4862 * math/s_clog10f.c: Likewise.
4863 * math/s_clog10l.c: Likewise.
4864 * math/libm-test.inc (clog_test): Add more tests.
4865 (clog10_test): Likewise.
4866 * sysdeps/i386/fpu/libm-test-ulps: Update.
4867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4868
7726d6a9
JM
4869 [BZ #11451]
4870 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4871 x and y.
4872 * math/libm-test.inc (atan2_test): Add another test.
4873
83d1aec8
JM
4874 * Makerules (common-objdir-compile): Remove.
4875 * sysdeps/unix/Makefile (config-generated): Do not add
4876 $(unix-generated) to variable.
4877 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4878 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4879 Remove rule.
4880 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4881 Likewise.
4882 [generic bits/local_lim.h] (before-compile): Do not append to
4883 variable.
4884 [generic bits/local_lim.h] (common-generated): Likewise.
4885 [generic sys/param.h] (before-compile): Do not append to variable.
4886 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4887 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4888 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4889 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4890 include.
4891 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4892 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4893 [generic sys/param.h] ($(addprefix
4894 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4895 [generic sys/param.h] (common-generated): Do not append to
4896 variable.
4897 [generic sys/param.h] (sysdep_headers): Likewise.
4898 [generic bits/errno.h] (before-compile): Do not append to
4899 variable.
4900 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4901 rule.
4902 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4903 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4904 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4905 [generic bits/errno.h] (common-generated): Do not append to
4906 variable.
4907 [generic bits/ioctls.h] (before-compile): Do not append to
4908 variable.
4909 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4910 rule.
4911 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4912 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4913 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4914 rule.
4915 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4916 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4917 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4918 [generic bits/ioctls.h] (common-generated): Do not append to
4919 variable.
4920 [generic sys/syscall.h] (syscall.h): Remove variable.
4921 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4922 rule.
4923 [generic sys/syscall.h] (before-compile): Do not append to
4924 variable.
4925 [generic sys/syscall.h] (common-generated): Likewise.
4926 * sysdeps/unix/errnos-tmpl.c: Remove file.
4927 * sysdeps/unix/errnos.awk: Likewise.
4928 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4929 * sysdeps/unix/ioctls.awk: Likewise.
4930 * sysdeps/unix/mk-local_lim.c: Likewise.
4931 * sysdeps/unix/snarf-ioctls: Likewise.
4932
4851a949
RH
49332012-03-19 Richard Henderson <rth@twiddle.net>
4934
bd37f2ee
RH
4935 * sysdeps/i386/fpu/fenv_private.h: New file.
4936 * sysdeps/i386/fpu/math_private.h: Use it.
4937 (math_opt_barrier, math_force_eval): Remove.
4938 (libc_feholdexcept_setround_53bit): Remove.
4939 (libc_feupdateenv_53bit): Remove.
4940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4941 (math_opt_barrier, math_force_eval): Remove.
4942 (libc_feholdexcept): Remove.
4943 (libc_feholdexcept_setround): Remove.
4944 (libc_fetestexcept, libc_fesetenv): Remove.
4945 (libc_feupdateenv_test): Remove.
4946 (libc_feupdateenv, libc_feholdsetround): Remove.
4947 (libc_feresetround): Remove.
4948
d0adc922
RH
4949 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4950 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4951
0fe0f1f8
RH
4952 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4953 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4954 (libc_feupdateenv_testl): New.
4955 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4956 (libc_feupdateenv_testf): New.
4957 (libc_feupdateenv): Use libc_feupdateenv_test.
4958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4959 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4960
eb92c487
RH
4961 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4962 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4963 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4964 (libc_feresetround_noex): New.
4965 (libc_feresetround_noexf): New.
4966 (libc_feresetround_noexl): New.
4967 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4968 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4969 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4971 SET_RESTORE_ROUND.
4972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4974 (__cos): Likewise.
4975 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4976 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4977 SET_RESTORE_ROUND_NOEX.
4978 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4979 SET_RESTORE_ROUND_NOEXF.
4980 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4981 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4982 (libc_feholdsetroundf): New.
4983 (libc_feresetround, libc_feresetroundf): New.
4984
7d2e8012
RH
4985 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4986 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4987 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4988
b4dabbb4
RH
4989 * sysdeps/generic/math_private.h: Include <fenv.h>.
4990 (default_libc_feholdexcept): New.
4991 (default_libc_feholdexcept_setround): New.
4992 (default_libc_fesetenv, default_libc_feupdateenv): New.
4993 (libc_feholdexcept): Only define if undefined.
4994 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4996 (libc_feholdexcept_setroundl): Likewise.
4997 (libc_feholdexcept_setround_53bit): Likewise.
4998 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5001 (libc_feupdateenv_53bit): Likewise.
5002 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5003 (libc_feholdexcept): Convert from macro to inline function.
5004 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5005 (libc_fesetenv, libc_feupdateenv): Likewise.
5006
4851a949
RH
5007 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5008 not previously defined.
5009 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5010 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5011 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5012 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5013 * sysdeps/ieee754/flt-32/math_private.h: New file.
5014 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5015 math_private.h below SET_FLOAT_WORD.
5016 (__isnan, __isinf_ns, __finite): Remove.
5017 (__isnanf, __isinf_nsf, __finitef): Remove.
5018
e79d442e
AS
50192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5020
5021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5022
90b80344
DM
50232012-03-17 David S. Miller <davem@davemloft.net>
5024
5025 [BZ #6471]
5026 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5027 for 2.16.
5028
edc21804
DM
50292012-03-16 David S. Miller <davem@davemloft.net>
5030
77e927af
DM
5031 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5032 warnings.
5033
374976dd
DM
5034 [BZ #6471]
5035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5036 properly.
5037 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5038 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5039 sysdep_routines when subdir is sysvipc.
5040 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5041 __getshmlba helper.
5042
edc21804
DM
5043 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5044
473c3ef3
L
50452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5046
5047 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5048 [__LP64__].
5049
eb0f39b6
L
50502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5051
5052 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5053 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5054 (__lround): Renamed to ...
5055 (__llround): This. Replace long int with long long int.
5056 Define lround functions as aliases of llround functions.
5057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5058
6b6cd74b
L
50592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5062 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5063 adresses to uintptr_t. Replace "long int" and "unsigned long
5064 int" with "greg_t" on va_arg.
5065
f1a77b01
L
50662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5067
5068 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5069 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5070
5071 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5072 Move e_machine check before EI_CLASS check. Handle x32
5073 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5074 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5075 SKIP_EM_IA_64 and include
5076 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5077
5078 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5079 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5080 (add_system_dir): New macro.
5081
5082 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5083 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5084
11b90b9f
JM
50852012-03-16 Joseph Myers <joseph@codesourcery.com>
5086
c36e1d23
JM
5087 [BZ #2551]
5088 [BZ #2552]
5089 [BZ #2553]
5090 [BZ #2554]
5091 [BZ #2562]
5092 [BZ #2563]
5093 [BZ #2565]
5094 [BZ #2566]
5095 [BZ #2576]
5096 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5097 (y0): Likewise.
5098 * math/w_j0f.c (j0f): Likewise.
5099 (y0f): Likewise.
5100 * math/w_j0l.c (__j0l): Likewise.
5101 (__y0l): Likewise.
5102 * math/w_j1.c (j1): Likewise.
5103 (y1): Likewise.
5104 * math/w_j1f.c (j1f): Likewise.
5105 (y1f): Likewise.
5106 * math/w_j1l.c (__j1l): Likewise.
5107 (__y1l): Likewise.
5108 * math/w_jn.c (jn): Likewise.
5109 (yn): Likewise.
5110 * math/w_jnf.c (jnf): Likewise.
5111 (ynf): Likewise.
5112 * math/w_jnl.c (__jnl): Likewise.
5113 (__ynl): Likewise.
5114 * math/libm-test.inc (j0_test): Add more tests.
5115 (j1_test): Likewise.
5116 (jn_test): Likewise. Add trailing semicolon to existing test.
5117 (y0_test): Likewise.
5118 (y1_test): Likewise.
5119 * sysdeps/i386/fpu/libm-test-ulps: Update.
5120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5121
11b90b9f
JM
5122 [BZ #13851]
5123 [BZ #13854]
5124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5125 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5126 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5128 (__tanl): Set errno for infinite argument.
5129 * sysdeps/i386/fpu/mptan.c: Remove.
5130 * sysdeps/i386/fpu/s_tan.S: Likewise.
5131 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5132 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5133 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5134 * math/libm-test.inc (tan_test): Add more tests and enable more
5135 tests for double and long double.
5136 * sysdeps/i386/fpu/libm-test-ulps: Update.
5137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138
6a1bd2a1
JK
51392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5142 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5143
10a803e0
RM
51442012-03-16 Roland McGrath <roland@hack.frob.com>
5145
5146 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5147 * configure.in: Use it for both main tree and add-ons.
5148 * configure: Regenerated.
5149
f196c7f7
L
51502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5151
5152 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5153
8848d99d
JM
51542012-03-16 Joseph Myers <joseph@codesourcery.com>
5155
96cbe7f4
JM
5156 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5157 in comment.
5158
8848d99d
JM
5159 [BZ #13851]
5160 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5161 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5165 infinite argument.
5166 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5167 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5168 != 0 for prec == 2.
5169 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5170 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5171 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5172 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5173 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5174 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5175 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5176 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5177 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5178 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5179 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5180 * math/libm-test.inc (cos_test): Add more tests and enable more
5181 tests for long double.
5182 (sin_test): Likewise.
5183 (sincos_test): Likewise.
5184 * sysdeps/i386/fpu/libm-test-ulps: Update.
5185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5186
dd7f4703
DM
51872012-03-16 David S. Miller <davem@davemloft.net>
5188
5189 * sysdeps/sparc/fpu/math_private.h: New file.
5190
006f1daa
DM
51912012-03-15 David S. Miller <davem@davemloft.net>
5192
c0c83bc8
DM
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5194 file.
e6a62e18 5195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5197 file.
e6a62e18
DM
5198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5204 sysdep routines.
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5206
88cb87d9
DM
5207 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5208 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5209
006f1daa 5210 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5212 sparc-ifunc.h
006f1daa 5213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5215 Likewise.
5216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5217 Likewise.
006f1daa
DM
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5222 Likewise.
006f1daa
DM
5223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5228 Likewise.
5229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5230 Likewise.
006f1daa
DM
5231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5255
11e0098e
AS
52562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5257
5258 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5259 scaling.
5260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5261
e85b09d0
AJ
52622012-03-15 Andreas Jaeger <aj@suse.de>
5263
5264 [BZ #13852]
5265 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5266 ieee754/flt-32 implementation for sin, cos and sincos.
5267 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5268 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5269 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5270 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5271 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5272 ieee754/flt-32 implementation for tan.
5273
5274 * math/libm-test.inc (cos_test): Enable some large input tests for
5275 float as well
5276 (sin_test): Likewise.
5277 (sincos_test): Likewise.
5278 (tan_test): Add tests for large input.
5279
5280 * sysdeps/i386/fpu/libm-test-ulps: Update.
5281
81c64153
AJ
52822012-03-15 Andreas Jaeger <aj@suse.de>
5283
5284 [BZ #13658]
5285 * math/libm-test.inc (cos_test): Add more test cases.
5286 (sin_test): Likewise.
5287 (sincos_test): Likewise.
5288
7bbfa5c6
AJ
52892012-03-15 Andreas Jaeger <aj@suse.de>
5290
5291 [BZ #13837]
5292 * math/libm-test.inc (cos_test): Add a test case for large input
5293 value.
5294 (sin_test): Likewise.
5295 (sincos_test): Likewise.
5296
52972012-03-15 Andreas Jaeger <aj@suse.de>,
5298 Joseph Myers <joseph@codesourcery.com>
5299
5300 [BZ #13658]
0671f479 5301 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5302 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5303 * sysdeps/i386/fpu/branred.c: Likewise.
5304 * sysdeps/i386/fpu/dosincos.c: Likewise.
5305 * sysdeps/i386/fpu/mpa.c: Likewise.
5306 * sysdeps/i386/fpu/s_cos.S: Likewise.
5307 * sysdeps/i386/fpu/s_sin.S: Likewise.
5308 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5309 * sysdeps/i386/fpu/sincos32.c: Likewise.
5310
5311 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5312 Define.
5313 (libc_feupdateenv_53bit): Define.
5314 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5315 Define.
5316 (libc_feupdateenv_53bit): Define.
5317
5318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5319 53 bit (without extend i386 double precision).
5320
5321 * math/libm-test.inc (sincos_test): Add tests for large input.
5322 (sin): Likewise.
5323 (cos): Likewise.
5324
5325 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5326
9cad04ea
AS
53272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5328
5329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5330
f7062b9a
DM
53312012-03-15 David S. Miller <davem@davemloft.net>
5332
5333 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5334 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5335 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5336 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5349 file.
f7062b9a 5350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5352 file.
f7062b9a 5353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5355 file.
f7062b9a 5356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5358 file.
f7062b9a
DM
5359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5361 fmin/fmax sysdep routines.
5362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5363
7bd951ff
DM
53642012-03-14 David S. Miller <davem@davemloft.net>
5365
559398ab
DM
5366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5395 routines.
5396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5397 file.
559398ab 5398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5400 file.
559398ab 5401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5403 file.
559398ab 5404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5406 file.
559398ab 5407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5409 file.
559398ab 5410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5412 file.
5413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5414 file.
5415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5416 file.
5417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5418 file.
5419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5420 New file.
5421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5422 file.
5423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5424 file.
559398ab 5425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5427 file.
559398ab 5428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5430 file.
559398ab 5431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5433 file.
559398ab 5434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5436 VIS3 routines.
559398ab
DM
5437
5438 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5439 New file.
5440
5a1c1e32
DM
5441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5442
eae47a36
DM
5443 * sysdeps/sparc/configure.in: New file.
5444 * sysdeps/sparc/configure: Generate.
5445 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5446 * configure: Regenerate.
5447 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5448 * config.make.in (have-as-vis3): New.
5449 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5450 available use -Av9d instead of -Av9a.
5451 * sysdeps/sparc/sparc64/Makefile: Likewise.
5452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5454 New file.
5455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5456 file.
5457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5458 New file.
5459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5460 file.
eae47a36
DM
5461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5466
c0c83bc8
DM
5467 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5468 fzeros/fnegs to load 0x80000000 into a float register instead of
5469 using the stack.
7bd951ff
DM
5470 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5471
bd951ccb
JM
54722012-03-14 Joseph Myers <joseph@codesourcery.com>
5473
5474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5475 bits/syscall.h.
5476 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5477 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5478 ($(inst_includedir)/bits/syscall.h): Remove rule.
5479 ($(objpfx)bits/syscall.d): Include instead of
5480 $(objpfx)syscall-list.d.
5481 (generated): Change syscall-list.h and syscall-list.d to
5482 bits/syscall.h and bits/syscall.d.
5483
bb4e6db2
RM
54842012-03-14 Roland McGrath <roland@hack.frob.com>
5485
5486 [BZ #13846]
5487 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5488
aa4a2ae1
JM
54892012-03-14 Joseph Myers <joseph@codesourcery.com>
5490
e456826d
JM
5491 [BZ #13841]
5492 * math/s_csqrt.c: Include <float.h>.
5493 (__csqrt): Scale large or subnormal inputs.
5494 * math/s_csqrtf.c: Likewise.
5495 * math/s_csqrtl.c: Likewise.
5496 * math/libm-test.inc (csqrt_test): Add more tests.
5497 * sysdeps/i386/fpu/libm-test-ulps: Update.
5498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5499
aa4a2ae1
JM
5500 [BZ #13840]
5501 * math/libm-test.inc (hypot_test): Add more tests.
5502
7c10fd35
DM
55032012-03-13 David S. Miller <davem@davemloft.net>
5504
5505 [BZ #13840]
5506 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5507 double-precision for the calculation instead of scaling.
5508
f453b98b
JM
55092012-03-13 Joseph Myers <joseph@codesourcery.com>
5510
5511 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5512 manipulate bits before adding and subtracting TWO52[sx].
5513 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5515 Likewise.
5516 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5517
09a3453f
DM
55182012-03-13 David S. Miller <davem@davemloft.net>
5519
8e59da90
DM
5520 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5521 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5523 rtld-global-offsets.h
5524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5525
2a8ab7f2
DM
5526 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5527 large parameters.
5528
10f62770
DM
5529 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5530
5f0bdb18
DM
5531 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5532 'err' in the ifdef scope in which it is actually used.
5533
09a3453f
DM
5534 * nss/nss_db/db-init.c: Include string.h
5535
b4b2eb5e
DM
55362012-03-12 David S. Miller <davem@davemloft.net>
5537
98bb2f1c
DM
5538 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5539 masking out of the most significant byte of random value used.
5540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5541 Fix coding style in previous change.
5542
b4b2eb5e
DM
5543 * sysdeps/unix/sysv/linux/kernel-features.h
5544 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5545 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5546 expression.
5547 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5548 later.
5549
6e226b09
DM
55502012-03-11 David S. Miller <davem@davemloft.net>
5551
a1bcbd40
DM
5552 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5553 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5554 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5555 for 'resultvar' otherwise things get truncated on 64-bit.
5556
cb9d6174
DM
5557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5558 Fix masking out of the most significant byte of random value used.
5559
6e226b09
DM
5560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5561
058c132d
AS
55622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5563
5564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5565
2d2cd515
DM
55662012-03-09 David S. Miller <davem@davemloft.net>
5567
5568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5569 variables with appropriate CPP guards.
5570 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5571 frame pointer, not the stack pointer. Correct layout comments. Fix test
5572 on resulting framesize and the management of the outregs buffer for pltexit.
5573 Preserve floating point return values across _dl_call_pltexit call.
5574 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5575 framesize and the management of the outregs buffer for pltexit.
5576 Preserve floating point return values across _dl_call_pltexit
5577 call.
5578 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5579 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5580 (print_exit): Fix format string for return register value.
5581
9a07f9d0
JM
55822012-03-10 Joseph Myers <joseph@codesourcery.com>
5583
5584 * sunrpc/Makefile (others): Add rpcgen.
5585 ($(objpfx)rpcgen): Remove special build rule and dependency on
5586 libc.
5587 * sunrpc/rpcgen.c: New file.
5588
547b5e30
PE
55892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5590
c524201a
PE
5591 [BZ #13673]
5592 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5593 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5594 * sysdeps/i386/crti.S: Likewise.
5595 * sysdeps/i386/crtn.S: Likewise.
5596 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5597 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5598 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5599 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5600 * sysdeps/sh/crti.S: Likewise.
5601 * sysdeps/sh/crtn.S: Likewise.
5602 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5603
7b6235f2
PE
5604 [BZ #13673]
5605 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5606 with URL.
5607 * locale/programs/locfile-kw.gperf: Likewise.
5608 * locale/programs/charmap-kw.h: Regenerated.
5609 * locale/programs/locfile-kw.h: Likewise.
5610
547b5e30
PE
5611 [BZ #13673]
5612 * intl/plural.y: Replace FSF snail mail address with URL.
5613 * intl/plural.c: Regenerated.
5614
5f0a5dae
RH
56152012-03-09 Richard Henderson <rth@twiddle.net>
5616
5617 * include/math_private.h: Remove file.
5618 * math/math_private.h: Move file ...
5619 * sysdeps/generic/math_private.h: ... here.
5620
b8c03620
RH
5621 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5622 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5623 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5624
4e234f5d 5625 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5626 and <math_private.h>.
5627 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5628 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5629 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5630 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5631 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5653 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5655 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5657 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5670 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5715 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5716 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5717 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5718 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5721 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5722 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5724 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5727 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5728 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5729 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5730 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5732 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5737 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5738 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5739 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5741 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5742 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5744 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5746 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5747 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5748 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5749 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5750 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5751 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5752 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5754 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5755 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5756 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5757 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5758 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5759 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5760 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5761 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5762 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5763 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5765 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5766 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5767 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5768 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5769 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5770 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5771 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5772 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5773 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5774 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5775 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5776 * sysdeps/ieee754/k_standard.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5827 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5828 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5829 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5834 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5844 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5845 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5851 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5855 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5868 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5869 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5871 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5879 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5880 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5887 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5890 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5896 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5898 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5899 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5904 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5906 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5907 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5909 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5926 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5927 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5928 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5937 * sysdeps/ieee754/s_lib_version.c: Likewise.
5938 * sysdeps/ieee754/s_matherr.c: Likewise.
5939 * sysdeps/ieee754/s_signgam.c: Likewise.
5940 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5941 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5942 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5943 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5944 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5945 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5946 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5947 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5948 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5949 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5950 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5951 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5952 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5953 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5954 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5955 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5956 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5957 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5958 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5961
1991fa03
JM
59622012-03-09 Joseph Myers <joseph@codesourcery.com>
5963
5964 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5965 * sunrpc/rpc_main.c: Likewise.
5966 * sunrpc/rpc_svcout.c: Likewise.
5967
60d6f5a6
DM
59682012-03-09 David S. Miller <davem@davemloft.net>
5969
5970 * include/math_private.h: New file.
5971
4962050e
JM
59722012-03-09 Joseph Myers <joseph@codesourcery.com>
5973
02a6f887
JM
5974 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5975 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5976 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5977 from <bits/socket_type.h>.
5978 (enum __socket_type): Don't define here.
5979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5981 bits/socket_type.h.
5982
c6e013c1
JM
5983 [BZ #13566]
5984 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5985 checking __USE_GNU.
5986
4962050e
JM
5987 * Makerules ($(inst_includedir)/%.h): New rule.
5988 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5989 (install-others): Remove variable setting.
5990 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5991
38842f45
RH
59922012-03-08 Richard Henderson <rth@twiddle.net>
5993
67bb6da6
RH
5994 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5995 from macro to inline function; merge with the
5996 !__LIBC_INTERNAL_MATH_INLINES version.
5997 (__ieee754_sqrtf): Likewise.
5998
15194b4b
RH
5999 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6000 to inline function.
6001 (__rintf, __floor, __floorf): Likewise.
6002
64e21ede
RH
6003 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6004 macro to inline function.
6005 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6006
38842f45
RH
6007 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6008 not <math/math_private.h>.
6009
c64bf5fe
DM
60102012-03-08 David S. Miller <davem@davemloft.net>
6011
6012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6013 copyright year.
6014 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6015
82d86f28
TS
60162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6017
6018 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6019 normalization.
6020 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6021 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6022
aea5d727
UD
60232012-03-08 Ulrich Drepper <drepper@gmail.com>
6024
6025 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6026 be defined individually, they must be defined as a block. Define
6027 S for printing a string instead of hidint the different by using a
6028 macro for adding the 'l'.
6029 * stdio-common/tst-fphex-wide.c: Adjust.
6030
70bca0a3
MP
60312012-03-07 Marek Polacek <polacek@redhat.com>
6032
6033 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6034
65b81130
MP
60352012-03-08 Marek Polacek <polacek@redhat.com>
6036
6037 [BZ #13806]
6038 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6039 * stdio-common/tst-fphex.c: Define a few macros to make the
6040 test reusable. Use them.
6041 * stdio-common/tst-fphex-wide.c: New file.
6042
07037eeb
JM
60432012-03-08 Joseph Myers <joseph@codesourcery.com>
6044
a7a93d50
JM
6045 [BZ #6911]
6046 * manual/macros.texi (gnusystems): New macro.
6047 (nongnusystems): Likewise.
6048 (gnulinuxhurdsystems): Likewise.
6049 (gnuhurdsystems): Likewise..
6050 (gnulinuxsystems): Likewise.
6051 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6052 variants of the GNU system, not "GNU system".
6053 * manual/conf.texi: Likewise.
6054 * manual/errno.texi: Likewise. Update example of errno macro
6055 expansion.
6056 * manual/filesys.texi: Likewise.
6057 (getumask): Document as specific to GNU/Hurd.
6058 * manual/install.texi: Likewise. Reword some references to
6059 GNU/Linux.
6060 * manual/intro.texi: Likewise.
6061 * manual/io.texi: Likewise.
6062 (File Name Portability): Detail which constraints are inapplicable
6063 to all GNU systems and which are only inapplicable to GNU/Hurd.
6064 * manual/job.texi: Likewise.
6065 * manual/llio.texi: Likewise.
6066 (O_NOCTTY): Document as present on GNU/Linux.
6067 * manual/maint.texi: Likewise.
6068 * manual/memory.texi: Likewise.
6069 * manual/pattern.texi: Likewise.
6070 * manual/pipe.texi: Likewise.
6071 * manual/process.texi: Likewise.
6072 * manual/resource.texi: Likewise.
6073 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6074 child on GNU/Hurd.
6075 * manual/setjmp.texi: Likewise.
6076 * manual/signal.texi: Likewise.
6077 * manual/startup.texi: Likewise.
6078 * manual/stdio.texi: Likewise.
6079 * manual/terminal.texi: Likewise.
6080 (ONLCR): Document as POSIX.
6081 (OXTABS): Document availability on GNU/Linux as XTABS.
6082 (ONOEOT): Document availability separately from other bits.
6083 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6084 * manual/time.texi: Likewise.
6085 * manual/users.texi: Likewise.
6086 * INSTALL: Regenerated.
6087 * sysdeps/gnu/errlist.c: Regenerated.
6088
07037eeb
JM
6089 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6090 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6091 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6092 puts.
6093 * configure: Regenerated.
6094
d1d3431a
JM
60952012-03-07 Joseph Myers <joseph@codesourcery.com>
6096
af6a1e37
JM
6097 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6098 default includes instead of AC_HEADER_CHECK.
6099 * sysdeps/i386/configure: Regenerated.
6100
d1d3431a
JM
6101 [BZ #10716]
6102 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6103 * math/s_cacoshf.c (__cacoshf): Likewise.
6104 * math/s_cacoshl.c (__cacoshl): Likewise.
6105 * math/s_casinh.c (__casinh): Set signs of result from argument.
6106 * math/s_casinhf.c (__casinhf): Likewise.
6107 * math/s_casinhl.c (__casinhl): Likewise.
6108 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6109 (casinh_test): Add more tests.
6110 * sysdeps/i386/fpu/libm-test-ulps: Update.
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6112
482ff4da
UD
61132012-03-07 Ulrich Drepper <drepper@gmail.com>
6114
872fda05
UD
6115 * po/zh_TW.po: Update from translation team.
6116
a4300c7a
UD
6117 * login/Makefile (distribute): Remove variable.
6118 * catgets/Makefile: Likewise.
6119 * mach/Makefile: Likewise.
6120 * malloc/Makefile: Likewise.
6121 * misc/Makefile: Likewise.
6122 * iconv/Makefile: Likewise.
6123 * nscd/Makefile: Likewise.
6124 * hurd/Makefile: Likewise.
6125 * manual/Makefile: Likewise.
6126 * locale/Makefile: Likewise.
6127 * intl/Makefile: Likewise.
6128 * conform/Makefile: Likewise.
6129 * nss/Makefile: Likewise.
6130 * time/Makefile: Likewise.
6131 * soft-fp/Makefile: Likewise.
6132 * dirent/Makefile: Likewise.
6133 * gmon/Makefile: Likewise.
6134 * po/Makefile: Likewise.
6135 * rt/Makefile: Likewise.
6136 * socket/Makefile: Likewise.
6137 * math/Makefile: Likewise.
6138 * signal/Makefile: Likewise.
6139 * debug/Makefile: Likewise.
6140 * elf/Makefile: Likewise.
6141 * timezone/Makefile: Likewise.
6142 * stdlib/Makefile: Likewise.
6143 * iconvdata/Makefile: Likewise.
6144 * sunrpc/Makefile: Likewise.
6145 * io/Makefile: Likewise.
6146 * argp/Makefile: Likewise.
6147 * inet/Makefile: Likewise.
6148 * hesiod/Makefile: Likewise.
6149 * grp/Makefile: Likewise.
6150 * csu/Makefile: Likewise.
6151 * wctype/Makefile: Likewise.
6152 * crypt/Makefile: Likewise.
6153 * libio/Makefile: Likewise.
6154 * string/Makefile: Likewise.
6155 * nis/Makefile: Likewise.
6156 * resolv/Makefile: Likewise.
6157 * stdio-common/Makefile: Likewise.
6158 * wcsmbs/Makefile: Likewise.
6159 * dlfcn/Makefile: Likewise.
6160 * posix/Makefile: Likewise.
6161
3b7c4e74 6162 [BZ #6959]
482ff4da
UD
6163 * timezone/Makefile: Don't install timezone files, just the programs
6164 and scripts.
6165
f72ed77d
UD
61662012-03-06 Ulrich Drepper <drepper@gmail.com>
6167
a000466f
UD
6168 * nss/databases.def: Add missing gshadow entry.
6169
f72ed77d
UD
6170 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6171
a53b7a4e
MP
61722012-03-06 Marek Polacek <polacek@redhat.com>
6173
6174 [BZ #13726]
6175 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6176 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6177 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6178 * stdio-common/tst-long-dbl-fphex.c: New file.
6179
e9258400
DM
61802012-03-06 David S. Miller <davem@davemloft.net>
6181
6182 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6183 (set_obp_int): New function.
6184 (get_obp_int): New function.
6185 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6186 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6187 Avoid unused variable warnings on 'val' and use builtin_expect.
6188 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6189 __builtin_expect.
e9258400
DM
6190 (INLINE_CLONE_SYSCALL): Likewise.
6191
3bd2c723
DM
61922012-03-05 David S. Miller <davem@davemloft.net>
6193
6194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6195
bbb78d03
AS
61962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6197
884c5db4
AS
6198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6199
bbb78d03
AS
6200 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6201 only for |x| >= 40.
6202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6203
1c9f702a 62042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6205
6206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6207 Replace gettimeofday with __vdso_gettimeofday.
6208
7be16f82
RM
6209 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6210 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6211 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6212
6213 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6214 time with __vdso_time.
6215
ed58a00f
JM
62162012-03-05 Joseph Myers <joseph@codesourcery.com>
6217
6218 * manual/lang.texi (size_t): Note types to which size_t may be
6219 equivalent with the GNU C Library, but do not describe when
6220 differences between them are significant.
6221
30ee4ced
AJ
62222012-03-05 Andreas Jaeger <aj@suse.de>
6223
6224 * sysdeps/i386/fpu/libm-test-ulps: Update.
6225
b7cd39e8
JM
62262012-03-05 Joseph Myers <joseph@codesourcery.com>
6227
6228 [BZ #3976]
6229 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6230 (__ieee754_pow): Save and restore rounding mode and use
6231 round-to-nearest for main computations.
6232 * math/libm-test.inc (pow_test_tonearest): New function.
6233 (pow_test_towardzero): Likewise.
6234 (pow_test_downward): Likewise.
6235 (pow_test_upward): Likewise.
6236 (main): Call the new functions.
6237 * sysdeps/i386/fpu/libm-test-ulps: Update.
6238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6239
6240 [BZ #3976]
6241 * math/libm-test.inc (cosh_test_tonearest): New function.
6242 (cosh_test_towardzero): Likewise.
6243 (cosh_test_downward): Likewise.
6244 (cosh_test_upward): Likewise.
6245 (sinh_test_tonearest): Likewise.
6246 (sinh_test_towardzero): Likewise.
6247 (sinh_test_downward): Likewise.
6248 (sinh_test_upward): Likewise.
6249 (main): Call the new functions.
6250 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6252
6c6a98c9
TV
62532012-03-05 Tom de Vries <tom@codesourcery.com>
6254
6255 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6256 default stack guard is set in last bytes.
6257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6258
21bb2d2e 62592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6260
21bb2d2e 6261 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6262
21bb2d2e
AJ
6263 [BZ #13656]
6264 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6265 possibly allocate from heap instead of stack.
6266 * stdio-common/bug-vfprintf-nargs.c: New file.
6267 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6268
c6922934
AS
62692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6270
6271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6272
bc957d53
MP
62732012-03-03 Marek Polacek <polacek@redhat.com>
6274
6275 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6276 * math/math_private.h: Likewise.
6277 * stdlib/tst-strtod.c: Likewise.
6278 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6279 * sysdeps/x86_64/bits/atomic.h: Likewise.
6280
6358490d
DM
62812012-03-02 David S. Miller <davem@davemloft.net>
6282
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6288 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6290 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6291
01ae168d
RM
62922012-03-02 Roland McGrath <roland@hack.frob.com>
6293
d9a17c07
RM
6294 [BZ #13792]
6295 * manual/examples/README: New file, says the example source files
6296 can be used under GPL>=2.
6297 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6298 line containing just "*/".
6299 * manual/examples/add.c: Add copyright header (GPL>=2).
6300 * manual/examples/argp-ex1.c: Likewise.
6301 * manual/examples/argp-ex2.c: Likewise.
6302 * manual/examples/argp-ex3.c: Likewise.
6303 * manual/examples/argp-ex4.c: Likewise.
6304 * manual/examples/atexit.c: Likewise.
6305 * manual/examples/db.c: Likewise.
6306 * manual/examples/dir.c: Likewise.
6307 * manual/examples/dir2.c: Likewise.
6308 * manual/examples/execinfo.c: Likewise.
6309 * manual/examples/filecli.c: Likewise.
6310 * manual/examples/filesrv.c: Likewise.
6311 * manual/examples/fmtmsgexpl.c: Likewise.
6312 * manual/examples/genpass.c: Likewise.
6313 * manual/examples/inetcli.c: Likewise.
6314 * manual/examples/inetsrv.c: Likewise.
6315 * manual/examples/isockad.c: Likewise.
6316 * manual/examples/longopt.c: Likewise.
6317 * manual/examples/memopen.c: Likewise.
6318 * manual/examples/memstrm.c: Likewise.
6319 * manual/examples/mkfsock.c: Likewise.
6320 * manual/examples/mkisock.c: Likewise.
6321 * manual/examples/mygetpass.c: Likewise.
6322 * manual/examples/pipe.c: Likewise.
6323 * manual/examples/popen.c: Likewise.
6324 * manual/examples/rprintf.c: Likewise.
6325 * manual/examples/search.c: Likewise.
6326 * manual/examples/select.c: Likewise.
6327 * manual/examples/setjmp.c: Likewise.
6328 * manual/examples/sigh1.c: Likewise.
6329 * manual/examples/sigusr.c: Likewise.
6330 * manual/examples/stpcpy.c: Likewise.
6331 * manual/examples/strdupa.c: Likewise.
6332 * manual/examples/strftim.c: Likewise.
6333 * manual/examples/strncat.c: Likewise.
6334 * manual/examples/subopt.c: Likewise.
6335 * manual/examples/swapcontext.c: Likewise.
6336 * manual/examples/termios.c: Likewise.
6337 * manual/examples/testopt.c: Likewise.
6338 * manual/examples/testpass.c: Likewise.
6339 * manual/examples/timeval_subtract.c: Likewise.
6340
01ae168d
RM
6341 [BZ #13792]
6342 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6343 function to ...
6344 * manual/timeval_subtract.c.texi: ... here, new file.
6345
49efa33d
DM
63462012-03-02 David S. Miller <davem@davemloft.net>
6347
6348 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6349
28afd92d
JM
63502012-03-02 Joseph Myers <joseph@codesourcery.com>
6351
804360ed
JM
6352 [BZ #3976]
6353 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6354 (__sin): Save and restore rounding mode and use round-to-nearest
6355 for all computations.
6356 (__cos): Save and restore rounding mode and use round-to-nearest
6357 for all computations.
6358 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6359 <fenv.h>.
6360 (tan): Save and restore rounding mode and use round-to-nearest for
6361 all computations.
6362 * math/libm-test.inc (cos_test_tonearest): New function.
6363 (cos_test_towardzero): Likewise.
6364 (cos_test_downward): Likewise.
6365 (cos_test_upward): Likewise.
6366 (sin_test_tonearest): Likewise.
6367 (sin_test_towardzero): Likewise.
6368 (sin_test_downward): Likewise.
6369 (sin_test_upward): Likewise.
6370 (tan_test_tonearest): Likewise.
6371 (tan_test_towardzero): Likewise.
6372 (tan_test_downward): Likewise.
6373 (tan_test_upward): Likewise.
6374 (main): Call the new functions.
6375 * sysdeps/i386/fpu/libm-test-ulps: Update.
6376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6377
a6d06d7b
JM
6378 [BZ #10135]
6379 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6380 small n, then large n, before computing and testing k+n.
6381 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6383 Likewise.
6384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6385 Likewise.
6386 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6387 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6392 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6393 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6394 * math/libm-test.inc (scalbn_test): Add more tests.
6395 (scalbln_test): Likewise.
6396
07e12bb3
JM
6397 * manual/filesys.texi (mode_t): Describe constraints on size and
6398 signedness, not exact equivalence to a particular type.
6399 (ino_t): Likewise.
6400 (ino64_t): Likewise.
6401 (dev_t): Likewise.
6402 (nlink_t): Likewise.
6403 (blkcnt_t): Likewise.
6404 (blkcnt64_t): Likewise.
6405 * manual/llio.texi (off_t): Likewise.
6406
28afd92d
JM
6407 [BZ #3976]
6408 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6409 (__ieee754_exp): Save and restore rounding mode and use
6410 round-to-nearest for all computations.
6411 * math/libm-test.inc (exp_test_tonearest): New function.
6412 (exp_test_towardzero): Likewise.
6413 (exp_test_downward): Likewise.
6414 (exp_test_upward): Likewise.
6415 (main): Call the new functions.
6416 * sysdeps/i386/fpu/libm-test-ulps: Update.
6417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6418
b1eeb65d
CD
64192012-03-01 Chris Demetriou <cgd@google.com>
6420
6421 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6422 have predictable order.
6423
53362a4b
DM
64242012-03-01 David S. Miller <davem@davemloft.net>
6425
3c969083
DM
6426 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6427
759707de
DM
6428 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6430 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6431 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6432
dfdb8ff2
DM
6433 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6434 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6435 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6437 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6438 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6439 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6440 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6441 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6442
ead89f96
DM
6443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6444
7f66bd07
DM
6445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6446 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6447 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6448
53362a4b
DM
6449 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6450 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6451 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6452 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6453 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6456 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6457 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6458 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6459 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6462 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6465 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6466 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6467 * sysdeps/sparc/elf/configure: Regenerated.
6468
7b1902cb
JM
64692012-03-01 Joseph Myers <joseph@codesourcery.com>
6470
bec039bc
JM
6471 * configure.in (AS, LD): Require binutils 2.20 or later.
6472 * configure: Regenerated.
6473 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6474 as required minimum version.
6475 * INSTALL: Regenerated.
6476
7b1902cb
JM
6477 [BZ #2541]
6478 [BZ #4108]
6479 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6480 before squaring exponent.
6481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6482 bottom long double and 27 bits of top long double before squaring
6483 exponent.
6484 * math/libm-test.inc (erfc_test): Add more tests.
6485 * sysdeps/i386/fpu/libm-test-ulps: Update.
6486 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488
f775c276
KT
64892012-03-01 Kai Tietz <ktietz@redhat.com>
6490
6491 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6492 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6493 containing bit-fields.
6494 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6495 * soft-fp/single.h (_FP_UNION_S): Likewise.
6496 * soft-fp/double.h (_FP_UNION_D): Likewise.
6497
5b8a4d4a
JM
64982012-02-29 Joseph Myers <joseph@codesourcery.com>
6499
0bab47b6
JM
6500 [BZ #13786]
6501 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6502 not include ../strcmp.S.
6503 [USE_AS_STRNCASECMP_L]: Likewise.
6504 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6505 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6506 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6507 (__strncasecmp_l_ia32): Define as alias to
6508 __strncasecmp_l_nonascii.
6509
0fcad3e2
JM
6510 [BZ #5794]
6511 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6512 * sysdeps/i386/fpu/libm-test-ulps: Update.
6513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6514
5b8a4d4a
JM
6515 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6517
8fdceb2e
JL
65182012-02-29 Jeff Law <law@redhat.com>
6519
6520 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6521 out of bounds read.
6522
1f393a11
MP
65232012-02-29 Marek Polacek <polacek@redhat.com>
6524
6525 [BZ #13706]
6526 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6527 * elf/Makefile: Add rules to run tst-unused-dep.out.
6528
8847f037
DM
65292012-02-28 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6532 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6535 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6536 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6537
169d7f11
JM
65382012-02-29 Joseph Myers <joseph@codesourcery.com>
6539
6540 * math/libm-test.inc (llround_test): Move one test from
6541 lround_test. Use TEST_f_L in moved test.
6542 (lround_test): Move misplaced test to llround_test. Add testcase
6543 from bug 2561.
6544
39adf059
UD
65452012-02-28 Ulrich Drepper <drepper@gmail.com>
6546
6547 * sysdeps/x86_64/fpu/e_expf.S: New file.
6548 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6549
71b5d1c5
SB
65502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6551
6552 [BZ #13637]
6553 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6554 of remain_len that may cause incomplete multi-byte character and
6555 false match.
6556 * posix/bug-regex33.c: New file.
6557 * posix/Makefile (tests): Add bug-regex33.
6558
1f77f049
JM
65592012-02-28 Joseph Myers <joseph@codesourcery.com>
6560
6561 * manual/macros.texi: New file.
6562 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6563 * manual/libc.texinfo: Include macros.texi.
6564 * manual/creatute.texi: Likewise.
6565 * manual/install.texi: Likewise.
6566 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6567 @glibcadj{} in references to the GNU C Library.
6568 * manual/charset.texi: Likewise.
6569 * manual/conf.texi: Likewise.
6570 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6571 when not using those macros.
6572 * manual/creature.texi: Likewise.
6573 * manual/crypt.texi: Likewise.
6574 * manual/errno.texi: Likewise.
6575 * manual/filesys.texi: Likewise.
6576 * manual/header.texi: Likewise.
6577 * manual/install.texi: Likewise.
6578 * manual/intro.texi: Likewise.
6579 * manual/io.texi: Likewise.
6580 * manual/job.texi: Likewise.
6581 * manual/lang.texi: Likewise.
6582 * manual/libc.texiinfo: Likewise.
6583 * manual/llio.texi: Likewise.
6584 * manual/locale.texi: Likewise.
6585 * manual/maint.texi: Likewise.
6586 * manual/math.texi: Likewise.
6587 * manual/memory.texi: Likewise.
6588 * manual/message.texi: Likewise.
6589 * manual/nss.texi: Likewise.
6590 * manual/pattern.texi: Likewise.
6591 * manual/process.texi: Likewise.
6592 * manual/resource.texi: Likewise.
6593 * manual/search.texi: Likewise.
6594 * manual/setjmp.texi: Likewise.
6595 * manual/signal.texi: Likewise.
6596 * manual/socket.texi: Likewise.
6597 * manual/startup.texi: Likewise.
6598 * manual/stdio.texi: Likewise.
6599 * manual/string.texi: Likewise.
6600 * manual/sysinfo.texi: Likewise.
6601 * manual/syslog.texi: Likewise.
6602 * manual/terminal.texi: Likewise.
6603 * manual/time.texi: Likewise.
6604 * manual/users.texi: Likewise.
6605 * INSTALL: Regenerated.
6606 * NOTES: Regenerated.
d40c5d54 6607 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6608
450bf206
AS
66092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6610
6611 * include/dirent.h: Include <dirstream.h> before
6612 <dirent/dirent.h>.
6613
741a235b
DM
66142012-02-28 David S. Miller <davem@davemloft.net>
6615
6616 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6617 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6618 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6619 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6620
d6b5aa58
DM
66212012-02-27 David S. Miller <davem@davemloft.net>
6622
1aff59a3
DM
6623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6625 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6626 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6627
d6b5aa58
DM
6628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6629 frame pointer instead of stack pointer relative arg slot.
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6633
433f48bf
CD
66342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6635
6636 [BZ #3992]
6637 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6638
d674b76d
DM
66392012-02-27 David S. Miller <davem@davemloft.net>
6640
6641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6647 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6648 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6649
0e7727f7
JM
66502012-02-27 Joseph Myers <joseph@codesourcery.com>
6651
6652 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6653 later. Allow versions 5-9.
43be4ca2 6654 * configure: Regenerated.
0e7727f7
JM
6655 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6656 required minimum version and 4.6 as recommended version. Do not
6657 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6658 * INSTALL: Regenerated.
0e7727f7 6659
a78bc654
DM
66602012-02-27 David S. Miller <davem@davemloft.net>
6661
428d5830
DM
6662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6668 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6669 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6670
a78bc654
DM
6671 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6672 manipulate bits before adding and subtracting TWO112[sx].
6673 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6674
4579f81c
RM
66752012-02-27 Roland McGrath <roland@hack.frob.com>
6676
36c8acb4
RM
6677 [BZ #13775]
6678 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6679 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6680 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6681 being in POSIX, because they are in 1003.1-2008.
6682
84ad622b
RM
6683 * rt/tst-aio.c: Include <fcntl.h>.
6684 * rt/tst-aio7.c: Likewise.
6685 * rt/tst-aio64.c: Likewise.
6686
4579f81c
RM
6687 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6688
abd923db
JM
66892012-02-27 Joseph Myers <joseph@codesourcery.com>
6690
6691 * manual/install.texi (--with-headers): Describe headers as
6692 interface headers, not private headers.
6693 (Specific advice for GNU/Linux systems): Describe use of headers
6694 from "make headers_install", not private headers from older
6695 kernels.
43be4ca2 6696 * INSTALL: Regenerated.
abd923db
JM
6697 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6698 Change to 2.6.19.
6699 * sysdeps/unix/sysv/linux/configure: Regenerated.
6700
6664049b
JM
6701 * manual/llio.texi (fclean): Remove documentation.
6702
bb8b6697
JM
6703 * manual/Makefile (libc-texi-generated): New variable. Include
6704 version.texi.
6705 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6706 $(libc-texi-generated), not duplicated list of files.
6707 (version.texi, stamp-version): New rules.
6708 (realclean): Remove $(libc-texi-generated), not individual files
6709 from that list. Do not remove dir-add.texinfo.
6710 * manual/libc.texinfo: Comment out uses of edition numbers and
6711 references to printed manual. Remove last-updated dates.
6712 (EDITION): Comment out.
6713 (ISBN): Likewise.
6714 (VERSION, UPDATED): Remove.
6715 (version.texi): Include.
6716
12e5c3b9
AS
67172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6718
6719 * sysdeps/posix/spawni.c: Include <signal.h>.
6720 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6721 * sysdeps/pthread/aio_fsync.c: Likewise.
6722
4efeffc1 67232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6724
ba63ba08
UD
6725 * conform/Makefile (tests): Run only when not cross-compiling and
6726 when fast-check is not defined.
6727
d94a4670
UD
6728 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6729 * conform/data/limits.h-data: Fixes for POSIX2008.
6730 * conform/run-conformtest.sh: Run all tests.
6731 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6732 headers.
6733 * include/bits/dlfcn.h: Likewise.
6734 * include/langinfo.h: Likewise.
6735 * include/monetary.h: Likewise.
6736 * include/sys/poll.h: Likewise.
6737
6738 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6739 for __USE_GNU.
6740 * posix/spawn.h: Define __need_sigset_t.
6741 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6742 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6743 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6744 to get sigevent_t only.
6745 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6746 only for __USE_GNU.
6747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6748 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6749 process_vm_writev only for __USE_GNU.
6750 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6751
6752 * conform/Makefile: For now ignore errors from run-conformtest.
6753 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6754 POSIX to avoid namespace pollution. Don't prepend headers.
6755 * conform/data/aio.h-data: Fixes for POSIX testing.
6756 * conform/data/fcntl.h-data: Likewise.
6757 * conform/data/glob.h-data: Likewise.
6758 * conform/data/grp.h-data: Likewise.
6759 * conform/data/pthread.h-data: Likewise.
6760 * conform/data/pwd.h-data: Likewise.
6761 * conform/data/signal.h-data: Likewise.
6762 * conform/data/spawn.h-data: Likewise.
6763 * conform/data/stdio.h-data: Likewise.
6764 * conform/data/stdlib.h-data: Likewise.
6765 * conform/data/stropts.h-data: Likewise.
6766 * conform/data/sys/mman.h-data: Likewise.
6767 * conform/data/sys/stat.h-data: Likewise.
6768 * conform/data/sys/types.h-data: Likewise.
6769 * conform/data/sys/wait.h-data: Likewise.
6770 * conform/data/time.h-data: Likewise.
6771 * conform/data/unistd.h-data: Likewise.
6772 * conform/data/utime.h-data: Likewise.
6773
6774 * io/sys/stat.h: fchmod was always in POSIX.
6775 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6776 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6777 * rt/aio.h: Define __need_timespec before including <time.h>.
6778 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6779 struct. Add forward declaration of pthread_attr_t and use it in
6780 sigevent.
6781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6783 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6784 always remove CLK_TCK definition.
6785
c20105c3
AS
67862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6787
6788 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6789
7a270350
UD
67902012-02-25 Ulrich Drepper <drepper@gmail.com>
6791
31341567
UD
6792 * conform/run-conformtest.sh: New file.
6793 * conform/Makefile: Run run-conformtest for tests.
6794 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6795 support.
6796
6797 * conform/data/uchar.h-data: New file.
6798 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6799 * conform/data/arpa/inet.h-data: Likewise.
6800 * conform/data/assert.h-data: Likewise.
6801 * conform/data/complex.h-data: Likewise.
6802 * conform/data/cpio.h-data: Likewise.
6803 * conform/data/ctype.h-data: Likewise.
6804 * conform/data/dirent.h-data: Likewise.
6805 * conform/data/dlfcn.h-data: Likewise.
6806 * conform/data/errno.h-data: Likewise.
6807 * conform/data/fcntl.h-data: Likewise.
6808 * conform/data/float.h-data: Likewise.
6809 * conform/data/fmtmsg.h-data: Likewise.
6810 * conform/data/fnmatch.h-data: Likewise.
6811 * conform/data/ftw.h-data: Likewise.
6812 * conform/data/glob.h-data: Likewise.
6813 * conform/data/grp.h-data: Likewise.
6814 * conform/data/iconv.h-data: Likewise.
6815 * conform/data/inttypes.h-data: Likewise.
6816 * conform/data/langinfo.h-data: Likewise.
6817 * conform/data/libgen.h-data: Likewise.
6818 * conform/data/limits.h-data: Likewise.
6819 * conform/data/locale.h-data: Likewise.
6820 * conform/data/math.h-data: Likewise.
6821 * conform/data/monetary.h-data: Likewise.
6822 * conform/data/mqueue.h-data: Likewise.
6823 * conform/data/ndbm.h-data: Likewise.
6824 * conform/data/net/if.h-data: Likewise.
6825 * conform/data/netdb.h-data: Likewise.
6826 * conform/data/netinet/in.h-data: Likewise.
6827 * conform/data/nl_types.h-data: Likewise.
6828 * conform/data/poll.h-data: Likewise.
6829 * conform/data/pthread.h-data: Likewise.
6830 * conform/data/pwd.h-data: Likewise.
6831 * conform/data/regex.h-data: Likewise.
6832 * conform/data/sched.h-data: Likewise.
6833 * conform/data/search.h-data: Likewise.
6834 * conform/data/semaphore.h-data: Likewise.
6835 * conform/data/setjmp.h-data: Likewise.
6836 * conform/data/signal.h-data: Likewise.
6837 * conform/data/spawn.h-data: Likewise.
6838 * conform/data/stdarg.h-data: Likewise.
6839 * conform/data/stdio.h-data: Likewise.
6840 * conform/data/stdlib.h-data: Likewise.
6841 * conform/data/string.h-data: Likewise.
6842 * conform/data/strings.h-data: Likewise.
6843 * conform/data/stropts.h-data: Likewise.
6844 * conform/data/sys/ipc.h-data: Likewise.
6845 * conform/data/sys/mman.h-data: Likewise.
6846 * conform/data/sys/msg.h-data: Likewise.
6847 * conform/data/sys/resource.h-data: Likewise.
6848 * conform/data/sys/select.h-data: Likewise.
6849 * conform/data/sys/sem.h-data: Likewise.
6850 * conform/data/sys/shm.h-data: Likewise.
6851 * conform/data/sys/socket.h-data: Likewise.
6852 * conform/data/sys/stat.h-data: Likewise.
6853 * conform/data/sys/statvfs.h-data: Likewise.
6854 * conform/data/sys/time.h-data: Likewise.
6855 * conform/data/sys/timeb.h-data: Likewise.
6856 * conform/data/sys/times.h-data: Likewise.
6857 * conform/data/sys/types.h-data: Likewise.
6858 * conform/data/sys/uio.h-data: Likewise.
6859 * conform/data/sys/un.h-data: Likewise.
6860 * conform/data/sys/utsname.h-data: Likewise.
6861 * conform/data/sys/wait.h-data: Likewise.
6862 * conform/data/syslog.h-data: Likewise.
6863 * conform/data/tar.h-data: Likewise.
6864 * conform/data/termios.h-data: Likewise.
6865 * conform/data/utime.h-data: Likewise.
6866 * conform/data/utmpx.h-data: Likewise.
6867 * conform/data/varargs.h-data: Likewise.
6868 * conform/data/wchar.h-data: Likewise.
6869 * conform/data/wctype.h-data: Likewise.
6870 * conform/data/wordexp.h-data: Likewise.
6871
6872 * include/stropts.h: New file.
6873 * include/uchar.h: New file.
6874 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6875 * include/assert.h: Likewise.
6876 * include/ctype.h: Likewise.
6877 * include/dirent.h: Likewise.
6878 * include/dlfcn.h: Likewise.
6879 * include/fcntl.h: Likewise.
6880 * include/fnmatch.h: Likewise.
6881 * include/glob.h: Likewise.
6882 * include/grp.h: Likewise.
6883 * include/libio.h: Likewise.
6884 * include/locale.h: Likewise.
6885 * include/math.h: Likewise.
6886 * include/net/if.h: Likewise.
6887 * include/netdb.h: Likewise.
6888 * include/netinet/in.h: Likewise.
6889 * include/pthread.h: Likewise.
6890 * include/pwd.h: Likewise.
6891 * include/regex.h: Likewise.
6892 * include/sched.h: Likewise.
6893 * include/search.h: Likewise.
6894 * include/setjmp.h: Likewise.
6895 * include/signal.h: Likewise.
6896 * include/stdio.h: Likewise.
6897 * include/stdlib.h: Likewise.
6898 * include/string.h: Likewise.
6899 * include/sys/cdefs.h: Likewise.
6900 * include/sys/mman.h: Likewise.
6901 * include/sys/msg.h: Likewise.
6902 * include/sys/resource.h: Likewise.
6903 * include/sys/select.h: Likewise.
6904 * include/sys/socket.h: Likewise.
6905 * include/sys/stat.h: Likewise.
6906 * include/sys/statvfs.h: Likewise.
6907 * include/sys/time.h: Likewise.
6908 * include/sys/times.h: Likewise.
6909 * include/sys/uio.h: Likewise.
6910 * include/sys/utsname.h: Likewise.
6911 * include/sys/wait.h: Likewise.
6912 * include/termios.h: Likewise.
6913 * include/time.h: Likewise.
6914 * include/ulimit.h: Likewise.
6915 * include/unistd.h: Likewise.
6916 * include/utime.h: Likewise.
6917 * include/wchar.h: Likewise.
6918 * include/wctype.h: Likewise.
6919 * include/wordexp.h: Likewise.
6920
6921 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6922
7a270350
UD
6923 * time/time.h: TIME_UTC must be a macro.
6924 Make timespec_get available for ISO C11 only as well.
6925
7724defc
UD
69262012-02-24 Ulrich Drepper <drepper@gmail.com>
6927
6928 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6929 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6930
6b1d1d46
JM
69312012-02-24 Joseph Myers <joseph@codesourcery.com>
6932
6933 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6934
0f8bbd69
JM
69352012-02-24 Joseph Myers <joseph@codesourcery.com>
6936
6937 * manual/texinfo.tex: Update to version 2012-01-19.16.
6938
66ab80bc
JM
69392012-02-24 Joseph Myers <joseph@codesourcery.com>
6940
6941 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6942
74981cc5
RM
69432012-02-24 Roland McGrath <roland@hack.frob.com>
6944
ee968201
RM
6945 [BZ #13738]
6946 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6947 * manual/fdl-1.3.texi: New file.
6948 * manual/fdl-1.1.texi: File removed.
6949
74981cc5
RM
6950 [BZ #13738]
6951 * manual/libc.texinfo (FDL_VERSION): New @set.
6952 Use it for mention of FDL in cover text.
6953 (Documentation License): Use it in @include file name.
6954
7bb764bc
JM
69552012-02-22 Joseph Myers <joseph@codesourcery.com>
6956 Roland McGrath <roland@hack.frob.com>
6957
6958 [BZ #5461]
6959 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6960 not LONG_LONG_MAX and LONG_LONG_MIN.
6961 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6962 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6963 name.
6964 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6965
6cbeae47
JM
69662012-02-22 Joseph Myers <joseph@codesourcery.com>
6967
6968 [BZ #2547]
6969 [BZ #11365]
6970 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6971 manipulate bits before adding and subtracting TWO23[sx].
6972 * math/libm-test.inc (nearbyint_test): Add more tests.
6973
fe45ce09
JM
69742012-02-22 Joseph Myers <joseph@codesourcery.com>
6975
6976 [BZ #2548]
6977 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6978 bits before adding and subtracting TWO23[sx].
6979 * math/libm-test.inc (rint_test): Add more tests.
6980 (rint_test_tonearest): Likewise.
6981 (rint_test_towardzero): Likewise.
6982 (rint_test_downward): Likewise.
6983 (rint_test_upward: Likewise.
6984
ff3b3d82
JM
69852012-02-22 Joseph Myers <joseph@codesourcery.com>
6986
6987 [BZ #10110]
6988 * include/stdc-predef.h: New file. Extracted from features.h.
6989 * include/features.h: Include stdc-predef.h.
6990 * Makefile (headers): Add stdc-predef.h.
6991 * CONFORMANCE (Compiler limitations): Update.
6992
ef0aab35
JM
69932012-02-22 Joseph Myers <joseph@codesourcery.com>
6994
6995 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6996
58639409
DM
69972012-02-21 David S. Miller <davem@davemloft.net>
6998
6999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7001
c0e70b25
DM
70022012-02-20 David S. Miller <davem@davemloft.net>
7003
7004 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7005 using a normal save/restore sequence, rather than allocating a
7006 dummy stack frame just to store a frame pointer and restore.
7007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7008
fb06851d
JM
70092012-02-21 Joseph Myers <joseph@codesourcery.com>
7010
7011 * manual/install.texi: Fix stray word in line-wrapped comment.
7012
7a8b71c3
DM
70132012-02-20 David S. Miller <davem@davemloft.net>
7014
d510c123
DM
7015 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7016 both binutils and gcc support GOTDATA.
7017
0722d7c2
DM
7018 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7019 "rd %pc" in the PIC register setup sequences.
7020
3d2b3019
DM
7021 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7022 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7023 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7024 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7025 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7027 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7030 (SYSCALL_ERROR_HANDLER): Likewise.
7031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7032 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7034 (SYSCALL_ERROR_HANDLER): Likewise.
7035
c80098a9
DM
7036 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7037 (HAVE_GCC_GOTDATA): New.
7038 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7039 relocation support in both binutils and gcc.
7040 * sysdeps/sparc/elf/configure: Regenerate.
7041
3a2545a0
DM
7042 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7043 * sysdeps/sparc/sparc32/elf/configure: Delete.
7044 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7045 * sysdeps/sparc/sparc64/elf/configure: Delete.
7046 * sysdeps/sparc/elf/configure.in: New file.
7047 * sysdeps/sparc/elf/configure: Generate.
7048
7a8b71c3
DM
7049 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7050 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7051 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7052 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7053 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7054
f1e86fca
JM
70552012-02-21 Joseph Myers <joseph@codesourcery.com>
7056
7057 * manual/install.texi: Do not mention specific glibc version
7058 numbers.
7059 * manual/libc.texinfo (VERSION, UPDATED): Update.
7060 (@copying): Use @copyright{} and range of years.
7061
0e7dfaef
JM
70622012-02-21 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #13695]
7065 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7066 [crti.S not in sysdirs] (generated): Do not append.
7067 [crti.S not in sysdirs] (omit-deps): Likewise.
7068 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7069 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7070 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7071 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7072 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7073 Likewise.
7074 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7075 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7076 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7077 * csu/defs.awk: Remove file.
7078 * sysdeps/generic/initfini.c: Likewise.
7079 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7080 variable.
7081 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7082 Likewise.
7083
599af3ca
JM
70842012-02-20 Joseph Myers <joseph@codesourcery.com>
7085
7086 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7087 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7088 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7090 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7091 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7092 <bits/epoll.h>.
7093 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7094 (__EPOLL_PACKED): Define to empty if not defined by
7095 <bits/epoll.h>.
7096 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7098 bits/epoll.h.
7099
0e499750
JM
71002012-02-20 Joseph Myers <joseph@codesourcery.com>
7101
7102 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7103 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7104 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7105 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7106 <bits/timerfd.h>.
7107 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7109 bits/timerfd.h.
7110
5ad91f6e
JM
71112012-02-20 Joseph Myers <joseph@codesourcery.com>
7112
7113 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7114 in C locale.
7115 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7116 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7119
06b99b02
AJ
71202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7121
7122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7124
7638c0fd
AS
71252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7126
7127 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7128 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7129 defined.
7130 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7131 Likewise.
7132 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7133 entry for 2.16.
7134
92221550
AJ
71352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7136
7137 * math/w_acos.c: Use non-signaling floating-point comparisons.
7138 * math/w_acosf.c: Likewise.
7139 * math/w_acosh.c: Likewise.
7140 * math/w_acoshf.c: Likewise.
7141 * math/w_acoshl.c: Likewise.
7142 * math/w_acosl.c: Likewise.
7143 * math/w_asin.c: Likewise.
7144 * math/w_asinf.c: Likewise.
7145 * math/w_asinl.c: Likewise.
7146 * math/w_atanh.c: Likewise.
7147 * math/w_atanhf.c: Likewise.
7148 * math/w_atanhl.c: Likewise.
7149 * math/w_exp2.c: Likewise.
7150 * math/w_exp2f.c: Likewise.
7151 * math/w_exp2l.c: Likewise.
7152 * math/w_j0.c: Likewise.
7153 * math/w_j0f.c: Likewise.
7154 * math/w_j0l.c: Likewise.
7155 * math/w_j1.c: Likewise.
7156 * math/w_j1f.c: Likewise.
7157 * math/w_j1l.c: Likewise.
7158 * math/w_jn.c: Likewise.
7159 * math/w_jnf.c: Likewise.
7160 * math/w_log.c: Likewise.
7161 * math/w_log10.c: Likewise.
7162 * math/w_log10f.c: Likewise.
7163 * math/w_log10l.c: Likewise.
7164 * math/w_log2.c: Likewise.
7165 * math/w_log2f.c: Likewise.
7166 * math/w_log2l.c: Likewise.
7167 * math/w_logf.c: Likewise.
7168 * math/w_logl.c: Likewise.
7169 * math/w_sqrt.c: Likewise.
7170 * math/w_sqrtf.c: Likewise.
7171 * math/w_sqrtl.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7175 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7176 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7177
ebaf36eb
JM
71782012-02-19 Joseph Myers <joseph@codesourcery.com>
7179
7180 [BZ #9739]
7181 * manual/string.texi (strnlen): Use correct parameter name in
7182 equivalent expression.
7183
71c254a6
JM
71842012-02-19 Joseph Myers <joseph@codesourcery.com>
7185
7186 [BZ #11174]
7187 * manual/users.texi (seteuid): Consistently use neweuid for
7188 argument name.
7189
16d2c631
JM
71902012-02-19 Joseph Myers <joseph@codesourcery.com>
7191
7192 [BZ #13704]
7193 * manual/nss.texi (Services in the NSS configuration): Correct
7194 list of services in example configuration file.
7195
cd837b09
NB
71962012-02-19 Nick Bowler <nbowler@draconx.ca>
7197
7198 [BZ #11322]
7199 * manual/arith.texi: Remove statements about negative zero
7200 behaving identically to zero.
7201
02c4bbad
JM
72022012-02-18 Joseph Myers <joseph@codesourcery.com>
7203
7204 [BZ #5993]
7205 * manual/install.texi: Do not document upgrading from libc5.
7206
366842e7
JM
72072012-02-18 Joseph Myers <joseph@codesourcery.com>
7208
7209 [BZ #4596]
7210 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7211
dd54084d
DM
72122012-02-18 David S. Miller <davem@davemloft.net>
7213
7214 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7215 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7216 %o7 across the call.
7217 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7218 instead.
7219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7220 SETUP_PIC_REG_LEAF.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7222 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7223 * sysdeps/sparc/crtn.S: Likewise.
7224
2bcc53a3
UD
72252012-02-17 Ulrich Drepper <drepper@gmail.com>
7226
7227 * aout/Makefile: Remove.
7228
09c093b5
RK
72292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7230
7231 [BZ #13058]
7232 * manual/examples/argp-ex1.c (main): Format definition in GNU
7233 style.
7234 * manual/examples/argp-ex2.c (main): Likewise.
7235 * manual/examples/argp-ex3.c (main): Likewise.
7236 * manual/examples/argp-ex4.c (main): Likewise.
7237 * manual/examples/longopt.c (main): Use new-style prototype
7238 definition.
7239 * manual/examples/strncat.c (main): Specify return type and use
7240 (void) for arguments.
7241 * manual/examples/subopt.c (main): Use char **argv argument.
7242
2ee633a2
JM
72432012-02-17 Joseph Myers <joseph@codesourcery.com>
7244
7245 [BZ #5077]
7246 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7247 rounding modes.
7248
0520adde
FB
72492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7250
7251 [BZ #6907]
7252 * manual/string.texi (strchr): Change when strchrnul is
7253 recommended.
7254
3f4081cd
DGM
72552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7256
7257 [BZ #174]
7258 * manual/locale.texi (setlocale): Document LOCPATH.
7259
d1b10e78
JM
72602012-02-17 Joseph Myers <joseph@codesourcery.com>
7261
7262 [BZ #10210]
7263 * manual/process.texi (execle): Move @dots{} before last argument.
7264
79c6869c
PB
72652012-02-17 Paul Bolle <pebolle@tiscali.nl>
7266
7267 [BZ #12047]
7268 * manual/charset.texi (Generic Charset Conversion): Fix typo
7269 (LC_TYPE -> LC_CTYPE).
7270
cc6e48bc
NB
72712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7272
7273 [BZ #5805]
7274 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7275 (scalbnf): Likewise.
7276 (scalbnl): Likewise.
7277 (scalbln): Likewise.
7278 (scalblnf): Likewise.
7279 (scalblnl): Likewise.
7280 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7281 (vwarnx): Likewise.
7282 (verr): Likewise.
7283 (verrx): Likewise.
7284 * manual/filesys.texi (telldir): Use braces around return type.
7285 * manual/llio.texi (mmap): Add space after comma.
7286 (mmap64): Likewise.
7287 * manual/math.texi (jn): Use @var{} on parameter names.
7288 (jnf): Likewise.
7289 (jnl): Likewise.
7290 (yn): Likewise.
7291 (ynf): Likewise.
7292 (ynl): Likewise.
7293 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7294 line.
7295 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7296 "...".
7297 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7298 (sched_get_priority_max): Likewise.
7299 * manual/signal.texi (sigvec): Add space after comma.
7300 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7301 names.
7302 (if_indextoname): Likewise.
7303 (if_freenameindex): Likewise.
7304 (sendto): Use ',' instead of '.' in prototype.
7305 * manual/startup.texi (syscall): Use @dots{} instead of literal
7306 "...".
7307 * manual/stdio.texi (__fpending): Separate initial words of
7308 paragraph from @deftypefun line.
7309 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7310 "...".
7311 (vsyslog): Use @var{} on parameter names.
7312 * manual/terminal.texi (stty): Use @var{} on parameter names.
7313 * manual/users.texi (getutmp): Use @var{} on parameter names.
7314 (getutmpx): Likewise.
7315
5b23062f
JM
73162012-02-17 Joseph Myers <joseph@codesourcery.com>
7317
7318 [BZ #6884]
7319 * manual/stdio.texi (fopen): Fix typos in description of
7320 ",ccs=STRING".
7321
8dee4833
AJ
73222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7323
7324 [BZ #4026]
7325 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7326 get clock_id definition.
7327
9078ce93
TS
73282012-02-17 Thomas Schwinge <thomas@schwinge.name>
7329
7330 [BZ #4822]
7331 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7332 (madvise): Cast every argument to void on its own.
7333
3835c55f
JM
73342012-02-17 Joseph Myers <joseph@codesourcery.com>
7335
7336 [BZ #9902]
7337 * manual/startup.texi (Exit Status): Fix typo.
7338
35c47e37
JM
73392012-02-17 Joseph Myers <joseph@codesourcery.com>
7340
7341 [BZ #10140]
7342 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7343 * manual/examples/argp-ex2.c: Likewise.
7344 * manual/examples/argp-ex3.c: Likewise.
7345
e3b69ca7
RH
73462012-02-16 Richard Henderson <rth@redhat.com>
7347
7348 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7349 * sysdeps/s390/s390-32/initfini.c: Remove.
7350 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7351 * sysdeps/s390/s390-64/initfini.c: Remove.
7352
df83af67
KK
73532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7354
7355 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7356 compiler output for sysdeps/generic/initfini.c.
7357 * sysdeps/sh/elf/initfini.c: Remove file.
7358
f63f3380
DM
73592012-02-16 David S. Miller <davem@davemloft.net>
7360
fb59b3a4
DM
7361 [BZ #11494]
7362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7363
f63f3380
DM
7364 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7365 * sysdeps/sparc/crti.S: New file.
7366 * sysdeps/sparc/crtn.S: New file.
7367 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7368 * sysdeps/sparc/sparc64/Makefile: Likewise.
7369
df6a4a4a
MF
73702012-02-15 Mike Frysinger <vapier@gentoo.org>
7371
6dd8f3dc 7372 [BZ #3335]
df6a4a4a
MF
7373 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7374
1cac7236
RM
73752012-02-15 Roland McGrath <roland@hack.frob.com>
7376
d2c736f8
RM
7377 [BZ #4822]
7378 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7379
1cac7236
RM
7380 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7381 (write, read, close): Likewise.
7382 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7383
8e475601
JM
73842012-02-15 Joseph Myers <joseph@codesourcery.com>
7385
7386 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7387 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7388 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7389 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7390 <bits/signalfd.h>.
7391 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7393 bits/signalfd.h.
7394
ed656b40
MP
73952012-02-14 Marek Polacek <polacek@redhat.com>
7396
7397 * sysdeps/x86_64/crti.S: New file.
7398 * sysdeps/x86_64/crtn.S: New file.
7399 * sysdeps/x86_64/elf/initfini.c: Remove file.
7400
2a979d3a
JM
74012012-02-13 Joseph Myers <joseph@codesourcery.com>
7402
7403 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7404 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7405 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7406 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7407 <bits/inotify.h>.
7408 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7410 bits/inotify.h.
7411
2a418ac3
JM
74122012-02-13 Joseph Myers <joseph@codesourcery.com>
7413
7414 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7415 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7416 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7417 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7418 <bits/eventfd.h>.
7419 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7421 bits/eventfd.h.
7422
fb779be7
TS
74232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7424
e19e83c5
RM
7425 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7426 __feraiseexcept instead of feraiseexcept.
7c35ffed 7427
fb779be7
TS
7428 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7429 nanosleep invocations.
7430 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7431 strings, and add error checking for a nanosleep invocations.
7432
59ba27a6
PE
74332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7434
7435 Replace FSF snail mail address with URLs, as per GNU coding standards.
7436 Most of the snail mail addresses were wrong anyway, and omitting
7437 them makes the source code easier to maintain. Almost all of the
7438 changes are to license notices and to locale LC_IDENTIFICATION
7439 addresses, except for this one:
7440 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7441 not its snail mail address.
7442
57b957eb
RH
74432012-02-09 Richard Henderson <rth@twiddle.net>
7444
af850b1c
RH
7445 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7446 of kernel-features.h.
7447
57b957eb
RH
7448 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7449
6b73181a
MP
74502012-02-08 Marek Polacek <polacek@redhat.com>
7451
7452 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7453 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7454 * sysdeps/gnu/_G_config.h: Likewise.
7455 * sysdeps/generic/_G_config.h: Likewise.
7456
26ecc33a
AS
74572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7458
6c6dbc63
AS
7459 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7460 tests.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7462
e216c012
AS
7463 * sysdeps/powerpc/powerpc32/crti.S: New file.
7464 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7465 * sysdeps/powerpc/powerpc64/crti.S: New file.
7466 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7467
26ecc33a
AS
7468 * Makeconfig (have-initfini): Don't set.
7469 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7470 * configure.in (nopic_initfini): Don't substitute.
7471 * config.h.in (HAVE_INITFINI): Don't #undef.
7472 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7473 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7474
3add8e13
JM
74752012-02-08 Joseph Myers <joseph@codesourcery.com>
7476
7477 Support crti.S and crtn.S provided directly by architectures.
7478 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7479 [crti.S in sysdirs] (omit-deps): Likewise.
7480 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7481 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7482 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7483 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7484 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7485 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7486 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7487 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7488 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7489 compiler output for sysdeps/generic/initfini.c.
7490 * sysdeps/i386/elf/Makefile: Remove file.
7491 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7492
a22f12b4
MP
74932012-02-07 Marek Polacek <polacek@redhat.com>
7494
7495 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7496 * sysdeps/gnu/_G_config.h: Likewise.
7497 * sysdeps/mach/hurd/_G_config.h: Likewise.
7498
148cf100
MP
74992012-02-07 Marek Polacek <polacek@redhat.com>
7500
7501 * math/Makefile (tests): Add tst-CMPLX2.
7502 * math/tst-CMPLX2.c: New file.
7503
cfdc0dd7
AS
75042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7505
84ba42c4
AS
7506 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7507
cfdc0dd7
AS
7508 * math/libm-test.inc (jn_test): Add missing L suffix.
7509
622c86f4
MP
75102012-02-06 Marek Polacek <polacek@redhat.com>
7511
7512 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7513 * sysdeps/i386/fpu/e_powf.S: Likewise.
7514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7515 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7516 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7517 * sysdeps/i386/fpu/e_pow.S: Likewise.
7518 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7519 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7520 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7521 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7522 * sysdeps/i386/fpu/e_log2.S: Likewise.
7523 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7524 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7525 * sysdeps/i386/fpu/e_powl.S: Likewise.
7526 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7527 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7528 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7529 * sysdeps/i386/fpu/e_logl.S: Likewise.
7530 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7531 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7532 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7533 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7534 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7535 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7536 * sysdeps/i386/fpu/e_log.S: Likewise.
7537 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7538 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7539 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7540 * sysdeps/i386/fpu/e_logf.S: Likewise.
7541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7542 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7543 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7544 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7545 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7546 * sysdeps/i386/fpu/e_log10.S: Likewise.
7547 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7548 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7549 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7550 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7551 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7552 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7553 * sysdeps/i386/asm-syntax.h: Likewise.
7554 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7556 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7557 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7558 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7559 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7560 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7561 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7562 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7563 * sysdeps/powerpc/sysdep.h: Likewise.
7564 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7565 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7566
d4a54ac6
JM
75672012-02-06 Joseph Myers <joseph@codesourcery.com>
7568
7569 [BZ #411]
7570 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7571
314054ea
JM
75722012-02-06 Joseph Myers <joseph@codesourcery.com>
7573
7574 * sysdeps/i386/sysdep.h: Include <features.h>.
7575 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7576 version.
7577
d8e0ca50
JM
75782012-02-05 Joseph Myers <joseph@codesourcery.com>
7579
7580 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7581 Define.
7582 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7583 LOAD_PIC_REG_STR.
7584
b1da7dd9
JM
75852012-02-03 Joseph Myers <joseph@codesourcery.com>
7586
7587 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7588 (SETUP_PIC_REG): Use GET_PC_THUNK.
7589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7590 macro.
7591
9a1d9254
JM
75922012-02-03 Joseph Myers <joseph@codesourcery.com>
7593
7594 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7595 for non-PIC compilation.
7596 (SETUP_PIC_REG): Add .p2align directive.
7597 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7598 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7599 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7600 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7601 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7602 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7603 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7604 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7605 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7606 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7607 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7608 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7609 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7610 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7611 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7612 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7613 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7614 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7615 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7616 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7617 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7618 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7619 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7620 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7621 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7623 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7624 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7625 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7626 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7627 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7629 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7630 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7631 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7632 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7633 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7634 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7635 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7636 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7637 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7638
65dc3b75
JM
76392012-02-03 Joseph Myers <joseph@codesourcery.com>
7640
7641 * math/tst-CMPLX.c: Include <stdio.h>.
7642
d55bf177
JM
76432012-01-31 Joseph Myers <joseph@codesourcery.com>
7644
7645 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7646 float.
7647 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7648 * sysdeps/sparc/bits/mathdef.h: Likewise.
7649
69db4f8f
MP
76502012-01-31 Marek Polacek <polacek@redhat.com>
7651
7652 * libio/libio.h: Don't define _PARAMS.
7653 * locale/programs/config.h: Don't define PARAMS.
7654 * stdlib/strtol_l.c: Likewise.
7655 (__strtol_l): Remove PARAMS from the prototype.
7656
41b81892
UD
76572012-01-31 Ulrich Drepper <drepper@gmail.com>
7658
3b49edc0
UD
7659 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7660 names. Just use the correct names. Remove unnecessary wrapper
7661 functions.
7662 * malloc/arena.c: Likewise.
7663 * malloc/hooks.c: Likewise.
7664
41b81892
UD
7665 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7666 ARENA_TEST says not to. Simplify test for creation of a new arena.
7667 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7668
27a25b6e
UD
76692012-01-30 Ulrich Drepper <drepper@gmail.com>
7670
7671 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7672 into tail calls.
7673 (update_get_addr): New function.
7674 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7675 GET_ADDR_MODULE parameter.
7676
c8a89e7d
JM
76772012-01-30 Joseph Myers <joseph@codesourcery.com>
7678
7679 * crypt/cert.c: Remove __STDC__ conditionals.
7680 * crypt/crypt-entry.c: Likewise.
7681 * crypt/crypt_util.c: Likewise.
7682 * libio/filedoalloc.c: Likewise.
7683 * libio/fileops.c: Likewise.
7684 * libio/genops.c: Likewise.
7685 * libio/iofclose.c: Likewise.
7686 * libio/iofdopen.c: Likewise.
7687 * libio/iofopen.c: Likewise.
7688 * libio/iofopen64.c: Likewise.
7689 * libio/iogetdelim.c: Likewise.
7690 * libio/iopopen.c: Likewise.
7691 * libio/obprintf.c: Likewise.
7692 * libio/oldfileops.c: Likewise.
7693 * libio/oldiofclose.c: Likewise.
7694 * libio/oldiofdopen.c: Likewise.
7695 * libio/oldiofopen.c: Likewise.
7696 * libio/oldiopopen.c: Likewise.
7697 * libio/wfiledoalloc.c: Likewise.
7698 * libio/wgenops.c: Likewise.
7699 * locale/programs/xmalloc.c: Likewise.
7700 * misc/syslog.c: Likewise.
7701 * stdio-common/xbug.c: Likewise.
7702 * string/memchr.c: Likewise.
7703 * string/memcmp.c: Likewise.
7704 * string/memrchr.c: Likewise.
7705 * string/rawmemchr.c: Likewise.
7706 * sysdeps/posix/getcwd.c: Likewise.
7707 * time/strftime_l.c: Likewise.
7708
3b100462
JM
77092012-01-30 Joseph Myers <joseph@codesourcery.com>
7710
7711 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7712 * config.make.in (config-cflags-sse2avx): Define.
7713 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7714 Fix typo.
7715
607998af
CM
77162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7717
7718 * scripts/config.guess: Update from upstream config git repository.
7719 * scripts/config.sub: Likewise.
7720
3601428f
CM
77212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7722
3ac8b282
CM
7723 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7724 (EM_NUM): Update.
7725 (R_TILEPRO_*, R_TILEGX_*): New macros.
7726
e034841e
CM
7727 * scripts/firstversions.awk: Fix bug in version range handling.
7728
540d7568
CM
7729 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7730
3601428f
CM
7731 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7732
463de862
CM
7733 * include/sys/epoll.h: New file.
7734 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7735 libc_hidden_def.
7736
73139a76
UD
77372012-01-28 Ulrich Drepper <drepper@gmail.com>
7738
96bc5b45
UD
7739 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7740 Avoid unnecessary __WORDSIZE == 64 test.
7741 (fmaxf): Use VEX format if possible.
7742 (fmax): Likewise.
7743 (fminf): Likewise.
7744 (fmin): Likewise.
7745
56f6f6a2
UD
7746 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7747 * math/math_private.h: Remove libc_fegetround* and
7748 libc_fesetround*.
7749 * sysdeps/i386/configure.in: Check for -msse2avx.
7750 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7751 also if SSE2AVX is defined.
7752 Remove libc_fegetround* and libc_fesetround*.
7753 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7754 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7755 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7756 of HAS_YMM_USABLE.
7757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7762
73139a76
UD
7763 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7764
d73f93a4
AZ
77652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7766
7767 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7768 size is not set.
7769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7770
6ee65ed6
UD
77712012-01-27 Ulrich Drepper <drepper@gmail.com>
7772
7773 [BZ #13618]
7774 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7775 relocation.
7776 * Makeconfig (libm): Define.
7777 * elf/Makefile: Add rules to build and run tst-relsort1.
7778 * elf/tst-relsort1.c: New file.
7779 * elf/tst-relsort1mod1.c: New file.
7780 * elf/tst-relsort1mod2.c: New file.
7781
8db21882
JM
77822012-01-27 Joseph Myers <joseph@codesourcery.com>
7783
7784 * math/s_ldexp.c: Remove __STDC__ conditionals.
7785 * math/s_ldexpf.c: Likewise.
7786 * math/s_ldexpl.c: Likewise.
7787 * math/s_nextafter.c: Likewise.
7788 * math/s_nexttowardf.c: Likewise.
7789 * math/s_significand.c: Likewise.
7790 * math/s_significandf.c: Likewise.
7791 * math/s_significandl.c: Likewise.
7792 * math/w_jnl.c: Likewise.
7793 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7794 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7795 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7796 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7797 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7802 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7806 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7807 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7808 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7812 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7813 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7815 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7816 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7817 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7818 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7819 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7820 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7821 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7822 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7825 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7826 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7827 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7828 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7829 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7830 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7831 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7832 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7833 * sysdeps/ieee754/k_standard.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7895 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7913 * sysdeps/ieee754/s_matherr.c: Likewise.
7914 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7915 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7916 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7918
965a54a4
JM
79192012-01-26 Joseph Myers <joseph@codesourcery.com>
7920
7921 * crypt/md5.h: Remove __STDC__ conditionals.
7922 * libio/libioP.h: Likewise.
7923 * locale/programs/config.h: Likewise.
7924 * sysdeps/generic/sysdep.h: Likewise.
7925 * sysdeps/i386/asm-syntax.h: Likewise.
7926 * sysdeps/s390/asm-syntax.h: Likewise.
7927 * sysdeps/unix/sysdep.h: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7930
7071ad79
JM
79312012-01-26 Joseph Myers <joseph@codesourcery.com>
7932
7933 * libio/libio.h: Remove __STDC__ conditionals.
7934 * malloc/obstack.h: Likewise.
7935 * math/complex.h: Likewise.
7936 * math/math.h: Likewise.
7937 * sysdeps/generic/_G_config.h: Likewise.
7938 * sysdeps/gnu/_G_config.h: Likewise.
7939 * sysdeps/mach/hurd/_G_config.h: Likewise.
7940 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7941 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7942 * sysdeps/sparc/bits/mathdef.h: Likewise.
7943
afc5ed09
UD
79442012-01-26 Ulrich Drepper <drepper@gmail.com>
7945
7946 [BZ #13583]
7947 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7948 Clean up HAS_* macros.
afc5ed09 7949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7950 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7951 possible.
7952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7953 HAS_AVX.
7954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7955 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7957 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7959
bdb6de1d
JM
79602012-01-25 Joseph Myers <joseph@codesourcery.com>
7961
7962 * elf/tst-unique3.cc (gets): Remove declaration.
7963 * elf/tst-unique3lib.cc (gets): Likewise.
7964 * elf/tst-unique3lib2.cc (gets): Likewise.
7965 * elf/tst-unique4.cc (gets): Likewise.
7966
b15549e6
UD
79672012-01-24 Ulrich Drepper <drepper@gmail.com>
7968
7969 * include/stdio.h: Add C++ protection. Add gets declarations and
7970 definitions.
7971 * debug/tst-chk1.c: Don't declare gets here.
7972 * stdio-common/tst-gets.c: Likewise.
7973
a037381f
JM
79742012-01-24 Joseph Myers <joseph@codesourcery.com>
7975
7976 * posix/glob: Remove directory.
7977
f1d4aa75
JM
79782012-01-24 Joseph Myers <joseph@codesourcery.com>
7979
7980 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7981
81c0c964
PT
79822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7983
7984 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7985 of the non-standard EPFNOSUPPORT.
7986
0ea698ae
ST
79872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7988
7989 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7990 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7991 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7992
d220b117
UD
79932012-01-21 Ulrich Drepper <drepper@gmail.com>
7994
7995 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7996
3e1aa84e
UD
79972012-01-20 Ulrich Drepper <drepper@gmail.com>
7998
7999 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8000 transient errors.
8001 * nscd/grpcache.c (cache_addgr): Likewise.
8002 * nscd/hstcache.c (cache_addhst): Likewise.
8003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8004 * nscd/pwdcache.c (cache_addpw): Likewise.
8005 * nscd/servicescache.c (cache_addserv): Likewise.
8006
400aa020
UD
80072012-01-16 Ulrich Drepper <drepper@gmail.com>
8008
d77e7869
UD
8009 * malloc/malloc.c: Various cleanups.
8010 * malloc/hooks.c: Likewise.
8011
400aa020
UD
8012 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8013 * stdlib/bug-fmtmsg1.c: New file.
8014
8015 * stdlib/fmtmsg.c (init): Add missing unlock.
8016 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8017
e0a309cf
MP
80182012-01-12 Marek Polacek <polacek@redhat.com>
8019
8020 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8021 and _GNU_SOURCE.
8022
929d11c7
WS
80232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8024
8025 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8026 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8027 macro to ensure uniqueness of label name.
8028 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8029 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8030
41d0e869
UD
80312012-01-11 Ulrich Drepper <drepper@gmail.com>
8032
0cc5ed3b
UD
8033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8034
41d0e869
UD
8035 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8036 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8039
a47a831a
UD
80402012-01-10 Ulrich Drepper <drepper@gmail.com>
8041
daa891c0
UD
8042 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8043
8044 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8045 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8046 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8047
e58ef0f2
UD
8048 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8049
a47a831a 8050 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8051 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8052 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8054
8055 * math/bits/math-finite.h: Add ldexp support.
8056
a0bfc9c7
MP
80572012-01-10 Marek Polacek <polacek@redhat.com>
8058
8059 * locale/programs/localedef.h (show_archive_content): Add noreturn
8060 attribute.
8061
d6e97a1d
UD
80622012-01-09 Ulrich Drepper <drepper@gmail.com>
8063
8064 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8065
d5835c26
UD
80662012-01-08 Ulrich Drepper <drepper@gmail.com>
8067
e5f484c6
UD
8068 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8069
d5835c26
UD
8070 * io/Makefile (headers): Add bits/poll2.h.
8071
d1f741e9
WS
80722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8073
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8075 typo #include statement.
8076
ec09c1c4
UD
80772012-01-08 Ulrich Drepper <drepper@gmail.com>
8078
8079 * include/sys/cdefs.h: Define __attribute_alloc_size.
8080 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8081 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8082 * elf/pldd.c: Likewise.
8083 * iconv/iconv_charmap.c: Likewise.
8084 * iconv/iconvconfig.c: Likewise.
8085 * iconv/strtab.c: Likewise.
8086 * locale/programs/locale.c: Likewise.
8087 * locale/programs/localedef.h: Likewise.
8088 * locale/programs/simple-hash.c: Likewise.
8089 * nscd/nscd.h: Likewise.
8090 * nss/makedb.c: Likewise.
8091 * sysdeps/generic/ldconfig.h: Likewise.
8092 * locale/programs/localedef.c: Remove xmalloc prototype.
8093 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8094
20b38e03
PP
80952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8096
8097 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8098 appropriate.
8099
a0da5fe1
UD
81002012-01-08 Ulrich Drepper <drepper@gmail.com>
8101
1d5a644a 8102 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8103 * math/tst-CMPLX.c: New file.
1d5a644a 8104
8784a6db
UD
8105 * math/complex.h (CMPLXL): Fix typo.
8106
d9a216c0
UD
8107 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8108 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8109 GLIBC_2.16.
8110 * debug/tst-chk1.c: Add poll and ppoll tests.
8111 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8112 * include/sys/poll.h: Add hidden proto for ppoll.
8113 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8114 * sysdeps/mach/hurd/ppoll.c: Likewise.
8115 * io/ppoll.c: Likewise.
8116 * debug/poll_chk.c: New file.
8117 * debug/ppoll_chk.c: New file.
8118 * include/bits/poll2.h: New file.
8119 * io/bits/poll2.h: New file.
8120
ac097f5c
UD
8121 [BZ #1350]
8122 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8123
2119dcfa
UD
8124 * configure.in: static is always set to yes. Remove.
8125 * config.make.in: Don't set build-static.
8126 * Makeconfig: Remove use of build-static.
8127 * dlfcn/Makefile: Likewise.
8128 * elf/Makefile: Likewise.
8129 * math/Makefile: Likewise.
8130 * misc/Makefile: Likewise.
8131 * nptl/Makefile: Likewise.
8132 * sysdeps/mach/hurd/Makefile: Likewise.
8133
121766a9
UD
8134 * configure.in: PWD_P is not used anymore.
8135 * config.make.in: Remove PWD_P entry.
8136
51a1d39c 8137 * configure.in: Remove last remnants of RANLIB.
8720d066 8138 No need to check for signed size_t anymore.
215f4bdc
UD
8139 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8140 and IA-64.
3857022a 8141 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8142 * aclocal.m4: Likewise.
8143
d3ed7225
UD
8144 * wcsmbs/mbrtoc16.c: Implement using towc function.
8145 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8146 * wcsmbs/wcsmbsload.c: Likewise.
8147 * iconv/gconv_simple.c: Likewise.
8148 * iconv/gconv_int.h: Likewise.
8149 * iconv/gconv_builtin.h: Likewise.
8150 * iconv/iconv_prog.c: Remove CHAR16 handling.
8151
8152 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8153
8154 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8155
a0da5fe1
UD
8156 * configure.in: Remove --with-elf and --enable-bounded options.
8157 Dont set base_machine for ia64. More non-ELF conditions removed.
8158 Remove testing and setting of leading underscore information.
8159 * config.make.in (build-bounded): Set to no.
8160 * config.h.in: Remove NO_UNDERSCORES entry.
8161 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8162 them.
8163 * csu/start.c: Remove !NO_UNDERSCORE code.
8164 * locale/localeinfo.h: Likewise.
8165 * sysdeps/generic/machine-gmon.h: Likewise.
8166 * sysdeps/generic/sysdep.h: Likewise.
8167 * sysdeps/i386/sysdep.h: Likewise.
8168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8169 * sysdeps/mach/sysdep.h: Likewise.
8170 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8172 * sysdeps/sh/sysdep.h: Likewise.
8173 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8174 * sysdeps/unix/i386/sysdep.S: Likewise.
8175 * sysdeps/unix/sparc/start.c: Likewise.
8176 * sysdeps/unix/sparc/sysdep.S: Likewise.
8177 * sysdeps/unix/sparc/sysdep.h: Likewise.
8178 * sysdeps/unix/start.c: Likewise.
8179 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8180 * sysdeps/x86_64/sysdep.h: Likewise.
8181
df78418a
UD
81822012-01-07 Ulrich Drepper <drepper@gmail.com>
8183
a784e502
UD
8184 [BZ #13553]
8185 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8186 for non-gcc.
8187 * argp/argp-fmtstream.h: Use const instead __const.
8188 * argp/argp.h: Likewise.
8189 * assert/assert.h: Likewise.
8190 * bits/fenv.h: Likewise.
8191 * bits/sched.h: Likewise.
8192 * bits/sigset.h: Likewise.
8193 * bits/sigthread.h: Likewise.
8194 * catgets/nl_types.h: Likewise.
8195 * conform/data/pthread.h-data: Likewise.
8196 * crypt/crypt-private.h: Likewise.
8197 * crypt/crypt.h: Likewise.
8198 * crypt/crypt_util.c: Likewise.
8199 * ctype/ctype.h: Likewise.
8200 * debug/execinfo.h: Likewise.
8201 * debug/mbsnrtowcs_chk.c: Likewise.
8202 * debug/mbsrtowcs_chk.c: Likewise.
8203 * debug/wcsnrtombs_chk.c: Likewise.
8204 * debug/wcsrtombs_chk.c: Likewise.
8205 * debug/wcstombs_chk.c: Likewise.
8206 * dirent/dirent.h: Likewise.
8207 * dlfcn/dlfcn.h: Likewise.
8208 * elf/neededtest4.c: Likewise.
8209 * grp/grp.h: Likewise.
8210 * gshadow/gshadow.h: Likewise.
8211 * iconv/gconv.h: Likewise.
8212 * iconv/gconv_int.h: Likewise.
8213 * iconv/gconv_simple.c: Likewise.
8214 * iconv/iconv.h: Likewise.
8215 * iconv/loop.c: Likewise.
8216 * iconv/skeleton.c: Likewise.
8217 * include/aio.h: Likewise.
8218 * include/aliases.h: Likewise.
8219 * include/argz.h: Likewise.
8220 * include/arpa/inet.h: Likewise.
8221 * include/assert.h: Likewise.
8222 * include/dirent.h: Likewise.
8223 * include/dlfcn.h: Likewise.
8224 * include/execinfo.h: Likewise.
8225 * include/fcntl.h: Likewise.
8226 * include/fenv.h: Likewise.
8227 * include/glob.h: Likewise.
8228 * include/grp.h: Likewise.
8229 * include/libintl.h: Likewise.
8230 * include/mntent.h: Likewise.
8231 * include/netdb.h: Likewise.
8232 * include/pwd.h: Likewise.
8233 * include/rpc/netdb.h: Likewise.
8234 * include/sched.h: Likewise.
8235 * include/search.h: Likewise.
8236 * include/shadow.h: Likewise.
8237 * include/signal.h: Likewise.
8238 * include/stdio.h: Likewise.
8239 * include/stdlib.h: Likewise.
8240 * include/string.h: Likewise.
8241 * include/sys/socket.h: Likewise.
8242 * include/sys/stat.h: Likewise.
8243 * include/sys/statfs.h: Likewise.
8244 * include/sys/statvfs.h: Likewise.
8245 * include/sys/syslog.h: Likewise.
8246 * include/sys/time.h: Likewise.
8247 * include/sys/uio.h: Likewise.
8248 * include/time.h: Likewise.
8249 * include/unistd.h: Likewise.
8250 * include/utmp.h: Likewise.
8251 * include/wchar.h: Likewise.
8252 * include/wctype.h: Likewise.
8253 * inet/aliases.h: Likewise.
8254 * inet/arpa/inet.h: Likewise.
8255 * inet/netinet/ether.h: Likewise.
8256 * inet/netinet/in.h: Likewise.
8257 * intl/libintl.h: Likewise.
8258 * io/bits/fcntl2.h: Likewise.
8259 * io/fcntl.h: Likewise.
8260 * io/ftw.h: Likewise.
8261 * io/sys/poll.h: Likewise.
8262 * io/sys/stat.h: Likewise.
8263 * io/sys/statfs.h: Likewise.
8264 * io/sys/statvfs.h: Likewise.
8265 * io/utime.h: Likewise.
8266 * libio/bits/stdio.h: Likewise.
8267 * libio/bits/stdio2.h: Likewise.
8268 * libio/libio.h: Likewise.
8269 * libio/libioP.h: Likewise.
8270 * libio/stdio.h: Likewise.
8271 * locale/lc-ctype.c: Likewise.
8272 * locale/locale.h: Likewise.
8273 * login/utmp.h: Likewise.
8274 * malloc/arena.c: Likewise.
8275 * malloc/malloc.c: Likewise.
8276 * malloc/malloc.h: Likewise.
8277 * malloc/mcheck.c: Likewise.
8278 * malloc/mtrace.c: Likewise.
8279 * math/bits/mathcalls.h: Likewise.
8280 * math/fenv.h: Likewise.
8281 * math/math_private.h: Likewise.
8282 * misc/bits/error.h: Likewise.
8283 * misc/bits/syslog.h: Likewise.
8284 * misc/err.h: Likewise.
8285 * misc/error.h: Likewise.
8286 * misc/fstab.h: Likewise.
8287 * misc/mntent.h: Likewise.
8288 * misc/regexp.h: Likewise.
8289 * misc/search.h: Likewise.
8290 * misc/sgtty.h: Likewise.
8291 * misc/sys/mman.h: Likewise.
8292 * misc/sys/syslog.h: Likewise.
8293 * misc/sys/uio.h: Likewise.
8294 * misc/sys/xattr.h: Likewise.
8295 * misc/ttyent.h: Likewise.
8296 * nis/rpcsvc/ypclnt.h: Likewise.
8297 * nss/nss.h: Likewise.
8298 * posix/bits/unistd.h: Likewise.
8299 * posix/fnmatch.h: Likewise.
8300 * posix/glob.h: Likewise.
8301 * posix/sched.h: Likewise.
8302 * posix/spawn.h: Likewise.
8303 * posix/sys/wait.h: Likewise.
8304 * posix/unistd.h: Likewise.
8305 * posix/wordexp.h: Likewise.
8306 * pwd/pwd.h: Likewise.
8307 * resolv/netdb.h: Likewise.
8308 * resource/sys/resource.h: Likewise.
8309 * rt/aio.h: Likewise.
8310 * rt/bits/mqueue2.h: Likewise.
8311 * rt/mqueue.h: Likewise.
8312 * shadow/shadow.h: Likewise.
8313 * signal/signal.h: Likewise.
8314 * socket/send.c: Likewise.
8315 * socket/sendto.c: Likewise.
8316 * socket/sys/socket.h: Likewise.
8317 * stdio-common/printf.h: Likewise.
8318 * stdlib/bits/stdlib.h: Likewise.
8319 * stdlib/fmtmsg.h: Likewise.
8320 * stdlib/monetary.h: Likewise.
8321 * stdlib/stdlib.h: Likewise.
8322 * stdlib/ucontext.h: Likewise.
8323 * streams/stropts.h: Likewise.
8324 * string/argz.h: Likewise.
8325 * string/bits/string2.h: Likewise.
8326 * string/string.h: Likewise.
8327 * string/strings.h: Likewise.
8328 * sunrpc/rpc/auth.h: Likewise.
8329 * sunrpc/rpc/auth_des.h: Likewise.
8330 * sunrpc/rpc/clnt.h: Likewise.
8331 * sunrpc/rpc/netdb.h: Likewise.
8332 * sunrpc/rpc/pmap_clnt.h: Likewise.
8333 * sunrpc/rpc/xdr.h: Likewise.
8334 * sysdeps/generic/inttypes.h: Likewise.
8335 * sysdeps/generic/net/if.h: Likewise.
8336 * sysdeps/generic/sys/swap.h: Likewise.
8337 * sysdeps/gnu/net/if.h: Likewise.
8338 * sysdeps/gnu/utmpx.h: Likewise.
8339 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8340 * sysdeps/i386/i486/bits/string.h: Likewise.
8341 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8342 * sysdeps/s390/bits/string.h: Likewise.
8343 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8344 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8345 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8346 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8347 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8348 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8349 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8350 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8351 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8352 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8353 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8354 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8355 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8356 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8357 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8358 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8359 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8362 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8364 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8365 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8366 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8367 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8368 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8369 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8370 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8371 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8372 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8373 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8374 * sysvipc/sys/ipc.h: Likewise.
8375 * sysvipc/sys/msg.h: Likewise.
8376 * sysvipc/sys/sem.h: Likewise.
8377 * sysvipc/sys/shm.h: Likewise.
8378 * termios/termios.h: Likewise.
8379 * time/sys/time.h: Likewise.
8380 * time/time.h: Likewise.
8381 * wcsmbs/bits/wchar2.h: Likewise.
8382 * wcsmbs/uchar.h: Likewise.
8383 * wcsmbs/wchar.h: Likewise.
8384 * wctype/wctype.h: Likewise.
8385
0269750c
UD
8386 [BZ #13551]
8387 * Makeconfig: Remove all but ELF support including AIX support.
8388 * Makerules: Likewise.
8389 * config.h.in: Likewise.
8390 * config.make.in: Likewise.
8391 * configure: Likewise.
8392 * configure.in: Likewise.
8393 * csu/Makefile: Likewise.
8394 * csu/version.c: Likewise.
8395 * debug/Makefile: Likewise.
8396 * dlfcn/Makefile: Likewise.
8397 * elf/Makefile: Likewise.
8398 * extra-lib.mk: Likewise.
8399 * iconv/Makefile: Likewise.
8400 * include/libc-symbols.h: Likewise.
8401 * include/shlib-compat.h: Likewise.
8402 * resolv/Makefile: Likewise.
8403 * resolv/res_libc.c: Likewise.
8404 * rt/Makefile: Likewise.
8405 * sysdeps/i386/asm-syntax.h: Likewise.
8406 * sysdeps/i386/sysdep.h: Likewise.
8407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8408 * sysdeps/mach/sysdep.h: Likewise.
8409 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8410 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8411 * sysdeps/s390/asm-syntax.h: Likewise.
8412 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8413 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8414 * sysdeps/sh/sysdep.h: Likewise.
8415 * sysdeps/unix/sparc/sysdep.h: Likewise.
8416 * sysdeps/wordsize-32/divdi3.c: Likewise.
8417 * sysdeps/x86_64/sysdep.h: Likewise.
8418
00bbd29b
UD
8419 * argp/Versions: Remove _argp_unlock_xxx.
8420
8421 [BZ #13559]
8422 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8423 * abilist/libBrokenLocale.abilist: Likewise.
8424 * abilist/libanl.abilist: Likewise.
8425 * abilist/libc.abilist: Likewise.
8426 * abilist/libcrypt.abilist: Likewise.
8427 * abilist/libdl.abilist: Likewise.
8428 * abilist/libm.abilist: Likewise.
8429 * abilist/libnsl.abilist: Likewise.
8430 * abilist/libpthread.abilist: Likewise.
8431 * abilist/libresolv.abilist: Likewise.
8432 * abilist/librt.abilist: Likewise.
8433 * abilist/libthread_db.abilist: Likewise.
8434 * abilist/libutil.abilist: Likewise.
8435 * abilist/libnss_db.abilist: New file.
8436
8437 * scripts/abilist.awk: Add support for indirect functions.
8438
a2693a0e
UD
8439 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8440
3f05895f
UD
8441 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8442
ecb6fb48
UD
8443 * shlib-versions: Remove entries for ports architectures.
8444
664f8cb9
UD
8445 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8446 files in ports.
8447 * elf/stackguard-macros.h: Remove support for IA-64.
8448 * elf/tst-auditmod1.c: Likewise.
8449 * sysdeps/generic/ldsodefs.h: Likewise.
8450
7ae81d88
UD
8451 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8452 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8453 configure files.
8454
bdeba135
UD
8455 [BZ #13552]
8456 * configure.in: Remove --enable-omitfp support.
8457 * FAQ.in: Adjust.
8458 * config.make.in: Likewise.
8459 * Makeconfig: Likewise.
8460 * manual/install.texi: Likewise.
8461
d75a0a62
UD
8462 In case anyone cares, the IA-64 architecture could move to ports.
8463 * sysdeps/ia64/*: Removed.
8464 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8465 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8466
dcc9756b
UD
8467 [BZ #13555]
8468 * configure.in: Remove entries for unsupported architectures.
8469
d3761ebc 8470 [BZ #13533]
9954432e
UD
8471 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8472 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8473 routines.
8474 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8475 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8476 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8477 fall back to using wcrtomb.
8478 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8479 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8480 renaming.
8481 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8482 * wcsmbs/tst-c16c32-1.c: New file.
8483
8484 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8485 local variable.
8486
c3a87236
UD
8487 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8488
28926a1b
UD
8489 * elf/tst-unique3.cc: Add explicit declaration of gets.
8490 * elf/tst-unique3lib.cc: Likewise.
8491 * elf/tst-unique3lib2.cc: Likewise.
8492 * elf/tst-unique4.cc: Likewise.
8493
df78418a
UD
8494 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8495
8ecd6b2a
JM
84962012-01-06 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #13566]
8499 * assert/assert.h (static_assert): Don't define for C++.
8500 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8501 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8502
9f115170
UD
85032012-01-03 Ulrich Drepper <drepper@gmail.com>
8504
5e0d0300
UD
8505 * iconv/loop.c (single loop): Fix assertion in storing of
8506 remaining bytes.
8507
9f115170
UD
8508 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8509
81fb02b0
UD
85102012-01-01 Ulrich Drepper <drepper@gmail.com>
8511
8512 * posix/getconf.c: Update copyright year.
8513 * nss/getent.c: Likewise.
a316c1f6 8514 * nss/makedb.c: Likewise.
81fb02b0
UD
8515 * iconv/iconvconfig.c: Likewise.
8516 * iconv/iconv_prog.c: Likewise.
8517 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8518 * elf/pldd.c: Likewise.
8519 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8520 * catgets/gencat.c: Likewise.
8521 * csu/version.c: Likewise.
8522 * elf/ldd.bash.in: Likewise.
8523 * elf/sprof.c (print_version): Likewise.
8524 * locale/programs/locale.c: Likewise.
8525 * locale/programs/localedef.c: Likewise.
a316c1f6 8526 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8527 * nscd/nscd.c (print_version): Likewise.
8528 * debug/xtrace.sh: Likewise.
8529 * malloc/memusage.sh: Likewise.
8530 * malloc/mtrace.pl: Likewise.
8531 * debug/catchsegv.sh: Likewise.
8532
2ba92745
JJ
85332011-12-30 Jakub Jelinek <jakub@redhat.com>
8534
8535 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8536 pure attribute.
8537
dadebdae
UD
85382011-12-24 Ulrich Drepper <drepper@gmail.com>
8539
d3761ebc 8540 [BZ #13533]
db6af3eb
UD
8541 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8542 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8543 transformations.
8544 * iconv/gconv_int.h: Likewise.
8545 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8546 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8547 from libc for GLIBC_2.16.
8548 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8549 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8550 * wcsmbs/uchar.h: Really define mbstate_t.
8551 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8552 * wcsmbs/c16rtomb.c: New file.
8553 * wcsmbs/mbrtoc16.c: New file.
8554 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8555 for C/POSIX locale.
8556 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8557 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8558
dadebdae
UD
8559 * wcsmbs/wchar.h: Add missing __restrict.
8560
67371b56
UD
85612011-12-23 Ulrich Drepper <drepper@gmail.com>
8562
74033a25
UD
8563 [BZ #13532]
8564 * time/Makefile (routines): Add timespec_get.
8565 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8566 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8567 timespec for ISO C11.
8568 * time/timespec_get.c: New file.
8569 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8570 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8571
380d7e87
UD
8572 [BZ #13531]
8573 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8574 * stdlib/stdlib.h: Declare aligned_alloc.
8575 * Versions.def: Add GLIBC_2.16 for libc.
8576 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8577
4e9e7a35
UD
8578 [BZ 13527]
8579 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8580 ISO C11.
8581
380d7e87 8582 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8583 code.
8584
03a71829
UD
8585 [BZ #13528]
8586 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8587
839e283e
UD
8588 [BZ #13529]
8589 * assert/assert.h (static_assert): Define.
8590
ce5294e2 8591 * version.h: Update for 2.16 development version.
90fa7312 8592
8d44e150 8593 [BZ #13526]
d7809905
UD
8594 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8595 _ISOC11_SOURCE.
8596
c0da14cd
UD
8597 * version.h (RELEASE): Bump for 2.15 release.
8598 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8599
530a3249
MP
8600 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8601 Patch by Marek Polacek <mpolacek@redhat.com>.
8602
67371b56
UD
8603 * bits/byteswap.h: Protect long long constants with __extension__.
8604 * sysdeps/i386/bits/byteswap.h: Likewise.
8605 * sysdeps/ia64/bits/byteswap.h: Likewise.
8606 * sysdeps/s390/bits/byteswap.h: Likewise.
8607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8608
15db4de1
LD
86092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8610
8611 [BZ #13540]
bbe315ea
LD
8612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8613 destination buffer.
15db4de1
LD
8614 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8615
2b2596b1
MP
86162011-12-23 Marek Polacek <polacek@redhat.com>
8617
8618 * elf/dl-addr.c (determine_info): Add inline keyword.
8619 * elf/tst-auditmod4b.c (check_avx): Likewise.
8620 * elf/tst-auditmod6b.c (check_avx): Likewise.
8621 * elf/tst-auditmod6c.c (check_avx): Likewise.
8622 * elf/tst-auditmod7b.c (check_avx): Likewise.
8623
70c6c246
UD
86242011-12-23 Ulrich Drepper <drepper@gmail.com>
8625
8626 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8627 !__SSE_MATH__.
8628
c044cf14
LD
86292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8630
15db4de1 8631 [BZ #13540]
c044cf14
LD
8632 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8633 processing for last bytes.
8634
6b13d9d9
BH
86352011-08-06 Bruno Haible <bruno@clisp.org>
8636
d455f537
BH
8637 [BZ #13061]
8638 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8639 U+0385, not to U+1FEE.
8640
6b13d9d9
BH
8641 [BZ #13062]
8642 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8643 entry for U+00A5 U+0301.
8644
db910efd
UD
86452011-12-22 Ulrich Drepper <drepper@gmail.com>
8646
27deeafc
UD
8647 [BZ #13166]
8648 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8649 buffer for the output is too small.
8650
aed9d171
UD
8651 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8652 optimization.
8653
db910efd
UD
8654 [BZ #13185]
8655 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8656 SSE flags if possible.
8657
2bd779ae
LD
86582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8659
e7f9dac3 8660 [BZ #13540]
2bd779ae
LD
8661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8662 processing for last bytes.
8663
154bfc16
JM
86642011-12-22 Joseph Myers <joseph@codesourcery.com>
8665
8666 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8667 (syscall-list-default-options, syscall-list-default-condition)
8668 (syscall-list-includes): Define.
8669 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8670 list of ABIs and options and #if conditions for each ABI. Do not
8671 handle common syscalls between ABIs specially.
8672 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8673 Remove.
8674 (syscall-list-variants, syscall-list-32bit-options)
8675 (syscall-list-32bit-condition, syscall-list-64bit-options)
8676 (syscall-list-64bit-condition): Define.
8677 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8678 (syscall-list-variants, syscall-list-32bit-options)
8679 (syscall-list-32bit-condition, syscall-list-64bit-options)
8680 (syscall-list-64bit-condition): Define.
8681 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8682 Remove.
8683 (syscall-list-variants, syscall-list-32bit-options)
8684 (syscall-list-32bit-condition, syscall-list-64bit-options)
8685 (syscall-list-64bit-condition): Define.
8686 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8687 Remove.
8688 (syscall-list-variants, syscall-list-32bit-options)
8689 (syscall-list-32bit-condition, syscall-list-64bit-options)
8690 (syscall-list-64bit-condition): Define.
8691
21eaf3a5
UD
86922011-12-22 Ulrich Drepper <drepper@gmail.com>
8693
16c6f992
UD
8694 * locale/iso-639.def: Add brx entry.
8695
41043168
UD
8696 [BZ #13328]
8697 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8698 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8699
21eaf3a5
UD
8700 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8701 __feraiseexcept_renamed.
8702
e3a851a2
UD
87032011-12-21 Ulrich Drepper <drepper@gmail.com>
8704
4920765e
UD
8705 [BZ #13538]
8706 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8707 EPOLLET with unsigned values.
8708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8709 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8710
e3a851a2
UD
8711 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8712 to large cancellation.
8713 * math/s_cacoshf.c: Likewise.
8714 * math/s_cacoshl.c: Likewise.
8715
b27e24b8
RK
87162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8717
8718 [BZ #13305]
aebefeee 8719 [BZ #12786]
b27e24b8
RK
8720 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8721 * math/s_cacoshf.c: Likewise.
8722 * math/s_cacoshl.c: Likewise.
8723
ee190f67
UD
87242011-12-21 Ulrich Drepper <drepper@gmail.com>
8725
8726 [BZ #13439]
8727 * iconv/gconv.h: Define __GCONV_SWAP.
8728 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8729 * iconvdata/utf-16.c: Likewise.
8730 * iconvdata/utf-32.c: Likewise.
8731
707f25df
AS
87322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8733
8734 [BZ #13524]
8735 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8736 numerator after shifting it by one limb.
8737
d2daaa1e
RÁE
87382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8739
8740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8741 under [__USE_EXTERN_INLINES].
8742
a4647e72
UD
87432011-12-17 Ulrich Drepper <drepper@gmail.com>
8744
8745 [BZ #13446]
8746 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8747
f0b264f1
AZ
87482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749
8750 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8751 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8752 optimized code.
8753 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8754 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8755 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8756 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8757 for strncasecmp/strncasecmp_l compilation.
8758 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8759 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8760
8ef4f244
MP
87612011-12-08 Marek Polacek <mpolacek@redhat.com>
8762
8763 [BZ #13484]
8764 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8765 of __asm__.
8766
97ac2654
UD
87672011-12-17 Ulrich Drepper <drepper@gmail.com>
8768
8769 [BZ #13506]
8770 * time/tzfile.c (__tzfile_read): Check values from file header.
8771
91d2a845
WS
87722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8773
8774 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8775 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8776 * powerpc/powerpc32/dl-start.S: Likewise.
8777 * powerpc/powerpc32/elf/start.S: Likewise.
8778 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8779 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8780 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8781 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8782 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8783 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8784 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8785 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8786 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8787 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8788 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8789 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8790 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8791 * powerpc/powerpc32/memset.S: Likewise.
8792 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8793 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8794 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8795 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8796 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8797 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8798 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8799 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8800 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8801 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8802 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8803 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8804 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8805
a1267ba1
AZ
88062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8807
8808 * math/libm-test.inc: Added more nearbyint tests.
8809 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8811 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8813
ad8ac1bd
RL
88142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8815
8816 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8817 FD_CLOEXEC.
8818
1d3e4b61
UD
88192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8820
8821 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8822 Add wcscpy-ssse3 wcscpy-c.
8823 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8824 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8825 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8826 * sysdeps/x86_64/wcschr.S: New file.
8827 * sysdeps/x86_64/wcsrchr.S: New file.
8828 * string/test-strcmp.c: Remove checking of wcscmp function for
8829 wrong alignments.
8830 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8831 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8832 wcsrchr-sse2 wcsrchr-c.
8833 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8834 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8835 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8836 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8837 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8838 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8839 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8840 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8841 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8842 * wcsmbc/wcschr.c (WCSCHR): New macro.
8843
5b330a2d
UD
88442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8845
8846 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8847 * wcsmbs/test-wcsrchr.c: New file.
8848 * string/test-strrchr.c: Add wcsrchr support.
8849 (WIDE): New macro.
8850 * wcsmbs/test-wcscpy.c: New file.
8851 * string/test-strcpy.c: Add wcscpy support.
8852 (WIDE): New macro.
26428b7c 8853
f039c043
UD
88542011-12-10 Ulrich Drepper <drepper@gmail.com>
8855
8856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8857 the inner loop.
8858
850fb039
AS
88592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8860
8861 [BZ #13472]
8862 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8863
4efbd5cb
UD
88642011-12-04 Ulrich Drepper <drepper@gmail.com>
8865
52ff5dd0 8866 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8867 Minor optimizations.
52ff5dd0 8868
4efbd5cb
UD
8869 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8870 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8871 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8872
8a426e12
UD
88732011-12-03 Ulrich Drepper <drepper@gmail.com>
8874
aff2453d
UD
8875 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8876 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8877 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8878 for gcc to avoid warnings.
8879 * inet/Makefile (tests): Add tst-checks.
8880 * inet/tst-checks.c: New file.
8881
8882 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8883 warning.
8884
8885 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8886 __wmemcmp_sse2.
8887
8888 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8889 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8890
8a426e12
UD
8891 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8892
9bea3473
UD
88932011-12-02 Ulrich Drepper <drepper@gmail.com>
8894
3a965496
UD
8895 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8896 problem.
8897
9bea3473
UD
8898 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8899
f101631b
UD
89002011-11-29 Joseph Myers <joseph@codesourcery.com>
8901
8902 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8903 conditional on GCC version.
8904 (__arch_compare_and_exchange_val_8_acq)
8905 (__arch_compare_and_exchange_val_16_acq)
8906 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8907 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8908 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8909
a98275aa
UD
89102011-12-02 Joseph Myers <joseph@codesourcery.com>
8911
8912 * sysdeps/sh/backtrace.c: New file.
8913
d4cc29a2
AS
89142011-12-02 Andreas Schwab <schwab@redhat.com>
8915
8916 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8917 parenthesis.
8918
6257af2d
AS
89192011-12-01 Andreas Schwab <schwab@redhat.com>
8920
8921 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8922 falling back to utime.
8923
b5f44c1a
AS
89242011-11-30 Andreas Schwab <schwab@redhat.com>
8925
8926 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8927 expectations for float.
8928
f3a6cc0a
AS
89292011-11-29 Andreas Schwab <schwab@redhat.com>
8930
8931 * locale/weight.h (findidx): Add parameter len.
8932 * locale/weightwc.h (findidx): Likewise.
8933 * posix/fnmatch_loop.c (FCT): Adjust caller.
8934 * posix/regcomp.c (build_equiv_class): Likewise.
8935 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8936 * posix/regexec.c (check_node_accept_bytes): Likewise.
8937 * string/strcoll_l.c (STRCOLL): Likewise.
8938 * string/strxfrm_l.c (STRXFRM): Likewise.
8939
9d65ea3a
UD
89402011-11-17 Ulrich Drepper <drepper@gmail.com>
8941
8942 * Makefile.in: Remove CVSOPT handling.
8943 * configure.in: Remove use of AC_REVISION.
8944 * iconvdata/Makefile (distribute): No need to filter out CVS.
8945 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8946 handling.
8947
5583a086
AS
89482011-11-16 Andreas Schwab <schwab@redhat.com>
8949
8950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8951 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8952 [USE_AS_STRNCASECMP_L]: Likewise.
8953 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8954 NO_TLS_DIRECT_SEG_REFS.
8955 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8956 Fix argument offsets for non-PIC.
8957 [USE_AS_STRNCASECMP_L]: Likewise.
8958 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8959 NO_TLS_DIRECT_SEG_REFS.
8960
d62a8200
UD
89612011-11-15 Ulrich Drepper <drepper@gmail.com>
8962
9d65ea3a 8963 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8964 O_CLOEXEC.
8965 * locale/loadlocale.c (_nl_load_locale): Likewise.
8966
09f93bd3
AS
89672011-11-15 Andreas Schwab <schwab@redhat.com>
8968
446514f9
AS
8969 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8970 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8971 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8972 (SYSCALL_GETTIME): Set errno on error.
8973
09f93bd3
AS
8974 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8975 count references to noai6ai_cached.
8976
312be3f9
UD
89772011-11-15 Ulrich Drepper <drepper@gmail.com>
8978
8979 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8980
8981 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8982 FD_CLOEXEC for /proc/self/maps.
8983
8984 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8985 FD_CLOEXEC for /proc/meminfo.
8986
8987 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8988 gai.conf.
8989
8990 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8991 FD_CLOEXEC for given file.
8992
8993 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8994
8995 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8996 FD_CLOEXEC for /etc/hosts.
8997 (_gethtent): Likewise.
8998
8999 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9000
9001 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9002 cancellation and set FD_CLOEXEC for /etc/netgroup.
9003
9004 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9005 reading /etc/publickey.
9006
9007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9008 allow cancellation when reading /etc/group.
9009
9010 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9011 cancellation.
9012 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9013
9014 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9015 when using data file.
9016
9017 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9018
9019 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9020 (write_nis_obj): Use "c" and "e" in fopen.
9021
9022 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9023
9024 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9025
9026 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9027
9028 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9029
9030 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9031 locale.alias.
9032
9033 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9034
9035 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9036
9037 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9038
9039 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9040 file parsing and set FD_CLOEXEC.
9041
82af0fa8
UD
90422011-11-14 Ulrich Drepper <drepper@gmail.com>
9043
9044 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9045
a5fb313c
AS
90462011-11-14 Andreas Schwab <schwab@redhat.com>
9047
9048 * malloc/arena.c (arena_get2): Don't call reused_arena when
9049 _int_new_arena failed.
9050
6abf3465
UD
90512011-11-14 Ulrich Drepper <drepper@gmail.com>
9052
9053 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9054 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9056 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9057 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9058 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9059 to compile strcasecmp and strncasecmp.
9060 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9061 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9062
9063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9064
76e3966e
UD
90652011-11-13 Ulrich Drepper <drepper@gmail.com>
9066
9067 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9068 locale-defines.sym to gen-as-const-headers.
9069 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9070 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9072 to compile strcasecmp and strncasecmp.
9073 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9074 strcasecmp_l and strncasecmp_l.
9075 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9076 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9077 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9078 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9079 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9080 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9081 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9082 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9083 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9084 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9085 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9086
ab26144e
UD
90872011-11-12 Ulrich Drepper <drepper@gmail.com>
9088
7edb22ef
UD
9089 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9090 result of SYSDEP_GETTIME_CPU to retval.
9091 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9092 parameter list to macro. Remove trailing semicolon. Adjust users.
9093
9694fc44
UD
9094 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9095 variable.
9096
8ad89ef8
UD
9097 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9098 mantissa words.
9099 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9100
0c822ef9
UD
9101 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9102 from unused variable.
9103
874e0564
UD
9104 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9105 DWARF definitions.
9106 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9107 for assembling.
9108
3a2edc79
UD
9109 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9110 over namespaces.
9111
f3c2577f
UD
9112 * sunrpc/rpc_prot.c (rejected): Fix case value.
9113
294ce126
UD
9114 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9115 unsigned long long int to avoid warnings in shift.
9116
5e2b63c6
UD
9117 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9118 of use of trans.
9119 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9120 variable tmp.
9121
e7f4b08e
UD
9122 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9123 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9124 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9125
ab26144e
UD
9126 * nis/nis_table.c (nis_list): Use variable of correct type for
9127 result of __follow_path call.
9128
8a6d5255
AZ
91292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130
9131 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9132 of math functions ceil, trunc, floor, round, and sqrt, when
9133 avaliable on the platform.
9134 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9135 name clash.
9136 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9137 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9139
aaddc98c
MP
91402011-10-30 Marek Polacek <mpolacek@redhat.com>
9141
9142 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9143 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9144
95b7042b
RM
91452011-11-11 Roland McGrath <roland@hack.frob.com>
9146
9147 * include/unistd.h: Fix __readlink return type.
9148 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9149
57769839
UD
91502011-11-11 Ulrich Drepper <drepper@gmail.com>
9151
9152 * stdlib/ucontext.h: Undo last change for makecontext.
9153
edc5984d
AS
91542011-11-11 Andreas Schwab <schwab@redhat.com>
9155
98591e58
AS
9156 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9157
edc5984d
AS
9158 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9159 * setjmp/setjmp.h: Mark functions as non-leaf.
9160 * setjmp/bits/setjmp2.h: Likewise.
9161 * stdlib/ucontext.h: Likewise.
9162
77cdc054
AS
91632011-11-10 Andreas Schwab <schwab@redhat.com>
9164
9165 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9166 (reused_arena): Don't check arena limit.
9167 (arena_get2): Atomically check arena limit.
9168
fe72eebd
UD
91692011-11-08 Ulrich Drepper <drepper@gmail.com>
9170
5f078c32
UD
9171 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9172 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9173
fe72eebd
UD
9174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9175 instructions.
9176
ae1bc2fa
AS
91772011-11-07 Andreas Schwab <schwab@redhat.com>
9178
7583a88d
AS
9179 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9180 handler when locking.
9181
ae1bc2fa
AS
9182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9183 Fix size of allocated buffer.
9184
10fb0bfa
AS
91852011-11-04 Andreas Schwab <schwab@redhat.com>
9186
998832a4
AS
9187 [BZ #10103]
9188 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9189 declarations for long double functions.
9190 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9191
10fb0bfa
AS
9192 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9193
3d7ba52b
AS
91942011-11-03 Andreas Schwab <schwab@redhat.com>
9195
a9ae54a1
AS
9196 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9197 installed.
9198
3d7ba52b
AS
9199 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9200 is disabled.
9201
bc8db248
ST
92022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9203
9204 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9205
45b96dd6
AS
92062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9207
647776f6
AS
9208 * include/alloca.h (stackinfo_alloca_round): Define.
9209 (extend_alloca): Use it.
9210 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9211 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9212 here.
9213
d91a8b93
AS
9214 * scripts/check-local-headers.sh: Ignore libaudit.h.
9215
45b96dd6
AS
9216 * nscd/Makefile (extra-objs): Make recursively expanded.
9217
432d41ce
UD
92182011-11-01 Ulrich Drepper <drepper@gmail.com>
9219
34372fc6
UD
9220 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9221 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9222
fadb59f8
UD
9223 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9224 * posix/tst-rfc3484-2.c: Likewise.
9225 * posix/tst-rfc3484-3.c: Likewise.
9226
78239589
UD
9227 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9228 process_vm_writev.
9229 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9230 process_vm_writev.
9231 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9232 process_vm_writev from libc using GLIBC_2.15 version.
9233
432d41ce
UD
9234 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9235
02f9c6cf
PP
92362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9237
9238 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9239 stack usage.
9240
3a2c0242
UD
92412011-10-31 Ulrich Drepper <drepper@gmail.com>
9242
f4ec4833
UD
9243 [BZ #13367]
9244 * nss/getent.c (initgroups_keys): Show error message in case no group
9245 names are given.
9246
3a2c0242
UD
9247 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9248 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9249 __bump_nl_timestamp.
9250 * nscd/connections (nscd_init): When host database is served open
9251 netlink socket and request notification about configuration changes.
9252 (main_loop_poll): Track netlink file descriptor and bump timestamp
9253 in case data becomes available.
9254 (main_loop_epoll): Likewise.
9255 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9256 (database_pers_head): Add extra_data fileds.
9257 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9258 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9259 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9260 Adjust caller.
9261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9262 in6ai data, call __free_in6ai.
9263 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9264 Add -DHAVE_NETLINK.
9265 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9266 interface information. Reuse previous data if netlink timestamp
9267 is not changed.
9268 (__bump_nl_timestamp): New function.
9269 (__free_in6ai): New function.
9270
636064eb
UD
92712011-10-30 Ulrich Drepper <drepper@gmail.com>
9272
9273 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9274 close_not_cancel_no_status here.
9275 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9276
9beb2334
UD
92772011-10-29 Ulrich Drepper <drepper@gmail.com>
9278
6ef76f3b
UD
9279 [BZ #13276]
9280 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9281 return value.
9282
0ffc4f3e 9283 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9284 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9285 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9286
cb95113e
UD
92872011-07-03 Andreas Jaeger <aj@suse.de>
9288
9289 [BZ #10709]
9290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9291 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9292 * math/libm-test.inc (sin_test): Add test case.
9293
a1b560ff
UD
92942011-10-29 Ulrich Drepper <drepper@gmail.com>
9295
c9aaface
UD
9296 [BZ #13337]
9297 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9298 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9299
d272e7f1
UD
9300 * elf/chroot_canon.c (chroot_canon): Cleanups.
9301
1bc33071
UD
9302 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9303
1760874d
TJ
9304 [BZ #13335]
9305 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9306 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9307
51d91b18
UD
9308 * string/test-strchr.c: Make usable for strchrnul testing.
9309 * string/test-strchrnul.c: New file.
9310 * string/Makefile (strop-tests): Add strchrnul.
9311
a1b560ff 9312 * po/it.po: Update from translation team.
b611fb81 9313 * po/es.po: Likewise.
a1b560ff 9314
a5b81e1f
UD
93152011-10-28 Ulrich Drepper <drepper@gmail.com>
9316
fd52bc6d
UD
9317 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9318 the three constants needed as parameters. Drop the others.
9319 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9320 __m128i_strloadu_tolower.
52e4b9eb
UD
9321 Create and initialize variable zero and use it in all the places
9322 where _mm_setzero_si128 was used.
fd52bc6d 9323
a5b81e1f
UD
9324 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9325 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9326 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9328 anymore.
9329 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9330 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9331 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9332 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9333 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9334 __mpranred, __mptan.
9335 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9336 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9337 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9338 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9339 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9340 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9342 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9343 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9344
b4343346
AS
93452011-10-28 Andreas Schwab <schwab@redhat.com>
9346
0c92d8a8
AS
9347 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9348 redefine if SHARED.
9349 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9350
b4343346
AS
9351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9352 wide char related routines to wcsmbs subdir.
9353
3871f58f
AS
93542011-10-27 Andreas Schwab <schwab@redhat.com>
9355
9356 [BZ #13344]
9357 * misc/sys/cdefs.h (__THROWNL): Define.
9358 * posix/unistd.h: Use __THREADNL instead of __THREAD
9359 for memory synchronization functions.
9360
94d44d9f
RM
93612011-10-26 Roland McGrath <roland@hack.frob.com>
9362
21b64b15 9363 [BZ #13349]
94d44d9f
RM
9364 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9365 doesn't exist.
9366 * manual/stdio.texi (Obstack Streams): Node removed.
9367
f6ce9294
AS
93682011-10-26 Andreas Schwab <schwab@redhat.com>
9369
80479147
AS
9370 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9372 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9373
f6ce9294
AS
9374 * math/math_private.h (math_force_eval): Allow non-addressable
9375 arguments.
9376 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9377
618280a1
UD
93782011-10-25 Ulrich Drepper <drepper@gmail.com>
9379
e0016b11
UD
9380 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9381 file is not needed.
9382
9383 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9385 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9386 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9387 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9389 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9390 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9391 Add AVX variants.
9392 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9393 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9394 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9395 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9396 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9397 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9398 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9400 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9401 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9402 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9403 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9404 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9405 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9408 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9409 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9410 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9411
9412 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9413 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9414
618280a1
UD
9415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9416 place. Use VEX encoding when compiling for AVX.
9417
37822576
AS
94182011-10-25 Andreas Schwab <schwab@redhat.com>
9419
1f1e1947
AS
9420 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9421 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9422
37822576
AS
9423 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9424
31ea014d
UD
94252011-10-25 Ulrich Drepper <drepper@gmail.com>
9426
d7826aa1 9427 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9428 useless if() expression.
d7826aa1
UD
9429 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9438 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9442 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9443 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9445 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9447 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9448
31ea014d
UD
9449 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9450
16437fec
AS
94512011-10-25 Andreas Schwab <schwab@redhat.com>
9452
9453 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9454 condition.
9455 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9456
31d3cc00
UD
94572011-10-25 Ulrich Drepper <drepper@gmail.com>
9458
9459 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9460 .text section. Avoid duplicate constants.
9461 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9471 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9473 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9476 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9478 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9484 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9485 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9486 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9487 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9488 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9489 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9490 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9491 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9492 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9493 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9494 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9495 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9496 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9497 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9499 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9500 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9503 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9504 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9505 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9506
58985aa9
UD
95072011-10-24 Ulrich Drepper <drepper@gmail.com>
9508
202c9deb
UD
9509 * sysdeps/x86_64/dla.h: Move to ...
9510 * sysdeps/x86_64/fpu/dla.h: ...here.
9511 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9512 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9513
af968f62
UD
9514 * config.make.in: Add have-mfma4 entry.
9515 * configure.in: Substitute libc_cv_cc_fma4.
9516 * math/Makefile (dbl-only-routines): Add sincostab.
9517 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9518 Use __sincostab not sincos.
9519 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9520 name is a macro.
9521 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9525 using __copysign.
9526 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9527 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9528 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9529 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9530 and __inv.
9531 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9532 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9533 __copysign.
9534 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9535 define aliases when function name is a macro.
9536 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9537 sysdeps/ieee754/dbl-64/sincos.tbl.
9538 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9539 fma4-enabled routines.
9540 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9541 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9542 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9543 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9545 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9546 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9548 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9549 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9550 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9551 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9552 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9553 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9554 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9555 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9556 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9557 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9558 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9559 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9560 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9561 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9562 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9563 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9565 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9566 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9567 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9568 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9569 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9570
58985aa9
UD
9571 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9572 rename.
9573 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9581
a201fbcf
AS
95822011-10-24 Andreas Schwab <schwab@redhat.com>
9583
9584 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9585
fc2ee42a
LD
95862011-10-23 Ulrich Drepper <drepper@gmail.com>
9587
bb3129bd
UD
9588 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9589
0275fff8
UD
9590 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9591 prediction.
9592 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9593
2fa2ae85
UD
9594 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9595 Remove unused variable magic_bits.
9596 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9597
fc2ee42a
LD
9598 * string/strnlen.c: Define and use STRNLEN macro.
9599 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9600 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9601 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9602 * wcsmbs/wcslen.c: Define and use WCSLEN.
9603 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9604 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9605 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9606 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9607 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9608 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9609 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9610
ce7dd29f
LD
96112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9612
9613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9614 strnlen-sse2-no-bsf.
9615 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9617 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9618 Add strnlen support.
9619 (USE_AS_STRNLEN): New macro.
9620 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9622 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9623 * sysdeps/x86_64/wcslen.S: New file.
9624
979c70a3
MZ
96252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9626
9627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9628 XMM-moves are used for copying on small sizes.
9629
2d09f82f
LD
96302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9631
9632 * wcsmbs/Makefile (strop-tests): Add wcschr.
9633 * wcsmbs/test-wcschr.c: New file.
9634 * string/test-strchr.c: Update.
9635 Add wcschr support.
9636 (WIDE): New macro.
9637
619fccca
LD
96382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9639
2d09f82f 9640 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9641 * wcsmbs/test-wcslen.c: New file.
9642 * string/test-strlen.c: Update.
9643 Add wcslen support.
9644 (WIDE): New macro.
9645
09f699ea
UD
96462011-10-23 Ulrich Drepper <drepper@gmail.com>
9647
9648 * po/it.po: Update from translation team.
9649
95584d3b
LD
96502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9651
9652 * sysdeps/x86_64/wcscmp.S: Update.
9653 Fix wrong comparison semantics.
9654 wcscmp shall use signed comparison not unsigned.
9655 Don't use substraction to avoid overflow bug.
9656 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9657 * wcsmbc/wcscmp.c: Likewise.
9658 * string/test-strcmp.c: Likewise.
9659 Add new tests to check cases with negative values.
9660
c8b3296b
UD
96612011-10-23 Ulrich Drepper <drepper@gmail.com>
9662
9663 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9664 * sysdeps/x86_64/dla.h: ...here. New file.
9665 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9674
246ad57a
AS
96752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9676
9677 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9678 __ynl_finite aliases.
9679
a1a87169
UD
96802011-10-22 Ulrich Drepper <drepper@gmail.com>
9681
0d355eb7
UD
9682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9683
a1a87169
UD
9684 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9685 define DLA_FMA.
9686 [DLA_FMA] (EMULV): Use DLA_FMA.
9687 [DLA_FMA] (MUL12): Use EMULV.
9688 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9689 that are not needed.
9690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9697
ee2aafe0
AS
96982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9699
9700 * math/s_nan.c: Undef __nan.
9701 * math/s_nanf.c: Undef __nanf.
9702 * math/s_nanl.c: Undef __nanl.
9703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9704 "math_private.h".
9705
bc62c2fb
UD
97062011-10-22 Ulrich Drepper <drepper@gmail.com>
9707
77425c63
UD
9708 * math/s_catan.c: Add branch predictions.
9709 * math/s_catanf.c: Likewise.
9710 * math/s_catanh.c: Likewise.
9711 * math/s_catanhf.c: Likewise.
9712 * math/s_catanhl.c: Likewise.
9713 * math/s_catanl.c: Likewise.
9714 * math/s_cexp.c: Likewise.
9715 * math/s_cexpf.c: Likewise.
9716 * math/s_cexpl.c: Likewise.
9717 * math/s_clog.c: Likewise.
9718 * math/s_clog10.c: Likewise.
9719 * math/s_clog10f.c: Likewise.
9720 * math/s_clog10l.c: Likewise.
9721 * math/s_clogf.c: Likewise.
9722 * math/s_clogl.c: Likewise.
9723 * math/s_csqrt.c: Likewise.
9724 * math/s_csqrtf.c: Likewise.
9725 * math/s_csqrtl.c: Likewise.
9726 * math/s_ctanf.c: Likewise.
9727 * math/s_ctanh.c: Likewise.
9728 * math/s_ctanhf.c: Likewise.
9729 * math/s_ctanhl.c: Likewise.
9730 * math/s_ctanl.c: Likewise.
9731
bc62c2fb
UD
9732 * math/math_private.h: Define __nan, __nanf, __nanl.
9733 * math/s_cacosh.c: Include <math_private.h>.
9734 * math/s_cacoshl.c: Likewise.
9735 * math/s_casinh.c: Likewise.
9736 * math/s_casinhf.c: Likewise.
9737 * math/s_casinhl.c: Likewise.
9738 * math/s_ccos.c: Rely entire on ccosh.
9739 * math/s_ccosf.c: Rely entire on ccoshf.
9740 * math/s_ccosl.c: Rely entirely on ccoshl.
9741 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9742 Remove tests for FE_INVALID.
9743 * math/s_ccoshf.c: Likewise.
9744 * math/s_ccoshl.c: Likewise.
9745 * math/s_csin.c: Likewise.
9746 * math/s_csinf.c: Likewise.
9747 * math/s_csinh.c Likewise.
9748 * math/s_csinhf.c: Likewise.
9749 * math/s_csinhl.c: Likewise.
9750 * math/s_csinl.c: Likewise.
9751 * math/s_ctan.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9753 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9754 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9755
8ec250a4
UD
97562011-10-21 Ulrich Drepper <drepper@gmail.com>
9757
c196fed8
UD
9758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9759 compilation problems.
9760
8ec250a4
UD
9761 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9762 __builtin_expect.
9763
8d4f46c6
UD
97642011-10-20 Ulrich Drepper <drepper@gmail.com>
9765
ed72b654
UD
9766 * sysdeps/i386/configure.in: Test for -mfma4 option.
9767 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9768 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9769 COMMON_CPUID_INDEX_80000001.
9770 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9771 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9772 use it if FMA3 is not supported.
9773 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9774
8d4f46c6
UD
9775 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9776 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9777
d45c60c2
AS
97782011-10-20 Andreas Schwab <schwab@redhat.com>
9779
9780 [BZ #12892]
9781 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9782 it would create a cycle with a link time dependency.
9783
d9a4d2ab
UD
97842011-10-19 Ulrich Drepper <drepper@gmail.com>
9785
855d1560
UD
9786 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9787 instruction.
9788 * string/Makefile (strop-tests): Add rawmemchr.
9789 * string/test-rawmemchr.c: New file.
9790
d9a4d2ab
UD
9791 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9793 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9794 when compiling str{,n}casecmp and when AVX is available. Hook up
9795 new optimized code in initializers.
9796
8f3b1ffe
AS
97972011-10-19 Andreas Schwab <schwab@redhat.com>
9798
9799 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9800 __feraiseexcept instead of feraiseexcept.
9801
d38f1dba
UD
98022011-10-18 Ulrich Drepper <drepper@gmail.com>
9803
d9a8d0ab
UD
9804 * math/math_private.h: Define defaults for libc_fetestexcept and
9805 libc_feupdateenv.
9806 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9807 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9808 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9809 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9811 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9812 libc_fetestexcept and libc_feupdateenv.
9813
4855e3dd
UD
9814 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9815 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9816 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9817 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9818 libc_feholdexcept_setround.
9819
581d30e3
UD
9820 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9821 Add s_nearbyint-c and s_nearbyintf-c.
9822 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9823 nearbyintf inlines.
9824 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9825 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9826 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9827 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9828
d38f1dba
UD
9829 * math/math_private.h: Define defaults for libc_fegetround,
9830 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9831 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9832 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9833 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9834 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9835 standard functions.
9836 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9837 Remove comments and hacks for old compiler versions.
9838 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9839 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9840 libc_feholdexceptl.
9841
caa6c9d8
AS
98422011-10-18 Andreas Schwab <schwab@redhat.com>
9843
9844 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9845 (__feraiseexcept_renamed): Add __NTH.
9846 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9847 namespace violations.
9848
97c066e6
UD
98492011-10-17 Ulrich Drepper <drepper@gmail.com>
9850
99ce7b04
UD
9851 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9852
1004d182
UD
9853 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9854
228a984d
UD
9855 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9856 recently added interfaces.
9857 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9858
c8553a6a
UD
9859 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9860 about macro parameter expansion.
9861
ed22dcf6
UD
9862 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9863 __NO_MATH_INLINES is defined. Cleanups.
9864
9865 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9866 and __floorf is target has SSE4.1.
9867 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9868 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9869 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9870 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9871
b171c137
UD
9872 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9873 name.
9874 (floorf): Likewise.
9875
97c066e6
UD
9876 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9877
629f62ef
AS
98782011-10-17 Andreas Schwab <schwab@redhat.com>
9879
49a43d80
AS
9880 * misc/sys/cdefs.h: Fix last change.
9881
629f62ef
AS
9882 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9883 database lookup.
9884
e453f6cd
UD
98852011-10-16 Ulrich Drepper <drepper@gmail.com>
9886
aa78043a
UD
9887 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9888
ad0f5cad
UD
9889 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9890 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9895 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9896 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9897 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9898 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9899 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9900 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9901 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9902 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9903 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9904 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9905 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9906 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9907 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9908 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9909 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9910 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9911
9912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9913 ceil, ceilf, floor, floorf.
9914
9915 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9916 Perform IRELATIVE relocations last.
9917
e453f6cd
UD
9918 * elf/do-rel.h: Add another parameter nrelative, replacing the
9919 local variable with the same name. Change name of the function
9920 to end in Rel or Rela (uppercase).
9921 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9922 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9923 elf_dynamic_do_##reloc function.
9924
fd5bdc09
UD
99252011-10-15 Ulrich Drepper <drepper@gmail.com>
9926
79b195b5
UD
9927 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9928 is sufficient, at least on modern CPUs.
9929
d4a28569
UD
9930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9931
b61099b5
UD
9932 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9933 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9934
bcf01e6d
UD
9935 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9936 __expl_finite.
9937 * math/bits/math-finite.h: Add entries for exp.
9938 * math/e_expl.c: Add __*_finite alias.
9939 * sysdeps/i386/fpu/e_exp.S: Likewise.
9940 * sysdeps/i386/fpu/e_expf.S: Likewise.
9941 * sysdeps/i386/fpu/e_expl.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9943 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9947 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9949
ba1a0d59
UD
9950 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9951 is sufficient, at least on modern CPUs.
9952
fd5bdc09
UD
9953 * ctype/ctype-info.c (__ctype_init): Define.
9954 * include/ctype.h (__ctype_init): Declare.
9955 (__ctype_b_loc): The variable is always initialized.
9956 (__ctype_toupper_loc): Likewise.
9957 (__ctype_tolower_loc): Likewise.
9958 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9959 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9960
7872cfb0
AS
99612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9962
b468825a
AS
9963 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9964
7872cfb0
AS
9965 * configure.in: Also look in $cxxmachine/include for C++ system
9966 headers.
9967
be13f7bf
LD
99682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9969
9970 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9971 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9972 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9973 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9974 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9975 (USE_AS_WMEMCMP): New macro.
9976 Fixing indents.
9977 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9978 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9979 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9980 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9982 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9983 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9984 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9985 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9986 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9987 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9988 (USE_AS_WMEMCMP): New macro.
9989 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9990 * sysdeps/string/test-memcmp.c: Update.
9991 Fix simple_wmemcmp.
9992 Add new tests.
9993 * wcsmbs/wmemcmp.c: Update.
9994 (WMEMCMP): New macro.
9995 Fix overflow bug.
9996
556a2007
AJ
99972011-10-12 Andreas Jaeger <aj@suse.de>
9998
9999 [BZ #13268]
10000 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10001
538faaa7
UD
100022011-10-15 Ulrich Drepper <drepper@gmail.com>
10003
ab6737ff
UD
10004 * libio/iofwide.c (do_length): Avoid warning.
10005
538faaa7
UD
10006 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10007
396a21b1
UD
100082011-10-14 Ulrich Drepper <drepper@gmail.com>
10009
cdf2901f
UD
10010 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10011
38ad40ce
UD
10012 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10013 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10014 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10015 * sysdeps/i386/i686/fpu/e_log.S: New file.
10016 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10017 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10018
396a21b1
UD
10019 * ctype/ctype.h: Add support for inlined isXXX functions when
10020 compiling C++ code.
10021
6b1f68c9
AS
100222011-10-14 Andreas Schwab <schwab@redhat.com>
10023
349290c0
AS
10024 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10025
6b1f68c9
AS
10026 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10027
f2282d42
RM
100282011-10-13 Roland McGrath <roland@hack.frob.com>
10029
10030 [BZ #13291]
10031 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10032
5298ffa8
AS
100332011-10-13 Andreas Schwab <schwab@redhat.com>
10034
714fad23
AS
10035 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10036 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10037 feraiseexcept.
10038
81dcc7fb
AS
10039 * sysdeps/x86_64/memrchr.S: Check for zero size.
10040
5298ffa8
AS
10041 * string/stratcliff.c: Add memrchr tests.
10042
951fbcec
LD
100432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10044
10045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10046 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10047 rawmemchr-sse2 rawmemchr-sse2-bsf.
10048 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10049 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10050 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10051 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10052 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10053 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10054 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10055 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10056 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10057 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10058 * string/memrchr.c (MEMRCHR): New macro.
10059
0ac5ae23
UD
100602011-10-12 Ulrich Drepper <drepper@gmail.com>
10061
10062 Add integration with gcc's -ffinite-math-only and optimize wrapper
10063 functions in libm.
10064 * Versions.def: Define GLIBC_2.15 version for libm.
10065 * math/Makefile (headers): Add bits/math-finite.h.
10066 * math/bits/math-finite.h: New file.
10067 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10068 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10069 * math/e_acoshl.c: Add __*_finite alias.
10070 * math/e_acosl.c: Likewise.
10071 * math/e_asinl.c: Likewise.
10072 * math/e_atan2l.c: Likewise.
10073 * math/e_atanhl.c: Likewise.
10074 * math/e_coshl.c: Likewise.
10075 * math/e_exp10.c: Likewise.
10076 * math/e_exp10f.c: Likewise.
10077 * math/e_exp10l.c: Likewise.
10078 * math/e_exp2l.c: Likewise.
10079 * math/e_fmodl.c: Likewise.
10080 * math/e_gammal_r.c: Likewise.
10081 * math/e_hypotl.c: Likewise.
10082 * math/e_j0l.c: Likewise.
10083 * math/e_j1l.c: Likewise.
10084 * math/e_jnl.c: Likewise.
10085 * math/e_lgammal_r.c: Likewise.
10086 * math/e_log10l.c: Likewise.
10087 * math/e_log2l.c: Likewise.
10088 * math/e_logl.c: Likewise.
10089 * math/e_powl.c: Likewise.
10090 * math/e_sinhl.c: Likewise.
10091 * math/e_sqrtl.c: Likewise.
10092 * math/e_scalb.c: Completely rewritten and optimized.
10093 * math/e_scalbf.c: Likewise.
10094 * math/e_scalbl.c: Likewise.
10095 * math/w_acos.c: Likewise.
10096 * math/w_acosf.c: Likewise.
10097 * math/w_acosl.c: Likewise.
10098 * math/w_acosh.c: Likewise.
10099 * math/w_acoshf.c: Likewise.
10100 * math/w_acoshl.c: Likewise.
10101 * math/w_asin.c: Likewise.
10102 * math/w_asinf.c: Likewise.
10103 * math/w_asinl.c: Likewise.
10104 * math/w_atan2.c: Likewise.
10105 * math/w_atan2f.c: Likewise.
10106 * math/w_atan2l.c: Likewise.
10107 * math/w_atanh.c: Likewise.
10108 * math/w_atanhf.c: Likewise.
10109 * math/w_atanhl.c: Likewise.
10110 * math/w_exp10.c: Likewise.
10111 * math/w_exp10f.c: Likewise.
10112 * math/w_exp10l.c: Likewise.
10113 * math/w_fmod.c: Likewise.
10114 * math/w_fmodf.c: Likewise.
10115 * math/w_fmodl.c: Likewise.
10116 * math/w_j0.c: Likewise.
10117 * math/w_j0f.c: Likewise.
10118 * math/w_j0l.c: Likewise.
10119 * math/w_j1.c: Likewise.
10120 * math/w_j1f.c: Likewise.
10121 * math/w_j1l.c: Likewise.
10122 * math/w_jn.c: Likewise.
10123 * math/w_jnf.c: Likewise.
10124 * math/w_log.c: Likewise.
10125 * math/w_logf.c: Likewise.
10126 * math/w_logl.c: Likewise.
10127 * math/w_log10.c: Likewise.
10128 * math/w_log10f.c: Likewise.
10129 * math/w_log10l.c: Likewise.
10130 * math/w_log2.c: Likewise.
10131 * math/w_log2f.c: Likewise.
10132 * math/w_log2l.c: Likewise.
10133 * math/w_pow.c: Likewise.
10134 * math/w_powf.c: Likewise.
10135 * math/w_powl.c: Likewise.
10136 * math/w_remainder.c: Likewise.
10137 * math/w_remainderf.c: Likewise.
10138 * math/w_remainderl.c: Likewise.
10139 * math/w_scalb.c: Likewise.
10140 * math/w_scalbf.c: Likewise.
10141 * math/w_scalbl.c: Likewise.
10142 * math/w_sqrt.c: Likewise.
10143 * math/w_sqrtf.c: Likewise.
10144 * math/w_sqrtl.c: Likewise.
10145 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10146 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10147 used.
10148 * math/math_private.h: Declare __kernel_standard_f.
10149 * math/w_cosh.c: Remove cruft and optimize a bit.
10150 * math/w_coshf.c: Likewise.
10151 * math/w_coshl.c: Likewise.
10152 * math/w_exp2.c: Likewise.
10153 * math/w_exp2f.c: Likewise.
10154 * math/w_exp2l.c: Likewise.
10155 * math/w_hypot.c: Likewise.
10156 * math/w_hypotf.c: Likewise.
10157 * math/w_hypotl.c: Likewise.
10158 * math/w_lgamma.c: Likewise.
10159 * math/w_lgamma_r.c: Likewise.
10160 * math/w_lgammaf.c: Likewise.
10161 * math/w_lgammaf_r.c: Likewise.
10162 * math/w_lgammal.c: Likewise.
10163 * math/w_lgammal_r.c: Likewise.
10164 * math/w_sinh.c: Likewise.
10165 * math/w_sinhf.c: Likewise.
10166 * math/w_sinhl.c: Likewise.
10167 * math/w_tgamma.c: Likewise.
10168 * math/w_tgammaf.c: Likewise.
10169 * math/w_tgammal.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10171 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10172 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10173 Minor optimizations. Pretty printing. Remove cruft.
10174 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10175 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10176 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10177 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10178 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10179 * sysdeps/i386/fpu/e_asin.S: Likewise.
10180 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10181 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10182 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10183 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10184 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10185 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10186 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10187 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10188 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10189 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10190 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10191 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10192 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10193 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10194 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10195 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10196 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10197 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10198 * sysdeps/i386/fpu/e_log.S: Likewise.
10199 * sysdeps/i386/fpu/e_log10.S: Likewise.
10200 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10201 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10202 * sysdeps/i386/fpu/e_log2.S: Likewise.
10203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10205 * sysdeps/i386/fpu/e_logf.S: Likewise.
10206 * sysdeps/i386/fpu/e_logl.S: Likewise.
10207 * sysdeps/i386/fpu/e_pow.S: Likewise.
10208 * sysdeps/i386/fpu/e_powf.S: Likewise.
10209 * sysdeps/i386/fpu/e_powl.S: Likewise.
10210 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10211 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10212 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10213 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10214 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10215 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10216 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10217 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10218 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10240 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10243 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10244 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10245 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10246 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10247 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10248 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10249 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10250 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10251 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10253 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10254 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10255 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10256 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10257 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10258 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10259 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10260 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10310 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10311 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10312 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10313 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10314 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10315 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10316 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10317 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10318 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10319 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10320 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10321 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10322 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10324 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10325 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10327 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10328 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10329 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10330 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10331 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10332 (__isnanf): Likewise.
10333 (__isinf_ns): Likewise.
10334 (__isinf_nsf): Likewise.
10335 (__finite): Likewise.
10336 (__finitef): Likewise.
10337 (__ieee754_sqrt): Define as macro.
10338 (__ieee754_sqrtf): Define as macro.
10339 (__ieee754_sqrtl): Define as macro.
10340 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10341 inlined copy.
10342 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10343 __FINITE_MATH_ONLY__ consistent.
10344 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10345
12cc2fcd
AS
103462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10347
a843a204
AS
10348 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10349 of rawmemchr.
10350
12cc2fcd
AS
10351 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10352
c853acd5
UD
103532011-10-09 Ulrich Drepper <drepper@gmail.com>
10354
10355 * po/ja.po: Update from translation team.
10356
c658d255
RM
103572011-10-08 Roland McGrath <roland@hack.frob.com>
10358
110946e4
RM
10359 * locale/programs/locarchive.c (prepare_address_space): New function.
10360 (create_archive, enlarge_archive, open_archive): Use it.
10361
50604220
RM
10362 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10363 inside [SHARED], where it is used.
10364
c658d255
RM
10365 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10366
10367 * nss/getent.c (netgroup_keys): Remove unused variable.
10368 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10369
6a621eb7
UD
103702011-10-08 Ulrich Drepper <drepper@gmail.com>
10371
7edb55ce
UD
10372 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10373 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10376 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10377 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10378 * math/Makefile (libm-calls): Add s_isinf_ns.
10379 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10380 * math/multc3.c: Likewise.
10381 * math/s_casin.c: Likewise.
10382 * math/s_casinf.c: Likewise.
10383 * math/s_casinl.c: Likewise.
10384 * math/s_ccos.c: Likewise.
10385 * math/s_ccosf.c: Likewise.
10386 * math/s_ccosl.c: Likewise.
10387 * math/s_ctan.c: Likewise.
10388 * math/s_ctanf.c: Likewise.
10389 * math/s_ctanh.c: Likewise.
10390 * math/s_ctanhf.c: Likewise.
10391 * math/s_ctanhl.c: Likewise.
10392 * math/s_ctanl.c: Likewise.
10393 * math/w_fmod.c: Likewise.
10394 * math/w_fmodf.c: Likewise.
10395 * math/w_fmodl.c: Likewise.
10396 * math/w_remainder.c: Likewise.
10397 * math/w_remainderf.c: Likewise.
10398 * math/w_remainderl.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10400 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10401 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10403 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10404 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10405 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10406 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10407
187da0ae
UD
10408 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10409 of the number.
10410 * stdio-common/printf_fphex.c: Likewise.
10411 * stdio-common/printf_size.c: Likewise.
10412
9277c064
UD
10413 * math/e_exp10.c: Include math_private.h using <...> not "...".
10414 * math/e_exp10f.c: Likewise.
10415 * math/e_exp10l.c: Likewise.
10416 * math/e_exp2l.c: Likewise.
10417 * math/e_j0l.c: Likewise.
10418 * math/e_j1l.c: Likewise.
10419 * math/e_jnl.c: Likewise.
10420 * math/e_lgammal_r.c: Likewise.
10421 * math/e_rem_pio2l.c: Likewise.
10422 * math/e_scalb.c: Likewise.
10423 * math/e_scalbf.c: Likewise.
10424 * math/e_scalbl.c: Likewise.
10425 * math/k_cosl.c: Likewise.
10426 * math/k_sinl.c: Likewise.
10427 * math/k_tanl.c: Likewise.
10428 * math/s_cacoshf.c: Likewise.
10429 * math/s_catan.c: Likewise.
10430 * math/s_catanf.c: Likewise.
10431 * math/s_catanh.c: Likewise.
10432 * math/s_catanhf.c: Likewise.
10433 * math/s_catanhl.c: Likewise.
10434 * math/s_catanl.c: Likewise.
10435 * math/s_ccosh.c: Likewise.
10436 * math/s_ccoshf.c: Likewise.
10437 * math/s_ccoshl.c: Likewise.
10438 * math/s_cexp.c: Likewise.
10439 * math/s_cexpf.c: Likewise.
10440 * math/s_cexpl.c: Likewise.
10441 * math/s_clog.c: Likewise.
10442 * math/s_clog10.c: Likewise.
10443 * math/s_clog10f.c: Likewise.
10444 * math/s_clog10l.c: Likewise.
10445 * math/s_clogf.c: Likewise.
10446 * math/s_clogl.c: Likewise.
10447 * math/s_csin.c: Likewise.
10448 * math/s_csinf.c: Likewise.
10449 * math/s_csinh.c: Likewise.
10450 * math/s_csinhf.c: Likewise.
10451 * math/s_csinhl.c: Likewise.
10452 * math/s_csinl.c: Likewise.
10453 * math/s_csqrt.c: Likewise.
10454 * math/s_csqrtf.c: Likewise.
10455 * math/s_csqrtl.c: Likewise.
10456 * math/s_ctan.c: Likewise.
10457 * math/s_ctanf.c: Likewise.
10458 * math/s_ctanh.c: Likewise.
10459 * math/s_ctanhf.c: Likewise.
10460 * math/s_ctanhl.c: Likewise.
10461 * math/s_ctanl.c: Likewise.
10462 * math/s_ldexp.c: Likewise.
10463 * math/s_ldexpf.c: Likewise.
10464 * math/s_ldexpl.c: Likewise.
10465 * math/s_significand.c: Likewise.
10466 * math/s_significandf.c: Likewise.
10467 * math/s_significandl.c: Likewise.
10468 * math/w_acos.c: Likewise.
10469 * math/w_acosf.c: Likewise.
10470 * math/w_acosh.c: Likewise.
10471 * math/w_acoshf.c: Likewise.
10472 * math/w_acoshl.c: Likewise.
10473 * math/w_acosl.c: Likewise.
10474 * math/w_asin.c: Likewise.
10475 * math/w_asinf.c: Likewise.
10476 * math/w_asinl.c: Likewise.
10477 * math/w_atan2.c: Likewise.
10478 * math/w_atan2f.c: Likewise.
10479 * math/w_atan2l.c: Likewise.
10480 * math/w_atanh.c: Likewise.
10481 * math/w_atanhf.c: Likewise.
10482 * math/w_atanhl.c: Likewise.
10483 * math/w_cosh.c: Likewise.
10484 * math/w_coshf.c: Likewise.
10485 * math/w_coshl.c: Likewise.
10486 * math/w_dremf.c: Likewise.
10487 * math/w_exp10.c: Likewise.
10488 * math/w_exp10f.c: Likewise.
10489 * math/w_exp10l.c: Likewise.
10490 * math/w_exp2.c: Likewise.
10491 * math/w_exp2f.c: Likewise.
10492 * math/w_fmod.c: Likewise.
10493 * math/w_fmodf.c: Likewise.
10494 * math/w_fmodl.c: Likewise.
10495 * math/w_hypot.c: Likewise.
10496 * math/w_hypotf.c: Likewise.
10497 * math/w_hypotl.c: Likewise.
10498 * math/w_j0.c: Likewise.
10499 * math/w_j0f.c: Likewise.
10500 * math/w_j0l.c: Likewise.
10501 * math/w_j1.c: Likewise.
10502 * math/w_j1f.c: Likewise.
10503 * math/w_j1l.c: Likewise.
10504 * math/w_jn.c: Likewise.
10505 * math/w_jnf.c: Likewise.
10506 * math/w_jnl.c: Likewise.
10507 * math/w_lgamma.c: Likewise.
10508 * math/w_lgamma_r.c: Likewise.
10509 * math/w_lgammaf.c: Likewise.
10510 * math/w_lgammaf_r.c: Likewise.
10511 * math/w_lgammal.c: Likewise.
10512 * math/w_lgammal_r.c: Likewise.
10513 * math/w_log.c: Likewise.
10514 * math/w_log10.c: Likewise.
10515 * math/w_log10f.c: Likewise.
10516 * math/w_log10l.c: Likewise.
10517 * math/w_log2.c: Likewise.
10518 * math/w_log2f.c: Likewise.
10519 * math/w_log2l.c: Likewise.
10520 * math/w_logf.c: Likewise.
10521 * math/w_logl.c: Likewise.
10522 * math/w_pow.c: Likewise.
10523 * math/w_powf.c: Likewise.
10524 * math/w_powl.c: Likewise.
10525 * math/w_remainder.c: Likewise.
10526 * math/w_remainderf.c: Likewise.
10527 * math/w_remainderl.c: Likewise.
10528 * math/w_scalb.c: Likewise.
10529 * math/w_scalbf.c: Likewise.
10530 * math/w_scalbl.c: Likewise.
10531 * math/w_sinh.c: Likewise.
10532 * math/w_sinhf.c: Likewise.
10533 * math/w_sinhl.c: Likewise.
10534 * math/w_sqrt.c: Likewise.
10535 * math/w_sqrtf.c: Likewise.
10536 * math/w_sqrtl.c: Likewise.
10537 * math/w_tgamma.c: Likewise.
10538 * math/w_tgammaf.c: Likewise.
10539 * math/w_tgammal.c: Likewise.
10540
6a621eb7
UD
10541 * po/ja.po: Update from translation team.
10542
bf582445
AJ
105432011-09-29 Andreas Jaeger <aj@suse.de>
10544
f9efbf3a
AJ
10545 [BZ #13179]
10546 * sunrpc/netname.c (netname2host): Fix logic.
10547
bf582445
AJ
10548 [BZ #6779]
10549 [BZ #6783]
10550 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10551 correctly.
10552 * math/w_remainder.c (__remainder): Likewise.
10553 * math/w_remainderf.c (__remainderf): Likewise.
10554 * math/libm-test.inc (remainder_test): Add test cases.
10555
48693bea
AK
105562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10557
10558 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10559 sdiv_qrnnd.
10560
42622229
LD
105612011-10-07 Ulrich Drepper <drepper@gmail.com>
10562
10563 * string/test-memcmp.c: Avoid unncessary #defines.
10564 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10565
093ecf92
LD
105662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10567
10568 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10569 Use new sse2 version for core i3 - i7 as it's faster
10570 than sse42 version.
10571 (bit_Prefer_PMINUB_for_stringop): New.
10572 * sysdeps/x86_64/rawmemchr.S: Update.
10573 Replace with faster SSE2 version.
10574 * sysdeps/x86_64/memrchr.S: New file.
10575 * sysdeps/x86_64/memchr.S: Update.
10576 Replace with faster SSE2 version.
10577
fde56e5c
MP
105782011-09-12 Marek Polacek <mpolacek@redhat.com>
10579
10580 * elf/dl-load.c (lose): Add cast to avoid warning.
10581
21fd49a9
UD
105822011-10-07 Ulrich Drepper <drepper@gmail.com>
10583
5a06e643
UD
10584 * po/ca.po: Update from translation team.
10585
684ae515
UD
10586 * inet/getnetgrent_r.c: Hook up nscd.
10587 * nscd/Makefile (routines): Add nscd_netgroup.
10588 (nscd-modules): Add netgroupcache.
10589 (CFLAGS-netgroupcache.c): Define.
10590 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10591 (cache_search): Add const to second parameter.
10592 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10593 INNETGR.
10594 (dbs): Add netgrdb entry.
10595 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10596 (verify_persistent_db): Handle netgrdb.
10597 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10598 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10599 GETFDNETGR.
10600 (netgroup_response_header): Define.
10601 (innetgroup_response_header): Define.
10602 (datahead): Add netgroup_response_header and innetgroup_response_header
10603 elements.
10604 * nscd/nscd.conf: Add entries for netgroup cache.
10605 * nscd/nscd.h (dbtype): Add netgrdb.
10606 (_PATH_NSCD_NETGROUP_DB): Define.
10607 (netgroup_iov_disabled): Declare.
10608 (xmalloc, xcalloc, xrealloc): Move declarations here.
10609 (cache_search): Adjust prototype.
10610 Add netgroup-related prototypes.
10611 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10612 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10613 (__nscd_innetgr): Declare.
10614 * nscd/selinux.c (perms): Use access_vector_t as element type and
10615 add netgroup-related initializers.
10616 * nscd/netgroupcache.c: New file.
10617 * nscd/nscd_netgroup.c: New file.
10618 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10619 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10620 For four parameters use innetgr.
10621 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10622 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10623 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10624 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10625
21fd49a9
UD
10626 * nscd/connections.c (register_traced_file): Don't register file
10627 for disabled databases.
10628
054c0457
UD
106292011-10-06 Ulrich Drepper <drepper@gmail.com>
10630
32b63198
UD
10631 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10632
054c0457
UD
10633 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10634 from tree and freeing node.
10635
64031225
JO
106362011-09-25 Jiri Olsa <jolsa@redhat.com>
10637
10638 * nss/nsswitch.c (__nss_database_lookup): Handle
10639 nss_parse_service_list out of memory case.
10640
0490345c
JO
106412011-09-15 Jiri Olsa <jolsa@redhat.com>
10642
10643 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10644 out of memory case.
10645
3a62d00d
AS
106462011-10-04 Andreas Schwab <schwab@redhat.com>
10647
10648 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10649 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10650 pass it down.
10651 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10652 elf_machine_rela, elf_machine_lazy_rel.
10653 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10654 (ELF_DYNAMIC_DO_REL): Likewise.
10655 (ELF_DYNAMIC_DO_RELA): Likewise.
10656 (ELF_DYNAMIC_RELOCATE): Likewise.
10657 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10658 to ELF_DYNAMIC_DO_REL.
10659 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10660 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10661 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10662 elf_machine_rela.
10663 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10664 skip_ifunc, don't call ifunc function if non-zero.
10665 (elf_machine_rela): Likewise.
10666 (elf_machine_lazy_rel): Likewise.
10667 (elf_machine_lazy_rela): Likewise.
10668 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10669 (elf_machine_lazy_rel): Likewise.
10670 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10671 Likewise.
10672 (elf_machine_lazy_rel): Likewise.
10673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10674 Likewise.
10675 (elf_machine_lazy_rel): Likewise.
10676 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10677 (elf_machine_lazy_rel): Likewise.
10678 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10679 (elf_machine_lazy_rel): Likewise.
10680 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10681 (elf_machine_lazy_rel): Likewise.
10682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10683 (elf_machine_lazy_rel): Likewise.
10684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10685 (elf_machine_lazy_rel): Likewise.
10686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10687 (elf_machine_lazy_rel): Likewise.
10688
68577918
UD
106892011-09-28 Ulrich Drepper <drepper@gmail.com>
10690
10691 * nss/nss_files/files-init.c (_nss_files_init): Use static
10692 initialization for all the *_traced_file variables.
10693
68822d74
AS
106942011-09-28 Andreas Schwab <schwab@redhat.com>
10695
10696 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10697
2056100b
RM
106982011-09-27 Roland McGrath <roland@hack.frob.com>
10699
10700 [BZ #13226]
10701 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10702
32c76b63
AS
107032011-09-27 Andreas Schwab <schwab@redhat.com>
10704
10705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10706 Reread the line before reparsing it.
10707
bf972c9d
AS
107082011-09-26 Andreas Schwab <schwab@redhat.com>
10709
10710 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10711
e057a1b5
JM
107122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10713 Maxim Kuvyrkov <maxim@codesourcery.com>
10714 Joseph Myers <joseph@codesourcery.com>
10715
10716 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10717 if needed for __stack_chk_guard.
10718
bc7e1c36
RM
107192011-09-19 Roland McGrath <roland@hack.frob.com>
10720
ecb1482f
RM
10721 * sysdeps/posix/spawni.c (script_execute): Always define it.
10722 It will be optimized away if unused.
10723 (maybe_script_execute): New function.
10724 (__spawni): Call it.
10725
bc7e1c36
RM
10726 * Makerules: Don't include tls.make.
10727 (config-tls): Always set to thread.
10728 * tls.make.c: File removed.
10729
1c3b002b
MF
107302011-09-19 Mike Frysinger <vapier@gentoo.org>
10731
10732 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10733 * config.make.in (CPPFLAGS-config): New substituted variable.
10734
2840865d
UD
107352011-09-15 Ulrich Drepper <drepper@gmail.com>
10736
88738eb6
UD
10737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10738
cbf645a6 10739 [BZ #13192]
2840865d
UD
10740 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10741 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10742
b402e91a
RM
107432011-09-15 Roland McGrath <roland@hack.frob.com>
10744
10745 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10746 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10748 (CALL_FAIL): Likewise.
10749 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10750 (CALL_FAIL): Macro removed.
10751 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10752
4c1a1f71
UD
107532011-09-15 Ulrich Drepper <drepper@gmail.com>
10754
10755 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10756 for __FINITE_MATH_ONLY__ == 1.
10757
edc121be
AS
107582011-09-15 Andreas Schwab <schwab@redhat.com>
10759
10760 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10761 __ieee754_sqrt instead of sqrt.
10762 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10763 __ieee754_sqrtf instead of sqrtf.
10764 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10765 __floorf instead of floorf.
10766 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10767 __floorf, __truncf instead of floorf, truncf.
10768
cd205654
UD
107692011-09-14 Ulrich Drepper <drepper@gmail.com>
10770
ee4d0315
UD
10771 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10772
cd205654
UD
10773 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10774 __extern_always_inline.
10775 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10776 32-bit.
10777
48b67d71
AS
107782011-09-14 Andreas Schwab <schwab@redhat.com>
10779
10780 * elf/rtld.c (dl_main): Also relocate in dependency order when
10781 doing symbol dependency testing.
10782
1ae12c75
AS
107832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10784
10785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10786 Always define `refsym'.
10787
995a80df
AS
107882011-09-13 Andreas Schwab <schwab@redhat.com>
10789
e529793b
AS
10790 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10791 (__FD_ELT): Renamed from __FDELT.
10792 * misc/bits/select2.h (__FD_ELT): Likewise.
10793 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10794 __FD_MASK instead of __FDELT, __FDMASK.
10795 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10796 Likewise.
10797 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10798 Likewise.
10799
52d4fef8
AS
10800 * elf/Makefile (gen-ldd): Fix pattern.
10801
995a80df
AS
10802 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10803 (init_tls): Likewise.
10804
8682f8b0
UD
108052011-09-12 Ulrich Drepper <drepper@gmail.com>
10806
10807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10808
de82006d
AS
108092011-09-12 Andreas Schwab <schwab@redhat.com>
10810
a7c8e6a1
AS
10811 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10812 `struct cmsghdr *' instead of `void *'.
10813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10814 Likewise.
10815
0f31fe77
AS
108162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10817
10818 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10819 if non-absolute.
10820 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10821 ldd_rewrite_script.
0f31fe77 10822
32b4c839
UD
108232011-09-11 Ulrich Drepper <drepper@gmail.com>
10824
83cd1420
UD
10825 * configure.in: Remove --with-tls option.
10826 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10827 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10828 out in case it is missing.
10829 * sysdeps/ia64/elf/configure.in: Likewise.
10830 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10831 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10832 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10833 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10834 * sysdeps/sh/elf/configure.in: Likewise.
10835 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10836 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10837 * sysdeps/x86_64/elf/configure.in: Likewise.
10838 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10839 * sysdeps/mach/hurd/tls.h: Likewise.
10840
633f745d
UD
10841 [BZ #13067]
10842 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10843
f318beb8
UD
10844 [BZ #13090]
10845 * configure.in: Fix use of AC_INIT.
10846
32b4c839
UD
10847 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10848
3ce1f295
UD
108492011-09-10 Ulrich Drepper <drepper@gmail.com>
10850
bb016596
UD
10851 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10852 __set_errno.
8e58439c
UD
10853 * malloc/hooks.c: Likewise.
10854
aebae053 10855 [BZ #11929]
02d46fc4
UD
10856 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10857 variables statically.
10858 (narenas): Initialize.
10859 (list_lock): Initialize.
bb016596
UD
10860 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10861 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10862 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10863 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10864 Add initializers to main_arena and mp_.
10865 (malloc_state): Remove pagesize member. Change all users to use
10866 GLRO(dl_pagesize).
10867
10868 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10869 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10870 is always initialized.
10871
22a89187
UD
10872 * malloc/malloc.c: Removed unused configurations and dead code.
10873 * malloc/arena.c: Likewise.
10874 * malloc/hooks.c: Likewise.
02d46fc4 10875 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10876
d063d164
UD
10877 * include/tls.h: Removed. USE___THREAD must always be defined.
10878 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10879 * elf/dl-libc.c: Likewise.
10880 * elf/dl-tsd.c: Likewise.
10881 * include/errno.h: Likewise.
10882 * include/netdb.h: Likewise.
10883 * include/resolv.h: Likewise.
10884 * inet/herrno-loc.c: Likewise.
10885 * inet/herrno.c: Likewise.
10886 * malloc/arena.c: Likewise.
10887 * malloc/hooks.c: Likewise.
10888 * malloc/malloc.c: Likewise.
10889 * resolv/res-state.c: Likewise.
10890 * resolv/res_libc.c: Likewise.
10891 * sysdeps/i386/dl-machine.h: Likewise.
10892 * sysdeps/ia64/dl-machine.h: Likewise.
10893 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10894 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10895 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10896 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10897 * sysdeps/sh/dl-machine.h: Likewise.
10898 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10900 * sysdeps/unix/i386/sysdep.S: Likewise.
10901 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10902 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10907 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10911 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10912 * sysdeps/x86_64/dl-machine.h: Likewise.
10913 * tls.make.c: Likewise.
10914
3ce1f295
UD
10915 * configure.in: Remove --with-__thread option. Make tests for
10916 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10917 tls_model attribute fail if no support is available. Remove
10918 USE_IN_LIBIO.
10919 * Makeconfig: Adjust for dropped configure option. All features are
10920 now mandatory.
10921 * Makerules: Likewise.
10922 * Versions.def: Likewise.
10923 * argp/argp-fmtstream.c: Likewise.
10924 * argp/argp-fmtstream.h: Likewise.
10925 * argp/argp-help.c: Likewise.
10926 * assert/assert.c: Likewise.
10927 * config.h.in: Likewise.
10928 * config.make.in: Likewise.
10929 * configure: Likewise.
10930 * configure.in: Likewise.
10931 * csu/Versions: Likewise.
10932 * csu/init.c: Likewise.
10933 * elf/tst-audit2.c: Likewise.
10934 * elf/tst-tls10.c: Likewise.
10935 * elf/tst-tls10.h: Likewise.
10936 * elf/tst-tls11.c: Likewise.
10937 * elf/tst-tls12.c: Likewise.
10938 * elf/tst-tls14.c: Likewise.
10939 * elf/tst-tlsmod11.c: Likewise.
10940 * elf/tst-tlsmod12.c: Likewise.
10941 * elf/tst-tlsmod13.c: Likewise.
10942 * elf/tst-tlsmod13a.c: Likewise.
10943 * elf/tst-tlsmod14a.c: Likewise.
10944 * elf/tst-tlsmod15b.c: Likewise.
10945 * elf/tst-tlsmod16a.c: Likewise.
10946 * elf/tst-tlsmod16b.c: Likewise.
10947 * elf/tst-tlsmod7.c: Likewise.
10948 * elf/tst-tlsmod8.c: Likewise.
10949 * elf/tst-tlsmod9.c: Likewise.
10950 * gmon/gmon.c: Likewise.
10951 * grp/fgetgrent_r.c: Likewise.
10952 * grp/putgrent.c: Likewise.
10953 * hurd/fopenport.c: Likewise.
10954 * include/libc-symbols.h: Likewise.
10955 * include/tls.h: Likewise.
10956 * intl/gettextP.h: Likewise.
10957 * intl/loadinfo.h: Likewise.
10958 * locale/global-locale.c: Likewise.
10959 * locale/localeinfo.h: Likewise.
10960 * mach/devstream.c: Likewise.
10961 * malloc/arena.c: Likewise.
10962 * malloc/set-freeres.c: Likewise.
10963 * misc/err.c: Likewise.
10964 * misc/getttyent.c: Likewise.
10965 * misc/mntent_r.c: Likewise.
10966 * posix/getopt.c: Likewise.
10967 * posix/wordexp.c: Likewise.
10968 * pwd/fgetpwent_r.c: Likewise.
10969 * resolv/Versions: Likewise.
10970 * resolv/res_hconf.c: Likewise.
10971 * shadow/fgetspent_r.c: Likewise.
10972 * shadow/putspent.c: Likewise.
10973 * stdio-common/printf_fphex.c: Likewise.
10974 * stdio-common/tmpfile.c: Likewise.
10975 * stdlib/abort.c: Likewise.
10976 * stdlib/fmtmsg.c: Likewise.
10977 * sunrpc/auth_unix.c: Likewise.
10978 * sunrpc/clnt_perr.c: Likewise.
10979 * sunrpc/clnt_tcp.c: Likewise.
10980 * sunrpc/clnt_udp.c: Likewise.
10981 * sunrpc/clnt_unix.c: Likewise.
10982 * sunrpc/openchild.c: Likewise.
10983 * sunrpc/svc_simple.c: Likewise.
10984 * sunrpc/svc_tcp.c: Likewise.
10985 * sunrpc/svc_udp.c: Likewise.
10986 * sunrpc/svc_unix.c: Likewise.
10987 * sunrpc/xdr.c: Likewise.
10988 * sunrpc/xdr_array.c: Likewise.
10989 * sunrpc/xdr_rec.c: Likewise.
10990 * sunrpc/xdr_ref.c: Likewise.
10991 * sunrpc/xdr_stdio.c: Likewise.
10992
1248c1c4
PB
109932011-09-09 Ulrich Drepper <drepper@gmail.com>
10994
10995 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10996
109972011-07-03 Andreas Jaeger <aj@suse.de>
10998
10999 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11000 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11001 regenerate with gen-libm-tests.pl.
11002
110032010-05-12 Petr Baudis <pasky@suse.cz>
11004
11005 [BZ #11589]
11006 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11007 around j0() zero points by switching to j1().
11008 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11012
f22e1074
UD
110132011-09-09 Ulrich Drepper <drepper@gmail.com>
11014
f19009c1
UD
11015 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11016 instead of 0.
11017 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11018 instead of 0. .
11019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11020 Patch in part by Pavel Roskin <proski@gnu.org>.
11021
3f8cc204
UD
11022 [BZ #13138]
11023 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11024 realloc.
11025 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11026 Free memory block if necessary.
11027
f22e1074
UD
11028 [BZ #12847]
11029 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11030 be NULL. Don't lock in this case.
11031
0a2349f9
RM
110322011-09-09 Roland McGrath <roland@hack.frob.com>
11033
11034 * elf/elf.h (ELFOSABI_GNU): New macro.
11035 (ELFOSABI_LINUX): Define to that.
11036
f3cdd467
DZ
110372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11038
11039 * string/strncat.c (strncat): Undef the symbol in case it has been
11040 defined in bits/string.h.
11041
74718d13
UD
110422011-09-09 Ulrich Drepper <drepper@gmail.com>
11043
633e9e0f
UD
11044 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11045
0a2349f9 11046 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11047 link map.
11048
f9924780
AJ
110492011-08-17 Andreas Jaeger <aj@suse.de>
11050
11051 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11052
7f5517aa
PP
110532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11054 Ian Lance Taylor <iant@google.com>
11055
11056 * math/libm-test.inc (lround_test): New testcase.
11057 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11058
762011fe
UD
110592011-09-08 Ulrich Drepper <drepper@gmail.com>
11060
92963737
UD
11061 * Makefile: Remove support for automatic cvs check-ins.
11062 * Makerules: Likewise.
11063 * config.make.in: Likewise.
11064 * configure.in: Likewise.
11065 * intl/Makefile: Likewise.
11066 * locale/Makefile: Likewise.
11067 * po/Makefile: Likewise.
11068 * posix/Makefile: Likewise.
11069 * sysdeps/gnu/Makefile: Likewise.
11070 * sysdeps/mach/hurd/Makefile: Likewise.
11071 * sysdeps/sparc/sparc32/Makefile: Likewise.
11072
b0727fd8
JS
11073 [BZ #13118]
11074 * posix/Makefile (bug-regex32-ENV): Define.
11075 Patch by John Stanley <jpsinthemix@verizon.net>.
11076
a0f33f99
UD
11077 * misc/Makefile (headers): Add bits/select2.h.
11078 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11079 * misc/bits/select2.h: New file.
11080 * include/bits/select2.h: New file.
11081 * debug/Makefile (routines): Add fdelt_chk.
11082 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11083 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11084 FD_ISSET.
11085 * debug/fdelt_chk.c: New file.
11086
762011fe
UD
11087 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11088 * wcsmbs/test-wmemcmp.c: Likewise.
11089 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11090 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11091
110922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11093
11094 * string/Makefile (strop-tests): Add memcmp.
11095 * string/test-wmemcmp.c: New file.
11096 * string/test-memcmp.c: Add wmemcmp support.
11097
7f513ec8
RM
110982011-09-08 Roland McGrath <roland@hack.frob.com>
11099
0442afb4
RM
11100 [BZ #13153]
11101 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11102 2011-07-19 change.
11103
7f513ec8
RM
11104 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11105 garbage value in a __mach_port_mod_refs call in the cases of the
11106 task-self and thread-self ports.
11107
a12b2239
ST
111082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11109
11110 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11111
610f9ab4
AS
111122011-09-08 Andreas Schwab <schwab@redhat.com>
11113
7f513ec8 11114 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11115
48882a1a
LD
111162011-09-07 Ulrich Drepper <drepper@gmail.com>
11117
b49865be
UD
11118 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11119
fdc86bc9
UD
11120 * elf/dl-libc.c (dlerror_run): Pass back error code from
11121 dl_catch_error.
11122
c966526a
UD
11123 [BZ #13123]
11124 * elf/dl-load.c (lose): Free l_origin if it is valid.
11125
48882a1a
LD
11126 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11127 names.
11128 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11131 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11132 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11133 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11134
77a2a8b4
AZ
111352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11136
11137 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11138 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11139 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11140 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11141 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11142 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11143 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11144 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11145 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11146 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11147
24f579d8
AM
111482011-08-15 Alan Modra <amodra@gmail.com>
11149
11150 [BZ #13092]
11151 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11152 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11153 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11154 ppc_mcount to static-only-routines.
11155 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11156 __mcount_internal.
11157 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11158 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11159
3d4837df
UD
111602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11161
11162 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11163 for finite and infinity parameters.
11164
22700377
WS
111652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11166
11167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11168 and add nop instructions for throughput optimization.
11169 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11170
5025581e
WS
111712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11172
11173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11174 aligned copy for power7 with vector-scalar instructions.
11175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11176
08a300c9
L
111772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11178
11179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11180 AVX check.
11181
59178ef9
AS
111822011-09-07 Andreas Schwab <schwab@redhat.com>
11183
11184 [BZ #13144]
11185 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11186 last change.
11187
e38ba7ab
UD
111882011-09-07 Ulrich Drepper <drepper@gmail.com>
11189
11190 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11191 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11192 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11193 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11194 clock_gettime.
11195
d53a73ac
UD
111962011-09-06 Ulrich Drepper <drepper@gmail.com>
11197
fc8bffcc
UD
11198 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11199 Forgot to demangle the pointer.
11200
ceaa0c5d
UD
11201 * sysdeps/i386/sysdep.h: Define atom_text_section.
11202 * sysdeps/x86_64/sysdep.h: Likewise.
11203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11204 section with atom_text_section.
11205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11206 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11210
a77d3c17
UD
11211 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11212 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11213 already be defined. Change to take two parameters and don't assign
11214 result to variable. Adjust all users.
11215 Define INTERNAL_GETTIME if not already defined.
11216 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11217 call.
11218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11219 HAVE_CLOCK_GETTIME_VSYSCALL.
11220 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11221
d53a73ac
UD
11222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11223 gettimeofday vsyscall, just use time.
11224
a8f84144
AS
112252011-09-06 Andreas Schwab <schwab@redhat.com>
11226
11227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11228 <errno.h>.
11229
ef606249
UD
112302011-09-06 Ulrich Drepper <drepper@gmail.com>
11231
11232 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11233 syscall on x86-64.
11234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11235 syscall.
11236 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11237 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11238 syscall if possible.
11239
6585cb60
UD
112402011-09-05 Ulrich Drepper <drepper@gmail.com>
11241
11242 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11243 e_ident. Don't pass to find_mapsXX.
11244 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11245
a5f524e4
LD
112462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11247
11248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11249 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11250 * sysdeps/x86_64/multiarch/strchr.S: Update.
11251 Check bit_slow_BSF bit.
11252 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11253 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11254 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11255
554881ef
UD
112562011-09-05 Ulrich Drepper <drepper@gmail.com>
11257
d96de963
UD
11258 [BZ #13134]
11259 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11260 before glibc 2.15.
11261 (tryshell): Define.
11262 (__spawni): Change last parameter to be flag. Test
11263 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11264 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11265 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11266 * posix/spawni.c: Likewise.
11267 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11268 * posix/spawnp.c: Likewise. Change normal version to use
11269 SPAWN_XFLAGS_USE_PATH.
11270 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11271 SPAWN_XFLAGS_TRY_SHELL.
11272
d48e5868
UD
11273 [BZ #13150]
11274 * posix/glob.h: Remove gcc 1.x support.
11275
554881ef
UD
11276 [BZ #13068]
11277 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11278
693fb948
LD
112792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11280
11281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11282 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11283 strrchr-sse2-bsf
11284 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11285 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11286 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11288 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11290
1b48c537
UD
112912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11292
49d42c37
UD
11293 * sysdeps/x86_64/wcscmp.S: New file.
11294
1b48c537
UD
11295 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11296 wcscmp-c wcscmp-sse2
11297 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11298 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11299 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11300 * wcsmbs/wcscmp.c: Allow renaming.
11301
15c95c5d
DM
113022011-09-05 David S. Miller <davem@davemloft.net>
11303
11304 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11305 stack slot, rather than the struct return pointer slot.
11306 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11307 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11309 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11310
2f0ad8f3
UD
113112011-09-05 Ulrich Drepper <drepper@gmail.com>
11312
d88ae418
UD
11313 * po/ja.po: Update from translation team.
11314
2f0ad8f3
UD
11315 [BZ #13144]
11316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11317 kernel in 64-bit binaries.
11318
5f4318d1
DM
113192011-09-01 David S. Miller <davem@davemloft.net>
11320
11321 * elf/elf.h (HWCAP_SPARC_*): Move to..
11322 * sysdeps/sparc/sysdep.h: this new file and add new values.
11323 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11324 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11325 _DL_HWCAP_COUNT to 24.
11326 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11327 entries.
11328 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11329 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11330 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11332 instead of magic constants.
11333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11334
3ba57516
DM
113352011-08-31 David S. Miller <davem@davemloft.net>
11336
11337 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11339 Reimplement to do errno handling inline.
11340 (SYSCALL_ERROR_HANDLER): New macro.
11341 (__SYSCALL_STRING): Do not do errno handling in asm.
11342 (__CLONE_SYSCALL_STRING): Delete.
11343 (__INTERNAL_SYSCALL_STRING): Delete.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11345 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11346 (PSEUDO): Reimplement to do errno handling inline.
11347 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11348 (SYSCALL_ERROR_HANDLER): New macro.
11349 (__SYSCALL_STRING): Do not do errno handling in asm.
11350 (__CLONE_SYSCALL_STRING): Delete.
11351 (__INTERNAL_SYSCALL_STRING): Delete.
11352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11353 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11354 i386.
11355 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11356 (inline_syscall*): Add 'err' argument.
11357 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11358 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11359 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11360 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11361
11362 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11363 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11364
2bc17433
AS
113652011-08-30 Andreas Schwab <schwab@redhat.com>
11366
11367 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11368
fbeb5f4d
JO
113692011-08-29 Jiri Olsa <jolsa@redhat.com>
11370
11371 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11372 directive.
11373
ad69cc26
DM
113742011-08-24 David S. Miller <davem@davemloft.net>
11375
11376 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11377
39dd69df
AS
113782011-08-24 Andreas Schwab <schwab@redhat.com>
11379
11380 * elf/Makefile: Add rules to build and run unload8 test.
11381 * elf/unload8.c: New file.
11382 * elf/unload8mod1.c: New file.
11383 * elf/unload8mod1x.c: New file.
11384 * elf/unload8mod2.c: New file.
11385 * elf/unload8mod3.c: New file.
11386
11387 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11388 it wasn't used.
11389
2c0b250a
DM
113902011-08-23 David S. Miller <davem@davemloft.net>
11391
11392 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11393 subtract stack bias.
11394 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11395 %sp not %fp in calculations.
11396 (_JMPBUF_UNWINDS_ADJ): Likewise.
11397
22044b48
DM
11398 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11399 (aio_suspend): Call it to force an exception region around the
11400 AIO_MISC_WAIT() invocation.
11401
2cae4995
AS
114022011-08-23 Andreas Schwab <schwab@redhat.com>
11403
11404 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11405 backslash.
11406
873a772e
AJ
114072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11408
11409 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11410 protection macro.
11411 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11412 and <dl-machine.h>.
11413 (Elf64_FuncDesc): Remove.
11414
25ad0df1
DM
114152011-08-22 David S. Miller <davem@davemloft.net>
11416
11417 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11418 sigaltstack check, add missing cfi directives.
11419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11420 missing cfi directives, and sigaltstack handling.
11421
e888bcbe
AS
114222011-08-16 Andreas Schwab <schwab@redhat.com>
11423
11424 [BZ #11724]
11425 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11426 object is seen twice.
11427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11428
11429 * elf/Makefile (distribute): Add tst-initorder2.c.
11430 (tests): Add tst-initorder2.
11431 (modules-names): Add tst-initorder2a tst-initorder2b
11432 tst-initorder2c tst-initorder2d. Add rules to build them.
11433 ($(objpfx)tst-initorder2.out): New rule.
11434 * elf/tst-initorder2.c: New file.
11435 * elf/tst-initorder2.exp: New file.
11436
87162f46
AS
114372011-08-22 Andreas Schwab <schwab@redhat.com>
11438
70538b7f
AS
11439 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11440
f55ffe58
AS
11441 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11442 dependencies back to end of function.
11443
87162f46
AS
11444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11445 $(elfobjdir)/ld.so.
11446
91b392a4
UD
114472011-08-21 Ulrich Drepper <drepper@gmail.com>
11448
11449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11450 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11452 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11453 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11454 of __vdso_gettimeofday.
11455 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11456 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11457 attribute_hidden.
11458 (_libc_vdso_platform_setup): Remove initialization of
11459 __vdso_gettimeofday and __vdso_time.
11460
5c43483f
UD
114612011-08-20 Ulrich Drepper <drepper@gmail.com>
11462
775a77e7
UD
11463 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11464 and fgetc_unlocked.
11465 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11466 getc_unlocked.
89f447ed 11467
49c74ba9
UD
11468 * elf/dl-open.c (add_to_global): Report additions to the global scope
11469 for LD_DEBUG=scopes.
11470 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11471 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11472
5c43483f
UD
11473 [BZ #13114]
11474 * stdio-common/Makefile (tests): Add bug24.
11475 * stdio-common/bug24.c: New file.
11476
a101b025
AJ
114772011-08-19 Andreas Jaeger <aj@suse.de>
11478
11479 [BZ #13114]
11480 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11481 non-existant file when using close-on-exec mode.
11482
c88f1766
UD
114832011-08-20 Ulrich Drepper <drepper@gmail.com>
11484
0276a718
UD
11485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11486 the very first instruction.
11487
c88f1766
UD
11488 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11489 the CFI state in the end.
11490 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11491 inclusion of dl-trampoline.h.
11492 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11493
51ccffa0
AS
114942011-08-19 Andreas Schwab <schwab@redhat.com>
11495
94d7165f
AS
11496 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11497 expectations for long double.
11498
51ccffa0
AS
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11500 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11501
fd708658 115022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11503
11504 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11505 artificual limit depends upon the system page size.
11506
44f0a71e
UD
115072011-08-17 Ulrich Drepper <drepper@gmail.com>
11508
11509 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11510 * resolv/Makefile: Define CFLAGS-libresolv.
11511
8de79a24
AS
115122011-08-17 Andreas Schwab <schwab@redhat.com>
11513
11514 * nss/makedb.c (compute_tables): Make variables used in nested
11515 function static.
11516
27724598
UD
115172011-08-17 Ulrich Drepper <drepper@gmail.com>
11518
c5305d88
UD
11519 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11520 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11521 if buffer was too small.
11522
27724598
UD
11523 * elf/pldd.c (main): Attach to all threads in the process.
11524 Rewrite /proc handling to use *at functions.
11525
076fe015
UD
115262011-08-16 Ulrich Drepper <drepper@gmail.com>
11527
174baab3
UD
11528 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11529 specifies first scope to show.
11530 (dl_open_worker): Update callers. Move printing scope of new
11531 object to before the relocation.
44f0a71e 11532 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11533 * sysdeps/generic/ldsodefs.h: Update declaration.
11534
076fe015
UD
11535 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11536 string for the scope number.
11537
a60df2c3
UD
115382011-08-14 Ulrich Drepper <drepper@gmail.com>
11539
11540 * nscd/servicescache.c (cache_addserv): Make sure written is always
11541 initialized.
11542
5e4287d1
RM
115432011-08-14 Roland McGrath <roland@hack.frob.com>
11544
85ae0589
RM
11545 * sysdeps/i386/i486/bits/atomic.h
11546 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11547 statement expression, so as to suppress "set but not used" warning.
11548 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11549
69f63097
RM
11550 * string/strncat.c (STRNCAT): Use prototype definition.
11551
675456ef
RM
11552 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11553 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11554 -Iprograms here.
11555 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11556 (localedef-modules): Add localedef.
11557 (locale-modules): Add locale.
11558
5e4287d1
RM
11559 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11560 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11561 to avoid a warning.
11562
9c96ff23
DM
115632011-08-14 David S. Miller <davem@davemloft.net>
11564
11565 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11566 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11567
f9ddf089
UD
115682011-08-13 Ulrich Drepper <drepper@gmail.com>
11569
44f0a71e 11570 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11571 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11572 * elf/rtld.c (dl_main): Set l_name of vDSO.
11573 Call _dl_show_scope when DL_DEBUG_SCOPES.
11574 (process_dl_debug): Recognize scopes flag and also set it for all.
11575 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11576 Declare _dl_show_scope.
11577
1dc27704
UD
11578 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11579 (do_dlopen): Pass caller_dlopen to dl_open.
11580 (__libc_dlopen_mode): Initialize caller_dlopen.
11581
f9ddf089
UD
11582 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11583 of libc. Make tolower call locale-independent. Optimize a bit by
11584 using isdigit instead of isalnum.
11585 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11586
9ac533d3
UD
115872011-08-12 Ulrich Drepper <drepper@gmail.com>
11588
11589 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11590 was a dependency or dynamically loaded.
11591
89edf2e9
UD
115922011-08-11 Ulrich Drepper <drepper@gmail.com>
11593
8e999d29
UD
11594 * intl/l10nflist.c: Allow architecture-specific pop function.
11595 * sysdeps/x86_64/l10nflist.c: New file.
11596
89edf2e9
UD
11597 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11598 classification.
11599
14d96785
AS
116002011-08-10 Andreas Schwab <schwab@redhat.com>
11601
11602 * include/dirent.h: Add libc_hidden_proto for scandirat and
11603 scandirat64. Don't declare __scandirat64.
11604 * dirent/scandirat.c: Add libc_hidden_def.
11605 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11606 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11607
6761ac04
DM
116082011-08-10 David S. Miller <davem@davemloft.net>
11609
11610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11611 enum.
11612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11615
c55fbd1e
UD
116162011-08-09 Ulrich Drepper <drepper@gmail.com>
11617
11618 * Versions.def [libc]: Add GLIBC_2.15.
11619 * dirent/Makefile (routines): Add scandirat and scandirat64.
11620 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11621 GLIBC_2.15.
11622 * dirent/dirent.h: Declare scandirat and scandirat64.
11623 * dirent/scandirat.c: New file.
11624 * dirent/scandirat64.c: New file.
11625 * sysdeps/wordsize-64/scandirat.c: New file.
11626 * sysdeps/wordsize-64/scandirat64.c: New file.
11627 * dirent/opendir.c: Define opendirat.
11628 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11629 using scandirat.
11630 * dirent/scandir64.c: Adjust for scandir.c change.
11631 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11632 __scandirat64, and __scandir_cancel_handler.
11633 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11634 additional parameter and use openat instead of open (outside of ld.so).
11635 Add new __opendir as wrapper around __opendirat.
11636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11637 here without requiring old scandirat implementation.
11638
879165f2
UD
116392011-08-08 Ulrich Drepper <drepper@gmail.com>
11640
11641 * dirent/scandir.c (cancel_handler): Renamed to
11642 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11643 defined. Adjust users.
11644 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11645 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11646
cb7e923b
UD
116472011-08-04 Ulrich Drepper <drepper@gmail.com>
11648
16292edd
UD
11649 * string/test-string.h (IMPL): Use __STRING to expand name and then
11650 stringify it.
11651
cb7e923b
UD
11652 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11653 of cleanups.
11654
cff82933
LD
116552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11656
11657 * string/Makefile: Update.
11658 (strop-tests): Append strncat.
11659 * string/test-wcscmp.c: New file.
11660 New comprehensive test for wcscmp.
11661 * string/test-strcmp.c: Update.
11662 (WIDE): New define.
11663
9be9bfcc
AS
116642011-07-22 Andreas Schwab <schwab@redhat.com>
11665
11666 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11667 line.
11668
2e96f1c7
AS
116692011-07-26 Andreas Schwab <schwab@redhat.com>
11670
11671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11672 encoding to ACE if AI_IDN.
11673
85188888
JJ
116742011-08-01 Jakub Jelinek <jakub@redhat.com>
11675
11676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11677 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11678
5fa16e9b
LD
116792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11680
11681 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11682 Fix overflow bug in strncat.
11683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11684
11685 * string/test-strncat.c: Update.
11686 Add new tests for checking overflow bugs.
11687
116882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11689
11690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11691 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11692 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11693 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11695 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11696 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11697 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11698 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11699
11700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11701 (USE_AS_STRCAT): Define.
11702 Add strcat and strncat support.
11703 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11704
8c1a459f
AS
117052011-07-25 Andreas Schwab <schwab@redhat.com>
11706
11707 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11708 __n bigger than INT_MAX+1.
11709 (__strncmp_g): Likewise.
11710
bba33c28
UD
117112011-07-23 Ulrich Drepper <drepper@gmail.com>
11712
798be72d
UD
11713 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11714 * libio/stido.h: Likewise.
11715
8accd4dc
UD
11716 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11717 (AF_NFC): Define.
11718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11719 (AF_NFC): Define.
11720
cbff0d96
UD
11721 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11724 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11725 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11726
9191c04a
UD
11727 [BZ #13021]
11728 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11729 installed.
11730
bba33c28
UD
11731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11732 typo.
11733 (_dl_x86_64_save_sse): Likewise.
11734
90f139dd
UD
117352011-07-22 Ulrich Drepper <drepper@gmail.com>
11736
1aae088a
UD
11737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11738 OSXSAVE.
11739 (_dl_x86_64_save_sse): Likewise.
11740
8e2045f5
UD
11741 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11742
90f139dd
UD
11743 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11744
1d002f25
AS
117452011-07-21 Andreas Schwab <schwab@redhat.com>
11746
11747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11748 change.
11749 (_dl_x86_64_save_sse): Use correct AVX check.
11750
21137f89
UD
117512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11752
11753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11754 bug in strncpy/strncat.
11755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11756
a65c0b7a
UD
117572011-07-21 Ulrich Drepper <drepper@gmail.com>
11758
11759 * string/tester.c (test_strcat): Add tests for different alignments
11760 of source and destination.
11761 (test_strncat): Likewise.
11762
6986b98a
UD
117632011-07-20 Ulrich Drepper <drepper@gmail.com>
11764
90bb2039
UD
11765 [BZ #12852]
11766 * posix/glob.c (glob): Check passed in values before using them in
11767 expressions to avoid some overflows.
11768 (glob_in_dir): Likewise.
11769
5644ef54
UD
11770 [BZ #13007]
11771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11772 check for AVX enablement so that we don't crash with old kernels and
11773 new hardware.
11774 * elf/tst-audit4.c: Add same checks here.
11775 * elf/tst-audit6.c: Likewise.
11776
11777 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11778
bfc9dc9b
AS
117792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11780
11781 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11782
702e64bb
UD
117832011-07-20 Ulrich Drepper <drepper@gmail.com>
11784
11785 * po/cs.po: Update from translation team.
11786 * po/bg.po: Likewise.
11787
295e904f
MP
117882011-07-12 Marek Polacek <mpolacek@redhat.com>
11789
11790 * misc/sys/cdefs.h: Add support for const attribute.
11791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11792 to gnu_dev_{major,minor,makedev} functions.
11793
3ff94596
MP
117942011-07-20 Marek Polacek <mpolacek@redhat.com>
11795
11796 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11797
28b59fca
AS
117982011-07-20 Andreas Schwab <schwab@redhat.com>
11799
11800 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11801 strlen results.
11802
19df733e
AK
118032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11804
11805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11806 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11807 register in order to avoid conflicts with the soft frame pointer
11808 being held in r11 when necessary.
11809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11810 (INTERNAL_VSYSCALL_NCS): Likewise.
11811
c8835729
MP
118122011-07-14 Marek Polacek <mpolacek@redhat.com>
11813
11814 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11815 * elf/dl-fini.c (_dl_fini): Adjust caller.
11816 * elf/dl-close.c (_dl_close_worker): Likewise.
11817 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11818
b902330c
MP
118192011-07-15 Marek Polacek <mpolacek@redhat.com>
11820
8991e135
MP
11821 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11822 "aux_cache->nlibs < 0".
11823
b902330c
MP
11824 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11825 in the reload-count case.
11826
99710781
LD
118272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11828
11829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11830 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11831 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11832 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11833 * sysdeps/x86_64/multiarch/strcat.S: New file.
11834 * sysdeps/x86_64/multiarch/strncat.S: New file.
11835 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11836 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11837 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11838 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11839 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11840 (USE_AS_STRCAT): Define.
11841 Add strcat and strncat support.
11842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11843 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11844 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11845 * string/strncat.c: Update.
11846 (USE_AS_STRNCAT): Define.
11847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11848 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11849 and i7.
11850 * sysdeps/x86_64/multiarch/init-arch.h
11851 (bit_Prefer_PMINUB_for_stringop): New.
11852 (index_Prefer_PMINUB_for_stringop): Likewise.
11853 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11854 bit_Prefer_PMINUB_for_stringop.
11855
7dc6bd90
UD
118562011-07-19 Ulrich Drepper <drepper@gmail.com>
11857
11858 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11859 buffer64.
11860 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11861 of casting of buffer.
11862 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11863 buffer32 and buffer64.
11864 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11865 writes instead of casting of buffer.
11866 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11867 buffer32.
11868 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11869 casting of buffer.
11870
e0e72284
AS
118712011-07-19 Andreas Schwab <schwab@redhat.com>
11872
11873 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11874
feb1eb0b
UD
118752011-07-19 Ulrich Drepper <drepper@gmail.com>
11876
11877 * nscd/nscd.c (termination_handler): Don't do anything for a database
11878 if it has not yet been initialized.
11879
298711ff
UD
118802011-07-18 Ulrich Drepper <drepper@gmail.com>
11881
11882 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11883
118842011-07-15 Marek Polacek <mpolacek@redhat.com>
11885
11886 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11887
f9d68389
UD
118882011-07-18 Ulrich Drepper <drepper@gmail.com>
11889
11890 * po/nl.po: Update from translation team.
11891 * po/sv.po: Likewise.
11892
db290cf5
RM
118932011-07-16 Roland McGrath <roland@hack.frob.com>
11894
11895 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11896 now disallowed by GCC.
5c550700 11897
fd5e21c7
RM
11898 * configure.in (use-default-link): Default to yes if a test -shared
11899 link meets our qualifications.
11900 * configure: Regenerated.
11901
5c550700
RM
11902 * config.make.in (output-format): New variable.
11903 * configure.in: Check for ld --print-output-format support.
11904 * configure: Regenerated.
11905 * Makerules ($(common-objpfx)format.lds)
11906 [$(output-format) != unknown]: Just use $(output-format),
11907 instead of the linker-script munging.
11908
9fa2c032
RM
119092011-07-14 Roland McGrath <roland@hack.frob.com>
11910
a6928d51
RM
11911 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11912 of $(common-objpfx)shlib.lds.
11913 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11914
661607b3
RM
11915 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11916 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11917
9fa2c032
RM
11918 * configure.in (-z relro check): Adjust test code to add a large
11919 writable data section after it.
11920 * configure: Regenerated.
11921
defe9061
RM
119222011-07-11 Roland McGrath <roland@hack.frob.com>
11923
11924 * configure.in (-z relro check): Fix test code to make the variable
11925 truly const.
11926 * configure: Regenerated.
11927
319b9ad4
UD
119282011-07-11 Ulrich Drepper <drepper@gmail.com>
11929
11930 * nscd/nscd.h (struct traced_file): Define.
11931 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11932 elements. Add traced_files.
11933 (inotify_fd): Declare.
11934 (register_traced_file): Declare.
11935 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11936 (inotify_fd): Export.
11937 (resolv_conf_descr): Remove.
11938 (nscd_init): Move inotify descriptor creation to main.
11939 Don't register files for notification here.
11940 (register_traced_file): New function.
11941 (invalidate_cache): Don't use reset_res to determine whether to call
11942 res_init, go through the list of registered files.
11943 (main_loop_poll): The inotify descriptors are now stored in the
11944 structures for the traced files.
11945 (main_loop_epoll): Likewise
11946 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11947 to __nss_disable_nscd.
11948 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11949 for a database anymore. Check the records for all the registered
11950 files instead.
11951 * nss/Makefile (libnss_files-routines): Add files-init.
11952 (libnss_db-routines): Add db-init.
11953 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11954 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11955 * nss/nss_db/db-init.c: New file.
11956 * nss/nss_files/files-init.c: New file.
11957 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11958 __nss_lookup_function.
11959 (__nss_lookup_function): Call nss_load_library.
11960 (nss_load_all_libraries): New function.
11961 (__nss_disable_nscd): Take parameter with callback function for files
11962 to register. Set is_nscd. Load all the DSOs for the NSS modules
11963 used for the cached services.
11964 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11965 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11966 options for features to all the files in nscd.
11967
11968 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11969
23bee3e8
RM
119702011-07-10 Roland McGrath <roland@hack.frob.com>
11971
11972 * csu/elf-init.c (__libc_csu_init): Comment typo.
11973
46a5b7f0
UD
119742011-07-09 Ulrich Drepper <drepper@gmail.com>
11975
11976 * po/pl.po: Update from translation team.
11977 * po/ja.po: Likewise.
11978 * po/ru.po: Likewise.
11979 * po/ko.po: Likewise.
11980 * po/fr.po: Likewise.
11981
d30cf5bb
RM
119822011-07-09 Roland McGrath <roland@hack.frob.com>
11983
113ddea4
RM
11984 * configure.in (.ctors/.dtors header and trailer check):
11985 Use an empirical test on a built program.
11986 * configure: Regenerated.
11987
574920b4
RM
11988 * configure.in (-z relro check): Use an empirical test on a built DSO.
11989 Detect, but do not require, on ia64.
11990 * configure: Regenerated.
11991
d30cf5bb
RM
11992 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11993 Update tests that use readelf to use $READELF instead.
11994 * configure: Regenerated.
11995
8538fdb3
UD
119962011-07-08 Ulrich Drepper <drepper@gmail.com>
11997
11998 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11999 if the result is not used.
12000
04d08991
AJ
120012011-07-05 Andreas Jaeger <aj@suse.de>
12002
12003 [BZ#9696]
12004 * stdlib/tst-strtod.c: Add testcase.
12005
de283087
AD
120062011-07-07 Ulrich Drepper <drepper@gmail.com>
12007
4e5f31c8 12008 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12009 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12010 The latter has a higher limit. Take additional parameter to pass to
12011 the new function.
12012 (__pathconf): Pass file to __statfs_link_max.
12013 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12014 __statfs_link_max.
12015 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12016 __statfs_link_max.
12017
de283087
AD
12018 [BZ #12868]
12019 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12020 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12021 Handle Lustre.
12022 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12023 (__statfs_filesize_max): Likewise.
12024 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12025
c75fa153
AJ
120262011-07-05 Andreas Jaeger <aj@suse.de>
12027
12028 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12029
1a544854
UD
120302011-07-06 Marek Polacek <mpolacek@redhat.com>
12031
12032 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12033 `status' variable.
12034 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12035 Likewise.
12036
6f0eec67
UD
120372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 * Makefile (strop-tests): Add strncat.
12040 * string/test-strncat.c: New file.
12041
aae30307
UD
120422011-06-30 Marek Polacek <mpolacek@redhat.com>
12043
12044 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12045
c0cfb5eb
UD
120462011-06-21 Andreas Jaeger <aj@suse.de>
12047
12048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12049 Copy rule from iconvdata/Makefile.
12050
01636b21
UD
120512011-07-06 Ulrich Drepper <drepper@gmail.com>
12052
12053 [BZ #12922]
12054 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12055 but no long options are defined, just return 'W'.
12056
9895c8bc
UD
120572011-06-22 Marek Polacek <mpolacek@redhat.com>
12058
12059 [BZ #9696]
12060 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12061
5d4cf042
UD
120622011-07-06 Ulrich Drepper <drepper@gmail.com>
12063
12064 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12065 netgroups to read.
960e5535 12066 (innetgr): Likewise.
5d4cf042 12067
751eb97e
RM
120682011-07-05 Roland McGrath <roland@hack.frob.com>
12069
12070 * config.make.in (install_root): Default to $(DESTDIR).
12071
f15f1e45
UD
120722011-07-05 Ulrich Drepper <drepper@gmail.com>
12073
12074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12075
4e34ac6a
RM
120762011-07-02 Roland McGrath <roland@hack.frob.com>
12077
5e9b6af4
RM
12078 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12079
84f9ea0f
RM
12080 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12081 containing directory rather than embedding absolute directory names.
12082
ea5ee9f7
RM
12083 * scripts/check-local-headers.sh: Rewritten using awk.
12084 Match by word, not by line. Print error messages for matches.
12085 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12086
1b74661a
RM
12087 * Makerules [shlib-lds-flags empty]:
12088 ($(common-objpfx)libc_pic.opts): New target.
12089 ($(common-objpfx)libc_pic.os.clean): New target.
12090 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12091
12092 * config.make.in (OBJCOPY): New variable.
12093 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12094 * configure: Regenerated.
12095
f781ef40
RM
12096 * config.make.in (use-default-link): New variable.
12097 * configure.in (use_default_link): Grok --with-default-link to set it.
12098 * configure: Regenerated.
12099 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12100 (shlib-lds, shlib-lds-flags): Define to empty.
12101
2d4fa81e
RM
12102 * Makerules (shlib-lds): New variable.
12103 (shlib-lds-flags): New variable.
12104 (build-shlib, build-moduile, build-module-asneeded): Use it.
12105 ($(common-objpfx)libc.so): Use $(shlib-lds).
12106 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12107 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12108
31fffa6b
RM
12109 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12110 DT_FLAGS/DT_FLAGS_1 with zero flags.
12111
4e34ac6a
RM
12112 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12113 linker script munging.
12114
fcfc776b
UD
121152011-07-02 Ulrich Drepper <drepper@gmail.com>
12116
12117 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12118 as 128-bit value.
12119 * crypt/sha512.c (sha512_process_block): Perform total addition using
12120 128-bit if possible.
12121 (__sha512_finish_ctx): Likewise.
12122 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12123 as 64-bit value.
12124 * crypt/sha256.c (SWAP64): Define.
12125 (sha256_process_block): Perform total addition using 64-bit if
12126 possible.
12127 (__sha256_finish_ctx): Likewise.
12128
99231d9a
UD
121292011-07-01 Ulrich Drepper <drepper@gmail.com>
12130
12131 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12133 * nscd/hstcache.c (cache_addhst): Likewise.
12134 * nscd/grpcache.c (cache_addgr): Likewise.
12135 * nscd/aicache.c (addhstaiX): Likewise
12136 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12137
445b4a53
TK
121382011-07-01 Thorsten Kukuk <kukuk@suse.de>
12139
12140 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12141 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12142 * nscd/hstcache.c (cache_addhst): Likewise.
12143 * nscd/grpcache.c (cache_addgr): Likewise.
12144 * nscd/aicache.c (addhstaiX): Likewise
12145
6d4d8e8e
AS
121462011-07-01 Andreas Schwab <schwab@redhat.com>
12147
12148 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12149 domain only when needed.
12150
89f654c5
AS
121512011-06-30 Andreas Schwab <schwab@redhat.com>
12152
12153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12154 is always restored.
12155
cf3b23ff
UD
121562011-06-29 Ulrich Drepper <drepper@gmail.com>
12157
12158 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12159 are re-adding the entry.
12160 * nscd/servicescache.c (cache_addserv): Likewise.
12161
751626f9
AJ
121622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12163
12164 * sysdeps/generic/dl-irel.h: fix protection against multiple
12165 inclusions.
12166 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12167
9113ea1f
UD
121682011-06-28 Ulrich Drepper <drepper@gmail.com>
12169
5c0b8d90
UD
12170 [BZ #12935]
12171 * malloc/memusage.sh: Fix quoting in message.
12172 * debug/xtrace.sh: Likewise.
12173
9113ea1f
UD
12174 * configure.in: Remove support for --experimental-malloc option, make
12175 it the default.
12176 * config.make.in: Likewise.
12177 * malloc/Makefile: Likewise.
12178
a4172181
AS
121792011-06-27 Andreas Schwab <schwab@redhat.com>
12180
12181 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12182 two-byte characters.
12183
78a7eee7
RM
121842011-06-27 Roland McGrath <roland@hack.frob.com>
12185
62bede13
RM
12186 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12187 AC_CACHE_CHECK invocation.
12188 * configure: Regenerated.
12189
78a7eee7
RM
12190 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12191
5ce33a62
UD
121922011-06-27 Ulrich Drepper <drepper@gmail.com>
12193
034807a9
UD
12194 [BZ #12350]
12195 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12196 bit from old_res_options.
12197
4902da17
UD
12198 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12199
5ce33a62
UD
12200 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12201 value type for setfct.
12202
c2344f56
L
122032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12204
12205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12206 __gettimeofday instead of gettimeofday.
12207
68468076
UD
122082011-06-26 Ulrich Drepper <drepper@gmail.com>
12209
12210 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12211
acb0d739
L
122122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12213
12214 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12215
12216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12217 info.
12218
8912479f
L
122192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12222 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12223 strcpy-sse2-unaligned strncpy-sse2-unaligned
12224 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12225 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12226 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12227 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12228 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12230 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12231 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12232 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12233 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12234 (STRCPY): Support SSE2 and SSSE3 versions.
12235
d5495a11
UD
122362011-06-24 Ulrich Drepper <drepper@gmail.com>
12237
12238 [BZ #12874]
12239 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12240 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12241 kernels which artificially limit size of requests.
12242
0b1cbaae
L
122432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12244
12245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12246 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12247 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12248 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12249 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12250 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12251 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12252 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12253 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12255 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12256 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12257 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12258 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12259 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12261 Enable unaligned load optimization for Intel Core i3, i5 and i7
12262 processors.
12263 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12264 Define.
12265 (index_Fast_Unaligned_Load): Define.
12266 (HAS_FAST_UNALIGNED_LOAD): Define.
12267
07f494a0
MP
122682011-06-23 Marek Polacek <mpolacek@redhat.com>
12269
12270 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12271
fa3fc0fe
UD
122722011-06-22 Ulrich Drepper <drepper@gmail.com>
12273
12274 [BZ #12907]
12275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12276 until it is clear that the information is realy needed.
12277 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12278
e12df166
AS
122792011-06-22 Andreas Schwab <schwab@redhat.com>
12280
12281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12282
852eb34d
UD
122832011-06-22 Ulrich Drepper <drepper@gmail.com>
12284
84e2a551
UD
12285 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12286 /sys/devices/system/cpu/online if it is usable.
12287
852eb34d
UD
12288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12289 reading the information from the /proc filesystem to once a second.
12290
6e502e19
UD
122912011-06-21 Andreas Jaeger <aj@suse.de>
12292
12293 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12294 NULL after inclusion of kernel headers.
12295
75d39ff2
UD
122962011-06-21 Ulrich Drepper <drepper@gmail.com>
12297
51f9aa6a
UD
12298 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12299 calls to internal_setent.
12300
c0244a9d
UD
12301 [BZ #12885]
12302 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12303 addresses using gethostbyname4_r ignore IPv4 addresses.
12304
c5e3c2ae
UD
12305 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12306 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12307
75d39ff2
UD
12308 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12309
42675c6f
DM
123102011-06-20 David S. Miller <davem@davemloft.net>
12311
12312 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12313 inclusions.
12314 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12315
12316 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12317 (elf_irel): Use it.
12318 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12319 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12320 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12321 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12322 * sysdeps/x86_64/dl-irel.h: Likewise.
12323
12324 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12325 * elf/dl-sym.c: Likewise.
12326
57912a71
UD
123272011-06-15 Ulrich Drepper <drepper@gmail.com>
12328
12329 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12330 need to dereference resplen2.
12331
ee22793d
AS
123322011-06-14 Andreas Schwab <schwab@redhat.com>
12333
12334 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12335
a9e836b0
UD
123362011-06-15 Ulrich Drepper <drepper@gmail.com>
12337
77fb9117
UD
12338 * Makeconfig: Define vardbdir and inst_vardbdir.
12339 * nss/Makefile: Add rules to install db-Makefile.
12340
40c1b22c
UD
12341 * nss/nss_db/db-XXX.c: Cleanup.
12342
9f2da732
UD
12343 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12344 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12345 GLIBC_PRIVATE.
12346 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12347 * nss/makedb.c: Implement -g option to specify that value strings
12348 are generated and should not be added to table iterated over for
12349 get*ent calls.
12350 * nss/nss_db/db-initgroups.c: New file.
12351
82e9a1f7
UD
12352 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12353 interface.
12354
c41af17e
UD
12355 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12356 (internal_getgrouplist): Adjust to name change.
12357 Update use_initgroups_entry if this is not the first call.
12358 * nss/databases.def: Add initgroups entry.
12359
a9e836b0
UD
12360 * nss/makedb.c (compute_tables): Check result of multiple hash table
12361 sizes to minimize maximum chain length.
12362
2666d441
UD
123632011-06-14 Ulrich Drepper <drepper@gmail.com>
12364
12365 * Versions.def: Add entry for libnss_db.
12366 * shlib-versions: Likewise.
12367 * nss/Makefile: Add rules to build libnss_db.
12368 * nss/Versions: Add libnss_db information. Organize libnss_files
12369 entries better.
12370 * nss/db-Makefile: Add gshadow support. Change rules for the new
12371 makedb progra. Some minor improvements to generate smaller files.
12372 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12373 here from...
12374 * nss/makedb.c: ...here.
12375 Improve database format to be smaller and require less memory at
12376 runtime.
12377 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12378 db anymore.
12379 * nss/nss_db/db-netgrp.c: Likewise.
12380 * nss/nss_db/db-open.c: Likewise.
12381 * nss/nss_files/flies-XXX.x: Adjust comments.
12382 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12383 * nss/nss_files/files-grp.c: Likewise.
12384 * nss/nss_files/files-hosts.c: Likewise.
12385 * nss/nss_files/files-network.c: Likewise.
12386 * nss/nss_files/files-proto.c: Likewise.
12387 * nss/nss_files/files-pwd.c: Likewise.
12388 * nss/nss_files/files-rpc.c: Likewise.
12389 * nss/nss_files/files-service.c: Likewise.
12390 * nss/nss_files/files-sgrp.c: Likewise.
12391 * nss/nss_files/files-spwd.c: Likewise.
12392 * nss/nss_db/db-alias.c: Removed.
12393 * nss/nss_db/dummy-db.h: Removed.
12394
9ee76b5a
UD
123952011-06-02 Ulrich Drepper <drepper@gmail.com>
12396
12397 * nss/makedb.c: Rewritten to not use database library.
12398 * nss/Makefile: Update to build new makedb program.
12399
c71ca1f8
AJ
124002011-06-14 Andreas Jaeger <aj@suse.de>
12401
12402 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12403 memset declaration.
12404
3154bfb8
UD
124052011-06-10 Andreas Schwab <schwab@redhat.com>
12406
12407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12408 tmpbuf.
12409
b350afab
RM
124102011-06-10 Roland McGrath <roland@hack.frob.com>
12411
decd4e50
RM
12412 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12413 * elf/Makefile ($(objpfx)ld.so): Likewise.
12414
5615eaf2
RM
12415 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12416 Don't list ld.so twice in dependencies.
12417
12418 * posix/bug-regex31.c: Include <stdlib.h>.
12419
12420 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12421
12422 * nis/nss_compat/compat-spwd.c
12423 (getspent_next_nss_netgr): Remove unused variable.
12424 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12425
12426 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12427 nonmembers" output to use the right array.
12428
12429 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12430
12431 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12432
12433 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12434 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12435 * catgets/gencat.c (read_input_file): Likewise.
12436 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12437
12438 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12439 variable definition inside #if's controlling its use.
12440
12441 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12442
12443 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12444
12445 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12446
12447 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12448 unreachable code.
12449
12450 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12451
b68e08db
RM
12452 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12453 * configure: Regenerated.
12454
b350afab
RM
12455 * Makerules: Revert last change.
12456 * elf/Makefile: Likewise.
12457
28368601
RM
124582011-06-09 Roland McGrath <roland@hack.frob.com>
12459
12460 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12461 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12462 (reloc-link): Likewise.
12463
11988f8f
UD
124642011-06-09 Ulrich Drepper <drepper@gmail.com>
12465
12466 * elf/Makefile: Add rules to build pldd.
12467 * elf/pldd.c: New file.
12468 * elf/pldd-xx.c: New file.
12469
e80fab37
UD
124702011-06-07 Ulrich Drepper <drepper@gmail.com>
12471
12472 * version.h: Update for 2.15 development version.
12473
9b849836
DM
124742011-06-07 David S. Miller <davem@davemloft.net>
12475
12476 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12477 ifuncs.
12478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12479 elf_machine_lazy_rel): Likewise.
12480 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12482 elf_machine_lazy_rel): Likewise.
12483 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12484 dl_hwcap via passed in argument.
12485 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12486 Likewise.
12487
5a31b283
AK
124882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12489
12490 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12491
069e52f8
RM
124922011-06-06 Roland McGrath <roland@hack.frob.com>
12493
12494 [BZ #12849]
12495 * manual/fdl-1.1.texi: New file, verbatim from:
12496 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12497 * manual/lgpl-2.1.texi: New file, verbatim from:
12498 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12499 * manual/Makefile (licenses): New variable, list those new file names.
12500 (texis): Use it.
12501 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12502
12503 * manual/fdl.texi: File removed.
12504 * manual/lesser.texi: File removed.
12505 * manual/libc.texinfo (Copying, Documentation License):
12506 Use new @include file names, put @appendix directive before @include.
12507
f16846a5
JJ
125082011-06-04 Jakub Jelinek <jakub@redhat.com>
12509
12510 [BZ #12841]
12511 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12512 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12513 (mq_open): Add __NTH.
12514
3d29045b
L
125152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12518 Assume Intel Core i3/i5/i7 processor if AVX is available.
12519
8c297311
UD
125202011-05-31 Ulrich Drepper <drepper@gmail.com>
12521
12522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12523 typo.
12524
c8fc0c91
UD
125252011-05-31 Andreas Schwab <schwab@redhat.com>
12526
12527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12528 memory. Use alloca_account. Fix memory leak when retrying.
12529
5b27a807
UD
125302011-05-31 Ulrich Drepper <drepper@gmail.com>
12531
356f8bc6
UD
12532 * version.h (RELEASE): Bump for 2.14 release.
12533 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12534
5b27a807
UD
12535 * config.make.in (RANLIB): Remove entry.
12536
01f16ab0
UD
125372011-05-30 Ulrich Drepper <drepper@gmail.com>
12538
41fce8bd
UD
12539 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12540 (libc.pot): Work around missing support for .ksh extension in xgettext.
12541
4769ae77
UD
12542 [BZ #12684]
12543 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12544 if both request failed.
12545 (send_dg): In case of server errors clear resplen or *resplen2.
12546
6b1e7d19
UD
12547 [BZ #12454]
12548 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12549 when there are multiple maps.
12550 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12551 (_dl_fini): Remove test here.
12552
01f16ab0
UD
12553 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12554
b1ebd700
UD
125552011-05-29 Ulrich Drepper <drepper@gmail.com>
12556
7ae22829
UD
12557 [BZ #12350]
12558 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12559 bit from old_res_options.
12560 (gaih_inet): Likewise.
12561
553149f6 12562 [BZ #11099]
18a84741 12563 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12564 as signed.
12565
652ffab1
UD
12566 * resolv/res_init.c (res_setoptions): Make the code more compact.
12567
16985fd0
UD
12568 [BZ #11558]
12569 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12570 set RES_USEVC.
12571
0464f746
UD
12572 [BZ #11634]
12573 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12574
7d17596c
UD
12575 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12576
cf6bbbd7
UD
12577 [BZ #11781]
12578 * malloc/malloc.h: Declare malloc hook variables as volatile.
12579
13f1ab36
UD
12580 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12581 in last patch.
12582
b1ebd700
UD
12583 [BZ #11799]
12584 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12585 raise in the comment.
80e2212d
UD
12586 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12588 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12589
ce67228d
UD
125902011-05-28 Ulrich Drepper <drepper@gmail.com>
12591
8887a920
UD
12592 [BZ #12811]
12593 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12594 grow the buffers more if it already has to be sufficient.
12595 (build_wcs_upper_buffer): Likewise.
12596 * posix/regexec.c (check_matching): Likewise.
12597 (clean_state_log_if_needed): Likewise.
12598 (extend_buffers): Don't enlarge buffers beyond size of the input
12599 buffer.
12600 Patches mostly by Emil Wojak <emil@wojak.eu>.
12601 * posix/bug-regex32.c: New file.
12602 * posix/Makefile (tests): Add bug-regex32.
12603
4f031072
UD
12604 * locale/findlocale.c (_nl_find_locale): Return right away if
12605 _nl_explode_name failed.
12606 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12607
d0478f0c
UD
12608 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12609
de81b246
UD
12610 * debug/xtrace.sh: Unify messages.
12611 * malloc/memusage.sh: Likewise.
12612
c738465a
UD
12613 [BZ #12813]
12614 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12615 time symbol from vDSO. Substitute with vsyscall if not available.
12616 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12617 __vdso_time.
12618
f1f929d7
UD
12619 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12620 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12621 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12622 Add sendmmsg and internal_sendmmsg.
12623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12624 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12626
ce67228d
UD
12627 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12628 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12630
e57420c6
UD
126312011-05-27 Ulrich Drepper <drepper@gmail.com>
12632
a8509ca5
UD
12633 [BZ #12813]
12634 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12635 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12636 available.
12637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12638 __vdso_getcpu.
12639
e57420c6
UD
12640 [BZ #12814]
12641 * iconvdata/Makefile (tests): Add bug-iconv9.
12642 * iconvdata/bug-iconv9.c: New file.
12643
4d07db15
AS
126442011-05-27 Andreas Schwab <schwab@redhat.com>
12645
12646 [BZ #12814]
12647 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12648
ea486f69
JJ
126492011-05-25 Jakub Jelinek <jakub@redhat.com>
12650
12651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12652 (struct user_regs_struct): Change intcs field back to cs.
12653
6f038433
UD
126542011-05-25 Ulrich Drepper <drepper@gmail.com>
12655
12656 * po/ja.po: Update from translation team.
12657
67f86a25
UD
126582011-05-23 Ulrich Drepper <drepper@gmail.com>
12659
12660 [BZ #12795]
12661 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12662 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12663
def7fbd6
AS
126642011-05-20 Andreas Schwab <schwab@redhat.com>
12665
12666 * stdlib/longlong.h: Update from GCC.
12667
f50ef8f1
AS
126682011-05-23 Andreas Schwab <schwab@redhat.com>
12669
12670 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12671 parameter name.
12672 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12673 Add parameter name.
12674 (__sysconf): Pass it down.
12675
de7ce8f1
UD
126762011-05-22 Ulrich Drepper <drepper@gmail.com>
12677
f2962a71
UD
12678 [BZ #12671]
12679 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12680 some situations.
12681 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12682 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12683 add in in __libc_use_alloca calls. Adjust callers.
12684 (glob): Use malloc in some situations.
12685
de7ce8f1
UD
12686 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12687 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12688 pltexit.
12689
aec84f53
UD
126902011-05-21 Ulrich Drepper <drepper@gmail.com>
12691
05bb4a68
UD
12692 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12693 and CLOCK_BOOTTIME_ALARM.
12694
7ea72f99
UD
12695 [BZ #12782]
12696 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12697 is returned.
12698
7e4afad5
UD
12699 * string/_strerror.c (__strerror_r): Print negative errors as signed
12700 numbers.
12701
8e211fec
UD
12702 [BZ #12777]
12703 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12704 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12705 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12706
f7d82dc9
UD
12707 * configure.in: Fix typo in redirection and correct removal of test
12708 files in two cases.
12709
cc9e536d
UD
12710 [BZ #12788]
12711 * locale/setlocale.c (new_composite_name): Fix test to check for
12712 identical name of all categories.
12713
aec84f53
UD
12714 [BZ #12792]
12715 * libio/filedoalloc.c (local_isatty): New function.
12716 (_IO_file_doallocate): Use local_isatty.
12717 * stdio-common/perror.c (perror): In case a new stream is used
12718 forward the stream error.
12719 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12720 error flag.
12721
78e64fdc
RT
127222011-05-20 Ulrich Drepper <drepper@gmail.com>
12723
34a9094f
UD
12724 [BZ #11869]
12725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12726 alloca.
12727 * include/alloca.h (extend_alloca_account): Define.
12728
78e64fdc
RT
12729 [BZ #11857]
12730 * posix/regex.h: Fix comments with documentation of user-accessible
12731 fields after compilation and describe correct free'ing of pattern
12732 after re_compile_pattern.
12733 Patch by Reuben Thomas <rrt@sc3d.org>.
12734
457bddfc
RA
127352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12736
12737 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12738 and -mno-altivec to prevent the compiler from using Altivec and/or
12739 VSX instructions when the corresponding registers are not available.
12740
a4527b51
AS
127412011-05-19 Andreas Schwab <schwab@redhat.com>
12742
12743 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12744
ed690b2f
UD
127452011-05-19 Ulrich Drepper <drepper@gmail.com>
12746
12747 * libio/freopen.c (freopen): Use __dup2, not dup2.
12748 * libio/freopen64.c (freopen64): Likewise.
12749
8db73634
L
127502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12751
12752 [BZ #12775]
12753 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12754 * math/Makefile (tests): Add test-powl.
12755 (CFLAGS-test-powl.c): Define.
12756 * math/test-powl.c: New file.
12757
0a197a9d
L
127582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12761
ee30c380
UD
127622011-05-17 Ulrich Drepper <drepper@gmail.com>
12763
12764 [BZ #11837]
12765 * iconvdata/gb18030.c: Update to GB18020-2005.
12766
6ce75379
UD
127672011-05-16 Ulrich Drepper <drepper@gmail.com>
12768
a4b89fd8
AR
12769 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12770 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12771 Patch by Aharon Robbins <arnold@skeeve.com>.
12772
ea389b12
UD
12773 [BZ #11892]
12774 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12775 on the stack.
12776
68a3f91f
UD
12777 [BZ #11895]
12778 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12779 through underflows.
12780
15cc7dd1
UD
12781 [BZ #12766]
12782 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12783 point to strings before performing equality test for error_one_per_line
12784 mode.
12785
f3799213
UD
12786 [BZ #11697]
12787 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12788
d79a9c94
UD
12789 [BZ #11820]
12790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12791 (struct user_fpregs_struct): Avoid __uint*_t types.
12792
56e5eb46
UD
12793 [BZ #6420]
12794 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12795 symbol info. Use it instead of calling _dl_addr locally.
12796 (lock_and_info): New function.
12797 (tr_freehook): Call lock_and_info and pass symbol info as additional
12798 parameter to tr_where.
12799 (tr_mallochook): Likewise.
12800 (tr_reallochook): Likewise.
12801 (tr_memalignhook): Likewise.
12802
6ce75379
UD
12803 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12804 used and couldn't be at all thread-safe.
12805
f8a3b5bf
UD
128062011-05-15 Ulrich Drepper <drepper@gmail.com>
12807
94b7cc37
UD
12808 * libio/freopen.c (freopen): Don't close old file descriptor
12809 before the new one is opened. Instead dup the new file descriptor
12810 to the old one after the new stream is created.
12811 * libio/freopen64.c (freopen64): Likewise.
12812 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12813 * libio/fileops.c (_IO_new_file_close_it): Handle new
12814 _IO_FLAGS2_NOCLOSE flag.
12815 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12816 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12817 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12818 _IO_FLAGS2_NOCLOSE flag.
12819 * include/unistd.h: Add hidden_proto for dup3.
12820 Define __have_dup3.
12821 * io/dup3.c: Define hidden symbol.
12822 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12823
bd25564e
UD
12824 [BZ #7101]
12825 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12826 when an incomplete long option is used.
12827 * posix/tst-getopt_long1.c: New file.
12828 * posix/Makefile (tests): Add tst-getopt_long1.
12829
c84cfef4
UD
12830 [BZ #10138]
12831 * scripts/config.guess: Update from autoconf-2.68.
12832 * scripts/config.sub: Likewise.
12833
3b85df27
UD
12834 [BZ #10157]
12835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12836 tests into ...
12837 (has_cpuclock): ...this. New function.
12838 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12839 macro here based on has_cpuclock code.
12840
15a856b1
UD
12841 [BZ #10149]
12842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12843 First byte (not low byte) is now always NUL.
12844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12845
05f399e6
UD
12846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12847 Use non-cancelable interfaces.
12848
10a52685 12849 [BZ #9809]
94ecc67d
UD
12850 * locale/iso-639.def: Add entry for Sorani.
12851
f8a3b5bf
UD
12852 [BZ #11901]
12853 * include/stdlib.h: Move include protection to the right place.
12854 Define abort_msg_s. Declare __abort_msg with it.
12855 * stdlib/abort.c (__abort_msg): Adjust type.
12856 * assert/assert.c (__assert_fail_base): New function. Majority
12857 of code from __assert_fail. Allocate memory for __abort_msg with
12858 mmap.
12859 (__assert_fail): Now call __assert_fail_base.
12860 * assert/assert-perr.c: Remove bulk of implementation. Use
12861 __assert_fail_base.
12862 * include/assert.hL Declare __assert_fail_base.
12863 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12864 mmap.
12865 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12866
1af4e298
UD
128672011-05-14 Ulrich Drepper <drepper@gmail.com>
12868
f8a3b5bf 12869 [BZ #11952]
d26dfc60
MG
12870 [BZ #12453]
12871 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12872 until all modules are registered in the DTV.
12873 * elf/Makefile: Add rules to build and run tst-tls19.
12874 * elf/tst-tls19.c: New file.
12875 * elf/tst-tls19mod1.c: New file.
12876 * elf/tst-tls19mod2.c: New file.
12877 * elf/tst-tls19mod3.c: New file.
12878 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12879
2fc54d6f
UD
12880 [BZ #12083]
12881 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12882 correctly.
12883
98d76b46
UD
12884 [BZ #12601]
12885 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12886 two-byte sequence errors.
12887 * iconvdata/Makefile (tests): Add bug-iconv8.
12888 * iconvdata/bug-iconv8.c: New file.
12889
da3c19ef
UD
12890 [BZ #12626]
12891 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12892 buf2 definition.
12893
ca408c15
UD
12894 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12895
d6f67f7d
UD
12896 [BZ #12432]
12897 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12898 (dummy_getcfa): New function.
12899 (init): Get _Unwind_GetCFA address, use dummy if not found.
12900 (backtrace_helper): In recursion check, also check whether CFA changes.
12901 (__backtrace): Completely initialize arg.
12902
1af4e298 12903 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12904 storing incomplete byte sequence in state object. Avoid testing for
12905 guaranteed too small input if we know there is enough data available.
1af4e298 12906
da62f81b
AS
129072011-05-11 Andreas Schwab <schwab@redhat.com>
12908
12909 * Makeconfig (+link-pie): Indent.
12910 * Rules (binaries-pie): Define if $(have-fpie) and
12911 $(build-shared).
12912 (binaries-shared): Also filter out $(binaries-pie).
12913 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12914 * nscd/Makefile (others-pie): Add nscd.
12915 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12916 ($(objpfx)nscd): Remove command override.
12917 * login/Makefile (others-pie): Add pt_chown.
12918 ($(objpfx)pt_chown): Remove command override.
12919 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12920 remove command overrides.
12921
fcabc0f8
UD
129222011-05-13 Ulrich Drepper <drepper@gmail.com>
12923
20030ae6
UD
12924 * libio/tst_putwc.c: Fix error messages.
12925
fcabc0f8
UD
12926 [BZ #12724]
12927 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12928 currently writing and seek to current position when not.
12929 * libio/Makefile (tests): Add bug-fclose1.
12930 * libio/bug-fclose1.c: New file.
12931
320a5dc0
PB
129322011-05-12 Ulrich Drepper <drepper@gmail.com>
12933
12934 [BZ #12511]
12935 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12936 don't set DF_1_NODELETE here.
12937 (do_lookup_x): When entering new entry test for copy relocation
12938 and if necessary set DF_1_NODELETE flag.
12939 * elf/tst-unique4.cc: New file.
12940 * elf/tst-unique4.h: New file.
12941 * elf/tst-unique4lib.cc: New file.
12942 * elf/Makefile: Add rules to build and run tst-unique4.
12943 Patch by Piotr Bury <pbury@goahead.com>.
12944
22836f52
UD
129452011-05-11 Ulrich Drepper <drepper@gmail.com>
12946
f574184a
UD
12947 [BZ #12052]
12948 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12949
e1fb097f
UD
12950 [BZ #12625]
12951 * misc/mntent_r.c (addmntent): Flush the stream after the output
12952
22836f52
UD
12953 [BZ #12393]
12954 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12955 (is_trusted_path_normalize): Skip initial colon. Append slash
12956 to empty buffer. Duplicate is_trusted_path code but allow
12957 constructed patch to be prefix.
12958 (is_dst): Allow $ORIGIN followed by /.
12959 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12960 Correct testing of result of is_trusted_path_normalize
12961 (decompose_rpath): Fix warning.
12962
7b3b0b2a
UD
129632011-05-10 Ulrich Drepper <drepper@gmail.com>
12964
12965 [BZ #11257]
12966 * grp/initgroups.c (internal_getgrouplist): When we found the service
12967 list through the initgroups entry in nsswitch.conf do not always
12968 continue on a successful lookup. Don't always use the
eac80ce2 12969 __nss_group_database value if it is set.
7b3b0b2a
UD
12970 * nss/nsswitch.conf (initgroups): Change action for successful db
12971 lookup to continue for compatibility.
12972
2a81eaa5
UD
129732011-05-09 Ulrich Drepper <drepper@gmail.com>
12974
be97a69e
UD
12975 [BZ #11532]
12976 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12977 and CP774 modules.
12978 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12979 and CP774 modules.
12980 * iconvdata/tst-tables.sh: Likewise.
12981 * iconvdata/cp770.c: New file.
12982 * iconvdata/cp771.c: New file.
12983 * iconvdata/cp772.c: New file.
12984 * iconvdata/cp773.c: New file.
12985 * iconvdata/cp774.c: New file.
12986 * iconvdata/testdata/CP770: New file.
12987 * iconvdata/testdata/CP770..UTF8: New file.
12988 * iconvdata/testdata/CP771: New file.
12989 * iconvdata/testdata/CP771..UTF8: New file.
12990 * iconvdata/testdata/CP772: New file.
12991 * iconvdata/testdata/CP772..UTF8: New file.
12992 * iconvdata/testdata/CP773: New file.
12993 * iconvdata/testdata/CP773..UTF8: New file.
12994 * iconvdata/testdata/CP774: New file.
12995 * iconvdata/testdata/CP774..UTF8: New file.
12996
12997 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12998 END CHARMAP line.
12999 * iconvdata/gen-8bit-gap.sh: Likewise.
13000 * iconvdata/gen-8bit.sh: Likewise.
13001
c1e9e399
UD
13002 * locale/iso-639.def: Add ary entry.
13003
24c55fb3 13004 [BZ #11258]
96b4b1b0
UD
13005 * locale/C-translit.h.in: Add U20A1 transliteration.
13006
bdc2f971
KB
13007 [BZ #12178]
13008 * locale/iso-639.def: Add wae entry.
13009 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13010
2952b117
UD
13011 [BZ #12545]
13012 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13013 for n.
13014
2a81eaa5
UD
13015 [BZ #12711]
13016 * locale/C-translit.h.in: Add entry for U20B9.
13017 Patch by pravin.d.s@gmail.com.
13018
28377d1b
UD
130192011-05-08 Ulrich Drepper <drepper@gmail.com>
13020
7fb90fb8
UD
13021 [BZ #12713]
13022 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13023 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13024 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13025 in rtld. Use *stat64.
7fb90fb8 13026 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13027 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13028 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13029 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13030 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13031 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13032 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13033 __fstatat64 macros.
7fb90fb8
UD
13034 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13035 * dirent/rewinddir.c: Add libc_hidden_def.
13036 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13037 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13038
28377d1b
UD
13039 * include/dirent.h (__alloc_dir): Add flags parameter.
13040 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13041 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13042 __alloc_dir.
13043 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13044 from fdopendir if O_CLOEXEC is already set.
13045
66bdbaa4
AM
130462011-03-15 Alan Modra <amodra@gmail.com>
13047
13048 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13049 l_tls_firstbyte_offset non-zero. Save padding offset in
13050 l_tls_firstbyte_offset for later use.
13051 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13052 freeing static tls block.
13053
95721191
JN
130542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13055
13056 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13057 where #ifdef was intended. The intent is to prevent ARG_MAX from
13058 being defined by the kernel headers.
13059
f87dfb1f
UD
130602011-05-07 Ulrich Drepper <drepper@gmail.com>
13061
13062 [BZ #12734]
13063 * resolv/resolv.h: Define RES_NOTLDQUERY.
13064 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13065 no-tld-query and set RES_NOTLDQUERY.
13066 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13067 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13068 modern BIND to search name as TLD unless forbidden.
13069
47c3cd7a
UD
130702011-05-07 Petr Baudis <pasky@suse.cz>
13071 Ulrich Drepper <drepper@gmail.com>
13072
13073 [BZ #12393]
13074 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13075 (is_trusted_path): ...to here.
c1e9ea35 13076 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13077 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13078 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13079
8a35c912
PP
130802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13081
13082 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13083 __BEGIN/__END_DECLS.
13084
acd41f47
UD
130852011-05-06 Ulrich Drepper <drepper@gmail.com>
13086
13087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13088 NSS_STATUS_NOTFOUND if no record was found.
13089
597df647
AS
130902011-05-05 Andreas Schwab <schwab@redhat.com>
13091
13092 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13093 (headers-not-in-tirpc): Remove rpc/netdb.h
13094 * resolv/netdb.h: Revert last change.
13095
b9af1301
PP
130962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13097
13098 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13099 circular dependency between libgcc.a and libc.a.
13100
4e34d5f5
AS
131012011-05-05 Andreas Schwab <schwab@redhat.com>
13102
13103 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13104 * nis/Makefile: Don't install rpcsvc/*.
13105 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13106 instead of <rpc/types.h>.
13107 (MAXHOSTNAMELEN): Define.
13108
00ee369c
AS
131092011-05-03 Andreas Schwab <schwab@redhat.com>
13110
13111 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13112
0b592a30
MB
131132011-04-28 Maciej Babinski <mbabinski@google.com>
13114
13115 [BZ #12714]
13116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13117 gethostbyname4_r when IPv6 results are possible.
13118
6e04cbbe
UD
131192011-05-02 Ulrich Drepper <drepper@gmail.com>
13120
13121 [BZ #12723]
13122 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13123 _PC_PIPE_BUF handling.
13124
e4ecafe0
BH
131252011-04-30 Bruno Haible <bruno@clisp.org>
13126
13127 [BZ #12717]
13128 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13129 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13130 to 'int'.
13131 * inet/getnameinfo.c (getnameinfo): Likewise.
13132
125ee683
UD
131332011-04-29 Ulrich Drepper <drepper@gmail.com>
13134
13135 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13136 to groups setting in database lookup.
13137 * nss/nsswitch.conf: Add initgroups entry.
13138
b722481a
EB
131392011-04-22 Ulrich Drepper <drepper@gmail.com>
13140
13141 [BZ #12685]
13142 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13143 mode string.
13144 Patch by Eric Blake <eblake@redhat.com>.
13145
4df46dbd
L
131462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13147
13148 * sunrpc/Makefile (need-export-routines): Add svc_run.
13149 (routines): Remove svc_run.
13150 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13151 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13152 * sunrpc/svc_run.c (svc_run): Likewise.
13153 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13154
e84142d2
UD
131552011-04-21 Ulrich Drepper <drepper@gmail.com>
13156
13157 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13158 problem in reallocation in last patch.
13159
877175d8
UD
131602011-04-20 Ulrich Drepper <drepper@gmail.com>
13161
13162 * sunrpc/Makefile: Move inclusion of Rules.
13163
ab8eed78
UD
131642011-04-19 Ulrich Drepper <drepper@gmail.com>
13165
13166 * nss/nss_files/files-initgroups.c: New file.
13167 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13168 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13169 _nss_files_initgroups_dyn.
13170
e3d8f584
RS
131712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13172
13173 * elf/elf.h (R_ARM_IRELATIVE): Define.
13174
af190f45
UD
131752011-04-19 Ulrich Drepper <drepper@gmail.com>
13176
13177 * po/ru.po: Update from translation team.
13178
53cf59ef
UD
131792011-04-17 Ulrich Drepper <drepper@gmail.com>
13180
13181 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13182 dependencies.
13183
4c559bcd
MF
131842011-02-06 Mike Frysinger <vapier@gentoo.org>
13185
13186 [BZ #12653]
13187 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13188 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13191 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13192
4420675c
AS
131932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13194
13195 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13196 differing bytes.
13197 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13198 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13200
75ea32ab
UD
132012011-04-17 Ulrich Drepper <drepper@gmail.com>
13202
13203 [BZ #12420]
13204 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13205 storing it.
13206 * stdlib/bug-getcontext.c: New file.
13207 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13208
27390476
AK
132092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13210
13211 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13212 instructions into .machine "z9-109".
13213 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13214 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13215
10442705
AK
132162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13217
13218 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13219 between environment variables and auxiliary vector.
13220
7b57bfe5
UD
132212011-04-16 Ulrich Drepper <drepper@gmail.com>
13222
13223 * Makefile: Add rules to build linkobj/libc.so.
13224 * include/libc-symbols.h: Define libc_hidden_nolink.
13225 * include/rpc/auth.h: Mark functions which are to be hidden.
13226 * include/rpc/auth_des.h: Likewise.
13227 * include/rpc/auth_unix.h: Likewise.
13228 * include/rpc/clnt.h: Likewise.
13229 * include/rpc/des_crypt.h: Likewise.
13230 * include/rpc/key_prot.h: Likewise.
13231 * include/rpc/pmap_clnt.h: Likewise.
13232 * include/rpc/pmap_prot.h: Likewise.
13233 * include/rpc/pmap_rmt.h: Likewise.
13234 * include/rpc/rpc_msg.h: Likewise.
13235 * include/rpc/svc.h: Likewise.
13236 * include/rpc/svc_auth.h: Likewise.
13237 * include/rpc/xdr.h: Likewise.
13238 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13239 * nss/Makefile: Likewise.
13240 * sunrpc/Makefile: Don't install headers. Build library with normal
13241 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13242 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13243 for the compat linking library. Remove use of INTDEF/INTUSE.
13244 * sunrpc/auth_none.c: Likewise.
13245 * sunrpc/auth_unix.c: Likewise.
13246 * sunrpc/authdes_prot.c: Likewise.
13247 * sunrpc/authuxprot.c: Likewise.
13248 * sunrpc/clnt_gen.c: Likewise.
13249 * sunrpc/clnt_perr.c: Likewise.
13250 * sunrpc/clnt_raw.c: Likewise.
13251 * sunrpc/clnt_simp.c: Likewise.
13252 * sunrpc/clnt_tcp.c: Likewise.
13253 * sunrpc/clnt_udp.c: Likewise.
13254 * sunrpc/clnt_unix.c: Likewise.
13255 * sunrpc/des_crypt.c: Likewise.
13256 * sunrpc/des_soft.c: Likewise.
13257 * sunrpc/get_myaddr.c: Likewise.
13258 * sunrpc/key_call.c: Likewise.
13259 * sunrpc/key_prot.c: Likewise.
13260 * sunrpc/netname.c: Likewise.
13261 * sunrpc/pm_getmaps.c: Likewise.
13262 * sunrpc/pm_getport.c: Likewise.
13263 * sunrpc/pmap_clnt.c: Likewise.
13264 * sunrpc/pmap_prot.c: Likewise.
13265 * sunrpc/pmap_prot2.c: Likewise.
13266 * sunrpc/pmap_rmt.c: Likewise.
13267 * sunrpc/publickey.c: Likewise.
13268 * sunrpc/rpc_cmsg.c: Likewise.
13269 * sunrpc/rpc_common.c: Likewise.
13270 * sunrpc/rpc_dtable.c: Likewise.
13271 * sunrpc/rpc_prot.c: Likewise.
13272 * sunrpc/rpc_thread.c: Likewise.
13273 * sunrpc/rtime.c: Likewise.
13274 * sunrpc/svc.c: Likewise.
13275 * sunrpc/svc_auth.c: Likewise.
13276 * sunrpc/svc_authux.c: Likewise.
13277 * sunrpc/svc_raw.c: Likewise.
13278 * sunrpc/svc_run.c: Likewise.
13279 * sunrpc/svc_simple.c: Likewise.
13280 * sunrpc/svc_tcp.c: Likewise.
13281 * sunrpc/svc_udp.c: Likewise.
13282 * sunrpc/svc_unix.c: Likewise.
13283 * sunrpc/svcauth_des.c: Likewise.
13284 * sunrpc/xcrypt.c: Likewise.
13285 * sunrpc/xdr.c: Likewise.
13286 * sunrpc/xdr_array.c: Likewise.
13287 * sunrpc/xdr_float.c: Likewise.
13288 * sunrpc/xdr_intXX_t.c: Likewise.
13289 * sunrpc/xdr_mem.c: Likewise.
13290 * sunrpc/xdr_rec.c: Likewise.
13291 * sunrpc/xdr_ref.c: Likewise.
13292 * sunrpc/xdr_sizeof.c: Likewise.
13293 * sunrpc/xdr_stdio.c: Likewise.
13294
e6c61494
UD
132952011-04-10 Ulrich Drepper <drepper@gmail.com>
13296
13297 [BZ #12650]
13298 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13299 * sysdeps/ia64/dl-tls.h: Likewise.
13300 * sysdeps/powerpc/dl-tls.h: Likewise.
13301 * sysdeps/s390/dl-tls.h: Likewise.
13302 * sysdeps/sh/dl-tls.h: Likewise.
13303 * sysdeps/sparc/dl-tls.h: Likewise.
13304 * sysdeps/x86_64/dl-tls.h: Likewise.
13305 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13306
34fe483e
AS
133072011-03-14 Andreas Schwab <schwab@redhat.com>
13308
13309 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13310 rpath element also skip the following colon.
13311 (expand_dynamic_string_token): Add is_path parameter and pass
13312 down to DL_DST_REQUIRED and _dl_dst_substitute.
13313 (decompose_rpath): Call expand_dynamic_string_token with
13314 non-zero is_path. Ignore empty rpaths.
13315 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13316 with zero is_path.
13317
f12a32e6
AS
133182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13319
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13321 Make cancelable.
13322
38a7d692
UD
133232011-04-09 Ulrich Drepper <drepper@gmail.com>
13324
13325 [BZ #12655]
13326 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13327 Patch by Filipe David Manana <fdmanana@apache.org>.
13328
e451d22b
AS
133292011-04-07 Andreas Schwab <schwab@redhat.com>
13330
13331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13332 Maintain aligned stack.
13333 (CHECK_RSP): Remove unused macro.
13334
dedc7c7b
UD
133352011-04-03 Ulrich Drepper <drepper@gmail.com>
13336
13337 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13338 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13339
94521213
UD
133402011-04-02 Ulrich Drepper <drepper@gmail.com>
13341
13342 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13343
8cb700c0 13344 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13345
0354e355
L
133462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 [BZ #12518]
13349 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13350 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13351 * sysdeps/x86_64/memmove.c: New file.
13352 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13353 (memcpy): Renamed to ...
13354 (__new_memcpy): This.
13355 (memcpy): Provide GLIBC_2_14 memcpy.
13356 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13357 (memcpy): Provide GLIBC_2_2_5 memcpy.
13358
8593482f
UD
133592011-04-01 Ulrich Drepper <drepper@gmail.com>
13360
13361 [BZ #12631]
13362 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13363
81a5726b
AS
133642011-03-30 Andreas Schwab <schwab@redhat.com>
13365
13366 * misc/syncfs.c: New file.
13367 * misc/Makefile (routines): Add syncfs.
13368 * posix/unistd.h: Declare syncfs.
13369 * sysdeps/unix/syscalls.list: Add syncfs.
13370
00e5419f
AS
133712011-04-01 Andreas Schwab <schwab@redhat.com>
13372
13373 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13374 open_by_handle_at.
13375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13380 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13382
748876bf
UD
133832011-04-01 Ulrich Drepper <drepper@gmail.com>
13384
658e451d
UD
13385 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13386 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13392
748876bf
UD
13393 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13394 sync_file_range.c with -fexceptions.
13395 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13396 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13397 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13398 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13399 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13400 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13402 sync_file_range as cancellation point
13403 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13404 now a wrapper around __call_sync_file_range with cancellation handling.
13405 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13406 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13407 function name to __call_sync_file_range.
13408 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13409 Add call_sync_file_range.
748876bf 13410
6e63d5e1
AS
134112011-04-01 Andreas Schwab <schwab@redhat.com>
13412
13413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13414 bits/timex.h.
6e63d5e1 13415
46998f74
UD
134162011-04-01 Ulrich Drepper <drepper@gmail.com>
13417
4c1423ed
UD
13418 * iconv/iconv.h: Fix typo in comment.
13419 * io/fcntl.h: Likewise.
13420 * libio/stdio.h: Likewise.
13421 * posix/spawn.h: Likewise.
13422 * posix/unistd.h: Likewise.
13423 * stdlib/stdlib.h: Likewise.
13424 * time/time.h: Likewise.
13425 * wcsmbs/wchar.h: Likewise.
13426
158648c0
UD
13427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13428 open_by_handle): Add.
13429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13430 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13431 Augment a few comments.
13432 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13437 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13438 open_by_handle.
13439
46998f74
UD
13440 * io/fcntl.h (AT_EMPTY_PATH): Define.
13441
83fe108b
UD
134422011-03-30 Ulrich Drepper <drepper@gmail.com>
13443
13444 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13445 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13446 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13447 to...
13448 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13449 * Versions.def: Add GLIBC_2.14.
13450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13451 Export.
83fe108b 13452
bb242059
UD
134532011-03-22 Ulrich Drepper <drepper@gmail.com>
13454
13455 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13456 round counter.
13457 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13458
c97a1282
L
134592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13460
13461 [BZ #12597]
13462 * string/test-strncmp.c (do_page_test): New function.
13463 (check2): Likewise.
13464 (test_main): Call check2.
13465 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13466
2a115601
UD
134672011-03-20 Ulrich Drepper <drepper@gmail.com>
13468
13469 [BZ #12587]
13470 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13471 Handle cache information in CPU leaf 4.
13472 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13473
8126d904
UD
134742011-03-18 Ulrich Drepper <drepper@gmail.com>
13475
042c49c6 13476 [BZ #12583]
8126d904
UD
13477 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13478 character representation.
13479 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13480
ccfe366e
RA
134812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13482
13483 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13484 END(__isnan) to END(__isnanf) to match function entry point/label
13485 EALIGN(__isnanf,...).
13486
c6e13027
JJ
134872011-03-10 Jakub Jelinek <jakub@redhat.com>
13488
13489 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13490
33f85a3f
UD
134912011-03-10 Ulrich Drepper <drepper@gmail.com>
13492
028478fa
UD
13493 [BZ #12510]
13494 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13495 copy from the symbol referenced in the relocation to initialize the
13496 used variable.
13497 Patch by Piotr Bury <pbury@goahead.com>.
13498 * elf/Makefile: Add rules to build and tst-unique3.
13499 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13500 * elf/tst-unique3.cc: New file.
13501 * elf/tst-unique3.h: New file.
13502 * elf/tst-unique3lib.cc: New file.
13503 * elf/tst-unique3lib2.cc: New file.
13504
33f85a3f
UD
13505 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13506
03592fc7
MF
135072011-03-10 Mike Frysinger <vapier@gentoo.org>
13508
13509 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13510 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13511 to _start.
03592fc7 13512
6a5ee102
UD
135132011-03-06 Ulrich Drepper <drepper@gmail.com>
13514
13515 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13516 to-be-loaded object along a path to loader is ld.so.
13517
7e4ba49c
HJ
135182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13519 Ulrich Drepper <drepper@gmail.com>
13520
13521 * sysdeps/x86_64/memset.S: After aligning destination, code
13522 branches to different locations depending on the value of
13523 misalignment, when multiarch is enabled. Fix this.
13524
135252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13526
13527 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13528 Set _x86_64_preferred_memory_instruction for AMD processsors.
13529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13530 Set bit_Prefer_SSE_for_memop for AMD processors.
13531
13a804de
UD
135322011-03-04 Ulrich Drepper <drepper@gmail.com>
13533
13534 * libio/fmemopen.c (fmemopen): Optimize a bit.
13535
9d25c392
AS
135362011-03-03 Andreas Schwab <schwab@redhat.com>
13537
13538 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13539
a5543c6a
RM
135402011-03-03 Roland McGrath <roland@redhat.com>
13541
13542 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13543
012d35f7
DM
135442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13545
7e4ba49c 13546 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13547 __bzero_ultra1 instead of __memset_ultra1.
13548
4bff6e01
AS
135492011-02-23 Andreas Schwab <schwab@redhat.com>
13550 Ulrich Drepper <drepper@gmail.com>
13551
13552 [BZ #12509]
13553 * include/link.h (struct link_map): Add l_orig_initfini.
13554 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13555 returning unsuccessfully.
13556 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13557 close of a file loaded at startup, restore the original l_initfini
13558 list.
13559 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13560 list, store the pointer.
13561 * elf/Makefile ($(objpfx)noload-mem): New rule.
13562 (noload-ENV): Define.
13563 (tests): Add $(objpfx)noload-mem.
13564 * elf/noload.c: Include <memcheck.h>.
13565 (main): Call mtrace. Close all opened handles.
13566
f2092faf
AS
135672011-02-17 Andreas Schwab <schwab@redhat.com>
13568
13569 [BZ #12454]
13570 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13571 dependencies are missing.
13572
6c8a2e88
ST
135732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13574
f2092faf 13575 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13576 Hurd needs munmap.
13577 * sysdeps/mach/hurd/ifreq.h: New file.
13578
84a42118
PB
135792011-01-27 Petr Baudis <pasky@suse.cz>
13580 Ulrich Drepper <drepper@gmail.com>
13581
071f805e 13582 [BZ 12445]#
84a42118
PB
13583 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13584 to extend_alloca().
13585 * stdio-common/bug23.c: New file.
13586 * stdio-common/Makefile (tests): Add bug23.
13587
e23fe25b
AS
135882010-09-28 Andreas Schwab <schwab@redhat.com>
13589 Ulrich Drepper <drepper@gmail.com>
13590
13591 [BZ #12489]
13592 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13593 before performing relro protection. At old place add assertion
13594 to make sure nothing changed.
13595
d3f02e10
NS
135962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13597 Glauber de Oliveira Costa <glommer@gmail.com>
13598
13599 * elf/elf.h: Add new ARM TLS relocs.
13600
d55fd7a5
RA
136012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13602
13603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13604 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13605 cast from r3.
13606 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13607 'tests' variable.
13608 * sysdeps/wordsize-64/tst-writev.c: New file.
13609
2206397e
RA
136102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13611
13612 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13613 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13614 insns in _dl_start to prevent a TOC reference before relocs are
13615 resolved.
13616
e9433893
UD
136172011-02-15 Ulrich Drepper <drepper@gmail.com>
13618
13619 [BZ #12469]
13620 * Makeconfig: Remove RANLIB definition.
13621 * Makerules: Don't use RANLIB.
13622 * aclocal.m4: Remove ranlib test.
13623 * configure.in: No need to check for ranlib.
13624 * elf/rtld-Rules: Don't use RANLIB.
13625
f75286c6
ST
136262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13627
8e31c82d
ST
13628 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13629 protection macro.
13630 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13631 inclusion protection macro.
13632
f75286c6
ST
13633 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13634 SIGRTMIN and SIGRTMAX and print information in that case only when
13635 SIGRTMIN is defined.
13636
c1d0e639
JJ
136372011-02-11 Jakub Jelinek <jakub@redhat.com>
13638
13639 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13640 arginfo fn returning -1.
13641
13642 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13643 and thousands string is zero terminated.
13644
edf9294e
AS
136452011-02-03 Andreas Schwab <schwab@redhat.com>
13646
13647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13648 sysdeps/unix/sysv/linux/bits/socket.h.
13649
2b7e92df
ST
136502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13651
edf9294e
AS
13652 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13653 (__CPU_COUNT): Remove old macros.
13654 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13655 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13656 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13657 (__sched_cpualloc, __sched_cpufree): Add declarations.
13658
a4c7ea7b
UD
136592011-02-05 Ulrich Drepper <drepper@gmail.com>
13660
13661 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13662 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13663 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13664 (readdhstai): Return value of addhstaiX call.
13665 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13666 (addgrbyX): Return value returned by cache_addgr.
13667 (readdgrbyname): Return value returned by addgrbyX.
13668 (readdgrbygid): Likewise.
13669 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13670 (addpwbyX): Return value returned by cache_addpw.
13671 (readdpwbyname): Return value returned by addhstbyX.
13672 (readdpwbyuid): Likewise.
13673 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13674 (addservbyX): Return value returned by cache_addserv.
13675 (readdservbyname): Return value returned by addservbyX:
13676 (readdservbyport): Likewise.
13677 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13678 (addhstbyX): Return value returned by cache_addhst.
13679 (readdhstbyname): Return value returned by addhstbyX.
13680 (readdhstbyaddr): Likewise.
13681 (readdhstbynamev6): Likewise.
13682 (readdhstbyaddrv6): Likewise.
13683 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13684 (readdinitgroups): Return value returned by addinitgroupsX.
13685 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13686 (prune_cache): Keep track of timeout value of re-added entries.
13687 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13688 * nscd/nscd.h: Adjust prototypes of readd* functions.
13689
a0bf67cc
RM
136902011-02-04 Roland McGrath <roland@redhat.com>
13691
13692 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13693 (nis_stats): Likewise.
13694 * nis/nis_modify.c (nis_modify): Likewise.
13695 * nis/nis_remove.c (nis_remove): Likewise.
13696 * nis/nis_add.c (nis_add): Likewise.
13697
13698 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13699
13700 * posix/fnmatch_loop.c: Add some consts.
13701
13702 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13703
435b95eb
L
137042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13705
13706 [BZ #12460]
13707 * config.make.in (config-cflags-novzeroupper): Define.
13708 * configure.in: Substitute libc_cv_cc_novzeroupper.
13709 * elf/Makefile (AVX-CFLAGS): Define.
13710 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13711 (CFLAGS-tst-auditmod4a.c): Likewise.
13712 (CFLAGS-tst-auditmod4b.c): Likewise.
13713 (CFLAGS-tst-auditmod6b.c): Likewise.
13714 (CFLAGS-tst-auditmod6c.c): Likewise.
13715 (CFLAGS-tst-auditmod7b.c): Likewise.
13716 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13717
8517b15e
UD
137182011-02-02 Ulrich Drepper <drepper@gmail.com>
13719
13720 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13721 function to the callback.
13722 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13723
10a656fe
AS
137242011-02-02 Andreas Schwab <schwab@redhat.com>
13725
13726 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13727 of errno.
13728
968dad0a
UD
137292011-01-19 Ulrich Drepper <drepper@gmail.com>
13730
9f94d2ea 13731 [BZ #11724]
968dad0a
UD
13732 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13733 of constructors.
13734 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13735 of destructors.
13736 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13737
13738 [BZ #11724]
13739 * elf/Makefile: Add rules to build and run new test.
13740 * elf/tst-initorder.c: New file.
13741 * elf/tst-initorder.exp: New file.
13742 * elf/tst-initordera1.c: New file.
13743 * elf/tst-initordera2.c: New file.
13744 * elf/tst-initordera3.c: New file.
13745 * elf/tst-initordera4.c: New file.
13746 * elf/tst-initorderb1.c: New file.
13747 * elf/tst-initorderb2.c: New file.
13748 * elf/tst-order-a1.c: New file.
13749 * elf/tst-order-a2.c: New file.
13750 * elf/tst-order-a3.c: New file.
13751 * elf/tst-order-a4.c: New file.
13752 * elf/tst-order-b1.c: New file.
13753 * elf/tst-order-b2.c: New file.
13754 * elf/tst-order-main.c: New file.
13755 New test case by George Gensure <werkt0@gmail.com>.
13756
86e92359
UD
137572010-10-01 Andreas Schwab <schwab@redhat.com>
13758
13759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13760 decoding ACE if AI_CANONIDN.
13761
5d5732b0
UD
137622011-01-18 Ulrich Drepper <drepper@gmail.com>
13763
13764 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13765
a77e8cbc
UD
137662011-01-17 Ulrich Drepper <drepper@gmail.com>
13767
6392473f
UD
13768 * version.h (RELEASE): Bump for 2.13 release.
13769 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13770
620a0529
UD
13771 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13772
18ba70a5
UD
13773 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13774 MADV_NOHUGEPAGE.
32465c3e
UD
13775 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13776 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13777 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13778 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13779 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13781
c0dafcf1
UD
13782 * posix/getconf.c: Update copyright year.
13783 * catgets/gencat.c: Likewise.
13784 * csu/version.c: Likewise.
13785 * debug/catchsegv.sh: Likewise.
13786 * debug/xtrace.sh: Likewise.
13787 * elf/ldconfig.c: Likewise.
13788 * elf/ldd.bash.in: Likewise.
13789 * elf/sprof.c (print_version): Likewise.
13790 * iconv/iconv_prog.c: Likewise.
13791 * iconv/iconvconfig.c: Likewise.
13792 * locale/programs/locale.c: Likewise.
13793 * locale/programs/localedef.c: Likewise.
13794 * malloc/memusage.sh: Likewise.
13795 * malloc/mtrace.pl: Likewise.
13796 * nscd/nscd.c (print_version): Likewise.
13797 * nss/getent.c: Likewise.
13798
a77e8cbc
UD
13799 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13800 PF_CAIF, and PF_ALG.
13801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13802
77e8bddf
AS
138032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13804
1f20b93a
AS
13805 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13806 (modules-names): Use them.
13807 (ifunc-test-modules, ifunc-pie-tests): Define.
13808 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13809 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13810 (test-extras): Likewise.
13811 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13812 $(compile-command.c).
13813 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13814 (all-built-dso): Define.
13815 (check-textrel.out, check-execstack.out): Depend on it.
13816
77e8bddf
AS
13817 * configure.in: Don't override --enable-multi-arch.
13818
bc425b33
UD
138192011-01-15 Ulrich Drepper <drepper@gmail.com>
13820
13821 [BZ #6812]
13822 * nscd/hstcache.c (tryagain): Define.
13823 (cache_addhst): Return tryagain not notfound for temporary errors.
13824 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13825 failed.
13826
794c3ad3
UD
138272011-01-14 Ulrich Drepper <drepper@gmail.com>
13828
70181fdd
UD
13829 [BZ #10563]
13830 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13831 to make the syscall.
13832 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13833
794c3ad3
UD
13834 [BZ #12378]
13835 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13836 and fall back to matching as normal character if the string ends before
13837 the matching ']' is found. This is what POSIX requires.
13838 * posix/testfnm.c: Adjust test result.
13839 * posix/globtest.sh: Adjust test result. Add new test.
13840 * posix/tst-fnmatch.input: Likewise.
13841 * posix/tst-fnmatch2.c: Add new test.
13842
68dc9497
AS
138432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13844
13845 * elf/Makefile (check-execstack): Revert last change. Depend on
13846 check-execstack.h.
13847 (check-execstack.h): New target.
13848 (generated): Add check-execstack.h.
13849 * elf/check-execstack.c: Include "check-execstack.h".
13850 (main): Revert last change.
13851 (handle_file): Return zero if GNU_STACK is absent and
13852 DEFAULT_STACK_PERMS doesn't include PF_X.
13853
451f001b
UD
138542011-01-13 Ulrich Drepper <drepper@gmail.com>
13855
cfa28e56
UD
13856 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13857 in child fails because the descriptor is already closed.
8cf8ce17
UD
13858 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13859 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13860 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13861
1086d70d
UD
13862 [BZ #12397]
13863 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13864 syscall.
13865
451f001b
UD
13866 [BZ #10484]
13867 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13868 temporary buffer used to handle multi lookups locally.
a85b5cb4 13869 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13870
08769175
UD
138712011-01-12 Ulrich Drepper <drepper@gmail.com>
13872
13873 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13874 loader is ld.so.
13875
5e49c52e
UD
138762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13877
13878 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13879 alignment for SSE2.
13880
60522a5f
UD
138812011-01-12 Ulrich Drepper <drepper@gmail.com>
13882
13883 [BZ #12394]
13884 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13885 characters. When rounding increased number of integer digits recompute
13886 number of groups.
13887 * stdio-common/tst-grouping.c: New file.
13888 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13889
f257bbd7
UD
138902011-01-09 Ulrich Drepper <drepper@gmail.com>
13891
13892 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13893 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13894
13895 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13896 void.
13897 * bits/select.h: Likewise.
13898
fa9c15cb
UD
138992011-01-08 Ulrich Drepper <drepper@gmail.com>
13900
13901 * po/ja.po: Update from translation team.
13902
16c2895f
DM
139032011-01-04 David S. Miller <davem@sunset.davemloft.net>
13904
13905 [BZ #11155]
13906 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13907 implementation just like for lxstat, fxstatat, et al.
13908
2543fef2
JM
139092010-12-27 Jim Meyering <meyering@redhat.com>
13910
13911 [BZ #12348]
13912 * posix/regexec.c (build_trtable): Return failure indication upon
13913 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13914
98727dbe
UD
139152010-12-25 Ulrich Drepper <drepper@gmail.com>
13916
5bd6dc5c
UD
13917 [BZ #12201]
13918 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13919 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13920 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13921 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13922
97983464
UD
13923 [BZ #12207]
13924 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13925
98727dbe
UD
13926 [BZ #12204]
13927 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13928 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13929
4a531bb0
L
139302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13931
13932 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13933 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13934 script has SORT_BY_INIT_PRIORITY.
13935 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13936 NO_CTORS_DTORS_SECTIONS is defined.
13937 * elf/soinit.c: Likewise.
13938 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13939 NO_CTORS_DTORS_SECTIONS is defined.
13940 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13941 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13942 * sysdeps/sh/init-first.c: Likewise.
13943 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13944
07eb4b71
UD
139452010-12-24 Ulrich Drepper <drepper@gmail.com>
13946
13947 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13948 always use the slow path.
13949
30950a5f
RA
139502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13951
13952 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13953 similar rule which adds the sysdep directories to the header search in
13954 order to pick up the correct platform stackinfo.h.
13955 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13956 perform test if it is, otherwise return successfully without testing.
13957 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13958 DEFAULT_STACK_PERMS define in stackinfo.h.
13959 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13960 defined in stackinfo.h.
13961 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13962 DEFAULT_STACK_PERMS defined in stackinfo.h.
13963 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13964 * sysdeps/ia64/stackinfo.h: Likewise.
13965 * sysdeps/s390/stackinfo.h: Likewise.
13966 * sysdeps/sh/stackinfo.h: Likewise.
13967 * sysdeps/sparc/stackinfo.h: Likewise.
13968 * sysdeps/x86_64/stackinfo.h: Likewise.
13969 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13970 PF_X for powerpc64. Retain PF_X for powerpc32.
13971
db753e2c
UD
139722010-12-19 Ulrich Drepper <drepper@gmail.com>
13973
14b697f7
UD
13974 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13975 accurately.
db753e2c
UD
13976 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13977 GETDENTS_64BIT_ALIGNED.
13978
28300719
UD
139792010-12-14 Ulrich Drepper <dreper@gmail.com>
13980
14b697f7 13981 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13982
4f197237
AS
139832010-12-10 Andreas Schwab <schwab@redhat.com>
13984
dbb0472f
AS
13985 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13986 _GNU_SOURCE.
13987
4f197237
AS
13988 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13989 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13990 Remove __restrict.
13991 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13992 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13993
fb88ac72
UD
139942010-12-09 Ulrich Drepper <drepper@gmail.com>
13995
13996 [BZ #11655]
13997 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13998 are initialized.
13999
42acbb92
JJ
140002010-12-09 Jakub Jelinek <jakub@redhat.com>
14001
14002 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14003
c038d98d
UD
140042010-12-03 Ulrich Drepper <drepper@gmail.com>
14005
14006 * po/it.po: Update from translation team.
14007
3a4a2499
L
140082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14009
14010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14011 unused codes.
14012
1e24cf6e
UD
140132010-11-30 Ulrich Drepper <drepper@gmail.com>
14014
14015 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14016
a7690819
AS
140172010-11-24 Andreas Schwab <schwab@redhat.com>
14018
14019 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14020 specially.
14021 (gaih_getanswer_slice): Likewise.
14022
3bf8d1b1
JJ
140232010-10-20 Jakub Jelinek <jakub@redhat.com>
14024
14025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14026
6db52fbb
PB
140272010-05-31 Petr Baudis <pasky@suse.cz>
14028
14029 [BZ #11149]
14030 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14031 silently even in the chroot mode.
14032
eaca7569
UD
140332010-11-22 Ulrich Drepper <drepper@gmail.com>
14034
14035 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14036 last patch a bit. Pretty printing
14037
3056dcdb
UD
140382010-05-31 Petr Baudis <pasky@suse.cz>
14039
14040 [BZ #10085]
14041 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14042 initialization of skip_initgroups_dyn.
14043
cf7c9078
UD
140442010-11-19 Ulrich Drepper <drepper@gmail.com>
14045
14046 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14047 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14048
a1fb5e3e
UD
140492010-11-16 Ulrich Drepper <drepper@gmail.com>
14050
14051 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14052
3540d66b
AS
140532010-11-11 Andreas Schwab <schwab@redhat.com>
14054
14055 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14056 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14057 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14058 ($(objpfx)tst-fnmatch-mem): New rule.
14059 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14060 * posix/tst-fnmatch.c (main): Call mtrace.
14061
13b69574
L
140622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14063
14064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14065 Support Intel processor model 6 and model 0x2c.
14066
da93d214
LM
140672010-11-10 Luis Machado <luisgpm@br.ibm.com>
14068
14069 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14070 signed comparison.
14071
8ca52c6e
L
140722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 [BZ #12205]
14075 * string/test-strncasecmp.c (check_result): New function.
14076 (do_one_test): Use it.
14077 (check1): New function.
14078 (test_main): Use it.
14079 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14080 Support strcasecmp and strncasecmp.
14081
69da074d
UD
140822010-11-08 Ulrich Drepper <drepper@gmail.com>
14083
14084 [BZ #12194]
14085 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14087
ff02d528
L
140882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14089
14090 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14091 IFUNC support.
14092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14093 memset-x86-64.
14094 * sysdeps/x86_64/multiarch/bzero.S: New file.
14095 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14096 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14097 * sysdeps/x86_64/multiarch/memset.S: New file.
14098 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14100 Set bit_Prefer_SSE_for_memop for Intel processors.
14101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14102 Define.
14103 (index_Prefer_SSE_for_memop): Define.
14104 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14105
344d0b54
LM
141062010-11-04 Luis Machado <luisgpm@br.ibm.com>
14107
14108 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14109 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14110
c0dde15b
UD
141112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14112
14113 [BZ #12191]
14114 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14115 (__x86_64_raw_data_cache_size_half): Likewise.
14116 (__x86_64_raw_shared_cache_size): Likewise.
14117 (__x86_64_raw_shared_cache_size_half): Likewise.
14118
14119 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14120 (__x86_64_raw_data_cache_size_half): Likewise.
14121 (__x86_64_raw_shared_cache_size): Likewise.
14122 (__x86_64_raw_shared_cache_size_half): Likewise.
14123 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14124 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14125 and __x86_64_raw_shared_cache_size_half. Round
14126 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14127 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14128 to multiple of 256 bytes.
14129
0e516e0e
MS
141302010-11-03 Ulrich Drepper <drepper@gmail.com>
14131
14132 [BZ #12167]
14133 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14134 of inacessible symlinks. Verify result of symlink before returning it.
14135 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14136 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14137
0e012e87
ER
141382010-10-28 Erich Ritz <erichritz@gmail.com>
14139
14140 * math/math.h (isinf): Fix typo in comment.
14141
de0ff7bc
UD
141422010-11-01 Ulrich Drepper <drepper@gmail.com>
14143
14144 * po/da.po: Update from translation team.
14145
fa41c84d
UD
141462010-10-26 Ulrich Drepper <drepper@gmail.com>
14147
14148 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14149 is added to the list.
14150
f0967738
AK
141512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14152 Ulrich Drepper <drepper@gmail.com>
14153
14154 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14155 the global list here. Move code to...
14156 (_dl_add_to_namespace_list): ...here. New function.
14157 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14158 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14159 * elf/dl-load.c (lose): Don't remove the element from the list.
14160 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14161 (_dl_map_object): Likewise.
14162
141632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14164
14165 [BZ #12159]
14166 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14167 into all bytes of SSE register.
14168 Patch by Richard Li <richardpku@gmail.com>.
14169
f0967738 141702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14171
14172 [BZ #12140]
14173 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14174 perturbing.
14175
d0b9e94f
MB
141762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14177
14178 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14179 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14180 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14181 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14183 submachine.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14185
8e9f92e9
AS
141862010-10-22 Andreas Schwab <schwab@redhat.com>
14187
14188 * include/dlfcn.h (__RTLD_SECURE): Define.
14189 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14190 mode & __RTLD_SECURE instead.
14191 (open_path): Rename preloaded parameter to secure.
14192 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14193 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14194 * elf/dl-deps.c (openaux): Likewise.
14195 * elf/rtld.c (struct map_args): Remove is_preloaded.
14196 (map_doit): Don't use it.
14197 (dl_main): Likewise.
14198 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14199 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14200
bc96fbda
AS
142012010-09-09 Andreas Schwab <schwab@redhat.com>
14202
14203 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14204 (sysd-rules-targets): Remove duplicates.
14205 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14206 rtld-%.$o dependency.
14207
22cd1c9b
AS
142082010-10-18 Andreas Schwab <schwab@redhat.com>
14209
14210 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14211 _dl_map_object do it.
14212
18edac48
UD
142132010-10-19 Ulrich Drepper <drepper@gmail.com>
14214
14215 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14216 fast fma builtins, define the macros in the C99 standard.
14217 (FP_FAST_FMAF): Likewise.
14218 (FP_FAST_FMAL): Likewise.
14219 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14220
14221 * bits/mathdef.h: Update copyright year.
14222 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14223
d2050124
MM
142242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14225
14226 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14227 builtins, define the macros in the C99 standard.
14228 (FP_FAST_FMAF): Likewise.
14229 (FP_FAST_FMAL): Likewise.
14230 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14231 multiply/add.
14232 (FP_FAST_FMAF): Likewise.
14233
475facd1
JJ
142342010-10-15 Jakub Jelinek <jakub@redhat.com>
14235
14236 [BZ #3268]
14237 * math/libm-test.inc (fma_test): Some new testcases.
14238 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14239 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14240 y and infinite z. Do multiplication by C already in long double.
14241 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14243 y and infinite z. Do bitwise or of inexact bit into u.d.
14244 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14245 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14246 * sysdeps/i386/fpu/s_fma.S: Removed.
14247 * sysdeps/i386/fpu/s_fmal.S: Removed.
14248
7c08a05c
JJ
142492010-10-16 Jakub Jelinek <jakub@redhat.com>
14250
14251 [BZ #3268]
14252 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14254 computation is not scheduled after fetestexcept. Fix value
14255 of minimum denormal long double.
14256
f3f7372d
JJ
142572010-10-14 Jakub Jelinek <jakub@redhat.com>
14258
14259 [BZ #3268]
14260 * math/libm-test.inc (fma_test): Add some more tests.
14261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14262 correctly.
14263
14d43591
AS
142642010-10-15 Andreas Schwab <schwab@redhat.com>
14265
14266 * scripts/data/localplt-s390-linux-gnu.data: New file.
14267 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14268
5e908464
JJ
142692010-10-13 Jakub Jelinek <jakub@redhat.com>
14270
14271 [BZ #3268]
14272 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14273 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14274 instead of dbl-64.
14275 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14276 inlines.
14277 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14279 if one of x and y is very large and the other is subnormal.
14280 * sysdeps/s390/fpu/s_fmaf.c: New file.
14281 * sysdeps/s390/fpu/s_fma.c: New file.
14282 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14283 * sysdeps/powerpc/fpu/s_fma.S: New file.
14284 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14285 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14286 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14287
142882010-10-12 Jakub Jelinek <jakub@redhat.com>
14289
14290 [BZ #3268]
14291 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14292 fma tests.
14293 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14294 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14295 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14296 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14297 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14298 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14300
b833d51f
UD
143012010-10-12 Ulrich Drepper <drepper@redhat.com>
14302
14303 [BZ #12078]
14304 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14305 * posix/bug-regex31.input: Add test case.
14306
1751705d
UD
143072010-10-11 Ulrich Drepper <drepper@gmail.com>
14308
e9b9cbf5
UD
14309 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14310 * posix/bug-regex31.input: New file.
14311
14312 [BZ #12078]
14313 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14314 (parse_sub_exp): Fix last change, use postorder.
14315
ef06edbe
UD
14316 * posix/bug-regex31.c: New file.
14317 * posix/Makefile: Add rules to build and run bug-regex31.
14318
a129c80d
UD
14319 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14320
14321 [BZ #12078]
14322 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14323
b76b818e
UD
14324 [BZ #12108]
14325 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14326 to have entries in sys_siglist.
14327
1751705d
UD
14328 [BZ #12093]
14329 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14330 be NULL.
14331
9ff8d36f
JJ
143322010-10-07 Jakub Jelinek <jakub@redhat.com>
14333
14334 [BZ #3268]
14335 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14336 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14337 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14338 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14339 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14340 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14341 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14342 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14343 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14344 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14345 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14346 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14347 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14348 * math/ftestexcept.c (fetestexcept): Likewise.
14349 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14350 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14351 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14352 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14353 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14354 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14355 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14356
af325969
UD
143572010-10-11 Ulrich Drepper <drepper@gmail.com>
14358
c579b202 14359 [BZ #12107]
af325969
UD
14360 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14361 newline.
14362
67a67b95
UD
143632010-10-06 Ulrich Drepper <drepper@gmail.com>
14364
14365 * string/bug-strstr1.c: New file.
14366 * string/Makefile: Add rules to build and run bug-strstr1.
14367
5fb308bc
EB
143682010-10-05 Eric Blake <eblake@redhat.com>
14369
14370 [BZ #12092]
14371 * string/str-two-way.h (two_way_long_needle): Always clear memory
14372 when skipping input due to the shift table.
14373
45db99c7
UD
143742010-10-03 Ulrich Drepper <drepper@gmail.com>
14375
3b111893
UD
14376 [BZ #12005]
14377 * malloc/mcheck.c: Handle large requests.
14378
45db99c7
UD
14379 [BZ #12077]
14380 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14381 for strncmp and strncasecmp.
14382 * string/stratcliff.c: Add tests for strcmp and strncmp.
14383 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14384
cf7a1eb8
NI
143852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14386
14387 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14388 __set_fpscr.
14389
6484ba5e
AJ
143902010-09-30 Andreas Jaeger <aj@suse.de>
14391
14392 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14393 (CGROUP_SUPER_MAGIC): Define.
14394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14395 Handle btrfs and cgroup file systems.
14396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14397 Likewise.
14398
91c42559
LM
143992010-09-27 Luis Machado <luisgpm@br.ibm.com>
14400
14401 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14402 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14403
87a97932
AK
144042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14405
14406 [BZ #12067]
14407 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14408 trying to locate the ELF header.
14409
c21cc9bc
AS
144102010-09-27 Andreas Schwab <schwab@redhat.com>
14411
14412 [BZ #11611]
14413 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14414 Mask out sign-bit copies when constructing f_fsid.
14415
315970f6
PB
144162010-09-24 Petr Baudis <pasky@suse.cz>
14417
14418 * debug/stack_chk_fail_local.c: Add missing licence exception.
14419 * debug/warning-nop.c: Likewise.
14420
1ac7a2c7
JM
144212010-09-15 Joseph Myers <joseph@codesourcery.com>
14422
14423 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14424 implementing getdents64 using getdents syscall, set d_type if
14425 __ASSUME_GETDENTS32_D_TYPE.
14426
56801c50
AS
144272010-09-16 Andreas Schwab <schwab@redhat.com>
14428
14429 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14430 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14431
dda51327
UD
144322010-09-21 Ulrich Drepper <drepper@redhat.com>
14433
14434 [BZ #12037]
14435 * posix/unistd.h: Undo change of feature selection for ftruncate from
14436 2010-01-11.
14437
8ffcee4a
UD
144382010-09-20 Ulrich Drepper <drepper@redhat.com>
14439
a545ecd9 14440 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14441 detection.
14442
e24f0a8b
AS
144432010-09-20 Andreas Schwab <schwab@redhat.com>
14444
14445 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14446 fanotify_mark.
14447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14448
7291c56f
AS
144492010-09-14 Andreas Schwab <schwab@redhat.com>
14450
14451 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14452 variables after CHECK_SP call.
14453 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14454
bc5fb037
AS
144552010-09-13 Andreas Schwab <schwab@redhat.com>
14456 Ulrich Drepper <drepper@redhat.com>
14457
14458 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14459 re-relocationg ld.so.
14460 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14461 _dl_init_paths call.
14462 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14463 here anymore.
14464
e66e7419
UD
144652010-09-14 Ulrich Drepper <drepper@redhat.com>
14466
14467 * resolv/res_init.c (__res_vinit): Count the default server we added.
14468
c044aa75
CLT
144692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14470 Ulrich Drepper <drepper@redhat.com>
14471
14472 [BZ #11968]
14473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14474 (____longjmp_chk): Use %ebx for saving value across system call.
14475 Add unwind info.
14476
32cf4069
AS
144772010-09-06 Andreas Schwab <schwab@redhat.com>
14478
14479 * manual/Makefile: Don't mix pattern rules with normal rules.
14480
817328ee
AS
144812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14482
14483 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14484 operation.
14485 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14486 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14487 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14488 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14490 Likewise.
14491
29fddf61
UD
144922010-09-04 Ulrich Drepper <drepper@redhat.com>
14493
14494 [BZ #11979]
14495 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14496 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14497
0959ffc9
UD
144982010-09-02 Ulrich Drepper <drepper@redhat.com>
14499
14500 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14501 * sysdeps/x86_64/addmul_1.S: Likewise.
14502 * sysdeps/x86_64/lshift.S: Likewise.
14503 * sysdeps/x86_64/mul_1.S: Likewise.
14504 * sysdeps/x86_64/rshift.S: Likewise.
14505 * sysdeps/x86_64/sub_n.S: Likewise.
14506 * sysdeps/x86_64/submul_1.S: Likewise.
14507
ece29840
ST
145082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14509
0959ffc9
UD
14510 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14511 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14512 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14513 * bits/sched.h [__need_schedparam]
ece29840 14514 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14515 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14516 (__defined_schedparam): Define to 1.
ece29840
ST
14517 (__sched_param): New structure, identical to sched_param.
14518 (__need_schedparam): Undefine.
14519
e53a31fe
MF
145202010-08-31 Mike Frysinger <vapier@gentoo.org>
14521
fdc0c10d
MF
14522 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14523 (epoll_create1): Declare.
14524
e53a31fe
MF
14525 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14526
a726d796
AS
145272010-08-31 Andreas Schwab <schwab@redhat.com>
14528
14529 [BZ #7066]
14530 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14531 shifting retval into place.
14532
2f3e3dc7
UD
145332010-09-01 Ulrich Drepper <drepper@redhat.com>
14534
f2933da9
UD
14535 * nis/rpcsvc/nis.h: Update copyright notice.
14536 * nis/rpcsvc/nis.x: Likewise.
14537 * nis/rpcsvc/nis_callback.h: Likewise.
14538 * nis/rpcsvc/nis_callback.x: Likewise.
14539 * nis/rpcsvc/nis_object.x: Likewise.
14540 * nis/rpcsvc/nis_tags.h: Likewise.
14541 * nis/rpcsvc/yp.h: Likewise.
14542 * nis/rpcsvc/yp.x: Likewise.
14543 * nis/rpcsvc/ypupd.h: Likewise.
14544 * nis/yp_xdr.c: Likewise.
14545 * nis/ypupdate_xdr.c: Likewise.
14546
2f3e3dc7
UD
14547 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14548 mainly the body of pmap_getport. Add parameters to specify timeouts.
14549 (pmap_getport): Use __libc_rpc_getport.
14550 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14551 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14552 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14553
f3dcc2f9
AS
145542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14555
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14557 fanotify_mark.
14558
6d34eb5b
RM
145592010-08-27 Roland McGrath <roland@redhat.com>
14560
14561 * sysdeps/i386/i686/multiarch/Makefile
14562 (CFLAGS-varshift.c): New variable.
14563
9ea3de11
UD
145642010-08-27 Ulrich Drepper <drepper@redhat.com>
14565
c96d23fc
UD
14566 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14567 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14568
9ea3de11
UD
14569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14570
14571 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14572
623aac7f
L
145732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 * sysdeps/x86_64/strlen.S: Unroll the loop.
14576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14577 strlen-sse2 strlen-sse2-bsf.
14578 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14579 __strlen_no_bsf if bit_Slow_BSF is set.
14580 (__strlen_sse42): Removed.
14581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14582 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14583
8b2b7715
RM
145842010-08-25 Roland McGrath <roland@redhat.com>
14585
14586 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14587 * sysdeps/x86_64/multiarch/varshift.c: New file.
14588 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14589 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14590 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14591 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14592
e73015f2
L
145932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14594
14595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14596 strlen-sse2 strlen-sse2-bsf.
14597 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14598 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14599 (__strlen_sse2): Removed.
14600 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14601 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14603 bit_Slow_BSF for Atom.
14604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14605 (index_Slow_BSF): Define.
14606 (HAS_SLOW_BSF): Define.
14607
df24a73e
UD
146082010-08-25 Ulrich Drepper <drepper@redhat.com>
14609
14610 [BZ #10851]
14611 * resolv/res_init.c (__res_vinit): When no server address at all
14612 is given default to loopback.
14613
f2ac4868
RM
146142010-08-24 Roland McGrath <roland@redhat.com>
14615
09055553
RM
14616 * configure.in: Remove config-name.h generation.
14617 * configure: Regenerated.
14618 * config-name.in: File removed.
14619 * scripts/config-uname.sh: New file.
14620 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14621 ($(objdir)config-name.h): New target.
14622
f2ac4868
RM
14623 * sunrpc/rpc_parse.h: Avoid nested comment.
14624
73f27d5e
RH
146252010-08-24 Richard Henderson <rth@redhat.com>
14626 Ulrich Drepper <drepper@redhat.com>
14627 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14631 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14632 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14633 _mm_alignr_epi8 with _mm_loadu_si128.
14634 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14635 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14636 (__m128i_shift_right): Removed.
14637 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14638 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14639 * sysdeps/x86_64/multiarch/varshift.h: New file.
14640 * sysdeps/x86_64/multiarch/varshift.S: New file.
14641
84b9230c
MF
146422010-08-21 Mike Frysinger <vapier@gentoo.org>
14643
14644 * configure.in: Move assembler checks to before sysdep dir checking.
14645
9bbd0ddc
PB
146462010-08-20 Petr Baudis <pasky@suse.cz>
14647
14648 * LICENSES: Sync the sunrpc license.
14649
9da4bb31
UD
146502010-08-19 Ulrich Drepper <drepper@redhat.com>
14651
a7ab6ec8
UD
14652 * sunrpc/auth_des.c: Update copyright notice once again.
14653 * sunrpc/auth_none.c: Likewise.
14654 * sunrpc/auth_unix.c: Likewise.
14655 * sunrpc/authdes_prot.c: Likewise.
14656 * sunrpc/authuxprot.c: Likewise.
14657 * sunrpc/bindrsvprt.c: Likewise.
14658 * sunrpc/clnt_gen.c: Likewise.
14659 * sunrpc/clnt_perr.c: Likewise.
14660 * sunrpc/clnt_raw.c: Likewise.
14661 * sunrpc/clnt_simp.c: Likewise.
14662 * sunrpc/clnt_tcp.c: Likewise.
14663 * sunrpc/clnt_udp.c: Likewise.
14664 * sunrpc/clnt_unix.c: Likewise.
14665 * sunrpc/des_crypt.c: Likewise.
14666 * sunrpc/des_soft.c: Likewise.
14667 * sunrpc/get_myaddr.c: Likewise.
14668 * sunrpc/getrpcport.c: Likewise.
14669 * sunrpc/key_call.c: Likewise.
14670 * sunrpc/key_prot.c: Likewise.
14671 * sunrpc/openchild.c: Likewise.
14672 * sunrpc/pm_getmaps.c: Likewise.
14673 * sunrpc/pm_getport.c: Likewise.
14674 * sunrpc/pmap_clnt.c: Likewise.
14675 * sunrpc/pmap_prot.c: Likewise.
14676 * sunrpc/pmap_prot2.c: Likewise.
14677 * sunrpc/pmap_rmt.c: Likewise.
14678 * sunrpc/rpc/auth.h: Likewise.
14679 * sunrpc/rpc/auth_unix.h: Likewise.
14680 * sunrpc/rpc/clnt.h: Likewise.
14681 * sunrpc/rpc/des_crypt.h: Likewise.
14682 * sunrpc/rpc/key_prot.h: Likewise.
14683 * sunrpc/rpc/netdb.h: Likewise.
14684 * sunrpc/rpc/pmap_clnt.h: Likewise.
14685 * sunrpc/rpc/pmap_prot.h: Likewise.
14686 * sunrpc/rpc/pmap_rmt.h: Likewise.
14687 * sunrpc/rpc/rpc.h: Likewise.
14688 * sunrpc/rpc/rpc_des.h: Likewise.
14689 * sunrpc/rpc/rpc_msg.h: Likewise.
14690 * sunrpc/rpc/svc.h: Likewise.
14691 * sunrpc/rpc/svc_auth.h: Likewise.
14692 * sunrpc/rpc/types.h: Likewise.
14693 * sunrpc/rpc/xdr.h: Likewise.
14694 * sunrpc/rpc_clntout.c: Likewise.
14695 * sunrpc/rpc_cmsg.c: Likewise.
14696 * sunrpc/rpc_common.c: Likewise.
14697 * sunrpc/rpc_cout.c: Likewise.
14698 * sunrpc/rpc_dtable.c: Likewise.
14699 * sunrpc/rpc_hout.c: Likewise.
14700 * sunrpc/rpc_main.c: Likewise.
14701 * sunrpc/rpc_parse.c: Likewise.
14702 * sunrpc/rpc_parse.h: Likewise.
14703 * sunrpc/rpc_prot.c: Likewise.
14704 * sunrpc/rpc_sample.c: Likewise.
14705 * sunrpc/rpc_scan.c: Likewise.
14706 * sunrpc/rpc_scan.h: Likewise.
14707 * sunrpc/rpc_svcout.c: Likewise.
14708 * sunrpc/rpc_tblout.c: Likewise.
14709 * sunrpc/rpc_util.c: Likewise.
14710 * sunrpc/rpc_util.h: Likewise.
14711 * sunrpc/rpcinfo.c: Likewise.
14712 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14713 * sunrpc/rpcsvc/key_prot.x: Likewise.
14714 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14715 * sunrpc/rpcsvc/mount.x: Likewise.
14716 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14717 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14718 * sunrpc/rpcsvc/rex.x: Likewise.
14719 * sunrpc/rpcsvc/rstat.x: Likewise.
14720 * sunrpc/rpcsvc/rusers.x: Likewise.
14721 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14722 * sunrpc/rpcsvc/spray.x: Likewise.
14723 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14724 * sunrpc/rtime.c: Likewise.
14725 * sunrpc/svc.c: Likewise.
14726 * sunrpc/svc_auth.c: Likewise.
14727 * sunrpc/svc_authux.c: Likewise.
14728 * sunrpc/svc_raw.c: Likewise.
14729 * sunrpc/svc_run.c: Likewise.
14730 * sunrpc/svc_simple.c: Likewise.
14731 * sunrpc/svc_tcp.c: Likewise.
14732 * sunrpc/svc_udp.c: Likewise.
14733 * sunrpc/svc_unix.c: Likewise.
14734 * sunrpc/svcauth_des.c: Likewise.
14735 * sunrpc/xcrypt.c: Likewise.
14736 * sunrpc/xdr.c: Likewise.
14737 * sunrpc/xdr_array.c: Likewise.
14738 * sunrpc/xdr_float.c: Likewise.
14739 * sunrpc/xdr_mem.c: Likewise.
14740 * sunrpc/xdr_rec.c: Likewise.
14741 * sunrpc/xdr_ref.c: Likewise.
14742 * sunrpc/xdr_sizeof.c: Likewise.
14743 * sunrpc/xdr_stdio.c: Likewise.
14744
9da4bb31
UD
14745 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14746 handling.
14747
bdaa77bc
AS
147482010-08-19 Andreas Schwab <schwab@redhat.com>
14749
14750 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14751
fe2f79db
LM
147522010-08-19 Luis Machado <luisgpm@br.ibm.com>
14753
14754 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14755 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14756 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14757 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14758 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14759 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14760 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14761 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14763 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14764 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14765 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14766 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14767 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14768
b9b42ee0
AB
147692010-07-26 Anton Blanchard <anton@samba.org>
14770
14771 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14772 * malloc/arena.c (heap_trim): Likewise.
14773
1c06ba31
UD
147742010-08-16 Ulrich Drepper <drepper@redhat.com>
14775
14776 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14777 here. Not...
14778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14779 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14780
f8392f40
L
147812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14782
14783 * sysdeps/i386/elf/Makefile: New file.
14784
3162f12e
AS
147852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14786
14787 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14788 from fanotify_init.
14789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14791
28c90b2c
UD
147922010-08-15 Ulrich Drepper <drepper@redhat.com>
14793
14794 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14795 of strncasecmp_l.
1feccb6c 14796 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14797
ca6bb004
UD
147982010-08-14 Ulrich Drepper <drepper@redhat.com>
14799
e9f82e0d
UD
14800 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14801 strncase_l-nonascii.
14802 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14803 Add strncase_l-ssse3.
14804 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14805 * sysdeps/x86_64/strcmp.S: Likewise.
14806 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14807 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14808 * sysdeps/x86_64/strncase.S: New file.
14809 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14810 * sysdeps/x86_64/strncase_l.S: New file.
14811 * string/Makefile (strop-tests): Add strncasecmp.
14812 * string/test-strncasecmp.c: New file.
14813
14814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14815 warning.
14816
ca6bb004
UD
14817 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14818 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14819
052fa7b3
AS
148202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14821
14822 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14823
962dba78
UD
148242010-08-12 Ulrich Drepper <drepper@redhat.com>
14825
14826 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14827 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14829
bebff237
AM
148302010-05-01 Alan Modra <amodra@gmail.com>
14831
14832 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14833 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14834 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14835 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14836 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14837 tidying. Don't tail-call __sigjmp_save for static lib.
14838 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14839 save location.
14840 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14841 (CALL_MCOUNT): Add eh info, and nop after bl.
14842 (TAIL_CALL_SYSCALL_ERROR): New macro.
14843 (PSEUDO_RET): Use it.
14844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14845 Correct save location of integer regs and cr.
14846 (_dl_profile_resolve): Correct cr save location. Delete nops
14847 after bl when SHARED. Reduce cfi size a little by better
14848 placement of cfi directives.
14849 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14850 make a stack frame. Instead use parm save area as a temp.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14852 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14854 Don't make a stack frame for parent, use parm save area.
14855 Increase child stack frame to 112 bytes. Don't save unused reg,
14856 and adjust reg usage. Set up cfi on error recovery and
14857 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14859 (__makecontext): Add dummy nop after jump to exit.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14861 Use correct parm save area and cr save, reduce stack frame.
14862 Correct cfi for possible PSEUDO_RET frame setup.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14864 Branch to local label emitted by PSEUDO_RET rather than
14865 __syscall_error.
14866
02637374
AS
148672010-08-12 Andreas Schwab <schwab@redhat.com>
14868
14869 [BZ #11904]
14870 * locale/programs/locale.c (print_assignment): New function.
14871 (show_locale_vars): Use it.
14872
c3e2f19b
UD
148732010-08-11 Ulrich Drepper <drepper@redhat.com>
14874
3cdaa6ad
UD
14875 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14876 field.
14877 (struct statfs64): Likewise.
14878 (_STATFS_F_FLAGS): Define.
14879 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14880 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14881 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14882 (ST_VALID): Define locally.
14883 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14884 __statvfs_getflags, use the provided value.
14885 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14886 __ASSUME_STATFS_F_FLAGS.
14887
754f7da3
UD
14888 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14889
10b3bedc
UD
14890 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14891 Add sys/fanotify.h.
14892 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14893 fanotify_mask for GLIBC_2.13.
14894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14895 fanotify_init and fanotify_mark.
14896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14897 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14898
c08fb0d7
UD
14899 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14900 Add prlimit.
14901 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14902 prlimit64 for GLIBC_2.13.
14903 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14904 prlimit64.
14905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14906 syscall.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14909 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14910 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14911 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14912 add prlimit alias.
14913 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14914
15bac72b
UD
14915 [BZ #11903]
14916 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14917 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14918
c3e2f19b
UD
14919 * nss/Makefile: Add rules to build and run tst-nss-test1.
14920 * shlib-versions: Add entry for libnss_test1.
14921 * nss/nss_test1.c: New file.
14922 * nss/tst-nss-test1.c: New file.
14923
14924 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14925 (__nss_configure_lookup): Set appropriate entry in
14926 __nss_configure_lookup to true.
14927 * nss/nsswitch.h: Define enum with indeces of databases in
14928 databases and __nss_database_custom arrays. Declare
14929 __nss_database_custom.
14930 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14931 to avoid using nscd when custom rules are installed.
14932 * nss/getXXbyYY_r.c: Likewise.
14933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14934
14935 * nss/nss_files/files-parse.c: Whitespace fixes.
14936
f15ce4d8
UD
149372010-08-09 Ulrich Drepper <drepper@redhat.com>
14938
14939 [BZ #11883]
14940 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14941 * posix/fnmatch_loop.c: Likewise.
14942
d22e4cc9
AK
149432010-07-17 Andi Kleen <ak@linux.intel.com>
14944
14945 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14946 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14947 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14948 * Versions.def [GLIBC_2.13]: Add.
14949
805bc17d
UD
149502010-08-06 Ulrich Drepper <drepper@redhat.com>
14951
14952 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14953 Also fail if tpwd after pwuid call is NULL.
14954
5a42321d
ST
149552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14956
14957 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14958 when converting to ms.
14959
fd3ebeda
ST
149602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14961
14962 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14963 EOPNOTSUPP errors with ENOTTY.
14964 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14965 EOPNOTSUPP errors with ENOTTY.
14966
73507d3a
UD
149672010-07-31 Ulrich Drepper <drepper@redhat.com>
14968
14969 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14970 Add strcasecmp_l-ssse3.
14971 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14972 strcasecmp.
14973 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14974 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14976
fe36dd02
UD
149772010-07-30 Ulrich Drepper <drepper@redhat.com>
14978
66f6765a
UD
14979 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14980
42e08a54
UD
14981 * string/Makefile (strop-tests): Add strcasecmp.
14982 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14983 strcasecmp_l-nonascii.
14984 (gen-as-const-headers): Add locale-defines.sym.
14985 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14986 * sysdeps/x86_64/strcasecmp.S: New file.
14987 * sysdeps/x86_64/strcasecmp_l.S: New file.
14988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14989 * sysdeps/x86_64/locale-defines.sym: New file.
14990 * string/test-strcasecmp.c: New file.
14991
fe36dd02
UD
14992 * string/test-strcasestr.c: Test both ends of the range of characters.
14993 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14994
48cbc0d6
RM
149952010-07-29 Roland McGrath <roland@redhat.com>
14996
76e6d6bc 14997 [BZ #11856]
48cbc0d6
RM
14998 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14999
880113d9
UD
150002010-07-27 Ulrich Drepper <drepper@redhat.com>
15001
15002 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15003 for ld.so.
15004
deb9cabb
AS
150052010-07-27 Andreas Schwab <schwab@redhat.com>
15006
15007 * manual/memory.texi (Malloc Tunable Parameters): Document
15008 M_PERTURB.
15009
1c7570ff
RM
150102010-07-26 Roland McGrath <roland@redhat.com>
15011
15012 [BZ #11840]
15013 * configure.in (-fgnu89-inline check): Set and substitute
15014 gnu89_inline, not libc_cv_gnu89_inline.
15015 * configure: Regenerated.
15016 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15017
24fb0f88
UD
150182010-07-26 Ulrich Drepper <drepper@redhat.com>
15019
15020 * string/test-strnlen.c: New file.
15021 * string/Makefile (strop-tests): Add strnlen.
15022 * string/tester.c (test_strnlen): Add a few more test cases.
15023 * string/tst-strlen.c: Better error reporting.
15024
15025 * sysdeps/x86_64/strnlen.S: New file.
15026
8e96b93a
UD
150272010-07-24 Ulrich Drepper <drepper@redhat.com>
15028
15029 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15030 lower-latency instructions.
15031
dbc676d4
UD
150322010-07-23 Ulrich Drepper <drepper@redhat.com>
15033
15034 * string/test-strcasestr.c: New file.
15035 * string/test-strstr.c: New file.
15036 * string/Makefile (strop-tests): Add strstr and strcasestr.
15037 * string/str-two-way.h: Don't undefine MAX.
15038 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15039
f6a31e0e
AS
150402010-07-21 Andreas Schwab <schwab@redhat.com>
15041
15042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15043 strcasestr-nonascii.
15044 (CFLAGS-strcasestr-nonascii.c): Define.
15045 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15047 Remove unused attribute.
15048
5dbc3b6c
RM
150492010-07-20 Roland McGrath <roland@redhat.com>
15050
15051 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15052 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15053 ld.so.cache was broken. With it, there is no way to disable dsocaps
15054 like LD_HWCAP_MASK can disable hwcaps.
15055
23d101d8
EPM
150562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15057
15058 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15059
cc9f2e47
UD
150602010-07-16 Ulrich Drepper <drepper@redhat.com>
15061
15062 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15063 call in strcasestr.
15064 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15065 __strcasestr_sse42_nonascii.
15066 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15067 strcasestr-nonascii.c.
15068 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15069
77c1b069
LM
150702010-06-15 Luis Machado <luisgpm@br.ibm.com>
15071
15072 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15074 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15076
440566c3
UD
150772010-07-09 Ulrich Drepper <drepper@redhat.com>
15078
15079 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15080 fcntl.
15081
5be9d05d
AS
150822010-07-06 Andreas Schwab <schwab@redhat.com>
15083
c30b7ee2 15084 [BZ #11577]
5be9d05d
AS
15085 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15086 dl_signal_cerror.
15087
8a492a67
UD
150882010-07-06 Ulrich Drepper <drepper@redhat.com>
15089
15090 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15091 _PC_PIPE_BUF using F_GETPIPE_SZ.
15092
713df3d5
RM
150932010-07-05 Roland McGrath <roland@redhat.com>
15094
15095 * manual/arith.texi (Rounding Functions): Fix rint description
15096 implicit in round description.
15097
702e8f14
UD
150982010-07-02 Ulrich Drepper <drepper@redhat.com>
15099
15100 * elf/Makefile: Fix linking for a few tests to make recent linker
15101 happy.
15102
52ed8be9
AS
151032010-06-30 Andreas Schwab <schwab@redhat.com>
15104
15105 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15106 $(common-objpfx)libc_nonshared.a.
15107
f47c9a11
LM
151082010-06-21 Luis Machado <luisgpm@br.ibm.com>
15109
15110 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15111 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15112 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15113 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15114 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15115 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15116 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15117 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15132 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15133 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15134 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15135 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15136 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15137 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15138 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15139 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15140 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15141 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15142 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15143 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15158
6fb8cbcb
L
151592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15160
15161 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15162 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15163 * string/memmove.c (memmove): Renamed to ...
15164 (MEMMOVE): ...this. Default to memmove.
15165 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15166 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15167 (END_CHK): Define.
15168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15169 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15170 mempcpy-ssse3-back memmove-ssse3-back.
15171 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15174 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15175 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15176 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15177 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15178 * sysdeps/x86_64/multiarch/memmove.c: New file.
15179 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15180 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15181 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15182 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15183 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15185 Define.
15186 (index_Fast_Copy_Backward): Define.
15187 (HAS_ARCH_FEATURE): Define.
15188 (HAS_FAST_REP_STRING): Define.
15189 (HAS_FAST_COPY_BACKWARD): Define.
15190
4e733bac 151912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15192
15193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15194 Restore proper fallback handling.
15195
63c4ed22
UD
151962010-06-19 Ulrich Drepper <drepper@redhat.com>
15197
ac2b484c
UD
15198 [BZ #11701]
15199 * posix/group_member.c (__group_member): Correct checking loop.
15200
63c4ed22
UD
15201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15202 OOM in getpwuid_r correctly. Return error number when the caller
15203 should return, otherwise -1.
15204 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15205 call returning > 0 value.
15206 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15207
765ade4b
AS
152082010-06-07 Andreas Schwab <schwab@redhat.com>
15209
15210 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15211 libc_nonshared.a from targets in modules-names.
15212
80da2e09
KS
152132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15214
15215 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15216 requires it.
15217
158db122
LM
152182010-06-10 Luis Machado <luisgpm@br.ibm.com>
15219
15220 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15221 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15224
caa78cf8
AS
152252010-06-02 Andreas Schwab <schwab@redhat.com>
15226
15227 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15228
b2ef2c01
UD
152292010-06-14 Ulrich Drepper <drepper@redhat.com>
15230
15231 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15232 and F_GETPIPE_SZ.
15233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15238 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15239
fbd643b6
RM
152402010-06-14 Roland McGrath <roland@redhat.com>
15241
15242 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15243
f32f2869
JJ
152442010-06-07 Jakub Jelinek <jakub@redhat.com>
15245
15246 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15247 __REDIRECT followed by __THROW.
15248 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15249 * posix/getopt.h (getopt): Likewise.
15250
2a50c078
EPM
152512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15252
15253 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15254 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15255 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15256 in AT_FLAGS.
15257 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15258 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15259
eb5ad2eb
LM
152602010-05-28 Luis Machado <luisgpm@br.ibm.com>
15261
15262 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15263
3c88fe1e
L
152642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15265
15266 [BZ #11640]
15267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15268 Properly check family and model.
15269
d2f73151
TY
152702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15271
15272 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15273
ebd2e13d
LM
152742010-05-24 Luis Machado <luisgpm@br.ibm.com>
15275
15276 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15277
b32b8b45
UD
152782010-05-21 Ulrich Drepper <drepper@redhat.com>
15279
15280 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15281 symbol reference.
15282
9acbe24d
AS
152832010-05-19 Andreas Schwab <schwab@redhat.com>
15284
15285 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15286 symbol reference.
15287
f0ccf6ea
AS
152882010-05-21 Andreas Schwab <schwab@redhat.com>
15289
3d04ff3a
AS
15290 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15291 and internal_recvmmsg.
15292 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15293 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15294 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15295 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15296
f0ccf6ea
AS
15297 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15298 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15299 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15300
5b08ac57
AS
153012010-05-20 Andreas Schwab <schwab@redhat.com>
15302
15303 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15304
4828935d
LM
153052010-05-17 Luis Machado <luisgpm@br.ibm.com>
15306
15307 POWER7 optimizations.
15308 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15309 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15310
373d545e
UD
153112010-05-19 Ulrich Drepper <drepper@redhat.com>
15312
15313 * version.h: Update for 2.13 development version.
15314
21a2b1ae
AS
153152010-05-12 Andrew Stubbs <ams@codesourcery.com>
15316
15317 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15318 exceptions. Return 0.
15319
3f7dcb2b
RM
153202010-05-07 Roland McGrath <roland@redhat.com>
15321
15322 * elf/ldconfig.c (main): Add a const.
15323
5f24d53a 153242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15325
a160f8d8
UD
15326 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15327 (args_options): Add no-idn option.
15328 (ahosts_keys_int): Add idn_flags to ai_flags.
15329 (parse_option): Handle 'i' option to clear idn_flags.
15330
5f24d53a
UD
15331 * malloc/malloc.c (_int_free): Possible race in the most recently
15332 added check. Only act on the data if no current modification
15333 happened.
265bb1ce
UD
15334
15335See ChangeLog.17 for earlier changes.