]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
mktime: remove incorrect attempt at unusual arithmetics
[thirdparty/glibc.git] / ChangeLog
CommitLineData
62bdf9a6
PE
12012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2
68605433
PE
3 mktime: remove incorrect attempt at unusual arithmetics
4 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5 The code didn't really work on such machines anyway.
6 (TYPE_MINIMUM): Assume two's complement.
7 (twos_complement_arithmetic): Verify that long_int and time_t
8 are two's complement (or unsigned, in the latter case).
9
03cf7fe3
PE
10 mktime: check signed shifts on long_int and time_t, too
11 * time/mktime.c (SHR): Check that shifts work as desired
12 on the types long_int and time_t too, as SHR is used on
13 such types.
14
f04dfbc2
PE
15 mktime: do not assume 'long' is wide enough
16 * time/mktime.c (verify): Move decl up.
17 (long_int): New type.
18 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19 to remove assumption in the code that 'long' is wide enough to
20 store year values. This assumption is not true on x32 and on
21 some non-glibc platforms.
22
62bdf9a6
PE
23 mktime: merge wrapv change from gnulib
24 * time/mktime.c (WRAPV): New macro.
25 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26 (guess_time_tm, __mktime_internal): Do not assume that signed
27 integer overflow wraps around; modern compilers generate code
28 where this assumption is no longer valid.
29
5e292e4f
L
302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31
32 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33 Replace "jmp L(pseudo_end)" with "ret".
34 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35 Likewise.
36
8caf8c87
AJ
372012-05-23 Andreas Jaeger <aj@suse.de>
38
39 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41
1a09dc56
AJ
422012-05-23 Andreas Jaeger <aj@suse.de>
43 Maximilian Attems <max@stro.at>
44
45 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46 New macros.
47
1c87aba0
L
482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49
50 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51 code so that pseudo_end is just ret and the stack pointer is
52 correct also for static library in error case.
53
40e45bd5
JM
542012-05-23 Joseph Myers <joseph@codesourcery.com>
55
c2670533
JM
56 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57 move to syscalls.list.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62
40e45bd5
JM
63 * manual/install.texi (Running make install): Do not mention Linux
64 kernel version for which pt_chown is not needed.
65 (Linux): Do not mention problems with nscd with 2.0 kernels.
66 * INSTALL: Regenerated.
67
be08eda5
AJ
682012-05-23 Andreas Jaeger <aj@suse.de>
69
70 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
71 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72 macro.
73 * sysdeps/unix/sysv/linux/s390/bits/mman.h
74 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75 * sysdeps/unix/sysv/linux/sh/bits/mman.h
76 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77 * sysdeps/unix/sysv/linux/i386/bits/mman.h
78 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
82 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
83 * sysdeps/unix/sysv/linux/bits/in.h
84 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
85
a6a056bb
RM
862012-05-22 Roland McGrath <roland@hack.frob.com>
87
88 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
89 (PREPARE_VERSION): Just use assert instead, it will be elided
90 under [NDEBUG] anyway.
91
c9009328
L
922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
93
94 * sysdeps/unix/sysv/linux/Makefile: Include
95 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 96 (sysdep_routines): Remove sysctl.
c9009328
L
97 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
98 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
99 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
100 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
101 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
102
73338355
AJ
1032012-05-22 Andreas Jaeger <aj@suse.de>
104
105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
106 that pseudo_end is just ret and the stack pointer is correct also
107 for static library in error case.
108
d44638b0
PP
1092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
110
111 [BZ #14122]
112 * nss/nsswitch.c (defconfig_entries): New variable.
113 (__nss_database_lookup): Don't leak defconfig entries.
114 (nss_parse_service_list): Don't leak on error paths.
115 (free_database_entries): New function.
116 (free_defconfig): New function.
117 (free_mem): Move common code to free_database_entries.
118
31a39bd8
L
1192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
120
da0331a8
L
121 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
122 Add arch_prctl.
123 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
124
31a39bd8
L
125 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
126 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
128 New macro.
129 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
130 (INTERNAL_SYSCALL_TYPES): Likewise.
131 (LOAD_ARGS_TYPES_[1-6]): Likewise.
132 (LOAD_REGS_TYPES_[1-6]): Likewise.
133 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
134 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
135
45470df3
AZ
1362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
139 copysignl for GLIBC_2_0.
140 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
141 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
143 logbl for GLIBC_2_0.
144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
145 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
146
98a61bcb
L
1472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
148
a4f6e481
L
149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
151
f63d5db6
L
152 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
153 Use "neg %eax".
154
98a61bcb
L
155 * time/mktime.c: Update copyright years.
156
95770f14
PE
1572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
158
6226efbd
PE
159 mktime: merge comment-quoting-style change from gnulib
160 * time/mktime.c: Quote 'like this' in comments.
161 The GNU coding standards suggest that we no longer quote `like this',
162 as "`" and "'" are typically rendered asymmetrically nowadays.
163 The typical gnulib style is to quote 'like this' when quoting
164 code, and "like this" when quoting English.
165
b99e4f78
PE
166 * time/mktime.c (compile-command): Add "-I.".
167
643e01e6
PE
168 mktime: merge mktime-internal.h change from gnulib
169 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
170
2554247d
PE
171 mktime: merge time_r change from gnulib
172 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
173
826dd0ab
PE
174 mktime: merge DEBUG change from gnulib
175 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
176 case system <time.h> has a #define.
177
bd83aabe
PE
178 mktime: merge <sys/types.h> change from gnulib
179 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
180 since <time.t> is now guaranteed to define time_t.
181
95770f14
PE
182 mktime: merge HAVE_CONFIG_H change from gnulib
183 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
184
5e1a27a9
L
1852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
186
0e44a77e
L
187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
188 Use "neg %eax".
189
5e1a27a9
L
190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
191 __rlim_t cast.
192 (struct rusage): Use anonymous union to pad each field to
193 __syscall_slong_t.
194
46259bec
DM
1952012-05-21 David S. Miller <davem@davemloft.net>
196
197 * Makefules (o-iterator): Remove .s cases.
198 (compile-command.s): Delete.
199 (COMPILE.s): Delete.
200 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
201
59f0c22e
JM
2022012-05-21 Joseph Myers <joseph@codesourcery.com>
203
204 * configure.in (libc_cv_predef_stack_protector): Only consider
205 "foobar" and "__stack_chk_fail" lines in libc_undefs.
206 * configure: Regenerated.
207
20c07380
L
2082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
209
bbb3154b
L
210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
211 New macro. Use R*LP on int and pointer.
212 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
213 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
214 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
215 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
216
20c07380
L
217 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
218 [__WORDSIZE_TIME64_COMPAT32] instead of
219 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
220 (struct utmp): Likewise.
221 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
222 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
223 Renamed to ...
224 (__WORDSIZE_TIME64_COMPAT32): This.
225 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
226 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
227 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
228 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
229 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
230 (__WORDSIZE_TIME64_COMPAT32): New macro.
231
d8d1017e
AJ
2322012-05-21 Andreas Jaeger <aj@suse.de>
233
234 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
235 only if [SHARED]. Add prototype for __wcschr_ia32.
236
6c7fb145
RM
2372012-05-21 Roland McGrath <roland@hack.frob.com>
238
239 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
240 of %rbp unmolested in the jmp_buf while mangling the low bits.
241 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
242 unmolested high bits of %rbp while demangling the low bits.
243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
244
66274218
AJ
2452012-05-21 Andreas Jaeger <aj@suse.de>
246
07c58f8f
AJ
247 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
248 * sunrpc/svc_simple.c: Use it for registerrpc.
249 * sunrpc/xcrypt.c: Use it for passwd2des.
250
66274218
AJ
251 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
252
61f65140
L
2532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
254
255 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
256 Don't define if [__SYSCALL_WORDSIZE != 32].
257 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
258 New macro.
259
5fefb436
AJ
2602012-05-21 Bruno Haible <bruno@clisp.org>
261 Andreas Jaeger <aj@suse.de>
262
263 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
264 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
265 inptr and inend for must_buffer_ch.
266 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
267 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
268 * stdio-common/Makefile (tests): Remove bug15.
269 (bug15-ENV): Remove macro.
270 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
271 anymore.
272
d8e272ab
AJ
2732012-05-19 Andreas Jaeger <aj@suse.de>
274 Roland McGrath <roland@hack.frob.com>
275
276 * manual/contrib.texi: Completely rewritten. It contains now an
277 alphabetical list of contributors and their contributions.
278
4a56a162
RH
2792012-05-21 Richard Henderson <rth@twiddle.net>
280
281 * misc/getauxval.c (__getauxval): Use unsigned long int.
282 * misc/sys/auxv.h: Include <sys/cdefs.h>.
283 (getauxval): Use unsigned long int.
284
d024d23c
L
2852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
286
287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
288
cbc00a03
RM
2892012-05-21 Roland McGrath <roland@hack.frob.com>
290
291 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
292 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
293 __alignof__ (long double).
294
478143fa
AZ
2952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
296
297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
298
c7683a6d
RH
2992012-05-20 Richard Henderson <rth@twiddle.net>
300
301 * misc/getauxval.c: New file.
302 * misc/sys/auxv.h: New file.
303 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
304 (routines): Add getauxval.
305 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
306 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
307 * elf/dl-sysdep.c (_dl_auxv): Remove.
308 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
309 * elf/dl-support.c (_dl_auxv): New variable.
310 (_dl_aux_init): Initialize it.
311 * manual/startup.texi (Auxiliary Vector): New node.
312 * sysdeps/generic/bits/hwcap.h: New file.
313 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
314 * sysdeps/powerpc/sysdep.h: ... here. Include it.
315 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
316 * sysdeps/sparc/sysdep.h: ... here. Include it.
317 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
318 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
320 Update.
c7683a6d
RH
321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
329
a6f1845d
AZ
3302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
331
332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
333
cbcbe830
DM
3342012-05-19 David S. Miller <davem@davemloft.net>
335
336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
337
e0b16cc2
JM
3382012-05-19 Joseph Myers <joseph@codesourcery.com>
339
340 [BZ #14123]
341 * math/s_ccosh.c: Include <float.h>
342 (__ccosh): Avoid internal overflow calculating sinh and cosh
343 values before multiplying by sin and cos values.
344 * math/s_ccoshf.c: Likewise.
345 * math/s_ccoshl.c: Likewise.
346 * math/s_csin.c: Likewise.
347 * math/s_csinf.c: Likewise.
348 * math/s_csinl.c: Likewise.
349 * math/s_csinh.c: Likewise.
350 * math/s_csinhf.c: Likewise.
351 * math/s_csinhl.c: Likewise.
352 * math/libm-test.inc (ccos_test): Add more tests.
353 (ccosh_test): Likewise.
354 (csin_test): Likewise.
355 (csinh_test): Likewise.
356 * sysdeps/i386/fpu/libm-test-ulps: Update.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358
6ad13e08
L
3592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
360
f66f0ce8
L
361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
362 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
363
6ad13e08
L
364 * sysdeps/x86_64/x32/_itoa.h: Add comment.
365
b1d072a7
JM
3662012-05-19 Joseph Myers <joseph@codesourcery.com>
367
368 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
369 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
370 * sysdeps/powerpc/soft-fp/Versions: Likewise.
371 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
372 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
373 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
374 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
375 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
376 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
377 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
378 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
379 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
380 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
381 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
382 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
383 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
384 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
385 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
386 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
387 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
388 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
389 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
390 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
391 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
392 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
393 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
394 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
395 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
396 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
397 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
398 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
399
9eae47cb
AJ
4002012-05-18 Andreas Jaeger <aj@suse.de>
401
402 * csu/.gitignore: Delete.
403
bb07f69f
L
4042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
405
406 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
407 (timex): Use __syscall_slong_t.
408
e6bdb741
AJ
4092012-05-18 Andreas Jaeger <aj@suse.de>
410 Carlos O'Donell <carlos_odonell@mentor.com>
411
412 * manual/install.texi (Configuring and compiling): Update
413 description about files modified in the source directory.
414 * INSTALL: Regenerated.
415
1b74487e
L
4162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
417
418 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
419 value. Use "or" to set return value to -1.
420 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
421 negate return value.
422
a88b64b9
TMQMF
4232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
424
425 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
426 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
427 failure if the compiler has Graphite support disabled.
428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
429 Likewise.
430 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
431 CFLAGS-memmove.c): Likewise.
432 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
433 Likewise.
434
3707636e
L
4352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
436
610b8622
L
437 * sysdeps/x86_64/x32/_itoa.h: New file.
438
7cd195df
L
439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
440 getdents system call only if kernel and user dirents have the
441 same d_ino and d_off.
442
94b07d20
L
443 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
444 LLONG_MAX != LONG_MAX.
445 (_itoa_word): Use _ITOA_WORD_TYPE on value.
446 (_fitoa_word): Likewise.
447
18298070
L
448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
449 years.
450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
451 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
453
553c7ea4
L
454 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
455 include <bits/wordsize.h>. Check __x86_64__ instead of
456 __WORDSIZE.
457 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
458 if __x86_64__ is defined. Use anonymous union on fpstate.
459
3707636e
L
460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
461 anonymous union.
462
b53ef01a
AS
4632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
464
37fb1dc0
AS
465 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
466 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
467 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
468 Refer to _rtld_local_ro instead of _rtld_global_ro.
469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
470 Likewise.
471 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
472 Likewise.
473 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
474 Likewise.
475 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
476 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
477 of _rtld_global, and rtld_progname instead of _dl_argv[0].
478
b53ef01a
AS
479 * sysdeps/powerpc/powerpc32/dl-machine.c
480 (__elf_machine_runtime_setup) [PROF]: Don't reference
481 _dl_prof_resolve.
482
7a185db2
AJ
4832012-05-18 Andreas Jaeger <aj@suse.de>
484
485 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
486 function only available for GCCs before 3.4 since GCC 3.4
487 introduced a builtin.
488 (lrint): Likewise.
489 (llrintf): Likewise.
490 (llrint): Likewise.
491 (fmaxf): Likewise.
492 (fmax): Likewise.
493 (fminf): Likewise.
494 (fmin): Likewise.
495 (rint): Likewise.
496 (rintf): Likewise.
497 (nearbyint): Likewise.
498 (nearbyintf): Likewise.
499 (ceil): Likewise.
500 (ceilf): Likewise.
501 (floor): Likewise.
502 (floorf): Likewise.
503
3e5aef87
L
5042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
505
428bd707
L
506 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
507 on both fields and cast pointer to __syscall_ulong_t.
508
3e5aef87
L
509 * bits/types.h (__fsword_t): New type.
510 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
511 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
513 (__FSWORD_T_TYPE): Likewise.
514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
515 (__FSWORD_T_TYPE): Likewise.
516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
517 (__FSWORD_T_TYPE): Likewise.
518 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
519 (__FSWORD_T_TYPE): Likewise.
520 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
521 __SWORD_TYPE with __fsword_t.
522 (statfs64): Likewise.
523
1ba7c3dc
DM
5242012-05-17 David S. Miller <davem@davemloft.net>
525
526 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
527
59910343
AJ
5282012-05-17 Andreas Jaeger <aj@suse.de>
529
530 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
531 warning.
532
2e4c1e9e
L
5332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
534
535 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
536
de7f5ce7
AJ
5372012-05-17 Andreas Jaeger <aj@suse.de>
538
539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
540 when it is used.
541
286abc3d
CM
5422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
543
544 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
545
477cc68e
L
5462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
547
548 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
549 * sysdeps/x86_64/tst-mallocalign1.c: New file.
550
1a0994f5
CD
5512012-05-17 Andreas Jaeger <aj@suse.de>
552 Carlos O'Donell <carlos_odonell@mentor.com>
553
554 [BZ #14059]
555 * sysdeps/x86_64/multiarch/init-arch.h
556 (bit_YMM_Usable): Rename to...
557 (bit_AVX_Usable): ... this.
558 (bit_FMA4_Usable): New macro.
559 (bit_XMM_state): New macro.
560 (bit_YMM_state): New macro.
561 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
562 [__ASSEMBLER__] (index_AVX_Usable): ... this.
563 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
564 (CPUID_OSXSAVE): New macro.
565 (CPUID_AVX): New macro.
566 (CPUID_FMA4): New macro.
567 (index_YMM_Usable): Rename to...
568 (index_AVX_Usable): ... this.
569 (HAS_AVX): Use HAS_ARCH_FEATURE.
570 (HAS_FMA4): Likewise.
571 (HAS_YMM_USABLE): Remove.
572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
573 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
574 are present.
575 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
576 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
577 * sysdeps/x86_64/multiarch/Makefile: Likewise.
578 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
579 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
580
0af797de
CM
5812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
582
583 * math/libm-test.c: Support platforms without multiple rounding modes.
584 * math/bug-nextafter.c: Support platforms without FP exceptions.
585 * math/bug-nexttoward.c: Likewise.
586 * math/test-fenv.c: Likewise.
587 * math/test-misc.c: Likewise.
588 * stdlib/bug-getcontext.c: Likewise.
589
e39745ff
AJ
5902012-05-17 Andreas Jaeger <aj@suse.de>
591
592 * manual/examples/search.c (critter_cmp): Change signature to
593 avoid warnings.
594 * manual/string.texi (Collation Functions): Likewise.
595
48970aba
L
5962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
597
598 * bits/types.h: Fold copyright years.
599 * bits/typesizes.h: Likewise.
600 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
604 * time/time.h: Likewise.
605
bedee953
PP
6062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
607
608 [BZ #208]
609 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
610 in instead of returning them. Return void.
611 (__libc_mallinfo): Accumulate over all arenas.
612 (__malloc_stats): Adjust for change in int_mallinfo interface.
613
61653dfb
RM
6142012-05-16 Roland McGrath <roland@hack.frob.com>
615
30b99d79
RM
616 [BZ #10375]
617 * configure.in (NM): Add AC_CHECK_TOOL for it.
618 (libc_extra_cflags): New substituted variable.
619 Check for -fstack-protector being used implicitly.
620 * configure: Regenerated.
621 * config.make.in (config-extra-cflags): New variable,
622 gets @libc_extra_cflags@.
623 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
624
61653dfb
RM
625 [BZ #10375]
626 * configure.in: Check for _FORTIFY_SOURCE being predefined.
627 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
628 * configure: Regenerated.
629 * config.make.in (CPPUNDEFS): New substituted variable.
630 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
631 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
632 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
633
661768bb
L
6342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
635
636 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
637 (mq_attr): Use __syscall_slong_t.
638
d4261567
L
6392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
640
641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
642 Check __x86_64__ instead of __WORDSIZE.
643 (_STAT_VER_LINUX): Likewise.
644 (stat): Check __x86_64__ instead of __WORDSIZE. Use
645 __syscall_ulong_t and __syscall_slong_t.
646 (stat64): Likewise.
647
cf3ff365
L
6482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
649
650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
651
76cf3e4d
L
6522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
653
654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
655
a637753a
L
6562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
657
658 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
659 __syscall_ulong_t.
660
d5e05119
L
661 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
662 include <bits/wordsize.h>. Check __x86_64__ instead of
663 __WORDSIZE.
664 (greg_t): Use "__extension__ long long int" if __x86_64__ is
665 defined.
666 (mcontext_t): Replace "unsigned long" with "unsigned long long".
667
f62ee380
L
668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
669 include <bits/wordsize.h>. Check __x86_64__ instead of
670 __WORDSIZE.
671 (user_regs_struct): Use "__extension__ unsigned long long"
672 instead of "unsigned long" if __x86_64__ is defined.
673 (user): Likewise. Pad after pointer field if __ILP32__ is
674 defined.
675
4e124ced
JM
6762012-05-16 Joseph Myers <joseph@codesourcery.com>
677
6a3951a0
JM
678 * configure.in (makeinfo): Require version 4.5 or later. Allow
679 versions 5 to 9.
680 * configure: Regenerated.
681 * manual/install.texi (texinfo): Increase version requirement to
682 4.5 or later.
683 * INSTALL: Regenerated.
684
4e124ced
JM
685 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
686
953ca31a
L
6872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
688
689 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
690
617aca05
L
691 * sysdeps/x86_64/x32/ffs.c: New file.
692
5762f7ae
L
693 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
694 __syscall_ulong_t.
695 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
696 defined. Use __syscall_ulong_t.
697 (shminfo): Use __syscall_ulong_t.
698 (shm_info): Likewise.
699
a26b6856
L
700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
701 __syscall_ulong_t.
702
cb2b9ef7
L
703 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
704 <bits/wordsize.h>.
705 (msgqnum_t): Use __syscall_ulong_t.
706 (msglen_t): Likewise.
707 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
708 __syscall_ulong_t.
709
34683bb0
L
710 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
711 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
712
84a68786
L
713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
714
48baa5f1
L
715 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
716 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
717
180be88b
L
718 * sysvipc/sys/msg.h (msgbuf): Replace long int with
719 __syscall_slong_t.
720
5e90c8ad
L
721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
722 include <bits/wordsize.h>. Check __x86_64__ instead of
723 __WORDSIZE.
724
23dfb58b
L
725 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
726 "unsigned long long int" if __x86_64__ is defined.
727 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
728
ce5d54b0
L
729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
730 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
731 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
732
13dc9eac
L
733 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
734 <stdint.h>.
735 (GET_PC): Cast to uintptr_t first.
736 (GET_FRAME): Likewise.
737 (GET_STACK): Likewise.
738
a7895d15
L
739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
745 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
750 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
766 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
768
656416c9
AS
7692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
770
5bd66283
AS
771 * Makerules (+depfiles): Also collect depfiles from .oS in
772 $(extra-objs).
773 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
774 .oS, $(libnldbl-routines)).
775
656416c9
AS
776 * Makerules (native-compile-mkdep-flags): Define.
777 * sunrpc/Makefile (extra-objs): Add $(addprefix
778 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
779 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
780 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
781 calling $(make-target-directory).
782
a46f2169
L
7832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
784
785 * bits/types.h (__snseconds_t): Removed.
786 * time/time.h (struct timespec): Replace __snseconds_t with
787 __syscall_slong_t.
788 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
789 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
790 Likewise.
791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
792 (__SNSECONDS_T_TYPE): Likewise.
793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
794 (__SNSECONDS_T_TYPE): Likewise.
795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
796 (__SNSECONDS_T_TYPE): Likewise.
797
6af6528b
L
7982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
799
800 * sysdeps/mach/hurd/bits/typesizes.h
801 (__SYSCALL_SLONG_TYPE): New macro.
802 (__SYSCALL_ULONG_TYPE): Likewise.
803
de986b56
L
8042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
805
806 * bits/types.h (__syscall_slong_t): New type.
807 (__syscall_ulong_t): Likewise.
808
809 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
810 (__SYSCALL_ULONG_TYPE): Likewise.
811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
812 (__SYSCALL_SLONG_TYPE): Likewise.
813 (__SYSCALL_ULONG_TYPE): Likewise.
814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
815 (__SYSCALL_SLONG_TYPE): Likewise.
816 (__SYSCALL_ULONG_TYPE): Likewise.
817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
818 (__SYSCALL_SLONG_TYPE): Likewise.
819 (__SYSCALL_ULONG_TYPE): Likewise.
820
85736dc7
L
8212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
822
823 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
824 Add sigaltstack-offsets.sym.
825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
826 <sigaltstack-offsets.h>.
827 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
828 longjmp_msg pointer.
829 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
830 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
831 signal stack.
832 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
833
cc03b296
JM
8342012-05-15 Joseph Myers <joseph@codesourcery.com>
835
a9538892
JM
836 * elf/stackguard-macros.h: Remove file.
837 * sysdeps/generic/stackguard-macros.h: New file.
838 * sysdeps/i386/stackguard-macros.h: Likewise.
839 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
840 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
841 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
842 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
843 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
844 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
845 * sysdeps/x86_64/stackguard-macros.h: Likewise.
846 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
847 <elf/stackguard-macros.h>.
848
cc03b296
JM
849 [BZ #14109]
850 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
851 __aligned__ in attribute.
852 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
853 (gregset_t): Likewise.
854
93171016
L
8552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
856
857 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
858 * sysdeps/x86_64/64/Implies-after: Here. New file.
859 * sysdeps/x86_64/x32/Implies-after: New file.
860
d86813a0
L
8612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
862
863 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
864 and access return value for _dl_profile_fixup. Use R10_LP to
865 load frame size.
866
2953ec75
L
8672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
868
869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
870
3b550e9e
L
8712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
872
873 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
874 * sysdeps/x86_64/x32/sysdep.h: New file.
875
eda41706
L
8762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
877
878 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
879 * sysdeps/x86_64/setjmp.S: Likewise.
880
9ea01d93
AZ
8812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882
883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
885 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
886 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
887 remove unused global constant.
888
02a91938
CM
8892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
890
891 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
892 include of <not-cancel.h>.
893
6540185f
RM
8942012-05-15 Roland McGrath <roland@hack.frob.com>
895
896 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
897
509072a0
AJ
8982012-05-15 Jeff Law <law@redhat.com>
899 Andreas Jaeger <aj@suse.de>
900
901 [BZ #13594]
902 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
903 out from...
904 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
905 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
907 code changing __hst_map_handle.map.
908
ba75122d
RM
9092012-05-15 Roland McGrath <roland@hack.frob.com>
910
911 * configure.in (sysnames): Look for Implies-before and Implies-after
912 files.
913 * configure: Regenerated.
914
890d8bd8
L
9152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
916
917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
918 8-byte data alignment with LP_SIZE alignment.
919
f6ee6623
L
9202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
921
922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
923 into R10_LP.
924
ea2626f6
L
9252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
926
927 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
928
085f715e
L
9292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
930
931 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
932 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
933 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
934 Likewise.
935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
936
be8498fc
L
9372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
938
939 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
940 (stackinfo_sub_sp): Likewise.
941
70bc83b9
L
9422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
943
944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
945 RAX_LP.
946
9bc0b730
L
9472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
948
949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
950 into R*_LP.
951
6d2850e7
L
9522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
953
954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
955 sizes into R*_LP.
956
3cb84561
L
9572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
958
959 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
960
54e2ed81
L
9612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
962
963 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
964 into R11_LP and load __x86_64_shared_cache_size_half into
965 R8_LP.
966
8a17f349
L
9672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
968
969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
970 R8_LP.
971
777b1eea
AZ
9722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973
974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
975 logb for POWER7.
976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
977 logbf for POWER7.
978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
979 logbl for POWER7.
980 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
981 powerpc32/power7/fpu/s_logb.c via #include.
982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
983 powerpc32/power7/fpu/s_logbf.c via #include.
984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
985 powerpc32/power7/fpu/s_logbl.c via #include.
986
d20d4ac2
JM
9872012-05-15 Joseph Myers <joseph@codesourcery.com>
988
989 * README.libm: Remove file.
990
6cdef1ab
L
9912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
992
993 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
994 count for x32. Use R*_LP and omit operand-size suffix.
995
0b254d8f
L
9962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
997
998 * shlib-versions: Move x86_64-.*-linux.* entries to ...
999 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1000 * sysdeps/x86_64/x32/shlib-versions: New file.
1001
ceb809dc
RM
10022012-05-14 Roland McGrath <roland@hack.frob.com>
1003
1004 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1005 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1006 Use _dl_fatal_printf instead.
1007
37f1abd4
JM
10082012-05-14 Joseph Myers <joseph@codesourcery.com>
1009
1010 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1011 set if not set by the user. Do not allow for being unset.
1012 * sysdeps/unix/sysv/linux/configure: Regenerated.
1013
11de3a33
L
10142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1017 the `q' suffix from lea and replace .quad with ASM_ADDR.
1018
e02f153a
L
10192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1022 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1023 instead of $17.
1024 (PTR_DEMANGLE): Likewise.
1025
520ae0fd
L
10262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1027
1028 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1029 (LP_OP): Likewise.
1030 (ASM_ADDR): Likewise.
1031 (RAX_LP): Likewise.
1032 (RBP_LP): Likewise.
1033 (RBX_LP): Likewise.
1034 (RCX_LP): Likewise.
1035 (RDI_LP): Likewise.
1036 (RSI_LP): Likewise.
1037 (RSP_LP): Likewise.
1038 (R8_LP): Likewise.
1039 (R9_LP): Likewise.
1040 (R10_LP): Likewise.
1041 (R10_LP): Likewise.
1042 (R11_LP): Likewise.
1043 (R12_LP): Likewise.
1044 (R13_LP): Likewise.
1045 (R14_LP): Likewise.
1046 (R15_LP): Likewise.
1047
b985be81
L
10482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * sysdeps/x86_64/x32/dl-machine.h: New file.
1051
6a4888ff
AJ
10522012-05-14 Andreas Jaeger <aj@suse.de>
1053
1054 * manual/Makefile (subdir): Remove export of subdir.
1055 (all): Remove target.
1056 (.PHONY): Remove all from list.
1057 (mkinstalldirs): Remove.
1058 (.PHONY): Remove installdirs from list.
1059 ($(inst_infodir)/libc.info): Use make-target-directory.
1060 (installdirs): Remove.
1061 (subdir_%): Remove.
1062 (glibc-targets): Remove.
1063 (lib): Remove.
1064 (stubs): Remove.
1065 ($(objpfx)stubs ../po/manual.pot): Remove.
1066 ($(objpfx)stamp%): Remove.
1067 (make-target-directory): Remove.
1068 (subdir_install): Remove.
1069 (routines): Remove.
1070 (aux): Remove.
1071 (sources): Remove.
1072 (objects): Remove.
1073 (headers): Remove.
1074
1075 [BZ #13750]
1076 * manual/.gitignore: Remove, it's not needed anymore.
1077 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1078 all files in it.
1079 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1080 directory.
1081 (texis): Renamed to $(objpfx)texis.
1082 (texis-path): New, contains path to generated files.
1083 (chapters.%): Use texis-path for complete path, add extra argument
1084 libc-texinfo.sh.
1085 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1086 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1087 (summary,texi, stamp-summary): Use complete path of
1088 files. Generate files in build dir.
1089 (dir-add.texi): Build in build dir.
1090 (libm-err.texi,stamp-libm-err): Likewise.
1091 (version.texi, stamp-version): Likewise.
1092 (.%c.texi): Likewise.
1093 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1094 (mostlyclean): Remove target.
1095 (realclean): Remove target.
1096 (generated): Add new variable with contents from mostlyclean and
1097 realclean, remove entries duplicated in common-mostlyclean, add
1098 stamp-libm-err and stamp-version.
1099 (generated-dirs): Add libc directory.
1100 ($(inst_infodir)/libc.info): Install files from build dir.
1101
1102 * manual/install.texi (Configuring and compiling): Adjust since
1103 the info files are not part of the tar ball anymore.
1104
7ac77294
AJ
11052012-05-14 Andreas Jaeger <aj@suse.de>
1106
1107 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1108 variable.
1109
ffb7875d
JM
11102012-05-14 Joseph Myers <joseph@codesourcery.com>
1111
1112 [BZ #13717]
1113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1114 to 2.2.0 where earlier.
1115 * sysdeps/unix/sysv/linux/configure: Regenerated.
1116 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1117 Remove conditional code.
1118 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1119 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1120 Remove conditional code.
1121 [!__NR_lchown]: Likewise.
1122 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1123 [__NR_lchown]: Likewise.
1124 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1125 comment referencing __ASSUME_LCHOWN_SYSCALL.
1126 * sysdeps/unix/sysv/linux/i386/sigaction.c
1127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1129 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1130 Remove conditional code.
1131 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1132 (__protocol_available): Remove #if 0 code.
1133 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1134 conditional code.
1135 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1136 * sysdeps/unix/sysv/linux/kernel-features.h
1137 (__ASSUME_GETCWD_SYSCALL): Don't define.
1138 (__ASSUME_REALTIME_SIGNALS): Likewise.
1139 (__ASSUME_PREAD_SYSCALL): Likewise.
1140 (__ASSUME_PWRITE_SYSCALL): Likewise.
1141 (__ASSUME_POLL_SYSCALL): Likewise.
1142 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1143 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1144 non-SPARC.
1145 (__ASSUME_SIOCGIFNAME): Don't define.
1146 (__ASSUME_MSG_NOSIGNAL): Likewise.
1147 (__ASSUME_SENDFILE): Define unconditionally.
1148 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1149 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1150 conditional code.
1151 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1152 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1153 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1154 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1155 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1157 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1182 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1183 Remove conditional code.
1184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1185 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1186 Remove conditional code.
1187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1188 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1189 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1190 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1191 Remove conditional code.
1192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1193 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1194 Remove conditional code.
1195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1196 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1197 Remove conditional code.
1198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1199 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1200 Remove conditional code.
1201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1202 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1203 Remove conditional code.
1204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1205 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1208 * sysdeps/unix/sysv/linux/sigaction.c
1209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1211 * sysdeps/unix/sysv/linux/sigpending.c
1212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1214 * sysdeps/unix/sysv/linux/sigprocmask.c
1215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1217 * sysdeps/unix/sysv/linux/sigsuspend.c
1218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1221 (__libc_missing_rt_sigs): Remove.
1222 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1223 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1224 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1225 Remove conditional code.
1226 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1227 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1228 return 1.
1229 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1230 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1231 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1232 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1233
1bfb7291
AJ
12342012-05-14 Andreas Jaeger <aj@suse.de>
1235
caae5a81
AJ
1236 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1237 it's not used in glibc.
1238 (__coshm1): Likewise.
1239 (__acosh1p): Likewise.
1240 (__sgn): Likewise.
1241
1bfb7291
AJ
1242 * manual/string.texi (Copying and Concatenation): Add missing
1243 variable in concat example.
1244 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1245
c044d724
L
12462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1247
144c5467 1248 [BZ #14103]
c044d724
L
1249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1250 __builtin_clzl with __builtin_clzll.
1251
2523c62b
L
12522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 [BZ #14104]
1255 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1256 libc_freeres_ptr.
1257
d7bb4c42
LD
12582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1259
1260 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1261 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1262 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1263 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1264
9dc4e1fb
MF
12652012-05-14 Mike Frysinger <vapier@gentoo.org>
1266
1267 * NEWS: Update ia64 info.
1268
c7df0112
AS
12692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1270
1271 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1272 used as bcopy.
1273
dc70356c
TS
12742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1275
1276 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1277 * sysdeps/unix/syscalls.list (dup3): Likewise.
1278 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1279 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1280
9fb1a21f
L
12812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1284 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1285
4822a2a5
L
12862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1289 thread pointer.
1290 (TLS_IE): Use mov/add instead of movq/addq to load thread
1291 pointer.
1292 (TLS_GD_PREFIX): New.
1293 (TLS_GD): Use it.
1294
842b81d6
DM
12952012-05-11 David S. Miller <davem@davemloft.net>
1296
1297 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1298 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1299 (_FPU_SETCW): Likewise.
1300
1cf463cd
L
13012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1302
1303 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1304 is 32-byte aligned.
1305
60cc4a18
AS
13062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1307
1308 [BZ #11837]
1309 * iconvdata/gb18030.c: Update tables.
1310 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1311 characters specially.
1312 (BODY for TO_LOOP): Add encoding of missing ranges.
1313
febb44a4
TS
13142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1315
1316 [BZ #13673]
1317 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1318 * sysdeps/mach/hurd/dup3.c: Likewise.
1319 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1320 * sysdeps/powerpc/memmove.c:: Likewise.
1321
0a10fb9e
L
13222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1323
1324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1325 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1326
df8a552f
L
13272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 * elf/elf.h (R_X86_64_RELATIVE64): New.
1330 (R_X86_64_NUM): Updated.
1331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1332 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1333 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1334 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1335 tst-quad1pie tst-quad2pie
1336 (modules-names): Add tst-quadmod1 tst-quadmod2.
1337 ($(objpfx)tst-quad1): New dependency.
1338 ($(objpfx)tst-quad2): Likewise.
1339 ($(objpfx)tst-quad1pie): Likewise.
1340 ($(objpfx)tst-quad2pie): Likewise.
1341 * sysdeps/x86_64/tst-quad1.c: New file.
1342 * sysdeps/x86_64/tst-quad1pie.c: New file.
1343 * sysdeps/x86_64/tst-quad2.c: Likewise.
1344 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1345 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1346 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1347 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1348 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1349
f34d6f84
ST
13502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1351
f42d41d1
ST
1352 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1353 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1354 * streams/stropts.h (t_scalar_t): Define type.
1355
3c3571fc
ST
1356 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1357 (_PATH_PRESERVE): Set to "/var/lib".
1358 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1359
61f06bd3
ST
1360 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1361 instead of int.
1362
918d4d71
ST
1363 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1364 if __dir_mkfile succeeded.
1365
f34d6f84
ST
1366 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1367 checking for _hurd_dtablesize. Unlock it right after having
1368 finished _hurd_dtable allocation.
1369
10589b4a
TS
13702012-05-10 Thomas Schwinge <thomas@schwinge.name>
1371
674cdbc7
TS
1372 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1373 * sysdeps/mach/hurd/configure: Regenerated.
1374 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1375 special-casing to...
1376 * sysdeps/gnu/configure.in: ... this new file.
1377 * sysdeps/unix/sysv/linux/configure: Regenerated.
1378 * sysdeps/gnu/configure: New generated file.
1379
8e41b99f
TS
1380 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1381 for Linux: use nsec instead of usec, as well as:
1382 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1383 members of type struct timespec.
1384 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1385 New macros.
1386 (struct stat64): Likewise.
1387 (_STATBUF_ST_NSEC): New macro.
1388 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1389
10589b4a
TS
1390 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1391 __strtoul_internal rather than strtoul.
1392
63643c85
PT
13932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1394
1395 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1396 and reject them.
1397
3faebe6a
ST
13982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1399
1400 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1401 which preserves existing values.
1402 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1403
c6474b07
PT
14042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1405
1406 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1407 TIMEOUT values. Return EINVAL for NFDS values either negative or
1408 greater than FD_SETSIZE.
1409
1043890b
ST
14102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1411
1412 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1413 allocated, call __vm_protect to finish enabling the existing space, and
1414 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1415 allocate the remainder.
1416
37ed8b9b
PT
14172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1418
1419 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1420 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1421
db653660
ST
14222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1423
37ed8b9b
PT
1424 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1425 sysdeps/mach/hurd/readlink.c.
b29d4053 1426
db653660
ST
1427 * posix/tst-sysconf.c (posix_options): Only use
1428 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1429 _POSIX_SYNCHRONIZED_IO when they are defined
1430 * sysdeps/mach/hurd/bits/posix_opt.h:
1431 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1432 (_XOPEN_REALTIME): Undefine macro.
1433 (_XOPEN_REALTIME_THREADS): Undefine macro.
1434 (_XOPEN_SHM): Undefine macro.
1435 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1436 macro to -1.
1437 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1438 macro to -1.
1439 (_POSIX_ASYNC_IO): Undefine macro.
1440 (_POSIX_PRIORITIZED_IO): Undefine macro.
1441 (_POSIX_SPIN_LOCKS): Define macro to -1.
1442
ee16e894
ST
1443 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1444 SA_NODEFER, SA_RESETHAND.
1445 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1446 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1447 F_DUPFD_CLOEXEC.
1448
6103ae3b
TS
14492012-05-10 Thomas Schwinge <thomas@schwinge.name>
1450
1451 * elf/Makefile (pldd-modules): Define unconditionally.
1452
80b4e5f3
TS
14532012-05-10 Thomas Schwinge <thomas@schwinge.name>
1454
1455 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1456
edadcbd6
ST
14572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1458
1459 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1460 Return ENOENT when name is empty.
1461 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1462
80694780
TS
14632012-05-10 Thomas Schwinge <thomas@schwinge.name>
1464
1792c087
TS
1465 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1466
80694780
TS
1467 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1468
6b645f0d
ST
14692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1470
80694780
TS
1471 Fix mlock in all cases except non-readable pages.
1472 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1473 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1474
6b645f0d
ST
1475 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1476 (__mkdir): When path is `/', just fail with EEXIST.
1477 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1478
e468f8a3
TS
14792012-05-10 Thomas Schwinge <thomas@schwinge.name>
1480
1481 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1482 <sys/uio.h> (for writev).
1483 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1484 and <sys/param.h> (for MIN).
1485
a4186cff
PT
14862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1487
1488 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1489 REQUESTED_TIME. Properly set the remaining time and return EINTR
1490 if interrupted.
1491
510bbf14
TS
14922012-05-10 Thomas Schwinge <thomas@schwinge.name>
1493
1494 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1495 Depend on against $(link-rpcuserlibs).
1496
5d5722e8
ST
14972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1498
a4186cff
PT
1499 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1500 (__libc_stack_end): Do not use attribute_relro.
1501 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1502 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1503 to libthread-provided value.
a4186cff
PT
1504 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1505 attribute_relro.
5d5722e8 1506
37233df9
TS
15072012-05-10 Thomas Schwinge <thomas@schwinge.name>
1508
be971a2b
TS
1509 [BZ #3748]
1510 * bits/libc-lock.h (__libc_once_get): New macro.
1511 * sysdeps/mach/bits/libc-lock.h: Likewise.
1512 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1514 instead of using implementation details.
1515
37233df9
TS
1516 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1517 * libio/freopen.c: Likewise.
1518 * libio/freopen64.c: Likewise.
1519 * misc/syslog.c: Likewise.
1520 * nscd/connections.c: Likewise.
1521 * nscd/netgroupcache.c: Likewise.
1522 * sysdeps/posix/getcwd.c: Likewise.
1523
38de94a5
RM
15242012-05-10 Roland McGrath <roland@hack.frob.com>
1525
1526 * math/w_ilogbf.c: Add #include <limits.h>.
1527
67530489
ST
15282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1529
a4186cff 1530 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1531 path instead of returning without unlocking.
1532
67530489
ST
1533 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1534 immediate-write ioctls.
1535 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1536
5aa3a74a
TS
15372012-05-10 Thomas Schwinge <thomas@schwinge.name>
1538
18bad2ae
TS
1539 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1540 __builtin_frame_address instead of making assumptions about the
1541 location of the return address relative to DATA. Force early load of
1542 the return address.
1543 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1544 __builtin_frame_address.
1545
5aa3a74a
TS
1546 dup3 for GNU Hurd.
1547 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1548 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1549 implement dup3 and do some further code clean-ups.
1550 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1552
ecd0de9a
ST
15532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1554
cd9fa985
ST
1555 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1556
a4186cff
PT
1557 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1558 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1559 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1560 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1561 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1562 d->port.lock.
802ca5a5 1563
a4186cff
PT
1564 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1565 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1566 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1567
bcf55240
TS
15682012-05-10 Thomas Schwinge <thomas@schwinge.name>
1569
6960eb42
TS
1570 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1571 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1572 definitions.
1573
eb43375f
TS
1574 accept4 for GNU Hurd.
1575 * include/sys/socket.h (__libc_accept4): New prototype.
1576 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1577 to implement __libc_accept4.
1578 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1579 __libc_accept4.
1580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1581
bcf55240
TS
1582 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1583 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1584 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1585 signal-defines.sym.
1586
6178c55b
ST
15872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1588
a4186cff 1589 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1590
6f080c2f
TS
15912012-05-10 Thomas Schwinge <thomas@schwinge.name>
1592
1593 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1594 assertion on O_CLOEXEC flag.
1595 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1596 * hurd/intern-fd.c: Likewise.
1597 * hurd/port2fd.c: Likewise.
1598
bcfe3a54
ST
15992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1600
1601 [BZ #3906]
1602 * bits/in.h (IPV6_PKTINFO): Define new macro.
1603 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1604
89c9aa49
AZ
16052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1606
1607 [BZ #13954]
1608 [BZ #13955]
1609 [BZ #13956]
1610 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1612 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1613 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1615 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1616 * math/libm-test.inc (logb_test) : Additional logb tests.
1617
021db4be
AJ
16182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1619 Andreas Jaeger <aj@suse.de>
1620
1621 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1622 * configure: Regenerated.
1623 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1624 * config.make.in (link-obsolete-rpc): New substituted variable.
1625 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1626 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1627 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1628 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1629 so that libc.a contains the symbols.
1630 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1631 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1632 * sunrpc/auth_none.c: Likewise.
1633 * sunrpc/auth_unix.c: Likewise.
1634 * sunrpc/authdes_prot.c: Likewise.
1635 * sunrpc/authuxprot.c: Likewise.
1636 * sunrpc/clnt_gen.c: Likewise.
1637 * sunrpc/clnt_perr.c: Likewise.
1638 * sunrpc/clnt_raw.c: Likewise.
1639 * sunrpc/clnt_simp.c: Likewise.
1640 * sunrpc/clnt_tcp.c: Likewise.
1641 * sunrpc/clnt_udp.c: Likewise.
1642 * sunrpc/clnt_unix.c: Likewise.
1643 * sunrpc/des_crypt.c: Likewise.
1644 * sunrpc/des_soft.c: Likewise.
1645 * sunrpc/get_myaddr.c: Likewise.
1646 * sunrpc/key_call.c: Likewise.
1647 * sunrpc/key_prot.c: Likewise.
1648 * sunrpc/netname.c: Likewise.
1649 * sunrpc/pm_getmaps.c: Likewise.
1650 * sunrpc/pm_getport.c: Likewise.
1651 * sunrpc/pmap_clnt.c: Likewise.
1652 * sunrpc/pmap_prot.c: Likewise.
1653 * sunrpc/pmap_prot2.c: Likewise.
1654 * sunrpc/pmap_rmt.c: Likewise.
1655 * sunrpc/publickey.c: Likewise.
1656 * sunrpc/rpc_cmsg.c: Likewise.
1657 * sunrpc/rpc_common.c: Likewise.
1658 * sunrpc/rpc_dtable.c: Likewise.
1659 * sunrpc/rpc_prot.c: Likewise.
1660 * sunrpc/rpc_thread.c: Likewise.
1661 * sunrpc/rtime.c: Likewise.
1662 * sunrpc/svc.c: Likewise.
1663 * sunrpc/svc_auth.c: Likewise.
1664 * sunrpc/svc_raw.c: Likewise.
1665 * sunrpc/svc_run.c: Likewise.
1666 * sunrpc/svc_tcp.c: Likewise.
1667 * sunrpc/svc_udp.c: Likewise.
1668 * sunrpc/svc_unix.c: Likewise.
1669 * sunrpc/svcauth_des.c: Likewise.
1670 * sunrpc/xcrypt.c: Likewise.
1671 * sunrpc/xdr.c: Likewise.
1672 * sunrpc/xdr_array.c: Likewise.
1673 * sunrpc/xdr_float.c: Likewise.
1674 * sunrpc/xdr_intXX_t.c: Likewise.
1675 * sunrpc/xdr_mem.c: Likewise.
1676 * sunrpc/xdr_rec.c: Likewise.
1677 * sunrpc/xdr_ref.c: Likewise.
1678 * sunrpc/xdr_sizeof.c: Likewise.
1679 * sunrpc/xdr_stdio.c: Likewise.
1680
b5c086a2
RM
16812012-05-10 Roland McGrath <roland@hack.frob.com>
1682
1683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1684 change. Update copyright years.
1685
6d74dd09
JM
16862012-05-10 Joseph Myers <joseph@codesourcery.com>
1687
1688 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1689
28e72501
MK
16902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1691 Joseph Myers <joseph@codesourcery.com>
1692 Paul Pluzhnikov <ppluzhnikov@google.com>
1693
1694 [BZ #14012]
1695 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1696 requiring rpcgen.
1697 [cross-compiling] (extra-libs): Likewise.
1698 [cross-compiling] (extra-libs-others): Likewise.
1699 [cross-compiling] (librpcsvc-routines): Likewise.
1700 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1701 [cross-compiling] (omit-deps): Likewise.
1702 (sunrpc-CPPFLAGS): New variable.
1703 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1704 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1705 (cross-rpcgen-objs): New variable.
1706 (extra-objs): Append $(cross-rpcgen-objs).
1707 ($(cross-rpcgen-objs)): New rule.
1708 ($(objpfx)cross-rpcgen): Likewise.
1709 (rpcgen-cmd): Define to use $(built-program-file). Expand
1710 comment.
1711 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1712 ($(objpfx)x%.stmp): Likewise.
1713 * sunrpc/proto.h [IS_IN_build] (_): Define.
1714 [IS_IN_build] (_libc_intl_domainname): Likewise.
1715
c8c59454
L
17162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1719 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1720 and R_X86_64_TPOFF64.
1721
6f27cd16
JM
17222012-05-10 Joseph Myers <joseph@codesourcery.com>
1723
1724 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1725 sysdeps/unix/sysv/syscalls.list.
1726 (stime): Likewise.
1727 (utime): Likewise.
1728 * sysdeps/unix/sysv/syscalls.list: Remove file.
1729
02467e1c
PE
17302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1731
1732 [BZ #3440]
1733 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1734 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1735 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1736 (__LC_IDENTIFICATION): Make these macros useful in #if
1737 expressions, as required by C99.
1738
da392631
AS
17392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1740
1741 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1742 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1743 after this.
1744
8115f29b
L
17452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1746
1747 * stdlib/longlong.h: Updated from GCC.
1748
bdd74070
AJ
17492012-05-09 Andreas Jaeger <aj@suse.de>
1750
edfe0dbe
AJ
1751 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1752 default is first entry.
1753 (run_mode): Set type.
1754 (main): Remove informal message about syslog.
1755 (options): Fix typo.
1756
bcfe3a54
ST
1757 [BZ #14053]
1758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1759 to asm.
bcfe3a54
ST
1760 (lrint): Likewise.
1761 (llrintf): Likewise.
1762 (llrint): Likewise.
1763 (rint): Likewise.
1764 (rintf): Likewise.
1765 (nearbyint): Likewise.
1766 (nearbyintf): Likewise.
bdd74070 1767
91d8d69e
AJ
17682012-05-09 Andreas Jaeger <aj@suse.de>
1769 Pedro Alves <palves@redhat.com>
1770
1771 * nscd/nscd.c (run_mode): Use enum.
1772 (main): Cleanup coding style issue.
1773
bb90b80b
AJ
17742012-05-09 Alexandre Oliva <aoliva@redhat.com>
1775 Andreas Jaeger <aj@suse.de>
1776
bcfe3a54
ST
1777 * nscd/nscd.c (go_background): Replaced with...
1778 (run_mode): ... this.
bb90b80b 1779 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1780 (options): Add -F --foreground.
1781 (main): Implement it.
1782 (parse_opt): Parse it.
bb90b80b 1783
1a4b75a1
AJ
17842012-05-09 Andreas Jaeger <aj@suse.de>
1785
1786 [BZ #14083]
1787 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1788 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1789 -Wconversion warning.
1790 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1791 Likewise.
1792
b1cc2472
JM
17932012-05-09 Joseph Myers <joseph@codesourcery.com>
1794
1795 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1796 == 0.
1797 (LC_ALL): Use macro-int-constant.
1798 (LC_COLLATE): Likewise.
1799 (LC_CTYPE): Likewise.
1800 (LC_MESSAGES): Likewise.
1801 (LC_MONETARY): Likewise.
1802 (LC_NUMERIC): Likewise.
1803 (LC_TIME): Likewise.
1804 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1805 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1807 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1808 Specify type.
1809 [C99-based standards] (float_t): Expect type.
1810 [C99-based standards] (double_t): Expect type.
1811 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1812 type.
1813 [C99-based standards] (HUGE_VALL): Likewise.
1814 [C99-based standards] (INFINITY): Likewise.
1815 [C99-based standards] (NAN): Likewise.
1816 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1817 [C99-based standards] (FP_NAN): Likewise.
1818 [C99-based standards] (FP_NORMAL): Likewise.
1819 [C99-based standards] (FP_SUBNORMAL): Likewise.
1820 [C99-based standards] (FP_ZERO): Likewise.
1821 [C99-based standards] (FP_FAST_FMA): Use
1822 optional-macro-int-constant. Specify type. Require == 1.
1823 [C99-based standards] (FP_FAST_FMAF): Likewise.
1824 [C99-based standards] (FP_FAST_FMAL): Likewise.
1825 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1826 [C99-based standards] (FP_ILOGBNAN): Likewise.
1827 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1828 Specify type.
1829 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1830 [C99-based standards] (math_errhandling): Specify type.
1831 [ISO99 || ISO11] (signgam): Do not allow.
1832 [non-C99-based standards] (copysignf): Do not allow.
1833 [non-C99-based standards] (exp2f): Likewise.
1834 [non-C99-based standards] (log2f): Likewise.
1835 [non-C99-based standards] (modff): Allow.
1836 [non-C99-based standards] (erff): Do not allow.
1837 [non-C99-based standards] (erfcf): Likewise.
1838 [non-C99-based standards] (gammaf): Likewise.
1839 [non-C99-based standards] (hypotf): Likewise.
1840 [non-C99-based standards] (j0f): Likewise.
1841 [non-C99-based standards] (j1f): Likewise.
1842 [non-C99-based standards] (jnf): Likewise.
1843 [non-C99-based standards] (lgammaf): Likewise.
1844 [non-C99-based standards] (tgammaf): Likewise.
1845 [non-C99-based standards] (y0f): Likewise.
1846 [non-C99-based standards] (y1f): Likewise.
1847 [non-C99-based standards] (ynf): Likewise.
1848 [non-C99-based standards] (isnanf): Likewise.
1849 [non-C99-based standards] (acoshf): Likewise.
1850 [non-C99-based standards] (asinhf): Likewise.
1851 [non-C99-based standards] (atanhf): Likewise.
1852 [non-C99-based standards] (cbrtf): Likewise.
1853 [non-C99-based standards] (expm1f): Likewise.
1854 [non-C99-based standards] (ilogbf): Likewise.
1855 [non-C99-based standards] (log1pf): Likewise.
1856 [non-C99-based standards] (logbf): Likewise.
1857 [non-C99-based standards] (nextafterf): Likewise.
1858 [non-C99-based standards] (remainderf): Likewise.
1859 [non-C99-based standards] (rintf): Likewise.
1860 [non-C99-based standards] (scalbf): Likewise.
1861 [non-C99-based standards] (copysignl): Likewise.
1862 [non-C99-based standards] (exp2l): Likewise.
1863 [non-C99-based standards] (log2l): Likewise.
1864 [non-C99-based standards] (modfl): Allow.
1865 [non-C99-based standards] (erfl): Do not allow.
1866 [non-C99-based standards] (erfcl): Likewise.
1867 [non-C99-based standards] (gammal): Likewise.
1868 [non-C99-based standards] (hypotl): Likewise.
1869 [non-C99-based standards] (j0l): Likewise.
1870 [non-C99-based standards] (j1l): Likewise.
1871 [non-C99-based standards] (jnl): Likewise.
1872 [non-C99-based standards] (lgammal): Likewise.
1873 [non-C99-based standards] (tgammal): Likewise.
1874 [non-C99-based standards] (y0l): Likewise.
1875 [non-C99-based standards] (y1l): Likewise.
1876 [non-C99-based standards] (ynl): Likewise.
1877 [non-C99-based standards] (isnanl): Likewise.
1878 [non-C99-based standards] (acoshl): Likewise.
1879 [non-C99-based standards] (asinhl): Likewise.
1880 [non-C99-based standards] (atanhl): Likewise.
1881 [non-C99-based standards] (cbrtl): Likewise.
1882 [non-C99-based standards] (expm1l): Likewise.
1883 [non-C99-based standards] (ilogbl): Likewise.
1884 [non-C99-based standards] (log1pl): Likewise.
1885 [non-C99-based standards] (logbl): Likewise.
1886 [non-C99-based standards] (nextafterl): Likewise.
1887 [non-C99-based standards] (remainderl): Likewise.
1888 [non-C99-based standards] (rintl): Likewise.
1889 [non-C99-based standards] (scalbl): Likewise.
1890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1891 [non-C99-based standards] (FP_*): Do not allow.
1892 [C99-based standards] (FP_*): Change to
1893 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1894 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1895 allow.
1896 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1897 (SIG_ERR): Likewise.
1898 [X/Open-based standards] (SIG_HOLD): Likewise.
1899 (SIG_IGN): Likewise.
1900 (SIGABRT): Use macro-int-constant. Specify type. Require
1901 positive value.
1902 (SIGFPE): Likewise.
1903 (SIGILL): Likewise.
1904 (SIGINT): Likewise.
1905 (SIGSEGV): Likewise.
1906 (SIGTER): Likewise.
1907 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1910 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1911 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1912 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1913 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1914 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1915 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1916 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1917 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1918 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1919 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1920 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1921 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1922 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1923 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1924 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1925 [X/Open-based standards] (SIGTRAP): Likewise.
1926 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1927 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1928 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1929 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1930 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1931 allow.
1932
b9f1922d
IW
19332012-05-08 Ian Wienand <ianw@vmware.com>
1934
1935 [BZ #14080]
1936 * time/tzset.c (__tzset_parse_tz): Update default rules for
1937 daylight time changes in the Energy Policy Act of 2005.
1938
1db86e88
AJ
19392012-05-09 Andreas Jaeger <aj@suse.de>
1940
1941 [BZ #13983]
1942 * elf/ldconfig.c (parse_conf): Change string to make clear that
1943 ldconfig only issued a warning if ld.so.conf does not exist.
1944
dee4a4e3
DM
19452012-05-08 David S. Miller <davem@davemloft.net>
1946
ee0db190
DM
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1948 movxtod instead of popping the value on the stack.
1949
dee4a4e3
DM
1950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1951
6a43ec98
CD
19522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1953
1954 * config.h.in: Add HAVE_ARM_PCS_VFP.
1955
05c2c961
RMG
19562012-05-08 Roland Mc Grath <roland@hack.frob.com>
1957
bcfe3a54
ST
1958 [BZ #13979]
1959 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1960 checking but the checks are disabled for any reason.
05c2c961 1961
4b30f61a
L
19622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1963
1964 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1965 and ELF64_R_TYPE with ELFW(R_TYPE).
1966
eee2bc67
JM
19672012-05-08 Joseph Myers <joseph@codesourcery.com>
1968
7ea5391a
JM
1969 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1970 (ulimit): Likewise.
1971
eee2bc67
JM
1972 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1973 (settimeofday): Likewise.
1974
abb66a67
MF
19752012-05-08 Mike Frysinger <vapier@gentoo.org>
1976
1977 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1978 a struct th_u2 inside the union, and move tu_block/tu_code into
1979 a new th_u3 union of tu_block/tu_code inside of that. Move
1980 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1981 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1982 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1983 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1984 (th_stuff): Change to th_u1.tu_stuff.
1985 (th_data): Define.
1986 (th_msg): Change to th_u1.th_u2.tu_data.
1987
7f18b530
DM
19882012-05-07 David S. Miller <davem@davemloft.net>
1989
05760585
DM
1990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1991
7f18b530
DM
1992 [BZ #14074]
1993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1994 (SETUP_PIC_REG): Use it.
1995 (SETUP_PIC_REG_LEAF): Use it.
1996
495fd99f
JM
19972012-05-07 Joseph Myers <joseph@codesourcery.com>
1998
1999 [BZ #13885]
2000 [BZ #13923]
2001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2002 USE_AS_EXPM1L.
2003 (EXPL_FINITE): Likewise.
2004 (FLDLOG): Likewise.
2005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2006 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2007 e_expl.S.
2008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2009 USE_AS_EXPM1L.
2010 (EXPL_FINITE): Likewise.
2011 (FLDLOG): Likewise.
2012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2013 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2014 e_expl.S.
2015 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2016 test of -max_value argument for long double.
2017 * sysdeps/i386/fpu/libm-test-ulps: Update.
2018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2019
6693d694
DM
20202012-05-06 David S. Miller <davem@davemloft.net>
2021
2022 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2023 quad soft-float symbols whose references which are compiler
2024 generated.
2025 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2026
6c23e11c
JM
20272012-05-06 Joseph Myers <joseph@codesourcery.com>
2028
d8b82cad
JM
2029 [BZ #13884]
2030 [BZ #13914]
2031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2032 USE_AS_EXP10L.
2033 (EXPL_FINITE): Likewise.
2034 (FLDLOG): Likewise.
2035 (c0): Likewise.
2036 (c1): Likewise.
2037 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2038 Adjust comments for base varying.
2039 (__expl_finite): Change alias to EXPL_FINITE.
2040 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2041 e_expl.S.
2042 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2043 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2045 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2047 USE_AS_EXP10L.
2048 (EXPL_FINITE): Likewise.
2049 (FLDLOG): Likewise.
2050 (c0): Likewise.
2051 (c1): Likewise.
2052 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2053 Adjust comments for base varying.
2054 (__expl_finite): Change alias to EXPL_FINITE.
2055 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2056 tests for bugs.
2057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2058
6c23e11c
JM
2059 [BZ #14064]
2060 * math/libm-test.inc (check_float_internal): Correct ulp
2061 calculation for subnormal expected results.
2062
29ba805c
AJ
20632012-05-06 Andreas Jaeger <aj@suse.de>
2064
2065 * Makeconfig (+math-flags): New, set to -frounding-math.
2066 (+cflags): Add +math-flags so that all of glibc gets compiled with
2067 it.
2068
2069 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2070
7b17aeda
JM
20712012-05-05 Joseph Myers <joseph@codesourcery.com>
2072
5779f134
JM
2073 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2074 Disable one test.
2075
41498f4d
JM
2076 [BZ #13787]
2077 [BZ #13922]
2078 [BZ #14036]
2079 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2080 (__ieee754_expl): Allow for and saturate large arguments.
2081 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2082 (u_threshold): Likewise.
2083 (__exp): Call __ieee754_exp before checking for overflow and
2084 underflow.
2085 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2086 (u_threshold): Likewise.
2087 (__expf): Call __ieee754_expf before checking for overflow and
2088 underflow.
2089 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2090 (u_threshold): Likewise.
2091 (__expl): Call __ieee754_expl before checking for overflow and
2092 underflow.
2093 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2094 (__ieee754_expl): Allow for and saturate large arguments.
2095 * math/libm-test.inc (exp_test): Add another test. Do not allow
2096 missing overflow exception on overflow.
2097 (expm1_test): Do not allow missing overflow exception on overflow.
2098
6698b8bf
JM
2099 * sysdeps/i386/fpu/e_expl.c: Move to ...
2100 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2101 rather than using inline asm.
2102 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2103 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2104 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2105
7b17aeda
JM
2106 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2107 (nice): Likewise.
2108 (poll): Likewise.
2109 (signal): Likewise.
2110 (time): Likewise.
2111 (times): Likewise.
2112
f7c85819
JM
21132012-05-04 Joseph Myers <joseph@codesourcery.com>
2114
2115 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2116 sysdeps/unix/common/syscalls.list.
2117 (fchmod): Likewise.
2118 (fchown): Likewise.
2119 (ftruncate): Likewise.
2120 (getrusage): Likewise.
2121 (gettimeofday): Likewise.
2122 (setpgid): Likewise.
2123 (setregid): Likewise.
2124 (setreuid): Likewise.
2125 (sigaction): Likewise.
2126 (truncate): Likewise.
2127 (vhangup): Likewise.
2128 * sysdeps/unix/common/syscalls.list: Remove file.
2129 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2130 * sysdeps/unix/sysv/linux/Implies: Likewise.
2131
336270d0
L
21322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2136 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2137 Moved to ...
2138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2139 Here.
2140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2141 to ...
2142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2144 to ...
2145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2146 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2147 to ...
2148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2149 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2150 to ...
2151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2153 to ...
2154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2155 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2156 to ...
2157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2158 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2159 to ...
2160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2161 Here.
2162 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2163 to ...
2164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2165 Here.
2166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2167 to ...
2168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2169 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2170 Moved to ...
2171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2172 Here.
2173 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2174 to ...
2175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2176
d128e450
JM
21772012-05-04 Joseph Myers <joseph@codesourcery.com>
2178
fa8ee516
JM
2179 * sysdeps/unix/common/bits/dirent.h: Remove file.
2180 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2181
d128e450
JM
2182 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2183 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2184 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2185 * sysdeps/unix/bsd/isatty.c: Likewise.
2186 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2187 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2188 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2189
ff8faaf0 21902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2191
62881be4 2192 [BZ #13563]
31dc8730
AZ
2193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2194 long double comparison inaccuracies.
2195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2197
6fef930c
AS
21982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2199
2200 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2202
8f203e6c
JM
22032012-05-04 Joseph Myers <joseph@codesourcery.com>
2204
2205 [BZ #14049]
2206 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2207 nonzero digits before rounding a hex value.
2208 * stdlib/tst-strtod.c (tests): Add another test.
2209
5197d9c2
AK
22102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2211
2212 * sysdeps/s390/fpu/libm-test-ulps: Update.
2213
f0c1dedf
AJ
22142012-05-03 Andreas Jaeger <aj@suse.de>
2215
2216 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2217 does not get optimized out.
2218 (malloc_opt_barrier): New.
2219
a65ef2ae 22202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2221 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2222
2b942cb7 2223 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2224 intermediate file deletion.
2b942cb7 2225 (generated): Add .symlist files.
a65ef2ae 2226
54b71e02
JM
22272012-05-03 Joseph Myers <joseph@codesourcery.com>
2228
2229 [BZ #13775]
2230 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2231 Redirect under this condition.
2232 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2233 [__USE_GNU] (__dprintf_chk): Not under this condition.
2234 [__USE_GNU] (__vdprintf_chk): Likewise.
2235 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2236 under this condition.
2237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2238 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2239 [__USE_XOPEN2K8] (vdprintf): Likewise.
2240 [__USE_GNU] (__dprintf_chk): Not under this condition.
2241 [__USE_GNU] (__vdprintf_chk): Likewise.
2242 [__USE_GNU] (dprintf): Likewise.
2243 [__USE_GNU] (vdprintf): Likewise.
2244
d3dfcc41
RM
22452012-05-03 Roland McGrath <roland@hack.frob.com>
2246
2247 * elf/Makefile (common-generated): Set this instead of generated for
2248 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2249 $(all-built-dso)-derived lists.
2250
7ac30cc5
AJ
22512012-05-03 Andreas Jaeger <aj@suse.de>
2252
0c51e550
AJ
2253 * sysdeps/i386/fpu/libm-test-ulps: Update.
2254
7ac30cc5
AJ
2255 * FAQ: Removed.
2256 * FAQ.in: Likewise.
2257 * scripts/gen-FAQ.pl: Likewise.
2258 * manual/install.texi (Installation): Point to online location of
2259 FAQ.
2260 * Makefile (files-for-dist): Remove FAQ.
2261 (FAQ): Remove.
2262
d4c2917f
AM
22632012-05-02 Allan McRae <allan@archlinux.org>
2264
2265 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2266 (LDFLAGS-reldepmod5.so): Likewise.
2267 (LDFLAGS-reldep6mod1.so): Likewise.
2268 (LDFLAGS-reldep6mod4.so): Likewise.
2269 (LDFLAGS-reldep8mod3.so): Likewise.
2270 (LDFLAGS-unload4mod1.so): Likewise.
2271 (LDFLAGS-unload4mod2.so): Likewise.
2272 (LDFLAGS-tst-initorder): Likewise.
2273 (LDFLAGS-tst-initordera2.so): Likewise.
2274 (LDFLAGS-tst-initordera3.so): Likewise.
2275 (LDFLAGS-tst-initordera4.so): Likewise.
2276 (LDFLAGS-tst-initorderb2.so): Likewise.
2277 (LDFLAGS-noload): Likewise.
2278 (LDFLAGS-next): Likewise.
2279 (LDFLAGS-order2mod1.so): Likewise.
2280 (LDFLAGS-order2mod2.so): Likewise.
2281 (LDFLAGS-tst-initorder2): Likewise.
2282 (LDFLAGS-tst-initorder2a.so): Likewise.
2283 (LDFLAGS-tst-initorder2b.so): Likewise.
2284 (LDFLAGS-tst-initorder2c.so): Likewise.
2285 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2286
d77f993f
DM
22872012-05-02 David S. Miller <davem@davemloft.net>
2288
2289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2290
171a70b4
PP
22912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2292
2293 [BZ #14055]
2294 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2295
0be196ad
AJ
22962012-05-02 Andreas Jaeger <aj@suse.de>
2297
2298 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2299 since we manipulate rounding mode.
2300 (CPPFLAGS-test-idouble.c): Likewise.
2301 (CPPFLAGS-test-ifloat.c): Likewise.
2302 (CFLAGS-test-ldouble.c): Likewise.
2303 (CFLAGS-test-double.c): Likewise.
2304 (CFLAGS-test-float.c): Likewise.
2305 (CFLAGS-test-misc.c): Likewise.
2306 (CFLAGS-test-test-fenv.c): Likewise.
2307
4f9d04aa
AZ
23082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309
2b942cb7
RM
2310 [BZ #2550]
2311 [BZ #2570]
2312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2313 comparisons to determine direction to adjust input.
4f9d04aa 2314
82a79e7d
RM
23152012-05-01 Roland McGrath <roland@hack.frob.com>
2316
f5a01ca9
RM
2317 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2318 output to the target.
2319
90fe4186
RM
2320 * scripts/localplt.awk: New file.
2321 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2322 (check-localplt-CFLAGS): Variable removed.
2323 ($(all-built-dso:=.jmprel)): New static pattern rule.
2324 (generated): Add those targets.
2325 (localplt-built-dso): New variable.
2326 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2327
2328 * elf/check-localplt.c: File removed.
2329
82397ed6
RM
2330 * scripts/check-execstack.awk: New file.
2331 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2332 (check-execstack-CFLAGS): Variable removed.
2333 ($(objpfx)check-execstack.h): Target removed.
2334 ($(objpfx)execstack-default): New target.
2335 (generated): Add that instead of check-execstack.h.
2336 ($(all-built-dso:=.phdr)): New static pattern rule.
2337 (generated): Add those targets.
2338 * elf/check-execstack.c: File removed.
2339
82a79e7d
RM
2340 * scripts/check-textrel.awk: New file.
2341 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2342 (check-textrel-CFLAGS): Variable removed.
2343 (all-built-dso): Use := to define.o
2344 ($(all-built-dso:=.dyn)): New static pattern rule.
2345 (generated): Add those targets.
2346 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2347 * config.make.in (READELF): New substituted variable.
2348 * elf/check-textrel.c: File removed.
2349
62fde54f 23502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2351
615605c9
JM
2352 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2353 allow.
2354 * conform/data/ctype.h-data [C99-based standards] (isblank):
2355 Expect function.
2356 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2357 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2359 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2360 Specify type. Require positive value.
2361 (EILSEQ): Likewise.
2362 (ERANGE): Likewise.
2363 [ISO || POSIX] (EILSEQ): Do not expect.
2364 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2365 Specify type. Require positive value.
2366 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2367 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2368 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2370 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2371 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2372 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2373 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2374 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2375 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2376 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2377 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2379 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2380 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2381 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2382 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2383 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2384 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2385 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2386 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2387 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2388 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2389 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2390 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2391 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2392 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2393 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2394 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2395 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2396 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2397 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2398 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2399 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2400 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2401 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2402 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2403 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2404 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2405 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2406 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2407 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2408 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2409 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2410 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2411 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2412 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2413 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2414 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2415 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2416 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2417 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2418 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2419 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2420 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2421 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2422 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2423 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2424 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2425 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2426 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2427 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2428 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2433 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2434 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2435 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2436 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2437 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2438 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2439 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2440 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2441 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2442 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2443 Require >= 2.
2444 (FLT_ROUNDS): Expect as macro, not constant.
2445 (FLT_MANT_DIG): Use macro-int-constant.
2446 (DBL_MANT_DIG): Likewise.
2447 (LDBL_MANT_DIG): Likewise.
2448 (FLT_DIG): Likewise.
2449 (DBL_DIG): Likewise.
2450 (LDBL_DIG): Likewise.
2451 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2452 (DBL_MIN_EXP): Likewise.
2453 (LDBL_MIN_EXP): Likewise.
2454 (FLT_MAX_EXP): Use macro-int-constant.
2455 (DBL_MAX_EXP): Likewise.
2456 (LDBL_MAX_EXP): Likewise.
2457 (FLT_MAX_10_EXP): Likewise.
2458 (DBL_MAX_10_EXP): Likewise.
2459 (LDBL_MAX_10_EXP): Likewise.
2460 (FLT_MAX): Use macro-constant.
2461 (DBL_MAX): Likewise.
2462 (LDBL_MAX): Likewise.
2463 (FLT_EPSILON): Use macro-constant. Give upper bound.
2464 (DBL_EPSILON): Likewise.
2465 (LDBL_EPSILON): Likewise.
2466 (FLT_MIN): Likewise.
2467 (DBL_MIN): Likewise.
2468 (LDBL_MIN): Likewise.
2469 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2470 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2471 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2472 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2473 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2474 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2475 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2476 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2477 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2478 [ISO11] (FLT_TRUE_MIN): Likewise.
2479 [ISO11] (LDBL_TRUE_MIN): Likewise.
2480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2481 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2482 (SCHAR_MIN): Use macro-int-constant. Specify type.
2483 (SCHAR_MAX): Likewise.
2484 (UCHAR_MAX): Likewise.
2485 (CHAR_MIN): Likewise.
2486 (CHAR_MAX): Likewise.
2487 (MB_LEN_MAX): Use macro-int-constant.
2488 (SHRT_MIN): Use macro-int-constant. Specify type.
2489 (SHRT_MAX): Likewise.
2490 (USHRT_MAX): Likewise.
2491 (INT_MAX): Likewise.
2492 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2493 bound negative.
2494 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2495 bound with "U".
2496 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2497 bound with "L".
2498 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2499 bound negative. Suffix upper bound with "L".
2500 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2501 bound with "UL".
2502 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2503 Specify type.
2504 [C99-based standards] (LLONG_MAX): Likewise.
2505 [C99-based standards] (ULLONG_MAX): Likewise.
2506 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2507 == 0.
2508 [ISO11] (max_align_t): Require type.
2509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2510
c9140a62
JM
2511 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2512 from $CFLAGS, without defining away __attribute__ calls.
2513 (checknamespace): Use $CFLAGS_namespace.
2514
9af0bf29
JM
2515 * conform/conformtest.pl (@keywords): Only include C99 keywords
2516 for standards based on C99 or C11.
2517
343222a2
JM
2518 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2519 Disable tests.
2520 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2521 UNIX98]: Likewise.
2522
661f8cf0
JM
2523 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2524 usability of symbols in #if.
2525
ee74b9cb
JM
2526 * conform/conformtest.pl: If macro or constant types start
2527 "promoted:", expect the symbol to be of the following type
2528 promoted by the integer promotions.
62fde54f 2529
aafc49b3
JM
2530 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2531 in one place. Also handle "macro-constant".
2532
fefdf574
JM
2533 * conform/conformtest.pl: Only accept expected macro values with
2534 "==". Parse all "macro" lines in one place.
2535 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2536
f2d922fe
JM
2537 * conform/conformtest.pl: Handle braced types on "constant" lines
2538 instead of handling "typed-constant".
2539 * conform/data/signal.h-data: Use "constant" instead of
2540 "typed-constant".
2541
d22956c9
JM
2542 * conform/conformtest.pl: Handle "optional-" at start of lines in
2543 one place rather than duplicating several cases. Handle each
2544 format of "macro" line with initial "optional-".
2545
028e2e38
JM
2546 * conform/conformtest.pl: Only accept expected constant or
2547 optional-constant values with "==". Parse all "constant" lines in
2548 one place. Parse all "optional-constant" lines in one place.
2549 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2550 * conform/data/fmtmsg.h-data: Likewise.
2551 * conform/data/netinet/in.h-data: Likewise.
2552 * conform/data/tar.h-data: Likewise.
2553 * conform/data/limits.h-data: Use "==" form on "constant" and
2554 "optional-constant" lines.
2555
1b8f2850
JM
2556 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2557 Use -std=c99 for XOPEN2K.
2558 (@knownproblems): Remove.
2559 (newtoken): Don't check %isknown.
2560
a05a144b
JM
2561 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2562 Do not expect macro.
2563 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2575 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2576 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2586 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2593 [XPG3] (acosh): Likewise.
2594 [XPG3] (asinh): Likewise.
2595 [XPG3] (atanh): Likewise.
2596 [XPG3] (cbrt): Likewise.
2597 [XPG3] (expm1): Likewise.
2598 [XPG3] (ilogb): Likewise.
2599 [XPG3] (log1p): Likewise.
2600 [XPG3] (logb): Likewise.
2601 [XPG3] (nextafter): Likewise.
2602 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2603 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2604 [XPG3] (remainder): Likewise.
2605 [XPG3] (rint): Likewise.
2606 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2607 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2608 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2609 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2610 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2611 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2612 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2613 [UNIX98 || XOPEN2K] (scalb): Expect.
2614 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2615 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2616 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2617 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2618 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2619 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2620 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2621 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2622 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2623 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2624 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2625 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2626 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2627 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2628 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2629 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2630 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2631 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2632 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2633 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2634 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2635 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2636 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2637 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2638 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2639 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2640 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2641 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2642 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2643 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2644 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2645 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2646 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2647 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2648 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2649 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2650 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2651 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2653 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2654 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2655 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2656 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2657 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2658 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2659 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2660 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2662 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2663 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2664 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2665 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2666 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2667 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2668 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2669 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2670 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2671 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2672 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2673 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2674 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2675 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2676 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2677 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2678 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2679 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2680 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2681 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2682 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2683 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2684 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2685 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2686 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2687 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2688 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2689 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2690 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2691 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2692 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2693 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2694 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2695 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2696 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2697 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2698 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2699 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2700 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2701 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2702 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2703 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2704 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2705 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2706 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2707 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2708 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2709 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2710 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2711 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2712 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2713 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2714 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2715 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2716 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2717 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2718 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2719 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2720 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2722 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2723 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2724 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2725 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2726 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2727 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2728 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2729 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2730 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2732 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2733 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2734 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2735 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2736 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2737 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2738 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2739 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2740 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2741 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2742 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2743 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2744 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2745 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2746 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2747 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2748 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2749 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2750 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2751
73c5ebe3
JM
2752 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2753 _XOPEN_SOURCE_EXTENDED for XPG4.
2754
39c33b6c
JM
2755 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2756
62fde54f
JM
2757 * Makeconfig (localtime): Remove variable.
2758 (inst_localtime-file): Likewise.
2759
0741d64c
AS
27602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2761
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2763 Update.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2765 Update.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2767 Update.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2769 Update.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2771 Update.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2773 Update.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2775 Update.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2777 Update.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2779 Update.
2780
7cb029ee
JM
27812012-05-01 Joseph Myers <joseph@codesourcery.com>
2782
2783 [BZ #2550]
2784 [BZ #2570]
2785 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2786 comparisons to determine direction to adjust input.
2787 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2788 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2790 Likewise.
2791 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2792 Likewise.
2793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2794 Likewise.
2795 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2796 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2797 Likewise.
2798 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2799 Likewise.
2800 * math/libm-test.inc (nexttoward_test): Add more tests.
2801
412bd966
AS
28022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2803
2804 [BZ #14040]
2805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2806 in version GLIBC_2.1, not GLIBC_2.0.
2807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2808 Likewise.
2809
9568c0c2
JM
28102012-04-30 Joseph Myers <joseph@codesourcery.com>
2811
adfbc8ac
JM
2812 [BZ #13942]
2813 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2814 (1 - x) * (1 + x).
2815 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2816 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2817 * math/libm-test.inc (acos_test): Add more tests.
2818 (asin_test): Likewise.
2819 * sysdeps/i386/fpu/libm-test-ulps: Update.
2820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2821
5ba3cc69
JM
2822 [BZ #14034]
2823 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2824 of square root.
2825 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2827 * math/libm-test.inc (acos_test_tonearest): New function.
2828 (acos_test_towardzero): Likewise.
2829 (acos_test_downward): Likewise.
2830 (acos_test_upward): Likewise.
2831 (asin_test_tonearest): Likewise.
2832 (asin_test_towardzero): Likewise.
2833 (asin_test_downward): Likewise.
2834 (asin_test_upward): Likewise.
2835 (main): Call the new functions.
2836 * sysdeps/i386/fpu/libm-test-ulps: Update.
2837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2838
9568c0c2
JM
2839 [BZ #13884]
2840 [BZ #13924]
2841 * math/e_exp10.c: Include <float.h>.
2842 (__ieee754_exp10): Handle underflow here rather than multiplying
2843 large negative argument by M_LN10.
2844 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2845 of __ieee754_expf.
2846 * math/e_exp10l.c: Include <float.h>.
2847 (__ieee754_exp10l): Handle underflow here rather than multiplying
2848 large negative argument by M_LN10l.
2849 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2850 spurious overflow exception on underflow.
2851
5ac3ea17
MP
28522012-04-29 Marek Polacek <polacek@redhat.com>
2853
2854 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2855 (__fortify_function): New macro.
2856 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2857 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2858 __extern_always_inline.
2859 * libio/bits/stdio2.h: Likewise.
2860 * libio/bits/stdio.h: Likewise.
2861 * string/string.h: Likewise.
2862 * string/bits/string3.h: Likewise.
2863 * include/stdio.h: Likewise.
2864 * stdlib/bits/stdlib.h: Likewise.
2865 * stdlib/stdlib.h: Likewise.
2866 * rt/bits/mqueue2.h: Likewise.
2867 * rt/mqueue.h: Likewise.
2868 * posix/bits/unistd.h: Likewise.
2869 * posix/unistd.h: Likewise.
2870 * io/bits/poll2.h: Likewise.
2871 * io/bits/fcntl2.h: Likewise.
2872 * io/fcntl.h: Likewise.
2873 * io/sys/poll.h: Likewise.
2874 * misc/bits/syslog.h: Likewise.
2875 * misc/bits/syslog-ldbl.h: Likewise.
2876 * misc/sys/syslog.h: Likewise.
2877 * socket/bits/socket2.h: Likewise.
2878 * socket/sys/socket.h: Likewise.
2879 * debug/tst-chk1.c: Likewise.
2880 * wcsmbs/bits/wchar2.h: Likewise.
2881 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2882 * wcsmbs/wchar.h: Likewise.
2883
ecf0ebfb
AJ
28842012-04-29 Andreas Jaeger <aj@suse.de>
2885
2886 * Makerules (tests): Remove enable-check-abi protection.
2887 (check-abi-warn): Remove.
2888 (check-abi-%): Remove check-abi-warn usage.
2889
2890 * configure.in: Remove check-abi configure option.
2891 * configure: Regenerated.
2892 * config.make.in (enable-check-abi): Remove.
2893
6d5c57fa
AS
28942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2895
24c5d07e 2896 [BZ #14033]
ded5180a
AS
2897 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2898 double functions to double *_finite functions.
2899
7e0d315d
AS
2900 [BZ #13941]
2901 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2902 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2903 LDBL_MIN_EXP.
2904 * stdio-common/Makefile (tests): Add tst-sprintf3.
2905 * stdio-common/tst-sprintf3.c: New file.
2906
6d5c57fa
AS
2907 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2908 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2909
0749ff8b
JM
29102012-04-28 Joseph Myers <joseph@codesourcery.com>
2911
2912 * conform/conformtest.pl: Remove duplicate typed-constant
2913 handling.
2914
8dbd5d7b
DM
29152012-04-28 David S. Miller <davem@davemloft.net>
2916
2917 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2918 (check-abi-%): Remove AWK script prerequisite and explicit
2919 abilist directory.
2920 (check-abi): Rewrite to just diff the symlist with the abilist.
2921 (config-tls, config-abi-config): Delete, no longer used.
2922 (update-abi-%): Remove AWK script and explicit abilist directory.
2923 (update-abi): Rewrite to simply compare and conditionally copy the
2924 symlist and the sysdep abilist file. Remove update-abi-config
2925 checks.
2926 * abilist/ld.abilist: Remove.
2927 * abilist/libBrokenLocale.abilist: Remove.
2928 * abilist/libanl.abilist: Remove.
2929 * abilist/libcrypt.abilist: Remove.
2930 * abilist/libdl.abilist: Remove.
2931 * abilist/librt.abilist: Remove.
2932 * abilist/libthread_db.abilist: Remove.
2933 * abilist/libutil.abilist: Remove.
2934 * scripts/extract-abilist.awk: Remove.
2935 * scripts/merge-abilist.awk: Remove.
2936 * sysdeps/generic/libcidn.abilist: New file.
2937 * sysdeps/generic/libnss_compat.abilist: New file.
2938 * sysdeps/generic/libnss_db.abilist: New file.
2939 * sysdeps/generic/libnss_dns.abilist: New file.
2940 * sysdeps/generic/libnss_files.abilist: New file.
2941 * sysdeps/generic/libnss_hesiod.abilist: New file.
2942 * sysdeps/generic/libnss_nis.abilist: New file.
2943 * sysdeps/generic/libnss_nisplus.abilist: New file.
2944 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2945 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2946 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2947 file.
2948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2949 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2950 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2951 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2952 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2954 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2955 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2956 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2957 file.
2958 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2959 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2960 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2961 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2962 file.
2963 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2964 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2965 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2966 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2968 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2969 file.
2970 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2971 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2972 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2973 file.
2974 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2976 New file.
2977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2978 New file.
2979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2980 New file.
2981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2982 New file.
2983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2984 New file.
2985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2986 New file.
2987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2988 New file.
2989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2990 New file.
2991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2992 New file.
2993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2994 New file.
2995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2996 New file.
2997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2998 New file.
2999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3000 New file.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3002 file.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3004 New file.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3006 New file.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3008 file.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3010 New file.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3012 New file.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3014 file.
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3016 New file.
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3018 New file.
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3020 New file.
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3022 New file.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3024 New file.
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3026 New file.
3027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3029 file.
3030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3031 New file.
3032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3033 file.
3034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3035 file.
3036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3037 file.
3038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3039 file.
3040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3041 file.
3042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3043 New file.
3044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3045 file.
3046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3047 file.
3048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3049 New file.
3050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3051 file.
3052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3054 file.
3055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3056 New file.
3057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3058 file.
3059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3060 file.
3061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3062 file.
3063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3064 file.
3065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3066 file.
3067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3068 New file.
3069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3070 file.
3071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3072 file.
3073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3074 New file.
3075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3076 file.
3077 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3078 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3079 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3080 file.
3081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3082 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3083 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3084 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3085 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3087 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3088 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3089 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3090 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3093 file.
3094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3095 New file.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3097 file.
3098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3099 file.
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3101 file.
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3103 file.
3104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3105 file.
3106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3107 New file.
3108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3109 New file.
3110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3111 file.
3112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3113 New file.
3114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3115 file.
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3118 file.
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3120 New file.
3121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3122 file.
3123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3124 file.
3125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3126 file.
3127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3128 file.
3129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3130 file.
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3132 New file.
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3134 New file.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3136 file.
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3138 New file.
3139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3140 file.
3141
41d73a1b
JM
31422012-04-28 Joseph Myers <joseph@codesourcery.com>
3143
3144 * conform/conformtest.pl: Fix typo in handling typed-constant from
3145 allow-header.
3146
28aeeda4
JM
31472012-04-27 Joseph Myers <joseph@codesourcery.com>
3148
adae8f5e
JM
3149 * README: Cut down references to pre-2.6 Linux kernels and
3150 Linuxthreads. Update lists of configurations in libc and ports
3151 and sort alphabetically. Say "or newer" with Linux kernel version
3152 requirements.
3153
28aeeda4
JM
3154 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3155
a462cb63
RA
31562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3157
3158 [BZ #887]
3159 * math/libm-test.inc (logb_test_downward): New test to expose
3160 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3161 rounding mode.
3162
6ad3493e
JM
31632012-04-27 Joseph Myers <joseph@codesourcery.com>
3164
3165 [BZ #14027]
3166 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3167 to be done.
3168 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3169 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3170
2ce4f015
JM
31712012-04-26 Joseph Myers <joseph@codesourcery.com>
3172
5aeb141a
JM
3173 * sysdeps/unix/i386/brk.S: Remove file.
3174 * sysdeps/unix/i386/dl-brk.S: Likewise.
3175 * sysdeps/unix/i386/pipe.S: Likewise.
3176 * sysdeps/unix/i386/sigreturn.S: Likewise.
3177 * sysdeps/unix/i386/syscall.S: Likewise.
3178 * sysdeps/unix/i386/vfork.S: Likewise.
3179 * sysdeps/unix/i386/wait.S: Likewise.
3180
7143acae
JM
3181 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3182 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3183
2ce4f015
JM
3184 * configure.in (arm*-none*): Do not allow without
3185 --enable-hacker-mode.
3186 (netbsd*): Remove case setting base_os.
3187 (386bsd*): Likewise.
3188 (freebsd*): Likewise.
3189 (bsdi*): Likewise.
3190 (osf*): Likewise.
3191 (sunos*): Likewise.
3192 (ultrix*): Likewise.
3193 (newsos*): Likewise.
3194 (dynix*): Likewise.
3195 (*bsd*): Likewise.
3196 (sysv*): Likewise.
3197 (isc*): Likewise.
3198 (esix*): Likewise.
3199 (sco*): Likewise.
3200 (minix*): Likewise.
3201 (irix4*): Likewise.
3202 (irix6*): Likewise.
3203 (solaris[2-9]*): Likewise.
3204 (none): Likewise.
3205 * configure: Regenerated.
3206
0ac229c8
AZ
32072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208
3209 [BZ #11521]
3210 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3211 overflow or cancellation in calculating denominator.
3212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3214 down expression to avoid unexpected rounding in newer GCCs.
3215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3216
33f244f4
DM
32172012-04-26 David S. Miller <davem@davemloft.net>
3218
3219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3220 long-double compat symbols.
3221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3234
cfa1f3e8
DM
32352012-04-25 David S. Miller <davem@davemloft.net>
3236
3237 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3238 HWCAP_* values only after the memory barriers have been defined.
3239 (atomic_full_barrier): Define.
3240 (atomic_read_barrier): Define.
3241 (atomic_write_barrier): Define.
3242
6e236b92
SP
32432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3244
3245 * shlib-versions: Add libgcc_s version information.
3246 * sysdeps/generic/libgcc_s.h: Remove.
3247 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3248 libgcc_s.h.
3249 * sysdeps/gnu/unwind-resume.c: Likewise.
3250 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3251
aab39a09
DM
32522012-04-25 David S. Miller <davem@davemloft.net>
3253
3254 * sysdeps/unix/sparc/brk.S: Delete.
3255 * sysdeps/unix/sparc/dl-brk.S: Delete.
3256 * sysdeps/unix/sparc/pipe.S: Delete.
3257 * sysdeps/unix/sparc/sysdep.S: Delete.
3258 * sysdeps/unix/sparc/sysdep.h: Delete.
3259 * sysdeps/unix/sparc/vfork.S: Delete.
3260 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3261 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3263 ret_ERRVAL, r0, r1, MOVE): Define.
3264 (JUMPTARGET): Remove.
3265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3266 sysdeps/unix/sparc/sysdep.h
3267 (ENTRY, END): Remove.
3268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3269
a3cc4f48
JM
32702012-04-25 Joseph Myers <joseph@codesourcery.com>
3271
2ed8cda2
JM
3272 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3273 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3274 -DIS_IN_build.
3275
35d76d59
JM
3276 * timezone/README: Update upstream location and email address for
3277 tzcode and tzdata.
3278 * timezone/zdump.c: Update from tzcode 2012b.
3279 * timezone/zic.c: Likewise.
3280
a3cc4f48
JM
3281 * configure.in (libc_cv_as_needed): Remove test.
3282 * configure: Regenerated.
3283 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3284 conditional definition.
3285 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3286 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3287 * config.make.in (have-as-needed): Remove variable.
3288
ceab42c3
SP
32892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3290 Paul Pluzhnikov <ppluzhnikov@google.com>
3291
3292 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3293 strings correctly.
3294
3ce2865f
CLT
32952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3296
3297 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3298 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3299 * sysdeps/sh/strlen.S: Likewise.
3300
f37e0d68
JM
33012012-04-24 Joseph Myers <joseph@codesourcery.com>
3302
ae186e9a
JM
3303 * sysdeps/unix/fork.S: Remove file.
3304 * sysdeps/unix/i386/fork.S: Likewise.
3305 * sysdeps/unix/sparc/fork.S: Likewise.
3306
b96914af
JM
3307 * sysdeps/unix/system.c: Remove file.
3308 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3309
f37e0d68
JM
3310 * sysdeps/unix/getegid.S: Remove file.
3311 * sysdeps/unix/geteuid.S: Likewise.
3312
87ef29ca
RM
33132012-04-24 Roland McGrath <roland@hack.frob.com>
3314
83bcd236
RM
3315 * scripts/check-localplt.awk: New file.
3316 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3317 of diff.
3318 * scripts/data/localplt-generic.data: Add a comment.
3319
87ef29ca
RM
3320 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3321 NODE when __dir_mkfile failed.
3322 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3323 Reported by Ludovic Courtès <ludo@gnu.org>.
3324
e5a6e567
AJ
33252012-04-24 Andreas Jaeger <aj@suse.de>
3326
3327 * Makerules (common-clean): Also remove gen-as-const-headers
3328 files.
3329
c1820385
JM
33302012-04-24 Joseph Myers <joseph@codesourcery.com>
3331
3332 * Makerules (native-compile): Do not change working directory for
3333 build. Use $(OUTPUT_OPTION) in command.
3334 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3335
94e02fc4
AZ
33362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3337
3338 [BZ #13886]
3339 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3340 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3341 * math/libm-test.inc (floor_test): Add more tests.
3342 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3343
3a533ca3
JM
33442012-04-24 Joseph Myers <joseph@codesourcery.com>
3345
940ab4b3
JM
3346 * sysdeps/unix/getdents.c: Remove file.
3347 * sysdeps/unix/sysv/getdents.c: Likewise.
3348 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3349
90e037bd
JM
3350 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3351 sysdeps/unix/mman/syscalls.list.
3352 (mmap): Likewise.
3353 (mprotect): Likewise.
3354 (msync): Likewise.
3355 (munmap): Likewise.
3356 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3357 * sysdeps/unix/mman/syscalls.list: Remove.
3358 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3359
3a533ca3
JM
3360 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3361 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3362 * configure: Regenerated.
3363 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3364 $(libgcc_s_suffix).
3365 * config.make.in (libgcc_s_suffix): Remove variable.
3366
1ad743de
JM
33672012-04-23 Joseph Myers <joseph@codesourcery.com>
3368
4ad451e2
JM
3369 * sysdeps/unix/sysv/gethostname.c: Move to ...
3370 * sysdeps/posix/gethostname.c: ... here.
3371
5e37ce39
JM
3372 * sysdeps/unix/execve.S: Remove file.
3373
1ad743de
JM
3374 * sysdeps/unix/_exit.S: Remove file.
3375
4e681b5b
AJ
33762012-04-23 Andreas Jaeger <aj@suse.de>
3377
3378 [BZ #13739]
3379 * manual/Makefile: Remove make dist support, there's no
3380 need for a stand-alone documentation tar ball.
3381 (TEXI2DVI): Define always, it's not in Makeconfig.
3382 (dist): Removed.
3383 (tar-it): Removed.
3384 (edition): Removed.
3385 (glibc-doc-$(edition).tar): Removed
3386 (%.Z): Removed.
3387 (%.gz): Removed.
3388 (%.uu): Removed.
3389 (ETAGS): Remove, it's in Makeconfig.
3390 (move-if-change): Remove, it's in Makeconfig.
3391
c0baea34
PE
33922013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3393
3394 [BZ #13970]
3395 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3396 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3397 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3398 (strtod_l, strtof_l, strtold_l): Remove __wur.
3399 It is not necessarily an error to ignore strtol's return value.
3400 One can reliably look at the stored endptr to decide whether
3401 the number had valid syntax.
3402
7c0616fa
AJ
34032012-04-21 Andreas Jaeger <aj@suse.de>
3404
803cb6b7 3405 [BZ #13739]
7c0616fa
AJ
3406 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3407
b0fe253f
JM
34082012-04-21 Joseph Myers <joseph@codesourcery.com>
3409
3410 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3411 * sysdeps/unix/sysv/Versions: Remove file.
3412
8280f22d
MT
34132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3414
3415 [BZ #13927]
3416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3417
75ce411f 34182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3419
3420 [BZ #7064]
3421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3422 version from __vm86.
3423
097d59fa
JM
34242012-04-20 Joseph Myers <joseph@codesourcery.com>
3425
a90f3bcb
JM
3426 * sysdeps/unix/common/lxstat.c: Remove file.
3427 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3428
edc7ea78
JM
3429 * sysdeps/unix/sysv/Makefile: Remove file.
3430
cb78c221
JM
3431 * sysdeps/unix/sysv/direct.h: Remove file.
3432
efa6a45f
JM
3433 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3434 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3435 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3436 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3437 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3438 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3439 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3440
9c9f2d0c
JM
3441 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3442
4541c83b
JM
3443 * sysdeps/unix/xmknod.c: Remove file.
3444 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3445
f5d153a0
JM
3446 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3447
aa746595
JM
3448 * sysdeps/unix/sysv/i386/time.S: Remove file.
3449
cce5905e
JM
3450 * sysdeps/unix/fxstat.c: Remove file.
3451 * sysdeps/unix/xstat.c: Likewise.
3452 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3453
37fa3841
JM
3454 * sysdeps/unix/sysv/sigaction.c: Remove file.
3455
ff1962a3
JM
3456 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3457 (sysdep_headers): Remove variable.
3458 [termio.h not in sysdep_headers] (generated): Likewise.
3459 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3460 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3461 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3462 * sysdeps/unix/sysv/tcflow.c: Likewise.
3463 * sysdeps/unix/sysv/tcflush.c: Likewise.
3464 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3465 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3466 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3467 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3468 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3469
e7740d31
JM
3470 * sysdeps/unix/siglist.c: Remove file.
3471
ee06f18b
JM
3472 * sysdeps/unix/getppid.S: Remove file.
3473
097d59fa
JM
3474 * sysdeps/unix/mkdir.c: Remove file.
3475 * sysdeps/unix/rmdir.c: Likewise.
3476
ff3d51ec
AS
34772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3478
3479 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3480 ERR_MAX value.
3481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3482 errlist-compat value.
3483
50f81fd7
DM
34842012-04-18 David S. Miller <davem@davemloft.net>
3485
3486 * sysdeps/generic/memcopy.h (reg_char): Delete.
3487 * debug/strcat_chk.c: Use char, not reg_char.
3488 * debug/strcpy_chk.c: Likewise.
3489 * debug/strncat_chk.c: Likewise.
3490 * debug/strncpy_chk.c: Likewise.
3491 * string/memchr.c: Likewise.
3492 * string/memrchr.c: Likewise.
3493 * string/rawmemchr.c: Likewise.
3494 * string/strcat.c: Likewise.
3495 * string/strchr.c: Likewise.
3496 * string/strchrnul.c: Likewise.
3497 * string/strcmp.c: Likewise.
3498 * string/strcpy.c: Likewise.
3499 * string/strncat.c: Likewise.
3500 * string/strncmp.c: Likewise.
3501 * string/strncpy.c: Likewise.
3502
8ff41c46
WS
35032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3504
3505 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3506 __builtin_memcopy is called when src and dest ranges are known to not
3507 overlap.
3508
6b652f46
WS
35092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3510
3511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3512 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3513 fwd_align_merge macro call.
3514 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3515 bwd_align_merge macro call.
3516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3517
b282631e
WS
35182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3519
3520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3521 bwd_align_merge macros.
3522 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3523 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3524 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3525
95aa737c
DM
35262012-04-18 David S. Miller <davem@davemloft.net>
3527
3528 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3529
7a99a614
AJ
35302012-04-18 Andreas Jaeger <aj@suse.de>
3531
3532 [BZ# 6794]
3533 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3534 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3535 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3536
3537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3538 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3540
3541 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3542 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3543 Adjust for changed ldbl-128 files.
3544
3545 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3546 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3548
e5270c23
DM
35492012-04-17 David S. Miller <davem@davemloft.net>
3550
3551 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3552
fb5e92c9
AS
35532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3554
3555 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3556 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3557 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3558 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3559 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3560 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3561
76da7265
AZ
35622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563
3564 [BZ #6794]
3565 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3566 * math/libm-test.inc: Add ilogb errno and exception tests.
3567 * math/w_ilogb.c: New file: ilogb wrapper.
3568 * math/w_ilogbf.c: New file: ilogbf wrapper.
3569 * math/w_ilogbl.c: New file: ilogbl wrapper.
3570 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3571 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3572 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3573 exception being thrown with 0.0 as argument.
3574 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3575 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3576 exception being thrown with 0.0 as argument.
3577 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3578 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3579 exception being thrown with 0.0 as argument.
3580 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3581 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3582 exception being thrown with 0.0 as argument.
3583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3584 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3586 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3588 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3589 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3590 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3591 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3592
0396e69d
PB
35932012-04-17 Petr Baudis <pasky@ucw.cz>
3594
3595 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3596 with altivec.
3597
750b5926
MP
35982012-04-16 Marek Polacek <polacek@redhat.com>
3599
3600 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3601
751728a1
MP
36022012-04-16 Marek Polacek <polacek@redhat.com>
3603
3604 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3605 operands of fdivp instruction.
3606
34a27407
L
36072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3610 * elf/tst-auditmod3b.c: Likewise.
3611 * elf/tst-auditmod4b.c: Likewise.
3612 * elf/tst-auditmod5b.c: Likewise.
3613 * elf/tst-auditmod6b.c: Likewise.
3614 * elf/tst-auditmod6c.c: Likewise.
3615 * elf/tst-auditmod7b.c: Likewise.
3616 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3617 * sysdeps/x86_64/preconfigure.in: Likewise.
3618 * sysdeps/x86_64/preconfigure: Regenerated.
3619
7e73e17d
L
36202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3623 __ILP32__.
3624
c7a6ab72
AB
36252012-04-13 Antoine Balestrat <merkil33@gmail.com>
3626
3627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3628 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3629
a9e8e0e0
CL
36302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3631
3632 [BZ #13973]
3633 * locale/iso-639.def: Fix gl language name. Spotted by
3634 Yaron Shahrabani.
3635
ec98af7d
RM
36362012-04-12 Roland McGrath <roland@hack.frob.com>
3637
3638 [BZ #2074]
3639 * libio/libio.h (__io_write_fn): Update comment.
3640
247c3ede
PB
36412012-04-12 Petr Baudis <pasky@ucw.cz>
3642
3643 [BZ #2074]
3644 * stdio.texi (Hook Functions): The user provided writer function
3645 is not allowed to return -1.
3646
55939d6d
DM
36472012-04-11 David S. Miller <davem@davemloft.net>
3648
3649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3650
90020f5a
MF
36512012-04-11 Mike Frysinger <vapier@gentoo.org>
3652
3653 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3654 Add a leading slash to rtkaio.
3655
288f9098
JM
36562012-04-11 Jim Meyering <meyering@redhat.com>
3657
90020f5a
MF
3658 [BZ #11959]
3659 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3660 It is not necessarily an error to ignore fwrite's return
3661 value. One can reliably use ferror to test for errors after
3662 the fact.
288f9098 3663
4be2b570
L
36642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 * bits/types.h (__snseconds_t): New type.
3667 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3668
3669 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3671 (__SNSECONDS_T_TYPE): Likewise.
3672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3673 (__SNSECONDS_T_TYPE): Likewise.
3674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3675 (__SNSECONDS_T_TYPE): Likewise.
3676
288f9098 36772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3678
3679 [BZ #2636]
3680 * manual/time.texi (Processor Time): Return type of times is
3681 elapsed real time since an arbitrary point in the past.
3682 (CPU Time): Move CLK_TCK from here...
3683 (Processor Time): ...to here. Correct description.
3684 * manual/conf.texi (Constants for Sysconf): Correct description of
3685 _SC_CLK_TCK.
3686
d7dd4413
DM
36872012-04-10 David S. Miller <davem@davemloft.net>
3688
3689 [BZ #13967]
3690 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3691 where the is a gap between DT_REL(A) and DT_JMPREL.
3692
b46068fc
L
36932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3696 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3697 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3698
73d65cc3
SP
36992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3700
3701 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3702 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3703 (dl_main): Handle --inhibit-cache.
3704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3705 _dl_inhibit_cache.
3706 * elf/dl-load.c (_dl_map_object): Use it.
3707 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3708
bcc8d661
JM
37092012-04-09 Joseph Myers <joseph@codesourcery.com>
3710
8f9a2fae
JM
3711 [BZ #13872]
3712 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3713 (__ieee754_powl): Saturate large exponents rather than testing for
3714 overflow of y*log2(x).
3715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3716 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3717 exceptions.
3718
bcc8d661
JM
3719 [BZ #11521]
3720 * math/s_ctan.c: Include <float.h>.
3721 (__ctan): Avoid internal overflow or cancellation in calculating
3722 denominator.
3723 * math/s_ctanf.c: Likewise.
3724 * math/s_ctanl.c: Likewise.
3725 * math/s_ctanh.c: Likewise.
3726 * math/s_ctanhf.c: Likewise.
3727 * math/s_ctanhl.c: Likewise.
3728 * math/libm-test.inc (ctan_test): Add more tests.
3729 (ctanh_test): Likewise.
3730 * sysdeps/i386/fpu/libm-test-ulps: Update.
3731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732
823fbbb4
AJ
37332012-04-09 Andreas Jaeger <aj@suse.de>
3734
03879793
AJ
3735 [BZ #6894]
3736 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3737 is an optional BSD extension.
3738
823fbbb4
AJ
3739 [BZ #10254]
3740 * manual/stdio.texi (Opening Streams): Document additional fopen
3741 parameters.
3742
8de131cb
RM
37432012-04-09 Roland McGrath <roland@hack.frob.com>
3744
3745 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3746 %eax without telling the compiler.
3747
c0ed9d7d
CD
37482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3749
3750 [BZ # 13963]
3751 * manual/install.texi: Use sourceware.org.
3752
c483f6b4
JM
37532012-04-09 Joseph Myers <joseph@codesourcery.com>
3754
d7dd9453
JM
3755 [BZ #13873]
3756 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3757 (__ieee754_pow): Generate overflow and underflow using huge*huge
3758 and tiny*tiny rather than just returning constant infinity or zero
3759 for large exponents.
3760 * math/libm-test.inc (pow_test): Require overflow exceptions for
3761 applicable cases of large exponents.
3762
c483f6b4
JM
3763 [BZ #706]
3764 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3765 (__ieee754_pow): Use iterative multiplication algorithm only for
3766 integer exponents with absolute value below 1024. Check for odd
3767 integer exponents when using algorithm for real exponents.
3768 * math/libm-test.inc (pow_test): Add more tests.
3769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3770
d2de7579
JM
37712012-04-08 Joseph Myers <joseph@codesourcery.com>
3772
3773 [BZ #13705]
3774 * math/libm-test.inc (exp_test): Do not allow overflow exception
3775 on underflow test.
3776
f77f1232
AJ
37772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3778
3779 [BZ #13705]
3780 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3781 instead of __kernel_standard_f.
3782
3884932b
MF
37832012-04-08 Mike Frysinger <vapier@gentoo.org>
3784
3785 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3786 * sysdeps/x86_64/memset_chk.S: Likewise.
3787
54472e9c
AJ
37882012-04-08 Andreas Jaeger <aj@suse.de>
3789
6ab0fbfc
AJ
3790 [BZ #10153]
3791 * manual/startup.texi (Environment Access): Describe return value
3792 for putenv and setenv.
3793
61efba8c
AJ
3794 [BZ #6895]
3795 * manual/filesys.texi (Directory Entries): Add description for
3796 DT_LNK.
3797
95c3f29a
AJ
3798 [BZ #6890]
3799 * manual/filesys.texi (Directory Entries): Clarify that it's file
3800 system not operating system in the description of DT_UNKNOWN.
3801
54472e9c
AJ
3802 [BZ #6578]
3803 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3804
624254b1
SC
38052012-04-08 Stephen Compall <s11@member.fsf.org>
3806
3807 [BZ #6649]
3808 * manual/llio.texi (Opening and Closing Files): Add cross
3809 reference to explain mode argument.
3810
1e4920e0
MF
38112012-04-07 Mike Frysinger <vapier@gentoo.org>
3812
3813 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3814 * sysdeps/x86_64/memset_chk.S: Likewise.
3815
5ed848f3
DM
38162012-04-07 David S. Miller <davem@davemloft.net>
3817
3818 * elf/elf.h (R_SPARC_WDISP10): Define.
3819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3820 R_SPARC_SIZE32.
3821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3822 R_SPARC_SIZE64 and R_SPARC_H34.
3823
96154cd8
CD
38242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3825
3826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3827 conditions and remove no longer applicable assertion.
3828
9904dc47
L
38292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * bits/byteswap.h: Include <features.h>.
3832 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3833 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3834
f8887d0a
L
38352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 * bits/byteswap.h (__bswap_16): Removed.
3838 Include <bits/byteswap-16.h> to get __bswap_16.
3839 * sysdeps/i386/bits/byteswap.h: Likewise.
3840 * sysdeps/s390/bits/byteswap.h: Likewise.
3841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3842 * bits/byteswap-16.h: New file.
3843 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3844 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3845 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3846 * string/Makefile (headers): Add bits/byteswap-16.h.
3847
62470f60
PP
38482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3849
3850 [BZ #13895]
3851 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3852 extra indirection.
3853 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3854 * nss/tst-nss-static.c: New.
3855
4dad7bab
RM
38562012-04-06 Robert Millan <rmh@gnu.org>
3857
3858 [BZ #6486]
3859 * manual/llio.texi (File Position Primitive): lseek
3860 refers to WHENCE when it really means OFFSET.
3861
e9142a17
AJ
38622012-04-06 Andreas Jaeger <aj@suse.de>
3863
2c040eff
AJ
3864 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3865 strncmp declarations.
3866
e9142a17
AJ
3867 * abilist/libc.abilist: Add __poll and __ppoll.
3868
ff9f1c5f
DM
38692012-04-05 David S. Miller <davem@davemloft.net>
3870
dcd2ae90
DM
3871 * scripts/check-local-headers.sh: Accept a host triplet in the
3872 path matched by the exclude regexp.
3873
993eb054
DM
3874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3875 definition.
3876 * sysdeps/powerpc/powerpc32/dl-machine.h
3877 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3878 * sysdeps/s390/s390-32/dl-machine.h
3879 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3880 * sysdeps/sparc/sparc32/dl-machine.h
3881 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3882 * sysdeps/sparc/sparc64/dl-machine.h
3883 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3884
ff9f1c5f
DM
3885 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3886 lazy binding.
48e2e132 3887 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3888 undefined symbol errors.
3889
48e2e132 3890 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3891 DT_NEEDED entries.
3892
e80d6f94
MM
38932012-04-05 Michael Matz <matz@suse.de>
3894
3895 [BZ #13592]
3896 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3897
349fa79f
AJ
38982012-04-05 Andreas Jaeger <aj@suse.de>
3899
3900 [BZ #13908]
3901 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3902 comment.
3903
f402708f
KK
39042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3905
3906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3907 which ROUND is no valid rounding mode.
3908
2ecccfc9
KK
39092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3910
3911 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3912 read again.
3913 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3914
8a53f50f
KK
39152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3916
3917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3918 an exception using FPU order intentionally.
3919
39202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3921
3922 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3923 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3924 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3925 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3926
d653abb7
SJ
39272012-04-05 Simon Josefsson <simon@josefsson.org>
3928
3929 [BZ #12340]
3930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3931 EINVAL when BUFLEN is too smal.
3932
c3b1bf7d
TS
39332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3934
3935 [BZ #13553]
3936 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3937 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3938
b1aa60f3
AJ
39392012-04-03 Andreas Jaeger <aj@suse.de>
3940
c3b1bf7d 3941 [BZ #13938]
67f60a26
AJ
3942 * manual/setjmp.texi (System V contexts): Fix sentence.
3943
b1aa60f3
AJ
3944 [BZ #13926]
3945 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3946 New macro for this case.
3947 [!__GNUC__] (__bswap_64): New inline function for this case.
3948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3949 * bits/byteswap.h: Likewise.
3950 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3951 ull, guard with __GLIBC_HAVE_LONG_LONG.
3952
3953 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3954 __GLIBC_HAVE_LONG_LONG.
3955
3956 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3957 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3958
39c59c35
TMQMF
39592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3960
3961 [BZ #13691]
3962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3963 inptr and inend, rather than using last_ch.
3964
135ffda8
DM
39652012-04-02 David S. Miller <davem@davemloft.net>
3966
3967 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3968 * stdio-common/printf-parse.h (read_int): Change return type to
3969 'int', return -1 on INT_MAX overflow.
3970 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3971 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3972 overflows INT_MAX. Check for overflow of in-format-string precision
3973 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3974 SIZE_MAX not INT_MAX for integer overflow test.
3975 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3976 skip the construct in the format string but do not record anything.
3977 * stdio-common/bug22.c: Adjust to test both width/prevision
3978 INT_MAX overflow as well as total length INT_MAX overflow. Check
3979 explicitly for proper errno values.
3980
228c019e
TS
39812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3982
302cadd3
TS
3983 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3984 CHAR_MAX.
3985 * string/test-strcmp.c [! WIDE]: Likewise.
3986 * time/tst-mktime2.c: Likewise for INT_MAX.
3987 * string/test-string.h: #include <sys/param.h> for MIN.
3988
228c019e
TS
3989 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3990 * sysdeps/i386/init-first.c (init): Likewise.
3991 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3992 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3993 * sysdeps/sh/init-first.c (init): Likewise.
3994
cfa633f5
UD
39952012-04-01 Ulrich Drepper <drepper@gmail.com>
3996
3997 * po/ru.po: Update from translation team.
d1635ef8 3998 * po/vi.po: Likewise.
cfa633f5 3999
6cd0a5ea
SP
40002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4001
4002 * resolv/nss_dns/dns-host.c: Merge copyright years.
4003
4b43400f
LD
40042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4005
4006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4007 Optimize memcpy with prefetch if
4008 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4009 src, dst pointers have unequal 16 byte alignments.
4010
48c41d04
SP
40112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4012
4013 [BZ #13928]
4014 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4015 from a CNAME entry and return the minimum ttl for the query.
4016 (gaih_getanswer_slice): Likewise.
4017
b8dc394d
JL
40182012-03-30 Jeff Law <law@redhat.com>
4019
4020 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4021 due to long keys.
4022 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4023 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4024
2f5a5ed0
JL
4025 * resolv/nss_dns/dns-host.c: Update copyright year.
4026
1d39e359
UD
40272012-03-30 Ulrich Drepper <drepper@gmail.com>
4028
c030f70c 4029 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4030 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4031
1d39e359
UD
4032 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4033 comments for sendmmsg.
4034
40352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4036
4037 [BZ #13691]
4038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4039 with only 1 character between 0x0041 and 0x01b0.
4040 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4041 * wcsmbs/tst-mbsnrtowcs.c: New file.
4042
20fde227
DM
40432012-03-29 David S. Miller <davem@davemloft.net>
4044
4045 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4046 small copies by hand.
4047
984a4237
JL
40482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4049
4050 [BZ #13761]
4051 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4052 _nss_compat_initgroups_dyn): Fall back to malloc/free
4053 for large group memberships.
4054
18c9d62b
DM
40552012-03-28 David S. Miller <davem@davemloft.net>
4056
88d85d4f
DM
4057 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4058 that branches into memcpy.
4059 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4062 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4064 bits.
4065 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4066 implementation too.
4067 * sysdeps/sparc/mempcpy.S: New file.
4068
e5aa83e1
DM
4069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4070 the IFUNC routine in the libc case.
4071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4072
88570753
DM
4073 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4074 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4075 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4076 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4077 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4078 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4079 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4080 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4081
249d7567
DM
4082 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4083 loop to 256 bytes instead of 64 bytes and fix test signedness.
4084
18c9d62b
DM
4085 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4086 * sysdeps/sparc/sparc32/Makefile: rather than here...
4087 * sysdeps/sparc/sparc64/Makefile: and here.
4088
05f3d1f6
UD
40892012-03-28 Ulrich Drepper <drepper@gmail.com>
4090
4091 * malloc/mallocbug.c: Avoid warnings about unused variables.
4092
86ae07a8
JL
40932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
4095 [BZ #13760]
4096 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4097 in the right place. Discard and retry query if response is
4098 larger than input buffer size.
4099
41bf21a1
JM
41002012-03-28 Joseph Myers <joseph@codesourcery.com>
4101
d6270972
JM
4102 [BZ #369]
4103 [BZ #2678]
4104 [BZ #3866]
4105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4106 x for large integer exponent.
4107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4108 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4109 sign of result as needed afterwards.
4110 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4111 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4112 result for underflowing pow the same as for overflow.
4113 (__kernel_standard_l): Handle powl overflow and underflow here
4114 rather than calling __kernel_standard.
4115 * math/libm-test.inc (pow_test): Add more tests.
4116
414fca03 4117 [BZ #3868]
41bf21a1
JM
4118 [BZ #13879]
4119 [BZ #13910]
4120 [BZ #13911]
4121 [BZ #13912]
4122 [BZ #13913]
4123 [BZ #13915]
4124 [BZ #13916]
4125 [BZ #13917]
4126 [BZ #13918]
4127 [BZ #13919]
4128 [BZ #13920]
4129 [BZ #13921]
4130 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4131 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4132 (__kernel_standard_l): New function.
4133 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4134 __kernel_standard.
4135 * math/w_acosl.c (__acosl): Likewise.
4136 * math/w_asinl.c (__asinl): Likewise.
4137 * math/w_atan2l.c (__atan2l): Likewise.
4138 * math/w_atanhl.c (__atanhl): Likewise.
4139 * math/w_coshl.c (__coshl): Likewise.
4140 * math/w_exp10l.c (__exp10l): Likewise.
4141 * math/w_exp2l.c (__exp2l): Likewise.
4142 * math/w_fmodl.c (__fmodl): Likewise.
4143 * math/w_hypotl.c (__hypotl): Likewise.
4144 * math/w_j0l.c (__j0l, __y0l): Likewise.
4145 * math/w_j1l.c (__j1l, __y1l): Likewise.
4146 * math/w_jnl.c (__jnl, __ynl): Likewise.
4147 * math/w_lgammal.c (__lgammal): Likewise.
4148 * math/w_log10l.c (__log10l): Likewise.
4149 * math/w_log2l.c (__log2l): Likewise.
4150 * math/w_logl.c (__logl): Likewise.
4151 * math/w_powl.c (__powl): Likewise.
4152 * math/w_remainderl.c (__remainderl): Likewise.
4153 * math/w_scalbl.c (sysv_scalbl): Likewise.
4154 * math/w_sinhl.c (__sinhl): Likewise.
4155 * math/w_sqrtl.c (__sqrtl): Likewise.
4156 * math/w_tgammal.c (__tgammal): Likewise.
4157 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4158 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4159 * math/libm-test.inc (acos_test): Add more tests.
4160 (acosh_test): Likewise.
4161 (asin_test): Likewise.
4162 (atanh_test): Likewise.
4163 (exp_test): Likewise.
4164 (exp10_test): Likewise.
4165 (exp2_test): Likewise.
4166 (expm1_test): Likewise.
4167 (lgamma_test): Likewise.
4168 (log_test): Likewise.
4169 (log10_test): Likewise.
4170 (log1p_test): Likewise.
4171 (log2_test): Likewise.
4172 (pow_test): Do not allow some spurious overflow exceptions.
4173 (sqrt_test): Add more tests.
4174 (tgamma_test): Likewise.
4175 (y0_test): Likewise.
4176 (y1_test): Likewise.
4177 (yn_test): Likewise.
4178
dd62fda6
AB
41792012-03-27 Anton Blanchard <anton@samba.org>
4180
4181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4182 MAP_HUGETLB.
4183 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4186
1e3cdfda
AJ
41872012-03-27 David S. Miller <davem@davemloft.net>
4188
b855ab85
DM
4189 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4190
1e3cdfda
AJ
4191 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4192 have-as-vis3 check.
4193
41942012-03-27 Andreas Jaeger <aj@suse.de>
4195
4196 * sysdeps/x86_64/elf/configure.in: Moved to ...
4197 * sysdeps/x86_64/configure.in: ... here.
4198 * sysdeps/x86_64/elf/start.S: Moved to ...
4199 * sysdeps/x86_64/start.S: ... here.
4200 * sysdeps/x86_64/elf/configure: Delete.
4201
4202 * sysdeps/x86_64/configure.in: Merge contents from
4203 sysdeps/i386/configure.in (without i686 check).
4204
4205 * sysdeps/i386/elf/Versions: Merge into ...
4206 * sysdeps/i386/Versions: ... this.
4207 * sysdeps/i386/elf/Versions: Delete file.
4208 * sysdeps/i386/elf/start.S: Moved to ...
4209 * sysdeps/i386/start.S: ...here.
4210 * sysdeps/i386/elf/configure.in: Merge into...
4211 * sysdeps/i386/configure.in: ...here.
4212 * sysdeps/i386/elf/configure.in: Delete file.
4213 * sysdeps/i386/elf/configure: Delete file.
4214
4215 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4216 * debug/backtracesyms.c: ... here.
4217 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4218 * debug/backtracesymsfd.c: ... here.
4219 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4220 * sysdeps/generic/ifunc-sel.h: ... here.
4221
4222 * sysdeps/unix/i386/start.c: Delete file.
4223 * sysdeps/unix/sparc/start.c: Delete file.
4224 * sysdeps/unix/start.c: Delete file.
4225
4226 * sysdeps/sh/elf/configure.in: Moved to ...
4227 * sysdeps/sh/configure.in: ... here.
4228 * sysdeps/sh/elf/start.S: Moved to ...
4229 * sysdeps/sh/start.S: ... here.
4230 * sysdeps/sh/elf/configure: Delete file.
4231
4232 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4233 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4234 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4235 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4236 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4237 * sysdeps/powerpc/powerpc64/start.S: here.
4238 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4239 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4240 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4241 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4242 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4243
4244 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4245 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4246 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4247 * sysdeps/powerpc/powerpc32/start.S: ... here.
4248 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4249 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4250 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4251
4252 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4253 * sysdeps/powerpc/ifunc-sel.h: ... here.
4254 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4255 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4256
4257 * sysdeps/sparc/elf/configure.in: Moved to ...
4258 * sysdeps/sparc/configure.in: ... here.
4259 * sysdeps/sparc/elf/configure: Delete file.
4260 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4261 * sysdeps/sparc/sparc32/start.S: ... here.
4262 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4263 * sysdeps/sparc/sparc64/start.S: ... here.
4264 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4265 * sysdeps/sparc/sparc32/Makefile: ... this.
4266 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4267 * sysdeps/sparc/sparc64/Makefile: ... this.
4268
4269 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4270 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4271 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4272 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4273 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4274 * sysdeps/s390/s390-32/setjmp.S: ... here.
4275 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4276 * sysdeps/s390/s390-32/configure.in: ... here.
4277 * sysdeps/s390/s390-32/elf/configure: Delete file.
4278 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4279 * sysdeps/s390/s390-32/start.S: ... here.
4280
4281 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4282 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4283 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4284 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4285 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4286 * sysdeps/s390/s390-64/setjmp.S: ... here.
4287 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4288 * sysdeps/s390/s390-64/configure.in: ... here
4289 * sysdeps/s390/s390-64/elf/configure: Delete file.
4290 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4291 * sysdeps/s390/s390-64/start.S: ... here.
4292 * sysdeps/s390/s390-64/elf/configure: Delete.
4293
4294 * configure.in: Remove support for elf directories in sysdeps.
4295
4296 * configure: Regenerated.
4297 * sysdeps/i386/configure: Regenerated.
4298 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4299 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4300 * sysdeps/s390/s390-32/configure: Regenerated.
4301 * sysdeps/s390/s390-64/configure: Regenerated.
4302 * sysdeps/sh/configure: Regenerated.
4303 * sysdeps/sparc/configure: Regenerated.
4304 * sysdeps/x86_64/configure: Regenerated.
4305
a3f61311
AS
43062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4307
c876e002
AS
4308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4309
a3f61311
AS
4310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4311 denormal result into account.
4312
ac4c54f0
RM
43132012-03-25 Roland McGrath <roland@hack.frob.com>
4314
4315 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4316 Reported by Allan McRae <allan@archlinux.org>.
4317
6a9b9c02
JL
43182012-03-23 Jeff Law <law@redhat.com>
4319
4320 * nss/getnssent.c (__nss_getent): Fix typo.
4321
4c42a0c1
DM
43222012-03-23 David S. Miller <davem@davemloft.net>
4323
4324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4325
1532c7ac
L
43262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4327
4328 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4329 to pad to uint64_t for each field.
4330 (dl_tls_index): Replace unsigned long with uint64_t.
4331
3ff42526
PP
43322012-03-23 Daniel Jacobowitz <dmj@google.com>
4333 Paul Pluzhnikov <ppluzhnikov@google.com>
4334
4335 [BZ #6528]
4336 * grp/Makefile (otherlibs): Don't set it.
4337 * inet/Makefile (otherlibs): Likewise.
4338 * login/Makefile (otherlibs): Likewise.
4339 * nscd/Makefile (otherlibs): Likewise.
4340 * posix/Makefile (otherlibs): Likewise.
4341 * pwd/Makefile (otherlibs): Likewise.
4342 * rt/Makefile (otherlibs): Likewise.
4343 * sunrpc/Makefile (otherlibs): Likewise.
4344 * nss/Makefile (otherlibs): Likewise.
4345 Add libnss_files to routines and static-only-routines.
4346 ($(objpfx)getent): Remove rule.
4347 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4348 static-only-routines.
4349
7c69cd14
JM
43502012-03-22 Joseph Myers <joseph@codesourcery.com>
4351
4352 [BZ #13892]
4353 * math/s_cexp.c: Include <float.h>.
4354 (__cexp): Handle exp result overflowing not necessarily
4355 overflowing both real and imaginary parts of result.
4356 * math/s_cexpf.c: Likewise.
4357 * math/s_cexpl.c: Likewise.
4358 * math/libm-test.inc (cexp_test): Add more tests.
4359 * sysdeps/i386/fpu/libm-test-ulps: Update.
4360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4361
81b035fe
L
43622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4363
4364 * include/link.h (ELFW): New macro.
4365 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4366 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4367
1da7940c
L
43682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4369
4370 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4371 with uint64_t.
4372
b749dbb9
L
43732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4374
4375 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4376 declaration.
4377 (struct La_x32_retval): Likewise.
4378
2ff87f3f
L
43792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4380
4381 * sysdeps/x86_64/preconfigure.in: New file.
4382 * sysdeps/x86_64/preconfigure: New generated file.
4383
c0df8e69
JM
43842012-03-22 Joseph Myers <joseph@codesourcery.com>
4385
48e44791
JM
4386 [BZ #13824]
4387 * math/e_exp2l.c: Include <float.h>.
4388 (__ieee754_exp2l): Handle overflow and underflow cases
4389 separately. Only pass fractional part of argument to
4390 __ieee754_expl.
4391 * math/libm-test.inc (exp2_test): Add more tests.
4392
c0df8e69
JM
4393 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4394 negating x to take absolute value.
4395 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4396 Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4399 Likewise.
4400 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4401 computing low part if x was negated.
4402 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4403
c8e43ba7
L
44042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4405
4406 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4407 la_x32_gnu_pltexit.
4408 (pltexit): Cast int_retval to ptrdiff_t.
4409 * elf/tst-auditmod3b.c: Likewise.
4410 * elf/tst-auditmod4b.c: Likewise.
4411 * elf/tst-auditmod5b.c: Likewise.
4412 * elf/tst-auditmod6b.c: Likewise.
4413 * elf/tst-auditmod6c.c: Likewise.
4414 * elf/tst-auditmod7b.c: Likewise.
4415
4416 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4417 and x32_gnu_pltexit.
4418
4419 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4420 __ELF_NATIVE_CLASS.
4421 (La_x32_regs): New macro.
4422 (La_x32_retval): Likewise.
4423 (la_x32_gnu_pltenter): New function prototype.
4424 (la_x32_gnu_pltexit): Likewise.
4425
7998fa78
AS
44262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4427
dcb33988
AS
4428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4429 exponent.
4430
233fc563
AS
4431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4432
7998fa78
AS
4433 * configure.in (libc_cv_cc_nofma): Check for option to disable
4434 generation of FMA instructions.
4435 * configure: Regenerate.
4436 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4437 * sysdeps/ieee754/dbl-64/Makefile: New file.
4438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4439 Remove brandred-fma4.
4440 (CFLAGS-brandred-fma4.c): Remove.
4441 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4443 define.
4444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4445 define.
4446
8e95c99a
L
44472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4448
4449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4450 LLONG_MAX != LONG_MAX.
4451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4452 (_fitoa_word): Likewise.
4453 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4454 LLONG_MAX != LONG_MAX.
4455 * stdio-common/_itowa.h: Include <_itoa.h>.
4456 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4457 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4458 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4459 only if not defined.
4460 (_ITOA_WORD_TYPE): Likewise.
4461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4462 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4463
6f4db457
DM
44642012-03-21 David S. Miller <davem@davemloft.net>
4465
4466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4467
7785fe5a
L
44682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4469
4470 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4471 of x86_64 when setting libc_cv_slibdir, libdir and
4472 libc_cv_localedir.
4473 * sysdeps/unix/sysv/linux/configure: Regenerated.
4474
4535cd55
JM
44752012-03-21 Joseph Myers <joseph@codesourcery.com>
4476
4477 * manual/lang.texi (Old Varargs): Remove section.
4478 (How Variadic): Update menu.
4479 (va_start): Do not mention varargs.h.
4480
17228132
TS
44812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4482 Joseph Myers <joseph@codesourcery.com>
4483
4484 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4485 link test.
4486 * configure: Regenerated.
4487
8149f976
TS
44882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4489
05f3d1f6
UD
4490 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4491 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4492 conformtest.pl
8149f976 4493
1a4ac776
JM
44942012-03-21 Joseph Myers <joseph@codesourcery.com>
4495
be22ce65
JM
4496 * NOTES: Remove.
4497 * Makefile (files-for-dist): Remove NOTES.
4498 (NOTES): Remove rule.
4499 * README: Don't refer to NOTES.
4500 * manual/creature.texi: Don't include macros.texi.
4501 * manual/intro.texi (creature.texi): Remove comment referring to
4502 NOTES.
4503
40b601fb
JM
4504 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4505 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4506 * configure: Regenerated.
4507 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4508 LIBC_TRY_CC_OPTION.
4509 (libc_cv_as_i686): Likewise.
4510 (libc_cv_cc_avx): Likewise.
4511 (libc_cv_cc_sse2avx): Likewise.
4512 (libc_cv_cc_fma4): Likewise.
4513 (libc_cv_cc_novzeroupper): Likewise.
4514 * sysdeps/i386/configure: Regenerated.
4515
1a4ac776
JM
4516 [BZ #13883]
4517 * sysdeps/i386/fpu/s_cexp.S: Remove.
4518 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4519 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4520 * math/libm-test.inc (cexp_test): Add more tests.
4521 * sysdeps/i386/fpu/libm-test-ulps: Update.
4522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4523
a458e7fe
AM
45242012-03-21 Allan McRae <allan@archlinux.org>
4525
4526 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4527
0cb7efc5
JM
45282012-03-21 Joseph Myers <joseph@codesourcery.com>
4529
4530 [BZ #13871]
4531 * math/w_exp2.c: Do not include <float.h>.
4532 (o_threshold, u_threshold): Remove.
4533 (__exp2): Calculate result before checking finiteness and calling
4534 __kernel_standard.
4535 * math/w_exp2f.c: Likewise.
4536 * math/w_exp2l.c: Likewise.
4537 * math/libm-test.inc (exp2_test): Require overflow exception for
4538 1e6 input.
2460d3aa
JM
4539
4540 [BZ #3866]
4541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4542 range of signed 64-bit integers before using fistpll. Remove
4543 checks for whether integers fit in mantissa bits.
4544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4545 the range of signed 32-bit integers before using fistpl. Remove
4546 checks for whether integers fit in mantissa bits.
4547 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4548 (__ieee754_powl): Test for y outside the range of signed 64-bit
4549 integers before using fistpll. Reduce 64-bit values to 63-bit
4550 ones as needed.
4551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4552 divide-by-zero is raised for zero to large negative powers.
4553 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4554 (__ieee754_powl): Test for y outside the range of signed 64-bit
4555 integers before using fistpll. Reduce 64-bit values to 63-bit
4556 ones as needed.
4557 * math/libm-test.inc (pow_test): Add more tests.
4558
eb96ffb0
L
45592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4560
4561 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4562 <stdio-common/_itoa.h>.
4563 * debug/segfault.c: Likewise.
4564 * elf/dl-cache.c: Likewise.
4565 * elf/dl-minimal.c: Likewise.
4566 * elf/dl-misc.c: Likewise.
4567 * elf/dl-sysdep.c: Likewise.
4568 * elf/dl-version.c: Likewise.
4569 * elf/rtld.c: Likewise.
4570 * hurd/hurdsock.c: Likewise.
4571 * hurd/lookup-retry.c: Likewise.
4572 * malloc/malloc.c: Likewise.
4573 * malloc/mtrace.c: Likewise.
4574 * nscd/nscd_getgr_r.c: Likewise.
4575 * nscd/nscd_getpw_r.c: Likewise.
4576 * nscd/nscd_getserv_r.c: Likewise.
4577 * posix/getopt_init.c: Likewise.
4578 * posix/wordexp.c: Likewise.
4579 * stdio-common/_itoa.c: Likewise.
4580 * stdio-common/printf_fphex.c: Likewise.
4581 * stdio-common/vfprintf.c: Likewise.
4582 * string/_strerror.c: Likewise.
4583 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4584 * sysdeps/i386/i686/hp-timing.h: Likewise.
4585 * sysdeps/mach/_strerror.c: Likewise.
4586 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4587 * sysdeps/mach/hurd/sethostid.c: Likewise.
4588 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4589 * sysdeps/mach/xpg-strerror.c: Likewise.
4590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4591 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4592 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4593 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4594 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4595 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4597 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4598 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4599 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4600 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4601 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4602 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4603 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4604 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4607 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4608 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4609 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4611
4612 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4613
4614 * stdio-common/_itoa.h: Moved to ...
4615 * sysdeps/generic/_itoa.h: Here.
4616
4617 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4618
4619 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4620 instead of "_itoa.h" and "_itowa.h".
4621 * stdio-common/vfprintf.: Likewise.
4622
d1af992d
L
46232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4624
4625 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4626 <bits/wordsize.h>.
4627 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4628 (__signbit): Likwise.
4629 (llrintf): Likwise.
4630 (llrint): Likwise.
4631
114883e0
L
46322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4635 __WORDSIZE != 64.
4636
c135cc1b
JM
46372012-03-20 Joseph Myers <joseph@codesourcery.com>
4638
4639 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4640 OVERFLOW_EXCEPTION_OK.
4641 * math/libm-test.inc ("Philosophy"): Update comment about
4642 exception testing.
4643 (OVERFLOW_EXCEPTION): Define.
4644 (OVERFLOW_EXCEPTION_OK): Likewise.
4645 (INVALID_EXCEPTION_OK): Renumber.
4646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4647 (IGNORE_ZERO_INF_SIGN): Likewise.
4648 (test_exceptions): Handle FE_OVERFLOW.
4649 (exp10_test): Expect overflow exceptions.
4650 (exp2_test): Likewise.
4651 (expm1_test): Likewise.
4652 (nextafter_test): Likewise.
4653 (pow_test): Likewise.
4654 (scalbn_test): Likewise.
4655 (scalbln_test): Likewise.
4656
95443d88
L
46572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 * sysdeps/x86_64/bits/atomic.h
4660 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4661 64bit integer.
4662 (atomic_exchange_acq): Likewise.
4663 (__arch_exchange_and_add_body): Likewise.
4664 (__arch_add_body): Likewise.
4665 (atomic_add_negative): Likewise.
4666 (atomic_add_zero): Likewise.
4667
490df6c4
L
46682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4669
c2722551 4670 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4671 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4672
5e52b189
L
46732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4674
4675 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4676 Check __x86_64__ instead of __WORDSIZE.
4677
a9879d4c
L
46782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4679
4680 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4681
5df98260
DM
46822012-03-19 David S. Miller <davem@davemloft.net>
4683
e1497744
DM
4684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4685
5df98260
DM
4686 * sysdeps/sparc/fpu/fenv_private.h: New file.
4687 * sysdeps/sparc/fpu/math_private.h: Use it.
4688 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4689 Remove.
4690 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4691 (libc_feholdexcept_setroundl): Remove.
4692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4693 Remove.
4694 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4695 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4696
b4c35121
L
46972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4700 int64_t instead of long int.
4701 (INSERT_WORDS64): Likwise.
4702
56965fd7
L
47032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4704
4705 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4706 _Unwind_GetCFA return to _Unwind_Ptr first.
4707
83d1aec8
JM
47082012-03-19 Joseph Myers <joseph@codesourcery.com>
4709
1897ad44
JM
4710 [BZ #13629]
4711 * math/s_clog.c: Include <float.h>.
4712 (__clog): Scale large or subnormal inputs.
4713 * math/s_clogf.c: Likewise.
4714 * math/s_clogl.c: Likewise.
4715 * math/s_clog10.c: Include <float.h>.
4716 (M_LOG10_2): Define.
4717 (__clog10): Scale large or subnormal inputs.
4718 * math/s_clog10f.c: Likewise.
4719 * math/s_clog10l.c: Likewise.
4720 * math/libm-test.inc (clog_test): Add more tests.
4721 (clog10_test): Likewise.
4722 * sysdeps/i386/fpu/libm-test-ulps: Update.
4723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4724
7726d6a9
JM
4725 [BZ #11451]
4726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4727 x and y.
4728 * math/libm-test.inc (atan2_test): Add another test.
4729
83d1aec8
JM
4730 * Makerules (common-objdir-compile): Remove.
4731 * sysdeps/unix/Makefile (config-generated): Do not add
4732 $(unix-generated) to variable.
4733 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4734 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4735 Remove rule.
4736 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4737 Likewise.
4738 [generic bits/local_lim.h] (before-compile): Do not append to
4739 variable.
4740 [generic bits/local_lim.h] (common-generated): Likewise.
4741 [generic sys/param.h] (before-compile): Do not append to variable.
4742 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4743 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4744 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4745 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4746 include.
4747 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4748 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4749 [generic sys/param.h] ($(addprefix
4750 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4751 [generic sys/param.h] (common-generated): Do not append to
4752 variable.
4753 [generic sys/param.h] (sysdep_headers): Likewise.
4754 [generic bits/errno.h] (before-compile): Do not append to
4755 variable.
4756 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4757 rule.
4758 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4759 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4760 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4761 [generic bits/errno.h] (common-generated): Do not append to
4762 variable.
4763 [generic bits/ioctls.h] (before-compile): Do not append to
4764 variable.
4765 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4766 rule.
4767 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4768 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4769 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4770 rule.
4771 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4772 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4773 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4774 [generic bits/ioctls.h] (common-generated): Do not append to
4775 variable.
4776 [generic sys/syscall.h] (syscall.h): Remove variable.
4777 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4778 rule.
4779 [generic sys/syscall.h] (before-compile): Do not append to
4780 variable.
4781 [generic sys/syscall.h] (common-generated): Likewise.
4782 * sysdeps/unix/errnos-tmpl.c: Remove file.
4783 * sysdeps/unix/errnos.awk: Likewise.
4784 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4785 * sysdeps/unix/ioctls.awk: Likewise.
4786 * sysdeps/unix/mk-local_lim.c: Likewise.
4787 * sysdeps/unix/snarf-ioctls: Likewise.
4788
4851a949
RH
47892012-03-19 Richard Henderson <rth@twiddle.net>
4790
bd37f2ee
RH
4791 * sysdeps/i386/fpu/fenv_private.h: New file.
4792 * sysdeps/i386/fpu/math_private.h: Use it.
4793 (math_opt_barrier, math_force_eval): Remove.
4794 (libc_feholdexcept_setround_53bit): Remove.
4795 (libc_feupdateenv_53bit): Remove.
4796 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4797 (math_opt_barrier, math_force_eval): Remove.
4798 (libc_feholdexcept): Remove.
4799 (libc_feholdexcept_setround): Remove.
4800 (libc_fetestexcept, libc_fesetenv): Remove.
4801 (libc_feupdateenv_test): Remove.
4802 (libc_feupdateenv, libc_feholdsetround): Remove.
4803 (libc_feresetround): Remove.
4804
d0adc922
RH
4805 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4806 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4807
0fe0f1f8
RH
4808 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4809 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4810 (libc_feupdateenv_testl): New.
4811 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4812 (libc_feupdateenv_testf): New.
4813 (libc_feupdateenv): Use libc_feupdateenv_test.
4814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4815 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4816
eb92c487
RH
4817 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4818 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4819 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4820 (libc_feresetround_noex): New.
4821 (libc_feresetround_noexf): New.
4822 (libc_feresetround_noexl): New.
4823 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4824 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4825 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4826 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4827 SET_RESTORE_ROUND.
4828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4830 (__cos): Likewise.
4831 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4833 SET_RESTORE_ROUND_NOEX.
4834 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4835 SET_RESTORE_ROUND_NOEXF.
4836 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4837 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4838 (libc_feholdsetroundf): New.
4839 (libc_feresetround, libc_feresetroundf): New.
4840
7d2e8012
RH
4841 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4842 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4843 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4844
b4dabbb4
RH
4845 * sysdeps/generic/math_private.h: Include <fenv.h>.
4846 (default_libc_feholdexcept): New.
4847 (default_libc_feholdexcept_setround): New.
4848 (default_libc_fesetenv, default_libc_feupdateenv): New.
4849 (libc_feholdexcept): Only define if undefined.
4850 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4851 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4852 (libc_feholdexcept_setroundl): Likewise.
4853 (libc_feholdexcept_setround_53bit): Likewise.
4854 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4855 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4856 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4857 (libc_feupdateenv_53bit): Likewise.
4858 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4859 (libc_feholdexcept): Convert from macro to inline function.
4860 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4861 (libc_fesetenv, libc_feupdateenv): Likewise.
4862
4851a949
RH
4863 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4864 not previously defined.
4865 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4866 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4867 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4868 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4869 * sysdeps/ieee754/flt-32/math_private.h: New file.
4870 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4871 math_private.h below SET_FLOAT_WORD.
4872 (__isnan, __isinf_ns, __finite): Remove.
4873 (__isnanf, __isinf_nsf, __finitef): Remove.
4874
e79d442e
AS
48752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4876
4877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4878
90b80344
DM
48792012-03-17 David S. Miller <davem@davemloft.net>
4880
4881 [BZ #6471]
4882 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4883 for 2.16.
4884
edc21804
DM
48852012-03-16 David S. Miller <davem@davemloft.net>
4886
77e927af
DM
4887 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4888 warnings.
4889
374976dd
DM
4890 [BZ #6471]
4891 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4892 properly.
4893 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4894 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4895 sysdep_routines when subdir is sysvipc.
4896 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4897 __getshmlba helper.
4898
edc21804
DM
4899 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4900
473c3ef3
L
49012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4902
4903 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4904 [__LP64__].
4905
eb0f39b6
L
49062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4907
4908 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4909 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4910 (__lround): Renamed to ...
4911 (__llround): This. Replace long int with long long int.
4912 Define lround functions as aliases of llround functions.
4913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4914
6b6cd74b
L
49152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4918 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4919 adresses to uintptr_t. Replace "long int" and "unsigned long
4920 int" with "greg_t" on va_arg.
4921
f1a77b01
L
49222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4923
4924 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4925 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4926
4927 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4928 Move e_machine check before EI_CLASS check. Handle x32
4929 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4930 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4931 SKIP_EM_IA_64 and include
4932 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4933
4934 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4935 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4936 (add_system_dir): New macro.
4937
4938 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4939 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4940
11b90b9f
JM
49412012-03-16 Joseph Myers <joseph@codesourcery.com>
4942
c36e1d23
JM
4943 [BZ #2551]
4944 [BZ #2552]
4945 [BZ #2553]
4946 [BZ #2554]
4947 [BZ #2562]
4948 [BZ #2563]
4949 [BZ #2565]
4950 [BZ #2566]
4951 [BZ #2576]
4952 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4953 (y0): Likewise.
4954 * math/w_j0f.c (j0f): Likewise.
4955 (y0f): Likewise.
4956 * math/w_j0l.c (__j0l): Likewise.
4957 (__y0l): Likewise.
4958 * math/w_j1.c (j1): Likewise.
4959 (y1): Likewise.
4960 * math/w_j1f.c (j1f): Likewise.
4961 (y1f): Likewise.
4962 * math/w_j1l.c (__j1l): Likewise.
4963 (__y1l): Likewise.
4964 * math/w_jn.c (jn): Likewise.
4965 (yn): Likewise.
4966 * math/w_jnf.c (jnf): Likewise.
4967 (ynf): Likewise.
4968 * math/w_jnl.c (__jnl): Likewise.
4969 (__ynl): Likewise.
4970 * math/libm-test.inc (j0_test): Add more tests.
4971 (j1_test): Likewise.
4972 (jn_test): Likewise. Add trailing semicolon to existing test.
4973 (y0_test): Likewise.
4974 (y1_test): Likewise.
4975 * sysdeps/i386/fpu/libm-test-ulps: Update.
4976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4977
11b90b9f
JM
4978 [BZ #13851]
4979 [BZ #13854]
4980 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4981 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4982 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4983 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4984 (__tanl): Set errno for infinite argument.
4985 * sysdeps/i386/fpu/mptan.c: Remove.
4986 * sysdeps/i386/fpu/s_tan.S: Likewise.
4987 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4988 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4989 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4990 * math/libm-test.inc (tan_test): Add more tests and enable more
4991 tests for double and long double.
4992 * sysdeps/i386/fpu/libm-test-ulps: Update.
4993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994
6a1bd2a1
JK
49952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4996
4997 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4998 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4999
10a803e0
RM
50002012-03-16 Roland McGrath <roland@hack.frob.com>
5001
5002 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5003 * configure.in: Use it for both main tree and add-ons.
5004 * configure: Regenerated.
5005
f196c7f7
L
50062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5007
5008 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5009
8848d99d
JM
50102012-03-16 Joseph Myers <joseph@codesourcery.com>
5011
96cbe7f4
JM
5012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5013 in comment.
5014
8848d99d
JM
5015 [BZ #13851]
5016 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5017 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5020 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5021 infinite argument.
5022 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5024 != 0 for prec == 2.
5025 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5026 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5027 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5028 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5029 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5030 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5031 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5032 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5033 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5034 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5035 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5036 * math/libm-test.inc (cos_test): Add more tests and enable more
5037 tests for long double.
5038 (sin_test): Likewise.
5039 (sincos_test): Likewise.
5040 * sysdeps/i386/fpu/libm-test-ulps: Update.
5041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5042
dd7f4703
DM
50432012-03-16 David S. Miller <davem@davemloft.net>
5044
5045 * sysdeps/sparc/fpu/math_private.h: New file.
5046
006f1daa
DM
50472012-03-15 David S. Miller <davem@davemloft.net>
5048
c0c83bc8
DM
5049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5050 file.
e6a62e18 5051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5053 file.
e6a62e18
DM
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5060 sysdep routines.
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5062
88cb87d9
DM
5063 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5064 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5065
006f1daa 5066 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5068 sparc-ifunc.h
006f1daa 5069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5071 Likewise.
5072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5073 Likewise.
006f1daa
DM
5074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5078 Likewise.
006f1daa
DM
5079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5084 Likewise.
5085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5086 Likewise.
006f1daa
DM
5087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5111
11e0098e
AS
51122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5113
5114 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5115 scaling.
5116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5117
e85b09d0
AJ
51182012-03-15 Andreas Jaeger <aj@suse.de>
5119
5120 [BZ #13852]
5121 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5122 ieee754/flt-32 implementation for sin, cos and sincos.
5123 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5124 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5125 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5126 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5127 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5128 ieee754/flt-32 implementation for tan.
5129
5130 * math/libm-test.inc (cos_test): Enable some large input tests for
5131 float as well
5132 (sin_test): Likewise.
5133 (sincos_test): Likewise.
5134 (tan_test): Add tests for large input.
5135
5136 * sysdeps/i386/fpu/libm-test-ulps: Update.
5137
81c64153
AJ
51382012-03-15 Andreas Jaeger <aj@suse.de>
5139
5140 [BZ #13658]
5141 * math/libm-test.inc (cos_test): Add more test cases.
5142 (sin_test): Likewise.
5143 (sincos_test): Likewise.
5144
7bbfa5c6
AJ
51452012-03-15 Andreas Jaeger <aj@suse.de>
5146
5147 [BZ #13837]
5148 * math/libm-test.inc (cos_test): Add a test case for large input
5149 value.
5150 (sin_test): Likewise.
5151 (sincos_test): Likewise.
5152
51532012-03-15 Andreas Jaeger <aj@suse.de>,
5154 Joseph Myers <joseph@codesourcery.com>
5155
5156 [BZ #13658]
0671f479 5157 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5158 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5159 * sysdeps/i386/fpu/branred.c: Likewise.
5160 * sysdeps/i386/fpu/dosincos.c: Likewise.
5161 * sysdeps/i386/fpu/mpa.c: Likewise.
5162 * sysdeps/i386/fpu/s_cos.S: Likewise.
5163 * sysdeps/i386/fpu/s_sin.S: Likewise.
5164 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5165 * sysdeps/i386/fpu/sincos32.c: Likewise.
5166
5167 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5168 Define.
5169 (libc_feupdateenv_53bit): Define.
5170 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5171 Define.
5172 (libc_feupdateenv_53bit): Define.
5173
5174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5175 53 bit (without extend i386 double precision).
5176
5177 * math/libm-test.inc (sincos_test): Add tests for large input.
5178 (sin): Likewise.
5179 (cos): Likewise.
5180
5181 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5182
9cad04ea
AS
51832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5184
5185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5186
f7062b9a
DM
51872012-03-15 David S. Miller <davem@davemloft.net>
5188
5189 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5190 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5191 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5192 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5205 file.
f7062b9a 5206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5208 file.
f7062b9a 5209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5211 file.
f7062b9a 5212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5214 file.
f7062b9a
DM
5215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5217 fmin/fmax sysdep routines.
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5219
7bd951ff
DM
52202012-03-14 David S. Miller <davem@davemloft.net>
5221
559398ab
DM
5222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5251 routines.
5252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5253 file.
559398ab 5254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5256 file.
559398ab 5257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5259 file.
559398ab 5260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5262 file.
559398ab 5263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5265 file.
559398ab 5266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5268 file.
5269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5270 file.
5271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5272 file.
5273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5274 file.
5275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5276 New file.
5277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5278 file.
5279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5280 file.
559398ab 5281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5283 file.
559398ab 5284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5286 file.
559398ab 5287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5289 file.
559398ab 5290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5292 VIS3 routines.
559398ab
DM
5293
5294 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5295 New file.
5296
5a1c1e32
DM
5297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5298
eae47a36
DM
5299 * sysdeps/sparc/configure.in: New file.
5300 * sysdeps/sparc/configure: Generate.
5301 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5302 * configure: Regenerate.
5303 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5304 * config.make.in (have-as-vis3): New.
5305 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5306 available use -Av9d instead of -Av9a.
5307 * sysdeps/sparc/sparc64/Makefile: Likewise.
5308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5310 New file.
5311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5312 file.
5313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5314 New file.
5315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5316 file.
eae47a36
DM
5317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5322
c0c83bc8
DM
5323 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5324 fzeros/fnegs to load 0x80000000 into a float register instead of
5325 using the stack.
7bd951ff
DM
5326 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5327
bd951ccb
JM
53282012-03-14 Joseph Myers <joseph@codesourcery.com>
5329
5330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5331 bits/syscall.h.
5332 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5333 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5334 ($(inst_includedir)/bits/syscall.h): Remove rule.
5335 ($(objpfx)bits/syscall.d): Include instead of
5336 $(objpfx)syscall-list.d.
5337 (generated): Change syscall-list.h and syscall-list.d to
5338 bits/syscall.h and bits/syscall.d.
5339
bb4e6db2
RM
53402012-03-14 Roland McGrath <roland@hack.frob.com>
5341
5342 [BZ #13846]
5343 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5344
aa4a2ae1
JM
53452012-03-14 Joseph Myers <joseph@codesourcery.com>
5346
e456826d
JM
5347 [BZ #13841]
5348 * math/s_csqrt.c: Include <float.h>.
5349 (__csqrt): Scale large or subnormal inputs.
5350 * math/s_csqrtf.c: Likewise.
5351 * math/s_csqrtl.c: Likewise.
5352 * math/libm-test.inc (csqrt_test): Add more tests.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355
aa4a2ae1
JM
5356 [BZ #13840]
5357 * math/libm-test.inc (hypot_test): Add more tests.
5358
7c10fd35
DM
53592012-03-13 David S. Miller <davem@davemloft.net>
5360
5361 [BZ #13840]
5362 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5363 double-precision for the calculation instead of scaling.
5364
f453b98b
JM
53652012-03-13 Joseph Myers <joseph@codesourcery.com>
5366
5367 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5368 manipulate bits before adding and subtracting TWO52[sx].
5369 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5371 Likewise.
5372 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5373
09a3453f
DM
53742012-03-13 David S. Miller <davem@davemloft.net>
5375
8e59da90
DM
5376 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5377 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5379 rtld-global-offsets.h
5380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5381
2a8ab7f2
DM
5382 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5383 large parameters.
5384
10f62770
DM
5385 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5386
5f0bdb18
DM
5387 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5388 'err' in the ifdef scope in which it is actually used.
5389
09a3453f
DM
5390 * nss/nss_db/db-init.c: Include string.h
5391
b4b2eb5e
DM
53922012-03-12 David S. Miller <davem@davemloft.net>
5393
98bb2f1c
DM
5394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5395 masking out of the most significant byte of random value used.
5396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5397 Fix coding style in previous change.
5398
b4b2eb5e
DM
5399 * sysdeps/unix/sysv/linux/kernel-features.h
5400 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5401 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5402 expression.
5403 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5404 later.
5405
6e226b09
DM
54062012-03-11 David S. Miller <davem@davemloft.net>
5407
a1bcbd40
DM
5408 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5409 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5411 for 'resultvar' otherwise things get truncated on 64-bit.
5412
cb9d6174
DM
5413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5414 Fix masking out of the most significant byte of random value used.
5415
6e226b09
DM
5416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5417
058c132d
AS
54182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5419
5420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5421
2d2cd515
DM
54222012-03-09 David S. Miller <davem@davemloft.net>
5423
5424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5425 variables with appropriate CPP guards.
5426 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5427 frame pointer, not the stack pointer. Correct layout comments. Fix test
5428 on resulting framesize and the management of the outregs buffer for pltexit.
5429 Preserve floating point return values across _dl_call_pltexit call.
5430 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5431 framesize and the management of the outregs buffer for pltexit.
5432 Preserve floating point return values across _dl_call_pltexit
5433 call.
5434 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5435 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5436 (print_exit): Fix format string for return register value.
5437
9a07f9d0
JM
54382012-03-10 Joseph Myers <joseph@codesourcery.com>
5439
5440 * sunrpc/Makefile (others): Add rpcgen.
5441 ($(objpfx)rpcgen): Remove special build rule and dependency on
5442 libc.
5443 * sunrpc/rpcgen.c: New file.
5444
547b5e30
PE
54452012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5446
c524201a
PE
5447 [BZ #13673]
5448 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5449 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5450 * sysdeps/i386/crti.S: Likewise.
5451 * sysdeps/i386/crtn.S: Likewise.
5452 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5453 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5455 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5456 * sysdeps/sh/crti.S: Likewise.
5457 * sysdeps/sh/crtn.S: Likewise.
5458 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5459
7b6235f2
PE
5460 [BZ #13673]
5461 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5462 with URL.
5463 * locale/programs/locfile-kw.gperf: Likewise.
5464 * locale/programs/charmap-kw.h: Regenerated.
5465 * locale/programs/locfile-kw.h: Likewise.
5466
547b5e30
PE
5467 [BZ #13673]
5468 * intl/plural.y: Replace FSF snail mail address with URL.
5469 * intl/plural.c: Regenerated.
5470
5f0a5dae
RH
54712012-03-09 Richard Henderson <rth@twiddle.net>
5472
5473 * include/math_private.h: Remove file.
5474 * math/math_private.h: Move file ...
5475 * sysdeps/generic/math_private.h: ... here.
5476
b8c03620
RH
5477 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5478 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5479 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5480
4e234f5d 5481 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5482 and <math_private.h>.
5483 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5484 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5485 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5486 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5487 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5571 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5572 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5573 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5574 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5576 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5577 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5578 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5580 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5581 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5583 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5584 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5585 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5586 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5587 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5588 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5589 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5590 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5591 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5593 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5594 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5595 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5596 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5597 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5598 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5599 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5600 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5601 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5604 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5606 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5607 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5608 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5609 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5611 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5612 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5613 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5614 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5615 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5616 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5617 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5618 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5619 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5620 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5621 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5622 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5624 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5625 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5626 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5627 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5628 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5629 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5630 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5631 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5632 * sysdeps/ieee754/k_standard.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5694 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5765 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5781 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5782 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5783 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5793 * sysdeps/ieee754/s_lib_version.c: Likewise.
5794 * sysdeps/ieee754/s_matherr.c: Likewise.
5795 * sysdeps/ieee754/s_signgam.c: Likewise.
5796 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5797 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5798 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5799 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5800 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5801 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5802 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5803 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5804 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5805 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5806 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5807 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5808 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5809 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5810 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5811 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5812 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5817
1991fa03
JM
58182012-03-09 Joseph Myers <joseph@codesourcery.com>
5819
5820 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5821 * sunrpc/rpc_main.c: Likewise.
5822 * sunrpc/rpc_svcout.c: Likewise.
5823
60d6f5a6
DM
58242012-03-09 David S. Miller <davem@davemloft.net>
5825
5826 * include/math_private.h: New file.
5827
4962050e
JM
58282012-03-09 Joseph Myers <joseph@codesourcery.com>
5829
02a6f887
JM
5830 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5831 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5832 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5833 from <bits/socket_type.h>.
5834 (enum __socket_type): Don't define here.
5835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5837 bits/socket_type.h.
5838
c6e013c1
JM
5839 [BZ #13566]
5840 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5841 checking __USE_GNU.
5842
4962050e
JM
5843 * Makerules ($(inst_includedir)/%.h): New rule.
5844 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5845 (install-others): Remove variable setting.
5846 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5847
38842f45
RH
58482012-03-08 Richard Henderson <rth@twiddle.net>
5849
67bb6da6
RH
5850 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5851 from macro to inline function; merge with the
5852 !__LIBC_INTERNAL_MATH_INLINES version.
5853 (__ieee754_sqrtf): Likewise.
5854
15194b4b
RH
5855 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5856 to inline function.
5857 (__rintf, __floor, __floorf): Likewise.
5858
64e21ede
RH
5859 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5860 macro to inline function.
5861 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5862
38842f45
RH
5863 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5864 not <math/math_private.h>.
5865
c64bf5fe
DM
58662012-03-08 David S. Miller <davem@davemloft.net>
5867
5868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5869 copyright year.
5870 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5871
82d86f28
TS
58722012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5873
5874 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5875 normalization.
5876 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5877 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5878
aea5d727
UD
58792012-03-08 Ulrich Drepper <drepper@gmail.com>
5880
5881 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5882 be defined individually, they must be defined as a block. Define
5883 S for printing a string instead of hidint the different by using a
5884 macro for adding the 'l'.
5885 * stdio-common/tst-fphex-wide.c: Adjust.
5886
70bca0a3
MP
58872012-03-07 Marek Polacek <polacek@redhat.com>
5888
5889 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5890
65b81130
MP
58912012-03-08 Marek Polacek <polacek@redhat.com>
5892
5893 [BZ #13806]
5894 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5895 * stdio-common/tst-fphex.c: Define a few macros to make the
5896 test reusable. Use them.
5897 * stdio-common/tst-fphex-wide.c: New file.
5898
07037eeb
JM
58992012-03-08 Joseph Myers <joseph@codesourcery.com>
5900
a7a93d50
JM
5901 [BZ #6911]
5902 * manual/macros.texi (gnusystems): New macro.
5903 (nongnusystems): Likewise.
5904 (gnulinuxhurdsystems): Likewise.
5905 (gnuhurdsystems): Likewise..
5906 (gnulinuxsystems): Likewise.
5907 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5908 variants of the GNU system, not "GNU system".
5909 * manual/conf.texi: Likewise.
5910 * manual/errno.texi: Likewise. Update example of errno macro
5911 expansion.
5912 * manual/filesys.texi: Likewise.
5913 (getumask): Document as specific to GNU/Hurd.
5914 * manual/install.texi: Likewise. Reword some references to
5915 GNU/Linux.
5916 * manual/intro.texi: Likewise.
5917 * manual/io.texi: Likewise.
5918 (File Name Portability): Detail which constraints are inapplicable
5919 to all GNU systems and which are only inapplicable to GNU/Hurd.
5920 * manual/job.texi: Likewise.
5921 * manual/llio.texi: Likewise.
5922 (O_NOCTTY): Document as present on GNU/Linux.
5923 * manual/maint.texi: Likewise.
5924 * manual/memory.texi: Likewise.
5925 * manual/pattern.texi: Likewise.
5926 * manual/pipe.texi: Likewise.
5927 * manual/process.texi: Likewise.
5928 * manual/resource.texi: Likewise.
5929 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5930 child on GNU/Hurd.
5931 * manual/setjmp.texi: Likewise.
5932 * manual/signal.texi: Likewise.
5933 * manual/startup.texi: Likewise.
5934 * manual/stdio.texi: Likewise.
5935 * manual/terminal.texi: Likewise.
5936 (ONLCR): Document as POSIX.
5937 (OXTABS): Document availability on GNU/Linux as XTABS.
5938 (ONOEOT): Document availability separately from other bits.
5939 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5940 * manual/time.texi: Likewise.
5941 * manual/users.texi: Likewise.
5942 * INSTALL: Regenerated.
5943 * sysdeps/gnu/errlist.c: Regenerated.
5944
07037eeb
JM
5945 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5946 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5947 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5948 puts.
5949 * configure: Regenerated.
5950
d1d3431a
JM
59512012-03-07 Joseph Myers <joseph@codesourcery.com>
5952
af6a1e37
JM
5953 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5954 default includes instead of AC_HEADER_CHECK.
5955 * sysdeps/i386/configure: Regenerated.
5956
d1d3431a
JM
5957 [BZ #10716]
5958 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5959 * math/s_cacoshf.c (__cacoshf): Likewise.
5960 * math/s_cacoshl.c (__cacoshl): Likewise.
5961 * math/s_casinh.c (__casinh): Set signs of result from argument.
5962 * math/s_casinhf.c (__casinhf): Likewise.
5963 * math/s_casinhl.c (__casinhl): Likewise.
5964 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5965 (casinh_test): Add more tests.
5966 * sysdeps/i386/fpu/libm-test-ulps: Update.
5967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5968
482ff4da
UD
59692012-03-07 Ulrich Drepper <drepper@gmail.com>
5970
872fda05
UD
5971 * po/zh_TW.po: Update from translation team.
5972
a4300c7a
UD
5973 * login/Makefile (distribute): Remove variable.
5974 * catgets/Makefile: Likewise.
5975 * mach/Makefile: Likewise.
5976 * malloc/Makefile: Likewise.
5977 * misc/Makefile: Likewise.
5978 * iconv/Makefile: Likewise.
5979 * nscd/Makefile: Likewise.
5980 * hurd/Makefile: Likewise.
5981 * manual/Makefile: Likewise.
5982 * locale/Makefile: Likewise.
5983 * intl/Makefile: Likewise.
5984 * conform/Makefile: Likewise.
5985 * nss/Makefile: Likewise.
5986 * time/Makefile: Likewise.
5987 * soft-fp/Makefile: Likewise.
5988 * dirent/Makefile: Likewise.
5989 * gmon/Makefile: Likewise.
5990 * po/Makefile: Likewise.
5991 * rt/Makefile: Likewise.
5992 * socket/Makefile: Likewise.
5993 * math/Makefile: Likewise.
5994 * signal/Makefile: Likewise.
5995 * debug/Makefile: Likewise.
5996 * elf/Makefile: Likewise.
5997 * timezone/Makefile: Likewise.
5998 * stdlib/Makefile: Likewise.
5999 * iconvdata/Makefile: Likewise.
6000 * sunrpc/Makefile: Likewise.
6001 * io/Makefile: Likewise.
6002 * argp/Makefile: Likewise.
6003 * inet/Makefile: Likewise.
6004 * hesiod/Makefile: Likewise.
6005 * grp/Makefile: Likewise.
6006 * csu/Makefile: Likewise.
6007 * wctype/Makefile: Likewise.
6008 * crypt/Makefile: Likewise.
6009 * libio/Makefile: Likewise.
6010 * string/Makefile: Likewise.
6011 * nis/Makefile: Likewise.
6012 * resolv/Makefile: Likewise.
6013 * stdio-common/Makefile: Likewise.
6014 * wcsmbs/Makefile: Likewise.
6015 * dlfcn/Makefile: Likewise.
6016 * posix/Makefile: Likewise.
6017
3b7c4e74 6018 [BZ #6959]
482ff4da
UD
6019 * timezone/Makefile: Don't install timezone files, just the programs
6020 and scripts.
6021
f72ed77d
UD
60222012-03-06 Ulrich Drepper <drepper@gmail.com>
6023
a000466f
UD
6024 * nss/databases.def: Add missing gshadow entry.
6025
f72ed77d
UD
6026 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6027
a53b7a4e
MP
60282012-03-06 Marek Polacek <polacek@redhat.com>
6029
6030 [BZ #13726]
6031 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6032 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6033 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6034 * stdio-common/tst-long-dbl-fphex.c: New file.
6035
e9258400
DM
60362012-03-06 David S. Miller <davem@davemloft.net>
6037
6038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6039 (set_obp_int): New function.
6040 (get_obp_int): New function.
6041 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6043 Avoid unused variable warnings on 'val' and use builtin_expect.
6044 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6045 __builtin_expect.
e9258400
DM
6046 (INLINE_CLONE_SYSCALL): Likewise.
6047
3bd2c723
DM
60482012-03-05 David S. Miller <davem@davemloft.net>
6049
6050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6051
bbb78d03
AS
60522012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6053
884c5db4
AS
6054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6055
bbb78d03
AS
6056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6057 only for |x| >= 40.
6058 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6059
1c9f702a 60602012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6061
6062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6063 Replace gettimeofday with __vdso_gettimeofday.
6064
7be16f82
RM
6065 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6066 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6067 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6068
6069 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6070 time with __vdso_time.
6071
ed58a00f
JM
60722012-03-05 Joseph Myers <joseph@codesourcery.com>
6073
6074 * manual/lang.texi (size_t): Note types to which size_t may be
6075 equivalent with the GNU C Library, but do not describe when
6076 differences between them are significant.
6077
30ee4ced
AJ
60782012-03-05 Andreas Jaeger <aj@suse.de>
6079
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081
b7cd39e8
JM
60822012-03-05 Joseph Myers <joseph@codesourcery.com>
6083
6084 [BZ #3976]
6085 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6086 (__ieee754_pow): Save and restore rounding mode and use
6087 round-to-nearest for main computations.
6088 * math/libm-test.inc (pow_test_tonearest): New function.
6089 (pow_test_towardzero): Likewise.
6090 (pow_test_downward): Likewise.
6091 (pow_test_upward): Likewise.
6092 (main): Call the new functions.
6093 * sysdeps/i386/fpu/libm-test-ulps: Update.
6094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6095
6096 [BZ #3976]
6097 * math/libm-test.inc (cosh_test_tonearest): New function.
6098 (cosh_test_towardzero): Likewise.
6099 (cosh_test_downward): Likewise.
6100 (cosh_test_upward): Likewise.
6101 (sinh_test_tonearest): Likewise.
6102 (sinh_test_towardzero): Likewise.
6103 (sinh_test_downward): Likewise.
6104 (sinh_test_upward): Likewise.
6105 (main): Call the new functions.
6106 * sysdeps/i386/fpu/libm-test-ulps: Update.
6107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6108
6c6a98c9
TV
61092012-03-05 Tom de Vries <tom@codesourcery.com>
6110
6111 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6112 default stack guard is set in last bytes.
6113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6114
21bb2d2e 61152012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6116
21bb2d2e 6117 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6118
21bb2d2e
AJ
6119 [BZ #13656]
6120 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6121 possibly allocate from heap instead of stack.
6122 * stdio-common/bug-vfprintf-nargs.c: New file.
6123 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6124
c6922934
AS
61252012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6126
6127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6128
bc957d53
MP
61292012-03-03 Marek Polacek <polacek@redhat.com>
6130
6131 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6132 * math/math_private.h: Likewise.
6133 * stdlib/tst-strtod.c: Likewise.
6134 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6135 * sysdeps/x86_64/bits/atomic.h: Likewise.
6136
6358490d
DM
61372012-03-02 David S. Miller <davem@davemloft.net>
6138
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6143 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6144 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6145 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6146 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6147
01ae168d
RM
61482012-03-02 Roland McGrath <roland@hack.frob.com>
6149
d9a17c07
RM
6150 [BZ #13792]
6151 * manual/examples/README: New file, says the example source files
6152 can be used under GPL>=2.
6153 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6154 line containing just "*/".
6155 * manual/examples/add.c: Add copyright header (GPL>=2).
6156 * manual/examples/argp-ex1.c: Likewise.
6157 * manual/examples/argp-ex2.c: Likewise.
6158 * manual/examples/argp-ex3.c: Likewise.
6159 * manual/examples/argp-ex4.c: Likewise.
6160 * manual/examples/atexit.c: Likewise.
6161 * manual/examples/db.c: Likewise.
6162 * manual/examples/dir.c: Likewise.
6163 * manual/examples/dir2.c: Likewise.
6164 * manual/examples/execinfo.c: Likewise.
6165 * manual/examples/filecli.c: Likewise.
6166 * manual/examples/filesrv.c: Likewise.
6167 * manual/examples/fmtmsgexpl.c: Likewise.
6168 * manual/examples/genpass.c: Likewise.
6169 * manual/examples/inetcli.c: Likewise.
6170 * manual/examples/inetsrv.c: Likewise.
6171 * manual/examples/isockad.c: Likewise.
6172 * manual/examples/longopt.c: Likewise.
6173 * manual/examples/memopen.c: Likewise.
6174 * manual/examples/memstrm.c: Likewise.
6175 * manual/examples/mkfsock.c: Likewise.
6176 * manual/examples/mkisock.c: Likewise.
6177 * manual/examples/mygetpass.c: Likewise.
6178 * manual/examples/pipe.c: Likewise.
6179 * manual/examples/popen.c: Likewise.
6180 * manual/examples/rprintf.c: Likewise.
6181 * manual/examples/search.c: Likewise.
6182 * manual/examples/select.c: Likewise.
6183 * manual/examples/setjmp.c: Likewise.
6184 * manual/examples/sigh1.c: Likewise.
6185 * manual/examples/sigusr.c: Likewise.
6186 * manual/examples/stpcpy.c: Likewise.
6187 * manual/examples/strdupa.c: Likewise.
6188 * manual/examples/strftim.c: Likewise.
6189 * manual/examples/strncat.c: Likewise.
6190 * manual/examples/subopt.c: Likewise.
6191 * manual/examples/swapcontext.c: Likewise.
6192 * manual/examples/termios.c: Likewise.
6193 * manual/examples/testopt.c: Likewise.
6194 * manual/examples/testpass.c: Likewise.
6195 * manual/examples/timeval_subtract.c: Likewise.
6196
01ae168d
RM
6197 [BZ #13792]
6198 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6199 function to ...
6200 * manual/timeval_subtract.c.texi: ... here, new file.
6201
49efa33d
DM
62022012-03-02 David S. Miller <davem@davemloft.net>
6203
6204 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6205
28afd92d
JM
62062012-03-02 Joseph Myers <joseph@codesourcery.com>
6207
804360ed
JM
6208 [BZ #3976]
6209 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6210 (__sin): Save and restore rounding mode and use round-to-nearest
6211 for all computations.
6212 (__cos): Save and restore rounding mode and use round-to-nearest
6213 for all computations.
6214 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6215 <fenv.h>.
6216 (tan): Save and restore rounding mode and use round-to-nearest for
6217 all computations.
6218 * math/libm-test.inc (cos_test_tonearest): New function.
6219 (cos_test_towardzero): Likewise.
6220 (cos_test_downward): Likewise.
6221 (cos_test_upward): Likewise.
6222 (sin_test_tonearest): Likewise.
6223 (sin_test_towardzero): Likewise.
6224 (sin_test_downward): Likewise.
6225 (sin_test_upward): Likewise.
6226 (tan_test_tonearest): Likewise.
6227 (tan_test_towardzero): Likewise.
6228 (tan_test_downward): Likewise.
6229 (tan_test_upward): Likewise.
6230 (main): Call the new functions.
6231 * sysdeps/i386/fpu/libm-test-ulps: Update.
6232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6233
a6d06d7b
JM
6234 [BZ #10135]
6235 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6236 small n, then large n, before computing and testing k+n.
6237 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6239 Likewise.
6240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6241 Likewise.
6242 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6243 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6248 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6249 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6250 * math/libm-test.inc (scalbn_test): Add more tests.
6251 (scalbln_test): Likewise.
6252
07e12bb3
JM
6253 * manual/filesys.texi (mode_t): Describe constraints on size and
6254 signedness, not exact equivalence to a particular type.
6255 (ino_t): Likewise.
6256 (ino64_t): Likewise.
6257 (dev_t): Likewise.
6258 (nlink_t): Likewise.
6259 (blkcnt_t): Likewise.
6260 (blkcnt64_t): Likewise.
6261 * manual/llio.texi (off_t): Likewise.
6262
28afd92d
JM
6263 [BZ #3976]
6264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6265 (__ieee754_exp): Save and restore rounding mode and use
6266 round-to-nearest for all computations.
6267 * math/libm-test.inc (exp_test_tonearest): New function.
6268 (exp_test_towardzero): Likewise.
6269 (exp_test_downward): Likewise.
6270 (exp_test_upward): Likewise.
6271 (main): Call the new functions.
6272 * sysdeps/i386/fpu/libm-test-ulps: Update.
6273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6274
b1eeb65d
CD
62752012-03-01 Chris Demetriou <cgd@google.com>
6276
6277 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6278 have predictable order.
6279
53362a4b
DM
62802012-03-01 David S. Miller <davem@davemloft.net>
6281
3c969083
DM
6282 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6283
759707de
DM
6284 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6285 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6286 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6288
dfdb8ff2
DM
6289 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6290 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6291 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6293 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6294 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6295 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6296 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6297 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6298
ead89f96
DM
6299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6300
7f66bd07
DM
6301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6302 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6303 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6304
53362a4b
DM
6305 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6307 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6308 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6309 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6312 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6313 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6314 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6315 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6318 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6319 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6321 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6322 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6323 * sysdeps/sparc/elf/configure: Regenerated.
6324
7b1902cb
JM
63252012-03-01 Joseph Myers <joseph@codesourcery.com>
6326
bec039bc
JM
6327 * configure.in (AS, LD): Require binutils 2.20 or later.
6328 * configure: Regenerated.
6329 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6330 as required minimum version.
6331 * INSTALL: Regenerated.
6332
7b1902cb
JM
6333 [BZ #2541]
6334 [BZ #4108]
6335 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6336 before squaring exponent.
6337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6338 bottom long double and 27 bits of top long double before squaring
6339 exponent.
6340 * math/libm-test.inc (erfc_test): Add more tests.
6341 * sysdeps/i386/fpu/libm-test-ulps: Update.
6342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6344
f775c276
KT
63452012-03-01 Kai Tietz <ktietz@redhat.com>
6346
6347 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6348 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6349 containing bit-fields.
6350 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6351 * soft-fp/single.h (_FP_UNION_S): Likewise.
6352 * soft-fp/double.h (_FP_UNION_D): Likewise.
6353
5b8a4d4a
JM
63542012-02-29 Joseph Myers <joseph@codesourcery.com>
6355
0bab47b6
JM
6356 [BZ #13786]
6357 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6358 not include ../strcmp.S.
6359 [USE_AS_STRNCASECMP_L]: Likewise.
6360 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6361 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6362 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6363 (__strncasecmp_l_ia32): Define as alias to
6364 __strncasecmp_l_nonascii.
6365
0fcad3e2
JM
6366 [BZ #5794]
6367 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6368 * sysdeps/i386/fpu/libm-test-ulps: Update.
6369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6370
5b8a4d4a
JM
6371 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6373
8fdceb2e
JL
63742012-02-29 Jeff Law <law@redhat.com>
6375
6376 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6377 out of bounds read.
6378
1f393a11
MP
63792012-02-29 Marek Polacek <polacek@redhat.com>
6380
6381 [BZ #13706]
6382 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6383 * elf/Makefile: Add rules to run tst-unused-dep.out.
6384
8847f037
DM
63852012-02-28 David S. Miller <davem@davemloft.net>
6386
6387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6391 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6392 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6393
169d7f11
JM
63942012-02-29 Joseph Myers <joseph@codesourcery.com>
6395
6396 * math/libm-test.inc (llround_test): Move one test from
6397 lround_test. Use TEST_f_L in moved test.
6398 (lround_test): Move misplaced test to llround_test. Add testcase
6399 from bug 2561.
6400
39adf059
UD
64012012-02-28 Ulrich Drepper <drepper@gmail.com>
6402
6403 * sysdeps/x86_64/fpu/e_expf.S: New file.
6404 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6405
71b5d1c5
SB
64062012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6407
6408 [BZ #13637]
6409 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6410 of remain_len that may cause incomplete multi-byte character and
6411 false match.
6412 * posix/bug-regex33.c: New file.
6413 * posix/Makefile (tests): Add bug-regex33.
6414
1f77f049
JM
64152012-02-28 Joseph Myers <joseph@codesourcery.com>
6416
6417 * manual/macros.texi: New file.
6418 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6419 * manual/libc.texinfo: Include macros.texi.
6420 * manual/creatute.texi: Likewise.
6421 * manual/install.texi: Likewise.
6422 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6423 @glibcadj{} in references to the GNU C Library.
6424 * manual/charset.texi: Likewise.
6425 * manual/conf.texi: Likewise.
6426 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6427 when not using those macros.
6428 * manual/creature.texi: Likewise.
6429 * manual/crypt.texi: Likewise.
6430 * manual/errno.texi: Likewise.
6431 * manual/filesys.texi: Likewise.
6432 * manual/header.texi: Likewise.
6433 * manual/install.texi: Likewise.
6434 * manual/intro.texi: Likewise.
6435 * manual/io.texi: Likewise.
6436 * manual/job.texi: Likewise.
6437 * manual/lang.texi: Likewise.
6438 * manual/libc.texiinfo: Likewise.
6439 * manual/llio.texi: Likewise.
6440 * manual/locale.texi: Likewise.
6441 * manual/maint.texi: Likewise.
6442 * manual/math.texi: Likewise.
6443 * manual/memory.texi: Likewise.
6444 * manual/message.texi: Likewise.
6445 * manual/nss.texi: Likewise.
6446 * manual/pattern.texi: Likewise.
6447 * manual/process.texi: Likewise.
6448 * manual/resource.texi: Likewise.
6449 * manual/search.texi: Likewise.
6450 * manual/setjmp.texi: Likewise.
6451 * manual/signal.texi: Likewise.
6452 * manual/socket.texi: Likewise.
6453 * manual/startup.texi: Likewise.
6454 * manual/stdio.texi: Likewise.
6455 * manual/string.texi: Likewise.
6456 * manual/sysinfo.texi: Likewise.
6457 * manual/syslog.texi: Likewise.
6458 * manual/terminal.texi: Likewise.
6459 * manual/time.texi: Likewise.
6460 * manual/users.texi: Likewise.
6461 * INSTALL: Regenerated.
6462 * NOTES: Regenerated.
d40c5d54 6463 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6464
450bf206
AS
64652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6466
6467 * include/dirent.h: Include <dirstream.h> before
6468 <dirent/dirent.h>.
6469
741a235b
DM
64702012-02-28 David S. Miller <davem@davemloft.net>
6471
6472 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6473 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6475 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6476
d6b5aa58
DM
64772012-02-27 David S. Miller <davem@davemloft.net>
6478
1aff59a3
DM
6479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6481 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6482 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6483
d6b5aa58
DM
6484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6485 frame pointer instead of stack pointer relative arg slot.
6486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6487 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6488 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6489
433f48bf
CD
64902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6491
6492 [BZ #3992]
6493 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6494
d674b76d
DM
64952012-02-27 David S. Miller <davem@davemloft.net>
6496
6497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6503 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6504 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6505
0e7727f7
JM
65062012-02-27 Joseph Myers <joseph@codesourcery.com>
6507
6508 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6509 later. Allow versions 5-9.
43be4ca2 6510 * configure: Regenerated.
0e7727f7
JM
6511 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6512 required minimum version and 4.6 as recommended version. Do not
6513 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6514 * INSTALL: Regenerated.
0e7727f7 6515
a78bc654
DM
65162012-02-27 David S. Miller <davem@davemloft.net>
6517
428d5830
DM
6518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6524 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6526
a78bc654
DM
6527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6528 manipulate bits before adding and subtracting TWO112[sx].
6529 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6530
4579f81c
RM
65312012-02-27 Roland McGrath <roland@hack.frob.com>
6532
36c8acb4
RM
6533 [BZ #13775]
6534 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6535 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6536 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6537 being in POSIX, because they are in 1003.1-2008.
6538
84ad622b
RM
6539 * rt/tst-aio.c: Include <fcntl.h>.
6540 * rt/tst-aio7.c: Likewise.
6541 * rt/tst-aio64.c: Likewise.
6542
4579f81c
RM
6543 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6544
abd923db
JM
65452012-02-27 Joseph Myers <joseph@codesourcery.com>
6546
6547 * manual/install.texi (--with-headers): Describe headers as
6548 interface headers, not private headers.
6549 (Specific advice for GNU/Linux systems): Describe use of headers
6550 from "make headers_install", not private headers from older
6551 kernels.
43be4ca2 6552 * INSTALL: Regenerated.
abd923db
JM
6553 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6554 Change to 2.6.19.
6555 * sysdeps/unix/sysv/linux/configure: Regenerated.
6556
6664049b
JM
6557 * manual/llio.texi (fclean): Remove documentation.
6558
bb8b6697
JM
6559 * manual/Makefile (libc-texi-generated): New variable. Include
6560 version.texi.
6561 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6562 $(libc-texi-generated), not duplicated list of files.
6563 (version.texi, stamp-version): New rules.
6564 (realclean): Remove $(libc-texi-generated), not individual files
6565 from that list. Do not remove dir-add.texinfo.
6566 * manual/libc.texinfo: Comment out uses of edition numbers and
6567 references to printed manual. Remove last-updated dates.
6568 (EDITION): Comment out.
6569 (ISBN): Likewise.
6570 (VERSION, UPDATED): Remove.
6571 (version.texi): Include.
6572
12e5c3b9
AS
65732012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6574
6575 * sysdeps/posix/spawni.c: Include <signal.h>.
6576 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6577 * sysdeps/pthread/aio_fsync.c: Likewise.
6578
4efeffc1 65792012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6580
ba63ba08
UD
6581 * conform/Makefile (tests): Run only when not cross-compiling and
6582 when fast-check is not defined.
6583
d94a4670
UD
6584 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6585 * conform/data/limits.h-data: Fixes for POSIX2008.
6586 * conform/run-conformtest.sh: Run all tests.
6587 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6588 headers.
6589 * include/bits/dlfcn.h: Likewise.
6590 * include/langinfo.h: Likewise.
6591 * include/monetary.h: Likewise.
6592 * include/sys/poll.h: Likewise.
6593
6594 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6595 for __USE_GNU.
6596 * posix/spawn.h: Define __need_sigset_t.
6597 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6598 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6599 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6600 to get sigevent_t only.
6601 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6602 only for __USE_GNU.
6603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6604 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6605 process_vm_writev only for __USE_GNU.
6606 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6607
6608 * conform/Makefile: For now ignore errors from run-conformtest.
6609 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6610 POSIX to avoid namespace pollution. Don't prepend headers.
6611 * conform/data/aio.h-data: Fixes for POSIX testing.
6612 * conform/data/fcntl.h-data: Likewise.
6613 * conform/data/glob.h-data: Likewise.
6614 * conform/data/grp.h-data: Likewise.
6615 * conform/data/pthread.h-data: Likewise.
6616 * conform/data/pwd.h-data: Likewise.
6617 * conform/data/signal.h-data: Likewise.
6618 * conform/data/spawn.h-data: Likewise.
6619 * conform/data/stdio.h-data: Likewise.
6620 * conform/data/stdlib.h-data: Likewise.
6621 * conform/data/stropts.h-data: Likewise.
6622 * conform/data/sys/mman.h-data: Likewise.
6623 * conform/data/sys/stat.h-data: Likewise.
6624 * conform/data/sys/types.h-data: Likewise.
6625 * conform/data/sys/wait.h-data: Likewise.
6626 * conform/data/time.h-data: Likewise.
6627 * conform/data/unistd.h-data: Likewise.
6628 * conform/data/utime.h-data: Likewise.
6629
6630 * io/sys/stat.h: fchmod was always in POSIX.
6631 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6632 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6633 * rt/aio.h: Define __need_timespec before including <time.h>.
6634 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6635 struct. Add forward declaration of pthread_attr_t and use it in
6636 sigevent.
6637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6639 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6640 always remove CLK_TCK definition.
6641
c20105c3
AS
66422012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6645
7a270350
UD
66462012-02-25 Ulrich Drepper <drepper@gmail.com>
6647
31341567
UD
6648 * conform/run-conformtest.sh: New file.
6649 * conform/Makefile: Run run-conformtest for tests.
6650 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6651 support.
6652
6653 * conform/data/uchar.h-data: New file.
6654 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6655 * conform/data/arpa/inet.h-data: Likewise.
6656 * conform/data/assert.h-data: Likewise.
6657 * conform/data/complex.h-data: Likewise.
6658 * conform/data/cpio.h-data: Likewise.
6659 * conform/data/ctype.h-data: Likewise.
6660 * conform/data/dirent.h-data: Likewise.
6661 * conform/data/dlfcn.h-data: Likewise.
6662 * conform/data/errno.h-data: Likewise.
6663 * conform/data/fcntl.h-data: Likewise.
6664 * conform/data/float.h-data: Likewise.
6665 * conform/data/fmtmsg.h-data: Likewise.
6666 * conform/data/fnmatch.h-data: Likewise.
6667 * conform/data/ftw.h-data: Likewise.
6668 * conform/data/glob.h-data: Likewise.
6669 * conform/data/grp.h-data: Likewise.
6670 * conform/data/iconv.h-data: Likewise.
6671 * conform/data/inttypes.h-data: Likewise.
6672 * conform/data/langinfo.h-data: Likewise.
6673 * conform/data/libgen.h-data: Likewise.
6674 * conform/data/limits.h-data: Likewise.
6675 * conform/data/locale.h-data: Likewise.
6676 * conform/data/math.h-data: Likewise.
6677 * conform/data/monetary.h-data: Likewise.
6678 * conform/data/mqueue.h-data: Likewise.
6679 * conform/data/ndbm.h-data: Likewise.
6680 * conform/data/net/if.h-data: Likewise.
6681 * conform/data/netdb.h-data: Likewise.
6682 * conform/data/netinet/in.h-data: Likewise.
6683 * conform/data/nl_types.h-data: Likewise.
6684 * conform/data/poll.h-data: Likewise.
6685 * conform/data/pthread.h-data: Likewise.
6686 * conform/data/pwd.h-data: Likewise.
6687 * conform/data/regex.h-data: Likewise.
6688 * conform/data/sched.h-data: Likewise.
6689 * conform/data/search.h-data: Likewise.
6690 * conform/data/semaphore.h-data: Likewise.
6691 * conform/data/setjmp.h-data: Likewise.
6692 * conform/data/signal.h-data: Likewise.
6693 * conform/data/spawn.h-data: Likewise.
6694 * conform/data/stdarg.h-data: Likewise.
6695 * conform/data/stdio.h-data: Likewise.
6696 * conform/data/stdlib.h-data: Likewise.
6697 * conform/data/string.h-data: Likewise.
6698 * conform/data/strings.h-data: Likewise.
6699 * conform/data/stropts.h-data: Likewise.
6700 * conform/data/sys/ipc.h-data: Likewise.
6701 * conform/data/sys/mman.h-data: Likewise.
6702 * conform/data/sys/msg.h-data: Likewise.
6703 * conform/data/sys/resource.h-data: Likewise.
6704 * conform/data/sys/select.h-data: Likewise.
6705 * conform/data/sys/sem.h-data: Likewise.
6706 * conform/data/sys/shm.h-data: Likewise.
6707 * conform/data/sys/socket.h-data: Likewise.
6708 * conform/data/sys/stat.h-data: Likewise.
6709 * conform/data/sys/statvfs.h-data: Likewise.
6710 * conform/data/sys/time.h-data: Likewise.
6711 * conform/data/sys/timeb.h-data: Likewise.
6712 * conform/data/sys/times.h-data: Likewise.
6713 * conform/data/sys/types.h-data: Likewise.
6714 * conform/data/sys/uio.h-data: Likewise.
6715 * conform/data/sys/un.h-data: Likewise.
6716 * conform/data/sys/utsname.h-data: Likewise.
6717 * conform/data/sys/wait.h-data: Likewise.
6718 * conform/data/syslog.h-data: Likewise.
6719 * conform/data/tar.h-data: Likewise.
6720 * conform/data/termios.h-data: Likewise.
6721 * conform/data/utime.h-data: Likewise.
6722 * conform/data/utmpx.h-data: Likewise.
6723 * conform/data/varargs.h-data: Likewise.
6724 * conform/data/wchar.h-data: Likewise.
6725 * conform/data/wctype.h-data: Likewise.
6726 * conform/data/wordexp.h-data: Likewise.
6727
6728 * include/stropts.h: New file.
6729 * include/uchar.h: New file.
6730 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6731 * include/assert.h: Likewise.
6732 * include/ctype.h: Likewise.
6733 * include/dirent.h: Likewise.
6734 * include/dlfcn.h: Likewise.
6735 * include/fcntl.h: Likewise.
6736 * include/fnmatch.h: Likewise.
6737 * include/glob.h: Likewise.
6738 * include/grp.h: Likewise.
6739 * include/libio.h: Likewise.
6740 * include/locale.h: Likewise.
6741 * include/math.h: Likewise.
6742 * include/net/if.h: Likewise.
6743 * include/netdb.h: Likewise.
6744 * include/netinet/in.h: Likewise.
6745 * include/pthread.h: Likewise.
6746 * include/pwd.h: Likewise.
6747 * include/regex.h: Likewise.
6748 * include/sched.h: Likewise.
6749 * include/search.h: Likewise.
6750 * include/setjmp.h: Likewise.
6751 * include/signal.h: Likewise.
6752 * include/stdio.h: Likewise.
6753 * include/stdlib.h: Likewise.
6754 * include/string.h: Likewise.
6755 * include/sys/cdefs.h: Likewise.
6756 * include/sys/mman.h: Likewise.
6757 * include/sys/msg.h: Likewise.
6758 * include/sys/resource.h: Likewise.
6759 * include/sys/select.h: Likewise.
6760 * include/sys/socket.h: Likewise.
6761 * include/sys/stat.h: Likewise.
6762 * include/sys/statvfs.h: Likewise.
6763 * include/sys/time.h: Likewise.
6764 * include/sys/times.h: Likewise.
6765 * include/sys/uio.h: Likewise.
6766 * include/sys/utsname.h: Likewise.
6767 * include/sys/wait.h: Likewise.
6768 * include/termios.h: Likewise.
6769 * include/time.h: Likewise.
6770 * include/ulimit.h: Likewise.
6771 * include/unistd.h: Likewise.
6772 * include/utime.h: Likewise.
6773 * include/wchar.h: Likewise.
6774 * include/wctype.h: Likewise.
6775 * include/wordexp.h: Likewise.
6776
6777 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6778
7a270350
UD
6779 * time/time.h: TIME_UTC must be a macro.
6780 Make timespec_get available for ISO C11 only as well.
6781
7724defc
UD
67822012-02-24 Ulrich Drepper <drepper@gmail.com>
6783
6784 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6785 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6786
6b1d1d46
JM
67872012-02-24 Joseph Myers <joseph@codesourcery.com>
6788
6789 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6790
0f8bbd69
JM
67912012-02-24 Joseph Myers <joseph@codesourcery.com>
6792
6793 * manual/texinfo.tex: Update to version 2012-01-19.16.
6794
66ab80bc
JM
67952012-02-24 Joseph Myers <joseph@codesourcery.com>
6796
6797 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6798
74981cc5
RM
67992012-02-24 Roland McGrath <roland@hack.frob.com>
6800
ee968201
RM
6801 [BZ #13738]
6802 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6803 * manual/fdl-1.3.texi: New file.
6804 * manual/fdl-1.1.texi: File removed.
6805
74981cc5
RM
6806 [BZ #13738]
6807 * manual/libc.texinfo (FDL_VERSION): New @set.
6808 Use it for mention of FDL in cover text.
6809 (Documentation License): Use it in @include file name.
6810
7bb764bc
JM
68112012-02-22 Joseph Myers <joseph@codesourcery.com>
6812 Roland McGrath <roland@hack.frob.com>
6813
6814 [BZ #5461]
6815 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6816 not LONG_LONG_MAX and LONG_LONG_MIN.
6817 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6818 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6819 name.
6820 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6821
6cbeae47
JM
68222012-02-22 Joseph Myers <joseph@codesourcery.com>
6823
6824 [BZ #2547]
6825 [BZ #11365]
6826 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6827 manipulate bits before adding and subtracting TWO23[sx].
6828 * math/libm-test.inc (nearbyint_test): Add more tests.
6829
fe45ce09
JM
68302012-02-22 Joseph Myers <joseph@codesourcery.com>
6831
6832 [BZ #2548]
6833 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6834 bits before adding and subtracting TWO23[sx].
6835 * math/libm-test.inc (rint_test): Add more tests.
6836 (rint_test_tonearest): Likewise.
6837 (rint_test_towardzero): Likewise.
6838 (rint_test_downward): Likewise.
6839 (rint_test_upward: Likewise.
6840
ff3b3d82
JM
68412012-02-22 Joseph Myers <joseph@codesourcery.com>
6842
6843 [BZ #10110]
6844 * include/stdc-predef.h: New file. Extracted from features.h.
6845 * include/features.h: Include stdc-predef.h.
6846 * Makefile (headers): Add stdc-predef.h.
6847 * CONFORMANCE (Compiler limitations): Update.
6848
ef0aab35
JM
68492012-02-22 Joseph Myers <joseph@codesourcery.com>
6850
6851 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6852
58639409
DM
68532012-02-21 David S. Miller <davem@davemloft.net>
6854
6855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6856 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6857
c0e70b25
DM
68582012-02-20 David S. Miller <davem@davemloft.net>
6859
6860 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6861 using a normal save/restore sequence, rather than allocating a
6862 dummy stack frame just to store a frame pointer and restore.
6863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6864
fb06851d
JM
68652012-02-21 Joseph Myers <joseph@codesourcery.com>
6866
6867 * manual/install.texi: Fix stray word in line-wrapped comment.
6868
7a8b71c3
DM
68692012-02-20 David S. Miller <davem@davemloft.net>
6870
d510c123
DM
6871 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6872 both binutils and gcc support GOTDATA.
6873
0722d7c2
DM
6874 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6875 "rd %pc" in the PIC register setup sequences.
6876
3d2b3019
DM
6877 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6878 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6879 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6880 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6881 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6886 (SYSCALL_ERROR_HANDLER): Likewise.
6887 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6890 (SYSCALL_ERROR_HANDLER): Likewise.
6891
c80098a9
DM
6892 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6893 (HAVE_GCC_GOTDATA): New.
6894 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6895 relocation support in both binutils and gcc.
6896 * sysdeps/sparc/elf/configure: Regenerate.
6897
3a2545a0
DM
6898 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6899 * sysdeps/sparc/sparc32/elf/configure: Delete.
6900 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6901 * sysdeps/sparc/sparc64/elf/configure: Delete.
6902 * sysdeps/sparc/elf/configure.in: New file.
6903 * sysdeps/sparc/elf/configure: Generate.
6904
7a8b71c3
DM
6905 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6906 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6907 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6908 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6909 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6910
f1e86fca
JM
69112012-02-21 Joseph Myers <joseph@codesourcery.com>
6912
6913 * manual/install.texi: Do not mention specific glibc version
6914 numbers.
6915 * manual/libc.texinfo (VERSION, UPDATED): Update.
6916 (@copying): Use @copyright{} and range of years.
6917
0e7dfaef
JM
69182012-02-21 Joseph Myers <joseph@codesourcery.com>
6919
6920 [BZ #13695]
6921 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6922 [crti.S not in sysdirs] (generated): Do not append.
6923 [crti.S not in sysdirs] (omit-deps): Likewise.
6924 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6925 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6926 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6927 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6928 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6929 Likewise.
6930 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6931 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6932 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6933 * csu/defs.awk: Remove file.
6934 * sysdeps/generic/initfini.c: Likewise.
6935 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6936 variable.
6937 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6938 Likewise.
6939
599af3ca
JM
69402012-02-20 Joseph Myers <joseph@codesourcery.com>
6941
6942 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6943 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6944 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6946 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6947 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6948 <bits/epoll.h>.
6949 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6950 (__EPOLL_PACKED): Define to empty if not defined by
6951 <bits/epoll.h>.
6952 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6954 bits/epoll.h.
6955
0e499750
JM
69562012-02-20 Joseph Myers <joseph@codesourcery.com>
6957
6958 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6959 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6960 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6961 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6962 <bits/timerfd.h>.
6963 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6965 bits/timerfd.h.
6966
5ad91f6e
JM
69672012-02-20 Joseph Myers <joseph@codesourcery.com>
6968
6969 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6970 in C locale.
6971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6972 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6975
06b99b02
AJ
69762012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6977
6978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6979 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6980
7638c0fd
AS
69812012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6982
6983 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6984 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6985 defined.
6986 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6987 Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6989 entry for 2.16.
6990
92221550
AJ
69912012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6992
6993 * math/w_acos.c: Use non-signaling floating-point comparisons.
6994 * math/w_acosf.c: Likewise.
6995 * math/w_acosh.c: Likewise.
6996 * math/w_acoshf.c: Likewise.
6997 * math/w_acoshl.c: Likewise.
6998 * math/w_acosl.c: Likewise.
6999 * math/w_asin.c: Likewise.
7000 * math/w_asinf.c: Likewise.
7001 * math/w_asinl.c: Likewise.
7002 * math/w_atanh.c: Likewise.
7003 * math/w_atanhf.c: Likewise.
7004 * math/w_atanhl.c: Likewise.
7005 * math/w_exp2.c: Likewise.
7006 * math/w_exp2f.c: Likewise.
7007 * math/w_exp2l.c: Likewise.
7008 * math/w_j0.c: Likewise.
7009 * math/w_j0f.c: Likewise.
7010 * math/w_j0l.c: Likewise.
7011 * math/w_j1.c: Likewise.
7012 * math/w_j1f.c: Likewise.
7013 * math/w_j1l.c: Likewise.
7014 * math/w_jn.c: Likewise.
7015 * math/w_jnf.c: Likewise.
7016 * math/w_log.c: Likewise.
7017 * math/w_log10.c: Likewise.
7018 * math/w_log10f.c: Likewise.
7019 * math/w_log10l.c: Likewise.
7020 * math/w_log2.c: Likewise.
7021 * math/w_log2f.c: Likewise.
7022 * math/w_log2l.c: Likewise.
7023 * math/w_logf.c: Likewise.
7024 * math/w_logl.c: Likewise.
7025 * math/w_sqrt.c: Likewise.
7026 * math/w_sqrtf.c: Likewise.
7027 * math/w_sqrtl.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7031 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7032 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7033
ebaf36eb
JM
70342012-02-19 Joseph Myers <joseph@codesourcery.com>
7035
7036 [BZ #9739]
7037 * manual/string.texi (strnlen): Use correct parameter name in
7038 equivalent expression.
7039
71c254a6
JM
70402012-02-19 Joseph Myers <joseph@codesourcery.com>
7041
7042 [BZ #11174]
7043 * manual/users.texi (seteuid): Consistently use neweuid for
7044 argument name.
7045
16d2c631
JM
70462012-02-19 Joseph Myers <joseph@codesourcery.com>
7047
7048 [BZ #13704]
7049 * manual/nss.texi (Services in the NSS configuration): Correct
7050 list of services in example configuration file.
7051
cd837b09
NB
70522012-02-19 Nick Bowler <nbowler@draconx.ca>
7053
7054 [BZ #11322]
7055 * manual/arith.texi: Remove statements about negative zero
7056 behaving identically to zero.
7057
02c4bbad
JM
70582012-02-18 Joseph Myers <joseph@codesourcery.com>
7059
7060 [BZ #5993]
7061 * manual/install.texi: Do not document upgrading from libc5.
7062
366842e7
JM
70632012-02-18 Joseph Myers <joseph@codesourcery.com>
7064
7065 [BZ #4596]
7066 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7067
dd54084d
DM
70682012-02-18 David S. Miller <davem@davemloft.net>
7069
7070 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7071 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7072 %o7 across the call.
7073 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7074 instead.
7075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7076 SETUP_PIC_REG_LEAF.
7077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7078 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7079 * sysdeps/sparc/crtn.S: Likewise.
7080
2bcc53a3
UD
70812012-02-17 Ulrich Drepper <drepper@gmail.com>
7082
7083 * aout/Makefile: Remove.
7084
09c093b5
RK
70852012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7086
7087 [BZ #13058]
7088 * manual/examples/argp-ex1.c (main): Format definition in GNU
7089 style.
7090 * manual/examples/argp-ex2.c (main): Likewise.
7091 * manual/examples/argp-ex3.c (main): Likewise.
7092 * manual/examples/argp-ex4.c (main): Likewise.
7093 * manual/examples/longopt.c (main): Use new-style prototype
7094 definition.
7095 * manual/examples/strncat.c (main): Specify return type and use
7096 (void) for arguments.
7097 * manual/examples/subopt.c (main): Use char **argv argument.
7098
2ee633a2
JM
70992012-02-17 Joseph Myers <joseph@codesourcery.com>
7100
7101 [BZ #5077]
7102 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7103 rounding modes.
7104
0520adde
FB
71052012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7106
7107 [BZ #6907]
7108 * manual/string.texi (strchr): Change when strchrnul is
7109 recommended.
7110
3f4081cd
DGM
71112012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7112
7113 [BZ #174]
7114 * manual/locale.texi (setlocale): Document LOCPATH.
7115
d1b10e78
JM
71162012-02-17 Joseph Myers <joseph@codesourcery.com>
7117
7118 [BZ #10210]
7119 * manual/process.texi (execle): Move @dots{} before last argument.
7120
79c6869c
PB
71212012-02-17 Paul Bolle <pebolle@tiscali.nl>
7122
7123 [BZ #12047]
7124 * manual/charset.texi (Generic Charset Conversion): Fix typo
7125 (LC_TYPE -> LC_CTYPE).
7126
cc6e48bc
NB
71272012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7128
7129 [BZ #5805]
7130 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7131 (scalbnf): Likewise.
7132 (scalbnl): Likewise.
7133 (scalbln): Likewise.
7134 (scalblnf): Likewise.
7135 (scalblnl): Likewise.
7136 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7137 (vwarnx): Likewise.
7138 (verr): Likewise.
7139 (verrx): Likewise.
7140 * manual/filesys.texi (telldir): Use braces around return type.
7141 * manual/llio.texi (mmap): Add space after comma.
7142 (mmap64): Likewise.
7143 * manual/math.texi (jn): Use @var{} on parameter names.
7144 (jnf): Likewise.
7145 (jnl): Likewise.
7146 (yn): Likewise.
7147 (ynf): Likewise.
7148 (ynl): Likewise.
7149 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7150 line.
7151 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7152 "...".
7153 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7154 (sched_get_priority_max): Likewise.
7155 * manual/signal.texi (sigvec): Add space after comma.
7156 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7157 names.
7158 (if_indextoname): Likewise.
7159 (if_freenameindex): Likewise.
7160 (sendto): Use ',' instead of '.' in prototype.
7161 * manual/startup.texi (syscall): Use @dots{} instead of literal
7162 "...".
7163 * manual/stdio.texi (__fpending): Separate initial words of
7164 paragraph from @deftypefun line.
7165 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7166 "...".
7167 (vsyslog): Use @var{} on parameter names.
7168 * manual/terminal.texi (stty): Use @var{} on parameter names.
7169 * manual/users.texi (getutmp): Use @var{} on parameter names.
7170 (getutmpx): Likewise.
7171
5b23062f
JM
71722012-02-17 Joseph Myers <joseph@codesourcery.com>
7173
7174 [BZ #6884]
7175 * manual/stdio.texi (fopen): Fix typos in description of
7176 ",ccs=STRING".
7177
8dee4833
AJ
71782012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7179
7180 [BZ #4026]
7181 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7182 get clock_id definition.
7183
9078ce93
TS
71842012-02-17 Thomas Schwinge <thomas@schwinge.name>
7185
7186 [BZ #4822]
7187 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7188 (madvise): Cast every argument to void on its own.
7189
3835c55f
JM
71902012-02-17 Joseph Myers <joseph@codesourcery.com>
7191
7192 [BZ #9902]
7193 * manual/startup.texi (Exit Status): Fix typo.
7194
35c47e37
JM
71952012-02-17 Joseph Myers <joseph@codesourcery.com>
7196
7197 [BZ #10140]
7198 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7199 * manual/examples/argp-ex2.c: Likewise.
7200 * manual/examples/argp-ex3.c: Likewise.
7201
e3b69ca7
RH
72022012-02-16 Richard Henderson <rth@redhat.com>
7203
7204 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7205 * sysdeps/s390/s390-32/initfini.c: Remove.
7206 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7207 * sysdeps/s390/s390-64/initfini.c: Remove.
7208
df83af67
KK
72092012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7210
7211 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7212 compiler output for sysdeps/generic/initfini.c.
7213 * sysdeps/sh/elf/initfini.c: Remove file.
7214
f63f3380
DM
72152012-02-16 David S. Miller <davem@davemloft.net>
7216
fb59b3a4
DM
7217 [BZ #11494]
7218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7219
f63f3380
DM
7220 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7221 * sysdeps/sparc/crti.S: New file.
7222 * sysdeps/sparc/crtn.S: New file.
7223 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7224 * sysdeps/sparc/sparc64/Makefile: Likewise.
7225
df6a4a4a
MF
72262012-02-15 Mike Frysinger <vapier@gentoo.org>
7227
6dd8f3dc 7228 [BZ #3335]
df6a4a4a
MF
7229 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7230
1cac7236
RM
72312012-02-15 Roland McGrath <roland@hack.frob.com>
7232
d2c736f8
RM
7233 [BZ #4822]
7234 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7235
1cac7236
RM
7236 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7237 (write, read, close): Likewise.
7238 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7239
8e475601
JM
72402012-02-15 Joseph Myers <joseph@codesourcery.com>
7241
7242 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7243 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7244 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7245 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7246 <bits/signalfd.h>.
7247 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7249 bits/signalfd.h.
7250
ed656b40
MP
72512012-02-14 Marek Polacek <polacek@redhat.com>
7252
7253 * sysdeps/x86_64/crti.S: New file.
7254 * sysdeps/x86_64/crtn.S: New file.
7255 * sysdeps/x86_64/elf/initfini.c: Remove file.
7256
2a979d3a
JM
72572012-02-13 Joseph Myers <joseph@codesourcery.com>
7258
7259 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7260 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7262 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7263 <bits/inotify.h>.
7264 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7266 bits/inotify.h.
7267
2a418ac3
JM
72682012-02-13 Joseph Myers <joseph@codesourcery.com>
7269
7270 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7271 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7273 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7274 <bits/eventfd.h>.
7275 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7277 bits/eventfd.h.
7278
fb779be7
TS
72792012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7280
e19e83c5
RM
7281 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7282 __feraiseexcept instead of feraiseexcept.
7c35ffed 7283
fb779be7
TS
7284 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7285 nanosleep invocations.
7286 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7287 strings, and add error checking for a nanosleep invocations.
7288
59ba27a6
PE
72892012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7290
7291 Replace FSF snail mail address with URLs, as per GNU coding standards.
7292 Most of the snail mail addresses were wrong anyway, and omitting
7293 them makes the source code easier to maintain. Almost all of the
7294 changes are to license notices and to locale LC_IDENTIFICATION
7295 addresses, except for this one:
7296 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7297 not its snail mail address.
7298
57b957eb
RH
72992012-02-09 Richard Henderson <rth@twiddle.net>
7300
af850b1c
RH
7301 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7302 of kernel-features.h.
7303
57b957eb
RH
7304 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7305
6b73181a
MP
73062012-02-08 Marek Polacek <polacek@redhat.com>
7307
7308 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7309 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7310 * sysdeps/gnu/_G_config.h: Likewise.
7311 * sysdeps/generic/_G_config.h: Likewise.
7312
26ecc33a
AS
73132012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7314
6c6dbc63
AS
7315 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7316 tests.
7317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7318
e216c012
AS
7319 * sysdeps/powerpc/powerpc32/crti.S: New file.
7320 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7321 * sysdeps/powerpc/powerpc64/crti.S: New file.
7322 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7323
26ecc33a
AS
7324 * Makeconfig (have-initfini): Don't set.
7325 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7326 * configure.in (nopic_initfini): Don't substitute.
7327 * config.h.in (HAVE_INITFINI): Don't #undef.
7328 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7329 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7330
3add8e13
JM
73312012-02-08 Joseph Myers <joseph@codesourcery.com>
7332
7333 Support crti.S and crtn.S provided directly by architectures.
7334 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7335 [crti.S in sysdirs] (omit-deps): Likewise.
7336 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7337 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7338 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7339 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7340 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7341 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7342 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7343 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7344 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7345 compiler output for sysdeps/generic/initfini.c.
7346 * sysdeps/i386/elf/Makefile: Remove file.
7347 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7348
a22f12b4
MP
73492012-02-07 Marek Polacek <polacek@redhat.com>
7350
7351 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7352 * sysdeps/gnu/_G_config.h: Likewise.
7353 * sysdeps/mach/hurd/_G_config.h: Likewise.
7354
148cf100
MP
73552012-02-07 Marek Polacek <polacek@redhat.com>
7356
7357 * math/Makefile (tests): Add tst-CMPLX2.
7358 * math/tst-CMPLX2.c: New file.
7359
cfdc0dd7
AS
73602012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7361
84ba42c4
AS
7362 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7363
cfdc0dd7
AS
7364 * math/libm-test.inc (jn_test): Add missing L suffix.
7365
622c86f4
MP
73662012-02-06 Marek Polacek <polacek@redhat.com>
7367
7368 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7369 * sysdeps/i386/fpu/e_powf.S: Likewise.
7370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7371 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7373 * sysdeps/i386/fpu/e_pow.S: Likewise.
7374 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7376 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7377 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7378 * sysdeps/i386/fpu/e_log2.S: Likewise.
7379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7381 * sysdeps/i386/fpu/e_powl.S: Likewise.
7382 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7383 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7384 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7385 * sysdeps/i386/fpu/e_logl.S: Likewise.
7386 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7387 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7388 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7389 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7390 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7391 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7392 * sysdeps/i386/fpu/e_log.S: Likewise.
7393 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7395 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7396 * sysdeps/i386/fpu/e_logf.S: Likewise.
7397 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7398 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7399 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7400 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7401 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7402 * sysdeps/i386/fpu/e_log10.S: Likewise.
7403 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7404 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7405 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7406 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7408 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7409 * sysdeps/i386/asm-syntax.h: Likewise.
7410 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7411 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7412 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7413 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7414 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7415 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7416 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7417 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7418 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7419 * sysdeps/powerpc/sysdep.h: Likewise.
7420 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7422
d4a54ac6
JM
74232012-02-06 Joseph Myers <joseph@codesourcery.com>
7424
7425 [BZ #411]
7426 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7427
314054ea
JM
74282012-02-06 Joseph Myers <joseph@codesourcery.com>
7429
7430 * sysdeps/i386/sysdep.h: Include <features.h>.
7431 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7432 version.
7433
d8e0ca50
JM
74342012-02-05 Joseph Myers <joseph@codesourcery.com>
7435
7436 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7437 Define.
7438 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7439 LOAD_PIC_REG_STR.
7440
b1da7dd9
JM
74412012-02-03 Joseph Myers <joseph@codesourcery.com>
7442
7443 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7444 (SETUP_PIC_REG): Use GET_PC_THUNK.
7445 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7446 macro.
7447
9a1d9254
JM
74482012-02-03 Joseph Myers <joseph@codesourcery.com>
7449
7450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7451 for non-PIC compilation.
7452 (SETUP_PIC_REG): Add .p2align directive.
7453 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7454 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7457 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7459 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7461 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7462 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7464 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7465 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7471 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7487 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7494
65dc3b75
JM
74952012-02-03 Joseph Myers <joseph@codesourcery.com>
7496
7497 * math/tst-CMPLX.c: Include <stdio.h>.
7498
d55bf177
JM
74992012-01-31 Joseph Myers <joseph@codesourcery.com>
7500
7501 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7502 float.
7503 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7504 * sysdeps/sparc/bits/mathdef.h: Likewise.
7505
69db4f8f
MP
75062012-01-31 Marek Polacek <polacek@redhat.com>
7507
7508 * libio/libio.h: Don't define _PARAMS.
7509 * locale/programs/config.h: Don't define PARAMS.
7510 * stdlib/strtol_l.c: Likewise.
7511 (__strtol_l): Remove PARAMS from the prototype.
7512
41b81892
UD
75132012-01-31 Ulrich Drepper <drepper@gmail.com>
7514
3b49edc0
UD
7515 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7516 names. Just use the correct names. Remove unnecessary wrapper
7517 functions.
7518 * malloc/arena.c: Likewise.
7519 * malloc/hooks.c: Likewise.
7520
41b81892
UD
7521 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7522 ARENA_TEST says not to. Simplify test for creation of a new arena.
7523 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7524
27a25b6e
UD
75252012-01-30 Ulrich Drepper <drepper@gmail.com>
7526
7527 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7528 into tail calls.
7529 (update_get_addr): New function.
7530 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7531 GET_ADDR_MODULE parameter.
7532
c8a89e7d
JM
75332012-01-30 Joseph Myers <joseph@codesourcery.com>
7534
7535 * crypt/cert.c: Remove __STDC__ conditionals.
7536 * crypt/crypt-entry.c: Likewise.
7537 * crypt/crypt_util.c: Likewise.
7538 * libio/filedoalloc.c: Likewise.
7539 * libio/fileops.c: Likewise.
7540 * libio/genops.c: Likewise.
7541 * libio/iofclose.c: Likewise.
7542 * libio/iofdopen.c: Likewise.
7543 * libio/iofopen.c: Likewise.
7544 * libio/iofopen64.c: Likewise.
7545 * libio/iogetdelim.c: Likewise.
7546 * libio/iopopen.c: Likewise.
7547 * libio/obprintf.c: Likewise.
7548 * libio/oldfileops.c: Likewise.
7549 * libio/oldiofclose.c: Likewise.
7550 * libio/oldiofdopen.c: Likewise.
7551 * libio/oldiofopen.c: Likewise.
7552 * libio/oldiopopen.c: Likewise.
7553 * libio/wfiledoalloc.c: Likewise.
7554 * libio/wgenops.c: Likewise.
7555 * locale/programs/xmalloc.c: Likewise.
7556 * misc/syslog.c: Likewise.
7557 * stdio-common/xbug.c: Likewise.
7558 * string/memchr.c: Likewise.
7559 * string/memcmp.c: Likewise.
7560 * string/memrchr.c: Likewise.
7561 * string/rawmemchr.c: Likewise.
7562 * sysdeps/posix/getcwd.c: Likewise.
7563 * time/strftime_l.c: Likewise.
7564
3b100462
JM
75652012-01-30 Joseph Myers <joseph@codesourcery.com>
7566
7567 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7568 * config.make.in (config-cflags-sse2avx): Define.
7569 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7570 Fix typo.
7571
607998af
CM
75722012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7573
7574 * scripts/config.guess: Update from upstream config git repository.
7575 * scripts/config.sub: Likewise.
7576
3601428f
CM
75772012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7578
3ac8b282
CM
7579 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7580 (EM_NUM): Update.
7581 (R_TILEPRO_*, R_TILEGX_*): New macros.
7582
e034841e
CM
7583 * scripts/firstversions.awk: Fix bug in version range handling.
7584
540d7568
CM
7585 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7586
3601428f
CM
7587 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7588
463de862
CM
7589 * include/sys/epoll.h: New file.
7590 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7591 libc_hidden_def.
7592
73139a76
UD
75932012-01-28 Ulrich Drepper <drepper@gmail.com>
7594
96bc5b45
UD
7595 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7596 Avoid unnecessary __WORDSIZE == 64 test.
7597 (fmaxf): Use VEX format if possible.
7598 (fmax): Likewise.
7599 (fminf): Likewise.
7600 (fmin): Likewise.
7601
56f6f6a2
UD
7602 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7603 * math/math_private.h: Remove libc_fegetround* and
7604 libc_fesetround*.
7605 * sysdeps/i386/configure.in: Check for -msse2avx.
7606 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7607 also if SSE2AVX is defined.
7608 Remove libc_fegetround* and libc_fesetround*.
7609 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7610 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7612 of HAS_YMM_USABLE.
7613 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7614 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7616 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7617 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7618
73139a76
UD
7619 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7620
d73f93a4
AZ
76212012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7622
7623 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7624 size is not set.
7625 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7626
6ee65ed6
UD
76272012-01-27 Ulrich Drepper <drepper@gmail.com>
7628
7629 [BZ #13618]
7630 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7631 relocation.
7632 * Makeconfig (libm): Define.
7633 * elf/Makefile: Add rules to build and run tst-relsort1.
7634 * elf/tst-relsort1.c: New file.
7635 * elf/tst-relsort1mod1.c: New file.
7636 * elf/tst-relsort1mod2.c: New file.
7637
8db21882
JM
76382012-01-27 Joseph Myers <joseph@codesourcery.com>
7639
7640 * math/s_ldexp.c: Remove __STDC__ conditionals.
7641 * math/s_ldexpf.c: Likewise.
7642 * math/s_ldexpl.c: Likewise.
7643 * math/s_nextafter.c: Likewise.
7644 * math/s_nexttowardf.c: Likewise.
7645 * math/s_significand.c: Likewise.
7646 * math/s_significandf.c: Likewise.
7647 * math/s_significandl.c: Likewise.
7648 * math/w_jnl.c: Likewise.
7649 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7650 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7651 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7652 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7653 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7670 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7676 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7677 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7678 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7679 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7681 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7683 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7684 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7685 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7689 * sysdeps/ieee754/k_standard.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7769 * sysdeps/ieee754/s_matherr.c: Likewise.
7770 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7771 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7774
965a54a4
JM
77752012-01-26 Joseph Myers <joseph@codesourcery.com>
7776
7777 * crypt/md5.h: Remove __STDC__ conditionals.
7778 * libio/libioP.h: Likewise.
7779 * locale/programs/config.h: Likewise.
7780 * sysdeps/generic/sysdep.h: Likewise.
7781 * sysdeps/i386/asm-syntax.h: Likewise.
7782 * sysdeps/s390/asm-syntax.h: Likewise.
7783 * sysdeps/unix/sysdep.h: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7786
7071ad79
JM
77872012-01-26 Joseph Myers <joseph@codesourcery.com>
7788
7789 * libio/libio.h: Remove __STDC__ conditionals.
7790 * malloc/obstack.h: Likewise.
7791 * math/complex.h: Likewise.
7792 * math/math.h: Likewise.
7793 * sysdeps/generic/_G_config.h: Likewise.
7794 * sysdeps/gnu/_G_config.h: Likewise.
7795 * sysdeps/mach/hurd/_G_config.h: Likewise.
7796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7797 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7798 * sysdeps/sparc/bits/mathdef.h: Likewise.
7799
afc5ed09
UD
78002012-01-26 Ulrich Drepper <drepper@gmail.com>
7801
7802 [BZ #13583]
7803 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7804 Clean up HAS_* macros.
afc5ed09 7805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7806 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7807 possible.
7808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7809 HAS_AVX.
7810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7815
bdb6de1d
JM
78162012-01-25 Joseph Myers <joseph@codesourcery.com>
7817
7818 * elf/tst-unique3.cc (gets): Remove declaration.
7819 * elf/tst-unique3lib.cc (gets): Likewise.
7820 * elf/tst-unique3lib2.cc (gets): Likewise.
7821 * elf/tst-unique4.cc (gets): Likewise.
7822
b15549e6
UD
78232012-01-24 Ulrich Drepper <drepper@gmail.com>
7824
7825 * include/stdio.h: Add C++ protection. Add gets declarations and
7826 definitions.
7827 * debug/tst-chk1.c: Don't declare gets here.
7828 * stdio-common/tst-gets.c: Likewise.
7829
a037381f
JM
78302012-01-24 Joseph Myers <joseph@codesourcery.com>
7831
7832 * posix/glob: Remove directory.
7833
f1d4aa75
JM
78342012-01-24 Joseph Myers <joseph@codesourcery.com>
7835
7836 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7837
81c0c964
PT
78382012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7839
7840 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7841 of the non-standard EPFNOSUPPORT.
7842
0ea698ae
ST
78432011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7844
7845 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7846 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7847 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7848
d220b117
UD
78492012-01-21 Ulrich Drepper <drepper@gmail.com>
7850
7851 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7852
3e1aa84e
UD
78532012-01-20 Ulrich Drepper <drepper@gmail.com>
7854
7855 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7856 transient errors.
7857 * nscd/grpcache.c (cache_addgr): Likewise.
7858 * nscd/hstcache.c (cache_addhst): Likewise.
7859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7860 * nscd/pwdcache.c (cache_addpw): Likewise.
7861 * nscd/servicescache.c (cache_addserv): Likewise.
7862
400aa020
UD
78632012-01-16 Ulrich Drepper <drepper@gmail.com>
7864
d77e7869
UD
7865 * malloc/malloc.c: Various cleanups.
7866 * malloc/hooks.c: Likewise.
7867
400aa020
UD
7868 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7869 * stdlib/bug-fmtmsg1.c: New file.
7870
7871 * stdlib/fmtmsg.c (init): Add missing unlock.
7872 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7873
e0a309cf
MP
78742012-01-12 Marek Polacek <polacek@redhat.com>
7875
7876 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7877 and _GNU_SOURCE.
7878
929d11c7
WS
78792012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7880
7881 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7882 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7883 macro to ensure uniqueness of label name.
7884 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7885 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7886
41d0e869
UD
78872012-01-11 Ulrich Drepper <drepper@gmail.com>
7888
0cc5ed3b
UD
7889 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7890
41d0e869
UD
7891 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7892 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7895
a47a831a
UD
78962012-01-10 Ulrich Drepper <drepper@gmail.com>
7897
daa891c0
UD
7898 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7899
7900 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7903
e58ef0f2
UD
7904 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7905
a47a831a 7906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7907 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7910
7911 * math/bits/math-finite.h: Add ldexp support.
7912
a0bfc9c7
MP
79132012-01-10 Marek Polacek <polacek@redhat.com>
7914
7915 * locale/programs/localedef.h (show_archive_content): Add noreturn
7916 attribute.
7917
d6e97a1d
UD
79182012-01-09 Ulrich Drepper <drepper@gmail.com>
7919
7920 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7921
d5835c26
UD
79222012-01-08 Ulrich Drepper <drepper@gmail.com>
7923
e5f484c6
UD
7924 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7925
d5835c26
UD
7926 * io/Makefile (headers): Add bits/poll2.h.
7927
d1f741e9
WS
79282011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7929
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7931 typo #include statement.
7932
ec09c1c4
UD
79332012-01-08 Ulrich Drepper <drepper@gmail.com>
7934
7935 * include/sys/cdefs.h: Define __attribute_alloc_size.
7936 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7937 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7938 * elf/pldd.c: Likewise.
7939 * iconv/iconv_charmap.c: Likewise.
7940 * iconv/iconvconfig.c: Likewise.
7941 * iconv/strtab.c: Likewise.
7942 * locale/programs/locale.c: Likewise.
7943 * locale/programs/localedef.h: Likewise.
7944 * locale/programs/simple-hash.c: Likewise.
7945 * nscd/nscd.h: Likewise.
7946 * nss/makedb.c: Likewise.
7947 * sysdeps/generic/ldconfig.h: Likewise.
7948 * locale/programs/localedef.c: Remove xmalloc prototype.
7949 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7950
20b38e03
PP
79512012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7952
7953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7954 appropriate.
7955
a0da5fe1
UD
79562012-01-08 Ulrich Drepper <drepper@gmail.com>
7957
1d5a644a 7958 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7959 * math/tst-CMPLX.c: New file.
1d5a644a 7960
8784a6db
UD
7961 * math/complex.h (CMPLXL): Fix typo.
7962
d9a216c0
UD
7963 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7964 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7965 GLIBC_2.16.
7966 * debug/tst-chk1.c: Add poll and ppoll tests.
7967 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7968 * include/sys/poll.h: Add hidden proto for ppoll.
7969 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7970 * sysdeps/mach/hurd/ppoll.c: Likewise.
7971 * io/ppoll.c: Likewise.
7972 * debug/poll_chk.c: New file.
7973 * debug/ppoll_chk.c: New file.
7974 * include/bits/poll2.h: New file.
7975 * io/bits/poll2.h: New file.
7976
ac097f5c
UD
7977 [BZ #1350]
7978 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7979
2119dcfa
UD
7980 * configure.in: static is always set to yes. Remove.
7981 * config.make.in: Don't set build-static.
7982 * Makeconfig: Remove use of build-static.
7983 * dlfcn/Makefile: Likewise.
7984 * elf/Makefile: Likewise.
7985 * math/Makefile: Likewise.
7986 * misc/Makefile: Likewise.
7987 * nptl/Makefile: Likewise.
7988 * sysdeps/mach/hurd/Makefile: Likewise.
7989
121766a9
UD
7990 * configure.in: PWD_P is not used anymore.
7991 * config.make.in: Remove PWD_P entry.
7992
51a1d39c 7993 * configure.in: Remove last remnants of RANLIB.
8720d066 7994 No need to check for signed size_t anymore.
215f4bdc
UD
7995 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7996 and IA-64.
3857022a 7997 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7998 * aclocal.m4: Likewise.
7999
d3ed7225
UD
8000 * wcsmbs/mbrtoc16.c: Implement using towc function.
8001 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8002 * wcsmbs/wcsmbsload.c: Likewise.
8003 * iconv/gconv_simple.c: Likewise.
8004 * iconv/gconv_int.h: Likewise.
8005 * iconv/gconv_builtin.h: Likewise.
8006 * iconv/iconv_prog.c: Remove CHAR16 handling.
8007
8008 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8009
8010 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8011
a0da5fe1
UD
8012 * configure.in: Remove --with-elf and --enable-bounded options.
8013 Dont set base_machine for ia64. More non-ELF conditions removed.
8014 Remove testing and setting of leading underscore information.
8015 * config.make.in (build-bounded): Set to no.
8016 * config.h.in: Remove NO_UNDERSCORES entry.
8017 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8018 them.
8019 * csu/start.c: Remove !NO_UNDERSCORE code.
8020 * locale/localeinfo.h: Likewise.
8021 * sysdeps/generic/machine-gmon.h: Likewise.
8022 * sysdeps/generic/sysdep.h: Likewise.
8023 * sysdeps/i386/sysdep.h: Likewise.
8024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8025 * sysdeps/mach/sysdep.h: Likewise.
8026 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8028 * sysdeps/sh/sysdep.h: Likewise.
8029 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8030 * sysdeps/unix/i386/sysdep.S: Likewise.
8031 * sysdeps/unix/sparc/start.c: Likewise.
8032 * sysdeps/unix/sparc/sysdep.S: Likewise.
8033 * sysdeps/unix/sparc/sysdep.h: Likewise.
8034 * sysdeps/unix/start.c: Likewise.
8035 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8036 * sysdeps/x86_64/sysdep.h: Likewise.
8037
df78418a
UD
80382012-01-07 Ulrich Drepper <drepper@gmail.com>
8039
a784e502
UD
8040 [BZ #13553]
8041 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8042 for non-gcc.
8043 * argp/argp-fmtstream.h: Use const instead __const.
8044 * argp/argp.h: Likewise.
8045 * assert/assert.h: Likewise.
8046 * bits/fenv.h: Likewise.
8047 * bits/sched.h: Likewise.
8048 * bits/sigset.h: Likewise.
8049 * bits/sigthread.h: Likewise.
8050 * catgets/nl_types.h: Likewise.
8051 * conform/data/pthread.h-data: Likewise.
8052 * crypt/crypt-private.h: Likewise.
8053 * crypt/crypt.h: Likewise.
8054 * crypt/crypt_util.c: Likewise.
8055 * ctype/ctype.h: Likewise.
8056 * debug/execinfo.h: Likewise.
8057 * debug/mbsnrtowcs_chk.c: Likewise.
8058 * debug/mbsrtowcs_chk.c: Likewise.
8059 * debug/wcsnrtombs_chk.c: Likewise.
8060 * debug/wcsrtombs_chk.c: Likewise.
8061 * debug/wcstombs_chk.c: Likewise.
8062 * dirent/dirent.h: Likewise.
8063 * dlfcn/dlfcn.h: Likewise.
8064 * elf/neededtest4.c: Likewise.
8065 * grp/grp.h: Likewise.
8066 * gshadow/gshadow.h: Likewise.
8067 * iconv/gconv.h: Likewise.
8068 * iconv/gconv_int.h: Likewise.
8069 * iconv/gconv_simple.c: Likewise.
8070 * iconv/iconv.h: Likewise.
8071 * iconv/loop.c: Likewise.
8072 * iconv/skeleton.c: Likewise.
8073 * include/aio.h: Likewise.
8074 * include/aliases.h: Likewise.
8075 * include/argz.h: Likewise.
8076 * include/arpa/inet.h: Likewise.
8077 * include/assert.h: Likewise.
8078 * include/dirent.h: Likewise.
8079 * include/dlfcn.h: Likewise.
8080 * include/execinfo.h: Likewise.
8081 * include/fcntl.h: Likewise.
8082 * include/fenv.h: Likewise.
8083 * include/glob.h: Likewise.
8084 * include/grp.h: Likewise.
8085 * include/libintl.h: Likewise.
8086 * include/mntent.h: Likewise.
8087 * include/netdb.h: Likewise.
8088 * include/pwd.h: Likewise.
8089 * include/rpc/netdb.h: Likewise.
8090 * include/sched.h: Likewise.
8091 * include/search.h: Likewise.
8092 * include/shadow.h: Likewise.
8093 * include/signal.h: Likewise.
8094 * include/stdio.h: Likewise.
8095 * include/stdlib.h: Likewise.
8096 * include/string.h: Likewise.
8097 * include/sys/socket.h: Likewise.
8098 * include/sys/stat.h: Likewise.
8099 * include/sys/statfs.h: Likewise.
8100 * include/sys/statvfs.h: Likewise.
8101 * include/sys/syslog.h: Likewise.
8102 * include/sys/time.h: Likewise.
8103 * include/sys/uio.h: Likewise.
8104 * include/time.h: Likewise.
8105 * include/unistd.h: Likewise.
8106 * include/utmp.h: Likewise.
8107 * include/wchar.h: Likewise.
8108 * include/wctype.h: Likewise.
8109 * inet/aliases.h: Likewise.
8110 * inet/arpa/inet.h: Likewise.
8111 * inet/netinet/ether.h: Likewise.
8112 * inet/netinet/in.h: Likewise.
8113 * intl/libintl.h: Likewise.
8114 * io/bits/fcntl2.h: Likewise.
8115 * io/fcntl.h: Likewise.
8116 * io/ftw.h: Likewise.
8117 * io/sys/poll.h: Likewise.
8118 * io/sys/stat.h: Likewise.
8119 * io/sys/statfs.h: Likewise.
8120 * io/sys/statvfs.h: Likewise.
8121 * io/utime.h: Likewise.
8122 * libio/bits/stdio.h: Likewise.
8123 * libio/bits/stdio2.h: Likewise.
8124 * libio/libio.h: Likewise.
8125 * libio/libioP.h: Likewise.
8126 * libio/stdio.h: Likewise.
8127 * locale/lc-ctype.c: Likewise.
8128 * locale/locale.h: Likewise.
8129 * login/utmp.h: Likewise.
8130 * malloc/arena.c: Likewise.
8131 * malloc/malloc.c: Likewise.
8132 * malloc/malloc.h: Likewise.
8133 * malloc/mcheck.c: Likewise.
8134 * malloc/mtrace.c: Likewise.
8135 * math/bits/mathcalls.h: Likewise.
8136 * math/fenv.h: Likewise.
8137 * math/math_private.h: Likewise.
8138 * misc/bits/error.h: Likewise.
8139 * misc/bits/syslog.h: Likewise.
8140 * misc/err.h: Likewise.
8141 * misc/error.h: Likewise.
8142 * misc/fstab.h: Likewise.
8143 * misc/mntent.h: Likewise.
8144 * misc/regexp.h: Likewise.
8145 * misc/search.h: Likewise.
8146 * misc/sgtty.h: Likewise.
8147 * misc/sys/mman.h: Likewise.
8148 * misc/sys/syslog.h: Likewise.
8149 * misc/sys/uio.h: Likewise.
8150 * misc/sys/xattr.h: Likewise.
8151 * misc/ttyent.h: Likewise.
8152 * nis/rpcsvc/ypclnt.h: Likewise.
8153 * nss/nss.h: Likewise.
8154 * posix/bits/unistd.h: Likewise.
8155 * posix/fnmatch.h: Likewise.
8156 * posix/glob.h: Likewise.
8157 * posix/sched.h: Likewise.
8158 * posix/spawn.h: Likewise.
8159 * posix/sys/wait.h: Likewise.
8160 * posix/unistd.h: Likewise.
8161 * posix/wordexp.h: Likewise.
8162 * pwd/pwd.h: Likewise.
8163 * resolv/netdb.h: Likewise.
8164 * resource/sys/resource.h: Likewise.
8165 * rt/aio.h: Likewise.
8166 * rt/bits/mqueue2.h: Likewise.
8167 * rt/mqueue.h: Likewise.
8168 * shadow/shadow.h: Likewise.
8169 * signal/signal.h: Likewise.
8170 * socket/send.c: Likewise.
8171 * socket/sendto.c: Likewise.
8172 * socket/sys/socket.h: Likewise.
8173 * stdio-common/printf.h: Likewise.
8174 * stdlib/bits/stdlib.h: Likewise.
8175 * stdlib/fmtmsg.h: Likewise.
8176 * stdlib/monetary.h: Likewise.
8177 * stdlib/stdlib.h: Likewise.
8178 * stdlib/ucontext.h: Likewise.
8179 * streams/stropts.h: Likewise.
8180 * string/argz.h: Likewise.
8181 * string/bits/string2.h: Likewise.
8182 * string/string.h: Likewise.
8183 * string/strings.h: Likewise.
8184 * sunrpc/rpc/auth.h: Likewise.
8185 * sunrpc/rpc/auth_des.h: Likewise.
8186 * sunrpc/rpc/clnt.h: Likewise.
8187 * sunrpc/rpc/netdb.h: Likewise.
8188 * sunrpc/rpc/pmap_clnt.h: Likewise.
8189 * sunrpc/rpc/xdr.h: Likewise.
8190 * sysdeps/generic/inttypes.h: Likewise.
8191 * sysdeps/generic/net/if.h: Likewise.
8192 * sysdeps/generic/sys/swap.h: Likewise.
8193 * sysdeps/gnu/net/if.h: Likewise.
8194 * sysdeps/gnu/utmpx.h: Likewise.
8195 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8196 * sysdeps/i386/i486/bits/string.h: Likewise.
8197 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8198 * sysdeps/s390/bits/string.h: Likewise.
8199 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8200 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8201 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8202 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8203 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8204 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8205 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8206 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8207 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8208 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8209 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8210 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8211 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8212 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8213 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8214 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8215 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8219 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8220 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8221 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8223 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8224 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8226 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8227 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8228 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8229 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8230 * sysvipc/sys/ipc.h: Likewise.
8231 * sysvipc/sys/msg.h: Likewise.
8232 * sysvipc/sys/sem.h: Likewise.
8233 * sysvipc/sys/shm.h: Likewise.
8234 * termios/termios.h: Likewise.
8235 * time/sys/time.h: Likewise.
8236 * time/time.h: Likewise.
8237 * wcsmbs/bits/wchar2.h: Likewise.
8238 * wcsmbs/uchar.h: Likewise.
8239 * wcsmbs/wchar.h: Likewise.
8240 * wctype/wctype.h: Likewise.
8241
0269750c
UD
8242 [BZ #13551]
8243 * Makeconfig: Remove all but ELF support including AIX support.
8244 * Makerules: Likewise.
8245 * config.h.in: Likewise.
8246 * config.make.in: Likewise.
8247 * configure: Likewise.
8248 * configure.in: Likewise.
8249 * csu/Makefile: Likewise.
8250 * csu/version.c: Likewise.
8251 * debug/Makefile: Likewise.
8252 * dlfcn/Makefile: Likewise.
8253 * elf/Makefile: Likewise.
8254 * extra-lib.mk: Likewise.
8255 * iconv/Makefile: Likewise.
8256 * include/libc-symbols.h: Likewise.
8257 * include/shlib-compat.h: Likewise.
8258 * resolv/Makefile: Likewise.
8259 * resolv/res_libc.c: Likewise.
8260 * rt/Makefile: Likewise.
8261 * sysdeps/i386/asm-syntax.h: Likewise.
8262 * sysdeps/i386/sysdep.h: Likewise.
8263 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8264 * sysdeps/mach/sysdep.h: Likewise.
8265 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8266 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8267 * sysdeps/s390/asm-syntax.h: Likewise.
8268 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8270 * sysdeps/sh/sysdep.h: Likewise.
8271 * sysdeps/unix/sparc/sysdep.h: Likewise.
8272 * sysdeps/wordsize-32/divdi3.c: Likewise.
8273 * sysdeps/x86_64/sysdep.h: Likewise.
8274
00bbd29b
UD
8275 * argp/Versions: Remove _argp_unlock_xxx.
8276
8277 [BZ #13559]
8278 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8279 * abilist/libBrokenLocale.abilist: Likewise.
8280 * abilist/libanl.abilist: Likewise.
8281 * abilist/libc.abilist: Likewise.
8282 * abilist/libcrypt.abilist: Likewise.
8283 * abilist/libdl.abilist: Likewise.
8284 * abilist/libm.abilist: Likewise.
8285 * abilist/libnsl.abilist: Likewise.
8286 * abilist/libpthread.abilist: Likewise.
8287 * abilist/libresolv.abilist: Likewise.
8288 * abilist/librt.abilist: Likewise.
8289 * abilist/libthread_db.abilist: Likewise.
8290 * abilist/libutil.abilist: Likewise.
8291 * abilist/libnss_db.abilist: New file.
8292
8293 * scripts/abilist.awk: Add support for indirect functions.
8294
a2693a0e
UD
8295 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8296
3f05895f
UD
8297 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8298
ecb6fb48
UD
8299 * shlib-versions: Remove entries for ports architectures.
8300
664f8cb9
UD
8301 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8302 files in ports.
8303 * elf/stackguard-macros.h: Remove support for IA-64.
8304 * elf/tst-auditmod1.c: Likewise.
8305 * sysdeps/generic/ldsodefs.h: Likewise.
8306
7ae81d88
UD
8307 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8308 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8309 configure files.
8310
bdeba135
UD
8311 [BZ #13552]
8312 * configure.in: Remove --enable-omitfp support.
8313 * FAQ.in: Adjust.
8314 * config.make.in: Likewise.
8315 * Makeconfig: Likewise.
8316 * manual/install.texi: Likewise.
8317
d75a0a62
UD
8318 In case anyone cares, the IA-64 architecture could move to ports.
8319 * sysdeps/ia64/*: Removed.
8320 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8321 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8322
dcc9756b
UD
8323 [BZ #13555]
8324 * configure.in: Remove entries for unsupported architectures.
8325
d3761ebc 8326 [BZ #13533]
9954432e
UD
8327 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8328 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8329 routines.
8330 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8331 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8332 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8333 fall back to using wcrtomb.
8334 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8335 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8336 renaming.
8337 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8338 * wcsmbs/tst-c16c32-1.c: New file.
8339
8340 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8341 local variable.
8342
c3a87236
UD
8343 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8344
28926a1b
UD
8345 * elf/tst-unique3.cc: Add explicit declaration of gets.
8346 * elf/tst-unique3lib.cc: Likewise.
8347 * elf/tst-unique3lib2.cc: Likewise.
8348 * elf/tst-unique4.cc: Likewise.
8349
df78418a
UD
8350 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8351
8ecd6b2a
JM
83522012-01-06 Joseph Myers <joseph@codesourcery.com>
8353
8354 [BZ #13566]
8355 * assert/assert.h (static_assert): Don't define for C++.
8356 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8357 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8358
9f115170
UD
83592012-01-03 Ulrich Drepper <drepper@gmail.com>
8360
5e0d0300
UD
8361 * iconv/loop.c (single loop): Fix assertion in storing of
8362 remaining bytes.
8363
9f115170
UD
8364 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8365
81fb02b0
UD
83662012-01-01 Ulrich Drepper <drepper@gmail.com>
8367
8368 * posix/getconf.c: Update copyright year.
8369 * nss/getent.c: Likewise.
a316c1f6 8370 * nss/makedb.c: Likewise.
81fb02b0
UD
8371 * iconv/iconvconfig.c: Likewise.
8372 * iconv/iconv_prog.c: Likewise.
8373 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8374 * elf/pldd.c: Likewise.
8375 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8376 * catgets/gencat.c: Likewise.
8377 * csu/version.c: Likewise.
8378 * elf/ldd.bash.in: Likewise.
8379 * elf/sprof.c (print_version): Likewise.
8380 * locale/programs/locale.c: Likewise.
8381 * locale/programs/localedef.c: Likewise.
a316c1f6 8382 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8383 * nscd/nscd.c (print_version): Likewise.
8384 * debug/xtrace.sh: Likewise.
8385 * malloc/memusage.sh: Likewise.
8386 * malloc/mtrace.pl: Likewise.
8387 * debug/catchsegv.sh: Likewise.
8388
2ba92745
JJ
83892011-12-30 Jakub Jelinek <jakub@redhat.com>
8390
8391 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8392 pure attribute.
8393
dadebdae
UD
83942011-12-24 Ulrich Drepper <drepper@gmail.com>
8395
d3761ebc 8396 [BZ #13533]
db6af3eb
UD
8397 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8398 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8399 transformations.
8400 * iconv/gconv_int.h: Likewise.
8401 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8402 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8403 from libc for GLIBC_2.16.
8404 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8405 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8406 * wcsmbs/uchar.h: Really define mbstate_t.
8407 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8408 * wcsmbs/c16rtomb.c: New file.
8409 * wcsmbs/mbrtoc16.c: New file.
8410 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8411 for C/POSIX locale.
8412 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8413 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8414
dadebdae
UD
8415 * wcsmbs/wchar.h: Add missing __restrict.
8416
67371b56
UD
84172011-12-23 Ulrich Drepper <drepper@gmail.com>
8418
74033a25
UD
8419 [BZ #13532]
8420 * time/Makefile (routines): Add timespec_get.
8421 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8422 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8423 timespec for ISO C11.
8424 * time/timespec_get.c: New file.
8425 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8426 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8427
380d7e87
UD
8428 [BZ #13531]
8429 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8430 * stdlib/stdlib.h: Declare aligned_alloc.
8431 * Versions.def: Add GLIBC_2.16 for libc.
8432 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8433
4e9e7a35
UD
8434 [BZ 13527]
8435 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8436 ISO C11.
8437
380d7e87 8438 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8439 code.
8440
03a71829
UD
8441 [BZ #13528]
8442 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8443
839e283e
UD
8444 [BZ #13529]
8445 * assert/assert.h (static_assert): Define.
8446
ce5294e2 8447 * version.h: Update for 2.16 development version.
90fa7312 8448
8d44e150 8449 [BZ #13526]
d7809905
UD
8450 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8451 _ISOC11_SOURCE.
8452
c0da14cd
UD
8453 * version.h (RELEASE): Bump for 2.15 release.
8454 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8455
530a3249
MP
8456 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8457 Patch by Marek Polacek <mpolacek@redhat.com>.
8458
67371b56
UD
8459 * bits/byteswap.h: Protect long long constants with __extension__.
8460 * sysdeps/i386/bits/byteswap.h: Likewise.
8461 * sysdeps/ia64/bits/byteswap.h: Likewise.
8462 * sysdeps/s390/bits/byteswap.h: Likewise.
8463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8464
15db4de1
LD
84652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8466
8467 [BZ #13540]
bbe315ea
LD
8468 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8469 destination buffer.
15db4de1
LD
8470 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8471
2b2596b1
MP
84722011-12-23 Marek Polacek <polacek@redhat.com>
8473
8474 * elf/dl-addr.c (determine_info): Add inline keyword.
8475 * elf/tst-auditmod4b.c (check_avx): Likewise.
8476 * elf/tst-auditmod6b.c (check_avx): Likewise.
8477 * elf/tst-auditmod6c.c (check_avx): Likewise.
8478 * elf/tst-auditmod7b.c (check_avx): Likewise.
8479
70c6c246
UD
84802011-12-23 Ulrich Drepper <drepper@gmail.com>
8481
8482 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8483 !__SSE_MATH__.
8484
c044cf14
LD
84852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8486
15db4de1 8487 [BZ #13540]
c044cf14
LD
8488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8489 processing for last bytes.
8490
6b13d9d9
BH
84912011-08-06 Bruno Haible <bruno@clisp.org>
8492
d455f537
BH
8493 [BZ #13061]
8494 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8495 U+0385, not to U+1FEE.
8496
6b13d9d9
BH
8497 [BZ #13062]
8498 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8499 entry for U+00A5 U+0301.
8500
db910efd
UD
85012011-12-22 Ulrich Drepper <drepper@gmail.com>
8502
27deeafc
UD
8503 [BZ #13166]
8504 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8505 buffer for the output is too small.
8506
aed9d171
UD
8507 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8508 optimization.
8509
db910efd
UD
8510 [BZ #13185]
8511 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8512 SSE flags if possible.
8513
2bd779ae
LD
85142011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8515
e7f9dac3 8516 [BZ #13540]
2bd779ae
LD
8517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8518 processing for last bytes.
8519
154bfc16
JM
85202011-12-22 Joseph Myers <joseph@codesourcery.com>
8521
8522 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8523 (syscall-list-default-options, syscall-list-default-condition)
8524 (syscall-list-includes): Define.
8525 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8526 list of ABIs and options and #if conditions for each ABI. Do not
8527 handle common syscalls between ABIs specially.
8528 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8529 Remove.
8530 (syscall-list-variants, syscall-list-32bit-options)
8531 (syscall-list-32bit-condition, syscall-list-64bit-options)
8532 (syscall-list-64bit-condition): Define.
8533 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8534 (syscall-list-variants, syscall-list-32bit-options)
8535 (syscall-list-32bit-condition, syscall-list-64bit-options)
8536 (syscall-list-64bit-condition): Define.
8537 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8538 Remove.
8539 (syscall-list-variants, syscall-list-32bit-options)
8540 (syscall-list-32bit-condition, syscall-list-64bit-options)
8541 (syscall-list-64bit-condition): Define.
8542 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8543 Remove.
8544 (syscall-list-variants, syscall-list-32bit-options)
8545 (syscall-list-32bit-condition, syscall-list-64bit-options)
8546 (syscall-list-64bit-condition): Define.
8547
21eaf3a5
UD
85482011-12-22 Ulrich Drepper <drepper@gmail.com>
8549
16c6f992
UD
8550 * locale/iso-639.def: Add brx entry.
8551
41043168
UD
8552 [BZ #13328]
8553 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8554 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8555
21eaf3a5
UD
8556 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8557 __feraiseexcept_renamed.
8558
e3a851a2
UD
85592011-12-21 Ulrich Drepper <drepper@gmail.com>
8560
4920765e
UD
8561 [BZ #13538]
8562 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8563 EPOLLET with unsigned values.
8564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8566
e3a851a2
UD
8567 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8568 to large cancellation.
8569 * math/s_cacoshf.c: Likewise.
8570 * math/s_cacoshl.c: Likewise.
8571
b27e24b8
RK
85722011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8573
8574 [BZ #13305]
aebefeee 8575 [BZ #12786]
b27e24b8
RK
8576 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8577 * math/s_cacoshf.c: Likewise.
8578 * math/s_cacoshl.c: Likewise.
8579
ee190f67
UD
85802011-12-21 Ulrich Drepper <drepper@gmail.com>
8581
8582 [BZ #13439]
8583 * iconv/gconv.h: Define __GCONV_SWAP.
8584 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8585 * iconvdata/utf-16.c: Likewise.
8586 * iconvdata/utf-32.c: Likewise.
8587
707f25df
AS
85882011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8589
8590 [BZ #13524]
8591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8592 numerator after shifting it by one limb.
8593
d2daaa1e
RÁE
85942011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8595
8596 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8597 under [__USE_EXTERN_INLINES].
8598
a4647e72
UD
85992011-12-17 Ulrich Drepper <drepper@gmail.com>
8600
8601 [BZ #13446]
8602 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8603
f0b264f1
AZ
86042011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8605
8606 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8607 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8608 optimized code.
8609 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8610 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8611 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8612 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8613 for strncasecmp/strncasecmp_l compilation.
8614 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8615 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8616
8ef4f244
MP
86172011-12-08 Marek Polacek <mpolacek@redhat.com>
8618
8619 [BZ #13484]
8620 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8621 of __asm__.
8622
97ac2654
UD
86232011-12-17 Ulrich Drepper <drepper@gmail.com>
8624
8625 [BZ #13506]
8626 * time/tzfile.c (__tzfile_read): Check values from file header.
8627
91d2a845
WS
86282011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8629
8630 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8631 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8632 * powerpc/powerpc32/dl-start.S: Likewise.
8633 * powerpc/powerpc32/elf/start.S: Likewise.
8634 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8635 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8636 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8637 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8638 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8639 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8640 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8641 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8642 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8643 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8644 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8645 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8646 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8647 * powerpc/powerpc32/memset.S: Likewise.
8648 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8649 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8650 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8651 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8652 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8653 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8654 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8655 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8656 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8657 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8658 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8659 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8660 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8661
a1267ba1
AZ
86622011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8663
8664 * math/libm-test.inc: Added more nearbyint tests.
8665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8666 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8668 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8669
ad8ac1bd
RL
86702011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8671
8672 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8673 FD_CLOEXEC.
8674
1d3e4b61
UD
86752011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8676
8677 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8678 Add wcscpy-ssse3 wcscpy-c.
8679 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8680 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8681 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8682 * sysdeps/x86_64/wcschr.S: New file.
8683 * sysdeps/x86_64/wcsrchr.S: New file.
8684 * string/test-strcmp.c: Remove checking of wcscmp function for
8685 wrong alignments.
8686 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8687 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8688 wcsrchr-sse2 wcsrchr-c.
8689 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8690 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8691 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8692 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8693 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8694 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8695 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8696 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8697 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8698 * wcsmbc/wcschr.c (WCSCHR): New macro.
8699
5b330a2d
UD
87002011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8701
8702 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8703 * wcsmbs/test-wcsrchr.c: New file.
8704 * string/test-strrchr.c: Add wcsrchr support.
8705 (WIDE): New macro.
8706 * wcsmbs/test-wcscpy.c: New file.
8707 * string/test-strcpy.c: Add wcscpy support.
8708 (WIDE): New macro.
26428b7c 8709
f039c043
UD
87102011-12-10 Ulrich Drepper <drepper@gmail.com>
8711
8712 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8713 the inner loop.
8714
850fb039
AS
87152011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8716
8717 [BZ #13472]
8718 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8719
4efbd5cb
UD
87202011-12-04 Ulrich Drepper <drepper@gmail.com>
8721
52ff5dd0 8722 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8723 Minor optimizations.
52ff5dd0 8724
4efbd5cb
UD
8725 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8726 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8727 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8728
8a426e12
UD
87292011-12-03 Ulrich Drepper <drepper@gmail.com>
8730
aff2453d
UD
8731 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8732 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8733 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8734 for gcc to avoid warnings.
8735 * inet/Makefile (tests): Add tst-checks.
8736 * inet/tst-checks.c: New file.
8737
8738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8739 warning.
8740
8741 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8742 __wmemcmp_sse2.
8743
8744 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8745 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8746
8a426e12
UD
8747 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8748
9bea3473
UD
87492011-12-02 Ulrich Drepper <drepper@gmail.com>
8750
3a965496
UD
8751 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8752 problem.
8753
9bea3473
UD
8754 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8755
f101631b
UD
87562011-11-29 Joseph Myers <joseph@codesourcery.com>
8757
8758 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8759 conditional on GCC version.
8760 (__arch_compare_and_exchange_val_8_acq)
8761 (__arch_compare_and_exchange_val_16_acq)
8762 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8763 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8764 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8765
a98275aa
UD
87662011-12-02 Joseph Myers <joseph@codesourcery.com>
8767
8768 * sysdeps/sh/backtrace.c: New file.
8769
d4cc29a2
AS
87702011-12-02 Andreas Schwab <schwab@redhat.com>
8771
8772 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8773 parenthesis.
8774
6257af2d
AS
87752011-12-01 Andreas Schwab <schwab@redhat.com>
8776
8777 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8778 falling back to utime.
8779
b5f44c1a
AS
87802011-11-30 Andreas Schwab <schwab@redhat.com>
8781
8782 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8783 expectations for float.
8784
f3a6cc0a
AS
87852011-11-29 Andreas Schwab <schwab@redhat.com>
8786
8787 * locale/weight.h (findidx): Add parameter len.
8788 * locale/weightwc.h (findidx): Likewise.
8789 * posix/fnmatch_loop.c (FCT): Adjust caller.
8790 * posix/regcomp.c (build_equiv_class): Likewise.
8791 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8792 * posix/regexec.c (check_node_accept_bytes): Likewise.
8793 * string/strcoll_l.c (STRCOLL): Likewise.
8794 * string/strxfrm_l.c (STRXFRM): Likewise.
8795
9d65ea3a
UD
87962011-11-17 Ulrich Drepper <drepper@gmail.com>
8797
8798 * Makefile.in: Remove CVSOPT handling.
8799 * configure.in: Remove use of AC_REVISION.
8800 * iconvdata/Makefile (distribute): No need to filter out CVS.
8801 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8802 handling.
8803
5583a086
AS
88042011-11-16 Andreas Schwab <schwab@redhat.com>
8805
8806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8807 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8808 [USE_AS_STRNCASECMP_L]: Likewise.
8809 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8810 NO_TLS_DIRECT_SEG_REFS.
8811 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8812 Fix argument offsets for non-PIC.
8813 [USE_AS_STRNCASECMP_L]: Likewise.
8814 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8815 NO_TLS_DIRECT_SEG_REFS.
8816
d62a8200
UD
88172011-11-15 Ulrich Drepper <drepper@gmail.com>
8818
9d65ea3a 8819 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8820 O_CLOEXEC.
8821 * locale/loadlocale.c (_nl_load_locale): Likewise.
8822
09f93bd3
AS
88232011-11-15 Andreas Schwab <schwab@redhat.com>
8824
446514f9
AS
8825 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8826 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8828 (SYSCALL_GETTIME): Set errno on error.
8829
09f93bd3
AS
8830 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8831 count references to noai6ai_cached.
8832
312be3f9
UD
88332011-11-15 Ulrich Drepper <drepper@gmail.com>
8834
8835 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8836
8837 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8838 FD_CLOEXEC for /proc/self/maps.
8839
8840 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8841 FD_CLOEXEC for /proc/meminfo.
8842
8843 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8844 gai.conf.
8845
8846 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8847 FD_CLOEXEC for given file.
8848
8849 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8850
8851 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8852 FD_CLOEXEC for /etc/hosts.
8853 (_gethtent): Likewise.
8854
8855 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8856
8857 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8858 cancellation and set FD_CLOEXEC for /etc/netgroup.
8859
8860 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8861 reading /etc/publickey.
8862
8863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8864 allow cancellation when reading /etc/group.
8865
8866 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8867 cancellation.
8868 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8869
8870 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8871 when using data file.
8872
8873 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8874
8875 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8876 (write_nis_obj): Use "c" and "e" in fopen.
8877
8878 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8879
8880 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8881
8882 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8883
8884 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8885
8886 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8887 locale.alias.
8888
8889 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8890
8891 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8892
8893 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8894
8895 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8896 file parsing and set FD_CLOEXEC.
8897
82af0fa8
UD
88982011-11-14 Ulrich Drepper <drepper@gmail.com>
8899
8900 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8901
a5fb313c
AS
89022011-11-14 Andreas Schwab <schwab@redhat.com>
8903
8904 * malloc/arena.c (arena_get2): Don't call reused_arena when
8905 _int_new_arena failed.
8906
6abf3465
UD
89072011-11-14 Ulrich Drepper <drepper@gmail.com>
8908
8909 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8910 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8915 to compile strcasecmp and strncasecmp.
8916 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8917 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8918
8919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8920
76e3966e
UD
89212011-11-13 Ulrich Drepper <drepper@gmail.com>
8922
8923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8924 locale-defines.sym to gen-as-const-headers.
8925 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8926 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8928 to compile strcasecmp and strncasecmp.
8929 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8930 strcasecmp_l and strncasecmp_l.
8931 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8932 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8933 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8934 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8935 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8936 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8937 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8938 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8939 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8940 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8941 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8942
ab26144e
UD
89432011-11-12 Ulrich Drepper <drepper@gmail.com>
8944
7edb22ef
UD
8945 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8946 result of SYSDEP_GETTIME_CPU to retval.
8947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8948 parameter list to macro. Remove trailing semicolon. Adjust users.
8949
9694fc44
UD
8950 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8951 variable.
8952
8ad89ef8
UD
8953 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8954 mantissa words.
8955 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8956
0c822ef9
UD
8957 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8958 from unused variable.
8959
874e0564
UD
8960 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8961 DWARF definitions.
8962 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8963 for assembling.
8964
3a2edc79
UD
8965 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8966 over namespaces.
8967
f3c2577f
UD
8968 * sunrpc/rpc_prot.c (rejected): Fix case value.
8969
294ce126
UD
8970 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8971 unsigned long long int to avoid warnings in shift.
8972
5e2b63c6
UD
8973 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8974 of use of trans.
8975 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8976 variable tmp.
8977
e7f4b08e
UD
8978 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8979 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8980 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8981
ab26144e
UD
8982 * nis/nis_table.c (nis_list): Use variable of correct type for
8983 result of __follow_path call.
8984
8a6d5255
AZ
89852011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8986
8987 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8988 of math functions ceil, trunc, floor, round, and sqrt, when
8989 avaliable on the platform.
8990 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8991 name clash.
8992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8993 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8994 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8995
aaddc98c
MP
89962011-10-30 Marek Polacek <mpolacek@redhat.com>
8997
8998 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9000
95b7042b
RM
90012011-11-11 Roland McGrath <roland@hack.frob.com>
9002
9003 * include/unistd.h: Fix __readlink return type.
9004 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9005
57769839
UD
90062011-11-11 Ulrich Drepper <drepper@gmail.com>
9007
9008 * stdlib/ucontext.h: Undo last change for makecontext.
9009
edc5984d
AS
90102011-11-11 Andreas Schwab <schwab@redhat.com>
9011
98591e58
AS
9012 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9013
edc5984d
AS
9014 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9015 * setjmp/setjmp.h: Mark functions as non-leaf.
9016 * setjmp/bits/setjmp2.h: Likewise.
9017 * stdlib/ucontext.h: Likewise.
9018
77cdc054
AS
90192011-11-10 Andreas Schwab <schwab@redhat.com>
9020
9021 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9022 (reused_arena): Don't check arena limit.
9023 (arena_get2): Atomically check arena limit.
9024
fe72eebd
UD
90252011-11-08 Ulrich Drepper <drepper@gmail.com>
9026
5f078c32
UD
9027 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9028 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9029
fe72eebd
UD
9030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9031 instructions.
9032
ae1bc2fa
AS
90332011-11-07 Andreas Schwab <schwab@redhat.com>
9034
7583a88d
AS
9035 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9036 handler when locking.
9037
ae1bc2fa
AS
9038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9039 Fix size of allocated buffer.
9040
10fb0bfa
AS
90412011-11-04 Andreas Schwab <schwab@redhat.com>
9042
998832a4
AS
9043 [BZ #10103]
9044 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9045 declarations for long double functions.
9046 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9047
10fb0bfa
AS
9048 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9049
3d7ba52b
AS
90502011-11-03 Andreas Schwab <schwab@redhat.com>
9051
a9ae54a1
AS
9052 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9053 installed.
9054
3d7ba52b
AS
9055 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9056 is disabled.
9057
bc8db248
ST
90582011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9059
9060 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9061
45b96dd6
AS
90622011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9063
647776f6
AS
9064 * include/alloca.h (stackinfo_alloca_round): Define.
9065 (extend_alloca): Use it.
9066 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9067 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9068 here.
9069
d91a8b93
AS
9070 * scripts/check-local-headers.sh: Ignore libaudit.h.
9071
45b96dd6
AS
9072 * nscd/Makefile (extra-objs): Make recursively expanded.
9073
432d41ce
UD
90742011-11-01 Ulrich Drepper <drepper@gmail.com>
9075
34372fc6
UD
9076 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9078
fadb59f8
UD
9079 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9080 * posix/tst-rfc3484-2.c: Likewise.
9081 * posix/tst-rfc3484-3.c: Likewise.
9082
78239589
UD
9083 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9084 process_vm_writev.
9085 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9086 process_vm_writev.
9087 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9088 process_vm_writev from libc using GLIBC_2.15 version.
9089
432d41ce
UD
9090 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9091
02f9c6cf
PP
90922011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9093
9094 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9095 stack usage.
9096
3a2c0242
UD
90972011-10-31 Ulrich Drepper <drepper@gmail.com>
9098
f4ec4833
UD
9099 [BZ #13367]
9100 * nss/getent.c (initgroups_keys): Show error message in case no group
9101 names are given.
9102
3a2c0242
UD
9103 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9104 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9105 __bump_nl_timestamp.
9106 * nscd/connections (nscd_init): When host database is served open
9107 netlink socket and request notification about configuration changes.
9108 (main_loop_poll): Track netlink file descriptor and bump timestamp
9109 in case data becomes available.
9110 (main_loop_epoll): Likewise.
9111 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9112 (database_pers_head): Add extra_data fileds.
9113 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9114 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9115 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9116 Adjust caller.
9117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9118 in6ai data, call __free_in6ai.
9119 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9120 Add -DHAVE_NETLINK.
9121 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9122 interface information. Reuse previous data if netlink timestamp
9123 is not changed.
9124 (__bump_nl_timestamp): New function.
9125 (__free_in6ai): New function.
9126
636064eb
UD
91272011-10-30 Ulrich Drepper <drepper@gmail.com>
9128
9129 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9130 close_not_cancel_no_status here.
9131 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9132
9beb2334
UD
91332011-10-29 Ulrich Drepper <drepper@gmail.com>
9134
6ef76f3b
UD
9135 [BZ #13276]
9136 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9137 return value.
9138
0ffc4f3e 9139 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9140 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9141 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9142
cb95113e
UD
91432011-07-03 Andreas Jaeger <aj@suse.de>
9144
9145 [BZ #10709]
9146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9147 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9148 * math/libm-test.inc (sin_test): Add test case.
9149
a1b560ff
UD
91502011-10-29 Ulrich Drepper <drepper@gmail.com>
9151
c9aaface
UD
9152 [BZ #13337]
9153 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9155
d272e7f1
UD
9156 * elf/chroot_canon.c (chroot_canon): Cleanups.
9157
1bc33071
UD
9158 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9159
1760874d
TJ
9160 [BZ #13335]
9161 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9162 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9163
51d91b18
UD
9164 * string/test-strchr.c: Make usable for strchrnul testing.
9165 * string/test-strchrnul.c: New file.
9166 * string/Makefile (strop-tests): Add strchrnul.
9167
a1b560ff 9168 * po/it.po: Update from translation team.
b611fb81 9169 * po/es.po: Likewise.
a1b560ff 9170
a5b81e1f
UD
91712011-10-28 Ulrich Drepper <drepper@gmail.com>
9172
fd52bc6d
UD
9173 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9174 the three constants needed as parameters. Drop the others.
9175 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9176 __m128i_strloadu_tolower.
52e4b9eb
UD
9177 Create and initialize variable zero and use it in all the places
9178 where _mm_setzero_si128 was used.
fd52bc6d 9179
a5b81e1f
UD
9180 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9181 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9182 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9184 anymore.
9185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9188 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9189 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9190 __mpranred, __mptan.
9191 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9192 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9193 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9194 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9195 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9196 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9197 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9198 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9199 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9200
b4343346
AS
92012011-10-28 Andreas Schwab <schwab@redhat.com>
9202
0c92d8a8
AS
9203 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9204 redefine if SHARED.
9205 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9206
b4343346
AS
9207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9208 wide char related routines to wcsmbs subdir.
9209
3871f58f
AS
92102011-10-27 Andreas Schwab <schwab@redhat.com>
9211
9212 [BZ #13344]
9213 * misc/sys/cdefs.h (__THROWNL): Define.
9214 * posix/unistd.h: Use __THREADNL instead of __THREAD
9215 for memory synchronization functions.
9216
94d44d9f
RM
92172011-10-26 Roland McGrath <roland@hack.frob.com>
9218
21b64b15 9219 [BZ #13349]
94d44d9f
RM
9220 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9221 doesn't exist.
9222 * manual/stdio.texi (Obstack Streams): Node removed.
9223
f6ce9294
AS
92242011-10-26 Andreas Schwab <schwab@redhat.com>
9225
80479147
AS
9226 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9227 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9228 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9229
f6ce9294
AS
9230 * math/math_private.h (math_force_eval): Allow non-addressable
9231 arguments.
9232 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9233
618280a1
UD
92342011-10-25 Ulrich Drepper <drepper@gmail.com>
9235
e0016b11
UD
9236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9237 file is not needed.
9238
9239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9246 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9247 Add AVX variants.
9248 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9255 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9256 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9257 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9258 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9261 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9263 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9264 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9265 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9266 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9267
9268 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9269 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9270
618280a1
UD
9271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9272 place. Use VEX encoding when compiling for AVX.
9273
37822576
AS
92742011-10-25 Andreas Schwab <schwab@redhat.com>
9275
1f1e1947
AS
9276 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9277 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9278
37822576
AS
9279 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9280
31ea014d
UD
92812011-10-25 Ulrich Drepper <drepper@gmail.com>
9282
d7826aa1 9283 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9284 useless if() expression.
d7826aa1
UD
9285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9294 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9297 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9298 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9299 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9303 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9304
31ea014d
UD
9305 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9306
16437fec
AS
93072011-10-25 Andreas Schwab <schwab@redhat.com>
9308
9309 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9310 condition.
9311 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9312
31d3cc00
UD
93132011-10-25 Ulrich Drepper <drepper@gmail.com>
9314
9315 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9316 .text section. Avoid duplicate constants.
9317 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9327 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9329 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9341 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9344 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9345 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9346 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9347 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9348 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9350 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9351 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9352 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9353 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9355 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9359 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9361 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9362
58985aa9
UD
93632011-10-24 Ulrich Drepper <drepper@gmail.com>
9364
202c9deb
UD
9365 * sysdeps/x86_64/dla.h: Move to ...
9366 * sysdeps/x86_64/fpu/dla.h: ...here.
9367 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9368 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9369
af968f62
UD
9370 * config.make.in: Add have-mfma4 entry.
9371 * configure.in: Substitute libc_cv_cc_fma4.
9372 * math/Makefile (dbl-only-routines): Add sincostab.
9373 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9374 Use __sincostab not sincos.
9375 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9376 name is a macro.
9377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9381 using __copysign.
9382 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9383 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9384 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9385 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9386 and __inv.
9387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9388 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9389 __copysign.
9390 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9391 define aliases when function name is a macro.
9392 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9393 sysdeps/ieee754/dbl-64/sincos.tbl.
9394 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9395 fma4-enabled routines.
9396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9397 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9398 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9399 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9401 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9405 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9406 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9408 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9409 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9411 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9412 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9413 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9414 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9416 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9419 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9420 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9422 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9423 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9425 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9426
58985aa9
UD
9427 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9428 rename.
9429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9437
a201fbcf
AS
94382011-10-24 Andreas Schwab <schwab@redhat.com>
9439
9440 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9441
fc2ee42a
LD
94422011-10-23 Ulrich Drepper <drepper@gmail.com>
9443
bb3129bd
UD
9444 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9445
0275fff8
UD
9446 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9447 prediction.
9448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9449
2fa2ae85
UD
9450 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9451 Remove unused variable magic_bits.
9452 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9453
fc2ee42a
LD
9454 * string/strnlen.c: Define and use STRNLEN macro.
9455 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9456 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9458 * wcsmbs/wcslen.c: Define and use WCSLEN.
9459 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9460 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9461 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9462 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9463 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9464 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9465 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9466
ce7dd29f
LD
94672011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9468
9469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9470 strnlen-sse2-no-bsf.
9471 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9473 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9474 Add strnlen support.
9475 (USE_AS_STRNLEN): New macro.
9476 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9477 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9478 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9479 * sysdeps/x86_64/wcslen.S: New file.
9480
979c70a3
MZ
94812011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9482
9483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9484 XMM-moves are used for copying on small sizes.
9485
2d09f82f
LD
94862011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9487
9488 * wcsmbs/Makefile (strop-tests): Add wcschr.
9489 * wcsmbs/test-wcschr.c: New file.
9490 * string/test-strchr.c: Update.
9491 Add wcschr support.
9492 (WIDE): New macro.
9493
619fccca
LD
94942011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9495
2d09f82f 9496 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9497 * wcsmbs/test-wcslen.c: New file.
9498 * string/test-strlen.c: Update.
9499 Add wcslen support.
9500 (WIDE): New macro.
9501
09f699ea
UD
95022011-10-23 Ulrich Drepper <drepper@gmail.com>
9503
9504 * po/it.po: Update from translation team.
9505
95584d3b
LD
95062011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9507
9508 * sysdeps/x86_64/wcscmp.S: Update.
9509 Fix wrong comparison semantics.
9510 wcscmp shall use signed comparison not unsigned.
9511 Don't use substraction to avoid overflow bug.
9512 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9513 * wcsmbc/wcscmp.c: Likewise.
9514 * string/test-strcmp.c: Likewise.
9515 Add new tests to check cases with negative values.
9516
c8b3296b
UD
95172011-10-23 Ulrich Drepper <drepper@gmail.com>
9518
9519 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9520 * sysdeps/x86_64/dla.h: ...here. New file.
9521 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9530
246ad57a
AS
95312011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9534 __ynl_finite aliases.
9535
a1a87169
UD
95362011-10-22 Ulrich Drepper <drepper@gmail.com>
9537
0d355eb7
UD
9538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9539
a1a87169
UD
9540 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9541 define DLA_FMA.
9542 [DLA_FMA] (EMULV): Use DLA_FMA.
9543 [DLA_FMA] (MUL12): Use EMULV.
9544 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9545 that are not needed.
9546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9553
ee2aafe0
AS
95542011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9555
9556 * math/s_nan.c: Undef __nan.
9557 * math/s_nanf.c: Undef __nanf.
9558 * math/s_nanl.c: Undef __nanl.
9559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9560 "math_private.h".
9561
bc62c2fb
UD
95622011-10-22 Ulrich Drepper <drepper@gmail.com>
9563
77425c63
UD
9564 * math/s_catan.c: Add branch predictions.
9565 * math/s_catanf.c: Likewise.
9566 * math/s_catanh.c: Likewise.
9567 * math/s_catanhf.c: Likewise.
9568 * math/s_catanhl.c: Likewise.
9569 * math/s_catanl.c: Likewise.
9570 * math/s_cexp.c: Likewise.
9571 * math/s_cexpf.c: Likewise.
9572 * math/s_cexpl.c: Likewise.
9573 * math/s_clog.c: Likewise.
9574 * math/s_clog10.c: Likewise.
9575 * math/s_clog10f.c: Likewise.
9576 * math/s_clog10l.c: Likewise.
9577 * math/s_clogf.c: Likewise.
9578 * math/s_clogl.c: Likewise.
9579 * math/s_csqrt.c: Likewise.
9580 * math/s_csqrtf.c: Likewise.
9581 * math/s_csqrtl.c: Likewise.
9582 * math/s_ctanf.c: Likewise.
9583 * math/s_ctanh.c: Likewise.
9584 * math/s_ctanhf.c: Likewise.
9585 * math/s_ctanhl.c: Likewise.
9586 * math/s_ctanl.c: Likewise.
9587
bc62c2fb
UD
9588 * math/math_private.h: Define __nan, __nanf, __nanl.
9589 * math/s_cacosh.c: Include <math_private.h>.
9590 * math/s_cacoshl.c: Likewise.
9591 * math/s_casinh.c: Likewise.
9592 * math/s_casinhf.c: Likewise.
9593 * math/s_casinhl.c: Likewise.
9594 * math/s_ccos.c: Rely entire on ccosh.
9595 * math/s_ccosf.c: Rely entire on ccoshf.
9596 * math/s_ccosl.c: Rely entirely on ccoshl.
9597 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9598 Remove tests for FE_INVALID.
9599 * math/s_ccoshf.c: Likewise.
9600 * math/s_ccoshl.c: Likewise.
9601 * math/s_csin.c: Likewise.
9602 * math/s_csinf.c: Likewise.
9603 * math/s_csinh.c Likewise.
9604 * math/s_csinhf.c: Likewise.
9605 * math/s_csinhl.c: Likewise.
9606 * math/s_csinl.c: Likewise.
9607 * math/s_ctan.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9609 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9610 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9611
8ec250a4
UD
96122011-10-21 Ulrich Drepper <drepper@gmail.com>
9613
c196fed8
UD
9614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9615 compilation problems.
9616
8ec250a4
UD
9617 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9618 __builtin_expect.
9619
8d4f46c6
UD
96202011-10-20 Ulrich Drepper <drepper@gmail.com>
9621
ed72b654
UD
9622 * sysdeps/i386/configure.in: Test for -mfma4 option.
9623 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9624 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9625 COMMON_CPUID_INDEX_80000001.
9626 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9627 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9628 use it if FMA3 is not supported.
9629 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9630
8d4f46c6
UD
9631 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9632 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9633
d45c60c2
AS
96342011-10-20 Andreas Schwab <schwab@redhat.com>
9635
9636 [BZ #12892]
9637 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9638 it would create a cycle with a link time dependency.
9639
d9a4d2ab
UD
96402011-10-19 Ulrich Drepper <drepper@gmail.com>
9641
855d1560
UD
9642 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9643 instruction.
9644 * string/Makefile (strop-tests): Add rawmemchr.
9645 * string/test-rawmemchr.c: New file.
9646
d9a4d2ab
UD
9647 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9649 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9650 when compiling str{,n}casecmp and when AVX is available. Hook up
9651 new optimized code in initializers.
9652
8f3b1ffe
AS
96532011-10-19 Andreas Schwab <schwab@redhat.com>
9654
9655 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9656 __feraiseexcept instead of feraiseexcept.
9657
d38f1dba
UD
96582011-10-18 Ulrich Drepper <drepper@gmail.com>
9659
d9a8d0ab
UD
9660 * math/math_private.h: Define defaults for libc_fetestexcept and
9661 libc_feupdateenv.
9662 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9663 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9664 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9665 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9666 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9667 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9668 libc_fetestexcept and libc_feupdateenv.
9669
4855e3dd
UD
9670 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9671 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9672 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9673 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9674 libc_feholdexcept_setround.
9675
581d30e3
UD
9676 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9677 Add s_nearbyint-c and s_nearbyintf-c.
9678 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9679 nearbyintf inlines.
9680 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9681 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9682 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9683 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9684
d38f1dba
UD
9685 * math/math_private.h: Define defaults for libc_fegetround,
9686 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9687 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9688 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9689 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9690 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9691 standard functions.
9692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9693 Remove comments and hacks for old compiler versions.
9694 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9695 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9696 libc_feholdexceptl.
9697
caa6c9d8
AS
96982011-10-18 Andreas Schwab <schwab@redhat.com>
9699
9700 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9701 (__feraiseexcept_renamed): Add __NTH.
9702 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9703 namespace violations.
9704
97c066e6
UD
97052011-10-17 Ulrich Drepper <drepper@gmail.com>
9706
99ce7b04
UD
9707 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9708
1004d182
UD
9709 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9710
228a984d
UD
9711 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9712 recently added interfaces.
9713 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9714
c8553a6a
UD
9715 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9716 about macro parameter expansion.
9717
ed22dcf6
UD
9718 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9719 __NO_MATH_INLINES is defined. Cleanups.
9720
9721 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9722 and __floorf is target has SSE4.1.
9723 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9724 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9725 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9726 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9727
b171c137
UD
9728 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9729 name.
9730 (floorf): Likewise.
9731
97c066e6
UD
9732 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9733
629f62ef
AS
97342011-10-17 Andreas Schwab <schwab@redhat.com>
9735
49a43d80
AS
9736 * misc/sys/cdefs.h: Fix last change.
9737
629f62ef
AS
9738 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9739 database lookup.
9740
e453f6cd
UD
97412011-10-16 Ulrich Drepper <drepper@gmail.com>
9742
aa78043a
UD
9743 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9744
ad0f5cad
UD
9745 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9746 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9751 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9752 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9753 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9754 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9755 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9756 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9757 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9758 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9759 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9760 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9761 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9762 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9763 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9764 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9766 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9767
9768 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9769 ceil, ceilf, floor, floorf.
9770
9771 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9772 Perform IRELATIVE relocations last.
9773
e453f6cd
UD
9774 * elf/do-rel.h: Add another parameter nrelative, replacing the
9775 local variable with the same name. Change name of the function
9776 to end in Rel or Rela (uppercase).
9777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9778 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9779 elf_dynamic_do_##reloc function.
9780
fd5bdc09
UD
97812011-10-15 Ulrich Drepper <drepper@gmail.com>
9782
79b195b5
UD
9783 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9784 is sufficient, at least on modern CPUs.
9785
d4a28569
UD
9786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9787
b61099b5
UD
9788 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9789 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9790
bcf01e6d
UD
9791 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9792 __expl_finite.
9793 * math/bits/math-finite.h: Add entries for exp.
9794 * math/e_expl.c: Add __*_finite alias.
9795 * sysdeps/i386/fpu/e_exp.S: Likewise.
9796 * sysdeps/i386/fpu/e_expf.S: Likewise.
9797 * sysdeps/i386/fpu/e_expl.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9803 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9805
ba1a0d59
UD
9806 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9807 is sufficient, at least on modern CPUs.
9808
fd5bdc09
UD
9809 * ctype/ctype-info.c (__ctype_init): Define.
9810 * include/ctype.h (__ctype_init): Declare.
9811 (__ctype_b_loc): The variable is always initialized.
9812 (__ctype_toupper_loc): Likewise.
9813 (__ctype_tolower_loc): Likewise.
9814 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9815 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9816
7872cfb0
AS
98172011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9818
b468825a
AS
9819 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9820
7872cfb0
AS
9821 * configure.in: Also look in $cxxmachine/include for C++ system
9822 headers.
9823
be13f7bf
LD
98242011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9825
9826 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9827 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9828 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9829 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9830 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9831 (USE_AS_WMEMCMP): New macro.
9832 Fixing indents.
9833 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9834 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9835 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9836 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9838 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9839 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9840 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9841 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9842 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9843 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9844 (USE_AS_WMEMCMP): New macro.
9845 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9846 * sysdeps/string/test-memcmp.c: Update.
9847 Fix simple_wmemcmp.
9848 Add new tests.
9849 * wcsmbs/wmemcmp.c: Update.
9850 (WMEMCMP): New macro.
9851 Fix overflow bug.
9852
556a2007
AJ
98532011-10-12 Andreas Jaeger <aj@suse.de>
9854
9855 [BZ #13268]
9856 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9857
538faaa7
UD
98582011-10-15 Ulrich Drepper <drepper@gmail.com>
9859
ab6737ff
UD
9860 * libio/iofwide.c (do_length): Avoid warning.
9861
538faaa7
UD
9862 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9863
396a21b1
UD
98642011-10-14 Ulrich Drepper <drepper@gmail.com>
9865
cdf2901f
UD
9866 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9867
38ad40ce
UD
9868 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9869 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9870 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9871 * sysdeps/i386/i686/fpu/e_log.S: New file.
9872 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9873 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9874
396a21b1
UD
9875 * ctype/ctype.h: Add support for inlined isXXX functions when
9876 compiling C++ code.
9877
6b1f68c9
AS
98782011-10-14 Andreas Schwab <schwab@redhat.com>
9879
349290c0
AS
9880 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9881
6b1f68c9
AS
9882 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9883
f2282d42
RM
98842011-10-13 Roland McGrath <roland@hack.frob.com>
9885
9886 [BZ #13291]
9887 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9888
5298ffa8
AS
98892011-10-13 Andreas Schwab <schwab@redhat.com>
9890
714fad23
AS
9891 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9892 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9893 feraiseexcept.
9894
81dcc7fb
AS
9895 * sysdeps/x86_64/memrchr.S: Check for zero size.
9896
5298ffa8
AS
9897 * string/stratcliff.c: Add memrchr tests.
9898
951fbcec
LD
98992011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9900
9901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9902 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9903 rawmemchr-sse2 rawmemchr-sse2-bsf.
9904 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9905 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9906 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9907 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9908 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9909 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9910 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9911 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9912 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9913 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9914 * string/memrchr.c (MEMRCHR): New macro.
9915
0ac5ae23
UD
99162011-10-12 Ulrich Drepper <drepper@gmail.com>
9917
9918 Add integration with gcc's -ffinite-math-only and optimize wrapper
9919 functions in libm.
9920 * Versions.def: Define GLIBC_2.15 version for libm.
9921 * math/Makefile (headers): Add bits/math-finite.h.
9922 * math/bits/math-finite.h: New file.
9923 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9924 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9925 * math/e_acoshl.c: Add __*_finite alias.
9926 * math/e_acosl.c: Likewise.
9927 * math/e_asinl.c: Likewise.
9928 * math/e_atan2l.c: Likewise.
9929 * math/e_atanhl.c: Likewise.
9930 * math/e_coshl.c: Likewise.
9931 * math/e_exp10.c: Likewise.
9932 * math/e_exp10f.c: Likewise.
9933 * math/e_exp10l.c: Likewise.
9934 * math/e_exp2l.c: Likewise.
9935 * math/e_fmodl.c: Likewise.
9936 * math/e_gammal_r.c: Likewise.
9937 * math/e_hypotl.c: Likewise.
9938 * math/e_j0l.c: Likewise.
9939 * math/e_j1l.c: Likewise.
9940 * math/e_jnl.c: Likewise.
9941 * math/e_lgammal_r.c: Likewise.
9942 * math/e_log10l.c: Likewise.
9943 * math/e_log2l.c: Likewise.
9944 * math/e_logl.c: Likewise.
9945 * math/e_powl.c: Likewise.
9946 * math/e_sinhl.c: Likewise.
9947 * math/e_sqrtl.c: Likewise.
9948 * math/e_scalb.c: Completely rewritten and optimized.
9949 * math/e_scalbf.c: Likewise.
9950 * math/e_scalbl.c: Likewise.
9951 * math/w_acos.c: Likewise.
9952 * math/w_acosf.c: Likewise.
9953 * math/w_acosl.c: Likewise.
9954 * math/w_acosh.c: Likewise.
9955 * math/w_acoshf.c: Likewise.
9956 * math/w_acoshl.c: Likewise.
9957 * math/w_asin.c: Likewise.
9958 * math/w_asinf.c: Likewise.
9959 * math/w_asinl.c: Likewise.
9960 * math/w_atan2.c: Likewise.
9961 * math/w_atan2f.c: Likewise.
9962 * math/w_atan2l.c: Likewise.
9963 * math/w_atanh.c: Likewise.
9964 * math/w_atanhf.c: Likewise.
9965 * math/w_atanhl.c: Likewise.
9966 * math/w_exp10.c: Likewise.
9967 * math/w_exp10f.c: Likewise.
9968 * math/w_exp10l.c: Likewise.
9969 * math/w_fmod.c: Likewise.
9970 * math/w_fmodf.c: Likewise.
9971 * math/w_fmodl.c: Likewise.
9972 * math/w_j0.c: Likewise.
9973 * math/w_j0f.c: Likewise.
9974 * math/w_j0l.c: Likewise.
9975 * math/w_j1.c: Likewise.
9976 * math/w_j1f.c: Likewise.
9977 * math/w_j1l.c: Likewise.
9978 * math/w_jn.c: Likewise.
9979 * math/w_jnf.c: Likewise.
9980 * math/w_log.c: Likewise.
9981 * math/w_logf.c: Likewise.
9982 * math/w_logl.c: Likewise.
9983 * math/w_log10.c: Likewise.
9984 * math/w_log10f.c: Likewise.
9985 * math/w_log10l.c: Likewise.
9986 * math/w_log2.c: Likewise.
9987 * math/w_log2f.c: Likewise.
9988 * math/w_log2l.c: Likewise.
9989 * math/w_pow.c: Likewise.
9990 * math/w_powf.c: Likewise.
9991 * math/w_powl.c: Likewise.
9992 * math/w_remainder.c: Likewise.
9993 * math/w_remainderf.c: Likewise.
9994 * math/w_remainderl.c: Likewise.
9995 * math/w_scalb.c: Likewise.
9996 * math/w_scalbf.c: Likewise.
9997 * math/w_scalbl.c: Likewise.
9998 * math/w_sqrt.c: Likewise.
9999 * math/w_sqrtf.c: Likewise.
10000 * math/w_sqrtl.c: Likewise.
10001 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10002 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10003 used.
10004 * math/math_private.h: Declare __kernel_standard_f.
10005 * math/w_cosh.c: Remove cruft and optimize a bit.
10006 * math/w_coshf.c: Likewise.
10007 * math/w_coshl.c: Likewise.
10008 * math/w_exp2.c: Likewise.
10009 * math/w_exp2f.c: Likewise.
10010 * math/w_exp2l.c: Likewise.
10011 * math/w_hypot.c: Likewise.
10012 * math/w_hypotf.c: Likewise.
10013 * math/w_hypotl.c: Likewise.
10014 * math/w_lgamma.c: Likewise.
10015 * math/w_lgamma_r.c: Likewise.
10016 * math/w_lgammaf.c: Likewise.
10017 * math/w_lgammaf_r.c: Likewise.
10018 * math/w_lgammal.c: Likewise.
10019 * math/w_lgammal_r.c: Likewise.
10020 * math/w_sinh.c: Likewise.
10021 * math/w_sinhf.c: Likewise.
10022 * math/w_sinhl.c: Likewise.
10023 * math/w_tgamma.c: Likewise.
10024 * math/w_tgammaf.c: Likewise.
10025 * math/w_tgammal.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10028 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10029 Minor optimizations. Pretty printing. Remove cruft.
10030 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10031 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10034 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10035 * sysdeps/i386/fpu/e_asin.S: Likewise.
10036 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10037 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10038 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10039 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10041 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10043 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10044 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10045 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10046 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10047 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10048 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10049 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10050 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10051 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10052 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10053 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10054 * sysdeps/i386/fpu/e_log.S: Likewise.
10055 * sysdeps/i386/fpu/e_log10.S: Likewise.
10056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10057 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10058 * sysdeps/i386/fpu/e_log2.S: Likewise.
10059 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10060 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10061 * sysdeps/i386/fpu/e_logf.S: Likewise.
10062 * sysdeps/i386/fpu/e_logl.S: Likewise.
10063 * sysdeps/i386/fpu/e_pow.S: Likewise.
10064 * sysdeps/i386/fpu/e_powf.S: Likewise.
10065 * sysdeps/i386/fpu/e_powl.S: Likewise.
10066 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10067 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10068 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10069 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10070 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10071 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10072 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10073 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10074 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10096 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10099 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10100 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10101 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10102 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10103 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10104 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10105 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10106 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10107 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10109 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10110 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10111 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10112 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10113 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10115 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10116 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10158 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10160 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10163 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10166 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10167 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10168 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10169 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10170 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10171 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10172 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10173 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10174 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10175 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10176 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10177 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10178 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10179 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10180 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10181 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10183 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10185 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10186 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10187 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10188 (__isnanf): Likewise.
10189 (__isinf_ns): Likewise.
10190 (__isinf_nsf): Likewise.
10191 (__finite): Likewise.
10192 (__finitef): Likewise.
10193 (__ieee754_sqrt): Define as macro.
10194 (__ieee754_sqrtf): Define as macro.
10195 (__ieee754_sqrtl): Define as macro.
10196 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10197 inlined copy.
10198 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10199 __FINITE_MATH_ONLY__ consistent.
10200 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10201
12cc2fcd
AS
102022011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10203
a843a204
AS
10204 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10205 of rawmemchr.
10206
12cc2fcd
AS
10207 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10208
c853acd5
UD
102092011-10-09 Ulrich Drepper <drepper@gmail.com>
10210
10211 * po/ja.po: Update from translation team.
10212
c658d255
RM
102132011-10-08 Roland McGrath <roland@hack.frob.com>
10214
110946e4
RM
10215 * locale/programs/locarchive.c (prepare_address_space): New function.
10216 (create_archive, enlarge_archive, open_archive): Use it.
10217
50604220
RM
10218 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10219 inside [SHARED], where it is used.
10220
c658d255
RM
10221 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10222
10223 * nss/getent.c (netgroup_keys): Remove unused variable.
10224 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10225
6a621eb7
UD
102262011-10-08 Ulrich Drepper <drepper@gmail.com>
10227
7edb55ce
UD
10228 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10229 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10232 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10234 * math/Makefile (libm-calls): Add s_isinf_ns.
10235 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10236 * math/multc3.c: Likewise.
10237 * math/s_casin.c: Likewise.
10238 * math/s_casinf.c: Likewise.
10239 * math/s_casinl.c: Likewise.
10240 * math/s_ccos.c: Likewise.
10241 * math/s_ccosf.c: Likewise.
10242 * math/s_ccosl.c: Likewise.
10243 * math/s_ctan.c: Likewise.
10244 * math/s_ctanf.c: Likewise.
10245 * math/s_ctanh.c: Likewise.
10246 * math/s_ctanhf.c: Likewise.
10247 * math/s_ctanhl.c: Likewise.
10248 * math/s_ctanl.c: Likewise.
10249 * math/w_fmod.c: Likewise.
10250 * math/w_fmodf.c: Likewise.
10251 * math/w_fmodl.c: Likewise.
10252 * math/w_remainder.c: Likewise.
10253 * math/w_remainderf.c: Likewise.
10254 * math/w_remainderl.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10256 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10257 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10259 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10260 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10261 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10262 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10263
187da0ae
UD
10264 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10265 of the number.
10266 * stdio-common/printf_fphex.c: Likewise.
10267 * stdio-common/printf_size.c: Likewise.
10268
9277c064
UD
10269 * math/e_exp10.c: Include math_private.h using <...> not "...".
10270 * math/e_exp10f.c: Likewise.
10271 * math/e_exp10l.c: Likewise.
10272 * math/e_exp2l.c: Likewise.
10273 * math/e_j0l.c: Likewise.
10274 * math/e_j1l.c: Likewise.
10275 * math/e_jnl.c: Likewise.
10276 * math/e_lgammal_r.c: Likewise.
10277 * math/e_rem_pio2l.c: Likewise.
10278 * math/e_scalb.c: Likewise.
10279 * math/e_scalbf.c: Likewise.
10280 * math/e_scalbl.c: Likewise.
10281 * math/k_cosl.c: Likewise.
10282 * math/k_sinl.c: Likewise.
10283 * math/k_tanl.c: Likewise.
10284 * math/s_cacoshf.c: Likewise.
10285 * math/s_catan.c: Likewise.
10286 * math/s_catanf.c: Likewise.
10287 * math/s_catanh.c: Likewise.
10288 * math/s_catanhf.c: Likewise.
10289 * math/s_catanhl.c: Likewise.
10290 * math/s_catanl.c: Likewise.
10291 * math/s_ccosh.c: Likewise.
10292 * math/s_ccoshf.c: Likewise.
10293 * math/s_ccoshl.c: Likewise.
10294 * math/s_cexp.c: Likewise.
10295 * math/s_cexpf.c: Likewise.
10296 * math/s_cexpl.c: Likewise.
10297 * math/s_clog.c: Likewise.
10298 * math/s_clog10.c: Likewise.
10299 * math/s_clog10f.c: Likewise.
10300 * math/s_clog10l.c: Likewise.
10301 * math/s_clogf.c: Likewise.
10302 * math/s_clogl.c: Likewise.
10303 * math/s_csin.c: Likewise.
10304 * math/s_csinf.c: Likewise.
10305 * math/s_csinh.c: Likewise.
10306 * math/s_csinhf.c: Likewise.
10307 * math/s_csinhl.c: Likewise.
10308 * math/s_csinl.c: Likewise.
10309 * math/s_csqrt.c: Likewise.
10310 * math/s_csqrtf.c: Likewise.
10311 * math/s_csqrtl.c: Likewise.
10312 * math/s_ctan.c: Likewise.
10313 * math/s_ctanf.c: Likewise.
10314 * math/s_ctanh.c: Likewise.
10315 * math/s_ctanhf.c: Likewise.
10316 * math/s_ctanhl.c: Likewise.
10317 * math/s_ctanl.c: Likewise.
10318 * math/s_ldexp.c: Likewise.
10319 * math/s_ldexpf.c: Likewise.
10320 * math/s_ldexpl.c: Likewise.
10321 * math/s_significand.c: Likewise.
10322 * math/s_significandf.c: Likewise.
10323 * math/s_significandl.c: Likewise.
10324 * math/w_acos.c: Likewise.
10325 * math/w_acosf.c: Likewise.
10326 * math/w_acosh.c: Likewise.
10327 * math/w_acoshf.c: Likewise.
10328 * math/w_acoshl.c: Likewise.
10329 * math/w_acosl.c: Likewise.
10330 * math/w_asin.c: Likewise.
10331 * math/w_asinf.c: Likewise.
10332 * math/w_asinl.c: Likewise.
10333 * math/w_atan2.c: Likewise.
10334 * math/w_atan2f.c: Likewise.
10335 * math/w_atan2l.c: Likewise.
10336 * math/w_atanh.c: Likewise.
10337 * math/w_atanhf.c: Likewise.
10338 * math/w_atanhl.c: Likewise.
10339 * math/w_cosh.c: Likewise.
10340 * math/w_coshf.c: Likewise.
10341 * math/w_coshl.c: Likewise.
10342 * math/w_dremf.c: Likewise.
10343 * math/w_exp10.c: Likewise.
10344 * math/w_exp10f.c: Likewise.
10345 * math/w_exp10l.c: Likewise.
10346 * math/w_exp2.c: Likewise.
10347 * math/w_exp2f.c: Likewise.
10348 * math/w_fmod.c: Likewise.
10349 * math/w_fmodf.c: Likewise.
10350 * math/w_fmodl.c: Likewise.
10351 * math/w_hypot.c: Likewise.
10352 * math/w_hypotf.c: Likewise.
10353 * math/w_hypotl.c: Likewise.
10354 * math/w_j0.c: Likewise.
10355 * math/w_j0f.c: Likewise.
10356 * math/w_j0l.c: Likewise.
10357 * math/w_j1.c: Likewise.
10358 * math/w_j1f.c: Likewise.
10359 * math/w_j1l.c: Likewise.
10360 * math/w_jn.c: Likewise.
10361 * math/w_jnf.c: Likewise.
10362 * math/w_jnl.c: Likewise.
10363 * math/w_lgamma.c: Likewise.
10364 * math/w_lgamma_r.c: Likewise.
10365 * math/w_lgammaf.c: Likewise.
10366 * math/w_lgammaf_r.c: Likewise.
10367 * math/w_lgammal.c: Likewise.
10368 * math/w_lgammal_r.c: Likewise.
10369 * math/w_log.c: Likewise.
10370 * math/w_log10.c: Likewise.
10371 * math/w_log10f.c: Likewise.
10372 * math/w_log10l.c: Likewise.
10373 * math/w_log2.c: Likewise.
10374 * math/w_log2f.c: Likewise.
10375 * math/w_log2l.c: Likewise.
10376 * math/w_logf.c: Likewise.
10377 * math/w_logl.c: Likewise.
10378 * math/w_pow.c: Likewise.
10379 * math/w_powf.c: Likewise.
10380 * math/w_powl.c: Likewise.
10381 * math/w_remainder.c: Likewise.
10382 * math/w_remainderf.c: Likewise.
10383 * math/w_remainderl.c: Likewise.
10384 * math/w_scalb.c: Likewise.
10385 * math/w_scalbf.c: Likewise.
10386 * math/w_scalbl.c: Likewise.
10387 * math/w_sinh.c: Likewise.
10388 * math/w_sinhf.c: Likewise.
10389 * math/w_sinhl.c: Likewise.
10390 * math/w_sqrt.c: Likewise.
10391 * math/w_sqrtf.c: Likewise.
10392 * math/w_sqrtl.c: Likewise.
10393 * math/w_tgamma.c: Likewise.
10394 * math/w_tgammaf.c: Likewise.
10395 * math/w_tgammal.c: Likewise.
10396
6a621eb7
UD
10397 * po/ja.po: Update from translation team.
10398
bf582445
AJ
103992011-09-29 Andreas Jaeger <aj@suse.de>
10400
f9efbf3a
AJ
10401 [BZ #13179]
10402 * sunrpc/netname.c (netname2host): Fix logic.
10403
bf582445
AJ
10404 [BZ #6779]
10405 [BZ #6783]
10406 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10407 correctly.
10408 * math/w_remainder.c (__remainder): Likewise.
10409 * math/w_remainderf.c (__remainderf): Likewise.
10410 * math/libm-test.inc (remainder_test): Add test cases.
10411
48693bea
AK
104122011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10413
10414 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10415 sdiv_qrnnd.
10416
42622229
LD
104172011-10-07 Ulrich Drepper <drepper@gmail.com>
10418
10419 * string/test-memcmp.c: Avoid unncessary #defines.
10420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10421
093ecf92
LD
104222011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10423
10424 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10425 Use new sse2 version for core i3 - i7 as it's faster
10426 than sse42 version.
10427 (bit_Prefer_PMINUB_for_stringop): New.
10428 * sysdeps/x86_64/rawmemchr.S: Update.
10429 Replace with faster SSE2 version.
10430 * sysdeps/x86_64/memrchr.S: New file.
10431 * sysdeps/x86_64/memchr.S: Update.
10432 Replace with faster SSE2 version.
10433
fde56e5c
MP
104342011-09-12 Marek Polacek <mpolacek@redhat.com>
10435
10436 * elf/dl-load.c (lose): Add cast to avoid warning.
10437
21fd49a9
UD
104382011-10-07 Ulrich Drepper <drepper@gmail.com>
10439
5a06e643
UD
10440 * po/ca.po: Update from translation team.
10441
684ae515
UD
10442 * inet/getnetgrent_r.c: Hook up nscd.
10443 * nscd/Makefile (routines): Add nscd_netgroup.
10444 (nscd-modules): Add netgroupcache.
10445 (CFLAGS-netgroupcache.c): Define.
10446 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10447 (cache_search): Add const to second parameter.
10448 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10449 INNETGR.
10450 (dbs): Add netgrdb entry.
10451 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10452 (verify_persistent_db): Handle netgrdb.
10453 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10454 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10455 GETFDNETGR.
10456 (netgroup_response_header): Define.
10457 (innetgroup_response_header): Define.
10458 (datahead): Add netgroup_response_header and innetgroup_response_header
10459 elements.
10460 * nscd/nscd.conf: Add entries for netgroup cache.
10461 * nscd/nscd.h (dbtype): Add netgrdb.
10462 (_PATH_NSCD_NETGROUP_DB): Define.
10463 (netgroup_iov_disabled): Declare.
10464 (xmalloc, xcalloc, xrealloc): Move declarations here.
10465 (cache_search): Adjust prototype.
10466 Add netgroup-related prototypes.
10467 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10468 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10469 (__nscd_innetgr): Declare.
10470 * nscd/selinux.c (perms): Use access_vector_t as element type and
10471 add netgroup-related initializers.
10472 * nscd/netgroupcache.c: New file.
10473 * nscd/nscd_netgroup.c: New file.
10474 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10475 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10476 For four parameters use innetgr.
10477 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10478 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10479 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10480 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10481
21fd49a9
UD
10482 * nscd/connections.c (register_traced_file): Don't register file
10483 for disabled databases.
10484
054c0457
UD
104852011-10-06 Ulrich Drepper <drepper@gmail.com>
10486
32b63198
UD
10487 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10488
054c0457
UD
10489 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10490 from tree and freeing node.
10491
64031225
JO
104922011-09-25 Jiri Olsa <jolsa@redhat.com>
10493
10494 * nss/nsswitch.c (__nss_database_lookup): Handle
10495 nss_parse_service_list out of memory case.
10496
0490345c
JO
104972011-09-15 Jiri Olsa <jolsa@redhat.com>
10498
10499 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10500 out of memory case.
10501
3a62d00d
AS
105022011-10-04 Andreas Schwab <schwab@redhat.com>
10503
10504 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10505 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10506 pass it down.
10507 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10508 elf_machine_rela, elf_machine_lazy_rel.
10509 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10510 (ELF_DYNAMIC_DO_REL): Likewise.
10511 (ELF_DYNAMIC_DO_RELA): Likewise.
10512 (ELF_DYNAMIC_RELOCATE): Likewise.
10513 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10514 to ELF_DYNAMIC_DO_REL.
10515 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10516 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10517 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10518 elf_machine_rela.
10519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10520 skip_ifunc, don't call ifunc function if non-zero.
10521 (elf_machine_rela): Likewise.
10522 (elf_machine_lazy_rel): Likewise.
10523 (elf_machine_lazy_rela): Likewise.
10524 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10525 (elf_machine_lazy_rel): Likewise.
10526 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10527 Likewise.
10528 (elf_machine_lazy_rel): Likewise.
10529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10530 Likewise.
10531 (elf_machine_lazy_rel): Likewise.
10532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10533 (elf_machine_lazy_rel): Likewise.
10534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10535 (elf_machine_lazy_rel): Likewise.
10536 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10537 (elf_machine_lazy_rel): Likewise.
10538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10539 (elf_machine_lazy_rel): Likewise.
10540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10541 (elf_machine_lazy_rel): Likewise.
10542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10543 (elf_machine_lazy_rel): Likewise.
10544
68577918
UD
105452011-09-28 Ulrich Drepper <drepper@gmail.com>
10546
10547 * nss/nss_files/files-init.c (_nss_files_init): Use static
10548 initialization for all the *_traced_file variables.
10549
68822d74
AS
105502011-09-28 Andreas Schwab <schwab@redhat.com>
10551
10552 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10553
2056100b
RM
105542011-09-27 Roland McGrath <roland@hack.frob.com>
10555
10556 [BZ #13226]
10557 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10558
32c76b63
AS
105592011-09-27 Andreas Schwab <schwab@redhat.com>
10560
10561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10562 Reread the line before reparsing it.
10563
bf972c9d
AS
105642011-09-26 Andreas Schwab <schwab@redhat.com>
10565
10566 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10567
e057a1b5
JM
105682011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10569 Maxim Kuvyrkov <maxim@codesourcery.com>
10570 Joseph Myers <joseph@codesourcery.com>
10571
10572 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10573 if needed for __stack_chk_guard.
10574
bc7e1c36
RM
105752011-09-19 Roland McGrath <roland@hack.frob.com>
10576
ecb1482f
RM
10577 * sysdeps/posix/spawni.c (script_execute): Always define it.
10578 It will be optimized away if unused.
10579 (maybe_script_execute): New function.
10580 (__spawni): Call it.
10581
bc7e1c36
RM
10582 * Makerules: Don't include tls.make.
10583 (config-tls): Always set to thread.
10584 * tls.make.c: File removed.
10585
1c3b002b
MF
105862011-09-19 Mike Frysinger <vapier@gentoo.org>
10587
10588 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10589 * config.make.in (CPPFLAGS-config): New substituted variable.
10590
2840865d
UD
105912011-09-15 Ulrich Drepper <drepper@gmail.com>
10592
88738eb6
UD
10593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10594
cbf645a6 10595 [BZ #13192]
2840865d
UD
10596 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10597 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10598
b402e91a
RM
105992011-09-15 Roland McGrath <roland@hack.frob.com>
10600
10601 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10602 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10604 (CALL_FAIL): Likewise.
10605 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10606 (CALL_FAIL): Macro removed.
10607 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10608
4c1a1f71
UD
106092011-09-15 Ulrich Drepper <drepper@gmail.com>
10610
10611 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10612 for __FINITE_MATH_ONLY__ == 1.
10613
edc121be
AS
106142011-09-15 Andreas Schwab <schwab@redhat.com>
10615
10616 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10617 __ieee754_sqrt instead of sqrt.
10618 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10619 __ieee754_sqrtf instead of sqrtf.
10620 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10621 __floorf instead of floorf.
10622 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10623 __floorf, __truncf instead of floorf, truncf.
10624
cd205654
UD
106252011-09-14 Ulrich Drepper <drepper@gmail.com>
10626
ee4d0315
UD
10627 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10628
cd205654
UD
10629 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10630 __extern_always_inline.
10631 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10632 32-bit.
10633
48b67d71
AS
106342011-09-14 Andreas Schwab <schwab@redhat.com>
10635
10636 * elf/rtld.c (dl_main): Also relocate in dependency order when
10637 doing symbol dependency testing.
10638
1ae12c75
AS
106392011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10640
10641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10642 Always define `refsym'.
10643
995a80df
AS
106442011-09-13 Andreas Schwab <schwab@redhat.com>
10645
e529793b
AS
10646 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10647 (__FD_ELT): Renamed from __FDELT.
10648 * misc/bits/select2.h (__FD_ELT): Likewise.
10649 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10650 __FD_MASK instead of __FDELT, __FDMASK.
10651 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10652 Likewise.
10653 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10654 Likewise.
10655
52d4fef8
AS
10656 * elf/Makefile (gen-ldd): Fix pattern.
10657
995a80df
AS
10658 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10659 (init_tls): Likewise.
10660
8682f8b0
UD
106612011-09-12 Ulrich Drepper <drepper@gmail.com>
10662
10663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10664
de82006d
AS
106652011-09-12 Andreas Schwab <schwab@redhat.com>
10666
a7c8e6a1
AS
10667 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10668 `struct cmsghdr *' instead of `void *'.
10669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10670 Likewise.
10671
0f31fe77
AS
106722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10675 if non-absolute.
10676 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10677 ldd_rewrite_script.
0f31fe77 10678
32b4c839
UD
106792011-09-11 Ulrich Drepper <drepper@gmail.com>
10680
83cd1420
UD
10681 * configure.in: Remove --with-tls option.
10682 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10683 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10684 out in case it is missing.
10685 * sysdeps/ia64/elf/configure.in: Likewise.
10686 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10687 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10688 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10689 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10690 * sysdeps/sh/elf/configure.in: Likewise.
10691 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10692 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10693 * sysdeps/x86_64/elf/configure.in: Likewise.
10694 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10695 * sysdeps/mach/hurd/tls.h: Likewise.
10696
633f745d
UD
10697 [BZ #13067]
10698 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10699
f318beb8
UD
10700 [BZ #13090]
10701 * configure.in: Fix use of AC_INIT.
10702
32b4c839
UD
10703 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10704
3ce1f295
UD
107052011-09-10 Ulrich Drepper <drepper@gmail.com>
10706
bb016596
UD
10707 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10708 __set_errno.
8e58439c
UD
10709 * malloc/hooks.c: Likewise.
10710
aebae053 10711 [BZ #11929]
02d46fc4
UD
10712 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10713 variables statically.
10714 (narenas): Initialize.
10715 (list_lock): Initialize.
bb016596
UD
10716 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10717 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10718 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10719 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10720 Add initializers to main_arena and mp_.
10721 (malloc_state): Remove pagesize member. Change all users to use
10722 GLRO(dl_pagesize).
10723
10724 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10725 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10726 is always initialized.
10727
22a89187
UD
10728 * malloc/malloc.c: Removed unused configurations and dead code.
10729 * malloc/arena.c: Likewise.
10730 * malloc/hooks.c: Likewise.
02d46fc4 10731 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10732
d063d164
UD
10733 * include/tls.h: Removed. USE___THREAD must always be defined.
10734 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10735 * elf/dl-libc.c: Likewise.
10736 * elf/dl-tsd.c: Likewise.
10737 * include/errno.h: Likewise.
10738 * include/netdb.h: Likewise.
10739 * include/resolv.h: Likewise.
10740 * inet/herrno-loc.c: Likewise.
10741 * inet/herrno.c: Likewise.
10742 * malloc/arena.c: Likewise.
10743 * malloc/hooks.c: Likewise.
10744 * malloc/malloc.c: Likewise.
10745 * resolv/res-state.c: Likewise.
10746 * resolv/res_libc.c: Likewise.
10747 * sysdeps/i386/dl-machine.h: Likewise.
10748 * sysdeps/ia64/dl-machine.h: Likewise.
10749 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10750 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10751 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10752 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10753 * sysdeps/sh/dl-machine.h: Likewise.
10754 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10755 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10756 * sysdeps/unix/i386/sysdep.S: Likewise.
10757 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10758 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10763 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10768 * sysdeps/x86_64/dl-machine.h: Likewise.
10769 * tls.make.c: Likewise.
10770
3ce1f295
UD
10771 * configure.in: Remove --with-__thread option. Make tests for
10772 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10773 tls_model attribute fail if no support is available. Remove
10774 USE_IN_LIBIO.
10775 * Makeconfig: Adjust for dropped configure option. All features are
10776 now mandatory.
10777 * Makerules: Likewise.
10778 * Versions.def: Likewise.
10779 * argp/argp-fmtstream.c: Likewise.
10780 * argp/argp-fmtstream.h: Likewise.
10781 * argp/argp-help.c: Likewise.
10782 * assert/assert.c: Likewise.
10783 * config.h.in: Likewise.
10784 * config.make.in: Likewise.
10785 * configure: Likewise.
10786 * configure.in: Likewise.
10787 * csu/Versions: Likewise.
10788 * csu/init.c: Likewise.
10789 * elf/tst-audit2.c: Likewise.
10790 * elf/tst-tls10.c: Likewise.
10791 * elf/tst-tls10.h: Likewise.
10792 * elf/tst-tls11.c: Likewise.
10793 * elf/tst-tls12.c: Likewise.
10794 * elf/tst-tls14.c: Likewise.
10795 * elf/tst-tlsmod11.c: Likewise.
10796 * elf/tst-tlsmod12.c: Likewise.
10797 * elf/tst-tlsmod13.c: Likewise.
10798 * elf/tst-tlsmod13a.c: Likewise.
10799 * elf/tst-tlsmod14a.c: Likewise.
10800 * elf/tst-tlsmod15b.c: Likewise.
10801 * elf/tst-tlsmod16a.c: Likewise.
10802 * elf/tst-tlsmod16b.c: Likewise.
10803 * elf/tst-tlsmod7.c: Likewise.
10804 * elf/tst-tlsmod8.c: Likewise.
10805 * elf/tst-tlsmod9.c: Likewise.
10806 * gmon/gmon.c: Likewise.
10807 * grp/fgetgrent_r.c: Likewise.
10808 * grp/putgrent.c: Likewise.
10809 * hurd/fopenport.c: Likewise.
10810 * include/libc-symbols.h: Likewise.
10811 * include/tls.h: Likewise.
10812 * intl/gettextP.h: Likewise.
10813 * intl/loadinfo.h: Likewise.
10814 * locale/global-locale.c: Likewise.
10815 * locale/localeinfo.h: Likewise.
10816 * mach/devstream.c: Likewise.
10817 * malloc/arena.c: Likewise.
10818 * malloc/set-freeres.c: Likewise.
10819 * misc/err.c: Likewise.
10820 * misc/getttyent.c: Likewise.
10821 * misc/mntent_r.c: Likewise.
10822 * posix/getopt.c: Likewise.
10823 * posix/wordexp.c: Likewise.
10824 * pwd/fgetpwent_r.c: Likewise.
10825 * resolv/Versions: Likewise.
10826 * resolv/res_hconf.c: Likewise.
10827 * shadow/fgetspent_r.c: Likewise.
10828 * shadow/putspent.c: Likewise.
10829 * stdio-common/printf_fphex.c: Likewise.
10830 * stdio-common/tmpfile.c: Likewise.
10831 * stdlib/abort.c: Likewise.
10832 * stdlib/fmtmsg.c: Likewise.
10833 * sunrpc/auth_unix.c: Likewise.
10834 * sunrpc/clnt_perr.c: Likewise.
10835 * sunrpc/clnt_tcp.c: Likewise.
10836 * sunrpc/clnt_udp.c: Likewise.
10837 * sunrpc/clnt_unix.c: Likewise.
10838 * sunrpc/openchild.c: Likewise.
10839 * sunrpc/svc_simple.c: Likewise.
10840 * sunrpc/svc_tcp.c: Likewise.
10841 * sunrpc/svc_udp.c: Likewise.
10842 * sunrpc/svc_unix.c: Likewise.
10843 * sunrpc/xdr.c: Likewise.
10844 * sunrpc/xdr_array.c: Likewise.
10845 * sunrpc/xdr_rec.c: Likewise.
10846 * sunrpc/xdr_ref.c: Likewise.
10847 * sunrpc/xdr_stdio.c: Likewise.
10848
1248c1c4
PB
108492011-09-09 Ulrich Drepper <drepper@gmail.com>
10850
10851 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10852
108532011-07-03 Andreas Jaeger <aj@suse.de>
10854
10855 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10856 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10857 regenerate with gen-libm-tests.pl.
10858
108592010-05-12 Petr Baudis <pasky@suse.cz>
10860
10861 [BZ #11589]
10862 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10863 around j0() zero points by switching to j1().
10864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10868
f22e1074
UD
108692011-09-09 Ulrich Drepper <drepper@gmail.com>
10870
f19009c1
UD
10871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10872 instead of 0.
10873 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10874 instead of 0. .
10875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10876 Patch in part by Pavel Roskin <proski@gnu.org>.
10877
3f8cc204
UD
10878 [BZ #13138]
10879 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10880 realloc.
10881 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10882 Free memory block if necessary.
10883
f22e1074
UD
10884 [BZ #12847]
10885 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10886 be NULL. Don't lock in this case.
10887
0a2349f9
RM
108882011-09-09 Roland McGrath <roland@hack.frob.com>
10889
10890 * elf/elf.h (ELFOSABI_GNU): New macro.
10891 (ELFOSABI_LINUX): Define to that.
10892
f3cdd467
DZ
108932011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10894
10895 * string/strncat.c (strncat): Undef the symbol in case it has been
10896 defined in bits/string.h.
10897
74718d13
UD
108982011-09-09 Ulrich Drepper <drepper@gmail.com>
10899
633e9e0f
UD
10900 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10901
0a2349f9 10902 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10903 link map.
10904
f9924780
AJ
109052011-08-17 Andreas Jaeger <aj@suse.de>
10906
10907 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10908
7f5517aa
PP
109092011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10910 Ian Lance Taylor <iant@google.com>
10911
10912 * math/libm-test.inc (lround_test): New testcase.
10913 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10914
762011fe
UD
109152011-09-08 Ulrich Drepper <drepper@gmail.com>
10916
92963737
UD
10917 * Makefile: Remove support for automatic cvs check-ins.
10918 * Makerules: Likewise.
10919 * config.make.in: Likewise.
10920 * configure.in: Likewise.
10921 * intl/Makefile: Likewise.
10922 * locale/Makefile: Likewise.
10923 * po/Makefile: Likewise.
10924 * posix/Makefile: Likewise.
10925 * sysdeps/gnu/Makefile: Likewise.
10926 * sysdeps/mach/hurd/Makefile: Likewise.
10927 * sysdeps/sparc/sparc32/Makefile: Likewise.
10928
b0727fd8
JS
10929 [BZ #13118]
10930 * posix/Makefile (bug-regex32-ENV): Define.
10931 Patch by John Stanley <jpsinthemix@verizon.net>.
10932
a0f33f99
UD
10933 * misc/Makefile (headers): Add bits/select2.h.
10934 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10935 * misc/bits/select2.h: New file.
10936 * include/bits/select2.h: New file.
10937 * debug/Makefile (routines): Add fdelt_chk.
10938 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10939 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10940 FD_ISSET.
10941 * debug/fdelt_chk.c: New file.
10942
762011fe
UD
10943 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10944 * wcsmbs/test-wmemcmp.c: Likewise.
10945 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10946 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10947
109482011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10949
10950 * string/Makefile (strop-tests): Add memcmp.
10951 * string/test-wmemcmp.c: New file.
10952 * string/test-memcmp.c: Add wmemcmp support.
10953
7f513ec8
RM
109542011-09-08 Roland McGrath <roland@hack.frob.com>
10955
0442afb4
RM
10956 [BZ #13153]
10957 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10958 2011-07-19 change.
10959
7f513ec8
RM
10960 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10961 garbage value in a __mach_port_mod_refs call in the cases of the
10962 task-self and thread-self ports.
10963
a12b2239
ST
109642011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10965
10966 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10967
610f9ab4
AS
109682011-09-08 Andreas Schwab <schwab@redhat.com>
10969
7f513ec8 10970 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10971
48882a1a
LD
109722011-09-07 Ulrich Drepper <drepper@gmail.com>
10973
b49865be
UD
10974 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10975
fdc86bc9
UD
10976 * elf/dl-libc.c (dlerror_run): Pass back error code from
10977 dl_catch_error.
10978
c966526a
UD
10979 [BZ #13123]
10980 * elf/dl-load.c (lose): Free l_origin if it is valid.
10981
48882a1a
LD
10982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10983 names.
10984 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10988 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10989 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10990
77a2a8b4
AZ
109912011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992
10993 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10994 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10996 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10997 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10998 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10999 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11000 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11001 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11002 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11003
24f579d8
AM
110042011-08-15 Alan Modra <amodra@gmail.com>
11005
11006 [BZ #13092]
11007 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11008 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11009 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11010 ppc_mcount to static-only-routines.
11011 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11012 __mcount_internal.
11013 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11014 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11015
3d4837df
UD
110162011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11017
11018 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11019 for finite and infinity parameters.
11020
22700377
WS
110212011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11022
11023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11024 and add nop instructions for throughput optimization.
11025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11026
5025581e
WS
110272011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11028
11029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11030 aligned copy for power7 with vector-scalar instructions.
11031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11032
08a300c9
L
110332011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11036 AVX check.
11037
59178ef9
AS
110382011-09-07 Andreas Schwab <schwab@redhat.com>
11039
11040 [BZ #13144]
11041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11042 last change.
11043
e38ba7ab
UD
110442011-09-07 Ulrich Drepper <drepper@gmail.com>
11045
11046 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11047 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11048 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11049 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11050 clock_gettime.
11051
d53a73ac
UD
110522011-09-06 Ulrich Drepper <drepper@gmail.com>
11053
fc8bffcc
UD
11054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11055 Forgot to demangle the pointer.
11056
ceaa0c5d
UD
11057 * sysdeps/i386/sysdep.h: Define atom_text_section.
11058 * sysdeps/x86_64/sysdep.h: Likewise.
11059 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11060 section with atom_text_section.
11061 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11062 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11063 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11066
a77d3c17
UD
11067 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11068 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11069 already be defined. Change to take two parameters and don't assign
11070 result to variable. Adjust all users.
11071 Define INTERNAL_GETTIME if not already defined.
11072 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11073 call.
11074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11075 HAVE_CLOCK_GETTIME_VSYSCALL.
11076 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11077
d53a73ac
UD
11078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11079 gettimeofday vsyscall, just use time.
11080
a8f84144
AS
110812011-09-06 Andreas Schwab <schwab@redhat.com>
11082
11083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11084 <errno.h>.
11085
ef606249
UD
110862011-09-06 Ulrich Drepper <drepper@gmail.com>
11087
11088 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11089 syscall on x86-64.
11090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11091 syscall.
11092 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11093 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11094 syscall if possible.
11095
6585cb60
UD
110962011-09-05 Ulrich Drepper <drepper@gmail.com>
11097
11098 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11099 e_ident. Don't pass to find_mapsXX.
11100 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11101
a5f524e4
LD
111022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11103
11104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11105 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11106 * sysdeps/x86_64/multiarch/strchr.S: Update.
11107 Check bit_slow_BSF bit.
11108 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11109 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11110 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11111
554881ef
UD
111122011-09-05 Ulrich Drepper <drepper@gmail.com>
11113
d96de963
UD
11114 [BZ #13134]
11115 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11116 before glibc 2.15.
11117 (tryshell): Define.
11118 (__spawni): Change last parameter to be flag. Test
11119 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11120 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11121 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11122 * posix/spawni.c: Likewise.
11123 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11124 * posix/spawnp.c: Likewise. Change normal version to use
11125 SPAWN_XFLAGS_USE_PATH.
11126 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11127 SPAWN_XFLAGS_TRY_SHELL.
11128
d48e5868
UD
11129 [BZ #13150]
11130 * posix/glob.h: Remove gcc 1.x support.
11131
554881ef
UD
11132 [BZ #13068]
11133 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11134
693fb948
LD
111352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11136
11137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11138 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11139 strrchr-sse2-bsf
11140 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11141 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11142 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11144 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11145 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11146
1b48c537
UD
111472011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11148
49d42c37
UD
11149 * sysdeps/x86_64/wcscmp.S: New file.
11150
1b48c537
UD
11151 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11152 wcscmp-c wcscmp-sse2
11153 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11154 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11155 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11156 * wcsmbs/wcscmp.c: Allow renaming.
11157
15c95c5d
DM
111582011-09-05 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11161 stack slot, rather than the struct return pointer slot.
11162 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11163 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11166
2f0ad8f3
UD
111672011-09-05 Ulrich Drepper <drepper@gmail.com>
11168
d88ae418
UD
11169 * po/ja.po: Update from translation team.
11170
2f0ad8f3
UD
11171 [BZ #13144]
11172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11173 kernel in 64-bit binaries.
11174
5f4318d1
DM
111752011-09-01 David S. Miller <davem@davemloft.net>
11176
11177 * elf/elf.h (HWCAP_SPARC_*): Move to..
11178 * sysdeps/sparc/sysdep.h: this new file and add new values.
11179 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11180 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11181 _DL_HWCAP_COUNT to 24.
11182 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11183 entries.
11184 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11185 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11186 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11188 instead of magic constants.
11189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11190
3ba57516
DM
111912011-08-31 David S. Miller <davem@davemloft.net>
11192
11193 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11194 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11195 Reimplement to do errno handling inline.
11196 (SYSCALL_ERROR_HANDLER): New macro.
11197 (__SYSCALL_STRING): Do not do errno handling in asm.
11198 (__CLONE_SYSCALL_STRING): Delete.
11199 (__INTERNAL_SYSCALL_STRING): Delete.
11200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11201 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11202 (PSEUDO): Reimplement to do errno handling inline.
11203 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11204 (SYSCALL_ERROR_HANDLER): New macro.
11205 (__SYSCALL_STRING): Do not do errno handling in asm.
11206 (__CLONE_SYSCALL_STRING): Delete.
11207 (__INTERNAL_SYSCALL_STRING): Delete.
11208 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11209 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11210 i386.
11211 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11212 (inline_syscall*): Add 'err' argument.
11213 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11214 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11215 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11216 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11217
11218 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11219 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11220
2bc17433
AS
112212011-08-30 Andreas Schwab <schwab@redhat.com>
11222
11223 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11224
fbeb5f4d
JO
112252011-08-29 Jiri Olsa <jolsa@redhat.com>
11226
11227 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11228 directive.
11229
ad69cc26
DM
112302011-08-24 David S. Miller <davem@davemloft.net>
11231
11232 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11233
39dd69df
AS
112342011-08-24 Andreas Schwab <schwab@redhat.com>
11235
11236 * elf/Makefile: Add rules to build and run unload8 test.
11237 * elf/unload8.c: New file.
11238 * elf/unload8mod1.c: New file.
11239 * elf/unload8mod1x.c: New file.
11240 * elf/unload8mod2.c: New file.
11241 * elf/unload8mod3.c: New file.
11242
11243 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11244 it wasn't used.
11245
2c0b250a
DM
112462011-08-23 David S. Miller <davem@davemloft.net>
11247
11248 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11249 subtract stack bias.
11250 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11251 %sp not %fp in calculations.
11252 (_JMPBUF_UNWINDS_ADJ): Likewise.
11253
22044b48
DM
11254 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11255 (aio_suspend): Call it to force an exception region around the
11256 AIO_MISC_WAIT() invocation.
11257
2cae4995
AS
112582011-08-23 Andreas Schwab <schwab@redhat.com>
11259
11260 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11261 backslash.
11262
873a772e
AJ
112632011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11264
11265 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11266 protection macro.
11267 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11268 and <dl-machine.h>.
11269 (Elf64_FuncDesc): Remove.
11270
25ad0df1
DM
112712011-08-22 David S. Miller <davem@davemloft.net>
11272
11273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11274 sigaltstack check, add missing cfi directives.
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11276 missing cfi directives, and sigaltstack handling.
11277
e888bcbe
AS
112782011-08-16 Andreas Schwab <schwab@redhat.com>
11279
11280 [BZ #11724]
11281 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11282 object is seen twice.
11283 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11284
11285 * elf/Makefile (distribute): Add tst-initorder2.c.
11286 (tests): Add tst-initorder2.
11287 (modules-names): Add tst-initorder2a tst-initorder2b
11288 tst-initorder2c tst-initorder2d. Add rules to build them.
11289 ($(objpfx)tst-initorder2.out): New rule.
11290 * elf/tst-initorder2.c: New file.
11291 * elf/tst-initorder2.exp: New file.
11292
87162f46
AS
112932011-08-22 Andreas Schwab <schwab@redhat.com>
11294
70538b7f
AS
11295 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11296
f55ffe58
AS
11297 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11298 dependencies back to end of function.
11299
87162f46
AS
11300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11301 $(elfobjdir)/ld.so.
11302
91b392a4
UD
113032011-08-21 Ulrich Drepper <drepper@gmail.com>
11304
11305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11306 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11308 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11309 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11310 of __vdso_gettimeofday.
11311 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11312 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11313 attribute_hidden.
11314 (_libc_vdso_platform_setup): Remove initialization of
11315 __vdso_gettimeofday and __vdso_time.
11316
5c43483f
UD
113172011-08-20 Ulrich Drepper <drepper@gmail.com>
11318
775a77e7
UD
11319 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11320 and fgetc_unlocked.
11321 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11322 getc_unlocked.
89f447ed 11323
49c74ba9
UD
11324 * elf/dl-open.c (add_to_global): Report additions to the global scope
11325 for LD_DEBUG=scopes.
11326 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11327 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11328
5c43483f
UD
11329 [BZ #13114]
11330 * stdio-common/Makefile (tests): Add bug24.
11331 * stdio-common/bug24.c: New file.
11332
a101b025
AJ
113332011-08-19 Andreas Jaeger <aj@suse.de>
11334
11335 [BZ #13114]
11336 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11337 non-existant file when using close-on-exec mode.
11338
c88f1766
UD
113392011-08-20 Ulrich Drepper <drepper@gmail.com>
11340
0276a718
UD
11341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11342 the very first instruction.
11343
c88f1766
UD
11344 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11345 the CFI state in the end.
11346 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11347 inclusion of dl-trampoline.h.
11348 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11349
51ccffa0
AS
113502011-08-19 Andreas Schwab <schwab@redhat.com>
11351
94d7165f
AS
11352 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11353 expectations for long double.
11354
51ccffa0
AS
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11356 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11357
fd708658 113582011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11359
11360 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11361 artificual limit depends upon the system page size.
11362
44f0a71e
UD
113632011-08-17 Ulrich Drepper <drepper@gmail.com>
11364
11365 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11366 * resolv/Makefile: Define CFLAGS-libresolv.
11367
8de79a24
AS
113682011-08-17 Andreas Schwab <schwab@redhat.com>
11369
11370 * nss/makedb.c (compute_tables): Make variables used in nested
11371 function static.
11372
27724598
UD
113732011-08-17 Ulrich Drepper <drepper@gmail.com>
11374
c5305d88
UD
11375 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11376 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11377 if buffer was too small.
11378
27724598
UD
11379 * elf/pldd.c (main): Attach to all threads in the process.
11380 Rewrite /proc handling to use *at functions.
11381
076fe015
UD
113822011-08-16 Ulrich Drepper <drepper@gmail.com>
11383
174baab3
UD
11384 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11385 specifies first scope to show.
11386 (dl_open_worker): Update callers. Move printing scope of new
11387 object to before the relocation.
44f0a71e 11388 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11389 * sysdeps/generic/ldsodefs.h: Update declaration.
11390
076fe015
UD
11391 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11392 string for the scope number.
11393
a60df2c3
UD
113942011-08-14 Ulrich Drepper <drepper@gmail.com>
11395
11396 * nscd/servicescache.c (cache_addserv): Make sure written is always
11397 initialized.
11398
5e4287d1
RM
113992011-08-14 Roland McGrath <roland@hack.frob.com>
11400
85ae0589
RM
11401 * sysdeps/i386/i486/bits/atomic.h
11402 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11403 statement expression, so as to suppress "set but not used" warning.
11404 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11405
69f63097
RM
11406 * string/strncat.c (STRNCAT): Use prototype definition.
11407
675456ef
RM
11408 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11409 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11410 -Iprograms here.
11411 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11412 (localedef-modules): Add localedef.
11413 (locale-modules): Add locale.
11414
5e4287d1
RM
11415 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11416 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11417 to avoid a warning.
11418
9c96ff23
DM
114192011-08-14 David S. Miller <davem@davemloft.net>
11420
11421 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11422 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11423
f9ddf089
UD
114242011-08-13 Ulrich Drepper <drepper@gmail.com>
11425
44f0a71e 11426 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11427 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11428 * elf/rtld.c (dl_main): Set l_name of vDSO.
11429 Call _dl_show_scope when DL_DEBUG_SCOPES.
11430 (process_dl_debug): Recognize scopes flag and also set it for all.
11431 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11432 Declare _dl_show_scope.
11433
1dc27704
UD
11434 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11435 (do_dlopen): Pass caller_dlopen to dl_open.
11436 (__libc_dlopen_mode): Initialize caller_dlopen.
11437
f9ddf089
UD
11438 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11439 of libc. Make tolower call locale-independent. Optimize a bit by
11440 using isdigit instead of isalnum.
11441 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11442
9ac533d3
UD
114432011-08-12 Ulrich Drepper <drepper@gmail.com>
11444
11445 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11446 was a dependency or dynamically loaded.
11447
89edf2e9
UD
114482011-08-11 Ulrich Drepper <drepper@gmail.com>
11449
8e999d29
UD
11450 * intl/l10nflist.c: Allow architecture-specific pop function.
11451 * sysdeps/x86_64/l10nflist.c: New file.
11452
89edf2e9
UD
11453 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11454 classification.
11455
14d96785
AS
114562011-08-10 Andreas Schwab <schwab@redhat.com>
11457
11458 * include/dirent.h: Add libc_hidden_proto for scandirat and
11459 scandirat64. Don't declare __scandirat64.
11460 * dirent/scandirat.c: Add libc_hidden_def.
11461 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11462 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11463
6761ac04
DM
114642011-08-10 David S. Miller <davem@davemloft.net>
11465
11466 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11467 enum.
11468 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11470 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11471
c55fbd1e
UD
114722011-08-09 Ulrich Drepper <drepper@gmail.com>
11473
11474 * Versions.def [libc]: Add GLIBC_2.15.
11475 * dirent/Makefile (routines): Add scandirat and scandirat64.
11476 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11477 GLIBC_2.15.
11478 * dirent/dirent.h: Declare scandirat and scandirat64.
11479 * dirent/scandirat.c: New file.
11480 * dirent/scandirat64.c: New file.
11481 * sysdeps/wordsize-64/scandirat.c: New file.
11482 * sysdeps/wordsize-64/scandirat64.c: New file.
11483 * dirent/opendir.c: Define opendirat.
11484 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11485 using scandirat.
11486 * dirent/scandir64.c: Adjust for scandir.c change.
11487 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11488 __scandirat64, and __scandir_cancel_handler.
11489 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11490 additional parameter and use openat instead of open (outside of ld.so).
11491 Add new __opendir as wrapper around __opendirat.
11492 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11493 here without requiring old scandirat implementation.
11494
879165f2
UD
114952011-08-08 Ulrich Drepper <drepper@gmail.com>
11496
11497 * dirent/scandir.c (cancel_handler): Renamed to
11498 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11499 defined. Adjust users.
11500 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11501 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11502
cb7e923b
UD
115032011-08-04 Ulrich Drepper <drepper@gmail.com>
11504
16292edd
UD
11505 * string/test-string.h (IMPL): Use __STRING to expand name and then
11506 stringify it.
11507
cb7e923b
UD
11508 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11509 of cleanups.
11510
cff82933
LD
115112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11512
11513 * string/Makefile: Update.
11514 (strop-tests): Append strncat.
11515 * string/test-wcscmp.c: New file.
11516 New comprehensive test for wcscmp.
11517 * string/test-strcmp.c: Update.
11518 (WIDE): New define.
11519
9be9bfcc
AS
115202011-07-22 Andreas Schwab <schwab@redhat.com>
11521
11522 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11523 line.
11524
2e96f1c7
AS
115252011-07-26 Andreas Schwab <schwab@redhat.com>
11526
11527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11528 encoding to ACE if AI_IDN.
11529
85188888
JJ
115302011-08-01 Jakub Jelinek <jakub@redhat.com>
11531
11532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11533 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11534
5fa16e9b
LD
115352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11536
11537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11538 Fix overflow bug in strncat.
11539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11540
11541 * string/test-strncat.c: Update.
11542 Add new tests for checking overflow bugs.
11543
115442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11545
11546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11547 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11548 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11549 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11551 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11552 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11553 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11554 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11555
11556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11557 (USE_AS_STRCAT): Define.
11558 Add strcat and strncat support.
11559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11560
8c1a459f
AS
115612011-07-25 Andreas Schwab <schwab@redhat.com>
11562
11563 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11564 __n bigger than INT_MAX+1.
11565 (__strncmp_g): Likewise.
11566
bba33c28
UD
115672011-07-23 Ulrich Drepper <drepper@gmail.com>
11568
798be72d
UD
11569 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11570 * libio/stido.h: Likewise.
11571
8accd4dc
UD
11572 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11573 (AF_NFC): Define.
11574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11575 (AF_NFC): Define.
11576
cbff0d96
UD
11577 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11580 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11582
9191c04a
UD
11583 [BZ #13021]
11584 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11585 installed.
11586
bba33c28
UD
11587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11588 typo.
11589 (_dl_x86_64_save_sse): Likewise.
11590
90f139dd
UD
115912011-07-22 Ulrich Drepper <drepper@gmail.com>
11592
1aae088a
UD
11593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11594 OSXSAVE.
11595 (_dl_x86_64_save_sse): Likewise.
11596
8e2045f5
UD
11597 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11598
90f139dd
UD
11599 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11600
1d002f25
AS
116012011-07-21 Andreas Schwab <schwab@redhat.com>
11602
11603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11604 change.
11605 (_dl_x86_64_save_sse): Use correct AVX check.
11606
21137f89
UD
116072011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11608
11609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11610 bug in strncpy/strncat.
11611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11612
a65c0b7a
UD
116132011-07-21 Ulrich Drepper <drepper@gmail.com>
11614
11615 * string/tester.c (test_strcat): Add tests for different alignments
11616 of source and destination.
11617 (test_strncat): Likewise.
11618
6986b98a
UD
116192011-07-20 Ulrich Drepper <drepper@gmail.com>
11620
90bb2039
UD
11621 [BZ #12852]
11622 * posix/glob.c (glob): Check passed in values before using them in
11623 expressions to avoid some overflows.
11624 (glob_in_dir): Likewise.
11625
5644ef54
UD
11626 [BZ #13007]
11627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11628 check for AVX enablement so that we don't crash with old kernels and
11629 new hardware.
11630 * elf/tst-audit4.c: Add same checks here.
11631 * elf/tst-audit6.c: Likewise.
11632
11633 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11634
bfc9dc9b
AS
116352011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11636
11637 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11638
702e64bb
UD
116392011-07-20 Ulrich Drepper <drepper@gmail.com>
11640
11641 * po/cs.po: Update from translation team.
11642 * po/bg.po: Likewise.
11643
295e904f
MP
116442011-07-12 Marek Polacek <mpolacek@redhat.com>
11645
11646 * misc/sys/cdefs.h: Add support for const attribute.
11647 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11648 to gnu_dev_{major,minor,makedev} functions.
11649
3ff94596
MP
116502011-07-20 Marek Polacek <mpolacek@redhat.com>
11651
11652 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11653
28b59fca
AS
116542011-07-20 Andreas Schwab <schwab@redhat.com>
11655
11656 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11657 strlen results.
11658
19df733e
AK
116592011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11660
11661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11662 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11663 register in order to avoid conflicts with the soft frame pointer
11664 being held in r11 when necessary.
11665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11666 (INTERNAL_VSYSCALL_NCS): Likewise.
11667
c8835729
MP
116682011-07-14 Marek Polacek <mpolacek@redhat.com>
11669
11670 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11671 * elf/dl-fini.c (_dl_fini): Adjust caller.
11672 * elf/dl-close.c (_dl_close_worker): Likewise.
11673 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11674
b902330c
MP
116752011-07-15 Marek Polacek <mpolacek@redhat.com>
11676
8991e135
MP
11677 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11678 "aux_cache->nlibs < 0".
11679
b902330c
MP
11680 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11681 in the reload-count case.
11682
99710781
LD
116832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11684
11685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11686 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11687 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11688 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11689 * sysdeps/x86_64/multiarch/strcat.S: New file.
11690 * sysdeps/x86_64/multiarch/strncat.S: New file.
11691 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11692 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11693 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11694 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11696 (USE_AS_STRCAT): Define.
11697 Add strcat and strncat support.
11698 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11700 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11701 * string/strncat.c: Update.
11702 (USE_AS_STRNCAT): Define.
11703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11704 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11705 and i7.
11706 * sysdeps/x86_64/multiarch/init-arch.h
11707 (bit_Prefer_PMINUB_for_stringop): New.
11708 (index_Prefer_PMINUB_for_stringop): Likewise.
11709 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11710 bit_Prefer_PMINUB_for_stringop.
11711
7dc6bd90
UD
117122011-07-19 Ulrich Drepper <drepper@gmail.com>
11713
11714 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11715 buffer64.
11716 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11717 of casting of buffer.
11718 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11719 buffer32 and buffer64.
11720 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11721 writes instead of casting of buffer.
11722 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11723 buffer32.
11724 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11725 casting of buffer.
11726
e0e72284
AS
117272011-07-19 Andreas Schwab <schwab@redhat.com>
11728
11729 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11730
feb1eb0b
UD
117312011-07-19 Ulrich Drepper <drepper@gmail.com>
11732
11733 * nscd/nscd.c (termination_handler): Don't do anything for a database
11734 if it has not yet been initialized.
11735
298711ff
UD
117362011-07-18 Ulrich Drepper <drepper@gmail.com>
11737
11738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11739
117402011-07-15 Marek Polacek <mpolacek@redhat.com>
11741
11742 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11743
f9d68389
UD
117442011-07-18 Ulrich Drepper <drepper@gmail.com>
11745
11746 * po/nl.po: Update from translation team.
11747 * po/sv.po: Likewise.
11748
db290cf5
RM
117492011-07-16 Roland McGrath <roland@hack.frob.com>
11750
11751 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11752 now disallowed by GCC.
5c550700 11753
fd5e21c7
RM
11754 * configure.in (use-default-link): Default to yes if a test -shared
11755 link meets our qualifications.
11756 * configure: Regenerated.
11757
5c550700
RM
11758 * config.make.in (output-format): New variable.
11759 * configure.in: Check for ld --print-output-format support.
11760 * configure: Regenerated.
11761 * Makerules ($(common-objpfx)format.lds)
11762 [$(output-format) != unknown]: Just use $(output-format),
11763 instead of the linker-script munging.
11764
9fa2c032
RM
117652011-07-14 Roland McGrath <roland@hack.frob.com>
11766
a6928d51
RM
11767 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11768 of $(common-objpfx)shlib.lds.
11769 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11770
661607b3
RM
11771 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11772 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11773
9fa2c032
RM
11774 * configure.in (-z relro check): Adjust test code to add a large
11775 writable data section after it.
11776 * configure: Regenerated.
11777
defe9061
RM
117782011-07-11 Roland McGrath <roland@hack.frob.com>
11779
11780 * configure.in (-z relro check): Fix test code to make the variable
11781 truly const.
11782 * configure: Regenerated.
11783
319b9ad4
UD
117842011-07-11 Ulrich Drepper <drepper@gmail.com>
11785
11786 * nscd/nscd.h (struct traced_file): Define.
11787 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11788 elements. Add traced_files.
11789 (inotify_fd): Declare.
11790 (register_traced_file): Declare.
11791 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11792 (inotify_fd): Export.
11793 (resolv_conf_descr): Remove.
11794 (nscd_init): Move inotify descriptor creation to main.
11795 Don't register files for notification here.
11796 (register_traced_file): New function.
11797 (invalidate_cache): Don't use reset_res to determine whether to call
11798 res_init, go through the list of registered files.
11799 (main_loop_poll): The inotify descriptors are now stored in the
11800 structures for the traced files.
11801 (main_loop_epoll): Likewise
11802 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11803 to __nss_disable_nscd.
11804 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11805 for a database anymore. Check the records for all the registered
11806 files instead.
11807 * nss/Makefile (libnss_files-routines): Add files-init.
11808 (libnss_db-routines): Add db-init.
11809 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11810 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11811 * nss/nss_db/db-init.c: New file.
11812 * nss/nss_files/files-init.c: New file.
11813 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11814 __nss_lookup_function.
11815 (__nss_lookup_function): Call nss_load_library.
11816 (nss_load_all_libraries): New function.
11817 (__nss_disable_nscd): Take parameter with callback function for files
11818 to register. Set is_nscd. Load all the DSOs for the NSS modules
11819 used for the cached services.
11820 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11821 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11822 options for features to all the files in nscd.
11823
11824 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11825
23bee3e8
RM
118262011-07-10 Roland McGrath <roland@hack.frob.com>
11827
11828 * csu/elf-init.c (__libc_csu_init): Comment typo.
11829
46a5b7f0
UD
118302011-07-09 Ulrich Drepper <drepper@gmail.com>
11831
11832 * po/pl.po: Update from translation team.
11833 * po/ja.po: Likewise.
11834 * po/ru.po: Likewise.
11835 * po/ko.po: Likewise.
11836 * po/fr.po: Likewise.
11837
d30cf5bb
RM
118382011-07-09 Roland McGrath <roland@hack.frob.com>
11839
113ddea4
RM
11840 * configure.in (.ctors/.dtors header and trailer check):
11841 Use an empirical test on a built program.
11842 * configure: Regenerated.
11843
574920b4
RM
11844 * configure.in (-z relro check): Use an empirical test on a built DSO.
11845 Detect, but do not require, on ia64.
11846 * configure: Regenerated.
11847
d30cf5bb
RM
11848 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11849 Update tests that use readelf to use $READELF instead.
11850 * configure: Regenerated.
11851
8538fdb3
UD
118522011-07-08 Ulrich Drepper <drepper@gmail.com>
11853
11854 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11855 if the result is not used.
11856
04d08991
AJ
118572011-07-05 Andreas Jaeger <aj@suse.de>
11858
11859 [BZ#9696]
11860 * stdlib/tst-strtod.c: Add testcase.
11861
de283087
AD
118622011-07-07 Ulrich Drepper <drepper@gmail.com>
11863
4e5f31c8 11864 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11865 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11866 The latter has a higher limit. Take additional parameter to pass to
11867 the new function.
11868 (__pathconf): Pass file to __statfs_link_max.
11869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11870 __statfs_link_max.
11871 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11872 __statfs_link_max.
11873
de283087
AD
11874 [BZ #12868]
11875 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11876 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11877 Handle Lustre.
11878 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11879 (__statfs_filesize_max): Likewise.
11880 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11881
c75fa153
AJ
118822011-07-05 Andreas Jaeger <aj@suse.de>
11883
11884 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11885
1a544854
UD
118862011-07-06 Marek Polacek <mpolacek@redhat.com>
11887
11888 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11889 `status' variable.
11890 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11891 Likewise.
11892
6f0eec67
UD
118932011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11894
11895 * Makefile (strop-tests): Add strncat.
11896 * string/test-strncat.c: New file.
11897
aae30307
UD
118982011-06-30 Marek Polacek <mpolacek@redhat.com>
11899
11900 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11901
c0cfb5eb
UD
119022011-06-21 Andreas Jaeger <aj@suse.de>
11903
11904 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11905 Copy rule from iconvdata/Makefile.
11906
01636b21
UD
119072011-07-06 Ulrich Drepper <drepper@gmail.com>
11908
11909 [BZ #12922]
11910 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11911 but no long options are defined, just return 'W'.
11912
9895c8bc
UD
119132011-06-22 Marek Polacek <mpolacek@redhat.com>
11914
11915 [BZ #9696]
11916 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11917
5d4cf042
UD
119182011-07-06 Ulrich Drepper <drepper@gmail.com>
11919
11920 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11921 netgroups to read.
960e5535 11922 (innetgr): Likewise.
5d4cf042 11923
751eb97e
RM
119242011-07-05 Roland McGrath <roland@hack.frob.com>
11925
11926 * config.make.in (install_root): Default to $(DESTDIR).
11927
f15f1e45
UD
119282011-07-05 Ulrich Drepper <drepper@gmail.com>
11929
11930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11931
4e34ac6a
RM
119322011-07-02 Roland McGrath <roland@hack.frob.com>
11933
5e9b6af4
RM
11934 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11935
84f9ea0f
RM
11936 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11937 containing directory rather than embedding absolute directory names.
11938
ea5ee9f7
RM
11939 * scripts/check-local-headers.sh: Rewritten using awk.
11940 Match by word, not by line. Print error messages for matches.
11941 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11942
1b74661a
RM
11943 * Makerules [shlib-lds-flags empty]:
11944 ($(common-objpfx)libc_pic.opts): New target.
11945 ($(common-objpfx)libc_pic.os.clean): New target.
11946 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11947
11948 * config.make.in (OBJCOPY): New variable.
11949 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11950 * configure: Regenerated.
11951
f781ef40
RM
11952 * config.make.in (use-default-link): New variable.
11953 * configure.in (use_default_link): Grok --with-default-link to set it.
11954 * configure: Regenerated.
11955 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11956 (shlib-lds, shlib-lds-flags): Define to empty.
11957
2d4fa81e
RM
11958 * Makerules (shlib-lds): New variable.
11959 (shlib-lds-flags): New variable.
11960 (build-shlib, build-moduile, build-module-asneeded): Use it.
11961 ($(common-objpfx)libc.so): Use $(shlib-lds).
11962 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11964
31fffa6b
RM
11965 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11966 DT_FLAGS/DT_FLAGS_1 with zero flags.
11967
4e34ac6a
RM
11968 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11969 linker script munging.
11970
fcfc776b
UD
119712011-07-02 Ulrich Drepper <drepper@gmail.com>
11972
11973 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11974 as 128-bit value.
11975 * crypt/sha512.c (sha512_process_block): Perform total addition using
11976 128-bit if possible.
11977 (__sha512_finish_ctx): Likewise.
11978 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11979 as 64-bit value.
11980 * crypt/sha256.c (SWAP64): Define.
11981 (sha256_process_block): Perform total addition using 64-bit if
11982 possible.
11983 (__sha256_finish_ctx): Likewise.
11984
99231d9a
UD
119852011-07-01 Ulrich Drepper <drepper@gmail.com>
11986
11987 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11989 * nscd/hstcache.c (cache_addhst): Likewise.
11990 * nscd/grpcache.c (cache_addgr): Likewise.
11991 * nscd/aicache.c (addhstaiX): Likewise
11992 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11993
445b4a53
TK
119942011-07-01 Thorsten Kukuk <kukuk@suse.de>
11995
11996 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11998 * nscd/hstcache.c (cache_addhst): Likewise.
11999 * nscd/grpcache.c (cache_addgr): Likewise.
12000 * nscd/aicache.c (addhstaiX): Likewise
12001
6d4d8e8e
AS
120022011-07-01 Andreas Schwab <schwab@redhat.com>
12003
12004 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12005 domain only when needed.
12006
89f654c5
AS
120072011-06-30 Andreas Schwab <schwab@redhat.com>
12008
12009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12010 is always restored.
12011
cf3b23ff
UD
120122011-06-29 Ulrich Drepper <drepper@gmail.com>
12013
12014 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12015 are re-adding the entry.
12016 * nscd/servicescache.c (cache_addserv): Likewise.
12017
751626f9
AJ
120182011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12019
12020 * sysdeps/generic/dl-irel.h: fix protection against multiple
12021 inclusions.
12022 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12023
9113ea1f
UD
120242011-06-28 Ulrich Drepper <drepper@gmail.com>
12025
5c0b8d90
UD
12026 [BZ #12935]
12027 * malloc/memusage.sh: Fix quoting in message.
12028 * debug/xtrace.sh: Likewise.
12029
9113ea1f
UD
12030 * configure.in: Remove support for --experimental-malloc option, make
12031 it the default.
12032 * config.make.in: Likewise.
12033 * malloc/Makefile: Likewise.
12034
a4172181
AS
120352011-06-27 Andreas Schwab <schwab@redhat.com>
12036
12037 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12038 two-byte characters.
12039
78a7eee7
RM
120402011-06-27 Roland McGrath <roland@hack.frob.com>
12041
62bede13
RM
12042 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12043 AC_CACHE_CHECK invocation.
12044 * configure: Regenerated.
12045
78a7eee7
RM
12046 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12047
5ce33a62
UD
120482011-06-27 Ulrich Drepper <drepper@gmail.com>
12049
034807a9
UD
12050 [BZ #12350]
12051 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12052 bit from old_res_options.
12053
4902da17
UD
12054 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12055
5ce33a62
UD
12056 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12057 value type for setfct.
12058
c2344f56
L
120592011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12062 __gettimeofday instead of gettimeofday.
12063
68468076
UD
120642011-06-26 Ulrich Drepper <drepper@gmail.com>
12065
12066 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12067
acb0d739
L
120682011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12069
12070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12071
12072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12073 info.
12074
8912479f
L
120752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12076
12077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12078 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12079 strcpy-sse2-unaligned strncpy-sse2-unaligned
12080 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12081 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12082 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12083 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12084 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12085 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12087 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12088 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12089 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12090 (STRCPY): Support SSE2 and SSSE3 versions.
12091
d5495a11
UD
120922011-06-24 Ulrich Drepper <drepper@gmail.com>
12093
12094 [BZ #12874]
12095 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12096 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12097 kernels which artificially limit size of requests.
12098
0b1cbaae
L
120992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12100
12101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12102 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12103 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12104 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12105 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12106 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12107 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12108 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12111 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12112 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12113 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12114 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12115 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12117 Enable unaligned load optimization for Intel Core i3, i5 and i7
12118 processors.
12119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12120 Define.
12121 (index_Fast_Unaligned_Load): Define.
12122 (HAS_FAST_UNALIGNED_LOAD): Define.
12123
07f494a0
MP
121242011-06-23 Marek Polacek <mpolacek@redhat.com>
12125
12126 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12127
fa3fc0fe
UD
121282011-06-22 Ulrich Drepper <drepper@gmail.com>
12129
12130 [BZ #12907]
12131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12132 until it is clear that the information is realy needed.
12133 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12134
e12df166
AS
121352011-06-22 Andreas Schwab <schwab@redhat.com>
12136
12137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12138
852eb34d
UD
121392011-06-22 Ulrich Drepper <drepper@gmail.com>
12140
84e2a551
UD
12141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12142 /sys/devices/system/cpu/online if it is usable.
12143
852eb34d
UD
12144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12145 reading the information from the /proc filesystem to once a second.
12146
6e502e19
UD
121472011-06-21 Andreas Jaeger <aj@suse.de>
12148
12149 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12150 NULL after inclusion of kernel headers.
12151
75d39ff2
UD
121522011-06-21 Ulrich Drepper <drepper@gmail.com>
12153
51f9aa6a
UD
12154 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12155 calls to internal_setent.
12156
c0244a9d
UD
12157 [BZ #12885]
12158 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12159 addresses using gethostbyname4_r ignore IPv4 addresses.
12160
c5e3c2ae
UD
12161 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12162 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12163
75d39ff2
UD
12164 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12165
42675c6f
DM
121662011-06-20 David S. Miller <davem@davemloft.net>
12167
12168 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12169 inclusions.
12170 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12171
12172 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12173 (elf_irel): Use it.
12174 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12175 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12176 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12177 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12178 * sysdeps/x86_64/dl-irel.h: Likewise.
12179
12180 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12181 * elf/dl-sym.c: Likewise.
12182
57912a71
UD
121832011-06-15 Ulrich Drepper <drepper@gmail.com>
12184
12185 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12186 need to dereference resplen2.
12187
ee22793d
AS
121882011-06-14 Andreas Schwab <schwab@redhat.com>
12189
12190 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12191
a9e836b0
UD
121922011-06-15 Ulrich Drepper <drepper@gmail.com>
12193
77fb9117
UD
12194 * Makeconfig: Define vardbdir and inst_vardbdir.
12195 * nss/Makefile: Add rules to install db-Makefile.
12196
40c1b22c
UD
12197 * nss/nss_db/db-XXX.c: Cleanup.
12198
9f2da732
UD
12199 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12200 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12201 GLIBC_PRIVATE.
12202 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12203 * nss/makedb.c: Implement -g option to specify that value strings
12204 are generated and should not be added to table iterated over for
12205 get*ent calls.
12206 * nss/nss_db/db-initgroups.c: New file.
12207
82e9a1f7
UD
12208 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12209 interface.
12210
c41af17e
UD
12211 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12212 (internal_getgrouplist): Adjust to name change.
12213 Update use_initgroups_entry if this is not the first call.
12214 * nss/databases.def: Add initgroups entry.
12215
a9e836b0
UD
12216 * nss/makedb.c (compute_tables): Check result of multiple hash table
12217 sizes to minimize maximum chain length.
12218
2666d441
UD
122192011-06-14 Ulrich Drepper <drepper@gmail.com>
12220
12221 * Versions.def: Add entry for libnss_db.
12222 * shlib-versions: Likewise.
12223 * nss/Makefile: Add rules to build libnss_db.
12224 * nss/Versions: Add libnss_db information. Organize libnss_files
12225 entries better.
12226 * nss/db-Makefile: Add gshadow support. Change rules for the new
12227 makedb progra. Some minor improvements to generate smaller files.
12228 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12229 here from...
12230 * nss/makedb.c: ...here.
12231 Improve database format to be smaller and require less memory at
12232 runtime.
12233 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12234 db anymore.
12235 * nss/nss_db/db-netgrp.c: Likewise.
12236 * nss/nss_db/db-open.c: Likewise.
12237 * nss/nss_files/flies-XXX.x: Adjust comments.
12238 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12239 * nss/nss_files/files-grp.c: Likewise.
12240 * nss/nss_files/files-hosts.c: Likewise.
12241 * nss/nss_files/files-network.c: Likewise.
12242 * nss/nss_files/files-proto.c: Likewise.
12243 * nss/nss_files/files-pwd.c: Likewise.
12244 * nss/nss_files/files-rpc.c: Likewise.
12245 * nss/nss_files/files-service.c: Likewise.
12246 * nss/nss_files/files-sgrp.c: Likewise.
12247 * nss/nss_files/files-spwd.c: Likewise.
12248 * nss/nss_db/db-alias.c: Removed.
12249 * nss/nss_db/dummy-db.h: Removed.
12250
9ee76b5a
UD
122512011-06-02 Ulrich Drepper <drepper@gmail.com>
12252
12253 * nss/makedb.c: Rewritten to not use database library.
12254 * nss/Makefile: Update to build new makedb program.
12255
c71ca1f8
AJ
122562011-06-14 Andreas Jaeger <aj@suse.de>
12257
12258 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12259 memset declaration.
12260
3154bfb8
UD
122612011-06-10 Andreas Schwab <schwab@redhat.com>
12262
12263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12264 tmpbuf.
12265
b350afab
RM
122662011-06-10 Roland McGrath <roland@hack.frob.com>
12267
decd4e50
RM
12268 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12269 * elf/Makefile ($(objpfx)ld.so): Likewise.
12270
5615eaf2
RM
12271 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12272 Don't list ld.so twice in dependencies.
12273
12274 * posix/bug-regex31.c: Include <stdlib.h>.
12275
12276 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12277
12278 * nis/nss_compat/compat-spwd.c
12279 (getspent_next_nss_netgr): Remove unused variable.
12280 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12281
12282 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12283 nonmembers" output to use the right array.
12284
12285 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12286
12287 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12288
12289 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12290 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12291 * catgets/gencat.c (read_input_file): Likewise.
12292 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12293
12294 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12295 variable definition inside #if's controlling its use.
12296
12297 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12298
12299 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12300
12301 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12302
12303 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12304 unreachable code.
12305
12306 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12307
b68e08db
RM
12308 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12309 * configure: Regenerated.
12310
b350afab
RM
12311 * Makerules: Revert last change.
12312 * elf/Makefile: Likewise.
12313
28368601
RM
123142011-06-09 Roland McGrath <roland@hack.frob.com>
12315
12316 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12317 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12318 (reloc-link): Likewise.
12319
11988f8f
UD
123202011-06-09 Ulrich Drepper <drepper@gmail.com>
12321
12322 * elf/Makefile: Add rules to build pldd.
12323 * elf/pldd.c: New file.
12324 * elf/pldd-xx.c: New file.
12325
e80fab37
UD
123262011-06-07 Ulrich Drepper <drepper@gmail.com>
12327
12328 * version.h: Update for 2.15 development version.
12329
9b849836
DM
123302011-06-07 David S. Miller <davem@davemloft.net>
12331
12332 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12333 ifuncs.
12334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12335 elf_machine_lazy_rel): Likewise.
12336 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12338 elf_machine_lazy_rel): Likewise.
12339 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12340 dl_hwcap via passed in argument.
12341 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12342 Likewise.
12343
5a31b283
AK
123442011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12345
12346 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12347
069e52f8
RM
123482011-06-06 Roland McGrath <roland@hack.frob.com>
12349
12350 [BZ #12849]
12351 * manual/fdl-1.1.texi: New file, verbatim from:
12352 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12353 * manual/lgpl-2.1.texi: New file, verbatim from:
12354 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12355 * manual/Makefile (licenses): New variable, list those new file names.
12356 (texis): Use it.
12357 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12358
12359 * manual/fdl.texi: File removed.
12360 * manual/lesser.texi: File removed.
12361 * manual/libc.texinfo (Copying, Documentation License):
12362 Use new @include file names, put @appendix directive before @include.
12363
f16846a5
JJ
123642011-06-04 Jakub Jelinek <jakub@redhat.com>
12365
12366 [BZ #12841]
12367 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12368 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12369 (mq_open): Add __NTH.
12370
3d29045b
L
123712011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12372
12373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12374 Assume Intel Core i3/i5/i7 processor if AVX is available.
12375
8c297311
UD
123762011-05-31 Ulrich Drepper <drepper@gmail.com>
12377
12378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12379 typo.
12380
c8fc0c91
UD
123812011-05-31 Andreas Schwab <schwab@redhat.com>
12382
12383 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12384 memory. Use alloca_account. Fix memory leak when retrying.
12385
5b27a807
UD
123862011-05-31 Ulrich Drepper <drepper@gmail.com>
12387
356f8bc6
UD
12388 * version.h (RELEASE): Bump for 2.14 release.
12389 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12390
5b27a807
UD
12391 * config.make.in (RANLIB): Remove entry.
12392
01f16ab0
UD
123932011-05-30 Ulrich Drepper <drepper@gmail.com>
12394
41fce8bd
UD
12395 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12396 (libc.pot): Work around missing support for .ksh extension in xgettext.
12397
4769ae77
UD
12398 [BZ #12684]
12399 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12400 if both request failed.
12401 (send_dg): In case of server errors clear resplen or *resplen2.
12402
6b1e7d19
UD
12403 [BZ #12454]
12404 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12405 when there are multiple maps.
12406 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12407 (_dl_fini): Remove test here.
12408
01f16ab0
UD
12409 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12410
b1ebd700
UD
124112011-05-29 Ulrich Drepper <drepper@gmail.com>
12412
7ae22829
UD
12413 [BZ #12350]
12414 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12415 bit from old_res_options.
12416 (gaih_inet): Likewise.
12417
553149f6 12418 [BZ #11099]
18a84741 12419 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12420 as signed.
12421
652ffab1
UD
12422 * resolv/res_init.c (res_setoptions): Make the code more compact.
12423
16985fd0
UD
12424 [BZ #11558]
12425 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12426 set RES_USEVC.
12427
0464f746
UD
12428 [BZ #11634]
12429 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12430
7d17596c
UD
12431 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12432
cf6bbbd7
UD
12433 [BZ #11781]
12434 * malloc/malloc.h: Declare malloc hook variables as volatile.
12435
13f1ab36
UD
12436 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12437 in last patch.
12438
b1ebd700
UD
12439 [BZ #11799]
12440 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12441 raise in the comment.
80e2212d
UD
12442 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12444 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12445
ce67228d
UD
124462011-05-28 Ulrich Drepper <drepper@gmail.com>
12447
8887a920
UD
12448 [BZ #12811]
12449 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12450 grow the buffers more if it already has to be sufficient.
12451 (build_wcs_upper_buffer): Likewise.
12452 * posix/regexec.c (check_matching): Likewise.
12453 (clean_state_log_if_needed): Likewise.
12454 (extend_buffers): Don't enlarge buffers beyond size of the input
12455 buffer.
12456 Patches mostly by Emil Wojak <emil@wojak.eu>.
12457 * posix/bug-regex32.c: New file.
12458 * posix/Makefile (tests): Add bug-regex32.
12459
4f031072
UD
12460 * locale/findlocale.c (_nl_find_locale): Return right away if
12461 _nl_explode_name failed.
12462 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12463
d0478f0c
UD
12464 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12465
de81b246
UD
12466 * debug/xtrace.sh: Unify messages.
12467 * malloc/memusage.sh: Likewise.
12468
c738465a
UD
12469 [BZ #12813]
12470 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12471 time symbol from vDSO. Substitute with vsyscall if not available.
12472 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12473 __vdso_time.
12474
f1f929d7
UD
12475 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12476 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12477 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12478 Add sendmmsg and internal_sendmmsg.
12479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12480 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12481 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12482
ce67228d
UD
12483 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12484 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12486
e57420c6
UD
124872011-05-27 Ulrich Drepper <drepper@gmail.com>
12488
a8509ca5
UD
12489 [BZ #12813]
12490 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12491 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12492 available.
12493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12494 __vdso_getcpu.
12495
e57420c6
UD
12496 [BZ #12814]
12497 * iconvdata/Makefile (tests): Add bug-iconv9.
12498 * iconvdata/bug-iconv9.c: New file.
12499
4d07db15
AS
125002011-05-27 Andreas Schwab <schwab@redhat.com>
12501
12502 [BZ #12814]
12503 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12504
ea486f69
JJ
125052011-05-25 Jakub Jelinek <jakub@redhat.com>
12506
12507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12508 (struct user_regs_struct): Change intcs field back to cs.
12509
6f038433
UD
125102011-05-25 Ulrich Drepper <drepper@gmail.com>
12511
12512 * po/ja.po: Update from translation team.
12513
67f86a25
UD
125142011-05-23 Ulrich Drepper <drepper@gmail.com>
12515
12516 [BZ #12795]
12517 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12518 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12519
def7fbd6
AS
125202011-05-20 Andreas Schwab <schwab@redhat.com>
12521
12522 * stdlib/longlong.h: Update from GCC.
12523
f50ef8f1
AS
125242011-05-23 Andreas Schwab <schwab@redhat.com>
12525
12526 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12527 parameter name.
12528 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12529 Add parameter name.
12530 (__sysconf): Pass it down.
12531
de7ce8f1
UD
125322011-05-22 Ulrich Drepper <drepper@gmail.com>
12533
f2962a71
UD
12534 [BZ #12671]
12535 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12536 some situations.
12537 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12538 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12539 add in in __libc_use_alloca calls. Adjust callers.
12540 (glob): Use malloc in some situations.
12541
de7ce8f1
UD
12542 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12543 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12544 pltexit.
12545
aec84f53
UD
125462011-05-21 Ulrich Drepper <drepper@gmail.com>
12547
05bb4a68
UD
12548 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12549 and CLOCK_BOOTTIME_ALARM.
12550
7ea72f99
UD
12551 [BZ #12782]
12552 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12553 is returned.
12554
7e4afad5
UD
12555 * string/_strerror.c (__strerror_r): Print negative errors as signed
12556 numbers.
12557
8e211fec
UD
12558 [BZ #12777]
12559 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12560 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12561 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12562
f7d82dc9
UD
12563 * configure.in: Fix typo in redirection and correct removal of test
12564 files in two cases.
12565
cc9e536d
UD
12566 [BZ #12788]
12567 * locale/setlocale.c (new_composite_name): Fix test to check for
12568 identical name of all categories.
12569
aec84f53
UD
12570 [BZ #12792]
12571 * libio/filedoalloc.c (local_isatty): New function.
12572 (_IO_file_doallocate): Use local_isatty.
12573 * stdio-common/perror.c (perror): In case a new stream is used
12574 forward the stream error.
12575 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12576 error flag.
12577
78e64fdc
RT
125782011-05-20 Ulrich Drepper <drepper@gmail.com>
12579
34a9094f
UD
12580 [BZ #11869]
12581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12582 alloca.
12583 * include/alloca.h (extend_alloca_account): Define.
12584
78e64fdc
RT
12585 [BZ #11857]
12586 * posix/regex.h: Fix comments with documentation of user-accessible
12587 fields after compilation and describe correct free'ing of pattern
12588 after re_compile_pattern.
12589 Patch by Reuben Thomas <rrt@sc3d.org>.
12590
457bddfc
RA
125912011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12592
12593 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12594 and -mno-altivec to prevent the compiler from using Altivec and/or
12595 VSX instructions when the corresponding registers are not available.
12596
a4527b51
AS
125972011-05-19 Andreas Schwab <schwab@redhat.com>
12598
12599 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12600
ed690b2f
UD
126012011-05-19 Ulrich Drepper <drepper@gmail.com>
12602
12603 * libio/freopen.c (freopen): Use __dup2, not dup2.
12604 * libio/freopen64.c (freopen64): Likewise.
12605
8db73634
L
126062011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12607
12608 [BZ #12775]
12609 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12610 * math/Makefile (tests): Add test-powl.
12611 (CFLAGS-test-powl.c): Define.
12612 * math/test-powl.c: New file.
12613
0a197a9d
L
126142011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12615
12616 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12617
ee30c380
UD
126182011-05-17 Ulrich Drepper <drepper@gmail.com>
12619
12620 [BZ #11837]
12621 * iconvdata/gb18030.c: Update to GB18020-2005.
12622
6ce75379
UD
126232011-05-16 Ulrich Drepper <drepper@gmail.com>
12624
a4b89fd8
AR
12625 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12626 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12627 Patch by Aharon Robbins <arnold@skeeve.com>.
12628
ea389b12
UD
12629 [BZ #11892]
12630 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12631 on the stack.
12632
68a3f91f
UD
12633 [BZ #11895]
12634 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12635 through underflows.
12636
15cc7dd1
UD
12637 [BZ #12766]
12638 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12639 point to strings before performing equality test for error_one_per_line
12640 mode.
12641
f3799213
UD
12642 [BZ #11697]
12643 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12644
d79a9c94
UD
12645 [BZ #11820]
12646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12647 (struct user_fpregs_struct): Avoid __uint*_t types.
12648
56e5eb46
UD
12649 [BZ #6420]
12650 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12651 symbol info. Use it instead of calling _dl_addr locally.
12652 (lock_and_info): New function.
12653 (tr_freehook): Call lock_and_info and pass symbol info as additional
12654 parameter to tr_where.
12655 (tr_mallochook): Likewise.
12656 (tr_reallochook): Likewise.
12657 (tr_memalignhook): Likewise.
12658
6ce75379
UD
12659 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12660 used and couldn't be at all thread-safe.
12661
f8a3b5bf
UD
126622011-05-15 Ulrich Drepper <drepper@gmail.com>
12663
94b7cc37
UD
12664 * libio/freopen.c (freopen): Don't close old file descriptor
12665 before the new one is opened. Instead dup the new file descriptor
12666 to the old one after the new stream is created.
12667 * libio/freopen64.c (freopen64): Likewise.
12668 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12669 * libio/fileops.c (_IO_new_file_close_it): Handle new
12670 _IO_FLAGS2_NOCLOSE flag.
12671 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12672 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12673 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12674 _IO_FLAGS2_NOCLOSE flag.
12675 * include/unistd.h: Add hidden_proto for dup3.
12676 Define __have_dup3.
12677 * io/dup3.c: Define hidden symbol.
12678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12679
bd25564e
UD
12680 [BZ #7101]
12681 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12682 when an incomplete long option is used.
12683 * posix/tst-getopt_long1.c: New file.
12684 * posix/Makefile (tests): Add tst-getopt_long1.
12685
c84cfef4
UD
12686 [BZ #10138]
12687 * scripts/config.guess: Update from autoconf-2.68.
12688 * scripts/config.sub: Likewise.
12689
3b85df27
UD
12690 [BZ #10157]
12691 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12692 tests into ...
12693 (has_cpuclock): ...this. New function.
12694 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12695 macro here based on has_cpuclock code.
12696
15a856b1
UD
12697 [BZ #10149]
12698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12699 First byte (not low byte) is now always NUL.
12700 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12701
05f399e6
UD
12702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12703 Use non-cancelable interfaces.
12704
10a52685 12705 [BZ #9809]
94ecc67d
UD
12706 * locale/iso-639.def: Add entry for Sorani.
12707
f8a3b5bf
UD
12708 [BZ #11901]
12709 * include/stdlib.h: Move include protection to the right place.
12710 Define abort_msg_s. Declare __abort_msg with it.
12711 * stdlib/abort.c (__abort_msg): Adjust type.
12712 * assert/assert.c (__assert_fail_base): New function. Majority
12713 of code from __assert_fail. Allocate memory for __abort_msg with
12714 mmap.
12715 (__assert_fail): Now call __assert_fail_base.
12716 * assert/assert-perr.c: Remove bulk of implementation. Use
12717 __assert_fail_base.
12718 * include/assert.hL Declare __assert_fail_base.
12719 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12720 mmap.
12721 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12722
1af4e298
UD
127232011-05-14 Ulrich Drepper <drepper@gmail.com>
12724
f8a3b5bf 12725 [BZ #11952]
d26dfc60
MG
12726 [BZ #12453]
12727 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12728 until all modules are registered in the DTV.
12729 * elf/Makefile: Add rules to build and run tst-tls19.
12730 * elf/tst-tls19.c: New file.
12731 * elf/tst-tls19mod1.c: New file.
12732 * elf/tst-tls19mod2.c: New file.
12733 * elf/tst-tls19mod3.c: New file.
12734 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12735
2fc54d6f
UD
12736 [BZ #12083]
12737 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12738 correctly.
12739
98d76b46
UD
12740 [BZ #12601]
12741 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12742 two-byte sequence errors.
12743 * iconvdata/Makefile (tests): Add bug-iconv8.
12744 * iconvdata/bug-iconv8.c: New file.
12745
da3c19ef
UD
12746 [BZ #12626]
12747 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12748 buf2 definition.
12749
ca408c15
UD
12750 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12751
d6f67f7d
UD
12752 [BZ #12432]
12753 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12754 (dummy_getcfa): New function.
12755 (init): Get _Unwind_GetCFA address, use dummy if not found.
12756 (backtrace_helper): In recursion check, also check whether CFA changes.
12757 (__backtrace): Completely initialize arg.
12758
1af4e298 12759 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12760 storing incomplete byte sequence in state object. Avoid testing for
12761 guaranteed too small input if we know there is enough data available.
1af4e298 12762
da62f81b
AS
127632011-05-11 Andreas Schwab <schwab@redhat.com>
12764
12765 * Makeconfig (+link-pie): Indent.
12766 * Rules (binaries-pie): Define if $(have-fpie) and
12767 $(build-shared).
12768 (binaries-shared): Also filter out $(binaries-pie).
12769 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12770 * nscd/Makefile (others-pie): Add nscd.
12771 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12772 ($(objpfx)nscd): Remove command override.
12773 * login/Makefile (others-pie): Add pt_chown.
12774 ($(objpfx)pt_chown): Remove command override.
12775 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12776 remove command overrides.
12777
fcabc0f8
UD
127782011-05-13 Ulrich Drepper <drepper@gmail.com>
12779
20030ae6
UD
12780 * libio/tst_putwc.c: Fix error messages.
12781
fcabc0f8
UD
12782 [BZ #12724]
12783 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12784 currently writing and seek to current position when not.
12785 * libio/Makefile (tests): Add bug-fclose1.
12786 * libio/bug-fclose1.c: New file.
12787
320a5dc0
PB
127882011-05-12 Ulrich Drepper <drepper@gmail.com>
12789
12790 [BZ #12511]
12791 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12792 don't set DF_1_NODELETE here.
12793 (do_lookup_x): When entering new entry test for copy relocation
12794 and if necessary set DF_1_NODELETE flag.
12795 * elf/tst-unique4.cc: New file.
12796 * elf/tst-unique4.h: New file.
12797 * elf/tst-unique4lib.cc: New file.
12798 * elf/Makefile: Add rules to build and run tst-unique4.
12799 Patch by Piotr Bury <pbury@goahead.com>.
12800
22836f52
UD
128012011-05-11 Ulrich Drepper <drepper@gmail.com>
12802
f574184a
UD
12803 [BZ #12052]
12804 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12805
e1fb097f
UD
12806 [BZ #12625]
12807 * misc/mntent_r.c (addmntent): Flush the stream after the output
12808
22836f52
UD
12809 [BZ #12393]
12810 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12811 (is_trusted_path_normalize): Skip initial colon. Append slash
12812 to empty buffer. Duplicate is_trusted_path code but allow
12813 constructed patch to be prefix.
12814 (is_dst): Allow $ORIGIN followed by /.
12815 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12816 Correct testing of result of is_trusted_path_normalize
12817 (decompose_rpath): Fix warning.
12818
7b3b0b2a
UD
128192011-05-10 Ulrich Drepper <drepper@gmail.com>
12820
12821 [BZ #11257]
12822 * grp/initgroups.c (internal_getgrouplist): When we found the service
12823 list through the initgroups entry in nsswitch.conf do not always
12824 continue on a successful lookup. Don't always use the
eac80ce2 12825 __nss_group_database value if it is set.
7b3b0b2a
UD
12826 * nss/nsswitch.conf (initgroups): Change action for successful db
12827 lookup to continue for compatibility.
12828
2a81eaa5
UD
128292011-05-09 Ulrich Drepper <drepper@gmail.com>
12830
be97a69e
UD
12831 [BZ #11532]
12832 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12833 and CP774 modules.
12834 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12835 and CP774 modules.
12836 * iconvdata/tst-tables.sh: Likewise.
12837 * iconvdata/cp770.c: New file.
12838 * iconvdata/cp771.c: New file.
12839 * iconvdata/cp772.c: New file.
12840 * iconvdata/cp773.c: New file.
12841 * iconvdata/cp774.c: New file.
12842 * iconvdata/testdata/CP770: New file.
12843 * iconvdata/testdata/CP770..UTF8: New file.
12844 * iconvdata/testdata/CP771: New file.
12845 * iconvdata/testdata/CP771..UTF8: New file.
12846 * iconvdata/testdata/CP772: New file.
12847 * iconvdata/testdata/CP772..UTF8: New file.
12848 * iconvdata/testdata/CP773: New file.
12849 * iconvdata/testdata/CP773..UTF8: New file.
12850 * iconvdata/testdata/CP774: New file.
12851 * iconvdata/testdata/CP774..UTF8: New file.
12852
12853 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12854 END CHARMAP line.
12855 * iconvdata/gen-8bit-gap.sh: Likewise.
12856 * iconvdata/gen-8bit.sh: Likewise.
12857
c1e9e399
UD
12858 * locale/iso-639.def: Add ary entry.
12859
24c55fb3 12860 [BZ #11258]
96b4b1b0
UD
12861 * locale/C-translit.h.in: Add U20A1 transliteration.
12862
bdc2f971
KB
12863 [BZ #12178]
12864 * locale/iso-639.def: Add wae entry.
12865 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12866
2952b117
UD
12867 [BZ #12545]
12868 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12869 for n.
12870
2a81eaa5
UD
12871 [BZ #12711]
12872 * locale/C-translit.h.in: Add entry for U20B9.
12873 Patch by pravin.d.s@gmail.com.
12874
28377d1b
UD
128752011-05-08 Ulrich Drepper <drepper@gmail.com>
12876
7fb90fb8
UD
12877 [BZ #12713]
12878 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12879 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12880 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12881 in rtld. Use *stat64.
7fb90fb8 12882 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12883 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12884 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12885 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12886 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12887 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12888 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12889 __fstatat64 macros.
7fb90fb8
UD
12890 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12891 * dirent/rewinddir.c: Add libc_hidden_def.
12892 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12893 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12894
28377d1b
UD
12895 * include/dirent.h (__alloc_dir): Add flags parameter.
12896 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12897 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12898 __alloc_dir.
12899 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12900 from fdopendir if O_CLOEXEC is already set.
12901
66bdbaa4
AM
129022011-03-15 Alan Modra <amodra@gmail.com>
12903
12904 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12905 l_tls_firstbyte_offset non-zero. Save padding offset in
12906 l_tls_firstbyte_offset for later use.
12907 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12908 freeing static tls block.
12909
95721191
JN
129102011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12911
12912 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12913 where #ifdef was intended. The intent is to prevent ARG_MAX from
12914 being defined by the kernel headers.
12915
f87dfb1f
UD
129162011-05-07 Ulrich Drepper <drepper@gmail.com>
12917
12918 [BZ #12734]
12919 * resolv/resolv.h: Define RES_NOTLDQUERY.
12920 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12921 no-tld-query and set RES_NOTLDQUERY.
12922 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12923 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12924 modern BIND to search name as TLD unless forbidden.
12925
47c3cd7a
UD
129262011-05-07 Petr Baudis <pasky@suse.cz>
12927 Ulrich Drepper <drepper@gmail.com>
12928
12929 [BZ #12393]
12930 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12931 (is_trusted_path): ...to here.
c1e9ea35 12932 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12933 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12934 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12935
8a35c912
PP
129362011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12937
12938 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12939 __BEGIN/__END_DECLS.
12940
acd41f47
UD
129412011-05-06 Ulrich Drepper <drepper@gmail.com>
12942
12943 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12944 NSS_STATUS_NOTFOUND if no record was found.
12945
597df647
AS
129462011-05-05 Andreas Schwab <schwab@redhat.com>
12947
12948 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12949 (headers-not-in-tirpc): Remove rpc/netdb.h
12950 * resolv/netdb.h: Revert last change.
12951
b9af1301
PP
129522011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12953
12954 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12955 circular dependency between libgcc.a and libc.a.
12956
4e34d5f5
AS
129572011-05-05 Andreas Schwab <schwab@redhat.com>
12958
12959 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12960 * nis/Makefile: Don't install rpcsvc/*.
12961 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12962 instead of <rpc/types.h>.
12963 (MAXHOSTNAMELEN): Define.
12964
00ee369c
AS
129652011-05-03 Andreas Schwab <schwab@redhat.com>
12966
12967 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12968
0b592a30
MB
129692011-04-28 Maciej Babinski <mbabinski@google.com>
12970
12971 [BZ #12714]
12972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12973 gethostbyname4_r when IPv6 results are possible.
12974
6e04cbbe
UD
129752011-05-02 Ulrich Drepper <drepper@gmail.com>
12976
12977 [BZ #12723]
12978 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12979 _PC_PIPE_BUF handling.
12980
e4ecafe0
BH
129812011-04-30 Bruno Haible <bruno@clisp.org>
12982
12983 [BZ #12717]
12984 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12985 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12986 to 'int'.
12987 * inet/getnameinfo.c (getnameinfo): Likewise.
12988
125ee683
UD
129892011-04-29 Ulrich Drepper <drepper@gmail.com>
12990
12991 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12992 to groups setting in database lookup.
12993 * nss/nsswitch.conf: Add initgroups entry.
12994
b722481a
EB
129952011-04-22 Ulrich Drepper <drepper@gmail.com>
12996
12997 [BZ #12685]
12998 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12999 mode string.
13000 Patch by Eric Blake <eblake@redhat.com>.
13001
4df46dbd
L
130022011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13003
13004 * sunrpc/Makefile (need-export-routines): Add svc_run.
13005 (routines): Remove svc_run.
13006 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13007 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13008 * sunrpc/svc_run.c (svc_run): Likewise.
13009 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13010
e84142d2
UD
130112011-04-21 Ulrich Drepper <drepper@gmail.com>
13012
13013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13014 problem in reallocation in last patch.
13015
877175d8
UD
130162011-04-20 Ulrich Drepper <drepper@gmail.com>
13017
13018 * sunrpc/Makefile: Move inclusion of Rules.
13019
ab8eed78
UD
130202011-04-19 Ulrich Drepper <drepper@gmail.com>
13021
13022 * nss/nss_files/files-initgroups.c: New file.
13023 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13024 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13025 _nss_files_initgroups_dyn.
13026
e3d8f584
RS
130272011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13028
13029 * elf/elf.h (R_ARM_IRELATIVE): Define.
13030
af190f45
UD
130312011-04-19 Ulrich Drepper <drepper@gmail.com>
13032
13033 * po/ru.po: Update from translation team.
13034
53cf59ef
UD
130352011-04-17 Ulrich Drepper <drepper@gmail.com>
13036
13037 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13038 dependencies.
13039
4c559bcd
MF
130402011-02-06 Mike Frysinger <vapier@gentoo.org>
13041
13042 [BZ #12653]
13043 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13044 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13048
4420675c
AS
130492011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13050
13051 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13052 differing bytes.
13053 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13056
75ea32ab
UD
130572011-04-17 Ulrich Drepper <drepper@gmail.com>
13058
13059 [BZ #12420]
13060 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13061 storing it.
13062 * stdlib/bug-getcontext.c: New file.
13063 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13064
27390476
AK
130652011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13066
13067 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13068 instructions into .machine "z9-109".
13069 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13070 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13071
10442705
AK
130722011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13073
13074 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13075 between environment variables and auxiliary vector.
13076
7b57bfe5
UD
130772011-04-16 Ulrich Drepper <drepper@gmail.com>
13078
13079 * Makefile: Add rules to build linkobj/libc.so.
13080 * include/libc-symbols.h: Define libc_hidden_nolink.
13081 * include/rpc/auth.h: Mark functions which are to be hidden.
13082 * include/rpc/auth_des.h: Likewise.
13083 * include/rpc/auth_unix.h: Likewise.
13084 * include/rpc/clnt.h: Likewise.
13085 * include/rpc/des_crypt.h: Likewise.
13086 * include/rpc/key_prot.h: Likewise.
13087 * include/rpc/pmap_clnt.h: Likewise.
13088 * include/rpc/pmap_prot.h: Likewise.
13089 * include/rpc/pmap_rmt.h: Likewise.
13090 * include/rpc/rpc_msg.h: Likewise.
13091 * include/rpc/svc.h: Likewise.
13092 * include/rpc/svc_auth.h: Likewise.
13093 * include/rpc/xdr.h: Likewise.
13094 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13095 * nss/Makefile: Likewise.
13096 * sunrpc/Makefile: Don't install headers. Build library with normal
13097 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13098 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13099 for the compat linking library. Remove use of INTDEF/INTUSE.
13100 * sunrpc/auth_none.c: Likewise.
13101 * sunrpc/auth_unix.c: Likewise.
13102 * sunrpc/authdes_prot.c: Likewise.
13103 * sunrpc/authuxprot.c: Likewise.
13104 * sunrpc/clnt_gen.c: Likewise.
13105 * sunrpc/clnt_perr.c: Likewise.
13106 * sunrpc/clnt_raw.c: Likewise.
13107 * sunrpc/clnt_simp.c: Likewise.
13108 * sunrpc/clnt_tcp.c: Likewise.
13109 * sunrpc/clnt_udp.c: Likewise.
13110 * sunrpc/clnt_unix.c: Likewise.
13111 * sunrpc/des_crypt.c: Likewise.
13112 * sunrpc/des_soft.c: Likewise.
13113 * sunrpc/get_myaddr.c: Likewise.
13114 * sunrpc/key_call.c: Likewise.
13115 * sunrpc/key_prot.c: Likewise.
13116 * sunrpc/netname.c: Likewise.
13117 * sunrpc/pm_getmaps.c: Likewise.
13118 * sunrpc/pm_getport.c: Likewise.
13119 * sunrpc/pmap_clnt.c: Likewise.
13120 * sunrpc/pmap_prot.c: Likewise.
13121 * sunrpc/pmap_prot2.c: Likewise.
13122 * sunrpc/pmap_rmt.c: Likewise.
13123 * sunrpc/publickey.c: Likewise.
13124 * sunrpc/rpc_cmsg.c: Likewise.
13125 * sunrpc/rpc_common.c: Likewise.
13126 * sunrpc/rpc_dtable.c: Likewise.
13127 * sunrpc/rpc_prot.c: Likewise.
13128 * sunrpc/rpc_thread.c: Likewise.
13129 * sunrpc/rtime.c: Likewise.
13130 * sunrpc/svc.c: Likewise.
13131 * sunrpc/svc_auth.c: Likewise.
13132 * sunrpc/svc_authux.c: Likewise.
13133 * sunrpc/svc_raw.c: Likewise.
13134 * sunrpc/svc_run.c: Likewise.
13135 * sunrpc/svc_simple.c: Likewise.
13136 * sunrpc/svc_tcp.c: Likewise.
13137 * sunrpc/svc_udp.c: Likewise.
13138 * sunrpc/svc_unix.c: Likewise.
13139 * sunrpc/svcauth_des.c: Likewise.
13140 * sunrpc/xcrypt.c: Likewise.
13141 * sunrpc/xdr.c: Likewise.
13142 * sunrpc/xdr_array.c: Likewise.
13143 * sunrpc/xdr_float.c: Likewise.
13144 * sunrpc/xdr_intXX_t.c: Likewise.
13145 * sunrpc/xdr_mem.c: Likewise.
13146 * sunrpc/xdr_rec.c: Likewise.
13147 * sunrpc/xdr_ref.c: Likewise.
13148 * sunrpc/xdr_sizeof.c: Likewise.
13149 * sunrpc/xdr_stdio.c: Likewise.
13150
e6c61494
UD
131512011-04-10 Ulrich Drepper <drepper@gmail.com>
13152
13153 [BZ #12650]
13154 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13155 * sysdeps/ia64/dl-tls.h: Likewise.
13156 * sysdeps/powerpc/dl-tls.h: Likewise.
13157 * sysdeps/s390/dl-tls.h: Likewise.
13158 * sysdeps/sh/dl-tls.h: Likewise.
13159 * sysdeps/sparc/dl-tls.h: Likewise.
13160 * sysdeps/x86_64/dl-tls.h: Likewise.
13161 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13162
34fe483e
AS
131632011-03-14 Andreas Schwab <schwab@redhat.com>
13164
13165 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13166 rpath element also skip the following colon.
13167 (expand_dynamic_string_token): Add is_path parameter and pass
13168 down to DL_DST_REQUIRED and _dl_dst_substitute.
13169 (decompose_rpath): Call expand_dynamic_string_token with
13170 non-zero is_path. Ignore empty rpaths.
13171 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13172 with zero is_path.
13173
f12a32e6
AS
131742011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13175
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13177 Make cancelable.
13178
38a7d692
UD
131792011-04-09 Ulrich Drepper <drepper@gmail.com>
13180
13181 [BZ #12655]
13182 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13183 Patch by Filipe David Manana <fdmanana@apache.org>.
13184
e451d22b
AS
131852011-04-07 Andreas Schwab <schwab@redhat.com>
13186
13187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13188 Maintain aligned stack.
13189 (CHECK_RSP): Remove unused macro.
13190
dedc7c7b
UD
131912011-04-03 Ulrich Drepper <drepper@gmail.com>
13192
13193 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13195
94521213
UD
131962011-04-02 Ulrich Drepper <drepper@gmail.com>
13197
13198 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13199
8cb700c0 13200 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13201
0354e355
L
132022011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13203
13204 [BZ #12518]
13205 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13206 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13207 * sysdeps/x86_64/memmove.c: New file.
13208 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13209 (memcpy): Renamed to ...
13210 (__new_memcpy): This.
13211 (memcpy): Provide GLIBC_2_14 memcpy.
13212 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13213 (memcpy): Provide GLIBC_2_2_5 memcpy.
13214
8593482f
UD
132152011-04-01 Ulrich Drepper <drepper@gmail.com>
13216
13217 [BZ #12631]
13218 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13219
81a5726b
AS
132202011-03-30 Andreas Schwab <schwab@redhat.com>
13221
13222 * misc/syncfs.c: New file.
13223 * misc/Makefile (routines): Add syncfs.
13224 * posix/unistd.h: Declare syncfs.
13225 * sysdeps/unix/syscalls.list: Add syncfs.
13226
00e5419f
AS
132272011-04-01 Andreas Schwab <schwab@redhat.com>
13228
13229 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13230 open_by_handle_at.
13231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13236 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13238
748876bf
UD
132392011-04-01 Ulrich Drepper <drepper@gmail.com>
13240
658e451d
UD
13241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13248
748876bf
UD
13249 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13250 sync_file_range.c with -fexceptions.
13251 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13252 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13253 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13254 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13255 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13256 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13258 sync_file_range as cancellation point
13259 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13260 now a wrapper around __call_sync_file_range with cancellation handling.
13261 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13262 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13263 function name to __call_sync_file_range.
13264 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13265 Add call_sync_file_range.
748876bf 13266
6e63d5e1
AS
132672011-04-01 Andreas Schwab <schwab@redhat.com>
13268
13269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13270 bits/timex.h.
6e63d5e1 13271
46998f74
UD
132722011-04-01 Ulrich Drepper <drepper@gmail.com>
13273
4c1423ed
UD
13274 * iconv/iconv.h: Fix typo in comment.
13275 * io/fcntl.h: Likewise.
13276 * libio/stdio.h: Likewise.
13277 * posix/spawn.h: Likewise.
13278 * posix/unistd.h: Likewise.
13279 * stdlib/stdlib.h: Likewise.
13280 * time/time.h: Likewise.
13281 * wcsmbs/wchar.h: Likewise.
13282
158648c0
UD
13283 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13284 open_by_handle): Add.
13285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13286 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13287 Augment a few comments.
13288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13293 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13294 open_by_handle.
13295
46998f74
UD
13296 * io/fcntl.h (AT_EMPTY_PATH): Define.
13297
83fe108b
UD
132982011-03-30 Ulrich Drepper <drepper@gmail.com>
13299
13300 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13301 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13302 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13303 to...
13304 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13305 * Versions.def: Add GLIBC_2.14.
13306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13307 Export.
83fe108b 13308
bb242059
UD
133092011-03-22 Ulrich Drepper <drepper@gmail.com>
13310
13311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13312 round counter.
13313 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13314
c97a1282
L
133152011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13316
13317 [BZ #12597]
13318 * string/test-strncmp.c (do_page_test): New function.
13319 (check2): Likewise.
13320 (test_main): Call check2.
13321 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13322
2a115601
UD
133232011-03-20 Ulrich Drepper <drepper@gmail.com>
13324
13325 [BZ #12587]
13326 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13327 Handle cache information in CPU leaf 4.
13328 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13329
8126d904
UD
133302011-03-18 Ulrich Drepper <drepper@gmail.com>
13331
042c49c6 13332 [BZ #12583]
8126d904
UD
13333 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13334 character representation.
13335 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13336
ccfe366e
RA
133372011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13338
13339 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13340 END(__isnan) to END(__isnanf) to match function entry point/label
13341 EALIGN(__isnanf,...).
13342
c6e13027
JJ
133432011-03-10 Jakub Jelinek <jakub@redhat.com>
13344
13345 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13346
33f85a3f
UD
133472011-03-10 Ulrich Drepper <drepper@gmail.com>
13348
028478fa
UD
13349 [BZ #12510]
13350 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13351 copy from the symbol referenced in the relocation to initialize the
13352 used variable.
13353 Patch by Piotr Bury <pbury@goahead.com>.
13354 * elf/Makefile: Add rules to build and tst-unique3.
13355 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13356 * elf/tst-unique3.cc: New file.
13357 * elf/tst-unique3.h: New file.
13358 * elf/tst-unique3lib.cc: New file.
13359 * elf/tst-unique3lib2.cc: New file.
13360
33f85a3f
UD
13361 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13362
03592fc7
MF
133632011-03-10 Mike Frysinger <vapier@gentoo.org>
13364
13365 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13366 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13367 to _start.
03592fc7 13368
6a5ee102
UD
133692011-03-06 Ulrich Drepper <drepper@gmail.com>
13370
13371 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13372 to-be-loaded object along a path to loader is ld.so.
13373
7e4ba49c
HJ
133742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13375 Ulrich Drepper <drepper@gmail.com>
13376
13377 * sysdeps/x86_64/memset.S: After aligning destination, code
13378 branches to different locations depending on the value of
13379 misalignment, when multiarch is enabled. Fix this.
13380
133812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13382
13383 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13384 Set _x86_64_preferred_memory_instruction for AMD processsors.
13385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13386 Set bit_Prefer_SSE_for_memop for AMD processors.
13387
13a804de
UD
133882011-03-04 Ulrich Drepper <drepper@gmail.com>
13389
13390 * libio/fmemopen.c (fmemopen): Optimize a bit.
13391
9d25c392
AS
133922011-03-03 Andreas Schwab <schwab@redhat.com>
13393
13394 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13395
a5543c6a
RM
133962011-03-03 Roland McGrath <roland@redhat.com>
13397
13398 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13399
012d35f7
DM
134002011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13401
7e4ba49c 13402 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13403 __bzero_ultra1 instead of __memset_ultra1.
13404
4bff6e01
AS
134052011-02-23 Andreas Schwab <schwab@redhat.com>
13406 Ulrich Drepper <drepper@gmail.com>
13407
13408 [BZ #12509]
13409 * include/link.h (struct link_map): Add l_orig_initfini.
13410 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13411 returning unsuccessfully.
13412 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13413 close of a file loaded at startup, restore the original l_initfini
13414 list.
13415 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13416 list, store the pointer.
13417 * elf/Makefile ($(objpfx)noload-mem): New rule.
13418 (noload-ENV): Define.
13419 (tests): Add $(objpfx)noload-mem.
13420 * elf/noload.c: Include <memcheck.h>.
13421 (main): Call mtrace. Close all opened handles.
13422
f2092faf
AS
134232011-02-17 Andreas Schwab <schwab@redhat.com>
13424
13425 [BZ #12454]
13426 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13427 dependencies are missing.
13428
6c8a2e88
ST
134292011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13430
f2092faf 13431 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13432 Hurd needs munmap.
13433 * sysdeps/mach/hurd/ifreq.h: New file.
13434
84a42118
PB
134352011-01-27 Petr Baudis <pasky@suse.cz>
13436 Ulrich Drepper <drepper@gmail.com>
13437
071f805e 13438 [BZ 12445]#
84a42118
PB
13439 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13440 to extend_alloca().
13441 * stdio-common/bug23.c: New file.
13442 * stdio-common/Makefile (tests): Add bug23.
13443
e23fe25b
AS
134442010-09-28 Andreas Schwab <schwab@redhat.com>
13445 Ulrich Drepper <drepper@gmail.com>
13446
13447 [BZ #12489]
13448 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13449 before performing relro protection. At old place add assertion
13450 to make sure nothing changed.
13451
d3f02e10
NS
134522011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13453 Glauber de Oliveira Costa <glommer@gmail.com>
13454
13455 * elf/elf.h: Add new ARM TLS relocs.
13456
d55fd7a5
RA
134572011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13458
13459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13460 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13461 cast from r3.
13462 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13463 'tests' variable.
13464 * sysdeps/wordsize-64/tst-writev.c: New file.
13465
2206397e
RA
134662011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13467
13468 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13469 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13470 insns in _dl_start to prevent a TOC reference before relocs are
13471 resolved.
13472
e9433893
UD
134732011-02-15 Ulrich Drepper <drepper@gmail.com>
13474
13475 [BZ #12469]
13476 * Makeconfig: Remove RANLIB definition.
13477 * Makerules: Don't use RANLIB.
13478 * aclocal.m4: Remove ranlib test.
13479 * configure.in: No need to check for ranlib.
13480 * elf/rtld-Rules: Don't use RANLIB.
13481
f75286c6
ST
134822011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13483
8e31c82d
ST
13484 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13485 protection macro.
13486 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13487 inclusion protection macro.
13488
f75286c6
ST
13489 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13490 SIGRTMIN and SIGRTMAX and print information in that case only when
13491 SIGRTMIN is defined.
13492
c1d0e639
JJ
134932011-02-11 Jakub Jelinek <jakub@redhat.com>
13494
13495 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13496 arginfo fn returning -1.
13497
13498 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13499 and thousands string is zero terminated.
13500
edf9294e
AS
135012011-02-03 Andreas Schwab <schwab@redhat.com>
13502
13503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13504 sysdeps/unix/sysv/linux/bits/socket.h.
13505
2b7e92df
ST
135062011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13507
edf9294e
AS
13508 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13509 (__CPU_COUNT): Remove old macros.
13510 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13511 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13512 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13513 (__sched_cpualloc, __sched_cpufree): Add declarations.
13514
a4c7ea7b
UD
135152011-02-05 Ulrich Drepper <drepper@gmail.com>
13516
13517 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13518 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13519 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13520 (readdhstai): Return value of addhstaiX call.
13521 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13522 (addgrbyX): Return value returned by cache_addgr.
13523 (readdgrbyname): Return value returned by addgrbyX.
13524 (readdgrbygid): Likewise.
13525 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13526 (addpwbyX): Return value returned by cache_addpw.
13527 (readdpwbyname): Return value returned by addhstbyX.
13528 (readdpwbyuid): Likewise.
13529 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13530 (addservbyX): Return value returned by cache_addserv.
13531 (readdservbyname): Return value returned by addservbyX:
13532 (readdservbyport): Likewise.
13533 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13534 (addhstbyX): Return value returned by cache_addhst.
13535 (readdhstbyname): Return value returned by addhstbyX.
13536 (readdhstbyaddr): Likewise.
13537 (readdhstbynamev6): Likewise.
13538 (readdhstbyaddrv6): Likewise.
13539 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13540 (readdinitgroups): Return value returned by addinitgroupsX.
13541 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13542 (prune_cache): Keep track of timeout value of re-added entries.
13543 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13544 * nscd/nscd.h: Adjust prototypes of readd* functions.
13545
a0bf67cc
RM
135462011-02-04 Roland McGrath <roland@redhat.com>
13547
13548 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13549 (nis_stats): Likewise.
13550 * nis/nis_modify.c (nis_modify): Likewise.
13551 * nis/nis_remove.c (nis_remove): Likewise.
13552 * nis/nis_add.c (nis_add): Likewise.
13553
13554 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13555
13556 * posix/fnmatch_loop.c: Add some consts.
13557
13558 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13559
435b95eb
L
135602011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13561
13562 [BZ #12460]
13563 * config.make.in (config-cflags-novzeroupper): Define.
13564 * configure.in: Substitute libc_cv_cc_novzeroupper.
13565 * elf/Makefile (AVX-CFLAGS): Define.
13566 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13567 (CFLAGS-tst-auditmod4a.c): Likewise.
13568 (CFLAGS-tst-auditmod4b.c): Likewise.
13569 (CFLAGS-tst-auditmod6b.c): Likewise.
13570 (CFLAGS-tst-auditmod6c.c): Likewise.
13571 (CFLAGS-tst-auditmod7b.c): Likewise.
13572 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13573
8517b15e
UD
135742011-02-02 Ulrich Drepper <drepper@gmail.com>
13575
13576 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13577 function to the callback.
13578 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13579
10a656fe
AS
135802011-02-02 Andreas Schwab <schwab@redhat.com>
13581
13582 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13583 of errno.
13584
968dad0a
UD
135852011-01-19 Ulrich Drepper <drepper@gmail.com>
13586
9f94d2ea 13587 [BZ #11724]
968dad0a
UD
13588 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13589 of constructors.
13590 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13591 of destructors.
13592 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13593
13594 [BZ #11724]
13595 * elf/Makefile: Add rules to build and run new test.
13596 * elf/tst-initorder.c: New file.
13597 * elf/tst-initorder.exp: New file.
13598 * elf/tst-initordera1.c: New file.
13599 * elf/tst-initordera2.c: New file.
13600 * elf/tst-initordera3.c: New file.
13601 * elf/tst-initordera4.c: New file.
13602 * elf/tst-initorderb1.c: New file.
13603 * elf/tst-initorderb2.c: New file.
13604 * elf/tst-order-a1.c: New file.
13605 * elf/tst-order-a2.c: New file.
13606 * elf/tst-order-a3.c: New file.
13607 * elf/tst-order-a4.c: New file.
13608 * elf/tst-order-b1.c: New file.
13609 * elf/tst-order-b2.c: New file.
13610 * elf/tst-order-main.c: New file.
13611 New test case by George Gensure <werkt0@gmail.com>.
13612
86e92359
UD
136132010-10-01 Andreas Schwab <schwab@redhat.com>
13614
13615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13616 decoding ACE if AI_CANONIDN.
13617
5d5732b0
UD
136182011-01-18 Ulrich Drepper <drepper@gmail.com>
13619
13620 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13621
a77e8cbc
UD
136222011-01-17 Ulrich Drepper <drepper@gmail.com>
13623
6392473f
UD
13624 * version.h (RELEASE): Bump for 2.13 release.
13625 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13626
620a0529
UD
13627 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13628
18ba70a5
UD
13629 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13630 MADV_NOHUGEPAGE.
32465c3e
UD
13631 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13633 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13634 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13637
c0dafcf1
UD
13638 * posix/getconf.c: Update copyright year.
13639 * catgets/gencat.c: Likewise.
13640 * csu/version.c: Likewise.
13641 * debug/catchsegv.sh: Likewise.
13642 * debug/xtrace.sh: Likewise.
13643 * elf/ldconfig.c: Likewise.
13644 * elf/ldd.bash.in: Likewise.
13645 * elf/sprof.c (print_version): Likewise.
13646 * iconv/iconv_prog.c: Likewise.
13647 * iconv/iconvconfig.c: Likewise.
13648 * locale/programs/locale.c: Likewise.
13649 * locale/programs/localedef.c: Likewise.
13650 * malloc/memusage.sh: Likewise.
13651 * malloc/mtrace.pl: Likewise.
13652 * nscd/nscd.c (print_version): Likewise.
13653 * nss/getent.c: Likewise.
13654
a77e8cbc
UD
13655 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13656 PF_CAIF, and PF_ALG.
13657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13658
77e8bddf
AS
136592011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13660
1f20b93a
AS
13661 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13662 (modules-names): Use them.
13663 (ifunc-test-modules, ifunc-pie-tests): Define.
13664 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13665 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13666 (test-extras): Likewise.
13667 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13668 $(compile-command.c).
13669 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13670 (all-built-dso): Define.
13671 (check-textrel.out, check-execstack.out): Depend on it.
13672
77e8bddf
AS
13673 * configure.in: Don't override --enable-multi-arch.
13674
bc425b33
UD
136752011-01-15 Ulrich Drepper <drepper@gmail.com>
13676
13677 [BZ #6812]
13678 * nscd/hstcache.c (tryagain): Define.
13679 (cache_addhst): Return tryagain not notfound for temporary errors.
13680 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13681 failed.
13682
794c3ad3
UD
136832011-01-14 Ulrich Drepper <drepper@gmail.com>
13684
70181fdd
UD
13685 [BZ #10563]
13686 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13687 to make the syscall.
13688 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13689
794c3ad3
UD
13690 [BZ #12378]
13691 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13692 and fall back to matching as normal character if the string ends before
13693 the matching ']' is found. This is what POSIX requires.
13694 * posix/testfnm.c: Adjust test result.
13695 * posix/globtest.sh: Adjust test result. Add new test.
13696 * posix/tst-fnmatch.input: Likewise.
13697 * posix/tst-fnmatch2.c: Add new test.
13698
68dc9497
AS
136992010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13700
13701 * elf/Makefile (check-execstack): Revert last change. Depend on
13702 check-execstack.h.
13703 (check-execstack.h): New target.
13704 (generated): Add check-execstack.h.
13705 * elf/check-execstack.c: Include "check-execstack.h".
13706 (main): Revert last change.
13707 (handle_file): Return zero if GNU_STACK is absent and
13708 DEFAULT_STACK_PERMS doesn't include PF_X.
13709
451f001b
UD
137102011-01-13 Ulrich Drepper <drepper@gmail.com>
13711
cfa28e56
UD
13712 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13713 in child fails because the descriptor is already closed.
8cf8ce17
UD
13714 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13715 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13716 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13717
1086d70d
UD
13718 [BZ #12397]
13719 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13720 syscall.
13721
451f001b
UD
13722 [BZ #10484]
13723 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13724 temporary buffer used to handle multi lookups locally.
a85b5cb4 13725 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13726
08769175
UD
137272011-01-12 Ulrich Drepper <drepper@gmail.com>
13728
13729 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13730 loader is ld.so.
13731
5e49c52e
UD
137322011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13733
13734 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13735 alignment for SSE2.
13736
60522a5f
UD
137372011-01-12 Ulrich Drepper <drepper@gmail.com>
13738
13739 [BZ #12394]
13740 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13741 characters. When rounding increased number of integer digits recompute
13742 number of groups.
13743 * stdio-common/tst-grouping.c: New file.
13744 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13745
f257bbd7
UD
137462011-01-09 Ulrich Drepper <drepper@gmail.com>
13747
13748 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13749 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13750
13751 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13752 void.
13753 * bits/select.h: Likewise.
13754
fa9c15cb
UD
137552011-01-08 Ulrich Drepper <drepper@gmail.com>
13756
13757 * po/ja.po: Update from translation team.
13758
16c2895f
DM
137592011-01-04 David S. Miller <davem@sunset.davemloft.net>
13760
13761 [BZ #11155]
13762 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13763 implementation just like for lxstat, fxstatat, et al.
13764
2543fef2
JM
137652010-12-27 Jim Meyering <meyering@redhat.com>
13766
13767 [BZ #12348]
13768 * posix/regexec.c (build_trtable): Return failure indication upon
13769 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13770
98727dbe
UD
137712010-12-25 Ulrich Drepper <drepper@gmail.com>
13772
5bd6dc5c
UD
13773 [BZ #12201]
13774 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13775 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13778
97983464
UD
13779 [BZ #12207]
13780 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13781
98727dbe
UD
13782 [BZ #12204]
13783 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13784 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13785
4a531bb0
L
137862010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13787
13788 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13789 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13790 script has SORT_BY_INIT_PRIORITY.
13791 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13792 NO_CTORS_DTORS_SECTIONS is defined.
13793 * elf/soinit.c: Likewise.
13794 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13795 NO_CTORS_DTORS_SECTIONS is defined.
13796 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13797 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13798 * sysdeps/sh/init-first.c: Likewise.
13799 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13800
07eb4b71
UD
138012010-12-24 Ulrich Drepper <drepper@gmail.com>
13802
13803 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13804 always use the slow path.
13805
30950a5f
RA
138062010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13807
13808 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13809 similar rule which adds the sysdep directories to the header search in
13810 order to pick up the correct platform stackinfo.h.
13811 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13812 perform test if it is, otherwise return successfully without testing.
13813 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13814 DEFAULT_STACK_PERMS define in stackinfo.h.
13815 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13816 defined in stackinfo.h.
13817 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13818 DEFAULT_STACK_PERMS defined in stackinfo.h.
13819 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13820 * sysdeps/ia64/stackinfo.h: Likewise.
13821 * sysdeps/s390/stackinfo.h: Likewise.
13822 * sysdeps/sh/stackinfo.h: Likewise.
13823 * sysdeps/sparc/stackinfo.h: Likewise.
13824 * sysdeps/x86_64/stackinfo.h: Likewise.
13825 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13826 PF_X for powerpc64. Retain PF_X for powerpc32.
13827
db753e2c
UD
138282010-12-19 Ulrich Drepper <drepper@gmail.com>
13829
14b697f7
UD
13830 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13831 accurately.
db753e2c
UD
13832 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13833 GETDENTS_64BIT_ALIGNED.
13834
28300719
UD
138352010-12-14 Ulrich Drepper <dreper@gmail.com>
13836
14b697f7 13837 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13838
4f197237
AS
138392010-12-10 Andreas Schwab <schwab@redhat.com>
13840
dbb0472f
AS
13841 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13842 _GNU_SOURCE.
13843
4f197237
AS
13844 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13845 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13846 Remove __restrict.
13847 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13848 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13849
fb88ac72
UD
138502010-12-09 Ulrich Drepper <drepper@gmail.com>
13851
13852 [BZ #11655]
13853 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13854 are initialized.
13855
42acbb92
JJ
138562010-12-09 Jakub Jelinek <jakub@redhat.com>
13857
13858 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13859
c038d98d
UD
138602010-12-03 Ulrich Drepper <drepper@gmail.com>
13861
13862 * po/it.po: Update from translation team.
13863
3a4a2499
L
138642010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13865
13866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13867 unused codes.
13868
1e24cf6e
UD
138692010-11-30 Ulrich Drepper <drepper@gmail.com>
13870
13871 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13872
a7690819
AS
138732010-11-24 Andreas Schwab <schwab@redhat.com>
13874
13875 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13876 specially.
13877 (gaih_getanswer_slice): Likewise.
13878
3bf8d1b1
JJ
138792010-10-20 Jakub Jelinek <jakub@redhat.com>
13880
13881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13882
6db52fbb
PB
138832010-05-31 Petr Baudis <pasky@suse.cz>
13884
13885 [BZ #11149]
13886 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13887 silently even in the chroot mode.
13888
eaca7569
UD
138892010-11-22 Ulrich Drepper <drepper@gmail.com>
13890
13891 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13892 last patch a bit. Pretty printing
13893
3056dcdb
UD
138942010-05-31 Petr Baudis <pasky@suse.cz>
13895
13896 [BZ #10085]
13897 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13898 initialization of skip_initgroups_dyn.
13899
cf7c9078
UD
139002010-11-19 Ulrich Drepper <drepper@gmail.com>
13901
13902 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13904
a1fb5e3e
UD
139052010-11-16 Ulrich Drepper <drepper@gmail.com>
13906
13907 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13908
3540d66b
AS
139092010-11-11 Andreas Schwab <schwab@redhat.com>
13910
13911 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13912 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13913 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13914 ($(objpfx)tst-fnmatch-mem): New rule.
13915 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13916 * posix/tst-fnmatch.c (main): Call mtrace.
13917
13b69574
L
139182010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13921 Support Intel processor model 6 and model 0x2c.
13922
da93d214
LM
139232010-11-10 Luis Machado <luisgpm@br.ibm.com>
13924
13925 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13926 signed comparison.
13927
8ca52c6e
L
139282010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 [BZ #12205]
13931 * string/test-strncasecmp.c (check_result): New function.
13932 (do_one_test): Use it.
13933 (check1): New function.
13934 (test_main): Use it.
13935 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13936 Support strcasecmp and strncasecmp.
13937
69da074d
UD
139382010-11-08 Ulrich Drepper <drepper@gmail.com>
13939
13940 [BZ #12194]
13941 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13942 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13943
ff02d528
L
139442010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13947 IFUNC support.
13948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13949 memset-x86-64.
13950 * sysdeps/x86_64/multiarch/bzero.S: New file.
13951 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13952 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13953 * sysdeps/x86_64/multiarch/memset.S: New file.
13954 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13956 Set bit_Prefer_SSE_for_memop for Intel processors.
13957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13958 Define.
13959 (index_Prefer_SSE_for_memop): Define.
13960 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13961
344d0b54
LM
139622010-11-04 Luis Machado <luisgpm@br.ibm.com>
13963
13964 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13965 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13966
c0dde15b
UD
139672010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 [BZ #12191]
13970 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13971 (__x86_64_raw_data_cache_size_half): Likewise.
13972 (__x86_64_raw_shared_cache_size): Likewise.
13973 (__x86_64_raw_shared_cache_size_half): Likewise.
13974
13975 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13976 (__x86_64_raw_data_cache_size_half): Likewise.
13977 (__x86_64_raw_shared_cache_size): Likewise.
13978 (__x86_64_raw_shared_cache_size_half): Likewise.
13979 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13980 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13981 and __x86_64_raw_shared_cache_size_half. Round
13982 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13983 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13984 to multiple of 256 bytes.
13985
0e516e0e
MS
139862010-11-03 Ulrich Drepper <drepper@gmail.com>
13987
13988 [BZ #12167]
13989 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13990 of inacessible symlinks. Verify result of symlink before returning it.
13991 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13992 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13993
0e012e87
ER
139942010-10-28 Erich Ritz <erichritz@gmail.com>
13995
13996 * math/math.h (isinf): Fix typo in comment.
13997
de0ff7bc
UD
139982010-11-01 Ulrich Drepper <drepper@gmail.com>
13999
14000 * po/da.po: Update from translation team.
14001
fa41c84d
UD
140022010-10-26 Ulrich Drepper <drepper@gmail.com>
14003
14004 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14005 is added to the list.
14006
f0967738
AK
140072010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14008 Ulrich Drepper <drepper@gmail.com>
14009
14010 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14011 the global list here. Move code to...
14012 (_dl_add_to_namespace_list): ...here. New function.
14013 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14014 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14015 * elf/dl-load.c (lose): Don't remove the element from the list.
14016 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14017 (_dl_map_object): Likewise.
14018
140192010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14020
14021 [BZ #12159]
14022 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14023 into all bytes of SSE register.
14024 Patch by Richard Li <richardpku@gmail.com>.
14025
f0967738 140262010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14027
14028 [BZ #12140]
14029 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14030 perturbing.
14031
d0b9e94f
MB
140322010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14033
14034 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14035 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14036 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14037 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14039 submachine.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14041
8e9f92e9
AS
140422010-10-22 Andreas Schwab <schwab@redhat.com>
14043
14044 * include/dlfcn.h (__RTLD_SECURE): Define.
14045 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14046 mode & __RTLD_SECURE instead.
14047 (open_path): Rename preloaded parameter to secure.
14048 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14049 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14050 * elf/dl-deps.c (openaux): Likewise.
14051 * elf/rtld.c (struct map_args): Remove is_preloaded.
14052 (map_doit): Don't use it.
14053 (dl_main): Likewise.
14054 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14055 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14056
bc96fbda
AS
140572010-09-09 Andreas Schwab <schwab@redhat.com>
14058
14059 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14060 (sysd-rules-targets): Remove duplicates.
14061 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14062 rtld-%.$o dependency.
14063
22cd1c9b
AS
140642010-10-18 Andreas Schwab <schwab@redhat.com>
14065
14066 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14067 _dl_map_object do it.
14068
18edac48
UD
140692010-10-19 Ulrich Drepper <drepper@gmail.com>
14070
14071 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14072 fast fma builtins, define the macros in the C99 standard.
14073 (FP_FAST_FMAF): Likewise.
14074 (FP_FAST_FMAL): Likewise.
14075 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14076
14077 * bits/mathdef.h: Update copyright year.
14078 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14079
d2050124
MM
140802010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14081
14082 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14083 builtins, define the macros in the C99 standard.
14084 (FP_FAST_FMAF): Likewise.
14085 (FP_FAST_FMAL): Likewise.
14086 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14087 multiply/add.
14088 (FP_FAST_FMAF): Likewise.
14089
475facd1
JJ
140902010-10-15 Jakub Jelinek <jakub@redhat.com>
14091
14092 [BZ #3268]
14093 * math/libm-test.inc (fma_test): Some new testcases.
14094 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14095 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14096 y and infinite z. Do multiplication by C already in long double.
14097 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14099 y and infinite z. Do bitwise or of inexact bit into u.d.
14100 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14101 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14102 * sysdeps/i386/fpu/s_fma.S: Removed.
14103 * sysdeps/i386/fpu/s_fmal.S: Removed.
14104
7c08a05c
JJ
141052010-10-16 Jakub Jelinek <jakub@redhat.com>
14106
14107 [BZ #3268]
14108 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14110 computation is not scheduled after fetestexcept. Fix value
14111 of minimum denormal long double.
14112
f3f7372d
JJ
141132010-10-14 Jakub Jelinek <jakub@redhat.com>
14114
14115 [BZ #3268]
14116 * math/libm-test.inc (fma_test): Add some more tests.
14117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14118 correctly.
14119
14d43591
AS
141202010-10-15 Andreas Schwab <schwab@redhat.com>
14121
14122 * scripts/data/localplt-s390-linux-gnu.data: New file.
14123 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14124
5e908464
JJ
141252010-10-13 Jakub Jelinek <jakub@redhat.com>
14126
14127 [BZ #3268]
14128 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14129 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14130 instead of dbl-64.
14131 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14132 inlines.
14133 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14135 if one of x and y is very large and the other is subnormal.
14136 * sysdeps/s390/fpu/s_fmaf.c: New file.
14137 * sysdeps/s390/fpu/s_fma.c: New file.
14138 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14139 * sysdeps/powerpc/fpu/s_fma.S: New file.
14140 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14141 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14142 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14143
141442010-10-12 Jakub Jelinek <jakub@redhat.com>
14145
14146 [BZ #3268]
14147 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14148 fma tests.
14149 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14150 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14151 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14152 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14153 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14154 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14156
b833d51f
UD
141572010-10-12 Ulrich Drepper <drepper@redhat.com>
14158
14159 [BZ #12078]
14160 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14161 * posix/bug-regex31.input: Add test case.
14162
1751705d
UD
141632010-10-11 Ulrich Drepper <drepper@gmail.com>
14164
e9b9cbf5
UD
14165 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14166 * posix/bug-regex31.input: New file.
14167
14168 [BZ #12078]
14169 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14170 (parse_sub_exp): Fix last change, use postorder.
14171
ef06edbe
UD
14172 * posix/bug-regex31.c: New file.
14173 * posix/Makefile: Add rules to build and run bug-regex31.
14174
a129c80d
UD
14175 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14176
14177 [BZ #12078]
14178 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14179
b76b818e
UD
14180 [BZ #12108]
14181 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14182 to have entries in sys_siglist.
14183
1751705d
UD
14184 [BZ #12093]
14185 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14186 be NULL.
14187
9ff8d36f
JJ
141882010-10-07 Jakub Jelinek <jakub@redhat.com>
14189
14190 [BZ #3268]
14191 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14192 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14193 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14194 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14195 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14196 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14197 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14198 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14199 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14200 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14201 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14202 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14203 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14204 * math/ftestexcept.c (fetestexcept): Likewise.
14205 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14206 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14207 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14208 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14209 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14210 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14211 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14212
af325969
UD
142132010-10-11 Ulrich Drepper <drepper@gmail.com>
14214
c579b202 14215 [BZ #12107]
af325969
UD
14216 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14217 newline.
14218
67a67b95
UD
142192010-10-06 Ulrich Drepper <drepper@gmail.com>
14220
14221 * string/bug-strstr1.c: New file.
14222 * string/Makefile: Add rules to build and run bug-strstr1.
14223
5fb308bc
EB
142242010-10-05 Eric Blake <eblake@redhat.com>
14225
14226 [BZ #12092]
14227 * string/str-two-way.h (two_way_long_needle): Always clear memory
14228 when skipping input due to the shift table.
14229
45db99c7
UD
142302010-10-03 Ulrich Drepper <drepper@gmail.com>
14231
3b111893
UD
14232 [BZ #12005]
14233 * malloc/mcheck.c: Handle large requests.
14234
45db99c7
UD
14235 [BZ #12077]
14236 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14237 for strncmp and strncasecmp.
14238 * string/stratcliff.c: Add tests for strcmp and strncmp.
14239 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14240
cf7a1eb8
NI
142412010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14242
14243 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14244 __set_fpscr.
14245
6484ba5e
AJ
142462010-09-30 Andreas Jaeger <aj@suse.de>
14247
14248 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14249 (CGROUP_SUPER_MAGIC): Define.
14250 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14251 Handle btrfs and cgroup file systems.
14252 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14253 Likewise.
14254
91c42559
LM
142552010-09-27 Luis Machado <luisgpm@br.ibm.com>
14256
14257 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14258 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14259
87a97932
AK
142602010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14261
14262 [BZ #12067]
14263 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14264 trying to locate the ELF header.
14265
c21cc9bc
AS
142662010-09-27 Andreas Schwab <schwab@redhat.com>
14267
14268 [BZ #11611]
14269 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14270 Mask out sign-bit copies when constructing f_fsid.
14271
315970f6
PB
142722010-09-24 Petr Baudis <pasky@suse.cz>
14273
14274 * debug/stack_chk_fail_local.c: Add missing licence exception.
14275 * debug/warning-nop.c: Likewise.
14276
1ac7a2c7
JM
142772010-09-15 Joseph Myers <joseph@codesourcery.com>
14278
14279 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14280 implementing getdents64 using getdents syscall, set d_type if
14281 __ASSUME_GETDENTS32_D_TYPE.
14282
56801c50
AS
142832010-09-16 Andreas Schwab <schwab@redhat.com>
14284
14285 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14286 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14287
dda51327
UD
142882010-09-21 Ulrich Drepper <drepper@redhat.com>
14289
14290 [BZ #12037]
14291 * posix/unistd.h: Undo change of feature selection for ftruncate from
14292 2010-01-11.
14293
8ffcee4a
UD
142942010-09-20 Ulrich Drepper <drepper@redhat.com>
14295
a545ecd9 14296 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14297 detection.
14298
e24f0a8b
AS
142992010-09-20 Andreas Schwab <schwab@redhat.com>
14300
14301 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14302 fanotify_mark.
14303 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14304
7291c56f
AS
143052010-09-14 Andreas Schwab <schwab@redhat.com>
14306
14307 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14308 variables after CHECK_SP call.
14309 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14310
bc5fb037
AS
143112010-09-13 Andreas Schwab <schwab@redhat.com>
14312 Ulrich Drepper <drepper@redhat.com>
14313
14314 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14315 re-relocationg ld.so.
14316 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14317 _dl_init_paths call.
14318 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14319 here anymore.
14320
e66e7419
UD
143212010-09-14 Ulrich Drepper <drepper@redhat.com>
14322
14323 * resolv/res_init.c (__res_vinit): Count the default server we added.
14324
c044aa75
CLT
143252010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14326 Ulrich Drepper <drepper@redhat.com>
14327
14328 [BZ #11968]
14329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14330 (____longjmp_chk): Use %ebx for saving value across system call.
14331 Add unwind info.
14332
32cf4069
AS
143332010-09-06 Andreas Schwab <schwab@redhat.com>
14334
14335 * manual/Makefile: Don't mix pattern rules with normal rules.
14336
817328ee
AS
143372010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14338
14339 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14340 operation.
14341 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14342 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14343 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14344 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14346 Likewise.
14347
29fddf61
UD
143482010-09-04 Ulrich Drepper <drepper@redhat.com>
14349
14350 [BZ #11979]
14351 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14352 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14353
0959ffc9
UD
143542010-09-02 Ulrich Drepper <drepper@redhat.com>
14355
14356 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14357 * sysdeps/x86_64/addmul_1.S: Likewise.
14358 * sysdeps/x86_64/lshift.S: Likewise.
14359 * sysdeps/x86_64/mul_1.S: Likewise.
14360 * sysdeps/x86_64/rshift.S: Likewise.
14361 * sysdeps/x86_64/sub_n.S: Likewise.
14362 * sysdeps/x86_64/submul_1.S: Likewise.
14363
ece29840
ST
143642010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14365
0959ffc9
UD
14366 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14367 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14368 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14369 * bits/sched.h [__need_schedparam]
ece29840 14370 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14371 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14372 (__defined_schedparam): Define to 1.
ece29840
ST
14373 (__sched_param): New structure, identical to sched_param.
14374 (__need_schedparam): Undefine.
14375
e53a31fe
MF
143762010-08-31 Mike Frysinger <vapier@gentoo.org>
14377
fdc0c10d
MF
14378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14379 (epoll_create1): Declare.
14380
e53a31fe
MF
14381 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14382
a726d796
AS
143832010-08-31 Andreas Schwab <schwab@redhat.com>
14384
14385 [BZ #7066]
14386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14387 shifting retval into place.
14388
2f3e3dc7
UD
143892010-09-01 Ulrich Drepper <drepper@redhat.com>
14390
f2933da9
UD
14391 * nis/rpcsvc/nis.h: Update copyright notice.
14392 * nis/rpcsvc/nis.x: Likewise.
14393 * nis/rpcsvc/nis_callback.h: Likewise.
14394 * nis/rpcsvc/nis_callback.x: Likewise.
14395 * nis/rpcsvc/nis_object.x: Likewise.
14396 * nis/rpcsvc/nis_tags.h: Likewise.
14397 * nis/rpcsvc/yp.h: Likewise.
14398 * nis/rpcsvc/yp.x: Likewise.
14399 * nis/rpcsvc/ypupd.h: Likewise.
14400 * nis/yp_xdr.c: Likewise.
14401 * nis/ypupdate_xdr.c: Likewise.
14402
2f3e3dc7
UD
14403 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14404 mainly the body of pmap_getport. Add parameters to specify timeouts.
14405 (pmap_getport): Use __libc_rpc_getport.
14406 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14407 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14408 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14409
f3dcc2f9
AS
144102010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14411
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14413 fanotify_mark.
14414
6d34eb5b
RM
144152010-08-27 Roland McGrath <roland@redhat.com>
14416
14417 * sysdeps/i386/i686/multiarch/Makefile
14418 (CFLAGS-varshift.c): New variable.
14419
9ea3de11
UD
144202010-08-27 Ulrich Drepper <drepper@redhat.com>
14421
c96d23fc
UD
14422 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14423 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14424
9ea3de11
UD
14425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14426
14427 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14428
623aac7f
L
144292010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14430
14431 * sysdeps/x86_64/strlen.S: Unroll the loop.
14432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14433 strlen-sse2 strlen-sse2-bsf.
14434 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14435 __strlen_no_bsf if bit_Slow_BSF is set.
14436 (__strlen_sse42): Removed.
14437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14438 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14439
8b2b7715
RM
144402010-08-25 Roland McGrath <roland@redhat.com>
14441
14442 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14443 * sysdeps/x86_64/multiarch/varshift.c: New file.
14444 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14445 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14446 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14448
e73015f2
L
144492010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14452 strlen-sse2 strlen-sse2-bsf.
14453 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14454 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14455 (__strlen_sse2): Removed.
14456 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14459 bit_Slow_BSF for Atom.
14460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14461 (index_Slow_BSF): Define.
14462 (HAS_SLOW_BSF): Define.
14463
df24a73e
UD
144642010-08-25 Ulrich Drepper <drepper@redhat.com>
14465
14466 [BZ #10851]
14467 * resolv/res_init.c (__res_vinit): When no server address at all
14468 is given default to loopback.
14469
f2ac4868
RM
144702010-08-24 Roland McGrath <roland@redhat.com>
14471
09055553
RM
14472 * configure.in: Remove config-name.h generation.
14473 * configure: Regenerated.
14474 * config-name.in: File removed.
14475 * scripts/config-uname.sh: New file.
14476 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14477 ($(objdir)config-name.h): New target.
14478
f2ac4868
RM
14479 * sunrpc/rpc_parse.h: Avoid nested comment.
14480
73f27d5e
RH
144812010-08-24 Richard Henderson <rth@redhat.com>
14482 Ulrich Drepper <drepper@redhat.com>
14483 H.J. Lu <hongjiu.lu@intel.com>
14484
14485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14487 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14488 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14489 _mm_alignr_epi8 with _mm_loadu_si128.
14490 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14491 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14492 (__m128i_shift_right): Removed.
14493 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14494 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14495 * sysdeps/x86_64/multiarch/varshift.h: New file.
14496 * sysdeps/x86_64/multiarch/varshift.S: New file.
14497
84b9230c
MF
144982010-08-21 Mike Frysinger <vapier@gentoo.org>
14499
14500 * configure.in: Move assembler checks to before sysdep dir checking.
14501
9bbd0ddc
PB
145022010-08-20 Petr Baudis <pasky@suse.cz>
14503
14504 * LICENSES: Sync the sunrpc license.
14505
9da4bb31
UD
145062010-08-19 Ulrich Drepper <drepper@redhat.com>
14507
a7ab6ec8
UD
14508 * sunrpc/auth_des.c: Update copyright notice once again.
14509 * sunrpc/auth_none.c: Likewise.
14510 * sunrpc/auth_unix.c: Likewise.
14511 * sunrpc/authdes_prot.c: Likewise.
14512 * sunrpc/authuxprot.c: Likewise.
14513 * sunrpc/bindrsvprt.c: Likewise.
14514 * sunrpc/clnt_gen.c: Likewise.
14515 * sunrpc/clnt_perr.c: Likewise.
14516 * sunrpc/clnt_raw.c: Likewise.
14517 * sunrpc/clnt_simp.c: Likewise.
14518 * sunrpc/clnt_tcp.c: Likewise.
14519 * sunrpc/clnt_udp.c: Likewise.
14520 * sunrpc/clnt_unix.c: Likewise.
14521 * sunrpc/des_crypt.c: Likewise.
14522 * sunrpc/des_soft.c: Likewise.
14523 * sunrpc/get_myaddr.c: Likewise.
14524 * sunrpc/getrpcport.c: Likewise.
14525 * sunrpc/key_call.c: Likewise.
14526 * sunrpc/key_prot.c: Likewise.
14527 * sunrpc/openchild.c: Likewise.
14528 * sunrpc/pm_getmaps.c: Likewise.
14529 * sunrpc/pm_getport.c: Likewise.
14530 * sunrpc/pmap_clnt.c: Likewise.
14531 * sunrpc/pmap_prot.c: Likewise.
14532 * sunrpc/pmap_prot2.c: Likewise.
14533 * sunrpc/pmap_rmt.c: Likewise.
14534 * sunrpc/rpc/auth.h: Likewise.
14535 * sunrpc/rpc/auth_unix.h: Likewise.
14536 * sunrpc/rpc/clnt.h: Likewise.
14537 * sunrpc/rpc/des_crypt.h: Likewise.
14538 * sunrpc/rpc/key_prot.h: Likewise.
14539 * sunrpc/rpc/netdb.h: Likewise.
14540 * sunrpc/rpc/pmap_clnt.h: Likewise.
14541 * sunrpc/rpc/pmap_prot.h: Likewise.
14542 * sunrpc/rpc/pmap_rmt.h: Likewise.
14543 * sunrpc/rpc/rpc.h: Likewise.
14544 * sunrpc/rpc/rpc_des.h: Likewise.
14545 * sunrpc/rpc/rpc_msg.h: Likewise.
14546 * sunrpc/rpc/svc.h: Likewise.
14547 * sunrpc/rpc/svc_auth.h: Likewise.
14548 * sunrpc/rpc/types.h: Likewise.
14549 * sunrpc/rpc/xdr.h: Likewise.
14550 * sunrpc/rpc_clntout.c: Likewise.
14551 * sunrpc/rpc_cmsg.c: Likewise.
14552 * sunrpc/rpc_common.c: Likewise.
14553 * sunrpc/rpc_cout.c: Likewise.
14554 * sunrpc/rpc_dtable.c: Likewise.
14555 * sunrpc/rpc_hout.c: Likewise.
14556 * sunrpc/rpc_main.c: Likewise.
14557 * sunrpc/rpc_parse.c: Likewise.
14558 * sunrpc/rpc_parse.h: Likewise.
14559 * sunrpc/rpc_prot.c: Likewise.
14560 * sunrpc/rpc_sample.c: Likewise.
14561 * sunrpc/rpc_scan.c: Likewise.
14562 * sunrpc/rpc_scan.h: Likewise.
14563 * sunrpc/rpc_svcout.c: Likewise.
14564 * sunrpc/rpc_tblout.c: Likewise.
14565 * sunrpc/rpc_util.c: Likewise.
14566 * sunrpc/rpc_util.h: Likewise.
14567 * sunrpc/rpcinfo.c: Likewise.
14568 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14569 * sunrpc/rpcsvc/key_prot.x: Likewise.
14570 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14571 * sunrpc/rpcsvc/mount.x: Likewise.
14572 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14573 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14574 * sunrpc/rpcsvc/rex.x: Likewise.
14575 * sunrpc/rpcsvc/rstat.x: Likewise.
14576 * sunrpc/rpcsvc/rusers.x: Likewise.
14577 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14578 * sunrpc/rpcsvc/spray.x: Likewise.
14579 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14580 * sunrpc/rtime.c: Likewise.
14581 * sunrpc/svc.c: Likewise.
14582 * sunrpc/svc_auth.c: Likewise.
14583 * sunrpc/svc_authux.c: Likewise.
14584 * sunrpc/svc_raw.c: Likewise.
14585 * sunrpc/svc_run.c: Likewise.
14586 * sunrpc/svc_simple.c: Likewise.
14587 * sunrpc/svc_tcp.c: Likewise.
14588 * sunrpc/svc_udp.c: Likewise.
14589 * sunrpc/svc_unix.c: Likewise.
14590 * sunrpc/svcauth_des.c: Likewise.
14591 * sunrpc/xcrypt.c: Likewise.
14592 * sunrpc/xdr.c: Likewise.
14593 * sunrpc/xdr_array.c: Likewise.
14594 * sunrpc/xdr_float.c: Likewise.
14595 * sunrpc/xdr_mem.c: Likewise.
14596 * sunrpc/xdr_rec.c: Likewise.
14597 * sunrpc/xdr_ref.c: Likewise.
14598 * sunrpc/xdr_sizeof.c: Likewise.
14599 * sunrpc/xdr_stdio.c: Likewise.
14600
9da4bb31
UD
14601 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14602 handling.
14603
bdaa77bc
AS
146042010-08-19 Andreas Schwab <schwab@redhat.com>
14605
14606 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14607
fe2f79db
LM
146082010-08-19 Luis Machado <luisgpm@br.ibm.com>
14609
14610 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14611 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14612 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14613 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14614 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14615 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14616 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14617 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14619 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14620 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14621 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14622 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14623 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14624
b9b42ee0
AB
146252010-07-26 Anton Blanchard <anton@samba.org>
14626
14627 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14628 * malloc/arena.c (heap_trim): Likewise.
14629
1c06ba31
UD
146302010-08-16 Ulrich Drepper <drepper@redhat.com>
14631
14632 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14633 here. Not...
14634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14635 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14636
f8392f40
L
146372010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14638
14639 * sysdeps/i386/elf/Makefile: New file.
14640
3162f12e
AS
146412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14642
14643 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14644 from fanotify_init.
14645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14647
28c90b2c
UD
146482010-08-15 Ulrich Drepper <drepper@redhat.com>
14649
14650 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14651 of strncasecmp_l.
1feccb6c 14652 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14653
ca6bb004
UD
146542010-08-14 Ulrich Drepper <drepper@redhat.com>
14655
e9f82e0d
UD
14656 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14657 strncase_l-nonascii.
14658 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14659 Add strncase_l-ssse3.
14660 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14661 * sysdeps/x86_64/strcmp.S: Likewise.
14662 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14663 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14664 * sysdeps/x86_64/strncase.S: New file.
14665 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14666 * sysdeps/x86_64/strncase_l.S: New file.
14667 * string/Makefile (strop-tests): Add strncasecmp.
14668 * string/test-strncasecmp.c: New file.
14669
14670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14671 warning.
14672
ca6bb004
UD
14673 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14674 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14675
052fa7b3
AS
146762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14677
14678 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14679
962dba78
UD
146802010-08-12 Ulrich Drepper <drepper@redhat.com>
14681
14682 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14683 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14685
bebff237
AM
146862010-05-01 Alan Modra <amodra@gmail.com>
14687
14688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14689 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14690 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14691 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14692 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14693 tidying. Don't tail-call __sigjmp_save for static lib.
14694 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14695 save location.
14696 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14697 (CALL_MCOUNT): Add eh info, and nop after bl.
14698 (TAIL_CALL_SYSCALL_ERROR): New macro.
14699 (PSEUDO_RET): Use it.
14700 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14701 Correct save location of integer regs and cr.
14702 (_dl_profile_resolve): Correct cr save location. Delete nops
14703 after bl when SHARED. Reduce cfi size a little by better
14704 placement of cfi directives.
14705 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14706 make a stack frame. Instead use parm save area as a temp.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14708 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14710 Don't make a stack frame for parent, use parm save area.
14711 Increase child stack frame to 112 bytes. Don't save unused reg,
14712 and adjust reg usage. Set up cfi on error recovery and
14713 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14715 (__makecontext): Add dummy nop after jump to exit.
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14717 Use correct parm save area and cr save, reduce stack frame.
14718 Correct cfi for possible PSEUDO_RET frame setup.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14720 Branch to local label emitted by PSEUDO_RET rather than
14721 __syscall_error.
14722
02637374
AS
147232010-08-12 Andreas Schwab <schwab@redhat.com>
14724
14725 [BZ #11904]
14726 * locale/programs/locale.c (print_assignment): New function.
14727 (show_locale_vars): Use it.
14728
c3e2f19b
UD
147292010-08-11 Ulrich Drepper <drepper@redhat.com>
14730
3cdaa6ad
UD
14731 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14732 field.
14733 (struct statfs64): Likewise.
14734 (_STATFS_F_FLAGS): Define.
14735 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14737 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14738 (ST_VALID): Define locally.
14739 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14740 __statvfs_getflags, use the provided value.
14741 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14742 __ASSUME_STATFS_F_FLAGS.
14743
754f7da3
UD
14744 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14745
10b3bedc
UD
14746 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14747 Add sys/fanotify.h.
14748 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14749 fanotify_mask for GLIBC_2.13.
14750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14751 fanotify_init and fanotify_mark.
14752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14753 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14754
c08fb0d7
UD
14755 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14756 Add prlimit.
14757 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14758 prlimit64 for GLIBC_2.13.
14759 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14760 prlimit64.
14761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14762 syscall.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14765 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14766 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14767 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14768 add prlimit alias.
14769 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14770
15bac72b
UD
14771 [BZ #11903]
14772 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14773 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14774
c3e2f19b
UD
14775 * nss/Makefile: Add rules to build and run tst-nss-test1.
14776 * shlib-versions: Add entry for libnss_test1.
14777 * nss/nss_test1.c: New file.
14778 * nss/tst-nss-test1.c: New file.
14779
14780 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14781 (__nss_configure_lookup): Set appropriate entry in
14782 __nss_configure_lookup to true.
14783 * nss/nsswitch.h: Define enum with indeces of databases in
14784 databases and __nss_database_custom arrays. Declare
14785 __nss_database_custom.
14786 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14787 to avoid using nscd when custom rules are installed.
14788 * nss/getXXbyYY_r.c: Likewise.
14789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14790
14791 * nss/nss_files/files-parse.c: Whitespace fixes.
14792
f15ce4d8
UD
147932010-08-09 Ulrich Drepper <drepper@redhat.com>
14794
14795 [BZ #11883]
14796 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14797 * posix/fnmatch_loop.c: Likewise.
14798
d22e4cc9
AK
147992010-07-17 Andi Kleen <ak@linux.intel.com>
14800
14801 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14802 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14803 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14804 * Versions.def [GLIBC_2.13]: Add.
14805
805bc17d
UD
148062010-08-06 Ulrich Drepper <drepper@redhat.com>
14807
14808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14809 Also fail if tpwd after pwuid call is NULL.
14810
5a42321d
ST
148112010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14812
14813 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14814 when converting to ms.
14815
fd3ebeda
ST
148162010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14817
14818 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14819 EOPNOTSUPP errors with ENOTTY.
14820 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14821 EOPNOTSUPP errors with ENOTTY.
14822
73507d3a
UD
148232010-07-31 Ulrich Drepper <drepper@redhat.com>
14824
14825 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14826 Add strcasecmp_l-ssse3.
14827 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14828 strcasecmp.
14829 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14831 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14832
fe36dd02
UD
148332010-07-30 Ulrich Drepper <drepper@redhat.com>
14834
66f6765a
UD
14835 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14836
42e08a54
UD
14837 * string/Makefile (strop-tests): Add strcasecmp.
14838 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14839 strcasecmp_l-nonascii.
14840 (gen-as-const-headers): Add locale-defines.sym.
14841 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14842 * sysdeps/x86_64/strcasecmp.S: New file.
14843 * sysdeps/x86_64/strcasecmp_l.S: New file.
14844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14845 * sysdeps/x86_64/locale-defines.sym: New file.
14846 * string/test-strcasecmp.c: New file.
14847
fe36dd02
UD
14848 * string/test-strcasestr.c: Test both ends of the range of characters.
14849 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14850
48cbc0d6
RM
148512010-07-29 Roland McGrath <roland@redhat.com>
14852
76e6d6bc 14853 [BZ #11856]
48cbc0d6
RM
14854 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14855
880113d9
UD
148562010-07-27 Ulrich Drepper <drepper@redhat.com>
14857
14858 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14859 for ld.so.
14860
deb9cabb
AS
148612010-07-27 Andreas Schwab <schwab@redhat.com>
14862
14863 * manual/memory.texi (Malloc Tunable Parameters): Document
14864 M_PERTURB.
14865
1c7570ff
RM
148662010-07-26 Roland McGrath <roland@redhat.com>
14867
14868 [BZ #11840]
14869 * configure.in (-fgnu89-inline check): Set and substitute
14870 gnu89_inline, not libc_cv_gnu89_inline.
14871 * configure: Regenerated.
14872 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14873
24fb0f88
UD
148742010-07-26 Ulrich Drepper <drepper@redhat.com>
14875
14876 * string/test-strnlen.c: New file.
14877 * string/Makefile (strop-tests): Add strnlen.
14878 * string/tester.c (test_strnlen): Add a few more test cases.
14879 * string/tst-strlen.c: Better error reporting.
14880
14881 * sysdeps/x86_64/strnlen.S: New file.
14882
8e96b93a
UD
148832010-07-24 Ulrich Drepper <drepper@redhat.com>
14884
14885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14886 lower-latency instructions.
14887
dbc676d4
UD
148882010-07-23 Ulrich Drepper <drepper@redhat.com>
14889
14890 * string/test-strcasestr.c: New file.
14891 * string/test-strstr.c: New file.
14892 * string/Makefile (strop-tests): Add strstr and strcasestr.
14893 * string/str-two-way.h: Don't undefine MAX.
14894 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14895
f6a31e0e
AS
148962010-07-21 Andreas Schwab <schwab@redhat.com>
14897
14898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14899 strcasestr-nonascii.
14900 (CFLAGS-strcasestr-nonascii.c): Define.
14901 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14902 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14903 Remove unused attribute.
14904
5dbc3b6c
RM
149052010-07-20 Roland McGrath <roland@redhat.com>
14906
14907 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14908 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14909 ld.so.cache was broken. With it, there is no way to disable dsocaps
14910 like LD_HWCAP_MASK can disable hwcaps.
14911
23d101d8
EPM
149122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14913
14914 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14915
cc9f2e47
UD
149162010-07-16 Ulrich Drepper <drepper@redhat.com>
14917
14918 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14919 call in strcasestr.
14920 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14921 __strcasestr_sse42_nonascii.
14922 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14923 strcasestr-nonascii.c.
14924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14925
77c1b069
LM
149262010-06-15 Luis Machado <luisgpm@br.ibm.com>
14927
14928 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14929 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14932
440566c3
UD
149332010-07-09 Ulrich Drepper <drepper@redhat.com>
14934
14935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14936 fcntl.
14937
5be9d05d
AS
149382010-07-06 Andreas Schwab <schwab@redhat.com>
14939
c30b7ee2 14940 [BZ #11577]
5be9d05d
AS
14941 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14942 dl_signal_cerror.
14943
8a492a67
UD
149442010-07-06 Ulrich Drepper <drepper@redhat.com>
14945
14946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14947 _PC_PIPE_BUF using F_GETPIPE_SZ.
14948
713df3d5
RM
149492010-07-05 Roland McGrath <roland@redhat.com>
14950
14951 * manual/arith.texi (Rounding Functions): Fix rint description
14952 implicit in round description.
14953
702e8f14
UD
149542010-07-02 Ulrich Drepper <drepper@redhat.com>
14955
14956 * elf/Makefile: Fix linking for a few tests to make recent linker
14957 happy.
14958
52ed8be9
AS
149592010-06-30 Andreas Schwab <schwab@redhat.com>
14960
14961 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14962 $(common-objpfx)libc_nonshared.a.
14963
f47c9a11
LM
149642010-06-21 Luis Machado <luisgpm@br.ibm.com>
14965
14966 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14967 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14968 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14969 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14970 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14971 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14972 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14973 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14988 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14989 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14990 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14991 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14992 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14993 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14994 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14995 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14996 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14997 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14998 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14999 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15014
6fb8cbcb
L
150152010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15016
15017 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15018 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15019 * string/memmove.c (memmove): Renamed to ...
15020 (MEMMOVE): ...this. Default to memmove.
15021 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15022 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15023 (END_CHK): Define.
15024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15025 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15026 mempcpy-ssse3-back memmove-ssse3-back.
15027 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15030 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15031 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15032 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15033 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15034 * sysdeps/x86_64/multiarch/memmove.c: New file.
15035 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15036 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15037 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15038 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15039 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15040 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15041 Define.
15042 (index_Fast_Copy_Backward): Define.
15043 (HAS_ARCH_FEATURE): Define.
15044 (HAS_FAST_REP_STRING): Define.
15045 (HAS_FAST_COPY_BACKWARD): Define.
15046
4e733bac 150472010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15048
15049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15050 Restore proper fallback handling.
15051
63c4ed22
UD
150522010-06-19 Ulrich Drepper <drepper@redhat.com>
15053
ac2b484c
UD
15054 [BZ #11701]
15055 * posix/group_member.c (__group_member): Correct checking loop.
15056
63c4ed22
UD
15057 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15058 OOM in getpwuid_r correctly. Return error number when the caller
15059 should return, otherwise -1.
15060 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15061 call returning > 0 value.
15062 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15063
765ade4b
AS
150642010-06-07 Andreas Schwab <schwab@redhat.com>
15065
15066 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15067 libc_nonshared.a from targets in modules-names.
15068
80da2e09
KS
150692010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15070
15071 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15072 requires it.
15073
158db122
LM
150742010-06-10 Luis Machado <luisgpm@br.ibm.com>
15075
15076 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15077 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15080
caa78cf8
AS
150812010-06-02 Andreas Schwab <schwab@redhat.com>
15082
15083 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15084
b2ef2c01
UD
150852010-06-14 Ulrich Drepper <drepper@redhat.com>
15086
15087 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15088 and F_GETPIPE_SZ.
15089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15095
fbd643b6
RM
150962010-06-14 Roland McGrath <roland@redhat.com>
15097
15098 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15099
f32f2869
JJ
151002010-06-07 Jakub Jelinek <jakub@redhat.com>
15101
15102 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15103 __REDIRECT followed by __THROW.
15104 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15105 * posix/getopt.h (getopt): Likewise.
15106
2a50c078
EPM
151072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15108
15109 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15110 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15111 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15112 in AT_FLAGS.
15113 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15114 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15115
eb5ad2eb
LM
151162010-05-28 Luis Machado <luisgpm@br.ibm.com>
15117
15118 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15119
3c88fe1e
L
151202010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15121
15122 [BZ #11640]
15123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15124 Properly check family and model.
15125
d2f73151
TY
151262010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15127
15128 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15129
ebd2e13d
LM
151302010-05-24 Luis Machado <luisgpm@br.ibm.com>
15131
15132 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15133
b32b8b45
UD
151342010-05-21 Ulrich Drepper <drepper@redhat.com>
15135
15136 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15137 symbol reference.
15138
9acbe24d
AS
151392010-05-19 Andreas Schwab <schwab@redhat.com>
15140
15141 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15142 symbol reference.
15143
f0ccf6ea
AS
151442010-05-21 Andreas Schwab <schwab@redhat.com>
15145
3d04ff3a
AS
15146 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15147 and internal_recvmmsg.
15148 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15149 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15150 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15151 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15152
f0ccf6ea
AS
15153 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15154 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15155 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15156
5b08ac57
AS
151572010-05-20 Andreas Schwab <schwab@redhat.com>
15158
15159 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15160
4828935d
LM
151612010-05-17 Luis Machado <luisgpm@br.ibm.com>
15162
15163 POWER7 optimizations.
15164 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15165 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15166
373d545e
UD
151672010-05-19 Ulrich Drepper <drepper@redhat.com>
15168
15169 * version.h: Update for 2.13 development version.
15170
21a2b1ae
AS
151712010-05-12 Andrew Stubbs <ams@codesourcery.com>
15172
15173 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15174 exceptions. Return 0.
15175
3f7dcb2b
RM
151762010-05-07 Roland McGrath <roland@redhat.com>
15177
15178 * elf/ldconfig.c (main): Add a const.
15179
5f24d53a 151802010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15181
a160f8d8
UD
15182 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15183 (args_options): Add no-idn option.
15184 (ahosts_keys_int): Add idn_flags to ai_flags.
15185 (parse_option): Handle 'i' option to clear idn_flags.
15186
5f24d53a
UD
15187 * malloc/malloc.c (_int_free): Possible race in the most recently
15188 added check. Only act on the data if no current modification
15189 happened.
265bb1ce
UD
15190
15191See ChangeLog.17 for earlier changes.