]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Replace "jmp L(pseudo_end)" with "ret"
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5e292e4f
L
12012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4 Replace "jmp L(pseudo_end)" with "ret".
5 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6 Likewise.
7
8caf8c87
AJ
82012-05-23 Andreas Jaeger <aj@suse.de>
9
10 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12
1a09dc56
AJ
132012-05-23 Andreas Jaeger <aj@suse.de>
14 Maximilian Attems <max@stro.at>
15
16 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17 New macros.
18
1c87aba0
L
192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20
21 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22 code so that pseudo_end is just ret and the stack pointer is
23 correct also for static library in error case.
24
40e45bd5
JM
252012-05-23 Joseph Myers <joseph@codesourcery.com>
26
c2670533
JM
27 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28 move to syscalls.list.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33
40e45bd5
JM
34 * manual/install.texi (Running make install): Do not mention Linux
35 kernel version for which pt_chown is not needed.
36 (Linux): Do not mention problems with nscd with 2.0 kernels.
37 * INSTALL: Regenerated.
38
be08eda5
AJ
392012-05-23 Andreas Jaeger <aj@suse.de>
40
41 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43 macro.
44 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48 * sysdeps/unix/sysv/linux/i386/bits/mman.h
49 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54 * sysdeps/unix/sysv/linux/bits/in.h
55 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56
a6a056bb
RM
572012-05-22 Roland McGrath <roland@hack.frob.com>
58
59 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60 (PREPARE_VERSION): Just use assert instead, it will be elided
61 under [NDEBUG] anyway.
62
c9009328
L
632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
64
65 * sysdeps/unix/sysv/linux/Makefile: Include
66 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 67 (sysdep_routines): Remove sysctl.
c9009328
L
68 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
69 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
71 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73
73338355
AJ
742012-05-22 Andreas Jaeger <aj@suse.de>
75
76 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77 that pseudo_end is just ret and the stack pointer is correct also
78 for static library in error case.
79
d44638b0
PP
802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81
82 [BZ #14122]
83 * nss/nsswitch.c (defconfig_entries): New variable.
84 (__nss_database_lookup): Don't leak defconfig entries.
85 (nss_parse_service_list): Don't leak on error paths.
86 (free_database_entries): New function.
87 (free_defconfig): New function.
88 (free_mem): Move common code to free_database_entries.
89
31a39bd8
L
902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
91
da0331a8
L
92 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
93 Add arch_prctl.
94 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
95
31a39bd8
L
96 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
97 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
98 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
99 New macro.
100 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
101 (INTERNAL_SYSCALL_TYPES): Likewise.
102 (LOAD_ARGS_TYPES_[1-6]): Likewise.
103 (LOAD_REGS_TYPES_[1-6]): Likewise.
104 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
105 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
106
45470df3
AZ
1072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
108
109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
110 copysignl for GLIBC_2_0.
111 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
112 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
114 logbl for GLIBC_2_0.
115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
116 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
117
98a61bcb
L
1182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
119
a4f6e481
L
120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
121 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
122
f63d5db6
L
123 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
124 Use "neg %eax".
125
98a61bcb
L
126 * time/mktime.c: Update copyright years.
127
95770f14
PE
1282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
129
6226efbd
PE
130 mktime: merge comment-quoting-style change from gnulib
131 * time/mktime.c: Quote 'like this' in comments.
132 The GNU coding standards suggest that we no longer quote `like this',
133 as "`" and "'" are typically rendered asymmetrically nowadays.
134 The typical gnulib style is to quote 'like this' when quoting
135 code, and "like this" when quoting English.
136
b99e4f78
PE
137 * time/mktime.c (compile-command): Add "-I.".
138
643e01e6
PE
139 mktime: merge mktime-internal.h change from gnulib
140 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
141
2554247d
PE
142 mktime: merge time_r change from gnulib
143 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
144
826dd0ab
PE
145 mktime: merge DEBUG change from gnulib
146 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
147 case system <time.h> has a #define.
148
bd83aabe
PE
149 mktime: merge <sys/types.h> change from gnulib
150 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
151 since <time.t> is now guaranteed to define time_t.
152
95770f14
PE
153 mktime: merge HAVE_CONFIG_H change from gnulib
154 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
155
5e1a27a9
L
1562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
157
0e44a77e
L
158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
159 Use "neg %eax".
160
5e1a27a9
L
161 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
162 __rlim_t cast.
163 (struct rusage): Use anonymous union to pad each field to
164 __syscall_slong_t.
165
46259bec
DM
1662012-05-21 David S. Miller <davem@davemloft.net>
167
168 * Makefules (o-iterator): Remove .s cases.
169 (compile-command.s): Delete.
170 (COMPILE.s): Delete.
171 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
172
59f0c22e
JM
1732012-05-21 Joseph Myers <joseph@codesourcery.com>
174
175 * configure.in (libc_cv_predef_stack_protector): Only consider
176 "foobar" and "__stack_chk_fail" lines in libc_undefs.
177 * configure: Regenerated.
178
20c07380
L
1792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
180
bbb3154b
L
181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
182 New macro. Use R*LP on int and pointer.
183 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
184 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
185 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
186 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
187
20c07380
L
188 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
189 [__WORDSIZE_TIME64_COMPAT32] instead of
190 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
191 (struct utmp): Likewise.
192 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
193 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
194 Renamed to ...
195 (__WORDSIZE_TIME64_COMPAT32): This.
196 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
197 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
198 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
199 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
200 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
201 (__WORDSIZE_TIME64_COMPAT32): New macro.
202
d8d1017e
AJ
2032012-05-21 Andreas Jaeger <aj@suse.de>
204
205 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
206 only if [SHARED]. Add prototype for __wcschr_ia32.
207
6c7fb145
RM
2082012-05-21 Roland McGrath <roland@hack.frob.com>
209
210 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
211 of %rbp unmolested in the jmp_buf while mangling the low bits.
212 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
213 unmolested high bits of %rbp while demangling the low bits.
214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
215
66274218
AJ
2162012-05-21 Andreas Jaeger <aj@suse.de>
217
07c58f8f
AJ
218 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
219 * sunrpc/svc_simple.c: Use it for registerrpc.
220 * sunrpc/xcrypt.c: Use it for passwd2des.
221
66274218
AJ
222 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
223
61f65140
L
2242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
225
226 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
227 Don't define if [__SYSCALL_WORDSIZE != 32].
228 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
229 New macro.
230
5fefb436
AJ
2312012-05-21 Bruno Haible <bruno@clisp.org>
232 Andreas Jaeger <aj@suse.de>
233
234 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
235 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
236 inptr and inend for must_buffer_ch.
237 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
238 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
239 * stdio-common/Makefile (tests): Remove bug15.
240 (bug15-ENV): Remove macro.
241 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
242 anymore.
243
d8e272ab
AJ
2442012-05-19 Andreas Jaeger <aj@suse.de>
245 Roland McGrath <roland@hack.frob.com>
246
247 * manual/contrib.texi: Completely rewritten. It contains now an
248 alphabetical list of contributors and their contributions.
249
4a56a162
RH
2502012-05-21 Richard Henderson <rth@twiddle.net>
251
252 * misc/getauxval.c (__getauxval): Use unsigned long int.
253 * misc/sys/auxv.h: Include <sys/cdefs.h>.
254 (getauxval): Use unsigned long int.
255
d024d23c
L
2562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
257
258 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
259
cbc00a03
RM
2602012-05-21 Roland McGrath <roland@hack.frob.com>
261
262 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
263 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
264 __alignof__ (long double).
265
478143fa
AZ
2662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
267
268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
269
c7683a6d
RH
2702012-05-20 Richard Henderson <rth@twiddle.net>
271
272 * misc/getauxval.c: New file.
273 * misc/sys/auxv.h: New file.
274 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
275 (routines): Add getauxval.
276 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
278 * elf/dl-sysdep.c (_dl_auxv): Remove.
279 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
280 * elf/dl-support.c (_dl_auxv): New variable.
281 (_dl_aux_init): Initialize it.
282 * manual/startup.texi (Auxiliary Vector): New node.
283 * sysdeps/generic/bits/hwcap.h: New file.
284 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
285 * sysdeps/powerpc/sysdep.h: ... here. Include it.
286 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
287 * sysdeps/sparc/sysdep.h: ... here. Include it.
288 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
289 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
291 Update.
c7683a6d
RH
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
300
a6f1845d
AZ
3012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302
303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
304
cbcbe830
DM
3052012-05-19 David S. Miller <davem@davemloft.net>
306
307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
308
e0b16cc2
JM
3092012-05-19 Joseph Myers <joseph@codesourcery.com>
310
311 [BZ #14123]
312 * math/s_ccosh.c: Include <float.h>
313 (__ccosh): Avoid internal overflow calculating sinh and cosh
314 values before multiplying by sin and cos values.
315 * math/s_ccoshf.c: Likewise.
316 * math/s_ccoshl.c: Likewise.
317 * math/s_csin.c: Likewise.
318 * math/s_csinf.c: Likewise.
319 * math/s_csinl.c: Likewise.
320 * math/s_csinh.c: Likewise.
321 * math/s_csinhf.c: Likewise.
322 * math/s_csinhl.c: Likewise.
323 * math/libm-test.inc (ccos_test): Add more tests.
324 (ccosh_test): Likewise.
325 (csin_test): Likewise.
326 (csinh_test): Likewise.
327 * sysdeps/i386/fpu/libm-test-ulps: Update.
328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
329
6ad13e08
L
3302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
331
f66f0ce8
L
332 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
333 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
334
6ad13e08
L
335 * sysdeps/x86_64/x32/_itoa.h: Add comment.
336
b1d072a7
JM
3372012-05-19 Joseph Myers <joseph@codesourcery.com>
338
339 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
340 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
341 * sysdeps/powerpc/soft-fp/Versions: Likewise.
342 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
343 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
344 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
345 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
346 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
347 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
348 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
349 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
350 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
351 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
352 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
353 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
354 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
355 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
356 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
357 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
358 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
359 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
360 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
361 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
362 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
363 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
364 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
365 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
366 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
367 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
368 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
369 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
370
9eae47cb
AJ
3712012-05-18 Andreas Jaeger <aj@suse.de>
372
373 * csu/.gitignore: Delete.
374
bb07f69f
L
3752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
376
377 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
378 (timex): Use __syscall_slong_t.
379
e6bdb741
AJ
3802012-05-18 Andreas Jaeger <aj@suse.de>
381 Carlos O'Donell <carlos_odonell@mentor.com>
382
383 * manual/install.texi (Configuring and compiling): Update
384 description about files modified in the source directory.
385 * INSTALL: Regenerated.
386
1b74487e
L
3872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
388
389 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
390 value. Use "or" to set return value to -1.
391 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
392 negate return value.
393
a88b64b9
TMQMF
3942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
397 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
398 failure if the compiler has Graphite support disabled.
399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
400 Likewise.
401 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
402 CFLAGS-memmove.c): Likewise.
403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
404 Likewise.
405
3707636e
L
4062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
407
610b8622
L
408 * sysdeps/x86_64/x32/_itoa.h: New file.
409
7cd195df
L
410 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
411 getdents system call only if kernel and user dirents have the
412 same d_ino and d_off.
413
94b07d20
L
414 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
415 LLONG_MAX != LONG_MAX.
416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
417 (_fitoa_word): Likewise.
418
18298070
L
419 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
420 years.
421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
422 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
424
553c7ea4
L
425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
426 include <bits/wordsize.h>. Check __x86_64__ instead of
427 __WORDSIZE.
428 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
429 if __x86_64__ is defined. Use anonymous union on fpstate.
430
3707636e
L
431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
432 anonymous union.
433
b53ef01a
AS
4342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
435
37fb1dc0
AS
436 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
437 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
438 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
439 Refer to _rtld_local_ro instead of _rtld_global_ro.
440 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
441 Likewise.
442 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
443 Likewise.
444 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
445 Likewise.
446 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
447 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
448 of _rtld_global, and rtld_progname instead of _dl_argv[0].
449
b53ef01a
AS
450 * sysdeps/powerpc/powerpc32/dl-machine.c
451 (__elf_machine_runtime_setup) [PROF]: Don't reference
452 _dl_prof_resolve.
453
7a185db2
AJ
4542012-05-18 Andreas Jaeger <aj@suse.de>
455
456 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
457 function only available for GCCs before 3.4 since GCC 3.4
458 introduced a builtin.
459 (lrint): Likewise.
460 (llrintf): Likewise.
461 (llrint): Likewise.
462 (fmaxf): Likewise.
463 (fmax): Likewise.
464 (fminf): Likewise.
465 (fmin): Likewise.
466 (rint): Likewise.
467 (rintf): Likewise.
468 (nearbyint): Likewise.
469 (nearbyintf): Likewise.
470 (ceil): Likewise.
471 (ceilf): Likewise.
472 (floor): Likewise.
473 (floorf): Likewise.
474
3e5aef87
L
4752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
476
428bd707
L
477 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
478 on both fields and cast pointer to __syscall_ulong_t.
479
3e5aef87
L
480 * bits/types.h (__fsword_t): New type.
481 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
482 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
484 (__FSWORD_T_TYPE): Likewise.
485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
486 (__FSWORD_T_TYPE): Likewise.
487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
488 (__FSWORD_T_TYPE): Likewise.
489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
490 (__FSWORD_T_TYPE): Likewise.
491 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
492 __SWORD_TYPE with __fsword_t.
493 (statfs64): Likewise.
494
1ba7c3dc
DM
4952012-05-17 David S. Miller <davem@davemloft.net>
496
497 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
498
59910343
AJ
4992012-05-17 Andreas Jaeger <aj@suse.de>
500
501 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
502 warning.
503
2e4c1e9e
L
5042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
505
506 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
507
de7f5ce7
AJ
5082012-05-17 Andreas Jaeger <aj@suse.de>
509
510 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
511 when it is used.
512
286abc3d
CM
5132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
514
515 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
516
477cc68e
L
5172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
518
519 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
520 * sysdeps/x86_64/tst-mallocalign1.c: New file.
521
1a0994f5
CD
5222012-05-17 Andreas Jaeger <aj@suse.de>
523 Carlos O'Donell <carlos_odonell@mentor.com>
524
525 [BZ #14059]
526 * sysdeps/x86_64/multiarch/init-arch.h
527 (bit_YMM_Usable): Rename to...
528 (bit_AVX_Usable): ... this.
529 (bit_FMA4_Usable): New macro.
530 (bit_XMM_state): New macro.
531 (bit_YMM_state): New macro.
532 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
533 [__ASSEMBLER__] (index_AVX_Usable): ... this.
534 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
535 (CPUID_OSXSAVE): New macro.
536 (CPUID_AVX): New macro.
537 (CPUID_FMA4): New macro.
538 (index_YMM_Usable): Rename to...
539 (index_AVX_Usable): ... this.
540 (HAS_AVX): Use HAS_ARCH_FEATURE.
541 (HAS_FMA4): Likewise.
542 (HAS_YMM_USABLE): Remove.
543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
544 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
545 are present.
546 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
547 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
548 * sysdeps/x86_64/multiarch/Makefile: Likewise.
549 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
550 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
551
0af797de
CM
5522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
553
554 * math/libm-test.c: Support platforms without multiple rounding modes.
555 * math/bug-nextafter.c: Support platforms without FP exceptions.
556 * math/bug-nexttoward.c: Likewise.
557 * math/test-fenv.c: Likewise.
558 * math/test-misc.c: Likewise.
559 * stdlib/bug-getcontext.c: Likewise.
560
e39745ff
AJ
5612012-05-17 Andreas Jaeger <aj@suse.de>
562
563 * manual/examples/search.c (critter_cmp): Change signature to
564 avoid warnings.
565 * manual/string.texi (Collation Functions): Likewise.
566
48970aba
L
5672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
568
569 * bits/types.h: Fold copyright years.
570 * bits/typesizes.h: Likewise.
571 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
575 * time/time.h: Likewise.
576
bedee953
PP
5772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
578
579 [BZ #208]
580 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
581 in instead of returning them. Return void.
582 (__libc_mallinfo): Accumulate over all arenas.
583 (__malloc_stats): Adjust for change in int_mallinfo interface.
584
61653dfb
RM
5852012-05-16 Roland McGrath <roland@hack.frob.com>
586
30b99d79
RM
587 [BZ #10375]
588 * configure.in (NM): Add AC_CHECK_TOOL for it.
589 (libc_extra_cflags): New substituted variable.
590 Check for -fstack-protector being used implicitly.
591 * configure: Regenerated.
592 * config.make.in (config-extra-cflags): New variable,
593 gets @libc_extra_cflags@.
594 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
595
61653dfb
RM
596 [BZ #10375]
597 * configure.in: Check for _FORTIFY_SOURCE being predefined.
598 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
599 * configure: Regenerated.
600 * config.make.in (CPPUNDEFS): New substituted variable.
601 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
602 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
603 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
604
661768bb
L
6052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
606
607 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
608 (mq_attr): Use __syscall_slong_t.
609
d4261567
L
6102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
611
612 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
613 Check __x86_64__ instead of __WORDSIZE.
614 (_STAT_VER_LINUX): Likewise.
615 (stat): Check __x86_64__ instead of __WORDSIZE. Use
616 __syscall_ulong_t and __syscall_slong_t.
617 (stat64): Likewise.
618
cf3ff365
L
6192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
620
621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
622
76cf3e4d
L
6232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
624
625 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
626
a637753a
L
6272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
628
629 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
630 __syscall_ulong_t.
631
d5e05119
L
632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
633 include <bits/wordsize.h>. Check __x86_64__ instead of
634 __WORDSIZE.
635 (greg_t): Use "__extension__ long long int" if __x86_64__ is
636 defined.
637 (mcontext_t): Replace "unsigned long" with "unsigned long long".
638
f62ee380
L
639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
640 include <bits/wordsize.h>. Check __x86_64__ instead of
641 __WORDSIZE.
642 (user_regs_struct): Use "__extension__ unsigned long long"
643 instead of "unsigned long" if __x86_64__ is defined.
644 (user): Likewise. Pad after pointer field if __ILP32__ is
645 defined.
646
4e124ced
JM
6472012-05-16 Joseph Myers <joseph@codesourcery.com>
648
6a3951a0
JM
649 * configure.in (makeinfo): Require version 4.5 or later. Allow
650 versions 5 to 9.
651 * configure: Regenerated.
652 * manual/install.texi (texinfo): Increase version requirement to
653 4.5 or later.
654 * INSTALL: Regenerated.
655
4e124ced
JM
656 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
657
953ca31a
L
6582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
659
660 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
661
617aca05
L
662 * sysdeps/x86_64/x32/ffs.c: New file.
663
5762f7ae
L
664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
665 __syscall_ulong_t.
666 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
667 defined. Use __syscall_ulong_t.
668 (shminfo): Use __syscall_ulong_t.
669 (shm_info): Likewise.
670
a26b6856
L
671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
672 __syscall_ulong_t.
673
cb2b9ef7
L
674 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
675 <bits/wordsize.h>.
676 (msgqnum_t): Use __syscall_ulong_t.
677 (msglen_t): Likewise.
678 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
679 __syscall_ulong_t.
680
34683bb0
L
681 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
682 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
683
84a68786
L
684 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
685
48baa5f1
L
686 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
687 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
688
180be88b
L
689 * sysvipc/sys/msg.h (msgbuf): Replace long int with
690 __syscall_slong_t.
691
5e90c8ad
L
692 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
693 include <bits/wordsize.h>. Check __x86_64__ instead of
694 __WORDSIZE.
695
23dfb58b
L
696 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
697 "unsigned long long int" if __x86_64__ is defined.
698 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
699
ce5d54b0
L
700 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
702 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
703
13dc9eac
L
704 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
705 <stdint.h>.
706 (GET_PC): Cast to uintptr_t first.
707 (GET_FRAME): Likewise.
708 (GET_STACK): Likewise.
709
a7895d15
L
710 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
716 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
717 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
718 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
720 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
723 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
727 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
729 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
737 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
739
656416c9
AS
7402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
741
5bd66283
AS
742 * Makerules (+depfiles): Also collect depfiles from .oS in
743 $(extra-objs).
744 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
745 .oS, $(libnldbl-routines)).
746
656416c9
AS
747 * Makerules (native-compile-mkdep-flags): Define.
748 * sunrpc/Makefile (extra-objs): Add $(addprefix
749 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
750 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
751 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
752 calling $(make-target-directory).
753
a46f2169
L
7542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
755
756 * bits/types.h (__snseconds_t): Removed.
757 * time/time.h (struct timespec): Replace __snseconds_t with
758 __syscall_slong_t.
759 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
760 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
761 Likewise.
762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
763 (__SNSECONDS_T_TYPE): Likewise.
764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
765 (__SNSECONDS_T_TYPE): Likewise.
766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
767 (__SNSECONDS_T_TYPE): Likewise.
768
6af6528b
L
7692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
770
771 * sysdeps/mach/hurd/bits/typesizes.h
772 (__SYSCALL_SLONG_TYPE): New macro.
773 (__SYSCALL_ULONG_TYPE): Likewise.
774
de986b56
L
7752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
776
777 * bits/types.h (__syscall_slong_t): New type.
778 (__syscall_ulong_t): Likewise.
779
780 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
781 (__SYSCALL_ULONG_TYPE): Likewise.
782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
783 (__SYSCALL_SLONG_TYPE): Likewise.
784 (__SYSCALL_ULONG_TYPE): Likewise.
785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
786 (__SYSCALL_SLONG_TYPE): Likewise.
787 (__SYSCALL_ULONG_TYPE): Likewise.
788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
789 (__SYSCALL_SLONG_TYPE): Likewise.
790 (__SYSCALL_ULONG_TYPE): Likewise.
791
85736dc7
L
7922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
793
794 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
795 Add sigaltstack-offsets.sym.
796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
797 <sigaltstack-offsets.h>.
798 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
799 longjmp_msg pointer.
800 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
801 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
802 signal stack.
803 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
804
cc03b296
JM
8052012-05-15 Joseph Myers <joseph@codesourcery.com>
806
a9538892
JM
807 * elf/stackguard-macros.h: Remove file.
808 * sysdeps/generic/stackguard-macros.h: New file.
809 * sysdeps/i386/stackguard-macros.h: Likewise.
810 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
811 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
812 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
813 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
814 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
815 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
816 * sysdeps/x86_64/stackguard-macros.h: Likewise.
817 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
818 <elf/stackguard-macros.h>.
819
cc03b296
JM
820 [BZ #14109]
821 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
822 __aligned__ in attribute.
823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
824 (gregset_t): Likewise.
825
93171016
L
8262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
827
828 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
829 * sysdeps/x86_64/64/Implies-after: Here. New file.
830 * sysdeps/x86_64/x32/Implies-after: New file.
831
d86813a0
L
8322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
833
834 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
835 and access return value for _dl_profile_fixup. Use R10_LP to
836 load frame size.
837
2953ec75
L
8382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
839
840 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
841
3b550e9e
L
8422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
843
844 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
845 * sysdeps/x86_64/x32/sysdep.h: New file.
846
eda41706
L
8472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
848
849 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
850 * sysdeps/x86_64/setjmp.S: Likewise.
851
9ea01d93
AZ
8522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853
854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
856 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
858 remove unused global constant.
859
02a91938
CM
8602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
861
862 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
863 include of <not-cancel.h>.
864
6540185f
RM
8652012-05-15 Roland McGrath <roland@hack.frob.com>
866
867 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
868
509072a0
AJ
8692012-05-15 Jeff Law <law@redhat.com>
870 Andreas Jaeger <aj@suse.de>
871
872 [BZ #13594]
873 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
874 out from...
875 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
876 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
877 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
878 code changing __hst_map_handle.map.
879
ba75122d
RM
8802012-05-15 Roland McGrath <roland@hack.frob.com>
881
882 * configure.in (sysnames): Look for Implies-before and Implies-after
883 files.
884 * configure: Regenerated.
885
890d8bd8
L
8862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
887
888 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
889 8-byte data alignment with LP_SIZE alignment.
890
f6ee6623
L
8912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
892
893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
894 into R10_LP.
895
ea2626f6
L
8962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
899
085f715e
L
9002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
901
902 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
903 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
905 Likewise.
906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
907
be8498fc
L
9082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
909
910 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
911 (stackinfo_sub_sp): Likewise.
912
70bc83b9
L
9132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
914
915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
916 RAX_LP.
917
9bc0b730
L
9182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
919
920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
921 into R*_LP.
922
6d2850e7
L
9232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
924
925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
926 sizes into R*_LP.
927
3cb84561
L
9282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
929
930 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
931
54e2ed81
L
9322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
933
934 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
935 into R11_LP and load __x86_64_shared_cache_size_half into
936 R8_LP.
937
8a17f349
L
9382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
939
940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
941 R8_LP.
942
777b1eea
AZ
9432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944
945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
946 logb for POWER7.
947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
948 logbf for POWER7.
949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
950 logbl for POWER7.
951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
952 powerpc32/power7/fpu/s_logb.c via #include.
953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
954 powerpc32/power7/fpu/s_logbf.c via #include.
955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
956 powerpc32/power7/fpu/s_logbl.c via #include.
957
d20d4ac2
JM
9582012-05-15 Joseph Myers <joseph@codesourcery.com>
959
960 * README.libm: Remove file.
961
6cdef1ab
L
9622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
963
964 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
965 count for x32. Use R*_LP and omit operand-size suffix.
966
0b254d8f
L
9672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
968
969 * shlib-versions: Move x86_64-.*-linux.* entries to ...
970 * sysdeps/x86_64/64/shlib-versions: Here. New file.
971 * sysdeps/x86_64/x32/shlib-versions: New file.
972
ceb809dc
RM
9732012-05-14 Roland McGrath <roland@hack.frob.com>
974
975 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
976 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
977 Use _dl_fatal_printf instead.
978
37f1abd4
JM
9792012-05-14 Joseph Myers <joseph@codesourcery.com>
980
981 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
982 set if not set by the user. Do not allow for being unset.
983 * sysdeps/unix/sysv/linux/configure: Regenerated.
984
11de3a33
L
9852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
986
987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
988 the `q' suffix from lea and replace .quad with ASM_ADDR.
989
e02f153a
L
9902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
991
992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
993 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
994 instead of $17.
995 (PTR_DEMANGLE): Likewise.
996
520ae0fd
L
9972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
998
999 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1000 (LP_OP): Likewise.
1001 (ASM_ADDR): Likewise.
1002 (RAX_LP): Likewise.
1003 (RBP_LP): Likewise.
1004 (RBX_LP): Likewise.
1005 (RCX_LP): Likewise.
1006 (RDI_LP): Likewise.
1007 (RSI_LP): Likewise.
1008 (RSP_LP): Likewise.
1009 (R8_LP): Likewise.
1010 (R9_LP): Likewise.
1011 (R10_LP): Likewise.
1012 (R10_LP): Likewise.
1013 (R11_LP): Likewise.
1014 (R12_LP): Likewise.
1015 (R13_LP): Likewise.
1016 (R14_LP): Likewise.
1017 (R15_LP): Likewise.
1018
b985be81
L
10192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/x86_64/x32/dl-machine.h: New file.
1022
6a4888ff
AJ
10232012-05-14 Andreas Jaeger <aj@suse.de>
1024
1025 * manual/Makefile (subdir): Remove export of subdir.
1026 (all): Remove target.
1027 (.PHONY): Remove all from list.
1028 (mkinstalldirs): Remove.
1029 (.PHONY): Remove installdirs from list.
1030 ($(inst_infodir)/libc.info): Use make-target-directory.
1031 (installdirs): Remove.
1032 (subdir_%): Remove.
1033 (glibc-targets): Remove.
1034 (lib): Remove.
1035 (stubs): Remove.
1036 ($(objpfx)stubs ../po/manual.pot): Remove.
1037 ($(objpfx)stamp%): Remove.
1038 (make-target-directory): Remove.
1039 (subdir_install): Remove.
1040 (routines): Remove.
1041 (aux): Remove.
1042 (sources): Remove.
1043 (objects): Remove.
1044 (headers): Remove.
1045
1046 [BZ #13750]
1047 * manual/.gitignore: Remove, it's not needed anymore.
1048 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1049 all files in it.
1050 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1051 directory.
1052 (texis): Renamed to $(objpfx)texis.
1053 (texis-path): New, contains path to generated files.
1054 (chapters.%): Use texis-path for complete path, add extra argument
1055 libc-texinfo.sh.
1056 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1057 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1058 (summary,texi, stamp-summary): Use complete path of
1059 files. Generate files in build dir.
1060 (dir-add.texi): Build in build dir.
1061 (libm-err.texi,stamp-libm-err): Likewise.
1062 (version.texi, stamp-version): Likewise.
1063 (.%c.texi): Likewise.
1064 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1065 (mostlyclean): Remove target.
1066 (realclean): Remove target.
1067 (generated): Add new variable with contents from mostlyclean and
1068 realclean, remove entries duplicated in common-mostlyclean, add
1069 stamp-libm-err and stamp-version.
1070 (generated-dirs): Add libc directory.
1071 ($(inst_infodir)/libc.info): Install files from build dir.
1072
1073 * manual/install.texi (Configuring and compiling): Adjust since
1074 the info files are not part of the tar ball anymore.
1075
7ac77294
AJ
10762012-05-14 Andreas Jaeger <aj@suse.de>
1077
1078 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1079 variable.
1080
ffb7875d
JM
10812012-05-14 Joseph Myers <joseph@codesourcery.com>
1082
1083 [BZ #13717]
1084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1085 to 2.2.0 where earlier.
1086 * sysdeps/unix/sysv/linux/configure: Regenerated.
1087 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1088 Remove conditional code.
1089 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1090 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1091 Remove conditional code.
1092 [!__NR_lchown]: Likewise.
1093 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1094 [__NR_lchown]: Likewise.
1095 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1096 comment referencing __ASSUME_LCHOWN_SYSCALL.
1097 * sysdeps/unix/sysv/linux/i386/sigaction.c
1098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1100 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1101 Remove conditional code.
1102 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1103 (__protocol_available): Remove #if 0 code.
1104 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1105 conditional code.
1106 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1107 * sysdeps/unix/sysv/linux/kernel-features.h
1108 (__ASSUME_GETCWD_SYSCALL): Don't define.
1109 (__ASSUME_REALTIME_SIGNALS): Likewise.
1110 (__ASSUME_PREAD_SYSCALL): Likewise.
1111 (__ASSUME_PWRITE_SYSCALL): Likewise.
1112 (__ASSUME_POLL_SYSCALL): Likewise.
1113 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1114 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1115 non-SPARC.
1116 (__ASSUME_SIOCGIFNAME): Don't define.
1117 (__ASSUME_MSG_NOSIGNAL): Likewise.
1118 (__ASSUME_SENDFILE): Define unconditionally.
1119 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1120 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1121 conditional code.
1122 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1123 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1124 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1125 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1126 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1127 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1128 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1153 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1154 Remove conditional code.
1155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1156 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1157 Remove conditional code.
1158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1159 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1160 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1161 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1162 Remove conditional code.
1163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1164 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1165 Remove conditional code.
1166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1167 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1168 Remove conditional code.
1169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1170 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1171 Remove conditional code.
1172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1173 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1174 Remove conditional code.
1175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1176 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1179 * sysdeps/unix/sysv/linux/sigaction.c
1180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1182 * sysdeps/unix/sysv/linux/sigpending.c
1183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1185 * sysdeps/unix/sysv/linux/sigprocmask.c
1186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1188 * sysdeps/unix/sysv/linux/sigsuspend.c
1189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1192 (__libc_missing_rt_sigs): Remove.
1193 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1194 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1195 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1196 Remove conditional code.
1197 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1198 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1199 return 1.
1200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1201 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1203 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1204
1bfb7291
AJ
12052012-05-14 Andreas Jaeger <aj@suse.de>
1206
caae5a81
AJ
1207 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1208 it's not used in glibc.
1209 (__coshm1): Likewise.
1210 (__acosh1p): Likewise.
1211 (__sgn): Likewise.
1212
1bfb7291
AJ
1213 * manual/string.texi (Copying and Concatenation): Add missing
1214 variable in concat example.
1215 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1216
c044d724
L
12172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1218
144c5467 1219 [BZ #14103]
c044d724
L
1220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1221 __builtin_clzl with __builtin_clzll.
1222
2523c62b
L
12232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1224
1225 [BZ #14104]
1226 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1227 libc_freeres_ptr.
1228
d7bb4c42
LD
12292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1230
1231 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1232 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1233 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1234 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1235
9dc4e1fb
MF
12362012-05-14 Mike Frysinger <vapier@gentoo.org>
1237
1238 * NEWS: Update ia64 info.
1239
c7df0112
AS
12402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1241
1242 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1243 used as bcopy.
1244
dc70356c
TS
12452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1246
1247 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1248 * sysdeps/unix/syscalls.list (dup3): Likewise.
1249 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1250 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1251
9fb1a21f
L
12522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1255 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1256
4822a2a5
L
12572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1260 thread pointer.
1261 (TLS_IE): Use mov/add instead of movq/addq to load thread
1262 pointer.
1263 (TLS_GD_PREFIX): New.
1264 (TLS_GD): Use it.
1265
842b81d6
DM
12662012-05-11 David S. Miller <davem@davemloft.net>
1267
1268 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1269 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1270 (_FPU_SETCW): Likewise.
1271
1cf463cd
L
12722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1275 is 32-byte aligned.
1276
60cc4a18
AS
12772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1278
1279 [BZ #11837]
1280 * iconvdata/gb18030.c: Update tables.
1281 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1282 characters specially.
1283 (BODY for TO_LOOP): Add encoding of missing ranges.
1284
febb44a4
TS
12852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1286
1287 [BZ #13673]
1288 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1289 * sysdeps/mach/hurd/dup3.c: Likewise.
1290 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1291 * sysdeps/powerpc/memmove.c:: Likewise.
1292
0a10fb9e
L
12932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1296 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1297
df8a552f
L
12982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 * elf/elf.h (R_X86_64_RELATIVE64): New.
1301 (R_X86_64_NUM): Updated.
1302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1303 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1304 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1305 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1306 tst-quad1pie tst-quad2pie
1307 (modules-names): Add tst-quadmod1 tst-quadmod2.
1308 ($(objpfx)tst-quad1): New dependency.
1309 ($(objpfx)tst-quad2): Likewise.
1310 ($(objpfx)tst-quad1pie): Likewise.
1311 ($(objpfx)tst-quad2pie): Likewise.
1312 * sysdeps/x86_64/tst-quad1.c: New file.
1313 * sysdeps/x86_64/tst-quad1pie.c: New file.
1314 * sysdeps/x86_64/tst-quad2.c: Likewise.
1315 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1316 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1317 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1318 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1319 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1320
f34d6f84
ST
13212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1322
f42d41d1
ST
1323 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1324 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1325 * streams/stropts.h (t_scalar_t): Define type.
1326
3c3571fc
ST
1327 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1328 (_PATH_PRESERVE): Set to "/var/lib".
1329 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1330
61f06bd3
ST
1331 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1332 instead of int.
1333
918d4d71
ST
1334 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1335 if __dir_mkfile succeeded.
1336
f34d6f84
ST
1337 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1338 checking for _hurd_dtablesize. Unlock it right after having
1339 finished _hurd_dtable allocation.
1340
10589b4a
TS
13412012-05-10 Thomas Schwinge <thomas@schwinge.name>
1342
674cdbc7
TS
1343 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1344 * sysdeps/mach/hurd/configure: Regenerated.
1345 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1346 special-casing to...
1347 * sysdeps/gnu/configure.in: ... this new file.
1348 * sysdeps/unix/sysv/linux/configure: Regenerated.
1349 * sysdeps/gnu/configure: New generated file.
1350
8e41b99f
TS
1351 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1352 for Linux: use nsec instead of usec, as well as:
1353 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1354 members of type struct timespec.
1355 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1356 New macros.
1357 (struct stat64): Likewise.
1358 (_STATBUF_ST_NSEC): New macro.
1359 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1360
10589b4a
TS
1361 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1362 __strtoul_internal rather than strtoul.
1363
63643c85
PT
13642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1365
1366 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1367 and reject them.
1368
3faebe6a
ST
13692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1370
1371 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1372 which preserves existing values.
1373 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1374
c6474b07
PT
13752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1376
1377 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1378 TIMEOUT values. Return EINVAL for NFDS values either negative or
1379 greater than FD_SETSIZE.
1380
1043890b
ST
13812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1382
1383 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1384 allocated, call __vm_protect to finish enabling the existing space, and
1385 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1386 allocate the remainder.
1387
37ed8b9b
PT
13882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1389
1390 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1391 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1392
db653660
ST
13932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1394
37ed8b9b
PT
1395 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1396 sysdeps/mach/hurd/readlink.c.
b29d4053 1397
db653660
ST
1398 * posix/tst-sysconf.c (posix_options): Only use
1399 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1400 _POSIX_SYNCHRONIZED_IO when they are defined
1401 * sysdeps/mach/hurd/bits/posix_opt.h:
1402 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1403 (_XOPEN_REALTIME): Undefine macro.
1404 (_XOPEN_REALTIME_THREADS): Undefine macro.
1405 (_XOPEN_SHM): Undefine macro.
1406 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1407 macro to -1.
1408 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1409 macro to -1.
1410 (_POSIX_ASYNC_IO): Undefine macro.
1411 (_POSIX_PRIORITIZED_IO): Undefine macro.
1412 (_POSIX_SPIN_LOCKS): Define macro to -1.
1413
ee16e894
ST
1414 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1415 SA_NODEFER, SA_RESETHAND.
1416 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1417 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1418 F_DUPFD_CLOEXEC.
1419
6103ae3b
TS
14202012-05-10 Thomas Schwinge <thomas@schwinge.name>
1421
1422 * elf/Makefile (pldd-modules): Define unconditionally.
1423
80b4e5f3
TS
14242012-05-10 Thomas Schwinge <thomas@schwinge.name>
1425
1426 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1427
edadcbd6
ST
14282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1429
1430 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1431 Return ENOENT when name is empty.
1432 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1433
80694780
TS
14342012-05-10 Thomas Schwinge <thomas@schwinge.name>
1435
1792c087
TS
1436 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1437
80694780
TS
1438 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1439
6b645f0d
ST
14402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1441
80694780
TS
1442 Fix mlock in all cases except non-readable pages.
1443 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1444 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1445
6b645f0d
ST
1446 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1447 (__mkdir): When path is `/', just fail with EEXIST.
1448 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1449
e468f8a3
TS
14502012-05-10 Thomas Schwinge <thomas@schwinge.name>
1451
1452 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1453 <sys/uio.h> (for writev).
1454 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1455 and <sys/param.h> (for MIN).
1456
a4186cff
PT
14572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1458
1459 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1460 REQUESTED_TIME. Properly set the remaining time and return EINTR
1461 if interrupted.
1462
510bbf14
TS
14632012-05-10 Thomas Schwinge <thomas@schwinge.name>
1464
1465 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1466 Depend on against $(link-rpcuserlibs).
1467
5d5722e8
ST
14682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1469
a4186cff
PT
1470 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1471 (__libc_stack_end): Do not use attribute_relro.
1472 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1473 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1474 to libthread-provided value.
a4186cff
PT
1475 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1476 attribute_relro.
5d5722e8 1477
37233df9
TS
14782012-05-10 Thomas Schwinge <thomas@schwinge.name>
1479
be971a2b
TS
1480 [BZ #3748]
1481 * bits/libc-lock.h (__libc_once_get): New macro.
1482 * sysdeps/mach/bits/libc-lock.h: Likewise.
1483 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1485 instead of using implementation details.
1486
37233df9
TS
1487 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1488 * libio/freopen.c: Likewise.
1489 * libio/freopen64.c: Likewise.
1490 * misc/syslog.c: Likewise.
1491 * nscd/connections.c: Likewise.
1492 * nscd/netgroupcache.c: Likewise.
1493 * sysdeps/posix/getcwd.c: Likewise.
1494
38de94a5
RM
14952012-05-10 Roland McGrath <roland@hack.frob.com>
1496
1497 * math/w_ilogbf.c: Add #include <limits.h>.
1498
67530489
ST
14992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1500
a4186cff 1501 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1502 path instead of returning without unlocking.
1503
67530489
ST
1504 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1505 immediate-write ioctls.
1506 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1507
5aa3a74a
TS
15082012-05-10 Thomas Schwinge <thomas@schwinge.name>
1509
18bad2ae
TS
1510 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1511 __builtin_frame_address instead of making assumptions about the
1512 location of the return address relative to DATA. Force early load of
1513 the return address.
1514 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1515 __builtin_frame_address.
1516
5aa3a74a
TS
1517 dup3 for GNU Hurd.
1518 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1519 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1520 implement dup3 and do some further code clean-ups.
1521 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1523
ecd0de9a
ST
15242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1525
cd9fa985
ST
1526 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1527
a4186cff
PT
1528 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1529 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1530 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1531 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1532 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1533 d->port.lock.
802ca5a5 1534
a4186cff
PT
1535 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1536 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1537 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1538
bcf55240
TS
15392012-05-10 Thomas Schwinge <thomas@schwinge.name>
1540
6960eb42
TS
1541 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1542 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1543 definitions.
1544
eb43375f
TS
1545 accept4 for GNU Hurd.
1546 * include/sys/socket.h (__libc_accept4): New prototype.
1547 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1548 to implement __libc_accept4.
1549 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1550 __libc_accept4.
1551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1552
bcf55240
TS
1553 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1554 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1555 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1556 signal-defines.sym.
1557
6178c55b
ST
15582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1559
a4186cff 1560 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1561
6f080c2f
TS
15622012-05-10 Thomas Schwinge <thomas@schwinge.name>
1563
1564 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1565 assertion on O_CLOEXEC flag.
1566 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1567 * hurd/intern-fd.c: Likewise.
1568 * hurd/port2fd.c: Likewise.
1569
bcfe3a54
ST
15702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1571
1572 [BZ #3906]
1573 * bits/in.h (IPV6_PKTINFO): Define new macro.
1574 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1575
89c9aa49
AZ
15762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577
1578 [BZ #13954]
1579 [BZ #13955]
1580 [BZ #13956]
1581 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1583 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1584 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1586 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1587 * math/libm-test.inc (logb_test) : Additional logb tests.
1588
021db4be
AJ
15892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1590 Andreas Jaeger <aj@suse.de>
1591
1592 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1593 * configure: Regenerated.
1594 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1595 * config.make.in (link-obsolete-rpc): New substituted variable.
1596 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1597 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1598 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1599 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1600 so that libc.a contains the symbols.
1601 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1602 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1603 * sunrpc/auth_none.c: Likewise.
1604 * sunrpc/auth_unix.c: Likewise.
1605 * sunrpc/authdes_prot.c: Likewise.
1606 * sunrpc/authuxprot.c: Likewise.
1607 * sunrpc/clnt_gen.c: Likewise.
1608 * sunrpc/clnt_perr.c: Likewise.
1609 * sunrpc/clnt_raw.c: Likewise.
1610 * sunrpc/clnt_simp.c: Likewise.
1611 * sunrpc/clnt_tcp.c: Likewise.
1612 * sunrpc/clnt_udp.c: Likewise.
1613 * sunrpc/clnt_unix.c: Likewise.
1614 * sunrpc/des_crypt.c: Likewise.
1615 * sunrpc/des_soft.c: Likewise.
1616 * sunrpc/get_myaddr.c: Likewise.
1617 * sunrpc/key_call.c: Likewise.
1618 * sunrpc/key_prot.c: Likewise.
1619 * sunrpc/netname.c: Likewise.
1620 * sunrpc/pm_getmaps.c: Likewise.
1621 * sunrpc/pm_getport.c: Likewise.
1622 * sunrpc/pmap_clnt.c: Likewise.
1623 * sunrpc/pmap_prot.c: Likewise.
1624 * sunrpc/pmap_prot2.c: Likewise.
1625 * sunrpc/pmap_rmt.c: Likewise.
1626 * sunrpc/publickey.c: Likewise.
1627 * sunrpc/rpc_cmsg.c: Likewise.
1628 * sunrpc/rpc_common.c: Likewise.
1629 * sunrpc/rpc_dtable.c: Likewise.
1630 * sunrpc/rpc_prot.c: Likewise.
1631 * sunrpc/rpc_thread.c: Likewise.
1632 * sunrpc/rtime.c: Likewise.
1633 * sunrpc/svc.c: Likewise.
1634 * sunrpc/svc_auth.c: Likewise.
1635 * sunrpc/svc_raw.c: Likewise.
1636 * sunrpc/svc_run.c: Likewise.
1637 * sunrpc/svc_tcp.c: Likewise.
1638 * sunrpc/svc_udp.c: Likewise.
1639 * sunrpc/svc_unix.c: Likewise.
1640 * sunrpc/svcauth_des.c: Likewise.
1641 * sunrpc/xcrypt.c: Likewise.
1642 * sunrpc/xdr.c: Likewise.
1643 * sunrpc/xdr_array.c: Likewise.
1644 * sunrpc/xdr_float.c: Likewise.
1645 * sunrpc/xdr_intXX_t.c: Likewise.
1646 * sunrpc/xdr_mem.c: Likewise.
1647 * sunrpc/xdr_rec.c: Likewise.
1648 * sunrpc/xdr_ref.c: Likewise.
1649 * sunrpc/xdr_sizeof.c: Likewise.
1650 * sunrpc/xdr_stdio.c: Likewise.
1651
b5c086a2
RM
16522012-05-10 Roland McGrath <roland@hack.frob.com>
1653
1654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1655 change. Update copyright years.
1656
6d74dd09
JM
16572012-05-10 Joseph Myers <joseph@codesourcery.com>
1658
1659 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1660
28e72501
MK
16612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1662 Joseph Myers <joseph@codesourcery.com>
1663 Paul Pluzhnikov <ppluzhnikov@google.com>
1664
1665 [BZ #14012]
1666 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1667 requiring rpcgen.
1668 [cross-compiling] (extra-libs): Likewise.
1669 [cross-compiling] (extra-libs-others): Likewise.
1670 [cross-compiling] (librpcsvc-routines): Likewise.
1671 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1672 [cross-compiling] (omit-deps): Likewise.
1673 (sunrpc-CPPFLAGS): New variable.
1674 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1675 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1676 (cross-rpcgen-objs): New variable.
1677 (extra-objs): Append $(cross-rpcgen-objs).
1678 ($(cross-rpcgen-objs)): New rule.
1679 ($(objpfx)cross-rpcgen): Likewise.
1680 (rpcgen-cmd): Define to use $(built-program-file). Expand
1681 comment.
1682 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1683 ($(objpfx)x%.stmp): Likewise.
1684 * sunrpc/proto.h [IS_IN_build] (_): Define.
1685 [IS_IN_build] (_libc_intl_domainname): Likewise.
1686
c8c59454
L
16872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1690 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1691 and R_X86_64_TPOFF64.
1692
6f27cd16
JM
16932012-05-10 Joseph Myers <joseph@codesourcery.com>
1694
1695 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1696 sysdeps/unix/sysv/syscalls.list.
1697 (stime): Likewise.
1698 (utime): Likewise.
1699 * sysdeps/unix/sysv/syscalls.list: Remove file.
1700
02467e1c
PE
17012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1702
1703 [BZ #3440]
1704 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1705 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1706 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1707 (__LC_IDENTIFICATION): Make these macros useful in #if
1708 expressions, as required by C99.
1709
da392631
AS
17102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1711
1712 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1713 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1714 after this.
1715
8115f29b
L
17162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * stdlib/longlong.h: Updated from GCC.
1719
bdd74070
AJ
17202012-05-09 Andreas Jaeger <aj@suse.de>
1721
edfe0dbe
AJ
1722 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1723 default is first entry.
1724 (run_mode): Set type.
1725 (main): Remove informal message about syslog.
1726 (options): Fix typo.
1727
bcfe3a54
ST
1728 [BZ #14053]
1729 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1730 to asm.
bcfe3a54
ST
1731 (lrint): Likewise.
1732 (llrintf): Likewise.
1733 (llrint): Likewise.
1734 (rint): Likewise.
1735 (rintf): Likewise.
1736 (nearbyint): Likewise.
1737 (nearbyintf): Likewise.
bdd74070 1738
91d8d69e
AJ
17392012-05-09 Andreas Jaeger <aj@suse.de>
1740 Pedro Alves <palves@redhat.com>
1741
1742 * nscd/nscd.c (run_mode): Use enum.
1743 (main): Cleanup coding style issue.
1744
bb90b80b
AJ
17452012-05-09 Alexandre Oliva <aoliva@redhat.com>
1746 Andreas Jaeger <aj@suse.de>
1747
bcfe3a54
ST
1748 * nscd/nscd.c (go_background): Replaced with...
1749 (run_mode): ... this.
bb90b80b 1750 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1751 (options): Add -F --foreground.
1752 (main): Implement it.
1753 (parse_opt): Parse it.
bb90b80b 1754
1a4b75a1
AJ
17552012-05-09 Andreas Jaeger <aj@suse.de>
1756
1757 [BZ #14083]
1758 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1759 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1760 -Wconversion warning.
1761 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1762 Likewise.
1763
b1cc2472
JM
17642012-05-09 Joseph Myers <joseph@codesourcery.com>
1765
1766 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1767 == 0.
1768 (LC_ALL): Use macro-int-constant.
1769 (LC_COLLATE): Likewise.
1770 (LC_CTYPE): Likewise.
1771 (LC_MESSAGES): Likewise.
1772 (LC_MONETARY): Likewise.
1773 (LC_NUMERIC): Likewise.
1774 (LC_TIME): Likewise.
1775 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1776 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1778 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1779 Specify type.
1780 [C99-based standards] (float_t): Expect type.
1781 [C99-based standards] (double_t): Expect type.
1782 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1783 type.
1784 [C99-based standards] (HUGE_VALL): Likewise.
1785 [C99-based standards] (INFINITY): Likewise.
1786 [C99-based standards] (NAN): Likewise.
1787 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1788 [C99-based standards] (FP_NAN): Likewise.
1789 [C99-based standards] (FP_NORMAL): Likewise.
1790 [C99-based standards] (FP_SUBNORMAL): Likewise.
1791 [C99-based standards] (FP_ZERO): Likewise.
1792 [C99-based standards] (FP_FAST_FMA): Use
1793 optional-macro-int-constant. Specify type. Require == 1.
1794 [C99-based standards] (FP_FAST_FMAF): Likewise.
1795 [C99-based standards] (FP_FAST_FMAL): Likewise.
1796 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1797 [C99-based standards] (FP_ILOGBNAN): Likewise.
1798 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1799 Specify type.
1800 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1801 [C99-based standards] (math_errhandling): Specify type.
1802 [ISO99 || ISO11] (signgam): Do not allow.
1803 [non-C99-based standards] (copysignf): Do not allow.
1804 [non-C99-based standards] (exp2f): Likewise.
1805 [non-C99-based standards] (log2f): Likewise.
1806 [non-C99-based standards] (modff): Allow.
1807 [non-C99-based standards] (erff): Do not allow.
1808 [non-C99-based standards] (erfcf): Likewise.
1809 [non-C99-based standards] (gammaf): Likewise.
1810 [non-C99-based standards] (hypotf): Likewise.
1811 [non-C99-based standards] (j0f): Likewise.
1812 [non-C99-based standards] (j1f): Likewise.
1813 [non-C99-based standards] (jnf): Likewise.
1814 [non-C99-based standards] (lgammaf): Likewise.
1815 [non-C99-based standards] (tgammaf): Likewise.
1816 [non-C99-based standards] (y0f): Likewise.
1817 [non-C99-based standards] (y1f): Likewise.
1818 [non-C99-based standards] (ynf): Likewise.
1819 [non-C99-based standards] (isnanf): Likewise.
1820 [non-C99-based standards] (acoshf): Likewise.
1821 [non-C99-based standards] (asinhf): Likewise.
1822 [non-C99-based standards] (atanhf): Likewise.
1823 [non-C99-based standards] (cbrtf): Likewise.
1824 [non-C99-based standards] (expm1f): Likewise.
1825 [non-C99-based standards] (ilogbf): Likewise.
1826 [non-C99-based standards] (log1pf): Likewise.
1827 [non-C99-based standards] (logbf): Likewise.
1828 [non-C99-based standards] (nextafterf): Likewise.
1829 [non-C99-based standards] (remainderf): Likewise.
1830 [non-C99-based standards] (rintf): Likewise.
1831 [non-C99-based standards] (scalbf): Likewise.
1832 [non-C99-based standards] (copysignl): Likewise.
1833 [non-C99-based standards] (exp2l): Likewise.
1834 [non-C99-based standards] (log2l): Likewise.
1835 [non-C99-based standards] (modfl): Allow.
1836 [non-C99-based standards] (erfl): Do not allow.
1837 [non-C99-based standards] (erfcl): Likewise.
1838 [non-C99-based standards] (gammal): Likewise.
1839 [non-C99-based standards] (hypotl): Likewise.
1840 [non-C99-based standards] (j0l): Likewise.
1841 [non-C99-based standards] (j1l): Likewise.
1842 [non-C99-based standards] (jnl): Likewise.
1843 [non-C99-based standards] (lgammal): Likewise.
1844 [non-C99-based standards] (tgammal): Likewise.
1845 [non-C99-based standards] (y0l): Likewise.
1846 [non-C99-based standards] (y1l): Likewise.
1847 [non-C99-based standards] (ynl): Likewise.
1848 [non-C99-based standards] (isnanl): Likewise.
1849 [non-C99-based standards] (acoshl): Likewise.
1850 [non-C99-based standards] (asinhl): Likewise.
1851 [non-C99-based standards] (atanhl): Likewise.
1852 [non-C99-based standards] (cbrtl): Likewise.
1853 [non-C99-based standards] (expm1l): Likewise.
1854 [non-C99-based standards] (ilogbl): Likewise.
1855 [non-C99-based standards] (log1pl): Likewise.
1856 [non-C99-based standards] (logbl): Likewise.
1857 [non-C99-based standards] (nextafterl): Likewise.
1858 [non-C99-based standards] (remainderl): Likewise.
1859 [non-C99-based standards] (rintl): Likewise.
1860 [non-C99-based standards] (scalbl): Likewise.
1861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1862 [non-C99-based standards] (FP_*): Do not allow.
1863 [C99-based standards] (FP_*): Change to
1864 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1865 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1866 allow.
1867 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1868 (SIG_ERR): Likewise.
1869 [X/Open-based standards] (SIG_HOLD): Likewise.
1870 (SIG_IGN): Likewise.
1871 (SIGABRT): Use macro-int-constant. Specify type. Require
1872 positive value.
1873 (SIGFPE): Likewise.
1874 (SIGILL): Likewise.
1875 (SIGINT): Likewise.
1876 (SIGSEGV): Likewise.
1877 (SIGTER): Likewise.
1878 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1879 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1880 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1881 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1882 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1883 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1884 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1885 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1888 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1889 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1890 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1891 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1892 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1893 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1894 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1895 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1896 [X/Open-based standards] (SIGTRAP): Likewise.
1897 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1898 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1899 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1900 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1901 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1902 allow.
1903
b9f1922d
IW
19042012-05-08 Ian Wienand <ianw@vmware.com>
1905
1906 [BZ #14080]
1907 * time/tzset.c (__tzset_parse_tz): Update default rules for
1908 daylight time changes in the Energy Policy Act of 2005.
1909
1db86e88
AJ
19102012-05-09 Andreas Jaeger <aj@suse.de>
1911
1912 [BZ #13983]
1913 * elf/ldconfig.c (parse_conf): Change string to make clear that
1914 ldconfig only issued a warning if ld.so.conf does not exist.
1915
dee4a4e3
DM
19162012-05-08 David S. Miller <davem@davemloft.net>
1917
ee0db190
DM
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1919 movxtod instead of popping the value on the stack.
1920
dee4a4e3
DM
1921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1922
6a43ec98
CD
19232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1924
1925 * config.h.in: Add HAVE_ARM_PCS_VFP.
1926
05c2c961
RMG
19272012-05-08 Roland Mc Grath <roland@hack.frob.com>
1928
bcfe3a54
ST
1929 [BZ #13979]
1930 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1931 checking but the checks are disabled for any reason.
05c2c961 1932
4b30f61a
L
19332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1934
1935 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1936 and ELF64_R_TYPE with ELFW(R_TYPE).
1937
eee2bc67
JM
19382012-05-08 Joseph Myers <joseph@codesourcery.com>
1939
7ea5391a
JM
1940 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1941 (ulimit): Likewise.
1942
eee2bc67
JM
1943 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1944 (settimeofday): Likewise.
1945
abb66a67
MF
19462012-05-08 Mike Frysinger <vapier@gentoo.org>
1947
1948 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1949 a struct th_u2 inside the union, and move tu_block/tu_code into
1950 a new th_u3 union of tu_block/tu_code inside of that. Move
1951 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1952 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1953 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1954 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1955 (th_stuff): Change to th_u1.tu_stuff.
1956 (th_data): Define.
1957 (th_msg): Change to th_u1.th_u2.tu_data.
1958
7f18b530
DM
19592012-05-07 David S. Miller <davem@davemloft.net>
1960
05760585
DM
1961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1962
7f18b530
DM
1963 [BZ #14074]
1964 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1965 (SETUP_PIC_REG): Use it.
1966 (SETUP_PIC_REG_LEAF): Use it.
1967
495fd99f
JM
19682012-05-07 Joseph Myers <joseph@codesourcery.com>
1969
1970 [BZ #13885]
1971 [BZ #13923]
1972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1973 USE_AS_EXPM1L.
1974 (EXPL_FINITE): Likewise.
1975 (FLDLOG): Likewise.
1976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1977 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1978 e_expl.S.
1979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1980 USE_AS_EXPM1L.
1981 (EXPL_FINITE): Likewise.
1982 (FLDLOG): Likewise.
1983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1984 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1985 e_expl.S.
1986 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1987 test of -max_value argument for long double.
1988 * sysdeps/i386/fpu/libm-test-ulps: Update.
1989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990
6693d694
DM
19912012-05-06 David S. Miller <davem@davemloft.net>
1992
1993 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1994 quad soft-float symbols whose references which are compiler
1995 generated.
1996 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1997
6c23e11c
JM
19982012-05-06 Joseph Myers <joseph@codesourcery.com>
1999
d8b82cad
JM
2000 [BZ #13884]
2001 [BZ #13914]
2002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2003 USE_AS_EXP10L.
2004 (EXPL_FINITE): Likewise.
2005 (FLDLOG): Likewise.
2006 (c0): Likewise.
2007 (c1): Likewise.
2008 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2009 Adjust comments for base varying.
2010 (__expl_finite): Change alias to EXPL_FINITE.
2011 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2012 e_expl.S.
2013 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2014 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2016 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2017 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2018 USE_AS_EXP10L.
2019 (EXPL_FINITE): Likewise.
2020 (FLDLOG): Likewise.
2021 (c0): Likewise.
2022 (c1): Likewise.
2023 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2024 Adjust comments for base varying.
2025 (__expl_finite): Change alias to EXPL_FINITE.
2026 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2027 tests for bugs.
2028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2029
6c23e11c
JM
2030 [BZ #14064]
2031 * math/libm-test.inc (check_float_internal): Correct ulp
2032 calculation for subnormal expected results.
2033
29ba805c
AJ
20342012-05-06 Andreas Jaeger <aj@suse.de>
2035
2036 * Makeconfig (+math-flags): New, set to -frounding-math.
2037 (+cflags): Add +math-flags so that all of glibc gets compiled with
2038 it.
2039
2040 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2041
7b17aeda
JM
20422012-05-05 Joseph Myers <joseph@codesourcery.com>
2043
5779f134
JM
2044 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2045 Disable one test.
2046
41498f4d
JM
2047 [BZ #13787]
2048 [BZ #13922]
2049 [BZ #14036]
2050 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2051 (__ieee754_expl): Allow for and saturate large arguments.
2052 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2053 (u_threshold): Likewise.
2054 (__exp): Call __ieee754_exp before checking for overflow and
2055 underflow.
2056 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2057 (u_threshold): Likewise.
2058 (__expf): Call __ieee754_expf before checking for overflow and
2059 underflow.
2060 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2061 (u_threshold): Likewise.
2062 (__expl): Call __ieee754_expl before checking for overflow and
2063 underflow.
2064 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2065 (__ieee754_expl): Allow for and saturate large arguments.
2066 * math/libm-test.inc (exp_test): Add another test. Do not allow
2067 missing overflow exception on overflow.
2068 (expm1_test): Do not allow missing overflow exception on overflow.
2069
6698b8bf
JM
2070 * sysdeps/i386/fpu/e_expl.c: Move to ...
2071 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2072 rather than using inline asm.
2073 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2074 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2075 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2076
7b17aeda
JM
2077 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2078 (nice): Likewise.
2079 (poll): Likewise.
2080 (signal): Likewise.
2081 (time): Likewise.
2082 (times): Likewise.
2083
f7c85819
JM
20842012-05-04 Joseph Myers <joseph@codesourcery.com>
2085
2086 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2087 sysdeps/unix/common/syscalls.list.
2088 (fchmod): Likewise.
2089 (fchown): Likewise.
2090 (ftruncate): Likewise.
2091 (getrusage): Likewise.
2092 (gettimeofday): Likewise.
2093 (setpgid): Likewise.
2094 (setregid): Likewise.
2095 (setreuid): Likewise.
2096 (sigaction): Likewise.
2097 (truncate): Likewise.
2098 (vhangup): Likewise.
2099 * sysdeps/unix/common/syscalls.list: Remove file.
2100 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2101 * sysdeps/unix/sysv/linux/Implies: Likewise.
2102
336270d0
L
21032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2107 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2108 Moved to ...
2109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2110 Here.
2111 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2112 to ...
2113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2114 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2115 to ...
2116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2117 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2118 to ...
2119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2120 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2121 to ...
2122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2123 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2124 to ...
2125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2126 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2127 to ...
2128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2129 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2130 to ...
2131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2132 Here.
2133 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2134 to ...
2135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2136 Here.
2137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2138 to ...
2139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2140 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2141 Moved to ...
2142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2143 Here.
2144 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2145 to ...
2146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2147
d128e450
JM
21482012-05-04 Joseph Myers <joseph@codesourcery.com>
2149
fa8ee516
JM
2150 * sysdeps/unix/common/bits/dirent.h: Remove file.
2151 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2152
d128e450
JM
2153 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2154 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2155 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2156 * sysdeps/unix/bsd/isatty.c: Likewise.
2157 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2158 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2159 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2160
ff8faaf0 21612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2162
62881be4 2163 [BZ #13563]
31dc8730
AZ
2164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2165 long double comparison inaccuracies.
2166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2168
6fef930c
AS
21692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2170
2171 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2173
8f203e6c
JM
21742012-05-04 Joseph Myers <joseph@codesourcery.com>
2175
2176 [BZ #14049]
2177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2178 nonzero digits before rounding a hex value.
2179 * stdlib/tst-strtod.c (tests): Add another test.
2180
5197d9c2
AK
21812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2182
2183 * sysdeps/s390/fpu/libm-test-ulps: Update.
2184
f0c1dedf
AJ
21852012-05-03 Andreas Jaeger <aj@suse.de>
2186
2187 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2188 does not get optimized out.
2189 (malloc_opt_barrier): New.
2190
a65ef2ae 21912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2192 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2193
2b942cb7 2194 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2195 intermediate file deletion.
2b942cb7 2196 (generated): Add .symlist files.
a65ef2ae 2197
54b71e02
JM
21982012-05-03 Joseph Myers <joseph@codesourcery.com>
2199
2200 [BZ #13775]
2201 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2202 Redirect under this condition.
2203 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2204 [__USE_GNU] (__dprintf_chk): Not under this condition.
2205 [__USE_GNU] (__vdprintf_chk): Likewise.
2206 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2207 under this condition.
2208 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2209 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2210 [__USE_XOPEN2K8] (vdprintf): Likewise.
2211 [__USE_GNU] (__dprintf_chk): Not under this condition.
2212 [__USE_GNU] (__vdprintf_chk): Likewise.
2213 [__USE_GNU] (dprintf): Likewise.
2214 [__USE_GNU] (vdprintf): Likewise.
2215
d3dfcc41
RM
22162012-05-03 Roland McGrath <roland@hack.frob.com>
2217
2218 * elf/Makefile (common-generated): Set this instead of generated for
2219 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2220 $(all-built-dso)-derived lists.
2221
7ac30cc5
AJ
22222012-05-03 Andreas Jaeger <aj@suse.de>
2223
0c51e550
AJ
2224 * sysdeps/i386/fpu/libm-test-ulps: Update.
2225
7ac30cc5
AJ
2226 * FAQ: Removed.
2227 * FAQ.in: Likewise.
2228 * scripts/gen-FAQ.pl: Likewise.
2229 * manual/install.texi (Installation): Point to online location of
2230 FAQ.
2231 * Makefile (files-for-dist): Remove FAQ.
2232 (FAQ): Remove.
2233
d4c2917f
AM
22342012-05-02 Allan McRae <allan@archlinux.org>
2235
2236 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2237 (LDFLAGS-reldepmod5.so): Likewise.
2238 (LDFLAGS-reldep6mod1.so): Likewise.
2239 (LDFLAGS-reldep6mod4.so): Likewise.
2240 (LDFLAGS-reldep8mod3.so): Likewise.
2241 (LDFLAGS-unload4mod1.so): Likewise.
2242 (LDFLAGS-unload4mod2.so): Likewise.
2243 (LDFLAGS-tst-initorder): Likewise.
2244 (LDFLAGS-tst-initordera2.so): Likewise.
2245 (LDFLAGS-tst-initordera3.so): Likewise.
2246 (LDFLAGS-tst-initordera4.so): Likewise.
2247 (LDFLAGS-tst-initorderb2.so): Likewise.
2248 (LDFLAGS-noload): Likewise.
2249 (LDFLAGS-next): Likewise.
2250 (LDFLAGS-order2mod1.so): Likewise.
2251 (LDFLAGS-order2mod2.so): Likewise.
2252 (LDFLAGS-tst-initorder2): Likewise.
2253 (LDFLAGS-tst-initorder2a.so): Likewise.
2254 (LDFLAGS-tst-initorder2b.so): Likewise.
2255 (LDFLAGS-tst-initorder2c.so): Likewise.
2256 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2257
d77f993f
DM
22582012-05-02 David S. Miller <davem@davemloft.net>
2259
2260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2261
171a70b4
PP
22622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2263
2264 [BZ #14055]
2265 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2266
0be196ad
AJ
22672012-05-02 Andreas Jaeger <aj@suse.de>
2268
2269 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2270 since we manipulate rounding mode.
2271 (CPPFLAGS-test-idouble.c): Likewise.
2272 (CPPFLAGS-test-ifloat.c): Likewise.
2273 (CFLAGS-test-ldouble.c): Likewise.
2274 (CFLAGS-test-double.c): Likewise.
2275 (CFLAGS-test-float.c): Likewise.
2276 (CFLAGS-test-misc.c): Likewise.
2277 (CFLAGS-test-test-fenv.c): Likewise.
2278
4f9d04aa
AZ
22792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2280
2b942cb7
RM
2281 [BZ #2550]
2282 [BZ #2570]
2283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2284 comparisons to determine direction to adjust input.
4f9d04aa 2285
82a79e7d
RM
22862012-05-01 Roland McGrath <roland@hack.frob.com>
2287
f5a01ca9
RM
2288 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2289 output to the target.
2290
90fe4186
RM
2291 * scripts/localplt.awk: New file.
2292 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2293 (check-localplt-CFLAGS): Variable removed.
2294 ($(all-built-dso:=.jmprel)): New static pattern rule.
2295 (generated): Add those targets.
2296 (localplt-built-dso): New variable.
2297 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2298
2299 * elf/check-localplt.c: File removed.
2300
82397ed6
RM
2301 * scripts/check-execstack.awk: New file.
2302 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2303 (check-execstack-CFLAGS): Variable removed.
2304 ($(objpfx)check-execstack.h): Target removed.
2305 ($(objpfx)execstack-default): New target.
2306 (generated): Add that instead of check-execstack.h.
2307 ($(all-built-dso:=.phdr)): New static pattern rule.
2308 (generated): Add those targets.
2309 * elf/check-execstack.c: File removed.
2310
82a79e7d
RM
2311 * scripts/check-textrel.awk: New file.
2312 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2313 (check-textrel-CFLAGS): Variable removed.
2314 (all-built-dso): Use := to define.o
2315 ($(all-built-dso:=.dyn)): New static pattern rule.
2316 (generated): Add those targets.
2317 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2318 * config.make.in (READELF): New substituted variable.
2319 * elf/check-textrel.c: File removed.
2320
62fde54f 23212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2322
615605c9
JM
2323 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2324 allow.
2325 * conform/data/ctype.h-data [C99-based standards] (isblank):
2326 Expect function.
2327 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2328 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2330 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2331 Specify type. Require positive value.
2332 (EILSEQ): Likewise.
2333 (ERANGE): Likewise.
2334 [ISO || POSIX] (EILSEQ): Do not expect.
2335 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2336 Specify type. Require positive value.
2337 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2338 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2339 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2340 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2341 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2342 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2343 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2344 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2345 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2346 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2347 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2348 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2349 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2350 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2351 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2352 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2353 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2354 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2355 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2356 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2357 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2358 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2359 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2360 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2361 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2362 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2363 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2364 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2365 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2366 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2367 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2368 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2370 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2371 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2372 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2373 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2374 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2375 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2376 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2377 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2379 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2380 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2381 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2382 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2383 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2384 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2385 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2386 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2387 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2388 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2389 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2390 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2391 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2392 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2393 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2394 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2395 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2396 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2397 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2398 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2399 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2400 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2401 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2402 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2403 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2404 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2405 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2406 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2407 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2408 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2409 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2410 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2411 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2412 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2413 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2414 Require >= 2.
2415 (FLT_ROUNDS): Expect as macro, not constant.
2416 (FLT_MANT_DIG): Use macro-int-constant.
2417 (DBL_MANT_DIG): Likewise.
2418 (LDBL_MANT_DIG): Likewise.
2419 (FLT_DIG): Likewise.
2420 (DBL_DIG): Likewise.
2421 (LDBL_DIG): Likewise.
2422 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2423 (DBL_MIN_EXP): Likewise.
2424 (LDBL_MIN_EXP): Likewise.
2425 (FLT_MAX_EXP): Use macro-int-constant.
2426 (DBL_MAX_EXP): Likewise.
2427 (LDBL_MAX_EXP): Likewise.
2428 (FLT_MAX_10_EXP): Likewise.
2429 (DBL_MAX_10_EXP): Likewise.
2430 (LDBL_MAX_10_EXP): Likewise.
2431 (FLT_MAX): Use macro-constant.
2432 (DBL_MAX): Likewise.
2433 (LDBL_MAX): Likewise.
2434 (FLT_EPSILON): Use macro-constant. Give upper bound.
2435 (DBL_EPSILON): Likewise.
2436 (LDBL_EPSILON): Likewise.
2437 (FLT_MIN): Likewise.
2438 (DBL_MIN): Likewise.
2439 (LDBL_MIN): Likewise.
2440 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2441 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2442 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2443 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2444 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2445 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2446 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2447 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2448 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2449 [ISO11] (FLT_TRUE_MIN): Likewise.
2450 [ISO11] (LDBL_TRUE_MIN): Likewise.
2451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2452 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2453 (SCHAR_MIN): Use macro-int-constant. Specify type.
2454 (SCHAR_MAX): Likewise.
2455 (UCHAR_MAX): Likewise.
2456 (CHAR_MIN): Likewise.
2457 (CHAR_MAX): Likewise.
2458 (MB_LEN_MAX): Use macro-int-constant.
2459 (SHRT_MIN): Use macro-int-constant. Specify type.
2460 (SHRT_MAX): Likewise.
2461 (USHRT_MAX): Likewise.
2462 (INT_MAX): Likewise.
2463 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2464 bound negative.
2465 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2466 bound with "U".
2467 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2468 bound with "L".
2469 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2470 bound negative. Suffix upper bound with "L".
2471 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2472 bound with "UL".
2473 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2474 Specify type.
2475 [C99-based standards] (LLONG_MAX): Likewise.
2476 [C99-based standards] (ULLONG_MAX): Likewise.
2477 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2478 == 0.
2479 [ISO11] (max_align_t): Require type.
2480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2481
c9140a62
JM
2482 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2483 from $CFLAGS, without defining away __attribute__ calls.
2484 (checknamespace): Use $CFLAGS_namespace.
2485
9af0bf29
JM
2486 * conform/conformtest.pl (@keywords): Only include C99 keywords
2487 for standards based on C99 or C11.
2488
343222a2
JM
2489 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2490 Disable tests.
2491 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2492 UNIX98]: Likewise.
2493
661f8cf0
JM
2494 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2495 usability of symbols in #if.
2496
ee74b9cb
JM
2497 * conform/conformtest.pl: If macro or constant types start
2498 "promoted:", expect the symbol to be of the following type
2499 promoted by the integer promotions.
62fde54f 2500
aafc49b3
JM
2501 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2502 in one place. Also handle "macro-constant".
2503
fefdf574
JM
2504 * conform/conformtest.pl: Only accept expected macro values with
2505 "==". Parse all "macro" lines in one place.
2506 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2507
f2d922fe
JM
2508 * conform/conformtest.pl: Handle braced types on "constant" lines
2509 instead of handling "typed-constant".
2510 * conform/data/signal.h-data: Use "constant" instead of
2511 "typed-constant".
2512
d22956c9
JM
2513 * conform/conformtest.pl: Handle "optional-" at start of lines in
2514 one place rather than duplicating several cases. Handle each
2515 format of "macro" line with initial "optional-".
2516
028e2e38
JM
2517 * conform/conformtest.pl: Only accept expected constant or
2518 optional-constant values with "==". Parse all "constant" lines in
2519 one place. Parse all "optional-constant" lines in one place.
2520 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2521 * conform/data/fmtmsg.h-data: Likewise.
2522 * conform/data/netinet/in.h-data: Likewise.
2523 * conform/data/tar.h-data: Likewise.
2524 * conform/data/limits.h-data: Use "==" form on "constant" and
2525 "optional-constant" lines.
2526
1b8f2850
JM
2527 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2528 Use -std=c99 for XOPEN2K.
2529 (@knownproblems): Remove.
2530 (newtoken): Don't check %isknown.
2531
a05a144b
JM
2532 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2533 Do not expect macro.
2534 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2546 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2547 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2564 [XPG3] (acosh): Likewise.
2565 [XPG3] (asinh): Likewise.
2566 [XPG3] (atanh): Likewise.
2567 [XPG3] (cbrt): Likewise.
2568 [XPG3] (expm1): Likewise.
2569 [XPG3] (ilogb): Likewise.
2570 [XPG3] (log1p): Likewise.
2571 [XPG3] (logb): Likewise.
2572 [XPG3] (nextafter): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2575 [XPG3] (remainder): Likewise.
2576 [XPG3] (rint): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2584 [UNIX98 || XOPEN2K] (scalb): Expect.
2585 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2586 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2597 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2598 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2599 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2600 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2601 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2602 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2603 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2604 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2605 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2606 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2607 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2608 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2609 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2610 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2611 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2612 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2613 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2614 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2615 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2616 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2617 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2618 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2619 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2620 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2621 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2622 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2623 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2624 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2625 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2626 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2627 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2628 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2629 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2630 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2631 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2632 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2633 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2634 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2635 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2636 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2637 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2638 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2639 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2640 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2641 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2642 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2643 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2644 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2645 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2646 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2647 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2648 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2649 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2650 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2651 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2653 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2654 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2655 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2656 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2657 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2658 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2659 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2660 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2662 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2663 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2664 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2665 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2666 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2667 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2668 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2669 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2670 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2671 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2672 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2673 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2674 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2675 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2676 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2677 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2678 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2679 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2680 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2681 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2682 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2683 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2684 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2685 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2686 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2687 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2688 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2689 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2690 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2691 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2692 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2693 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2694 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2695 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2696 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2697 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2698 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2699 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2700 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2701 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2702 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2703 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2704 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2705 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2706 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2707 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2708 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2709 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2710 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2711 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2712 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2713 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2714 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2715 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2716 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2717 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2718 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2719 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2720 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2722
73c5ebe3
JM
2723 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2724 _XOPEN_SOURCE_EXTENDED for XPG4.
2725
39c33b6c
JM
2726 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2727
62fde54f
JM
2728 * Makeconfig (localtime): Remove variable.
2729 (inst_localtime-file): Likewise.
2730
0741d64c
AS
27312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2732
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2734 Update.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2736 Update.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2738 Update.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2740 Update.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2742 Update.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2744 Update.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2746 Update.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2748 Update.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2750 Update.
2751
7cb029ee
JM
27522012-05-01 Joseph Myers <joseph@codesourcery.com>
2753
2754 [BZ #2550]
2755 [BZ #2570]
2756 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2757 comparisons to determine direction to adjust input.
2758 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2759 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2761 Likewise.
2762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2763 Likewise.
2764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2765 Likewise.
2766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2768 Likewise.
2769 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2770 Likewise.
2771 * math/libm-test.inc (nexttoward_test): Add more tests.
2772
412bd966
AS
27732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2774
2775 [BZ #14040]
2776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2777 in version GLIBC_2.1, not GLIBC_2.0.
2778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2779 Likewise.
2780
9568c0c2
JM
27812012-04-30 Joseph Myers <joseph@codesourcery.com>
2782
adfbc8ac
JM
2783 [BZ #13942]
2784 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2785 (1 - x) * (1 + x).
2786 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2787 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2788 * math/libm-test.inc (acos_test): Add more tests.
2789 (asin_test): Likewise.
2790 * sysdeps/i386/fpu/libm-test-ulps: Update.
2791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2792
5ba3cc69
JM
2793 [BZ #14034]
2794 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2795 of square root.
2796 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2797 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2798 * math/libm-test.inc (acos_test_tonearest): New function.
2799 (acos_test_towardzero): Likewise.
2800 (acos_test_downward): Likewise.
2801 (acos_test_upward): Likewise.
2802 (asin_test_tonearest): Likewise.
2803 (asin_test_towardzero): Likewise.
2804 (asin_test_downward): Likewise.
2805 (asin_test_upward): Likewise.
2806 (main): Call the new functions.
2807 * sysdeps/i386/fpu/libm-test-ulps: Update.
2808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2809
9568c0c2
JM
2810 [BZ #13884]
2811 [BZ #13924]
2812 * math/e_exp10.c: Include <float.h>.
2813 (__ieee754_exp10): Handle underflow here rather than multiplying
2814 large negative argument by M_LN10.
2815 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2816 of __ieee754_expf.
2817 * math/e_exp10l.c: Include <float.h>.
2818 (__ieee754_exp10l): Handle underflow here rather than multiplying
2819 large negative argument by M_LN10l.
2820 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2821 spurious overflow exception on underflow.
2822
5ac3ea17
MP
28232012-04-29 Marek Polacek <polacek@redhat.com>
2824
2825 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2826 (__fortify_function): New macro.
2827 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2828 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2829 __extern_always_inline.
2830 * libio/bits/stdio2.h: Likewise.
2831 * libio/bits/stdio.h: Likewise.
2832 * string/string.h: Likewise.
2833 * string/bits/string3.h: Likewise.
2834 * include/stdio.h: Likewise.
2835 * stdlib/bits/stdlib.h: Likewise.
2836 * stdlib/stdlib.h: Likewise.
2837 * rt/bits/mqueue2.h: Likewise.
2838 * rt/mqueue.h: Likewise.
2839 * posix/bits/unistd.h: Likewise.
2840 * posix/unistd.h: Likewise.
2841 * io/bits/poll2.h: Likewise.
2842 * io/bits/fcntl2.h: Likewise.
2843 * io/fcntl.h: Likewise.
2844 * io/sys/poll.h: Likewise.
2845 * misc/bits/syslog.h: Likewise.
2846 * misc/bits/syslog-ldbl.h: Likewise.
2847 * misc/sys/syslog.h: Likewise.
2848 * socket/bits/socket2.h: Likewise.
2849 * socket/sys/socket.h: Likewise.
2850 * debug/tst-chk1.c: Likewise.
2851 * wcsmbs/bits/wchar2.h: Likewise.
2852 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2853 * wcsmbs/wchar.h: Likewise.
2854
ecf0ebfb
AJ
28552012-04-29 Andreas Jaeger <aj@suse.de>
2856
2857 * Makerules (tests): Remove enable-check-abi protection.
2858 (check-abi-warn): Remove.
2859 (check-abi-%): Remove check-abi-warn usage.
2860
2861 * configure.in: Remove check-abi configure option.
2862 * configure: Regenerated.
2863 * config.make.in (enable-check-abi): Remove.
2864
6d5c57fa
AS
28652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2866
24c5d07e 2867 [BZ #14033]
ded5180a
AS
2868 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2869 double functions to double *_finite functions.
2870
7e0d315d
AS
2871 [BZ #13941]
2872 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2873 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2874 LDBL_MIN_EXP.
2875 * stdio-common/Makefile (tests): Add tst-sprintf3.
2876 * stdio-common/tst-sprintf3.c: New file.
2877
6d5c57fa
AS
2878 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2879 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2880
0749ff8b
JM
28812012-04-28 Joseph Myers <joseph@codesourcery.com>
2882
2883 * conform/conformtest.pl: Remove duplicate typed-constant
2884 handling.
2885
8dbd5d7b
DM
28862012-04-28 David S. Miller <davem@davemloft.net>
2887
2888 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2889 (check-abi-%): Remove AWK script prerequisite and explicit
2890 abilist directory.
2891 (check-abi): Rewrite to just diff the symlist with the abilist.
2892 (config-tls, config-abi-config): Delete, no longer used.
2893 (update-abi-%): Remove AWK script and explicit abilist directory.
2894 (update-abi): Rewrite to simply compare and conditionally copy the
2895 symlist and the sysdep abilist file. Remove update-abi-config
2896 checks.
2897 * abilist/ld.abilist: Remove.
2898 * abilist/libBrokenLocale.abilist: Remove.
2899 * abilist/libanl.abilist: Remove.
2900 * abilist/libcrypt.abilist: Remove.
2901 * abilist/libdl.abilist: Remove.
2902 * abilist/librt.abilist: Remove.
2903 * abilist/libthread_db.abilist: Remove.
2904 * abilist/libutil.abilist: Remove.
2905 * scripts/extract-abilist.awk: Remove.
2906 * scripts/merge-abilist.awk: Remove.
2907 * sysdeps/generic/libcidn.abilist: New file.
2908 * sysdeps/generic/libnss_compat.abilist: New file.
2909 * sysdeps/generic/libnss_db.abilist: New file.
2910 * sysdeps/generic/libnss_dns.abilist: New file.
2911 * sysdeps/generic/libnss_files.abilist: New file.
2912 * sysdeps/generic/libnss_hesiod.abilist: New file.
2913 * sysdeps/generic/libnss_nis.abilist: New file.
2914 * sysdeps/generic/libnss_nisplus.abilist: New file.
2915 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2916 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2917 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2918 file.
2919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2920 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2921 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2922 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2923 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2924 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2925 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2926 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2927 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2928 file.
2929 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2930 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2932 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2933 file.
2934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2935 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2937 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2938 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2939 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2940 file.
2941 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2942 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2943 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2944 file.
2945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2947 New file.
2948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2949 New file.
2950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2951 New file.
2952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2953 New file.
2954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2955 New file.
2956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2957 New file.
2958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2959 New file.
2960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2961 New file.
2962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2963 New file.
2964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2965 New file.
2966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2967 New file.
2968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2969 New file.
2970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2971 New file.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2973 file.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2975 New file.
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2977 New file.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2979 file.
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2981 New file.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2983 New file.
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2985 file.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2987 New file.
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2989 New file.
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2991 New file.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2993 New file.
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2995 New file.
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2997 New file.
2998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3000 file.
3001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3002 New file.
3003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3004 file.
3005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3006 file.
3007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3008 file.
3009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3010 file.
3011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3012 file.
3013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3014 New file.
3015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3016 file.
3017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3018 file.
3019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3020 New file.
3021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3022 file.
3023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3025 file.
3026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3027 New file.
3028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3029 file.
3030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3031 file.
3032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3033 file.
3034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3035 file.
3036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3037 file.
3038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3039 New file.
3040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3041 file.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3043 file.
3044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3045 New file.
3046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3047 file.
3048 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3049 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3050 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3051 file.
3052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3053 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3054 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3056 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3057 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3058 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3059 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3060 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3061 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3064 file.
3065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3066 New file.
3067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3068 file.
3069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3070 file.
3071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3072 file.
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3074 file.
3075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3076 file.
3077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3078 New file.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3080 New file.
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3082 file.
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3084 New file.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3086 file.
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3089 file.
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3091 New file.
3092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3093 file.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3095 file.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3097 file.
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3099 file.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3101 file.
3102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3103 New file.
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3105 New file.
3106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3107 file.
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3109 New file.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3111 file.
3112
41d73a1b
JM
31132012-04-28 Joseph Myers <joseph@codesourcery.com>
3114
3115 * conform/conformtest.pl: Fix typo in handling typed-constant from
3116 allow-header.
3117
28aeeda4
JM
31182012-04-27 Joseph Myers <joseph@codesourcery.com>
3119
adae8f5e
JM
3120 * README: Cut down references to pre-2.6 Linux kernels and
3121 Linuxthreads. Update lists of configurations in libc and ports
3122 and sort alphabetically. Say "or newer" with Linux kernel version
3123 requirements.
3124
28aeeda4
JM
3125 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3126
a462cb63
RA
31272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3128
3129 [BZ #887]
3130 * math/libm-test.inc (logb_test_downward): New test to expose
3131 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3132 rounding mode.
3133
6ad3493e
JM
31342012-04-27 Joseph Myers <joseph@codesourcery.com>
3135
3136 [BZ #14027]
3137 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3138 to be done.
3139 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3140 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3141
2ce4f015
JM
31422012-04-26 Joseph Myers <joseph@codesourcery.com>
3143
5aeb141a
JM
3144 * sysdeps/unix/i386/brk.S: Remove file.
3145 * sysdeps/unix/i386/dl-brk.S: Likewise.
3146 * sysdeps/unix/i386/pipe.S: Likewise.
3147 * sysdeps/unix/i386/sigreturn.S: Likewise.
3148 * sysdeps/unix/i386/syscall.S: Likewise.
3149 * sysdeps/unix/i386/vfork.S: Likewise.
3150 * sysdeps/unix/i386/wait.S: Likewise.
3151
7143acae
JM
3152 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3153 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3154
2ce4f015
JM
3155 * configure.in (arm*-none*): Do not allow without
3156 --enable-hacker-mode.
3157 (netbsd*): Remove case setting base_os.
3158 (386bsd*): Likewise.
3159 (freebsd*): Likewise.
3160 (bsdi*): Likewise.
3161 (osf*): Likewise.
3162 (sunos*): Likewise.
3163 (ultrix*): Likewise.
3164 (newsos*): Likewise.
3165 (dynix*): Likewise.
3166 (*bsd*): Likewise.
3167 (sysv*): Likewise.
3168 (isc*): Likewise.
3169 (esix*): Likewise.
3170 (sco*): Likewise.
3171 (minix*): Likewise.
3172 (irix4*): Likewise.
3173 (irix6*): Likewise.
3174 (solaris[2-9]*): Likewise.
3175 (none): Likewise.
3176 * configure: Regenerated.
3177
0ac229c8
AZ
31782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179
3180 [BZ #11521]
3181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3182 overflow or cancellation in calculating denominator.
3183 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3185 down expression to avoid unexpected rounding in newer GCCs.
3186 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3187
33f244f4
DM
31882012-04-26 David S. Miller <davem@davemloft.net>
3189
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3191 long-double compat symbols.
3192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3205
cfa1f3e8
DM
32062012-04-25 David S. Miller <davem@davemloft.net>
3207
3208 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3209 HWCAP_* values only after the memory barriers have been defined.
3210 (atomic_full_barrier): Define.
3211 (atomic_read_barrier): Define.
3212 (atomic_write_barrier): Define.
3213
6e236b92
SP
32142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3215
3216 * shlib-versions: Add libgcc_s version information.
3217 * sysdeps/generic/libgcc_s.h: Remove.
3218 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3219 libgcc_s.h.
3220 * sysdeps/gnu/unwind-resume.c: Likewise.
3221 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3222
aab39a09
DM
32232012-04-25 David S. Miller <davem@davemloft.net>
3224
3225 * sysdeps/unix/sparc/brk.S: Delete.
3226 * sysdeps/unix/sparc/dl-brk.S: Delete.
3227 * sysdeps/unix/sparc/pipe.S: Delete.
3228 * sysdeps/unix/sparc/sysdep.S: Delete.
3229 * sysdeps/unix/sparc/sysdep.h: Delete.
3230 * sysdeps/unix/sparc/vfork.S: Delete.
3231 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3232 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3234 ret_ERRVAL, r0, r1, MOVE): Define.
3235 (JUMPTARGET): Remove.
3236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3237 sysdeps/unix/sparc/sysdep.h
3238 (ENTRY, END): Remove.
3239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3240
a3cc4f48
JM
32412012-04-25 Joseph Myers <joseph@codesourcery.com>
3242
2ed8cda2
JM
3243 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3244 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3245 -DIS_IN_build.
3246
35d76d59
JM
3247 * timezone/README: Update upstream location and email address for
3248 tzcode and tzdata.
3249 * timezone/zdump.c: Update from tzcode 2012b.
3250 * timezone/zic.c: Likewise.
3251
a3cc4f48
JM
3252 * configure.in (libc_cv_as_needed): Remove test.
3253 * configure: Regenerated.
3254 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3255 conditional definition.
3256 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3257 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3258 * config.make.in (have-as-needed): Remove variable.
3259
ceab42c3
SP
32602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3261 Paul Pluzhnikov <ppluzhnikov@google.com>
3262
3263 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3264 strings correctly.
3265
3ce2865f
CLT
32662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3267
3268 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3269 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3270 * sysdeps/sh/strlen.S: Likewise.
3271
f37e0d68
JM
32722012-04-24 Joseph Myers <joseph@codesourcery.com>
3273
ae186e9a
JM
3274 * sysdeps/unix/fork.S: Remove file.
3275 * sysdeps/unix/i386/fork.S: Likewise.
3276 * sysdeps/unix/sparc/fork.S: Likewise.
3277
b96914af
JM
3278 * sysdeps/unix/system.c: Remove file.
3279 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3280
f37e0d68
JM
3281 * sysdeps/unix/getegid.S: Remove file.
3282 * sysdeps/unix/geteuid.S: Likewise.
3283
87ef29ca
RM
32842012-04-24 Roland McGrath <roland@hack.frob.com>
3285
83bcd236
RM
3286 * scripts/check-localplt.awk: New file.
3287 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3288 of diff.
3289 * scripts/data/localplt-generic.data: Add a comment.
3290
87ef29ca
RM
3291 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3292 NODE when __dir_mkfile failed.
3293 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3294 Reported by Ludovic Courtès <ludo@gnu.org>.
3295
e5a6e567
AJ
32962012-04-24 Andreas Jaeger <aj@suse.de>
3297
3298 * Makerules (common-clean): Also remove gen-as-const-headers
3299 files.
3300
c1820385
JM
33012012-04-24 Joseph Myers <joseph@codesourcery.com>
3302
3303 * Makerules (native-compile): Do not change working directory for
3304 build. Use $(OUTPUT_OPTION) in command.
3305 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3306
94e02fc4
AZ
33072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308
3309 [BZ #13886]
3310 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3311 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3312 * math/libm-test.inc (floor_test): Add more tests.
3313 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3314
3a533ca3
JM
33152012-04-24 Joseph Myers <joseph@codesourcery.com>
3316
940ab4b3
JM
3317 * sysdeps/unix/getdents.c: Remove file.
3318 * sysdeps/unix/sysv/getdents.c: Likewise.
3319 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3320
90e037bd
JM
3321 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3322 sysdeps/unix/mman/syscalls.list.
3323 (mmap): Likewise.
3324 (mprotect): Likewise.
3325 (msync): Likewise.
3326 (munmap): Likewise.
3327 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3328 * sysdeps/unix/mman/syscalls.list: Remove.
3329 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3330
3a533ca3
JM
3331 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3332 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3333 * configure: Regenerated.
3334 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3335 $(libgcc_s_suffix).
3336 * config.make.in (libgcc_s_suffix): Remove variable.
3337
1ad743de
JM
33382012-04-23 Joseph Myers <joseph@codesourcery.com>
3339
4ad451e2
JM
3340 * sysdeps/unix/sysv/gethostname.c: Move to ...
3341 * sysdeps/posix/gethostname.c: ... here.
3342
5e37ce39
JM
3343 * sysdeps/unix/execve.S: Remove file.
3344
1ad743de
JM
3345 * sysdeps/unix/_exit.S: Remove file.
3346
4e681b5b
AJ
33472012-04-23 Andreas Jaeger <aj@suse.de>
3348
3349 [BZ #13739]
3350 * manual/Makefile: Remove make dist support, there's no
3351 need for a stand-alone documentation tar ball.
3352 (TEXI2DVI): Define always, it's not in Makeconfig.
3353 (dist): Removed.
3354 (tar-it): Removed.
3355 (edition): Removed.
3356 (glibc-doc-$(edition).tar): Removed
3357 (%.Z): Removed.
3358 (%.gz): Removed.
3359 (%.uu): Removed.
3360 (ETAGS): Remove, it's in Makeconfig.
3361 (move-if-change): Remove, it's in Makeconfig.
3362
c0baea34
PE
33632013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3364
3365 [BZ #13970]
3366 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3367 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3368 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3369 (strtod_l, strtof_l, strtold_l): Remove __wur.
3370 It is not necessarily an error to ignore strtol's return value.
3371 One can reliably look at the stored endptr to decide whether
3372 the number had valid syntax.
3373
7c0616fa
AJ
33742012-04-21 Andreas Jaeger <aj@suse.de>
3375
803cb6b7 3376 [BZ #13739]
7c0616fa
AJ
3377 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3378
b0fe253f
JM
33792012-04-21 Joseph Myers <joseph@codesourcery.com>
3380
3381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3382 * sysdeps/unix/sysv/Versions: Remove file.
3383
8280f22d
MT
33842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3385
3386 [BZ #13927]
3387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3388
75ce411f 33892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3390
3391 [BZ #7064]
3392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3393 version from __vm86.
3394
097d59fa
JM
33952012-04-20 Joseph Myers <joseph@codesourcery.com>
3396
a90f3bcb
JM
3397 * sysdeps/unix/common/lxstat.c: Remove file.
3398 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3399
edc7ea78
JM
3400 * sysdeps/unix/sysv/Makefile: Remove file.
3401
cb78c221
JM
3402 * sysdeps/unix/sysv/direct.h: Remove file.
3403
efa6a45f
JM
3404 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3405 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3406 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3407 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3408 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3409 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3410 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3411
9c9f2d0c
JM
3412 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3413
4541c83b
JM
3414 * sysdeps/unix/xmknod.c: Remove file.
3415 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3416
f5d153a0
JM
3417 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3418
aa746595
JM
3419 * sysdeps/unix/sysv/i386/time.S: Remove file.
3420
cce5905e
JM
3421 * sysdeps/unix/fxstat.c: Remove file.
3422 * sysdeps/unix/xstat.c: Likewise.
3423 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3424
37fa3841
JM
3425 * sysdeps/unix/sysv/sigaction.c: Remove file.
3426
ff1962a3
JM
3427 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3428 (sysdep_headers): Remove variable.
3429 [termio.h not in sysdep_headers] (generated): Likewise.
3430 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3431 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3432 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3433 * sysdeps/unix/sysv/tcflow.c: Likewise.
3434 * sysdeps/unix/sysv/tcflush.c: Likewise.
3435 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3436 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3437 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3438 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3439 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3440
e7740d31
JM
3441 * sysdeps/unix/siglist.c: Remove file.
3442
ee06f18b
JM
3443 * sysdeps/unix/getppid.S: Remove file.
3444
097d59fa
JM
3445 * sysdeps/unix/mkdir.c: Remove file.
3446 * sysdeps/unix/rmdir.c: Likewise.
3447
ff3d51ec
AS
34482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3449
3450 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3451 ERR_MAX value.
3452 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3453 errlist-compat value.
3454
50f81fd7
DM
34552012-04-18 David S. Miller <davem@davemloft.net>
3456
3457 * sysdeps/generic/memcopy.h (reg_char): Delete.
3458 * debug/strcat_chk.c: Use char, not reg_char.
3459 * debug/strcpy_chk.c: Likewise.
3460 * debug/strncat_chk.c: Likewise.
3461 * debug/strncpy_chk.c: Likewise.
3462 * string/memchr.c: Likewise.
3463 * string/memrchr.c: Likewise.
3464 * string/rawmemchr.c: Likewise.
3465 * string/strcat.c: Likewise.
3466 * string/strchr.c: Likewise.
3467 * string/strchrnul.c: Likewise.
3468 * string/strcmp.c: Likewise.
3469 * string/strcpy.c: Likewise.
3470 * string/strncat.c: Likewise.
3471 * string/strncmp.c: Likewise.
3472 * string/strncpy.c: Likewise.
3473
8ff41c46
WS
34742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3475
3476 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3477 __builtin_memcopy is called when src and dest ranges are known to not
3478 overlap.
3479
6b652f46
WS
34802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3481
3482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3483 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3484 fwd_align_merge macro call.
3485 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3486 bwd_align_merge macro call.
3487 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3488
b282631e
WS
34892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3490
3491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3492 bwd_align_merge macros.
3493 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3494 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3496
95aa737c
DM
34972012-04-18 David S. Miller <davem@davemloft.net>
3498
3499 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3500
7a99a614
AJ
35012012-04-18 Andreas Jaeger <aj@suse.de>
3502
3503 [BZ# 6794]
3504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3505 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3506 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3507
3508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3509 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3511
3512 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3513 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3514 Adjust for changed ldbl-128 files.
3515
3516 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3517 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3519
e5270c23
DM
35202012-04-17 David S. Miller <davem@davemloft.net>
3521
3522 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3523
fb5e92c9
AS
35242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3525
3526 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3527 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3528 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3529 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3530 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3531 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3532
76da7265
AZ
35332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534
3535 [BZ #6794]
3536 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3537 * math/libm-test.inc: Add ilogb errno and exception tests.
3538 * math/w_ilogb.c: New file: ilogb wrapper.
3539 * math/w_ilogbf.c: New file: ilogbf wrapper.
3540 * math/w_ilogbl.c: New file: ilogbl wrapper.
3541 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3542 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3543 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3544 exception being thrown with 0.0 as argument.
3545 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3546 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3547 exception being thrown with 0.0 as argument.
3548 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3549 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3550 exception being thrown with 0.0 as argument.
3551 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3552 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3553 exception being thrown with 0.0 as argument.
3554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3555 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3557 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3559 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3560 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3561 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3562 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3563
0396e69d
PB
35642012-04-17 Petr Baudis <pasky@ucw.cz>
3565
3566 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3567 with altivec.
3568
750b5926
MP
35692012-04-16 Marek Polacek <polacek@redhat.com>
3570
3571 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3572
751728a1
MP
35732012-04-16 Marek Polacek <polacek@redhat.com>
3574
3575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3576 operands of fdivp instruction.
3577
34a27407
L
35782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3579
3580 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3581 * elf/tst-auditmod3b.c: Likewise.
3582 * elf/tst-auditmod4b.c: Likewise.
3583 * elf/tst-auditmod5b.c: Likewise.
3584 * elf/tst-auditmod6b.c: Likewise.
3585 * elf/tst-auditmod6c.c: Likewise.
3586 * elf/tst-auditmod7b.c: Likewise.
3587 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3588 * sysdeps/x86_64/preconfigure.in: Likewise.
3589 * sysdeps/x86_64/preconfigure: Regenerated.
3590
7e73e17d
L
35912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3592
3593 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3594 __ILP32__.
3595
c7a6ab72
AB
35962012-04-13 Antoine Balestrat <merkil33@gmail.com>
3597
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3599 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3600
a9e8e0e0
CL
36012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3602
3603 [BZ #13973]
3604 * locale/iso-639.def: Fix gl language name. Spotted by
3605 Yaron Shahrabani.
3606
ec98af7d
RM
36072012-04-12 Roland McGrath <roland@hack.frob.com>
3608
3609 [BZ #2074]
3610 * libio/libio.h (__io_write_fn): Update comment.
3611
247c3ede
PB
36122012-04-12 Petr Baudis <pasky@ucw.cz>
3613
3614 [BZ #2074]
3615 * stdio.texi (Hook Functions): The user provided writer function
3616 is not allowed to return -1.
3617
55939d6d
DM
36182012-04-11 David S. Miller <davem@davemloft.net>
3619
3620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3621
90020f5a
MF
36222012-04-11 Mike Frysinger <vapier@gentoo.org>
3623
3624 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3625 Add a leading slash to rtkaio.
3626
288f9098
JM
36272012-04-11 Jim Meyering <meyering@redhat.com>
3628
90020f5a
MF
3629 [BZ #11959]
3630 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3631 It is not necessarily an error to ignore fwrite's return
3632 value. One can reliably use ferror to test for errors after
3633 the fact.
288f9098 3634
4be2b570
L
36352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3636
3637 * bits/types.h (__snseconds_t): New type.
3638 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3639
3640 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3642 (__SNSECONDS_T_TYPE): Likewise.
3643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3644 (__SNSECONDS_T_TYPE): Likewise.
3645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3646 (__SNSECONDS_T_TYPE): Likewise.
3647
288f9098 36482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3649
3650 [BZ #2636]
3651 * manual/time.texi (Processor Time): Return type of times is
3652 elapsed real time since an arbitrary point in the past.
3653 (CPU Time): Move CLK_TCK from here...
3654 (Processor Time): ...to here. Correct description.
3655 * manual/conf.texi (Constants for Sysconf): Correct description of
3656 _SC_CLK_TCK.
3657
d7dd4413
DM
36582012-04-10 David S. Miller <davem@davemloft.net>
3659
3660 [BZ #13967]
3661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3662 where the is a gap between DT_REL(A) and DT_JMPREL.
3663
b46068fc
L
36642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3667 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3668 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3669
73d65cc3
SP
36702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3673 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3674 (dl_main): Handle --inhibit-cache.
3675 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3676 _dl_inhibit_cache.
3677 * elf/dl-load.c (_dl_map_object): Use it.
3678 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3679
bcc8d661
JM
36802012-04-09 Joseph Myers <joseph@codesourcery.com>
3681
8f9a2fae
JM
3682 [BZ #13872]
3683 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3684 (__ieee754_powl): Saturate large exponents rather than testing for
3685 overflow of y*log2(x).
3686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3687 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3688 exceptions.
3689
bcc8d661
JM
3690 [BZ #11521]
3691 * math/s_ctan.c: Include <float.h>.
3692 (__ctan): Avoid internal overflow or cancellation in calculating
3693 denominator.
3694 * math/s_ctanf.c: Likewise.
3695 * math/s_ctanl.c: Likewise.
3696 * math/s_ctanh.c: Likewise.
3697 * math/s_ctanhf.c: Likewise.
3698 * math/s_ctanhl.c: Likewise.
3699 * math/libm-test.inc (ctan_test): Add more tests.
3700 (ctanh_test): Likewise.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703
823fbbb4
AJ
37042012-04-09 Andreas Jaeger <aj@suse.de>
3705
03879793
AJ
3706 [BZ #6894]
3707 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3708 is an optional BSD extension.
3709
823fbbb4
AJ
3710 [BZ #10254]
3711 * manual/stdio.texi (Opening Streams): Document additional fopen
3712 parameters.
3713
8de131cb
RM
37142012-04-09 Roland McGrath <roland@hack.frob.com>
3715
3716 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3717 %eax without telling the compiler.
3718
c0ed9d7d
CD
37192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3720
3721 [BZ # 13963]
3722 * manual/install.texi: Use sourceware.org.
3723
c483f6b4
JM
37242012-04-09 Joseph Myers <joseph@codesourcery.com>
3725
d7dd9453
JM
3726 [BZ #13873]
3727 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3728 (__ieee754_pow): Generate overflow and underflow using huge*huge
3729 and tiny*tiny rather than just returning constant infinity or zero
3730 for large exponents.
3731 * math/libm-test.inc (pow_test): Require overflow exceptions for
3732 applicable cases of large exponents.
3733
c483f6b4
JM
3734 [BZ #706]
3735 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3736 (__ieee754_pow): Use iterative multiplication algorithm only for
3737 integer exponents with absolute value below 1024. Check for odd
3738 integer exponents when using algorithm for real exponents.
3739 * math/libm-test.inc (pow_test): Add more tests.
3740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3741
d2de7579
JM
37422012-04-08 Joseph Myers <joseph@codesourcery.com>
3743
3744 [BZ #13705]
3745 * math/libm-test.inc (exp_test): Do not allow overflow exception
3746 on underflow test.
3747
f77f1232
AJ
37482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3749
3750 [BZ #13705]
3751 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3752 instead of __kernel_standard_f.
3753
3884932b
MF
37542012-04-08 Mike Frysinger <vapier@gentoo.org>
3755
3756 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3757 * sysdeps/x86_64/memset_chk.S: Likewise.
3758
54472e9c
AJ
37592012-04-08 Andreas Jaeger <aj@suse.de>
3760
6ab0fbfc
AJ
3761 [BZ #10153]
3762 * manual/startup.texi (Environment Access): Describe return value
3763 for putenv and setenv.
3764
61efba8c
AJ
3765 [BZ #6895]
3766 * manual/filesys.texi (Directory Entries): Add description for
3767 DT_LNK.
3768
95c3f29a
AJ
3769 [BZ #6890]
3770 * manual/filesys.texi (Directory Entries): Clarify that it's file
3771 system not operating system in the description of DT_UNKNOWN.
3772
54472e9c
AJ
3773 [BZ #6578]
3774 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3775
624254b1
SC
37762012-04-08 Stephen Compall <s11@member.fsf.org>
3777
3778 [BZ #6649]
3779 * manual/llio.texi (Opening and Closing Files): Add cross
3780 reference to explain mode argument.
3781
1e4920e0
MF
37822012-04-07 Mike Frysinger <vapier@gentoo.org>
3783
3784 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3785 * sysdeps/x86_64/memset_chk.S: Likewise.
3786
5ed848f3
DM
37872012-04-07 David S. Miller <davem@davemloft.net>
3788
3789 * elf/elf.h (R_SPARC_WDISP10): Define.
3790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3791 R_SPARC_SIZE32.
3792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3793 R_SPARC_SIZE64 and R_SPARC_H34.
3794
96154cd8
CD
37952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3796
3797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3798 conditions and remove no longer applicable assertion.
3799
9904dc47
L
38002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 * bits/byteswap.h: Include <features.h>.
3803 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3804 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3805
f8887d0a
L
38062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 * bits/byteswap.h (__bswap_16): Removed.
3809 Include <bits/byteswap-16.h> to get __bswap_16.
3810 * sysdeps/i386/bits/byteswap.h: Likewise.
3811 * sysdeps/s390/bits/byteswap.h: Likewise.
3812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3813 * bits/byteswap-16.h: New file.
3814 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3815 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3816 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3817 * string/Makefile (headers): Add bits/byteswap-16.h.
3818
62470f60
PP
38192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3820
3821 [BZ #13895]
3822 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3823 extra indirection.
3824 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3825 * nss/tst-nss-static.c: New.
3826
4dad7bab
RM
38272012-04-06 Robert Millan <rmh@gnu.org>
3828
3829 [BZ #6486]
3830 * manual/llio.texi (File Position Primitive): lseek
3831 refers to WHENCE when it really means OFFSET.
3832
e9142a17
AJ
38332012-04-06 Andreas Jaeger <aj@suse.de>
3834
2c040eff
AJ
3835 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3836 strncmp declarations.
3837
e9142a17
AJ
3838 * abilist/libc.abilist: Add __poll and __ppoll.
3839
ff9f1c5f
DM
38402012-04-05 David S. Miller <davem@davemloft.net>
3841
dcd2ae90
DM
3842 * scripts/check-local-headers.sh: Accept a host triplet in the
3843 path matched by the exclude regexp.
3844
993eb054
DM
3845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3846 definition.
3847 * sysdeps/powerpc/powerpc32/dl-machine.h
3848 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3849 * sysdeps/s390/s390-32/dl-machine.h
3850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3851 * sysdeps/sparc/sparc32/dl-machine.h
3852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3853 * sysdeps/sparc/sparc64/dl-machine.h
3854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3855
ff9f1c5f
DM
3856 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3857 lazy binding.
48e2e132 3858 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3859 undefined symbol errors.
3860
48e2e132 3861 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3862 DT_NEEDED entries.
3863
e80d6f94
MM
38642012-04-05 Michael Matz <matz@suse.de>
3865
3866 [BZ #13592]
3867 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3868
349fa79f
AJ
38692012-04-05 Andreas Jaeger <aj@suse.de>
3870
3871 [BZ #13908]
3872 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3873 comment.
3874
f402708f
KK
38752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3876
3877 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3878 which ROUND is no valid rounding mode.
3879
2ecccfc9
KK
38802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3881
3882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3883 read again.
3884 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3885
8a53f50f
KK
38862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3887
3888 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3889 an exception using FPU order intentionally.
3890
38912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3892
3893 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3894 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3895 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3896 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3897
d653abb7
SJ
38982012-04-05 Simon Josefsson <simon@josefsson.org>
3899
3900 [BZ #12340]
3901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3902 EINVAL when BUFLEN is too smal.
3903
c3b1bf7d
TS
39042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3905
3906 [BZ #13553]
3907 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3908 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3909
b1aa60f3
AJ
39102012-04-03 Andreas Jaeger <aj@suse.de>
3911
c3b1bf7d 3912 [BZ #13938]
67f60a26
AJ
3913 * manual/setjmp.texi (System V contexts): Fix sentence.
3914
b1aa60f3
AJ
3915 [BZ #13926]
3916 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3917 New macro for this case.
3918 [!__GNUC__] (__bswap_64): New inline function for this case.
3919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3920 * bits/byteswap.h: Likewise.
3921 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3922 ull, guard with __GLIBC_HAVE_LONG_LONG.
3923
3924 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3925 __GLIBC_HAVE_LONG_LONG.
3926
3927 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3928 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3929
39c59c35
TMQMF
39302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3931
3932 [BZ #13691]
3933 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3934 inptr and inend, rather than using last_ch.
3935
135ffda8
DM
39362012-04-02 David S. Miller <davem@davemloft.net>
3937
3938 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3939 * stdio-common/printf-parse.h (read_int): Change return type to
3940 'int', return -1 on INT_MAX overflow.
3941 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3942 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3943 overflows INT_MAX. Check for overflow of in-format-string precision
3944 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3945 SIZE_MAX not INT_MAX for integer overflow test.
3946 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3947 skip the construct in the format string but do not record anything.
3948 * stdio-common/bug22.c: Adjust to test both width/prevision
3949 INT_MAX overflow as well as total length INT_MAX overflow. Check
3950 explicitly for proper errno values.
3951
228c019e
TS
39522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3953
302cadd3
TS
3954 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3955 CHAR_MAX.
3956 * string/test-strcmp.c [! WIDE]: Likewise.
3957 * time/tst-mktime2.c: Likewise for INT_MAX.
3958 * string/test-string.h: #include <sys/param.h> for MIN.
3959
228c019e
TS
3960 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3961 * sysdeps/i386/init-first.c (init): Likewise.
3962 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3963 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3964 * sysdeps/sh/init-first.c (init): Likewise.
3965
cfa633f5
UD
39662012-04-01 Ulrich Drepper <drepper@gmail.com>
3967
3968 * po/ru.po: Update from translation team.
d1635ef8 3969 * po/vi.po: Likewise.
cfa633f5 3970
6cd0a5ea
SP
39712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
3973 * resolv/nss_dns/dns-host.c: Merge copyright years.
3974
4b43400f
LD
39752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3976
3977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3978 Optimize memcpy with prefetch if
3979 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3980 src, dst pointers have unequal 16 byte alignments.
3981
48c41d04
SP
39822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3983
3984 [BZ #13928]
3985 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3986 from a CNAME entry and return the minimum ttl for the query.
3987 (gaih_getanswer_slice): Likewise.
3988
b8dc394d
JL
39892012-03-30 Jeff Law <law@redhat.com>
3990
3991 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3992 due to long keys.
3993 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3994 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3995
2f5a5ed0
JL
3996 * resolv/nss_dns/dns-host.c: Update copyright year.
3997
1d39e359
UD
39982012-03-30 Ulrich Drepper <drepper@gmail.com>
3999
c030f70c 4000 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4001 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4002
1d39e359
UD
4003 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4004 comments for sendmmsg.
4005
40062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4007
4008 [BZ #13691]
4009 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4010 with only 1 character between 0x0041 and 0x01b0.
4011 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4012 * wcsmbs/tst-mbsnrtowcs.c: New file.
4013
20fde227
DM
40142012-03-29 David S. Miller <davem@davemloft.net>
4015
4016 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4017 small copies by hand.
4018
984a4237
JL
40192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
4021 [BZ #13761]
4022 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4023 _nss_compat_initgroups_dyn): Fall back to malloc/free
4024 for large group memberships.
4025
18c9d62b
DM
40262012-03-28 David S. Miller <davem@davemloft.net>
4027
88d85d4f
DM
4028 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4029 that branches into memcpy.
4030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4033 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4035 bits.
4036 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4037 implementation too.
4038 * sysdeps/sparc/mempcpy.S: New file.
4039
e5aa83e1
DM
4040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4041 the IFUNC routine in the libc case.
4042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4043
88570753
DM
4044 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4045 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4046 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4047 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4048 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4049 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4050 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4051 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4052
249d7567
DM
4053 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4054 loop to 256 bytes instead of 64 bytes and fix test signedness.
4055
18c9d62b
DM
4056 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4057 * sysdeps/sparc/sparc32/Makefile: rather than here...
4058 * sysdeps/sparc/sparc64/Makefile: and here.
4059
05f3d1f6
UD
40602012-03-28 Ulrich Drepper <drepper@gmail.com>
4061
4062 * malloc/mallocbug.c: Avoid warnings about unused variables.
4063
86ae07a8
JL
40642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4065
4066 [BZ #13760]
4067 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4068 in the right place. Discard and retry query if response is
4069 larger than input buffer size.
4070
41bf21a1
JM
40712012-03-28 Joseph Myers <joseph@codesourcery.com>
4072
d6270972
JM
4073 [BZ #369]
4074 [BZ #2678]
4075 [BZ #3866]
4076 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4077 x for large integer exponent.
4078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4079 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4080 sign of result as needed afterwards.
4081 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4083 result for underflowing pow the same as for overflow.
4084 (__kernel_standard_l): Handle powl overflow and underflow here
4085 rather than calling __kernel_standard.
4086 * math/libm-test.inc (pow_test): Add more tests.
4087
414fca03 4088 [BZ #3868]
41bf21a1
JM
4089 [BZ #13879]
4090 [BZ #13910]
4091 [BZ #13911]
4092 [BZ #13912]
4093 [BZ #13913]
4094 [BZ #13915]
4095 [BZ #13916]
4096 [BZ #13917]
4097 [BZ #13918]
4098 [BZ #13919]
4099 [BZ #13920]
4100 [BZ #13921]
4101 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4102 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4103 (__kernel_standard_l): New function.
4104 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4105 __kernel_standard.
4106 * math/w_acosl.c (__acosl): Likewise.
4107 * math/w_asinl.c (__asinl): Likewise.
4108 * math/w_atan2l.c (__atan2l): Likewise.
4109 * math/w_atanhl.c (__atanhl): Likewise.
4110 * math/w_coshl.c (__coshl): Likewise.
4111 * math/w_exp10l.c (__exp10l): Likewise.
4112 * math/w_exp2l.c (__exp2l): Likewise.
4113 * math/w_fmodl.c (__fmodl): Likewise.
4114 * math/w_hypotl.c (__hypotl): Likewise.
4115 * math/w_j0l.c (__j0l, __y0l): Likewise.
4116 * math/w_j1l.c (__j1l, __y1l): Likewise.
4117 * math/w_jnl.c (__jnl, __ynl): Likewise.
4118 * math/w_lgammal.c (__lgammal): Likewise.
4119 * math/w_log10l.c (__log10l): Likewise.
4120 * math/w_log2l.c (__log2l): Likewise.
4121 * math/w_logl.c (__logl): Likewise.
4122 * math/w_powl.c (__powl): Likewise.
4123 * math/w_remainderl.c (__remainderl): Likewise.
4124 * math/w_scalbl.c (sysv_scalbl): Likewise.
4125 * math/w_sinhl.c (__sinhl): Likewise.
4126 * math/w_sqrtl.c (__sqrtl): Likewise.
4127 * math/w_tgammal.c (__tgammal): Likewise.
4128 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4129 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4130 * math/libm-test.inc (acos_test): Add more tests.
4131 (acosh_test): Likewise.
4132 (asin_test): Likewise.
4133 (atanh_test): Likewise.
4134 (exp_test): Likewise.
4135 (exp10_test): Likewise.
4136 (exp2_test): Likewise.
4137 (expm1_test): Likewise.
4138 (lgamma_test): Likewise.
4139 (log_test): Likewise.
4140 (log10_test): Likewise.
4141 (log1p_test): Likewise.
4142 (log2_test): Likewise.
4143 (pow_test): Do not allow some spurious overflow exceptions.
4144 (sqrt_test): Add more tests.
4145 (tgamma_test): Likewise.
4146 (y0_test): Likewise.
4147 (y1_test): Likewise.
4148 (yn_test): Likewise.
4149
dd62fda6
AB
41502012-03-27 Anton Blanchard <anton@samba.org>
4151
4152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4153 MAP_HUGETLB.
4154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4157
1e3cdfda
AJ
41582012-03-27 David S. Miller <davem@davemloft.net>
4159
b855ab85
DM
4160 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4161
1e3cdfda
AJ
4162 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4163 have-as-vis3 check.
4164
41652012-03-27 Andreas Jaeger <aj@suse.de>
4166
4167 * sysdeps/x86_64/elf/configure.in: Moved to ...
4168 * sysdeps/x86_64/configure.in: ... here.
4169 * sysdeps/x86_64/elf/start.S: Moved to ...
4170 * sysdeps/x86_64/start.S: ... here.
4171 * sysdeps/x86_64/elf/configure: Delete.
4172
4173 * sysdeps/x86_64/configure.in: Merge contents from
4174 sysdeps/i386/configure.in (without i686 check).
4175
4176 * sysdeps/i386/elf/Versions: Merge into ...
4177 * sysdeps/i386/Versions: ... this.
4178 * sysdeps/i386/elf/Versions: Delete file.
4179 * sysdeps/i386/elf/start.S: Moved to ...
4180 * sysdeps/i386/start.S: ...here.
4181 * sysdeps/i386/elf/configure.in: Merge into...
4182 * sysdeps/i386/configure.in: ...here.
4183 * sysdeps/i386/elf/configure.in: Delete file.
4184 * sysdeps/i386/elf/configure: Delete file.
4185
4186 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4187 * debug/backtracesyms.c: ... here.
4188 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4189 * debug/backtracesymsfd.c: ... here.
4190 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4191 * sysdeps/generic/ifunc-sel.h: ... here.
4192
4193 * sysdeps/unix/i386/start.c: Delete file.
4194 * sysdeps/unix/sparc/start.c: Delete file.
4195 * sysdeps/unix/start.c: Delete file.
4196
4197 * sysdeps/sh/elf/configure.in: Moved to ...
4198 * sysdeps/sh/configure.in: ... here.
4199 * sysdeps/sh/elf/start.S: Moved to ...
4200 * sysdeps/sh/start.S: ... here.
4201 * sysdeps/sh/elf/configure: Delete file.
4202
4203 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4204 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4205 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4206 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4207 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4208 * sysdeps/powerpc/powerpc64/start.S: here.
4209 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4210 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4211 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4212 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4213 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4214
4215 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4216 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4217 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4218 * sysdeps/powerpc/powerpc32/start.S: ... here.
4219 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4220 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4221 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4222
4223 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4224 * sysdeps/powerpc/ifunc-sel.h: ... here.
4225 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4226 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4227
4228 * sysdeps/sparc/elf/configure.in: Moved to ...
4229 * sysdeps/sparc/configure.in: ... here.
4230 * sysdeps/sparc/elf/configure: Delete file.
4231 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4232 * sysdeps/sparc/sparc32/start.S: ... here.
4233 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4234 * sysdeps/sparc/sparc64/start.S: ... here.
4235 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4236 * sysdeps/sparc/sparc32/Makefile: ... this.
4237 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4238 * sysdeps/sparc/sparc64/Makefile: ... this.
4239
4240 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4241 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4242 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4243 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4244 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4245 * sysdeps/s390/s390-32/setjmp.S: ... here.
4246 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4247 * sysdeps/s390/s390-32/configure.in: ... here.
4248 * sysdeps/s390/s390-32/elf/configure: Delete file.
4249 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4250 * sysdeps/s390/s390-32/start.S: ... here.
4251
4252 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4253 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4254 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4255 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4256 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4257 * sysdeps/s390/s390-64/setjmp.S: ... here.
4258 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4259 * sysdeps/s390/s390-64/configure.in: ... here
4260 * sysdeps/s390/s390-64/elf/configure: Delete file.
4261 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4262 * sysdeps/s390/s390-64/start.S: ... here.
4263 * sysdeps/s390/s390-64/elf/configure: Delete.
4264
4265 * configure.in: Remove support for elf directories in sysdeps.
4266
4267 * configure: Regenerated.
4268 * sysdeps/i386/configure: Regenerated.
4269 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4270 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4271 * sysdeps/s390/s390-32/configure: Regenerated.
4272 * sysdeps/s390/s390-64/configure: Regenerated.
4273 * sysdeps/sh/configure: Regenerated.
4274 * sysdeps/sparc/configure: Regenerated.
4275 * sysdeps/x86_64/configure: Regenerated.
4276
a3f61311
AS
42772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4278
c876e002
AS
4279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4280
a3f61311
AS
4281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4282 denormal result into account.
4283
ac4c54f0
RM
42842012-03-25 Roland McGrath <roland@hack.frob.com>
4285
4286 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4287 Reported by Allan McRae <allan@archlinux.org>.
4288
6a9b9c02
JL
42892012-03-23 Jeff Law <law@redhat.com>
4290
4291 * nss/getnssent.c (__nss_getent): Fix typo.
4292
4c42a0c1
DM
42932012-03-23 David S. Miller <davem@davemloft.net>
4294
4295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4296
1532c7ac
L
42972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4298
4299 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4300 to pad to uint64_t for each field.
4301 (dl_tls_index): Replace unsigned long with uint64_t.
4302
3ff42526
PP
43032012-03-23 Daniel Jacobowitz <dmj@google.com>
4304 Paul Pluzhnikov <ppluzhnikov@google.com>
4305
4306 [BZ #6528]
4307 * grp/Makefile (otherlibs): Don't set it.
4308 * inet/Makefile (otherlibs): Likewise.
4309 * login/Makefile (otherlibs): Likewise.
4310 * nscd/Makefile (otherlibs): Likewise.
4311 * posix/Makefile (otherlibs): Likewise.
4312 * pwd/Makefile (otherlibs): Likewise.
4313 * rt/Makefile (otherlibs): Likewise.
4314 * sunrpc/Makefile (otherlibs): Likewise.
4315 * nss/Makefile (otherlibs): Likewise.
4316 Add libnss_files to routines and static-only-routines.
4317 ($(objpfx)getent): Remove rule.
4318 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4319 static-only-routines.
4320
7c69cd14
JM
43212012-03-22 Joseph Myers <joseph@codesourcery.com>
4322
4323 [BZ #13892]
4324 * math/s_cexp.c: Include <float.h>.
4325 (__cexp): Handle exp result overflowing not necessarily
4326 overflowing both real and imaginary parts of result.
4327 * math/s_cexpf.c: Likewise.
4328 * math/s_cexpl.c: Likewise.
4329 * math/libm-test.inc (cexp_test): Add more tests.
4330 * sysdeps/i386/fpu/libm-test-ulps: Update.
4331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4332
81b035fe
L
43332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4334
4335 * include/link.h (ELFW): New macro.
4336 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4337 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4338
1da7940c
L
43392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4342 with uint64_t.
4343
b749dbb9
L
43442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4347 declaration.
4348 (struct La_x32_retval): Likewise.
4349
2ff87f3f
L
43502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 * sysdeps/x86_64/preconfigure.in: New file.
4353 * sysdeps/x86_64/preconfigure: New generated file.
4354
c0df8e69
JM
43552012-03-22 Joseph Myers <joseph@codesourcery.com>
4356
48e44791
JM
4357 [BZ #13824]
4358 * math/e_exp2l.c: Include <float.h>.
4359 (__ieee754_exp2l): Handle overflow and underflow cases
4360 separately. Only pass fractional part of argument to
4361 __ieee754_expl.
4362 * math/libm-test.inc (exp2_test): Add more tests.
4363
c0df8e69
JM
4364 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4365 negating x to take absolute value.
4366 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4367 Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4370 Likewise.
4371 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4372 computing low part if x was negated.
4373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4374
c8e43ba7
L
43752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4378 la_x32_gnu_pltexit.
4379 (pltexit): Cast int_retval to ptrdiff_t.
4380 * elf/tst-auditmod3b.c: Likewise.
4381 * elf/tst-auditmod4b.c: Likewise.
4382 * elf/tst-auditmod5b.c: Likewise.
4383 * elf/tst-auditmod6b.c: Likewise.
4384 * elf/tst-auditmod6c.c: Likewise.
4385 * elf/tst-auditmod7b.c: Likewise.
4386
4387 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4388 and x32_gnu_pltexit.
4389
4390 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4391 __ELF_NATIVE_CLASS.
4392 (La_x32_regs): New macro.
4393 (La_x32_retval): Likewise.
4394 (la_x32_gnu_pltenter): New function prototype.
4395 (la_x32_gnu_pltexit): Likewise.
4396
7998fa78
AS
43972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4398
dcb33988
AS
4399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4400 exponent.
4401
233fc563
AS
4402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4403
7998fa78
AS
4404 * configure.in (libc_cv_cc_nofma): Check for option to disable
4405 generation of FMA instructions.
4406 * configure: Regenerate.
4407 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4408 * sysdeps/ieee754/dbl-64/Makefile: New file.
4409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4410 Remove brandred-fma4.
4411 (CFLAGS-brandred-fma4.c): Remove.
4412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4414 define.
4415 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4416 define.
4417
8e95c99a
L
44182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4421 LLONG_MAX != LONG_MAX.
4422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4423 (_fitoa_word): Likewise.
4424 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4425 LLONG_MAX != LONG_MAX.
4426 * stdio-common/_itowa.h: Include <_itoa.h>.
4427 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4428 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4429 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4430 only if not defined.
4431 (_ITOA_WORD_TYPE): Likewise.
4432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4433 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4434
6f4db457
DM
44352012-03-21 David S. Miller <davem@davemloft.net>
4436
4437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4438
7785fe5a
L
44392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4442 of x86_64 when setting libc_cv_slibdir, libdir and
4443 libc_cv_localedir.
4444 * sysdeps/unix/sysv/linux/configure: Regenerated.
4445
4535cd55
JM
44462012-03-21 Joseph Myers <joseph@codesourcery.com>
4447
4448 * manual/lang.texi (Old Varargs): Remove section.
4449 (How Variadic): Update menu.
4450 (va_start): Do not mention varargs.h.
4451
17228132
TS
44522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4453 Joseph Myers <joseph@codesourcery.com>
4454
4455 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4456 link test.
4457 * configure: Regenerated.
4458
8149f976
TS
44592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4460
05f3d1f6
UD
4461 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4462 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4463 conformtest.pl
8149f976 4464
1a4ac776
JM
44652012-03-21 Joseph Myers <joseph@codesourcery.com>
4466
be22ce65
JM
4467 * NOTES: Remove.
4468 * Makefile (files-for-dist): Remove NOTES.
4469 (NOTES): Remove rule.
4470 * README: Don't refer to NOTES.
4471 * manual/creature.texi: Don't include macros.texi.
4472 * manual/intro.texi (creature.texi): Remove comment referring to
4473 NOTES.
4474
40b601fb
JM
4475 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4476 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4477 * configure: Regenerated.
4478 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4479 LIBC_TRY_CC_OPTION.
4480 (libc_cv_as_i686): Likewise.
4481 (libc_cv_cc_avx): Likewise.
4482 (libc_cv_cc_sse2avx): Likewise.
4483 (libc_cv_cc_fma4): Likewise.
4484 (libc_cv_cc_novzeroupper): Likewise.
4485 * sysdeps/i386/configure: Regenerated.
4486
1a4ac776
JM
4487 [BZ #13883]
4488 * sysdeps/i386/fpu/s_cexp.S: Remove.
4489 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4490 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4491 * math/libm-test.inc (cexp_test): Add more tests.
4492 * sysdeps/i386/fpu/libm-test-ulps: Update.
4493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4494
a458e7fe
AM
44952012-03-21 Allan McRae <allan@archlinux.org>
4496
4497 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4498
0cb7efc5
JM
44992012-03-21 Joseph Myers <joseph@codesourcery.com>
4500
4501 [BZ #13871]
4502 * math/w_exp2.c: Do not include <float.h>.
4503 (o_threshold, u_threshold): Remove.
4504 (__exp2): Calculate result before checking finiteness and calling
4505 __kernel_standard.
4506 * math/w_exp2f.c: Likewise.
4507 * math/w_exp2l.c: Likewise.
4508 * math/libm-test.inc (exp2_test): Require overflow exception for
4509 1e6 input.
2460d3aa
JM
4510
4511 [BZ #3866]
4512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4513 range of signed 64-bit integers before using fistpll. Remove
4514 checks for whether integers fit in mantissa bits.
4515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4516 the range of signed 32-bit integers before using fistpl. Remove
4517 checks for whether integers fit in mantissa bits.
4518 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4519 (__ieee754_powl): Test for y outside the range of signed 64-bit
4520 integers before using fistpll. Reduce 64-bit values to 63-bit
4521 ones as needed.
4522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4523 divide-by-zero is raised for zero to large negative powers.
4524 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4525 (__ieee754_powl): Test for y outside the range of signed 64-bit
4526 integers before using fistpll. Reduce 64-bit values to 63-bit
4527 ones as needed.
4528 * math/libm-test.inc (pow_test): Add more tests.
4529
eb96ffb0
L
45302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4531
4532 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4533 <stdio-common/_itoa.h>.
4534 * debug/segfault.c: Likewise.
4535 * elf/dl-cache.c: Likewise.
4536 * elf/dl-minimal.c: Likewise.
4537 * elf/dl-misc.c: Likewise.
4538 * elf/dl-sysdep.c: Likewise.
4539 * elf/dl-version.c: Likewise.
4540 * elf/rtld.c: Likewise.
4541 * hurd/hurdsock.c: Likewise.
4542 * hurd/lookup-retry.c: Likewise.
4543 * malloc/malloc.c: Likewise.
4544 * malloc/mtrace.c: Likewise.
4545 * nscd/nscd_getgr_r.c: Likewise.
4546 * nscd/nscd_getpw_r.c: Likewise.
4547 * nscd/nscd_getserv_r.c: Likewise.
4548 * posix/getopt_init.c: Likewise.
4549 * posix/wordexp.c: Likewise.
4550 * stdio-common/_itoa.c: Likewise.
4551 * stdio-common/printf_fphex.c: Likewise.
4552 * stdio-common/vfprintf.c: Likewise.
4553 * string/_strerror.c: Likewise.
4554 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4555 * sysdeps/i386/i686/hp-timing.h: Likewise.
4556 * sysdeps/mach/_strerror.c: Likewise.
4557 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4558 * sysdeps/mach/hurd/sethostid.c: Likewise.
4559 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4560 * sysdeps/mach/xpg-strerror.c: Likewise.
4561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4563 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4564 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4566 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4568 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4569 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4570 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4571 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4572 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4573 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4574 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4577 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4578 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4579 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4580 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4581 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4582
4583 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4584
4585 * stdio-common/_itoa.h: Moved to ...
4586 * sysdeps/generic/_itoa.h: Here.
4587
4588 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4589
4590 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4591 instead of "_itoa.h" and "_itowa.h".
4592 * stdio-common/vfprintf.: Likewise.
4593
d1af992d
L
45942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4597 <bits/wordsize.h>.
4598 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4599 (__signbit): Likwise.
4600 (llrintf): Likwise.
4601 (llrint): Likwise.
4602
114883e0
L
46032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4604
4605 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4606 __WORDSIZE != 64.
4607
c135cc1b
JM
46082012-03-20 Joseph Myers <joseph@codesourcery.com>
4609
4610 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4611 OVERFLOW_EXCEPTION_OK.
4612 * math/libm-test.inc ("Philosophy"): Update comment about
4613 exception testing.
4614 (OVERFLOW_EXCEPTION): Define.
4615 (OVERFLOW_EXCEPTION_OK): Likewise.
4616 (INVALID_EXCEPTION_OK): Renumber.
4617 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4618 (IGNORE_ZERO_INF_SIGN): Likewise.
4619 (test_exceptions): Handle FE_OVERFLOW.
4620 (exp10_test): Expect overflow exceptions.
4621 (exp2_test): Likewise.
4622 (expm1_test): Likewise.
4623 (nextafter_test): Likewise.
4624 (pow_test): Likewise.
4625 (scalbn_test): Likewise.
4626 (scalbln_test): Likewise.
4627
95443d88
L
46282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4629
4630 * sysdeps/x86_64/bits/atomic.h
4631 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4632 64bit integer.
4633 (atomic_exchange_acq): Likewise.
4634 (__arch_exchange_and_add_body): Likewise.
4635 (__arch_add_body): Likewise.
4636 (atomic_add_negative): Likewise.
4637 (atomic_add_zero): Likewise.
4638
490df6c4
L
46392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4640
c2722551 4641 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4642 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4643
5e52b189
L
46442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4645
4646 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4647 Check __x86_64__ instead of __WORDSIZE.
4648
a9879d4c
L
46492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4650
4651 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4652
5df98260
DM
46532012-03-19 David S. Miller <davem@davemloft.net>
4654
e1497744
DM
4655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4656
5df98260
DM
4657 * sysdeps/sparc/fpu/fenv_private.h: New file.
4658 * sysdeps/sparc/fpu/math_private.h: Use it.
4659 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4660 Remove.
4661 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4662 (libc_feholdexcept_setroundl): Remove.
4663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4664 Remove.
4665 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4666 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4667
b4c35121
L
46682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4669
4670 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4671 int64_t instead of long int.
4672 (INSERT_WORDS64): Likwise.
4673
56965fd7
L
46742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4675
4676 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4677 _Unwind_GetCFA return to _Unwind_Ptr first.
4678
83d1aec8
JM
46792012-03-19 Joseph Myers <joseph@codesourcery.com>
4680
1897ad44
JM
4681 [BZ #13629]
4682 * math/s_clog.c: Include <float.h>.
4683 (__clog): Scale large or subnormal inputs.
4684 * math/s_clogf.c: Likewise.
4685 * math/s_clogl.c: Likewise.
4686 * math/s_clog10.c: Include <float.h>.
4687 (M_LOG10_2): Define.
4688 (__clog10): Scale large or subnormal inputs.
4689 * math/s_clog10f.c: Likewise.
4690 * math/s_clog10l.c: Likewise.
4691 * math/libm-test.inc (clog_test): Add more tests.
4692 (clog10_test): Likewise.
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695
7726d6a9
JM
4696 [BZ #11451]
4697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4698 x and y.
4699 * math/libm-test.inc (atan2_test): Add another test.
4700
83d1aec8
JM
4701 * Makerules (common-objdir-compile): Remove.
4702 * sysdeps/unix/Makefile (config-generated): Do not add
4703 $(unix-generated) to variable.
4704 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4705 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4706 Remove rule.
4707 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4708 Likewise.
4709 [generic bits/local_lim.h] (before-compile): Do not append to
4710 variable.
4711 [generic bits/local_lim.h] (common-generated): Likewise.
4712 [generic sys/param.h] (before-compile): Do not append to variable.
4713 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4714 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4715 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4717 include.
4718 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4719 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4720 [generic sys/param.h] ($(addprefix
4721 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4722 [generic sys/param.h] (common-generated): Do not append to
4723 variable.
4724 [generic sys/param.h] (sysdep_headers): Likewise.
4725 [generic bits/errno.h] (before-compile): Do not append to
4726 variable.
4727 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4728 rule.
4729 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4730 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4731 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4732 [generic bits/errno.h] (common-generated): Do not append to
4733 variable.
4734 [generic bits/ioctls.h] (before-compile): Do not append to
4735 variable.
4736 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4737 rule.
4738 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4739 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4740 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4741 rule.
4742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4743 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4744 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4745 [generic bits/ioctls.h] (common-generated): Do not append to
4746 variable.
4747 [generic sys/syscall.h] (syscall.h): Remove variable.
4748 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4749 rule.
4750 [generic sys/syscall.h] (before-compile): Do not append to
4751 variable.
4752 [generic sys/syscall.h] (common-generated): Likewise.
4753 * sysdeps/unix/errnos-tmpl.c: Remove file.
4754 * sysdeps/unix/errnos.awk: Likewise.
4755 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4756 * sysdeps/unix/ioctls.awk: Likewise.
4757 * sysdeps/unix/mk-local_lim.c: Likewise.
4758 * sysdeps/unix/snarf-ioctls: Likewise.
4759
4851a949
RH
47602012-03-19 Richard Henderson <rth@twiddle.net>
4761
bd37f2ee
RH
4762 * sysdeps/i386/fpu/fenv_private.h: New file.
4763 * sysdeps/i386/fpu/math_private.h: Use it.
4764 (math_opt_barrier, math_force_eval): Remove.
4765 (libc_feholdexcept_setround_53bit): Remove.
4766 (libc_feupdateenv_53bit): Remove.
4767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4768 (math_opt_barrier, math_force_eval): Remove.
4769 (libc_feholdexcept): Remove.
4770 (libc_feholdexcept_setround): Remove.
4771 (libc_fetestexcept, libc_fesetenv): Remove.
4772 (libc_feupdateenv_test): Remove.
4773 (libc_feupdateenv, libc_feholdsetround): Remove.
4774 (libc_feresetround): Remove.
4775
d0adc922
RH
4776 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4777 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4778
0fe0f1f8
RH
4779 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4780 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4781 (libc_feupdateenv_testl): New.
4782 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4783 (libc_feupdateenv_testf): New.
4784 (libc_feupdateenv): Use libc_feupdateenv_test.
4785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4787
eb92c487
RH
4788 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4789 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4790 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4791 (libc_feresetround_noex): New.
4792 (libc_feresetround_noexf): New.
4793 (libc_feresetround_noexl): New.
4794 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4795 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4796 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4798 SET_RESTORE_ROUND.
4799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4801 (__cos): Likewise.
4802 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4804 SET_RESTORE_ROUND_NOEX.
4805 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4806 SET_RESTORE_ROUND_NOEXF.
4807 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4808 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4809 (libc_feholdsetroundf): New.
4810 (libc_feresetround, libc_feresetroundf): New.
4811
7d2e8012
RH
4812 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4813 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4814 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4815
b4dabbb4
RH
4816 * sysdeps/generic/math_private.h: Include <fenv.h>.
4817 (default_libc_feholdexcept): New.
4818 (default_libc_feholdexcept_setround): New.
4819 (default_libc_fesetenv, default_libc_feupdateenv): New.
4820 (libc_feholdexcept): Only define if undefined.
4821 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4823 (libc_feholdexcept_setroundl): Likewise.
4824 (libc_feholdexcept_setround_53bit): Likewise.
4825 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4828 (libc_feupdateenv_53bit): Likewise.
4829 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4830 (libc_feholdexcept): Convert from macro to inline function.
4831 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4832 (libc_fesetenv, libc_feupdateenv): Likewise.
4833
4851a949
RH
4834 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4835 not previously defined.
4836 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4837 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4838 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4839 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4840 * sysdeps/ieee754/flt-32/math_private.h: New file.
4841 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4842 math_private.h below SET_FLOAT_WORD.
4843 (__isnan, __isinf_ns, __finite): Remove.
4844 (__isnanf, __isinf_nsf, __finitef): Remove.
4845
e79d442e
AS
48462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4847
4848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4849
90b80344
DM
48502012-03-17 David S. Miller <davem@davemloft.net>
4851
4852 [BZ #6471]
4853 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4854 for 2.16.
4855
edc21804
DM
48562012-03-16 David S. Miller <davem@davemloft.net>
4857
77e927af
DM
4858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4859 warnings.
4860
374976dd
DM
4861 [BZ #6471]
4862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4863 properly.
4864 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4865 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4866 sysdep_routines when subdir is sysvipc.
4867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4868 __getshmlba helper.
4869
edc21804
DM
4870 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4871
473c3ef3
L
48722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4873
4874 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4875 [__LP64__].
4876
eb0f39b6
L
48772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4878
4879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4880 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4881 (__lround): Renamed to ...
4882 (__llround): This. Replace long int with long long int.
4883 Define lround functions as aliases of llround functions.
4884 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4885
6b6cd74b
L
48862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4887
4888 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4889 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4890 adresses to uintptr_t. Replace "long int" and "unsigned long
4891 int" with "greg_t" on va_arg.
4892
f1a77b01
L
48932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4894
4895 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4896 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4897
4898 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4899 Move e_machine check before EI_CLASS check. Handle x32
4900 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4901 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4902 SKIP_EM_IA_64 and include
4903 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4904
4905 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4906 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4907 (add_system_dir): New macro.
4908
4909 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4910 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4911
11b90b9f
JM
49122012-03-16 Joseph Myers <joseph@codesourcery.com>
4913
c36e1d23
JM
4914 [BZ #2551]
4915 [BZ #2552]
4916 [BZ #2553]
4917 [BZ #2554]
4918 [BZ #2562]
4919 [BZ #2563]
4920 [BZ #2565]
4921 [BZ #2566]
4922 [BZ #2576]
4923 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4924 (y0): Likewise.
4925 * math/w_j0f.c (j0f): Likewise.
4926 (y0f): Likewise.
4927 * math/w_j0l.c (__j0l): Likewise.
4928 (__y0l): Likewise.
4929 * math/w_j1.c (j1): Likewise.
4930 (y1): Likewise.
4931 * math/w_j1f.c (j1f): Likewise.
4932 (y1f): Likewise.
4933 * math/w_j1l.c (__j1l): Likewise.
4934 (__y1l): Likewise.
4935 * math/w_jn.c (jn): Likewise.
4936 (yn): Likewise.
4937 * math/w_jnf.c (jnf): Likewise.
4938 (ynf): Likewise.
4939 * math/w_jnl.c (__jnl): Likewise.
4940 (__ynl): Likewise.
4941 * math/libm-test.inc (j0_test): Add more tests.
4942 (j1_test): Likewise.
4943 (jn_test): Likewise. Add trailing semicolon to existing test.
4944 (y0_test): Likewise.
4945 (y1_test): Likewise.
4946 * sysdeps/i386/fpu/libm-test-ulps: Update.
4947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948
11b90b9f
JM
4949 [BZ #13851]
4950 [BZ #13854]
4951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4952 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4953 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4955 (__tanl): Set errno for infinite argument.
4956 * sysdeps/i386/fpu/mptan.c: Remove.
4957 * sysdeps/i386/fpu/s_tan.S: Likewise.
4958 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4959 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4960 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4961 * math/libm-test.inc (tan_test): Add more tests and enable more
4962 tests for double and long double.
4963 * sysdeps/i386/fpu/libm-test-ulps: Update.
4964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4965
6a1bd2a1
JK
49662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4967
4968 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4969 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4970
10a803e0
RM
49712012-03-16 Roland McGrath <roland@hack.frob.com>
4972
4973 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4974 * configure.in: Use it for both main tree and add-ons.
4975 * configure: Regenerated.
4976
f196c7f7
L
49772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4978
4979 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4980
8848d99d
JM
49812012-03-16 Joseph Myers <joseph@codesourcery.com>
4982
96cbe7f4
JM
4983 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4984 in comment.
4985
8848d99d
JM
4986 [BZ #13851]
4987 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4988 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4990 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4992 infinite argument.
4993 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4995 != 0 for prec == 2.
4996 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4997 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4998 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4999 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5000 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5001 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5002 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5003 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5004 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5005 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5006 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5007 * math/libm-test.inc (cos_test): Add more tests and enable more
5008 tests for long double.
5009 (sin_test): Likewise.
5010 (sincos_test): Likewise.
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013
dd7f4703
DM
50142012-03-16 David S. Miller <davem@davemloft.net>
5015
5016 * sysdeps/sparc/fpu/math_private.h: New file.
5017
006f1daa
DM
50182012-03-15 David S. Miller <davem@davemloft.net>
5019
c0c83bc8
DM
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5021 file.
e6a62e18 5022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5024 file.
e6a62e18
DM
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5031 sysdep routines.
5032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5033
88cb87d9
DM
5034 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5035 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5036
006f1daa 5037 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5039 sparc-ifunc.h
006f1daa 5040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5042 Likewise.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5044 Likewise.
006f1daa
DM
5045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5049 Likewise.
006f1daa
DM
5050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5055 Likewise.
5056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5057 Likewise.
006f1daa
DM
5058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5082
11e0098e
AS
50832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5084
5085 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5086 scaling.
5087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5088
e85b09d0
AJ
50892012-03-15 Andreas Jaeger <aj@suse.de>
5090
5091 [BZ #13852]
5092 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5093 ieee754/flt-32 implementation for sin, cos and sincos.
5094 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5095 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5096 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5097 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5098 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5099 ieee754/flt-32 implementation for tan.
5100
5101 * math/libm-test.inc (cos_test): Enable some large input tests for
5102 float as well
5103 (sin_test): Likewise.
5104 (sincos_test): Likewise.
5105 (tan_test): Add tests for large input.
5106
5107 * sysdeps/i386/fpu/libm-test-ulps: Update.
5108
81c64153
AJ
51092012-03-15 Andreas Jaeger <aj@suse.de>
5110
5111 [BZ #13658]
5112 * math/libm-test.inc (cos_test): Add more test cases.
5113 (sin_test): Likewise.
5114 (sincos_test): Likewise.
5115
7bbfa5c6
AJ
51162012-03-15 Andreas Jaeger <aj@suse.de>
5117
5118 [BZ #13837]
5119 * math/libm-test.inc (cos_test): Add a test case for large input
5120 value.
5121 (sin_test): Likewise.
5122 (sincos_test): Likewise.
5123
51242012-03-15 Andreas Jaeger <aj@suse.de>,
5125 Joseph Myers <joseph@codesourcery.com>
5126
5127 [BZ #13658]
0671f479 5128 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5129 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5130 * sysdeps/i386/fpu/branred.c: Likewise.
5131 * sysdeps/i386/fpu/dosincos.c: Likewise.
5132 * sysdeps/i386/fpu/mpa.c: Likewise.
5133 * sysdeps/i386/fpu/s_cos.S: Likewise.
5134 * sysdeps/i386/fpu/s_sin.S: Likewise.
5135 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5136 * sysdeps/i386/fpu/sincos32.c: Likewise.
5137
5138 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5139 Define.
5140 (libc_feupdateenv_53bit): Define.
5141 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5142 Define.
5143 (libc_feupdateenv_53bit): Define.
5144
5145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5146 53 bit (without extend i386 double precision).
5147
5148 * math/libm-test.inc (sincos_test): Add tests for large input.
5149 (sin): Likewise.
5150 (cos): Likewise.
5151
5152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5153
9cad04ea
AS
51542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5155
5156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5157
f7062b9a
DM
51582012-03-15 David S. Miller <davem@davemloft.net>
5159
5160 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5161 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5162 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5163 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5176 file.
f7062b9a 5177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5179 file.
f7062b9a 5180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5182 file.
f7062b9a 5183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5185 file.
f7062b9a
DM
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5188 fmin/fmax sysdep routines.
5189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5190
7bd951ff
DM
51912012-03-14 David S. Miller <davem@davemloft.net>
5192
559398ab
DM
5193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5222 routines.
5223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5224 file.
559398ab 5225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5227 file.
559398ab 5228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5230 file.
559398ab 5231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5233 file.
559398ab 5234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5236 file.
559398ab 5237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5239 file.
5240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5241 file.
5242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5243 file.
5244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5245 file.
5246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5247 New file.
5248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5249 file.
5250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5251 file.
559398ab 5252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5254 file.
559398ab 5255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5257 file.
559398ab 5258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5260 file.
559398ab 5261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5263 VIS3 routines.
559398ab
DM
5264
5265 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5266 New file.
5267
5a1c1e32
DM
5268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5269
eae47a36
DM
5270 * sysdeps/sparc/configure.in: New file.
5271 * sysdeps/sparc/configure: Generate.
5272 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5273 * configure: Regenerate.
5274 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5275 * config.make.in (have-as-vis3): New.
5276 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5277 available use -Av9d instead of -Av9a.
5278 * sysdeps/sparc/sparc64/Makefile: Likewise.
5279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5281 New file.
5282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5283 file.
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5285 New file.
5286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5287 file.
eae47a36
DM
5288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5293
c0c83bc8
DM
5294 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5295 fzeros/fnegs to load 0x80000000 into a float register instead of
5296 using the stack.
7bd951ff
DM
5297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5298
bd951ccb
JM
52992012-03-14 Joseph Myers <joseph@codesourcery.com>
5300
5301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5302 bits/syscall.h.
5303 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5304 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5305 ($(inst_includedir)/bits/syscall.h): Remove rule.
5306 ($(objpfx)bits/syscall.d): Include instead of
5307 $(objpfx)syscall-list.d.
5308 (generated): Change syscall-list.h and syscall-list.d to
5309 bits/syscall.h and bits/syscall.d.
5310
bb4e6db2
RM
53112012-03-14 Roland McGrath <roland@hack.frob.com>
5312
5313 [BZ #13846]
5314 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5315
aa4a2ae1
JM
53162012-03-14 Joseph Myers <joseph@codesourcery.com>
5317
e456826d
JM
5318 [BZ #13841]
5319 * math/s_csqrt.c: Include <float.h>.
5320 (__csqrt): Scale large or subnormal inputs.
5321 * math/s_csqrtf.c: Likewise.
5322 * math/s_csqrtl.c: Likewise.
5323 * math/libm-test.inc (csqrt_test): Add more tests.
5324 * sysdeps/i386/fpu/libm-test-ulps: Update.
5325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5326
aa4a2ae1
JM
5327 [BZ #13840]
5328 * math/libm-test.inc (hypot_test): Add more tests.
5329
7c10fd35
DM
53302012-03-13 David S. Miller <davem@davemloft.net>
5331
5332 [BZ #13840]
5333 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5334 double-precision for the calculation instead of scaling.
5335
f453b98b
JM
53362012-03-13 Joseph Myers <joseph@codesourcery.com>
5337
5338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5339 manipulate bits before adding and subtracting TWO52[sx].
5340 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5342 Likewise.
5343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5344
09a3453f
DM
53452012-03-13 David S. Miller <davem@davemloft.net>
5346
8e59da90
DM
5347 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5348 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5350 rtld-global-offsets.h
5351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5352
2a8ab7f2
DM
5353 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5354 large parameters.
5355
10f62770
DM
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5357
5f0bdb18
DM
5358 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5359 'err' in the ifdef scope in which it is actually used.
5360
09a3453f
DM
5361 * nss/nss_db/db-init.c: Include string.h
5362
b4b2eb5e
DM
53632012-03-12 David S. Miller <davem@davemloft.net>
5364
98bb2f1c
DM
5365 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5366 masking out of the most significant byte of random value used.
5367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5368 Fix coding style in previous change.
5369
b4b2eb5e
DM
5370 * sysdeps/unix/sysv/linux/kernel-features.h
5371 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5372 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5373 expression.
5374 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5375 later.
5376
6e226b09
DM
53772012-03-11 David S. Miller <davem@davemloft.net>
5378
a1bcbd40
DM
5379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5380 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5382 for 'resultvar' otherwise things get truncated on 64-bit.
5383
cb9d6174
DM
5384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5385 Fix masking out of the most significant byte of random value used.
5386
6e226b09
DM
5387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5388
058c132d
AS
53892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5390
5391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5392
2d2cd515
DM
53932012-03-09 David S. Miller <davem@davemloft.net>
5394
5395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5396 variables with appropriate CPP guards.
5397 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5398 frame pointer, not the stack pointer. Correct layout comments. Fix test
5399 on resulting framesize and the management of the outregs buffer for pltexit.
5400 Preserve floating point return values across _dl_call_pltexit call.
5401 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5402 framesize and the management of the outregs buffer for pltexit.
5403 Preserve floating point return values across _dl_call_pltexit
5404 call.
5405 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5406 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5407 (print_exit): Fix format string for return register value.
5408
9a07f9d0
JM
54092012-03-10 Joseph Myers <joseph@codesourcery.com>
5410
5411 * sunrpc/Makefile (others): Add rpcgen.
5412 ($(objpfx)rpcgen): Remove special build rule and dependency on
5413 libc.
5414 * sunrpc/rpcgen.c: New file.
5415
547b5e30
PE
54162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5417
c524201a
PE
5418 [BZ #13673]
5419 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5420 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5421 * sysdeps/i386/crti.S: Likewise.
5422 * sysdeps/i386/crtn.S: Likewise.
5423 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5424 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5425 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5426 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5427 * sysdeps/sh/crti.S: Likewise.
5428 * sysdeps/sh/crtn.S: Likewise.
5429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5430
7b6235f2
PE
5431 [BZ #13673]
5432 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5433 with URL.
5434 * locale/programs/locfile-kw.gperf: Likewise.
5435 * locale/programs/charmap-kw.h: Regenerated.
5436 * locale/programs/locfile-kw.h: Likewise.
5437
547b5e30
PE
5438 [BZ #13673]
5439 * intl/plural.y: Replace FSF snail mail address with URL.
5440 * intl/plural.c: Regenerated.
5441
5f0a5dae
RH
54422012-03-09 Richard Henderson <rth@twiddle.net>
5443
5444 * include/math_private.h: Remove file.
5445 * math/math_private.h: Move file ...
5446 * sysdeps/generic/math_private.h: ... here.
5447
b8c03620
RH
5448 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5449 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5450 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5451
4e234f5d 5452 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5453 and <math_private.h>.
5454 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5455 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5456 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5457 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5458 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5469 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5542 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5543 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5544 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5545 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5548 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5549 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5550 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5554 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5555 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5556 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5557 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5558 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5559 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5560 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5561 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5567 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5568 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5570 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5571 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5572 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5573 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5576 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5577 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5581 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5583 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5584 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5585 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5587 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5588 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5589 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5592 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5595 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5596 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5597 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5598 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5599 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5600 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5601 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5602 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5603 * sysdeps/ieee754/k_standard.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5694 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5764 * sysdeps/ieee754/s_lib_version.c: Likewise.
5765 * sysdeps/ieee754/s_matherr.c: Likewise.
5766 * sysdeps/ieee754/s_signgam.c: Likewise.
5767 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5769 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5770 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5771 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5772 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5773 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5774 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5775 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5776 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5778 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5779 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5780 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5781 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5788
1991fa03
JM
57892012-03-09 Joseph Myers <joseph@codesourcery.com>
5790
5791 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5792 * sunrpc/rpc_main.c: Likewise.
5793 * sunrpc/rpc_svcout.c: Likewise.
5794
60d6f5a6
DM
57952012-03-09 David S. Miller <davem@davemloft.net>
5796
5797 * include/math_private.h: New file.
5798
4962050e
JM
57992012-03-09 Joseph Myers <joseph@codesourcery.com>
5800
02a6f887
JM
5801 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5802 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5803 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5804 from <bits/socket_type.h>.
5805 (enum __socket_type): Don't define here.
5806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5808 bits/socket_type.h.
5809
c6e013c1
JM
5810 [BZ #13566]
5811 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5812 checking __USE_GNU.
5813
4962050e
JM
5814 * Makerules ($(inst_includedir)/%.h): New rule.
5815 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5816 (install-others): Remove variable setting.
5817 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5818
38842f45
RH
58192012-03-08 Richard Henderson <rth@twiddle.net>
5820
67bb6da6
RH
5821 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5822 from macro to inline function; merge with the
5823 !__LIBC_INTERNAL_MATH_INLINES version.
5824 (__ieee754_sqrtf): Likewise.
5825
15194b4b
RH
5826 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5827 to inline function.
5828 (__rintf, __floor, __floorf): Likewise.
5829
64e21ede
RH
5830 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5831 macro to inline function.
5832 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5833
38842f45
RH
5834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5835 not <math/math_private.h>.
5836
c64bf5fe
DM
58372012-03-08 David S. Miller <davem@davemloft.net>
5838
5839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5840 copyright year.
5841 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5842
82d86f28
TS
58432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5844
5845 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5846 normalization.
5847 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5848 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5849
aea5d727
UD
58502012-03-08 Ulrich Drepper <drepper@gmail.com>
5851
5852 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5853 be defined individually, they must be defined as a block. Define
5854 S for printing a string instead of hidint the different by using a
5855 macro for adding the 'l'.
5856 * stdio-common/tst-fphex-wide.c: Adjust.
5857
70bca0a3
MP
58582012-03-07 Marek Polacek <polacek@redhat.com>
5859
5860 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5861
65b81130
MP
58622012-03-08 Marek Polacek <polacek@redhat.com>
5863
5864 [BZ #13806]
5865 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5866 * stdio-common/tst-fphex.c: Define a few macros to make the
5867 test reusable. Use them.
5868 * stdio-common/tst-fphex-wide.c: New file.
5869
07037eeb
JM
58702012-03-08 Joseph Myers <joseph@codesourcery.com>
5871
a7a93d50
JM
5872 [BZ #6911]
5873 * manual/macros.texi (gnusystems): New macro.
5874 (nongnusystems): Likewise.
5875 (gnulinuxhurdsystems): Likewise.
5876 (gnuhurdsystems): Likewise..
5877 (gnulinuxsystems): Likewise.
5878 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5879 variants of the GNU system, not "GNU system".
5880 * manual/conf.texi: Likewise.
5881 * manual/errno.texi: Likewise. Update example of errno macro
5882 expansion.
5883 * manual/filesys.texi: Likewise.
5884 (getumask): Document as specific to GNU/Hurd.
5885 * manual/install.texi: Likewise. Reword some references to
5886 GNU/Linux.
5887 * manual/intro.texi: Likewise.
5888 * manual/io.texi: Likewise.
5889 (File Name Portability): Detail which constraints are inapplicable
5890 to all GNU systems and which are only inapplicable to GNU/Hurd.
5891 * manual/job.texi: Likewise.
5892 * manual/llio.texi: Likewise.
5893 (O_NOCTTY): Document as present on GNU/Linux.
5894 * manual/maint.texi: Likewise.
5895 * manual/memory.texi: Likewise.
5896 * manual/pattern.texi: Likewise.
5897 * manual/pipe.texi: Likewise.
5898 * manual/process.texi: Likewise.
5899 * manual/resource.texi: Likewise.
5900 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5901 child on GNU/Hurd.
5902 * manual/setjmp.texi: Likewise.
5903 * manual/signal.texi: Likewise.
5904 * manual/startup.texi: Likewise.
5905 * manual/stdio.texi: Likewise.
5906 * manual/terminal.texi: Likewise.
5907 (ONLCR): Document as POSIX.
5908 (OXTABS): Document availability on GNU/Linux as XTABS.
5909 (ONOEOT): Document availability separately from other bits.
5910 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5911 * manual/time.texi: Likewise.
5912 * manual/users.texi: Likewise.
5913 * INSTALL: Regenerated.
5914 * sysdeps/gnu/errlist.c: Regenerated.
5915
07037eeb
JM
5916 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5917 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5918 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5919 puts.
5920 * configure: Regenerated.
5921
d1d3431a
JM
59222012-03-07 Joseph Myers <joseph@codesourcery.com>
5923
af6a1e37
JM
5924 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5925 default includes instead of AC_HEADER_CHECK.
5926 * sysdeps/i386/configure: Regenerated.
5927
d1d3431a
JM
5928 [BZ #10716]
5929 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5930 * math/s_cacoshf.c (__cacoshf): Likewise.
5931 * math/s_cacoshl.c (__cacoshl): Likewise.
5932 * math/s_casinh.c (__casinh): Set signs of result from argument.
5933 * math/s_casinhf.c (__casinhf): Likewise.
5934 * math/s_casinhl.c (__casinhl): Likewise.
5935 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5936 (casinh_test): Add more tests.
5937 * sysdeps/i386/fpu/libm-test-ulps: Update.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939
482ff4da
UD
59402012-03-07 Ulrich Drepper <drepper@gmail.com>
5941
872fda05
UD
5942 * po/zh_TW.po: Update from translation team.
5943
a4300c7a
UD
5944 * login/Makefile (distribute): Remove variable.
5945 * catgets/Makefile: Likewise.
5946 * mach/Makefile: Likewise.
5947 * malloc/Makefile: Likewise.
5948 * misc/Makefile: Likewise.
5949 * iconv/Makefile: Likewise.
5950 * nscd/Makefile: Likewise.
5951 * hurd/Makefile: Likewise.
5952 * manual/Makefile: Likewise.
5953 * locale/Makefile: Likewise.
5954 * intl/Makefile: Likewise.
5955 * conform/Makefile: Likewise.
5956 * nss/Makefile: Likewise.
5957 * time/Makefile: Likewise.
5958 * soft-fp/Makefile: Likewise.
5959 * dirent/Makefile: Likewise.
5960 * gmon/Makefile: Likewise.
5961 * po/Makefile: Likewise.
5962 * rt/Makefile: Likewise.
5963 * socket/Makefile: Likewise.
5964 * math/Makefile: Likewise.
5965 * signal/Makefile: Likewise.
5966 * debug/Makefile: Likewise.
5967 * elf/Makefile: Likewise.
5968 * timezone/Makefile: Likewise.
5969 * stdlib/Makefile: Likewise.
5970 * iconvdata/Makefile: Likewise.
5971 * sunrpc/Makefile: Likewise.
5972 * io/Makefile: Likewise.
5973 * argp/Makefile: Likewise.
5974 * inet/Makefile: Likewise.
5975 * hesiod/Makefile: Likewise.
5976 * grp/Makefile: Likewise.
5977 * csu/Makefile: Likewise.
5978 * wctype/Makefile: Likewise.
5979 * crypt/Makefile: Likewise.
5980 * libio/Makefile: Likewise.
5981 * string/Makefile: Likewise.
5982 * nis/Makefile: Likewise.
5983 * resolv/Makefile: Likewise.
5984 * stdio-common/Makefile: Likewise.
5985 * wcsmbs/Makefile: Likewise.
5986 * dlfcn/Makefile: Likewise.
5987 * posix/Makefile: Likewise.
5988
3b7c4e74 5989 [BZ #6959]
482ff4da
UD
5990 * timezone/Makefile: Don't install timezone files, just the programs
5991 and scripts.
5992
f72ed77d
UD
59932012-03-06 Ulrich Drepper <drepper@gmail.com>
5994
a000466f
UD
5995 * nss/databases.def: Add missing gshadow entry.
5996
f72ed77d
UD
5997 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5998
a53b7a4e
MP
59992012-03-06 Marek Polacek <polacek@redhat.com>
6000
6001 [BZ #13726]
6002 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6003 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6004 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6005 * stdio-common/tst-long-dbl-fphex.c: New file.
6006
e9258400
DM
60072012-03-06 David S. Miller <davem@davemloft.net>
6008
6009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6010 (set_obp_int): New function.
6011 (get_obp_int): New function.
6012 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6013 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6014 Avoid unused variable warnings on 'val' and use builtin_expect.
6015 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6016 __builtin_expect.
e9258400
DM
6017 (INLINE_CLONE_SYSCALL): Likewise.
6018
3bd2c723
DM
60192012-03-05 David S. Miller <davem@davemloft.net>
6020
6021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6022
bbb78d03
AS
60232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6024
884c5db4
AS
6025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6026
bbb78d03
AS
6027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6028 only for |x| >= 40.
6029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6030
1c9f702a 60312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6032
6033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6034 Replace gettimeofday with __vdso_gettimeofday.
6035
7be16f82
RM
6036 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6037 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6038 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6039
6040 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6041 time with __vdso_time.
6042
ed58a00f
JM
60432012-03-05 Joseph Myers <joseph@codesourcery.com>
6044
6045 * manual/lang.texi (size_t): Note types to which size_t may be
6046 equivalent with the GNU C Library, but do not describe when
6047 differences between them are significant.
6048
30ee4ced
AJ
60492012-03-05 Andreas Jaeger <aj@suse.de>
6050
6051 * sysdeps/i386/fpu/libm-test-ulps: Update.
6052
b7cd39e8
JM
60532012-03-05 Joseph Myers <joseph@codesourcery.com>
6054
6055 [BZ #3976]
6056 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6057 (__ieee754_pow): Save and restore rounding mode and use
6058 round-to-nearest for main computations.
6059 * math/libm-test.inc (pow_test_tonearest): New function.
6060 (pow_test_towardzero): Likewise.
6061 (pow_test_downward): Likewise.
6062 (pow_test_upward): Likewise.
6063 (main): Call the new functions.
6064 * sysdeps/i386/fpu/libm-test-ulps: Update.
6065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6066
6067 [BZ #3976]
6068 * math/libm-test.inc (cosh_test_tonearest): New function.
6069 (cosh_test_towardzero): Likewise.
6070 (cosh_test_downward): Likewise.
6071 (cosh_test_upward): Likewise.
6072 (sinh_test_tonearest): Likewise.
6073 (sinh_test_towardzero): Likewise.
6074 (sinh_test_downward): Likewise.
6075 (sinh_test_upward): Likewise.
6076 (main): Call the new functions.
6077 * sysdeps/i386/fpu/libm-test-ulps: Update.
6078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6079
6c6a98c9
TV
60802012-03-05 Tom de Vries <tom@codesourcery.com>
6081
6082 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6083 default stack guard is set in last bytes.
6084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6085
21bb2d2e 60862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6087
21bb2d2e 6088 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6089
21bb2d2e
AJ
6090 [BZ #13656]
6091 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6092 possibly allocate from heap instead of stack.
6093 * stdio-common/bug-vfprintf-nargs.c: New file.
6094 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6095
c6922934
AS
60962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6097
6098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6099
bc957d53
MP
61002012-03-03 Marek Polacek <polacek@redhat.com>
6101
6102 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6103 * math/math_private.h: Likewise.
6104 * stdlib/tst-strtod.c: Likewise.
6105 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6106 * sysdeps/x86_64/bits/atomic.h: Likewise.
6107
6358490d
DM
61082012-03-02 David S. Miller <davem@davemloft.net>
6109
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6116 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6117 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6118
01ae168d
RM
61192012-03-02 Roland McGrath <roland@hack.frob.com>
6120
d9a17c07
RM
6121 [BZ #13792]
6122 * manual/examples/README: New file, says the example source files
6123 can be used under GPL>=2.
6124 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6125 line containing just "*/".
6126 * manual/examples/add.c: Add copyright header (GPL>=2).
6127 * manual/examples/argp-ex1.c: Likewise.
6128 * manual/examples/argp-ex2.c: Likewise.
6129 * manual/examples/argp-ex3.c: Likewise.
6130 * manual/examples/argp-ex4.c: Likewise.
6131 * manual/examples/atexit.c: Likewise.
6132 * manual/examples/db.c: Likewise.
6133 * manual/examples/dir.c: Likewise.
6134 * manual/examples/dir2.c: Likewise.
6135 * manual/examples/execinfo.c: Likewise.
6136 * manual/examples/filecli.c: Likewise.
6137 * manual/examples/filesrv.c: Likewise.
6138 * manual/examples/fmtmsgexpl.c: Likewise.
6139 * manual/examples/genpass.c: Likewise.
6140 * manual/examples/inetcli.c: Likewise.
6141 * manual/examples/inetsrv.c: Likewise.
6142 * manual/examples/isockad.c: Likewise.
6143 * manual/examples/longopt.c: Likewise.
6144 * manual/examples/memopen.c: Likewise.
6145 * manual/examples/memstrm.c: Likewise.
6146 * manual/examples/mkfsock.c: Likewise.
6147 * manual/examples/mkisock.c: Likewise.
6148 * manual/examples/mygetpass.c: Likewise.
6149 * manual/examples/pipe.c: Likewise.
6150 * manual/examples/popen.c: Likewise.
6151 * manual/examples/rprintf.c: Likewise.
6152 * manual/examples/search.c: Likewise.
6153 * manual/examples/select.c: Likewise.
6154 * manual/examples/setjmp.c: Likewise.
6155 * manual/examples/sigh1.c: Likewise.
6156 * manual/examples/sigusr.c: Likewise.
6157 * manual/examples/stpcpy.c: Likewise.
6158 * manual/examples/strdupa.c: Likewise.
6159 * manual/examples/strftim.c: Likewise.
6160 * manual/examples/strncat.c: Likewise.
6161 * manual/examples/subopt.c: Likewise.
6162 * manual/examples/swapcontext.c: Likewise.
6163 * manual/examples/termios.c: Likewise.
6164 * manual/examples/testopt.c: Likewise.
6165 * manual/examples/testpass.c: Likewise.
6166 * manual/examples/timeval_subtract.c: Likewise.
6167
01ae168d
RM
6168 [BZ #13792]
6169 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6170 function to ...
6171 * manual/timeval_subtract.c.texi: ... here, new file.
6172
49efa33d
DM
61732012-03-02 David S. Miller <davem@davemloft.net>
6174
6175 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6176
28afd92d
JM
61772012-03-02 Joseph Myers <joseph@codesourcery.com>
6178
804360ed
JM
6179 [BZ #3976]
6180 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6181 (__sin): Save and restore rounding mode and use round-to-nearest
6182 for all computations.
6183 (__cos): Save and restore rounding mode and use round-to-nearest
6184 for all computations.
6185 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6186 <fenv.h>.
6187 (tan): Save and restore rounding mode and use round-to-nearest for
6188 all computations.
6189 * math/libm-test.inc (cos_test_tonearest): New function.
6190 (cos_test_towardzero): Likewise.
6191 (cos_test_downward): Likewise.
6192 (cos_test_upward): Likewise.
6193 (sin_test_tonearest): Likewise.
6194 (sin_test_towardzero): Likewise.
6195 (sin_test_downward): Likewise.
6196 (sin_test_upward): Likewise.
6197 (tan_test_tonearest): Likewise.
6198 (tan_test_towardzero): Likewise.
6199 (tan_test_downward): Likewise.
6200 (tan_test_upward): Likewise.
6201 (main): Call the new functions.
6202 * sysdeps/i386/fpu/libm-test-ulps: Update.
6203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6204
a6d06d7b
JM
6205 [BZ #10135]
6206 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6207 small n, then large n, before computing and testing k+n.
6208 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6210 Likewise.
6211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6212 Likewise.
6213 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6214 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6221 * math/libm-test.inc (scalbn_test): Add more tests.
6222 (scalbln_test): Likewise.
6223
07e12bb3
JM
6224 * manual/filesys.texi (mode_t): Describe constraints on size and
6225 signedness, not exact equivalence to a particular type.
6226 (ino_t): Likewise.
6227 (ino64_t): Likewise.
6228 (dev_t): Likewise.
6229 (nlink_t): Likewise.
6230 (blkcnt_t): Likewise.
6231 (blkcnt64_t): Likewise.
6232 * manual/llio.texi (off_t): Likewise.
6233
28afd92d
JM
6234 [BZ #3976]
6235 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6236 (__ieee754_exp): Save and restore rounding mode and use
6237 round-to-nearest for all computations.
6238 * math/libm-test.inc (exp_test_tonearest): New function.
6239 (exp_test_towardzero): Likewise.
6240 (exp_test_downward): Likewise.
6241 (exp_test_upward): Likewise.
6242 (main): Call the new functions.
6243 * sysdeps/i386/fpu/libm-test-ulps: Update.
6244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6245
b1eeb65d
CD
62462012-03-01 Chris Demetriou <cgd@google.com>
6247
6248 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6249 have predictable order.
6250
53362a4b
DM
62512012-03-01 David S. Miller <davem@davemloft.net>
6252
3c969083
DM
6253 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6254
759707de
DM
6255 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6256 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6258 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6259
dfdb8ff2
DM
6260 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6261 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6262 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6266 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6267 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6268 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6269
ead89f96
DM
6270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6271
7f66bd07
DM
6272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6273 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6275
53362a4b
DM
6276 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6277 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6278 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6279 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6280 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6284 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6285 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6286 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6292 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6293 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6294 * sysdeps/sparc/elf/configure: Regenerated.
6295
7b1902cb
JM
62962012-03-01 Joseph Myers <joseph@codesourcery.com>
6297
bec039bc
JM
6298 * configure.in (AS, LD): Require binutils 2.20 or later.
6299 * configure: Regenerated.
6300 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6301 as required minimum version.
6302 * INSTALL: Regenerated.
6303
7b1902cb
JM
6304 [BZ #2541]
6305 [BZ #4108]
6306 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6307 before squaring exponent.
6308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6309 bottom long double and 27 bits of top long double before squaring
6310 exponent.
6311 * math/libm-test.inc (erfc_test): Add more tests.
6312 * sysdeps/i386/fpu/libm-test-ulps: Update.
6313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6315
f775c276
KT
63162012-03-01 Kai Tietz <ktietz@redhat.com>
6317
6318 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6319 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6320 containing bit-fields.
6321 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6322 * soft-fp/single.h (_FP_UNION_S): Likewise.
6323 * soft-fp/double.h (_FP_UNION_D): Likewise.
6324
5b8a4d4a
JM
63252012-02-29 Joseph Myers <joseph@codesourcery.com>
6326
0bab47b6
JM
6327 [BZ #13786]
6328 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6329 not include ../strcmp.S.
6330 [USE_AS_STRNCASECMP_L]: Likewise.
6331 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6332 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6333 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6334 (__strncasecmp_l_ia32): Define as alias to
6335 __strncasecmp_l_nonascii.
6336
0fcad3e2
JM
6337 [BZ #5794]
6338 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6339 * sysdeps/i386/fpu/libm-test-ulps: Update.
6340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6341
5b8a4d4a
JM
6342 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6344
8fdceb2e
JL
63452012-02-29 Jeff Law <law@redhat.com>
6346
6347 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6348 out of bounds read.
6349
1f393a11
MP
63502012-02-29 Marek Polacek <polacek@redhat.com>
6351
6352 [BZ #13706]
6353 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6354 * elf/Makefile: Add rules to run tst-unused-dep.out.
6355
8847f037
DM
63562012-02-28 David S. Miller <davem@davemloft.net>
6357
6358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6362 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6363 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6364
169d7f11
JM
63652012-02-29 Joseph Myers <joseph@codesourcery.com>
6366
6367 * math/libm-test.inc (llround_test): Move one test from
6368 lround_test. Use TEST_f_L in moved test.
6369 (lround_test): Move misplaced test to llround_test. Add testcase
6370 from bug 2561.
6371
39adf059
UD
63722012-02-28 Ulrich Drepper <drepper@gmail.com>
6373
6374 * sysdeps/x86_64/fpu/e_expf.S: New file.
6375 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6376
71b5d1c5
SB
63772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6378
6379 [BZ #13637]
6380 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6381 of remain_len that may cause incomplete multi-byte character and
6382 false match.
6383 * posix/bug-regex33.c: New file.
6384 * posix/Makefile (tests): Add bug-regex33.
6385
1f77f049
JM
63862012-02-28 Joseph Myers <joseph@codesourcery.com>
6387
6388 * manual/macros.texi: New file.
6389 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6390 * manual/libc.texinfo: Include macros.texi.
6391 * manual/creatute.texi: Likewise.
6392 * manual/install.texi: Likewise.
6393 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6394 @glibcadj{} in references to the GNU C Library.
6395 * manual/charset.texi: Likewise.
6396 * manual/conf.texi: Likewise.
6397 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6398 when not using those macros.
6399 * manual/creature.texi: Likewise.
6400 * manual/crypt.texi: Likewise.
6401 * manual/errno.texi: Likewise.
6402 * manual/filesys.texi: Likewise.
6403 * manual/header.texi: Likewise.
6404 * manual/install.texi: Likewise.
6405 * manual/intro.texi: Likewise.
6406 * manual/io.texi: Likewise.
6407 * manual/job.texi: Likewise.
6408 * manual/lang.texi: Likewise.
6409 * manual/libc.texiinfo: Likewise.
6410 * manual/llio.texi: Likewise.
6411 * manual/locale.texi: Likewise.
6412 * manual/maint.texi: Likewise.
6413 * manual/math.texi: Likewise.
6414 * manual/memory.texi: Likewise.
6415 * manual/message.texi: Likewise.
6416 * manual/nss.texi: Likewise.
6417 * manual/pattern.texi: Likewise.
6418 * manual/process.texi: Likewise.
6419 * manual/resource.texi: Likewise.
6420 * manual/search.texi: Likewise.
6421 * manual/setjmp.texi: Likewise.
6422 * manual/signal.texi: Likewise.
6423 * manual/socket.texi: Likewise.
6424 * manual/startup.texi: Likewise.
6425 * manual/stdio.texi: Likewise.
6426 * manual/string.texi: Likewise.
6427 * manual/sysinfo.texi: Likewise.
6428 * manual/syslog.texi: Likewise.
6429 * manual/terminal.texi: Likewise.
6430 * manual/time.texi: Likewise.
6431 * manual/users.texi: Likewise.
6432 * INSTALL: Regenerated.
6433 * NOTES: Regenerated.
d40c5d54 6434 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6435
450bf206
AS
64362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6437
6438 * include/dirent.h: Include <dirstream.h> before
6439 <dirent/dirent.h>.
6440
741a235b
DM
64412012-02-28 David S. Miller <davem@davemloft.net>
6442
6443 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6444 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6445 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6447
d6b5aa58
DM
64482012-02-27 David S. Miller <davem@davemloft.net>
6449
1aff59a3
DM
6450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6452 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6453 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6454
d6b5aa58
DM
6455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6456 frame pointer instead of stack pointer relative arg slot.
6457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6460
433f48bf
CD
64612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6462
6463 [BZ #3992]
6464 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6465
d674b76d
DM
64662012-02-27 David S. Miller <davem@davemloft.net>
6467
6468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6474 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6475 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6476
0e7727f7
JM
64772012-02-27 Joseph Myers <joseph@codesourcery.com>
6478
6479 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6480 later. Allow versions 5-9.
43be4ca2 6481 * configure: Regenerated.
0e7727f7
JM
6482 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6483 required minimum version and 4.6 as recommended version. Do not
6484 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6485 * INSTALL: Regenerated.
0e7727f7 6486
a78bc654
DM
64872012-02-27 David S. Miller <davem@davemloft.net>
6488
428d5830
DM
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6495 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6497
a78bc654
DM
6498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6499 manipulate bits before adding and subtracting TWO112[sx].
6500 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6501
4579f81c
RM
65022012-02-27 Roland McGrath <roland@hack.frob.com>
6503
36c8acb4
RM
6504 [BZ #13775]
6505 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6506 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6507 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6508 being in POSIX, because they are in 1003.1-2008.
6509
84ad622b
RM
6510 * rt/tst-aio.c: Include <fcntl.h>.
6511 * rt/tst-aio7.c: Likewise.
6512 * rt/tst-aio64.c: Likewise.
6513
4579f81c
RM
6514 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6515
abd923db
JM
65162012-02-27 Joseph Myers <joseph@codesourcery.com>
6517
6518 * manual/install.texi (--with-headers): Describe headers as
6519 interface headers, not private headers.
6520 (Specific advice for GNU/Linux systems): Describe use of headers
6521 from "make headers_install", not private headers from older
6522 kernels.
43be4ca2 6523 * INSTALL: Regenerated.
abd923db
JM
6524 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6525 Change to 2.6.19.
6526 * sysdeps/unix/sysv/linux/configure: Regenerated.
6527
6664049b
JM
6528 * manual/llio.texi (fclean): Remove documentation.
6529
bb8b6697
JM
6530 * manual/Makefile (libc-texi-generated): New variable. Include
6531 version.texi.
6532 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6533 $(libc-texi-generated), not duplicated list of files.
6534 (version.texi, stamp-version): New rules.
6535 (realclean): Remove $(libc-texi-generated), not individual files
6536 from that list. Do not remove dir-add.texinfo.
6537 * manual/libc.texinfo: Comment out uses of edition numbers and
6538 references to printed manual. Remove last-updated dates.
6539 (EDITION): Comment out.
6540 (ISBN): Likewise.
6541 (VERSION, UPDATED): Remove.
6542 (version.texi): Include.
6543
12e5c3b9
AS
65442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6545
6546 * sysdeps/posix/spawni.c: Include <signal.h>.
6547 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6548 * sysdeps/pthread/aio_fsync.c: Likewise.
6549
4efeffc1 65502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6551
ba63ba08
UD
6552 * conform/Makefile (tests): Run only when not cross-compiling and
6553 when fast-check is not defined.
6554
d94a4670
UD
6555 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6556 * conform/data/limits.h-data: Fixes for POSIX2008.
6557 * conform/run-conformtest.sh: Run all tests.
6558 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6559 headers.
6560 * include/bits/dlfcn.h: Likewise.
6561 * include/langinfo.h: Likewise.
6562 * include/monetary.h: Likewise.
6563 * include/sys/poll.h: Likewise.
6564
6565 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6566 for __USE_GNU.
6567 * posix/spawn.h: Define __need_sigset_t.
6568 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6569 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6570 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6571 to get sigevent_t only.
6572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6573 only for __USE_GNU.
6574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6576 process_vm_writev only for __USE_GNU.
6577 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6578
6579 * conform/Makefile: For now ignore errors from run-conformtest.
6580 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6581 POSIX to avoid namespace pollution. Don't prepend headers.
6582 * conform/data/aio.h-data: Fixes for POSIX testing.
6583 * conform/data/fcntl.h-data: Likewise.
6584 * conform/data/glob.h-data: Likewise.
6585 * conform/data/grp.h-data: Likewise.
6586 * conform/data/pthread.h-data: Likewise.
6587 * conform/data/pwd.h-data: Likewise.
6588 * conform/data/signal.h-data: Likewise.
6589 * conform/data/spawn.h-data: Likewise.
6590 * conform/data/stdio.h-data: Likewise.
6591 * conform/data/stdlib.h-data: Likewise.
6592 * conform/data/stropts.h-data: Likewise.
6593 * conform/data/sys/mman.h-data: Likewise.
6594 * conform/data/sys/stat.h-data: Likewise.
6595 * conform/data/sys/types.h-data: Likewise.
6596 * conform/data/sys/wait.h-data: Likewise.
6597 * conform/data/time.h-data: Likewise.
6598 * conform/data/unistd.h-data: Likewise.
6599 * conform/data/utime.h-data: Likewise.
6600
6601 * io/sys/stat.h: fchmod was always in POSIX.
6602 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6603 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6604 * rt/aio.h: Define __need_timespec before including <time.h>.
6605 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6606 struct. Add forward declaration of pthread_attr_t and use it in
6607 sigevent.
6608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6610 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6611 always remove CLK_TCK definition.
6612
c20105c3
AS
66132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6614
6615 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6616
7a270350
UD
66172012-02-25 Ulrich Drepper <drepper@gmail.com>
6618
31341567
UD
6619 * conform/run-conformtest.sh: New file.
6620 * conform/Makefile: Run run-conformtest for tests.
6621 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6622 support.
6623
6624 * conform/data/uchar.h-data: New file.
6625 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6626 * conform/data/arpa/inet.h-data: Likewise.
6627 * conform/data/assert.h-data: Likewise.
6628 * conform/data/complex.h-data: Likewise.
6629 * conform/data/cpio.h-data: Likewise.
6630 * conform/data/ctype.h-data: Likewise.
6631 * conform/data/dirent.h-data: Likewise.
6632 * conform/data/dlfcn.h-data: Likewise.
6633 * conform/data/errno.h-data: Likewise.
6634 * conform/data/fcntl.h-data: Likewise.
6635 * conform/data/float.h-data: Likewise.
6636 * conform/data/fmtmsg.h-data: Likewise.
6637 * conform/data/fnmatch.h-data: Likewise.
6638 * conform/data/ftw.h-data: Likewise.
6639 * conform/data/glob.h-data: Likewise.
6640 * conform/data/grp.h-data: Likewise.
6641 * conform/data/iconv.h-data: Likewise.
6642 * conform/data/inttypes.h-data: Likewise.
6643 * conform/data/langinfo.h-data: Likewise.
6644 * conform/data/libgen.h-data: Likewise.
6645 * conform/data/limits.h-data: Likewise.
6646 * conform/data/locale.h-data: Likewise.
6647 * conform/data/math.h-data: Likewise.
6648 * conform/data/monetary.h-data: Likewise.
6649 * conform/data/mqueue.h-data: Likewise.
6650 * conform/data/ndbm.h-data: Likewise.
6651 * conform/data/net/if.h-data: Likewise.
6652 * conform/data/netdb.h-data: Likewise.
6653 * conform/data/netinet/in.h-data: Likewise.
6654 * conform/data/nl_types.h-data: Likewise.
6655 * conform/data/poll.h-data: Likewise.
6656 * conform/data/pthread.h-data: Likewise.
6657 * conform/data/pwd.h-data: Likewise.
6658 * conform/data/regex.h-data: Likewise.
6659 * conform/data/sched.h-data: Likewise.
6660 * conform/data/search.h-data: Likewise.
6661 * conform/data/semaphore.h-data: Likewise.
6662 * conform/data/setjmp.h-data: Likewise.
6663 * conform/data/signal.h-data: Likewise.
6664 * conform/data/spawn.h-data: Likewise.
6665 * conform/data/stdarg.h-data: Likewise.
6666 * conform/data/stdio.h-data: Likewise.
6667 * conform/data/stdlib.h-data: Likewise.
6668 * conform/data/string.h-data: Likewise.
6669 * conform/data/strings.h-data: Likewise.
6670 * conform/data/stropts.h-data: Likewise.
6671 * conform/data/sys/ipc.h-data: Likewise.
6672 * conform/data/sys/mman.h-data: Likewise.
6673 * conform/data/sys/msg.h-data: Likewise.
6674 * conform/data/sys/resource.h-data: Likewise.
6675 * conform/data/sys/select.h-data: Likewise.
6676 * conform/data/sys/sem.h-data: Likewise.
6677 * conform/data/sys/shm.h-data: Likewise.
6678 * conform/data/sys/socket.h-data: Likewise.
6679 * conform/data/sys/stat.h-data: Likewise.
6680 * conform/data/sys/statvfs.h-data: Likewise.
6681 * conform/data/sys/time.h-data: Likewise.
6682 * conform/data/sys/timeb.h-data: Likewise.
6683 * conform/data/sys/times.h-data: Likewise.
6684 * conform/data/sys/types.h-data: Likewise.
6685 * conform/data/sys/uio.h-data: Likewise.
6686 * conform/data/sys/un.h-data: Likewise.
6687 * conform/data/sys/utsname.h-data: Likewise.
6688 * conform/data/sys/wait.h-data: Likewise.
6689 * conform/data/syslog.h-data: Likewise.
6690 * conform/data/tar.h-data: Likewise.
6691 * conform/data/termios.h-data: Likewise.
6692 * conform/data/utime.h-data: Likewise.
6693 * conform/data/utmpx.h-data: Likewise.
6694 * conform/data/varargs.h-data: Likewise.
6695 * conform/data/wchar.h-data: Likewise.
6696 * conform/data/wctype.h-data: Likewise.
6697 * conform/data/wordexp.h-data: Likewise.
6698
6699 * include/stropts.h: New file.
6700 * include/uchar.h: New file.
6701 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6702 * include/assert.h: Likewise.
6703 * include/ctype.h: Likewise.
6704 * include/dirent.h: Likewise.
6705 * include/dlfcn.h: Likewise.
6706 * include/fcntl.h: Likewise.
6707 * include/fnmatch.h: Likewise.
6708 * include/glob.h: Likewise.
6709 * include/grp.h: Likewise.
6710 * include/libio.h: Likewise.
6711 * include/locale.h: Likewise.
6712 * include/math.h: Likewise.
6713 * include/net/if.h: Likewise.
6714 * include/netdb.h: Likewise.
6715 * include/netinet/in.h: Likewise.
6716 * include/pthread.h: Likewise.
6717 * include/pwd.h: Likewise.
6718 * include/regex.h: Likewise.
6719 * include/sched.h: Likewise.
6720 * include/search.h: Likewise.
6721 * include/setjmp.h: Likewise.
6722 * include/signal.h: Likewise.
6723 * include/stdio.h: Likewise.
6724 * include/stdlib.h: Likewise.
6725 * include/string.h: Likewise.
6726 * include/sys/cdefs.h: Likewise.
6727 * include/sys/mman.h: Likewise.
6728 * include/sys/msg.h: Likewise.
6729 * include/sys/resource.h: Likewise.
6730 * include/sys/select.h: Likewise.
6731 * include/sys/socket.h: Likewise.
6732 * include/sys/stat.h: Likewise.
6733 * include/sys/statvfs.h: Likewise.
6734 * include/sys/time.h: Likewise.
6735 * include/sys/times.h: Likewise.
6736 * include/sys/uio.h: Likewise.
6737 * include/sys/utsname.h: Likewise.
6738 * include/sys/wait.h: Likewise.
6739 * include/termios.h: Likewise.
6740 * include/time.h: Likewise.
6741 * include/ulimit.h: Likewise.
6742 * include/unistd.h: Likewise.
6743 * include/utime.h: Likewise.
6744 * include/wchar.h: Likewise.
6745 * include/wctype.h: Likewise.
6746 * include/wordexp.h: Likewise.
6747
6748 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6749
7a270350
UD
6750 * time/time.h: TIME_UTC must be a macro.
6751 Make timespec_get available for ISO C11 only as well.
6752
7724defc
UD
67532012-02-24 Ulrich Drepper <drepper@gmail.com>
6754
6755 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6756 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6757
6b1d1d46
JM
67582012-02-24 Joseph Myers <joseph@codesourcery.com>
6759
6760 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6761
0f8bbd69
JM
67622012-02-24 Joseph Myers <joseph@codesourcery.com>
6763
6764 * manual/texinfo.tex: Update to version 2012-01-19.16.
6765
66ab80bc
JM
67662012-02-24 Joseph Myers <joseph@codesourcery.com>
6767
6768 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6769
74981cc5
RM
67702012-02-24 Roland McGrath <roland@hack.frob.com>
6771
ee968201
RM
6772 [BZ #13738]
6773 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6774 * manual/fdl-1.3.texi: New file.
6775 * manual/fdl-1.1.texi: File removed.
6776
74981cc5
RM
6777 [BZ #13738]
6778 * manual/libc.texinfo (FDL_VERSION): New @set.
6779 Use it for mention of FDL in cover text.
6780 (Documentation License): Use it in @include file name.
6781
7bb764bc
JM
67822012-02-22 Joseph Myers <joseph@codesourcery.com>
6783 Roland McGrath <roland@hack.frob.com>
6784
6785 [BZ #5461]
6786 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6787 not LONG_LONG_MAX and LONG_LONG_MIN.
6788 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6789 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6790 name.
6791 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6792
6cbeae47
JM
67932012-02-22 Joseph Myers <joseph@codesourcery.com>
6794
6795 [BZ #2547]
6796 [BZ #11365]
6797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6798 manipulate bits before adding and subtracting TWO23[sx].
6799 * math/libm-test.inc (nearbyint_test): Add more tests.
6800
fe45ce09
JM
68012012-02-22 Joseph Myers <joseph@codesourcery.com>
6802
6803 [BZ #2548]
6804 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6805 bits before adding and subtracting TWO23[sx].
6806 * math/libm-test.inc (rint_test): Add more tests.
6807 (rint_test_tonearest): Likewise.
6808 (rint_test_towardzero): Likewise.
6809 (rint_test_downward): Likewise.
6810 (rint_test_upward: Likewise.
6811
ff3b3d82
JM
68122012-02-22 Joseph Myers <joseph@codesourcery.com>
6813
6814 [BZ #10110]
6815 * include/stdc-predef.h: New file. Extracted from features.h.
6816 * include/features.h: Include stdc-predef.h.
6817 * Makefile (headers): Add stdc-predef.h.
6818 * CONFORMANCE (Compiler limitations): Update.
6819
ef0aab35
JM
68202012-02-22 Joseph Myers <joseph@codesourcery.com>
6821
6822 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6823
58639409
DM
68242012-02-21 David S. Miller <davem@davemloft.net>
6825
6826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6828
c0e70b25
DM
68292012-02-20 David S. Miller <davem@davemloft.net>
6830
6831 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6832 using a normal save/restore sequence, rather than allocating a
6833 dummy stack frame just to store a frame pointer and restore.
6834 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6835
fb06851d
JM
68362012-02-21 Joseph Myers <joseph@codesourcery.com>
6837
6838 * manual/install.texi: Fix stray word in line-wrapped comment.
6839
7a8b71c3
DM
68402012-02-20 David S. Miller <davem@davemloft.net>
6841
d510c123
DM
6842 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6843 both binutils and gcc support GOTDATA.
6844
0722d7c2
DM
6845 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6846 "rd %pc" in the PIC register setup sequences.
6847
3d2b3019
DM
6848 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6849 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6850 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6851 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6852 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6857 (SYSCALL_ERROR_HANDLER): Likewise.
6858 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6859 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6861 (SYSCALL_ERROR_HANDLER): Likewise.
6862
c80098a9
DM
6863 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6864 (HAVE_GCC_GOTDATA): New.
6865 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6866 relocation support in both binutils and gcc.
6867 * sysdeps/sparc/elf/configure: Regenerate.
6868
3a2545a0
DM
6869 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6870 * sysdeps/sparc/sparc32/elf/configure: Delete.
6871 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6872 * sysdeps/sparc/sparc64/elf/configure: Delete.
6873 * sysdeps/sparc/elf/configure.in: New file.
6874 * sysdeps/sparc/elf/configure: Generate.
6875
7a8b71c3
DM
6876 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6877 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6878 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6879 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6880 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6881
f1e86fca
JM
68822012-02-21 Joseph Myers <joseph@codesourcery.com>
6883
6884 * manual/install.texi: Do not mention specific glibc version
6885 numbers.
6886 * manual/libc.texinfo (VERSION, UPDATED): Update.
6887 (@copying): Use @copyright{} and range of years.
6888
0e7dfaef
JM
68892012-02-21 Joseph Myers <joseph@codesourcery.com>
6890
6891 [BZ #13695]
6892 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6893 [crti.S not in sysdirs] (generated): Do not append.
6894 [crti.S not in sysdirs] (omit-deps): Likewise.
6895 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6896 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6897 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6898 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6899 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6900 Likewise.
6901 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6902 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6903 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6904 * csu/defs.awk: Remove file.
6905 * sysdeps/generic/initfini.c: Likewise.
6906 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6907 variable.
6908 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6909 Likewise.
6910
599af3ca
JM
69112012-02-20 Joseph Myers <joseph@codesourcery.com>
6912
6913 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6915 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6918 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6919 <bits/epoll.h>.
6920 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6921 (__EPOLL_PACKED): Define to empty if not defined by
6922 <bits/epoll.h>.
6923 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6925 bits/epoll.h.
6926
0e499750
JM
69272012-02-20 Joseph Myers <joseph@codesourcery.com>
6928
6929 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6930 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6931 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6932 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6933 <bits/timerfd.h>.
6934 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6936 bits/timerfd.h.
6937
5ad91f6e
JM
69382012-02-20 Joseph Myers <joseph@codesourcery.com>
6939
6940 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6941 in C locale.
6942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6943 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946
06b99b02
AJ
69472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6948
6949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6951
7638c0fd
AS
69522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6953
6954 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6955 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6956 defined.
6957 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6958 Likewise.
6959 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6960 entry for 2.16.
6961
92221550
AJ
69622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6963
6964 * math/w_acos.c: Use non-signaling floating-point comparisons.
6965 * math/w_acosf.c: Likewise.
6966 * math/w_acosh.c: Likewise.
6967 * math/w_acoshf.c: Likewise.
6968 * math/w_acoshl.c: Likewise.
6969 * math/w_acosl.c: Likewise.
6970 * math/w_asin.c: Likewise.
6971 * math/w_asinf.c: Likewise.
6972 * math/w_asinl.c: Likewise.
6973 * math/w_atanh.c: Likewise.
6974 * math/w_atanhf.c: Likewise.
6975 * math/w_atanhl.c: Likewise.
6976 * math/w_exp2.c: Likewise.
6977 * math/w_exp2f.c: Likewise.
6978 * math/w_exp2l.c: Likewise.
6979 * math/w_j0.c: Likewise.
6980 * math/w_j0f.c: Likewise.
6981 * math/w_j0l.c: Likewise.
6982 * math/w_j1.c: Likewise.
6983 * math/w_j1f.c: Likewise.
6984 * math/w_j1l.c: Likewise.
6985 * math/w_jn.c: Likewise.
6986 * math/w_jnf.c: Likewise.
6987 * math/w_log.c: Likewise.
6988 * math/w_log10.c: Likewise.
6989 * math/w_log10f.c: Likewise.
6990 * math/w_log10l.c: Likewise.
6991 * math/w_log2.c: Likewise.
6992 * math/w_log2f.c: Likewise.
6993 * math/w_log2l.c: Likewise.
6994 * math/w_logf.c: Likewise.
6995 * math/w_logl.c: Likewise.
6996 * math/w_sqrt.c: Likewise.
6997 * math/w_sqrtf.c: Likewise.
6998 * math/w_sqrtl.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7003 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7004
ebaf36eb
JM
70052012-02-19 Joseph Myers <joseph@codesourcery.com>
7006
7007 [BZ #9739]
7008 * manual/string.texi (strnlen): Use correct parameter name in
7009 equivalent expression.
7010
71c254a6
JM
70112012-02-19 Joseph Myers <joseph@codesourcery.com>
7012
7013 [BZ #11174]
7014 * manual/users.texi (seteuid): Consistently use neweuid for
7015 argument name.
7016
16d2c631
JM
70172012-02-19 Joseph Myers <joseph@codesourcery.com>
7018
7019 [BZ #13704]
7020 * manual/nss.texi (Services in the NSS configuration): Correct
7021 list of services in example configuration file.
7022
cd837b09
NB
70232012-02-19 Nick Bowler <nbowler@draconx.ca>
7024
7025 [BZ #11322]
7026 * manual/arith.texi: Remove statements about negative zero
7027 behaving identically to zero.
7028
02c4bbad
JM
70292012-02-18 Joseph Myers <joseph@codesourcery.com>
7030
7031 [BZ #5993]
7032 * manual/install.texi: Do not document upgrading from libc5.
7033
366842e7
JM
70342012-02-18 Joseph Myers <joseph@codesourcery.com>
7035
7036 [BZ #4596]
7037 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7038
dd54084d
DM
70392012-02-18 David S. Miller <davem@davemloft.net>
7040
7041 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7042 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7043 %o7 across the call.
7044 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7045 instead.
7046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7047 SETUP_PIC_REG_LEAF.
7048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7049 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7050 * sysdeps/sparc/crtn.S: Likewise.
7051
2bcc53a3
UD
70522012-02-17 Ulrich Drepper <drepper@gmail.com>
7053
7054 * aout/Makefile: Remove.
7055
09c093b5
RK
70562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7057
7058 [BZ #13058]
7059 * manual/examples/argp-ex1.c (main): Format definition in GNU
7060 style.
7061 * manual/examples/argp-ex2.c (main): Likewise.
7062 * manual/examples/argp-ex3.c (main): Likewise.
7063 * manual/examples/argp-ex4.c (main): Likewise.
7064 * manual/examples/longopt.c (main): Use new-style prototype
7065 definition.
7066 * manual/examples/strncat.c (main): Specify return type and use
7067 (void) for arguments.
7068 * manual/examples/subopt.c (main): Use char **argv argument.
7069
2ee633a2
JM
70702012-02-17 Joseph Myers <joseph@codesourcery.com>
7071
7072 [BZ #5077]
7073 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7074 rounding modes.
7075
0520adde
FB
70762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7077
7078 [BZ #6907]
7079 * manual/string.texi (strchr): Change when strchrnul is
7080 recommended.
7081
3f4081cd
DGM
70822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7083
7084 [BZ #174]
7085 * manual/locale.texi (setlocale): Document LOCPATH.
7086
d1b10e78
JM
70872012-02-17 Joseph Myers <joseph@codesourcery.com>
7088
7089 [BZ #10210]
7090 * manual/process.texi (execle): Move @dots{} before last argument.
7091
79c6869c
PB
70922012-02-17 Paul Bolle <pebolle@tiscali.nl>
7093
7094 [BZ #12047]
7095 * manual/charset.texi (Generic Charset Conversion): Fix typo
7096 (LC_TYPE -> LC_CTYPE).
7097
cc6e48bc
NB
70982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7099
7100 [BZ #5805]
7101 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7102 (scalbnf): Likewise.
7103 (scalbnl): Likewise.
7104 (scalbln): Likewise.
7105 (scalblnf): Likewise.
7106 (scalblnl): Likewise.
7107 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7108 (vwarnx): Likewise.
7109 (verr): Likewise.
7110 (verrx): Likewise.
7111 * manual/filesys.texi (telldir): Use braces around return type.
7112 * manual/llio.texi (mmap): Add space after comma.
7113 (mmap64): Likewise.
7114 * manual/math.texi (jn): Use @var{} on parameter names.
7115 (jnf): Likewise.
7116 (jnl): Likewise.
7117 (yn): Likewise.
7118 (ynf): Likewise.
7119 (ynl): Likewise.
7120 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7121 line.
7122 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7123 "...".
7124 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7125 (sched_get_priority_max): Likewise.
7126 * manual/signal.texi (sigvec): Add space after comma.
7127 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7128 names.
7129 (if_indextoname): Likewise.
7130 (if_freenameindex): Likewise.
7131 (sendto): Use ',' instead of '.' in prototype.
7132 * manual/startup.texi (syscall): Use @dots{} instead of literal
7133 "...".
7134 * manual/stdio.texi (__fpending): Separate initial words of
7135 paragraph from @deftypefun line.
7136 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7137 "...".
7138 (vsyslog): Use @var{} on parameter names.
7139 * manual/terminal.texi (stty): Use @var{} on parameter names.
7140 * manual/users.texi (getutmp): Use @var{} on parameter names.
7141 (getutmpx): Likewise.
7142
5b23062f
JM
71432012-02-17 Joseph Myers <joseph@codesourcery.com>
7144
7145 [BZ #6884]
7146 * manual/stdio.texi (fopen): Fix typos in description of
7147 ",ccs=STRING".
7148
8dee4833
AJ
71492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7150
7151 [BZ #4026]
7152 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7153 get clock_id definition.
7154
9078ce93
TS
71552012-02-17 Thomas Schwinge <thomas@schwinge.name>
7156
7157 [BZ #4822]
7158 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7159 (madvise): Cast every argument to void on its own.
7160
3835c55f
JM
71612012-02-17 Joseph Myers <joseph@codesourcery.com>
7162
7163 [BZ #9902]
7164 * manual/startup.texi (Exit Status): Fix typo.
7165
35c47e37
JM
71662012-02-17 Joseph Myers <joseph@codesourcery.com>
7167
7168 [BZ #10140]
7169 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7170 * manual/examples/argp-ex2.c: Likewise.
7171 * manual/examples/argp-ex3.c: Likewise.
7172
e3b69ca7
RH
71732012-02-16 Richard Henderson <rth@redhat.com>
7174
7175 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7176 * sysdeps/s390/s390-32/initfini.c: Remove.
7177 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7178 * sysdeps/s390/s390-64/initfini.c: Remove.
7179
df83af67
KK
71802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7181
7182 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7183 compiler output for sysdeps/generic/initfini.c.
7184 * sysdeps/sh/elf/initfini.c: Remove file.
7185
f63f3380
DM
71862012-02-16 David S. Miller <davem@davemloft.net>
7187
fb59b3a4
DM
7188 [BZ #11494]
7189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7190
f63f3380
DM
7191 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7192 * sysdeps/sparc/crti.S: New file.
7193 * sysdeps/sparc/crtn.S: New file.
7194 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7195 * sysdeps/sparc/sparc64/Makefile: Likewise.
7196
df6a4a4a
MF
71972012-02-15 Mike Frysinger <vapier@gentoo.org>
7198
6dd8f3dc 7199 [BZ #3335]
df6a4a4a
MF
7200 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7201
1cac7236
RM
72022012-02-15 Roland McGrath <roland@hack.frob.com>
7203
d2c736f8
RM
7204 [BZ #4822]
7205 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7206
1cac7236
RM
7207 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7208 (write, read, close): Likewise.
7209 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7210
8e475601
JM
72112012-02-15 Joseph Myers <joseph@codesourcery.com>
7212
7213 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7214 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7216 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7217 <bits/signalfd.h>.
7218 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7220 bits/signalfd.h.
7221
ed656b40
MP
72222012-02-14 Marek Polacek <polacek@redhat.com>
7223
7224 * sysdeps/x86_64/crti.S: New file.
7225 * sysdeps/x86_64/crtn.S: New file.
7226 * sysdeps/x86_64/elf/initfini.c: Remove file.
7227
2a979d3a
JM
72282012-02-13 Joseph Myers <joseph@codesourcery.com>
7229
7230 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7231 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7233 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7234 <bits/inotify.h>.
7235 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7237 bits/inotify.h.
7238
2a418ac3
JM
72392012-02-13 Joseph Myers <joseph@codesourcery.com>
7240
7241 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7242 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7243 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7244 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7245 <bits/eventfd.h>.
7246 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7248 bits/eventfd.h.
7249
fb779be7
TS
72502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7251
e19e83c5
RM
7252 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7253 __feraiseexcept instead of feraiseexcept.
7c35ffed 7254
fb779be7
TS
7255 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7256 nanosleep invocations.
7257 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7258 strings, and add error checking for a nanosleep invocations.
7259
59ba27a6
PE
72602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7261
7262 Replace FSF snail mail address with URLs, as per GNU coding standards.
7263 Most of the snail mail addresses were wrong anyway, and omitting
7264 them makes the source code easier to maintain. Almost all of the
7265 changes are to license notices and to locale LC_IDENTIFICATION
7266 addresses, except for this one:
7267 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7268 not its snail mail address.
7269
57b957eb
RH
72702012-02-09 Richard Henderson <rth@twiddle.net>
7271
af850b1c
RH
7272 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7273 of kernel-features.h.
7274
57b957eb
RH
7275 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7276
6b73181a
MP
72772012-02-08 Marek Polacek <polacek@redhat.com>
7278
7279 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7280 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7281 * sysdeps/gnu/_G_config.h: Likewise.
7282 * sysdeps/generic/_G_config.h: Likewise.
7283
26ecc33a
AS
72842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7285
6c6dbc63
AS
7286 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7287 tests.
7288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7289
e216c012
AS
7290 * sysdeps/powerpc/powerpc32/crti.S: New file.
7291 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7292 * sysdeps/powerpc/powerpc64/crti.S: New file.
7293 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7294
26ecc33a
AS
7295 * Makeconfig (have-initfini): Don't set.
7296 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7297 * configure.in (nopic_initfini): Don't substitute.
7298 * config.h.in (HAVE_INITFINI): Don't #undef.
7299 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7300 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7301
3add8e13
JM
73022012-02-08 Joseph Myers <joseph@codesourcery.com>
7303
7304 Support crti.S and crtn.S provided directly by architectures.
7305 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7306 [crti.S in sysdirs] (omit-deps): Likewise.
7307 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7308 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7309 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7310 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7311 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7312 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7313 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7314 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7315 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7316 compiler output for sysdeps/generic/initfini.c.
7317 * sysdeps/i386/elf/Makefile: Remove file.
7318 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7319
a22f12b4
MP
73202012-02-07 Marek Polacek <polacek@redhat.com>
7321
7322 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7323 * sysdeps/gnu/_G_config.h: Likewise.
7324 * sysdeps/mach/hurd/_G_config.h: Likewise.
7325
148cf100
MP
73262012-02-07 Marek Polacek <polacek@redhat.com>
7327
7328 * math/Makefile (tests): Add tst-CMPLX2.
7329 * math/tst-CMPLX2.c: New file.
7330
cfdc0dd7
AS
73312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7332
84ba42c4
AS
7333 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7334
cfdc0dd7
AS
7335 * math/libm-test.inc (jn_test): Add missing L suffix.
7336
622c86f4
MP
73372012-02-06 Marek Polacek <polacek@redhat.com>
7338
7339 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7340 * sysdeps/i386/fpu/e_powf.S: Likewise.
7341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7342 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7343 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7344 * sysdeps/i386/fpu/e_pow.S: Likewise.
7345 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7347 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7348 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7349 * sysdeps/i386/fpu/e_log2.S: Likewise.
7350 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7351 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7352 * sysdeps/i386/fpu/e_powl.S: Likewise.
7353 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7355 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7356 * sysdeps/i386/fpu/e_logl.S: Likewise.
7357 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7358 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7359 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7360 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7361 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7362 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7363 * sysdeps/i386/fpu/e_log.S: Likewise.
7364 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7365 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7366 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7367 * sysdeps/i386/fpu/e_logf.S: Likewise.
7368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7370 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7373 * sysdeps/i386/fpu/e_log10.S: Likewise.
7374 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7375 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7376 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7377 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7378 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7380 * sysdeps/i386/asm-syntax.h: Likewise.
7381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7384 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7385 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7386 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7387 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7388 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7390 * sysdeps/powerpc/sysdep.h: Likewise.
7391 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7393
d4a54ac6
JM
73942012-02-06 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #411]
7397 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7398
314054ea
JM
73992012-02-06 Joseph Myers <joseph@codesourcery.com>
7400
7401 * sysdeps/i386/sysdep.h: Include <features.h>.
7402 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7403 version.
7404
d8e0ca50
JM
74052012-02-05 Joseph Myers <joseph@codesourcery.com>
7406
7407 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7408 Define.
7409 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7410 LOAD_PIC_REG_STR.
7411
b1da7dd9
JM
74122012-02-03 Joseph Myers <joseph@codesourcery.com>
7413
7414 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7415 (SETUP_PIC_REG): Use GET_PC_THUNK.
7416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7417 macro.
7418
9a1d9254
JM
74192012-02-03 Joseph Myers <joseph@codesourcery.com>
7420
7421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7422 for non-PIC compilation.
7423 (SETUP_PIC_REG): Add .p2align directive.
7424 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7425 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7427 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7428 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7429 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7430 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7432 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7433 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7434 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7435 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7436 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7438 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7441 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7442 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7443 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7444 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7446 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7447 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7452 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7453 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7454 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7465
65dc3b75
JM
74662012-02-03 Joseph Myers <joseph@codesourcery.com>
7467
7468 * math/tst-CMPLX.c: Include <stdio.h>.
7469
d55bf177
JM
74702012-01-31 Joseph Myers <joseph@codesourcery.com>
7471
7472 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7473 float.
7474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7475 * sysdeps/sparc/bits/mathdef.h: Likewise.
7476
69db4f8f
MP
74772012-01-31 Marek Polacek <polacek@redhat.com>
7478
7479 * libio/libio.h: Don't define _PARAMS.
7480 * locale/programs/config.h: Don't define PARAMS.
7481 * stdlib/strtol_l.c: Likewise.
7482 (__strtol_l): Remove PARAMS from the prototype.
7483
41b81892
UD
74842012-01-31 Ulrich Drepper <drepper@gmail.com>
7485
3b49edc0
UD
7486 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7487 names. Just use the correct names. Remove unnecessary wrapper
7488 functions.
7489 * malloc/arena.c: Likewise.
7490 * malloc/hooks.c: Likewise.
7491
41b81892
UD
7492 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7493 ARENA_TEST says not to. Simplify test for creation of a new arena.
7494 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7495
27a25b6e
UD
74962012-01-30 Ulrich Drepper <drepper@gmail.com>
7497
7498 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7499 into tail calls.
7500 (update_get_addr): New function.
7501 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7502 GET_ADDR_MODULE parameter.
7503
c8a89e7d
JM
75042012-01-30 Joseph Myers <joseph@codesourcery.com>
7505
7506 * crypt/cert.c: Remove __STDC__ conditionals.
7507 * crypt/crypt-entry.c: Likewise.
7508 * crypt/crypt_util.c: Likewise.
7509 * libio/filedoalloc.c: Likewise.
7510 * libio/fileops.c: Likewise.
7511 * libio/genops.c: Likewise.
7512 * libio/iofclose.c: Likewise.
7513 * libio/iofdopen.c: Likewise.
7514 * libio/iofopen.c: Likewise.
7515 * libio/iofopen64.c: Likewise.
7516 * libio/iogetdelim.c: Likewise.
7517 * libio/iopopen.c: Likewise.
7518 * libio/obprintf.c: Likewise.
7519 * libio/oldfileops.c: Likewise.
7520 * libio/oldiofclose.c: Likewise.
7521 * libio/oldiofdopen.c: Likewise.
7522 * libio/oldiofopen.c: Likewise.
7523 * libio/oldiopopen.c: Likewise.
7524 * libio/wfiledoalloc.c: Likewise.
7525 * libio/wgenops.c: Likewise.
7526 * locale/programs/xmalloc.c: Likewise.
7527 * misc/syslog.c: Likewise.
7528 * stdio-common/xbug.c: Likewise.
7529 * string/memchr.c: Likewise.
7530 * string/memcmp.c: Likewise.
7531 * string/memrchr.c: Likewise.
7532 * string/rawmemchr.c: Likewise.
7533 * sysdeps/posix/getcwd.c: Likewise.
7534 * time/strftime_l.c: Likewise.
7535
3b100462
JM
75362012-01-30 Joseph Myers <joseph@codesourcery.com>
7537
7538 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7539 * config.make.in (config-cflags-sse2avx): Define.
7540 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7541 Fix typo.
7542
607998af
CM
75432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7544
7545 * scripts/config.guess: Update from upstream config git repository.
7546 * scripts/config.sub: Likewise.
7547
3601428f
CM
75482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7549
3ac8b282
CM
7550 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7551 (EM_NUM): Update.
7552 (R_TILEPRO_*, R_TILEGX_*): New macros.
7553
e034841e
CM
7554 * scripts/firstversions.awk: Fix bug in version range handling.
7555
540d7568
CM
7556 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7557
3601428f
CM
7558 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7559
463de862
CM
7560 * include/sys/epoll.h: New file.
7561 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7562 libc_hidden_def.
7563
73139a76
UD
75642012-01-28 Ulrich Drepper <drepper@gmail.com>
7565
96bc5b45
UD
7566 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7567 Avoid unnecessary __WORDSIZE == 64 test.
7568 (fmaxf): Use VEX format if possible.
7569 (fmax): Likewise.
7570 (fminf): Likewise.
7571 (fmin): Likewise.
7572
56f6f6a2
UD
7573 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7574 * math/math_private.h: Remove libc_fegetround* and
7575 libc_fesetround*.
7576 * sysdeps/i386/configure.in: Check for -msse2avx.
7577 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7578 also if SSE2AVX is defined.
7579 Remove libc_fegetround* and libc_fesetround*.
7580 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7581 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7583 of HAS_YMM_USABLE.
7584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7588 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7589
73139a76
UD
7590 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7591
d73f93a4
AZ
75922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7593
7594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7595 size is not set.
7596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7597
6ee65ed6
UD
75982012-01-27 Ulrich Drepper <drepper@gmail.com>
7599
7600 [BZ #13618]
7601 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7602 relocation.
7603 * Makeconfig (libm): Define.
7604 * elf/Makefile: Add rules to build and run tst-relsort1.
7605 * elf/tst-relsort1.c: New file.
7606 * elf/tst-relsort1mod1.c: New file.
7607 * elf/tst-relsort1mod2.c: New file.
7608
8db21882
JM
76092012-01-27 Joseph Myers <joseph@codesourcery.com>
7610
7611 * math/s_ldexp.c: Remove __STDC__ conditionals.
7612 * math/s_ldexpf.c: Likewise.
7613 * math/s_ldexpl.c: Likewise.
7614 * math/s_nextafter.c: Likewise.
7615 * math/s_nexttowardf.c: Likewise.
7616 * math/s_significand.c: Likewise.
7617 * math/s_significandf.c: Likewise.
7618 * math/s_significandl.c: Likewise.
7619 * math/w_jnl.c: Likewise.
7620 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7621 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7622 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7623 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7624 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7629 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7642 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7644 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7645 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7647 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7648 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7649 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7650 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7651 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7654 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7655 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7656 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7660 * sysdeps/ieee754/k_standard.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7722 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7740 * sysdeps/ieee754/s_matherr.c: Likewise.
7741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7745
965a54a4
JM
77462012-01-26 Joseph Myers <joseph@codesourcery.com>
7747
7748 * crypt/md5.h: Remove __STDC__ conditionals.
7749 * libio/libioP.h: Likewise.
7750 * locale/programs/config.h: Likewise.
7751 * sysdeps/generic/sysdep.h: Likewise.
7752 * sysdeps/i386/asm-syntax.h: Likewise.
7753 * sysdeps/s390/asm-syntax.h: Likewise.
7754 * sysdeps/unix/sysdep.h: Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7757
7071ad79
JM
77582012-01-26 Joseph Myers <joseph@codesourcery.com>
7759
7760 * libio/libio.h: Remove __STDC__ conditionals.
7761 * malloc/obstack.h: Likewise.
7762 * math/complex.h: Likewise.
7763 * math/math.h: Likewise.
7764 * sysdeps/generic/_G_config.h: Likewise.
7765 * sysdeps/gnu/_G_config.h: Likewise.
7766 * sysdeps/mach/hurd/_G_config.h: Likewise.
7767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7768 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7769 * sysdeps/sparc/bits/mathdef.h: Likewise.
7770
afc5ed09
UD
77712012-01-26 Ulrich Drepper <drepper@gmail.com>
7772
7773 [BZ #13583]
7774 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7775 Clean up HAS_* macros.
afc5ed09 7776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7777 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7778 possible.
7779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7780 HAS_AVX.
7781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7786
bdb6de1d
JM
77872012-01-25 Joseph Myers <joseph@codesourcery.com>
7788
7789 * elf/tst-unique3.cc (gets): Remove declaration.
7790 * elf/tst-unique3lib.cc (gets): Likewise.
7791 * elf/tst-unique3lib2.cc (gets): Likewise.
7792 * elf/tst-unique4.cc (gets): Likewise.
7793
b15549e6
UD
77942012-01-24 Ulrich Drepper <drepper@gmail.com>
7795
7796 * include/stdio.h: Add C++ protection. Add gets declarations and
7797 definitions.
7798 * debug/tst-chk1.c: Don't declare gets here.
7799 * stdio-common/tst-gets.c: Likewise.
7800
a037381f
JM
78012012-01-24 Joseph Myers <joseph@codesourcery.com>
7802
7803 * posix/glob: Remove directory.
7804
f1d4aa75
JM
78052012-01-24 Joseph Myers <joseph@codesourcery.com>
7806
7807 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7808
81c0c964
PT
78092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7810
7811 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7812 of the non-standard EPFNOSUPPORT.
7813
0ea698ae
ST
78142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7815
7816 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7817 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7818 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7819
d220b117
UD
78202012-01-21 Ulrich Drepper <drepper@gmail.com>
7821
7822 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7823
3e1aa84e
UD
78242012-01-20 Ulrich Drepper <drepper@gmail.com>
7825
7826 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7827 transient errors.
7828 * nscd/grpcache.c (cache_addgr): Likewise.
7829 * nscd/hstcache.c (cache_addhst): Likewise.
7830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7831 * nscd/pwdcache.c (cache_addpw): Likewise.
7832 * nscd/servicescache.c (cache_addserv): Likewise.
7833
400aa020
UD
78342012-01-16 Ulrich Drepper <drepper@gmail.com>
7835
d77e7869
UD
7836 * malloc/malloc.c: Various cleanups.
7837 * malloc/hooks.c: Likewise.
7838
400aa020
UD
7839 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7840 * stdlib/bug-fmtmsg1.c: New file.
7841
7842 * stdlib/fmtmsg.c (init): Add missing unlock.
7843 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7844
e0a309cf
MP
78452012-01-12 Marek Polacek <polacek@redhat.com>
7846
7847 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7848 and _GNU_SOURCE.
7849
929d11c7
WS
78502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7851
7852 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7853 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7854 macro to ensure uniqueness of label name.
7855 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7856 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7857
41d0e869
UD
78582012-01-11 Ulrich Drepper <drepper@gmail.com>
7859
0cc5ed3b
UD
7860 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7861
41d0e869
UD
7862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7863 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7866
a47a831a
UD
78672012-01-10 Ulrich Drepper <drepper@gmail.com>
7868
daa891c0
UD
7869 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7870
7871 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7872 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7874
e58ef0f2
UD
7875 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7876
a47a831a 7877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7878 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7881
7882 * math/bits/math-finite.h: Add ldexp support.
7883
a0bfc9c7
MP
78842012-01-10 Marek Polacek <polacek@redhat.com>
7885
7886 * locale/programs/localedef.h (show_archive_content): Add noreturn
7887 attribute.
7888
d6e97a1d
UD
78892012-01-09 Ulrich Drepper <drepper@gmail.com>
7890
7891 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7892
d5835c26
UD
78932012-01-08 Ulrich Drepper <drepper@gmail.com>
7894
e5f484c6
UD
7895 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7896
d5835c26
UD
7897 * io/Makefile (headers): Add bits/poll2.h.
7898
d1f741e9
WS
78992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7900
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7902 typo #include statement.
7903
ec09c1c4
UD
79042012-01-08 Ulrich Drepper <drepper@gmail.com>
7905
7906 * include/sys/cdefs.h: Define __attribute_alloc_size.
7907 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7908 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7909 * elf/pldd.c: Likewise.
7910 * iconv/iconv_charmap.c: Likewise.
7911 * iconv/iconvconfig.c: Likewise.
7912 * iconv/strtab.c: Likewise.
7913 * locale/programs/locale.c: Likewise.
7914 * locale/programs/localedef.h: Likewise.
7915 * locale/programs/simple-hash.c: Likewise.
7916 * nscd/nscd.h: Likewise.
7917 * nss/makedb.c: Likewise.
7918 * sysdeps/generic/ldconfig.h: Likewise.
7919 * locale/programs/localedef.c: Remove xmalloc prototype.
7920 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7921
20b38e03
PP
79222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7923
7924 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7925 appropriate.
7926
a0da5fe1
UD
79272012-01-08 Ulrich Drepper <drepper@gmail.com>
7928
1d5a644a 7929 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7930 * math/tst-CMPLX.c: New file.
1d5a644a 7931
8784a6db
UD
7932 * math/complex.h (CMPLXL): Fix typo.
7933
d9a216c0
UD
7934 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7935 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7936 GLIBC_2.16.
7937 * debug/tst-chk1.c: Add poll and ppoll tests.
7938 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7939 * include/sys/poll.h: Add hidden proto for ppoll.
7940 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7941 * sysdeps/mach/hurd/ppoll.c: Likewise.
7942 * io/ppoll.c: Likewise.
7943 * debug/poll_chk.c: New file.
7944 * debug/ppoll_chk.c: New file.
7945 * include/bits/poll2.h: New file.
7946 * io/bits/poll2.h: New file.
7947
ac097f5c
UD
7948 [BZ #1350]
7949 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7950
2119dcfa
UD
7951 * configure.in: static is always set to yes. Remove.
7952 * config.make.in: Don't set build-static.
7953 * Makeconfig: Remove use of build-static.
7954 * dlfcn/Makefile: Likewise.
7955 * elf/Makefile: Likewise.
7956 * math/Makefile: Likewise.
7957 * misc/Makefile: Likewise.
7958 * nptl/Makefile: Likewise.
7959 * sysdeps/mach/hurd/Makefile: Likewise.
7960
121766a9
UD
7961 * configure.in: PWD_P is not used anymore.
7962 * config.make.in: Remove PWD_P entry.
7963
51a1d39c 7964 * configure.in: Remove last remnants of RANLIB.
8720d066 7965 No need to check for signed size_t anymore.
215f4bdc
UD
7966 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7967 and IA-64.
3857022a 7968 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7969 * aclocal.m4: Likewise.
7970
d3ed7225
UD
7971 * wcsmbs/mbrtoc16.c: Implement using towc function.
7972 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7973 * wcsmbs/wcsmbsload.c: Likewise.
7974 * iconv/gconv_simple.c: Likewise.
7975 * iconv/gconv_int.h: Likewise.
7976 * iconv/gconv_builtin.h: Likewise.
7977 * iconv/iconv_prog.c: Remove CHAR16 handling.
7978
7979 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7980
7981 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7982
a0da5fe1
UD
7983 * configure.in: Remove --with-elf and --enable-bounded options.
7984 Dont set base_machine for ia64. More non-ELF conditions removed.
7985 Remove testing and setting of leading underscore information.
7986 * config.make.in (build-bounded): Set to no.
7987 * config.h.in: Remove NO_UNDERSCORES entry.
7988 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7989 them.
7990 * csu/start.c: Remove !NO_UNDERSCORE code.
7991 * locale/localeinfo.h: Likewise.
7992 * sysdeps/generic/machine-gmon.h: Likewise.
7993 * sysdeps/generic/sysdep.h: Likewise.
7994 * sysdeps/i386/sysdep.h: Likewise.
7995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7996 * sysdeps/mach/sysdep.h: Likewise.
7997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7999 * sysdeps/sh/sysdep.h: Likewise.
8000 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8001 * sysdeps/unix/i386/sysdep.S: Likewise.
8002 * sysdeps/unix/sparc/start.c: Likewise.
8003 * sysdeps/unix/sparc/sysdep.S: Likewise.
8004 * sysdeps/unix/sparc/sysdep.h: Likewise.
8005 * sysdeps/unix/start.c: Likewise.
8006 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8007 * sysdeps/x86_64/sysdep.h: Likewise.
8008
df78418a
UD
80092012-01-07 Ulrich Drepper <drepper@gmail.com>
8010
a784e502
UD
8011 [BZ #13553]
8012 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8013 for non-gcc.
8014 * argp/argp-fmtstream.h: Use const instead __const.
8015 * argp/argp.h: Likewise.
8016 * assert/assert.h: Likewise.
8017 * bits/fenv.h: Likewise.
8018 * bits/sched.h: Likewise.
8019 * bits/sigset.h: Likewise.
8020 * bits/sigthread.h: Likewise.
8021 * catgets/nl_types.h: Likewise.
8022 * conform/data/pthread.h-data: Likewise.
8023 * crypt/crypt-private.h: Likewise.
8024 * crypt/crypt.h: Likewise.
8025 * crypt/crypt_util.c: Likewise.
8026 * ctype/ctype.h: Likewise.
8027 * debug/execinfo.h: Likewise.
8028 * debug/mbsnrtowcs_chk.c: Likewise.
8029 * debug/mbsrtowcs_chk.c: Likewise.
8030 * debug/wcsnrtombs_chk.c: Likewise.
8031 * debug/wcsrtombs_chk.c: Likewise.
8032 * debug/wcstombs_chk.c: Likewise.
8033 * dirent/dirent.h: Likewise.
8034 * dlfcn/dlfcn.h: Likewise.
8035 * elf/neededtest4.c: Likewise.
8036 * grp/grp.h: Likewise.
8037 * gshadow/gshadow.h: Likewise.
8038 * iconv/gconv.h: Likewise.
8039 * iconv/gconv_int.h: Likewise.
8040 * iconv/gconv_simple.c: Likewise.
8041 * iconv/iconv.h: Likewise.
8042 * iconv/loop.c: Likewise.
8043 * iconv/skeleton.c: Likewise.
8044 * include/aio.h: Likewise.
8045 * include/aliases.h: Likewise.
8046 * include/argz.h: Likewise.
8047 * include/arpa/inet.h: Likewise.
8048 * include/assert.h: Likewise.
8049 * include/dirent.h: Likewise.
8050 * include/dlfcn.h: Likewise.
8051 * include/execinfo.h: Likewise.
8052 * include/fcntl.h: Likewise.
8053 * include/fenv.h: Likewise.
8054 * include/glob.h: Likewise.
8055 * include/grp.h: Likewise.
8056 * include/libintl.h: Likewise.
8057 * include/mntent.h: Likewise.
8058 * include/netdb.h: Likewise.
8059 * include/pwd.h: Likewise.
8060 * include/rpc/netdb.h: Likewise.
8061 * include/sched.h: Likewise.
8062 * include/search.h: Likewise.
8063 * include/shadow.h: Likewise.
8064 * include/signal.h: Likewise.
8065 * include/stdio.h: Likewise.
8066 * include/stdlib.h: Likewise.
8067 * include/string.h: Likewise.
8068 * include/sys/socket.h: Likewise.
8069 * include/sys/stat.h: Likewise.
8070 * include/sys/statfs.h: Likewise.
8071 * include/sys/statvfs.h: Likewise.
8072 * include/sys/syslog.h: Likewise.
8073 * include/sys/time.h: Likewise.
8074 * include/sys/uio.h: Likewise.
8075 * include/time.h: Likewise.
8076 * include/unistd.h: Likewise.
8077 * include/utmp.h: Likewise.
8078 * include/wchar.h: Likewise.
8079 * include/wctype.h: Likewise.
8080 * inet/aliases.h: Likewise.
8081 * inet/arpa/inet.h: Likewise.
8082 * inet/netinet/ether.h: Likewise.
8083 * inet/netinet/in.h: Likewise.
8084 * intl/libintl.h: Likewise.
8085 * io/bits/fcntl2.h: Likewise.
8086 * io/fcntl.h: Likewise.
8087 * io/ftw.h: Likewise.
8088 * io/sys/poll.h: Likewise.
8089 * io/sys/stat.h: Likewise.
8090 * io/sys/statfs.h: Likewise.
8091 * io/sys/statvfs.h: Likewise.
8092 * io/utime.h: Likewise.
8093 * libio/bits/stdio.h: Likewise.
8094 * libio/bits/stdio2.h: Likewise.
8095 * libio/libio.h: Likewise.
8096 * libio/libioP.h: Likewise.
8097 * libio/stdio.h: Likewise.
8098 * locale/lc-ctype.c: Likewise.
8099 * locale/locale.h: Likewise.
8100 * login/utmp.h: Likewise.
8101 * malloc/arena.c: Likewise.
8102 * malloc/malloc.c: Likewise.
8103 * malloc/malloc.h: Likewise.
8104 * malloc/mcheck.c: Likewise.
8105 * malloc/mtrace.c: Likewise.
8106 * math/bits/mathcalls.h: Likewise.
8107 * math/fenv.h: Likewise.
8108 * math/math_private.h: Likewise.
8109 * misc/bits/error.h: Likewise.
8110 * misc/bits/syslog.h: Likewise.
8111 * misc/err.h: Likewise.
8112 * misc/error.h: Likewise.
8113 * misc/fstab.h: Likewise.
8114 * misc/mntent.h: Likewise.
8115 * misc/regexp.h: Likewise.
8116 * misc/search.h: Likewise.
8117 * misc/sgtty.h: Likewise.
8118 * misc/sys/mman.h: Likewise.
8119 * misc/sys/syslog.h: Likewise.
8120 * misc/sys/uio.h: Likewise.
8121 * misc/sys/xattr.h: Likewise.
8122 * misc/ttyent.h: Likewise.
8123 * nis/rpcsvc/ypclnt.h: Likewise.
8124 * nss/nss.h: Likewise.
8125 * posix/bits/unistd.h: Likewise.
8126 * posix/fnmatch.h: Likewise.
8127 * posix/glob.h: Likewise.
8128 * posix/sched.h: Likewise.
8129 * posix/spawn.h: Likewise.
8130 * posix/sys/wait.h: Likewise.
8131 * posix/unistd.h: Likewise.
8132 * posix/wordexp.h: Likewise.
8133 * pwd/pwd.h: Likewise.
8134 * resolv/netdb.h: Likewise.
8135 * resource/sys/resource.h: Likewise.
8136 * rt/aio.h: Likewise.
8137 * rt/bits/mqueue2.h: Likewise.
8138 * rt/mqueue.h: Likewise.
8139 * shadow/shadow.h: Likewise.
8140 * signal/signal.h: Likewise.
8141 * socket/send.c: Likewise.
8142 * socket/sendto.c: Likewise.
8143 * socket/sys/socket.h: Likewise.
8144 * stdio-common/printf.h: Likewise.
8145 * stdlib/bits/stdlib.h: Likewise.
8146 * stdlib/fmtmsg.h: Likewise.
8147 * stdlib/monetary.h: Likewise.
8148 * stdlib/stdlib.h: Likewise.
8149 * stdlib/ucontext.h: Likewise.
8150 * streams/stropts.h: Likewise.
8151 * string/argz.h: Likewise.
8152 * string/bits/string2.h: Likewise.
8153 * string/string.h: Likewise.
8154 * string/strings.h: Likewise.
8155 * sunrpc/rpc/auth.h: Likewise.
8156 * sunrpc/rpc/auth_des.h: Likewise.
8157 * sunrpc/rpc/clnt.h: Likewise.
8158 * sunrpc/rpc/netdb.h: Likewise.
8159 * sunrpc/rpc/pmap_clnt.h: Likewise.
8160 * sunrpc/rpc/xdr.h: Likewise.
8161 * sysdeps/generic/inttypes.h: Likewise.
8162 * sysdeps/generic/net/if.h: Likewise.
8163 * sysdeps/generic/sys/swap.h: Likewise.
8164 * sysdeps/gnu/net/if.h: Likewise.
8165 * sysdeps/gnu/utmpx.h: Likewise.
8166 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8167 * sysdeps/i386/i486/bits/string.h: Likewise.
8168 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8169 * sysdeps/s390/bits/string.h: Likewise.
8170 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8171 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8172 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8173 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8174 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8175 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8176 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8177 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8178 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8179 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8180 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8181 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8182 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8183 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8184 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8185 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8186 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8192 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8193 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8194 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8195 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8196 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8198 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8200 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8201 * sysvipc/sys/ipc.h: Likewise.
8202 * sysvipc/sys/msg.h: Likewise.
8203 * sysvipc/sys/sem.h: Likewise.
8204 * sysvipc/sys/shm.h: Likewise.
8205 * termios/termios.h: Likewise.
8206 * time/sys/time.h: Likewise.
8207 * time/time.h: Likewise.
8208 * wcsmbs/bits/wchar2.h: Likewise.
8209 * wcsmbs/uchar.h: Likewise.
8210 * wcsmbs/wchar.h: Likewise.
8211 * wctype/wctype.h: Likewise.
8212
0269750c
UD
8213 [BZ #13551]
8214 * Makeconfig: Remove all but ELF support including AIX support.
8215 * Makerules: Likewise.
8216 * config.h.in: Likewise.
8217 * config.make.in: Likewise.
8218 * configure: Likewise.
8219 * configure.in: Likewise.
8220 * csu/Makefile: Likewise.
8221 * csu/version.c: Likewise.
8222 * debug/Makefile: Likewise.
8223 * dlfcn/Makefile: Likewise.
8224 * elf/Makefile: Likewise.
8225 * extra-lib.mk: Likewise.
8226 * iconv/Makefile: Likewise.
8227 * include/libc-symbols.h: Likewise.
8228 * include/shlib-compat.h: Likewise.
8229 * resolv/Makefile: Likewise.
8230 * resolv/res_libc.c: Likewise.
8231 * rt/Makefile: Likewise.
8232 * sysdeps/i386/asm-syntax.h: Likewise.
8233 * sysdeps/i386/sysdep.h: Likewise.
8234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8235 * sysdeps/mach/sysdep.h: Likewise.
8236 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8237 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8238 * sysdeps/s390/asm-syntax.h: Likewise.
8239 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8240 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8241 * sysdeps/sh/sysdep.h: Likewise.
8242 * sysdeps/unix/sparc/sysdep.h: Likewise.
8243 * sysdeps/wordsize-32/divdi3.c: Likewise.
8244 * sysdeps/x86_64/sysdep.h: Likewise.
8245
00bbd29b
UD
8246 * argp/Versions: Remove _argp_unlock_xxx.
8247
8248 [BZ #13559]
8249 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8250 * abilist/libBrokenLocale.abilist: Likewise.
8251 * abilist/libanl.abilist: Likewise.
8252 * abilist/libc.abilist: Likewise.
8253 * abilist/libcrypt.abilist: Likewise.
8254 * abilist/libdl.abilist: Likewise.
8255 * abilist/libm.abilist: Likewise.
8256 * abilist/libnsl.abilist: Likewise.
8257 * abilist/libpthread.abilist: Likewise.
8258 * abilist/libresolv.abilist: Likewise.
8259 * abilist/librt.abilist: Likewise.
8260 * abilist/libthread_db.abilist: Likewise.
8261 * abilist/libutil.abilist: Likewise.
8262 * abilist/libnss_db.abilist: New file.
8263
8264 * scripts/abilist.awk: Add support for indirect functions.
8265
a2693a0e
UD
8266 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8267
3f05895f
UD
8268 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8269
ecb6fb48
UD
8270 * shlib-versions: Remove entries for ports architectures.
8271
664f8cb9
UD
8272 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8273 files in ports.
8274 * elf/stackguard-macros.h: Remove support for IA-64.
8275 * elf/tst-auditmod1.c: Likewise.
8276 * sysdeps/generic/ldsodefs.h: Likewise.
8277
7ae81d88
UD
8278 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8279 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8280 configure files.
8281
bdeba135
UD
8282 [BZ #13552]
8283 * configure.in: Remove --enable-omitfp support.
8284 * FAQ.in: Adjust.
8285 * config.make.in: Likewise.
8286 * Makeconfig: Likewise.
8287 * manual/install.texi: Likewise.
8288
d75a0a62
UD
8289 In case anyone cares, the IA-64 architecture could move to ports.
8290 * sysdeps/ia64/*: Removed.
8291 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8292 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8293
dcc9756b
UD
8294 [BZ #13555]
8295 * configure.in: Remove entries for unsupported architectures.
8296
d3761ebc 8297 [BZ #13533]
9954432e
UD
8298 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8299 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8300 routines.
8301 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8302 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8303 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8304 fall back to using wcrtomb.
8305 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8306 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8307 renaming.
8308 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8309 * wcsmbs/tst-c16c32-1.c: New file.
8310
8311 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8312 local variable.
8313
c3a87236
UD
8314 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8315
28926a1b
UD
8316 * elf/tst-unique3.cc: Add explicit declaration of gets.
8317 * elf/tst-unique3lib.cc: Likewise.
8318 * elf/tst-unique3lib2.cc: Likewise.
8319 * elf/tst-unique4.cc: Likewise.
8320
df78418a
UD
8321 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8322
8ecd6b2a
JM
83232012-01-06 Joseph Myers <joseph@codesourcery.com>
8324
8325 [BZ #13566]
8326 * assert/assert.h (static_assert): Don't define for C++.
8327 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8328 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8329
9f115170
UD
83302012-01-03 Ulrich Drepper <drepper@gmail.com>
8331
5e0d0300
UD
8332 * iconv/loop.c (single loop): Fix assertion in storing of
8333 remaining bytes.
8334
9f115170
UD
8335 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8336
81fb02b0
UD
83372012-01-01 Ulrich Drepper <drepper@gmail.com>
8338
8339 * posix/getconf.c: Update copyright year.
8340 * nss/getent.c: Likewise.
a316c1f6 8341 * nss/makedb.c: Likewise.
81fb02b0
UD
8342 * iconv/iconvconfig.c: Likewise.
8343 * iconv/iconv_prog.c: Likewise.
8344 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8345 * elf/pldd.c: Likewise.
8346 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8347 * catgets/gencat.c: Likewise.
8348 * csu/version.c: Likewise.
8349 * elf/ldd.bash.in: Likewise.
8350 * elf/sprof.c (print_version): Likewise.
8351 * locale/programs/locale.c: Likewise.
8352 * locale/programs/localedef.c: Likewise.
a316c1f6 8353 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8354 * nscd/nscd.c (print_version): Likewise.
8355 * debug/xtrace.sh: Likewise.
8356 * malloc/memusage.sh: Likewise.
8357 * malloc/mtrace.pl: Likewise.
8358 * debug/catchsegv.sh: Likewise.
8359
2ba92745
JJ
83602011-12-30 Jakub Jelinek <jakub@redhat.com>
8361
8362 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8363 pure attribute.
8364
dadebdae
UD
83652011-12-24 Ulrich Drepper <drepper@gmail.com>
8366
d3761ebc 8367 [BZ #13533]
db6af3eb
UD
8368 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8369 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8370 transformations.
8371 * iconv/gconv_int.h: Likewise.
8372 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8373 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8374 from libc for GLIBC_2.16.
8375 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8376 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8377 * wcsmbs/uchar.h: Really define mbstate_t.
8378 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8379 * wcsmbs/c16rtomb.c: New file.
8380 * wcsmbs/mbrtoc16.c: New file.
8381 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8382 for C/POSIX locale.
8383 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8384 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8385
dadebdae
UD
8386 * wcsmbs/wchar.h: Add missing __restrict.
8387
67371b56
UD
83882011-12-23 Ulrich Drepper <drepper@gmail.com>
8389
74033a25
UD
8390 [BZ #13532]
8391 * time/Makefile (routines): Add timespec_get.
8392 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8393 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8394 timespec for ISO C11.
8395 * time/timespec_get.c: New file.
8396 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8397 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8398
380d7e87
UD
8399 [BZ #13531]
8400 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8401 * stdlib/stdlib.h: Declare aligned_alloc.
8402 * Versions.def: Add GLIBC_2.16 for libc.
8403 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8404
4e9e7a35
UD
8405 [BZ 13527]
8406 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8407 ISO C11.
8408
380d7e87 8409 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8410 code.
8411
03a71829
UD
8412 [BZ #13528]
8413 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8414
839e283e
UD
8415 [BZ #13529]
8416 * assert/assert.h (static_assert): Define.
8417
ce5294e2 8418 * version.h: Update for 2.16 development version.
90fa7312 8419
8d44e150 8420 [BZ #13526]
d7809905
UD
8421 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8422 _ISOC11_SOURCE.
8423
c0da14cd
UD
8424 * version.h (RELEASE): Bump for 2.15 release.
8425 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8426
530a3249
MP
8427 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8428 Patch by Marek Polacek <mpolacek@redhat.com>.
8429
67371b56
UD
8430 * bits/byteswap.h: Protect long long constants with __extension__.
8431 * sysdeps/i386/bits/byteswap.h: Likewise.
8432 * sysdeps/ia64/bits/byteswap.h: Likewise.
8433 * sysdeps/s390/bits/byteswap.h: Likewise.
8434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8435
15db4de1
LD
84362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8437
8438 [BZ #13540]
bbe315ea
LD
8439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8440 destination buffer.
15db4de1
LD
8441 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8442
2b2596b1
MP
84432011-12-23 Marek Polacek <polacek@redhat.com>
8444
8445 * elf/dl-addr.c (determine_info): Add inline keyword.
8446 * elf/tst-auditmod4b.c (check_avx): Likewise.
8447 * elf/tst-auditmod6b.c (check_avx): Likewise.
8448 * elf/tst-auditmod6c.c (check_avx): Likewise.
8449 * elf/tst-auditmod7b.c (check_avx): Likewise.
8450
70c6c246
UD
84512011-12-23 Ulrich Drepper <drepper@gmail.com>
8452
8453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8454 !__SSE_MATH__.
8455
c044cf14
LD
84562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8457
15db4de1 8458 [BZ #13540]
c044cf14
LD
8459 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8460 processing for last bytes.
8461
6b13d9d9
BH
84622011-08-06 Bruno Haible <bruno@clisp.org>
8463
d455f537
BH
8464 [BZ #13061]
8465 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8466 U+0385, not to U+1FEE.
8467
6b13d9d9
BH
8468 [BZ #13062]
8469 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8470 entry for U+00A5 U+0301.
8471
db910efd
UD
84722011-12-22 Ulrich Drepper <drepper@gmail.com>
8473
27deeafc
UD
8474 [BZ #13166]
8475 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8476 buffer for the output is too small.
8477
aed9d171
UD
8478 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8479 optimization.
8480
db910efd
UD
8481 [BZ #13185]
8482 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8483 SSE flags if possible.
8484
2bd779ae
LD
84852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8486
e7f9dac3 8487 [BZ #13540]
2bd779ae
LD
8488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8489 processing for last bytes.
8490
154bfc16
JM
84912011-12-22 Joseph Myers <joseph@codesourcery.com>
8492
8493 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8494 (syscall-list-default-options, syscall-list-default-condition)
8495 (syscall-list-includes): Define.
8496 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8497 list of ABIs and options and #if conditions for each ABI. Do not
8498 handle common syscalls between ABIs specially.
8499 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8500 Remove.
8501 (syscall-list-variants, syscall-list-32bit-options)
8502 (syscall-list-32bit-condition, syscall-list-64bit-options)
8503 (syscall-list-64bit-condition): Define.
8504 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8505 (syscall-list-variants, syscall-list-32bit-options)
8506 (syscall-list-32bit-condition, syscall-list-64bit-options)
8507 (syscall-list-64bit-condition): Define.
8508 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8509 Remove.
8510 (syscall-list-variants, syscall-list-32bit-options)
8511 (syscall-list-32bit-condition, syscall-list-64bit-options)
8512 (syscall-list-64bit-condition): Define.
8513 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8514 Remove.
8515 (syscall-list-variants, syscall-list-32bit-options)
8516 (syscall-list-32bit-condition, syscall-list-64bit-options)
8517 (syscall-list-64bit-condition): Define.
8518
21eaf3a5
UD
85192011-12-22 Ulrich Drepper <drepper@gmail.com>
8520
16c6f992
UD
8521 * locale/iso-639.def: Add brx entry.
8522
41043168
UD
8523 [BZ #13328]
8524 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8525 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8526
21eaf3a5
UD
8527 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8528 __feraiseexcept_renamed.
8529
e3a851a2
UD
85302011-12-21 Ulrich Drepper <drepper@gmail.com>
8531
4920765e
UD
8532 [BZ #13538]
8533 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8534 EPOLLET with unsigned values.
8535 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8537
e3a851a2
UD
8538 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8539 to large cancellation.
8540 * math/s_cacoshf.c: Likewise.
8541 * math/s_cacoshl.c: Likewise.
8542
b27e24b8
RK
85432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8544
8545 [BZ #13305]
aebefeee 8546 [BZ #12786]
b27e24b8
RK
8547 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8548 * math/s_cacoshf.c: Likewise.
8549 * math/s_cacoshl.c: Likewise.
8550
ee190f67
UD
85512011-12-21 Ulrich Drepper <drepper@gmail.com>
8552
8553 [BZ #13439]
8554 * iconv/gconv.h: Define __GCONV_SWAP.
8555 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8556 * iconvdata/utf-16.c: Likewise.
8557 * iconvdata/utf-32.c: Likewise.
8558
707f25df
AS
85592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 [BZ #13524]
8562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8563 numerator after shifting it by one limb.
8564
d2daaa1e
RÁE
85652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8566
8567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8568 under [__USE_EXTERN_INLINES].
8569
a4647e72
UD
85702011-12-17 Ulrich Drepper <drepper@gmail.com>
8571
8572 [BZ #13446]
8573 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8574
f0b264f1
AZ
85752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8576
8577 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8578 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8579 optimized code.
8580 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8581 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8582 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8583 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8584 for strncasecmp/strncasecmp_l compilation.
8585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8586 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8587
8ef4f244
MP
85882011-12-08 Marek Polacek <mpolacek@redhat.com>
8589
8590 [BZ #13484]
8591 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8592 of __asm__.
8593
97ac2654
UD
85942011-12-17 Ulrich Drepper <drepper@gmail.com>
8595
8596 [BZ #13506]
8597 * time/tzfile.c (__tzfile_read): Check values from file header.
8598
91d2a845
WS
85992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8600
8601 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8602 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8603 * powerpc/powerpc32/dl-start.S: Likewise.
8604 * powerpc/powerpc32/elf/start.S: Likewise.
8605 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8606 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8607 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8608 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8609 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8610 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8611 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8612 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8613 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8614 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8615 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8616 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8617 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8618 * powerpc/powerpc32/memset.S: Likewise.
8619 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8620 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8621 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8622 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8623 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8624 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8625 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8626 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8627 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8628 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8629 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8630 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8631 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8632
a1267ba1
AZ
86332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8634
8635 * math/libm-test.inc: Added more nearbyint tests.
8636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8640
ad8ac1bd
RL
86412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8642
8643 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8644 FD_CLOEXEC.
8645
1d3e4b61
UD
86462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8647
8648 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8649 Add wcscpy-ssse3 wcscpy-c.
8650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8651 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8652 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8653 * sysdeps/x86_64/wcschr.S: New file.
8654 * sysdeps/x86_64/wcsrchr.S: New file.
8655 * string/test-strcmp.c: Remove checking of wcscmp function for
8656 wrong alignments.
8657 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8658 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8659 wcsrchr-sse2 wcsrchr-c.
8660 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8661 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8662 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8663 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8664 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8665 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8666 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8667 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8669 * wcsmbc/wcschr.c (WCSCHR): New macro.
8670
5b330a2d
UD
86712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8672
8673 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8674 * wcsmbs/test-wcsrchr.c: New file.
8675 * string/test-strrchr.c: Add wcsrchr support.
8676 (WIDE): New macro.
8677 * wcsmbs/test-wcscpy.c: New file.
8678 * string/test-strcpy.c: Add wcscpy support.
8679 (WIDE): New macro.
26428b7c 8680
f039c043
UD
86812011-12-10 Ulrich Drepper <drepper@gmail.com>
8682
8683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8684 the inner loop.
8685
850fb039
AS
86862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8687
8688 [BZ #13472]
8689 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8690
4efbd5cb
UD
86912011-12-04 Ulrich Drepper <drepper@gmail.com>
8692
52ff5dd0 8693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8694 Minor optimizations.
52ff5dd0 8695
4efbd5cb
UD
8696 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8697 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8698 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8699
8a426e12
UD
87002011-12-03 Ulrich Drepper <drepper@gmail.com>
8701
aff2453d
UD
8702 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8703 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8704 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8705 for gcc to avoid warnings.
8706 * inet/Makefile (tests): Add tst-checks.
8707 * inet/tst-checks.c: New file.
8708
8709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8710 warning.
8711
8712 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8713 __wmemcmp_sse2.
8714
8715 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8716 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8717
8a426e12
UD
8718 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8719
9bea3473
UD
87202011-12-02 Ulrich Drepper <drepper@gmail.com>
8721
3a965496
UD
8722 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8723 problem.
8724
9bea3473
UD
8725 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8726
f101631b
UD
87272011-11-29 Joseph Myers <joseph@codesourcery.com>
8728
8729 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8730 conditional on GCC version.
8731 (__arch_compare_and_exchange_val_8_acq)
8732 (__arch_compare_and_exchange_val_16_acq)
8733 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8734 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8735 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8736
a98275aa
UD
87372011-12-02 Joseph Myers <joseph@codesourcery.com>
8738
8739 * sysdeps/sh/backtrace.c: New file.
8740
d4cc29a2
AS
87412011-12-02 Andreas Schwab <schwab@redhat.com>
8742
8743 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8744 parenthesis.
8745
6257af2d
AS
87462011-12-01 Andreas Schwab <schwab@redhat.com>
8747
8748 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8749 falling back to utime.
8750
b5f44c1a
AS
87512011-11-30 Andreas Schwab <schwab@redhat.com>
8752
8753 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8754 expectations for float.
8755
f3a6cc0a
AS
87562011-11-29 Andreas Schwab <schwab@redhat.com>
8757
8758 * locale/weight.h (findidx): Add parameter len.
8759 * locale/weightwc.h (findidx): Likewise.
8760 * posix/fnmatch_loop.c (FCT): Adjust caller.
8761 * posix/regcomp.c (build_equiv_class): Likewise.
8762 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8763 * posix/regexec.c (check_node_accept_bytes): Likewise.
8764 * string/strcoll_l.c (STRCOLL): Likewise.
8765 * string/strxfrm_l.c (STRXFRM): Likewise.
8766
9d65ea3a
UD
87672011-11-17 Ulrich Drepper <drepper@gmail.com>
8768
8769 * Makefile.in: Remove CVSOPT handling.
8770 * configure.in: Remove use of AC_REVISION.
8771 * iconvdata/Makefile (distribute): No need to filter out CVS.
8772 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8773 handling.
8774
5583a086
AS
87752011-11-16 Andreas Schwab <schwab@redhat.com>
8776
8777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8778 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8779 [USE_AS_STRNCASECMP_L]: Likewise.
8780 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8781 NO_TLS_DIRECT_SEG_REFS.
8782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8783 Fix argument offsets for non-PIC.
8784 [USE_AS_STRNCASECMP_L]: Likewise.
8785 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8786 NO_TLS_DIRECT_SEG_REFS.
8787
d62a8200
UD
87882011-11-15 Ulrich Drepper <drepper@gmail.com>
8789
9d65ea3a 8790 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8791 O_CLOEXEC.
8792 * locale/loadlocale.c (_nl_load_locale): Likewise.
8793
09f93bd3
AS
87942011-11-15 Andreas Schwab <schwab@redhat.com>
8795
446514f9
AS
8796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8797 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8798 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8799 (SYSCALL_GETTIME): Set errno on error.
8800
09f93bd3
AS
8801 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8802 count references to noai6ai_cached.
8803
312be3f9
UD
88042011-11-15 Ulrich Drepper <drepper@gmail.com>
8805
8806 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8807
8808 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8809 FD_CLOEXEC for /proc/self/maps.
8810
8811 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8812 FD_CLOEXEC for /proc/meminfo.
8813
8814 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8815 gai.conf.
8816
8817 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8818 FD_CLOEXEC for given file.
8819
8820 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8821
8822 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8823 FD_CLOEXEC for /etc/hosts.
8824 (_gethtent): Likewise.
8825
8826 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8827
8828 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8829 cancellation and set FD_CLOEXEC for /etc/netgroup.
8830
8831 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8832 reading /etc/publickey.
8833
8834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8835 allow cancellation when reading /etc/group.
8836
8837 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8838 cancellation.
8839 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8840
8841 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8842 when using data file.
8843
8844 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8845
8846 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8847 (write_nis_obj): Use "c" and "e" in fopen.
8848
8849 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8850
8851 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8852
8853 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8854
8855 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8856
8857 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8858 locale.alias.
8859
8860 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8861
8862 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8863
8864 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8865
8866 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8867 file parsing and set FD_CLOEXEC.
8868
82af0fa8
UD
88692011-11-14 Ulrich Drepper <drepper@gmail.com>
8870
8871 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8872
a5fb313c
AS
88732011-11-14 Andreas Schwab <schwab@redhat.com>
8874
8875 * malloc/arena.c (arena_get2): Don't call reused_arena when
8876 _int_new_arena failed.
8877
6abf3465
UD
88782011-11-14 Ulrich Drepper <drepper@gmail.com>
8879
8880 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8881 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8883 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8886 to compile strcasecmp and strncasecmp.
8887 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8888 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8889
8890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8891
76e3966e
UD
88922011-11-13 Ulrich Drepper <drepper@gmail.com>
8893
8894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8895 locale-defines.sym to gen-as-const-headers.
8896 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8897 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8899 to compile strcasecmp and strncasecmp.
8900 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8901 strcasecmp_l and strncasecmp_l.
8902 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8903 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8904 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8905 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8906 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8907 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8908 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8909 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8910 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8911 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8912 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8913
ab26144e
UD
89142011-11-12 Ulrich Drepper <drepper@gmail.com>
8915
7edb22ef
UD
8916 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8917 result of SYSDEP_GETTIME_CPU to retval.
8918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8919 parameter list to macro. Remove trailing semicolon. Adjust users.
8920
9694fc44
UD
8921 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8922 variable.
8923
8ad89ef8
UD
8924 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8925 mantissa words.
8926 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8927
0c822ef9
UD
8928 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8929 from unused variable.
8930
874e0564
UD
8931 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8932 DWARF definitions.
8933 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8934 for assembling.
8935
3a2edc79
UD
8936 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8937 over namespaces.
8938
f3c2577f
UD
8939 * sunrpc/rpc_prot.c (rejected): Fix case value.
8940
294ce126
UD
8941 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8942 unsigned long long int to avoid warnings in shift.
8943
5e2b63c6
UD
8944 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8945 of use of trans.
8946 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8947 variable tmp.
8948
e7f4b08e
UD
8949 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8950 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8951 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8952
ab26144e
UD
8953 * nis/nis_table.c (nis_list): Use variable of correct type for
8954 result of __follow_path call.
8955
8a6d5255
AZ
89562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8957
8958 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8959 of math functions ceil, trunc, floor, round, and sqrt, when
8960 avaliable on the platform.
8961 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8962 name clash.
8963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8964 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8965 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8966
aaddc98c
MP
89672011-10-30 Marek Polacek <mpolacek@redhat.com>
8968
8969 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8971
95b7042b
RM
89722011-11-11 Roland McGrath <roland@hack.frob.com>
8973
8974 * include/unistd.h: Fix __readlink return type.
8975 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8976
57769839
UD
89772011-11-11 Ulrich Drepper <drepper@gmail.com>
8978
8979 * stdlib/ucontext.h: Undo last change for makecontext.
8980
edc5984d
AS
89812011-11-11 Andreas Schwab <schwab@redhat.com>
8982
98591e58
AS
8983 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8984
edc5984d
AS
8985 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8986 * setjmp/setjmp.h: Mark functions as non-leaf.
8987 * setjmp/bits/setjmp2.h: Likewise.
8988 * stdlib/ucontext.h: Likewise.
8989
77cdc054
AS
89902011-11-10 Andreas Schwab <schwab@redhat.com>
8991
8992 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8993 (reused_arena): Don't check arena limit.
8994 (arena_get2): Atomically check arena limit.
8995
fe72eebd
UD
89962011-11-08 Ulrich Drepper <drepper@gmail.com>
8997
5f078c32
UD
8998 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8999 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9000
fe72eebd
UD
9001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9002 instructions.
9003
ae1bc2fa
AS
90042011-11-07 Andreas Schwab <schwab@redhat.com>
9005
7583a88d
AS
9006 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9007 handler when locking.
9008
ae1bc2fa
AS
9009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9010 Fix size of allocated buffer.
9011
10fb0bfa
AS
90122011-11-04 Andreas Schwab <schwab@redhat.com>
9013
998832a4
AS
9014 [BZ #10103]
9015 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9016 declarations for long double functions.
9017 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9018
10fb0bfa
AS
9019 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9020
3d7ba52b
AS
90212011-11-03 Andreas Schwab <schwab@redhat.com>
9022
a9ae54a1
AS
9023 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9024 installed.
9025
3d7ba52b
AS
9026 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9027 is disabled.
9028
bc8db248
ST
90292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9030
9031 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9032
45b96dd6
AS
90332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9034
647776f6
AS
9035 * include/alloca.h (stackinfo_alloca_round): Define.
9036 (extend_alloca): Use it.
9037 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9038 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9039 here.
9040
d91a8b93
AS
9041 * scripts/check-local-headers.sh: Ignore libaudit.h.
9042
45b96dd6
AS
9043 * nscd/Makefile (extra-objs): Make recursively expanded.
9044
432d41ce
UD
90452011-11-01 Ulrich Drepper <drepper@gmail.com>
9046
34372fc6
UD
9047 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9049
fadb59f8
UD
9050 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9051 * posix/tst-rfc3484-2.c: Likewise.
9052 * posix/tst-rfc3484-3.c: Likewise.
9053
78239589
UD
9054 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9055 process_vm_writev.
9056 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9057 process_vm_writev.
9058 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9059 process_vm_writev from libc using GLIBC_2.15 version.
9060
432d41ce
UD
9061 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9062
02f9c6cf
PP
90632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9064
9065 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9066 stack usage.
9067
3a2c0242
UD
90682011-10-31 Ulrich Drepper <drepper@gmail.com>
9069
f4ec4833
UD
9070 [BZ #13367]
9071 * nss/getent.c (initgroups_keys): Show error message in case no group
9072 names are given.
9073
3a2c0242
UD
9074 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9075 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9076 __bump_nl_timestamp.
9077 * nscd/connections (nscd_init): When host database is served open
9078 netlink socket and request notification about configuration changes.
9079 (main_loop_poll): Track netlink file descriptor and bump timestamp
9080 in case data becomes available.
9081 (main_loop_epoll): Likewise.
9082 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9083 (database_pers_head): Add extra_data fileds.
9084 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9086 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9087 Adjust caller.
9088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9089 in6ai data, call __free_in6ai.
9090 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9091 Add -DHAVE_NETLINK.
9092 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9093 interface information. Reuse previous data if netlink timestamp
9094 is not changed.
9095 (__bump_nl_timestamp): New function.
9096 (__free_in6ai): New function.
9097
636064eb
UD
90982011-10-30 Ulrich Drepper <drepper@gmail.com>
9099
9100 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9101 close_not_cancel_no_status here.
9102 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9103
9beb2334
UD
91042011-10-29 Ulrich Drepper <drepper@gmail.com>
9105
6ef76f3b
UD
9106 [BZ #13276]
9107 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9108 return value.
9109
0ffc4f3e 9110 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9111 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9112 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9113
cb95113e
UD
91142011-07-03 Andreas Jaeger <aj@suse.de>
9115
9116 [BZ #10709]
9117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9118 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9119 * math/libm-test.inc (sin_test): Add test case.
9120
a1b560ff
UD
91212011-10-29 Ulrich Drepper <drepper@gmail.com>
9122
c9aaface
UD
9123 [BZ #13337]
9124 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9125 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9126
d272e7f1
UD
9127 * elf/chroot_canon.c (chroot_canon): Cleanups.
9128
1bc33071
UD
9129 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9130
1760874d
TJ
9131 [BZ #13335]
9132 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9133 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9134
51d91b18
UD
9135 * string/test-strchr.c: Make usable for strchrnul testing.
9136 * string/test-strchrnul.c: New file.
9137 * string/Makefile (strop-tests): Add strchrnul.
9138
a1b560ff 9139 * po/it.po: Update from translation team.
b611fb81 9140 * po/es.po: Likewise.
a1b560ff 9141
a5b81e1f
UD
91422011-10-28 Ulrich Drepper <drepper@gmail.com>
9143
fd52bc6d
UD
9144 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9145 the three constants needed as parameters. Drop the others.
9146 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9147 __m128i_strloadu_tolower.
52e4b9eb
UD
9148 Create and initialize variable zero and use it in all the places
9149 where _mm_setzero_si128 was used.
fd52bc6d 9150
a5b81e1f
UD
9151 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9152 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9153 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9155 anymore.
9156 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9157 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9158 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9159 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9160 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9161 __mpranred, __mptan.
9162 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9163 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9164 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9165 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9166 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9167 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9169 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9170 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9171
b4343346
AS
91722011-10-28 Andreas Schwab <schwab@redhat.com>
9173
0c92d8a8
AS
9174 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9175 redefine if SHARED.
9176 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9177
b4343346
AS
9178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9179 wide char related routines to wcsmbs subdir.
9180
3871f58f
AS
91812011-10-27 Andreas Schwab <schwab@redhat.com>
9182
9183 [BZ #13344]
9184 * misc/sys/cdefs.h (__THROWNL): Define.
9185 * posix/unistd.h: Use __THREADNL instead of __THREAD
9186 for memory synchronization functions.
9187
94d44d9f
RM
91882011-10-26 Roland McGrath <roland@hack.frob.com>
9189
21b64b15 9190 [BZ #13349]
94d44d9f
RM
9191 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9192 doesn't exist.
9193 * manual/stdio.texi (Obstack Streams): Node removed.
9194
f6ce9294
AS
91952011-10-26 Andreas Schwab <schwab@redhat.com>
9196
80479147
AS
9197 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9198 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9200
f6ce9294
AS
9201 * math/math_private.h (math_force_eval): Allow non-addressable
9202 arguments.
9203 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9204
618280a1
UD
92052011-10-25 Ulrich Drepper <drepper@gmail.com>
9206
e0016b11
UD
9207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9208 file is not needed.
9209
9210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9217 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9218 Add AVX variants.
9219 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9220 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9221 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9222 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9223 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9224 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9225 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9226 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9227 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9228 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9229 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9230 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9232 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9233 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9234 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9235 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9236 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9237 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9238
9239 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9240 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9241
618280a1
UD
9242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9243 place. Use VEX encoding when compiling for AVX.
9244
37822576
AS
92452011-10-25 Andreas Schwab <schwab@redhat.com>
9246
1f1e1947
AS
9247 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9248 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9249
37822576
AS
9250 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9251
31ea014d
UD
92522011-10-25 Ulrich Drepper <drepper@gmail.com>
9253
d7826aa1 9254 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9255 useless if() expression.
d7826aa1
UD
9256 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9268 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9270 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9275
31ea014d
UD
9276 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9277
16437fec
AS
92782011-10-25 Andreas Schwab <schwab@redhat.com>
9279
9280 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9281 condition.
9282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9283
31d3cc00
UD
92842011-10-25 Ulrich Drepper <drepper@gmail.com>
9285
9286 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9287 .text section. Avoid duplicate constants.
9288 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9298 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9300 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9303 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9304 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9305 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9312 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9313 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9314 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9315 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9316 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9319 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9320 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9321 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9322 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9323 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9326 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9330 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9331 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9332 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9333
58985aa9
UD
93342011-10-24 Ulrich Drepper <drepper@gmail.com>
9335
202c9deb
UD
9336 * sysdeps/x86_64/dla.h: Move to ...
9337 * sysdeps/x86_64/fpu/dla.h: ...here.
9338 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9339 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9340
af968f62
UD
9341 * config.make.in: Add have-mfma4 entry.
9342 * configure.in: Substitute libc_cv_cc_fma4.
9343 * math/Makefile (dbl-only-routines): Add sincostab.
9344 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9345 Use __sincostab not sincos.
9346 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9347 name is a macro.
9348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9352 using __copysign.
9353 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9354 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9355 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9356 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9357 and __inv.
9358 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9359 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9360 __copysign.
9361 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9362 define aliases when function name is a macro.
9363 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9364 sysdeps/ieee754/dbl-64/sincos.tbl.
9365 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9366 fma4-enabled routines.
9367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9371 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9372 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9377 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9378 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9379 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9380 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9382 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9383 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9384 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9385 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9387 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9388 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9394 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9397
58985aa9
UD
9398 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9399 rename.
9400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9408
a201fbcf
AS
94092011-10-24 Andreas Schwab <schwab@redhat.com>
9410
9411 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9412
fc2ee42a
LD
94132011-10-23 Ulrich Drepper <drepper@gmail.com>
9414
bb3129bd
UD
9415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9416
0275fff8
UD
9417 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9418 prediction.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9420
2fa2ae85
UD
9421 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9422 Remove unused variable magic_bits.
9423 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9424
fc2ee42a
LD
9425 * string/strnlen.c: Define and use STRNLEN macro.
9426 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9427 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9429 * wcsmbs/wcslen.c: Define and use WCSLEN.
9430 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9431 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9432 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9433 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9434 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9435 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9437
ce7dd29f
LD
94382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9439
9440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9441 strnlen-sse2-no-bsf.
9442 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9444 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9445 Add strnlen support.
9446 (USE_AS_STRNLEN): New macro.
9447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9449 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9450 * sysdeps/x86_64/wcslen.S: New file.
9451
979c70a3
MZ
94522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9453
9454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9455 XMM-moves are used for copying on small sizes.
9456
2d09f82f
LD
94572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9458
9459 * wcsmbs/Makefile (strop-tests): Add wcschr.
9460 * wcsmbs/test-wcschr.c: New file.
9461 * string/test-strchr.c: Update.
9462 Add wcschr support.
9463 (WIDE): New macro.
9464
619fccca
LD
94652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9466
2d09f82f 9467 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9468 * wcsmbs/test-wcslen.c: New file.
9469 * string/test-strlen.c: Update.
9470 Add wcslen support.
9471 (WIDE): New macro.
9472
09f699ea
UD
94732011-10-23 Ulrich Drepper <drepper@gmail.com>
9474
9475 * po/it.po: Update from translation team.
9476
95584d3b
LD
94772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9478
9479 * sysdeps/x86_64/wcscmp.S: Update.
9480 Fix wrong comparison semantics.
9481 wcscmp shall use signed comparison not unsigned.
9482 Don't use substraction to avoid overflow bug.
9483 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9484 * wcsmbc/wcscmp.c: Likewise.
9485 * string/test-strcmp.c: Likewise.
9486 Add new tests to check cases with negative values.
9487
c8b3296b
UD
94882011-10-23 Ulrich Drepper <drepper@gmail.com>
9489
9490 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9491 * sysdeps/x86_64/dla.h: ...here. New file.
9492 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9501
246ad57a
AS
95022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9503
9504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9505 __ynl_finite aliases.
9506
a1a87169
UD
95072011-10-22 Ulrich Drepper <drepper@gmail.com>
9508
0d355eb7
UD
9509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9510
a1a87169
UD
9511 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9512 define DLA_FMA.
9513 [DLA_FMA] (EMULV): Use DLA_FMA.
9514 [DLA_FMA] (MUL12): Use EMULV.
9515 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9516 that are not needed.
9517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9524
ee2aafe0
AS
95252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9526
9527 * math/s_nan.c: Undef __nan.
9528 * math/s_nanf.c: Undef __nanf.
9529 * math/s_nanl.c: Undef __nanl.
9530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9531 "math_private.h".
9532
bc62c2fb
UD
95332011-10-22 Ulrich Drepper <drepper@gmail.com>
9534
77425c63
UD
9535 * math/s_catan.c: Add branch predictions.
9536 * math/s_catanf.c: Likewise.
9537 * math/s_catanh.c: Likewise.
9538 * math/s_catanhf.c: Likewise.
9539 * math/s_catanhl.c: Likewise.
9540 * math/s_catanl.c: Likewise.
9541 * math/s_cexp.c: Likewise.
9542 * math/s_cexpf.c: Likewise.
9543 * math/s_cexpl.c: Likewise.
9544 * math/s_clog.c: Likewise.
9545 * math/s_clog10.c: Likewise.
9546 * math/s_clog10f.c: Likewise.
9547 * math/s_clog10l.c: Likewise.
9548 * math/s_clogf.c: Likewise.
9549 * math/s_clogl.c: Likewise.
9550 * math/s_csqrt.c: Likewise.
9551 * math/s_csqrtf.c: Likewise.
9552 * math/s_csqrtl.c: Likewise.
9553 * math/s_ctanf.c: Likewise.
9554 * math/s_ctanh.c: Likewise.
9555 * math/s_ctanhf.c: Likewise.
9556 * math/s_ctanhl.c: Likewise.
9557 * math/s_ctanl.c: Likewise.
9558
bc62c2fb
UD
9559 * math/math_private.h: Define __nan, __nanf, __nanl.
9560 * math/s_cacosh.c: Include <math_private.h>.
9561 * math/s_cacoshl.c: Likewise.
9562 * math/s_casinh.c: Likewise.
9563 * math/s_casinhf.c: Likewise.
9564 * math/s_casinhl.c: Likewise.
9565 * math/s_ccos.c: Rely entire on ccosh.
9566 * math/s_ccosf.c: Rely entire on ccoshf.
9567 * math/s_ccosl.c: Rely entirely on ccoshl.
9568 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9569 Remove tests for FE_INVALID.
9570 * math/s_ccoshf.c: Likewise.
9571 * math/s_ccoshl.c: Likewise.
9572 * math/s_csin.c: Likewise.
9573 * math/s_csinf.c: Likewise.
9574 * math/s_csinh.c Likewise.
9575 * math/s_csinhf.c: Likewise.
9576 * math/s_csinhl.c: Likewise.
9577 * math/s_csinl.c: Likewise.
9578 * math/s_ctan.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9580 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9582
8ec250a4
UD
95832011-10-21 Ulrich Drepper <drepper@gmail.com>
9584
c196fed8
UD
9585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9586 compilation problems.
9587
8ec250a4
UD
9588 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9589 __builtin_expect.
9590
8d4f46c6
UD
95912011-10-20 Ulrich Drepper <drepper@gmail.com>
9592
ed72b654
UD
9593 * sysdeps/i386/configure.in: Test for -mfma4 option.
9594 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9595 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9596 COMMON_CPUID_INDEX_80000001.
9597 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9598 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9599 use it if FMA3 is not supported.
9600 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9601
8d4f46c6
UD
9602 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9603 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9604
d45c60c2
AS
96052011-10-20 Andreas Schwab <schwab@redhat.com>
9606
9607 [BZ #12892]
9608 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9609 it would create a cycle with a link time dependency.
9610
d9a4d2ab
UD
96112011-10-19 Ulrich Drepper <drepper@gmail.com>
9612
855d1560
UD
9613 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9614 instruction.
9615 * string/Makefile (strop-tests): Add rawmemchr.
9616 * string/test-rawmemchr.c: New file.
9617
d9a4d2ab
UD
9618 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9620 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9621 when compiling str{,n}casecmp and when AVX is available. Hook up
9622 new optimized code in initializers.
9623
8f3b1ffe
AS
96242011-10-19 Andreas Schwab <schwab@redhat.com>
9625
9626 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9627 __feraiseexcept instead of feraiseexcept.
9628
d38f1dba
UD
96292011-10-18 Ulrich Drepper <drepper@gmail.com>
9630
d9a8d0ab
UD
9631 * math/math_private.h: Define defaults for libc_fetestexcept and
9632 libc_feupdateenv.
9633 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9636 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9637 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9639 libc_fetestexcept and libc_feupdateenv.
9640
4855e3dd
UD
9641 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9642 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9643 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9644 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9645 libc_feholdexcept_setround.
9646
581d30e3
UD
9647 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9648 Add s_nearbyint-c and s_nearbyintf-c.
9649 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9650 nearbyintf inlines.
9651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9652 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9653 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9654 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9655
d38f1dba
UD
9656 * math/math_private.h: Define defaults for libc_fegetround,
9657 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9658 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9659 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9661 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9662 standard functions.
9663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9664 Remove comments and hacks for old compiler versions.
9665 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9666 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9667 libc_feholdexceptl.
9668
caa6c9d8
AS
96692011-10-18 Andreas Schwab <schwab@redhat.com>
9670
9671 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9672 (__feraiseexcept_renamed): Add __NTH.
9673 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9674 namespace violations.
9675
97c066e6
UD
96762011-10-17 Ulrich Drepper <drepper@gmail.com>
9677
99ce7b04
UD
9678 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9679
1004d182
UD
9680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9681
228a984d
UD
9682 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9683 recently added interfaces.
9684 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9685
c8553a6a
UD
9686 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9687 about macro parameter expansion.
9688
ed22dcf6
UD
9689 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9690 __NO_MATH_INLINES is defined. Cleanups.
9691
9692 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9693 and __floorf is target has SSE4.1.
9694 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9695 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9697 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9698
b171c137
UD
9699 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9700 name.
9701 (floorf): Likewise.
9702
97c066e6
UD
9703 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9704
629f62ef
AS
97052011-10-17 Andreas Schwab <schwab@redhat.com>
9706
49a43d80
AS
9707 * misc/sys/cdefs.h: Fix last change.
9708
629f62ef
AS
9709 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9710 database lookup.
9711
e453f6cd
UD
97122011-10-16 Ulrich Drepper <drepper@gmail.com>
9713
aa78043a
UD
9714 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9715
ad0f5cad
UD
9716 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9722 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9725 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9726 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9727 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9728 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9729 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9730 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9731 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9732 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9733 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9734 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9735 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9736 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9737 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9738
9739 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9740 ceil, ceilf, floor, floorf.
9741
9742 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9743 Perform IRELATIVE relocations last.
9744
e453f6cd
UD
9745 * elf/do-rel.h: Add another parameter nrelative, replacing the
9746 local variable with the same name. Change name of the function
9747 to end in Rel or Rela (uppercase).
9748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9749 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9750 elf_dynamic_do_##reloc function.
9751
fd5bdc09
UD
97522011-10-15 Ulrich Drepper <drepper@gmail.com>
9753
79b195b5
UD
9754 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9755 is sufficient, at least on modern CPUs.
9756
d4a28569
UD
9757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9758
b61099b5
UD
9759 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9761
bcf01e6d
UD
9762 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9763 __expl_finite.
9764 * math/bits/math-finite.h: Add entries for exp.
9765 * math/e_expl.c: Add __*_finite alias.
9766 * sysdeps/i386/fpu/e_exp.S: Likewise.
9767 * sysdeps/i386/fpu/e_expf.S: Likewise.
9768 * sysdeps/i386/fpu/e_expl.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9770 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9773 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9774 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9775 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9776
ba1a0d59
UD
9777 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9778 is sufficient, at least on modern CPUs.
9779
fd5bdc09
UD
9780 * ctype/ctype-info.c (__ctype_init): Define.
9781 * include/ctype.h (__ctype_init): Declare.
9782 (__ctype_b_loc): The variable is always initialized.
9783 (__ctype_toupper_loc): Likewise.
9784 (__ctype_tolower_loc): Likewise.
9785 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9786 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9787
7872cfb0
AS
97882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9789
b468825a
AS
9790 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9791
7872cfb0
AS
9792 * configure.in: Also look in $cxxmachine/include for C++ system
9793 headers.
9794
be13f7bf
LD
97952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9796
9797 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9798 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9799 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9800 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9802 (USE_AS_WMEMCMP): New macro.
9803 Fixing indents.
9804 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9805 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9806 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9807 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9809 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9810 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9811 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9812 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9813 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9814 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9815 (USE_AS_WMEMCMP): New macro.
9816 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9817 * sysdeps/string/test-memcmp.c: Update.
9818 Fix simple_wmemcmp.
9819 Add new tests.
9820 * wcsmbs/wmemcmp.c: Update.
9821 (WMEMCMP): New macro.
9822 Fix overflow bug.
9823
556a2007
AJ
98242011-10-12 Andreas Jaeger <aj@suse.de>
9825
9826 [BZ #13268]
9827 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9828
538faaa7
UD
98292011-10-15 Ulrich Drepper <drepper@gmail.com>
9830
ab6737ff
UD
9831 * libio/iofwide.c (do_length): Avoid warning.
9832
538faaa7
UD
9833 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9834
396a21b1
UD
98352011-10-14 Ulrich Drepper <drepper@gmail.com>
9836
cdf2901f
UD
9837 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9838
38ad40ce
UD
9839 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9840 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9841 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9842 * sysdeps/i386/i686/fpu/e_log.S: New file.
9843 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9844 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9845
396a21b1
UD
9846 * ctype/ctype.h: Add support for inlined isXXX functions when
9847 compiling C++ code.
9848
6b1f68c9
AS
98492011-10-14 Andreas Schwab <schwab@redhat.com>
9850
349290c0
AS
9851 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9852
6b1f68c9
AS
9853 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9854
f2282d42
RM
98552011-10-13 Roland McGrath <roland@hack.frob.com>
9856
9857 [BZ #13291]
9858 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9859
5298ffa8
AS
98602011-10-13 Andreas Schwab <schwab@redhat.com>
9861
714fad23
AS
9862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9863 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9864 feraiseexcept.
9865
81dcc7fb
AS
9866 * sysdeps/x86_64/memrchr.S: Check for zero size.
9867
5298ffa8
AS
9868 * string/stratcliff.c: Add memrchr tests.
9869
951fbcec
LD
98702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9871
9872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9873 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9874 rawmemchr-sse2 rawmemchr-sse2-bsf.
9875 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9876 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9877 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9878 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9879 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9880 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9881 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9882 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9883 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9884 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9885 * string/memrchr.c (MEMRCHR): New macro.
9886
0ac5ae23
UD
98872011-10-12 Ulrich Drepper <drepper@gmail.com>
9888
9889 Add integration with gcc's -ffinite-math-only and optimize wrapper
9890 functions in libm.
9891 * Versions.def: Define GLIBC_2.15 version for libm.
9892 * math/Makefile (headers): Add bits/math-finite.h.
9893 * math/bits/math-finite.h: New file.
9894 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9895 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9896 * math/e_acoshl.c: Add __*_finite alias.
9897 * math/e_acosl.c: Likewise.
9898 * math/e_asinl.c: Likewise.
9899 * math/e_atan2l.c: Likewise.
9900 * math/e_atanhl.c: Likewise.
9901 * math/e_coshl.c: Likewise.
9902 * math/e_exp10.c: Likewise.
9903 * math/e_exp10f.c: Likewise.
9904 * math/e_exp10l.c: Likewise.
9905 * math/e_exp2l.c: Likewise.
9906 * math/e_fmodl.c: Likewise.
9907 * math/e_gammal_r.c: Likewise.
9908 * math/e_hypotl.c: Likewise.
9909 * math/e_j0l.c: Likewise.
9910 * math/e_j1l.c: Likewise.
9911 * math/e_jnl.c: Likewise.
9912 * math/e_lgammal_r.c: Likewise.
9913 * math/e_log10l.c: Likewise.
9914 * math/e_log2l.c: Likewise.
9915 * math/e_logl.c: Likewise.
9916 * math/e_powl.c: Likewise.
9917 * math/e_sinhl.c: Likewise.
9918 * math/e_sqrtl.c: Likewise.
9919 * math/e_scalb.c: Completely rewritten and optimized.
9920 * math/e_scalbf.c: Likewise.
9921 * math/e_scalbl.c: Likewise.
9922 * math/w_acos.c: Likewise.
9923 * math/w_acosf.c: Likewise.
9924 * math/w_acosl.c: Likewise.
9925 * math/w_acosh.c: Likewise.
9926 * math/w_acoshf.c: Likewise.
9927 * math/w_acoshl.c: Likewise.
9928 * math/w_asin.c: Likewise.
9929 * math/w_asinf.c: Likewise.
9930 * math/w_asinl.c: Likewise.
9931 * math/w_atan2.c: Likewise.
9932 * math/w_atan2f.c: Likewise.
9933 * math/w_atan2l.c: Likewise.
9934 * math/w_atanh.c: Likewise.
9935 * math/w_atanhf.c: Likewise.
9936 * math/w_atanhl.c: Likewise.
9937 * math/w_exp10.c: Likewise.
9938 * math/w_exp10f.c: Likewise.
9939 * math/w_exp10l.c: Likewise.
9940 * math/w_fmod.c: Likewise.
9941 * math/w_fmodf.c: Likewise.
9942 * math/w_fmodl.c: Likewise.
9943 * math/w_j0.c: Likewise.
9944 * math/w_j0f.c: Likewise.
9945 * math/w_j0l.c: Likewise.
9946 * math/w_j1.c: Likewise.
9947 * math/w_j1f.c: Likewise.
9948 * math/w_j1l.c: Likewise.
9949 * math/w_jn.c: Likewise.
9950 * math/w_jnf.c: Likewise.
9951 * math/w_log.c: Likewise.
9952 * math/w_logf.c: Likewise.
9953 * math/w_logl.c: Likewise.
9954 * math/w_log10.c: Likewise.
9955 * math/w_log10f.c: Likewise.
9956 * math/w_log10l.c: Likewise.
9957 * math/w_log2.c: Likewise.
9958 * math/w_log2f.c: Likewise.
9959 * math/w_log2l.c: Likewise.
9960 * math/w_pow.c: Likewise.
9961 * math/w_powf.c: Likewise.
9962 * math/w_powl.c: Likewise.
9963 * math/w_remainder.c: Likewise.
9964 * math/w_remainderf.c: Likewise.
9965 * math/w_remainderl.c: Likewise.
9966 * math/w_scalb.c: Likewise.
9967 * math/w_scalbf.c: Likewise.
9968 * math/w_scalbl.c: Likewise.
9969 * math/w_sqrt.c: Likewise.
9970 * math/w_sqrtf.c: Likewise.
9971 * math/w_sqrtl.c: Likewise.
9972 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9973 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9974 used.
9975 * math/math_private.h: Declare __kernel_standard_f.
9976 * math/w_cosh.c: Remove cruft and optimize a bit.
9977 * math/w_coshf.c: Likewise.
9978 * math/w_coshl.c: Likewise.
9979 * math/w_exp2.c: Likewise.
9980 * math/w_exp2f.c: Likewise.
9981 * math/w_exp2l.c: Likewise.
9982 * math/w_hypot.c: Likewise.
9983 * math/w_hypotf.c: Likewise.
9984 * math/w_hypotl.c: Likewise.
9985 * math/w_lgamma.c: Likewise.
9986 * math/w_lgamma_r.c: Likewise.
9987 * math/w_lgammaf.c: Likewise.
9988 * math/w_lgammaf_r.c: Likewise.
9989 * math/w_lgammal.c: Likewise.
9990 * math/w_lgammal_r.c: Likewise.
9991 * math/w_sinh.c: Likewise.
9992 * math/w_sinhf.c: Likewise.
9993 * math/w_sinhl.c: Likewise.
9994 * math/w_tgamma.c: Likewise.
9995 * math/w_tgammaf.c: Likewise.
9996 * math/w_tgammal.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9999 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10000 Minor optimizations. Pretty printing. Remove cruft.
10001 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10003 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10004 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10005 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10006 * sysdeps/i386/fpu/e_asin.S: Likewise.
10007 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10008 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10009 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10010 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10012 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10013 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10014 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10015 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10016 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10017 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10018 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10019 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10020 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10021 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10022 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10023 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10024 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10025 * sysdeps/i386/fpu/e_log.S: Likewise.
10026 * sysdeps/i386/fpu/e_log10.S: Likewise.
10027 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10029 * sysdeps/i386/fpu/e_log2.S: Likewise.
10030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10031 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10032 * sysdeps/i386/fpu/e_logf.S: Likewise.
10033 * sysdeps/i386/fpu/e_logl.S: Likewise.
10034 * sysdeps/i386/fpu/e_pow.S: Likewise.
10035 * sysdeps/i386/fpu/e_powf.S: Likewise.
10036 * sysdeps/i386/fpu/e_powl.S: Likewise.
10037 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10038 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10039 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10040 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10041 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10042 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10043 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10044 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10045 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10067 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10068 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10069 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10071 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10073 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10074 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10075 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10076 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10077 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10080 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10081 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10082 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10083 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10084 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10085 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10086 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10088 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10090 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10096 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10098 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10099 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10101 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10102 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10103 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10104 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10106 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10131 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10132 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10139 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10141 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10142 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10143 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10144 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10145 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10146 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10147 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10148 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10149 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10150 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10151 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10154 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10156 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10157 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10158 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10159 (__isnanf): Likewise.
10160 (__isinf_ns): Likewise.
10161 (__isinf_nsf): Likewise.
10162 (__finite): Likewise.
10163 (__finitef): Likewise.
10164 (__ieee754_sqrt): Define as macro.
10165 (__ieee754_sqrtf): Define as macro.
10166 (__ieee754_sqrtl): Define as macro.
10167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10168 inlined copy.
10169 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10170 __FINITE_MATH_ONLY__ consistent.
10171 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10172
12cc2fcd
AS
101732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10174
a843a204
AS
10175 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10176 of rawmemchr.
10177
12cc2fcd
AS
10178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10179
c853acd5
UD
101802011-10-09 Ulrich Drepper <drepper@gmail.com>
10181
10182 * po/ja.po: Update from translation team.
10183
c658d255
RM
101842011-10-08 Roland McGrath <roland@hack.frob.com>
10185
110946e4
RM
10186 * locale/programs/locarchive.c (prepare_address_space): New function.
10187 (create_archive, enlarge_archive, open_archive): Use it.
10188
50604220
RM
10189 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10190 inside [SHARED], where it is used.
10191
c658d255
RM
10192 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10193
10194 * nss/getent.c (netgroup_keys): Remove unused variable.
10195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10196
6a621eb7
UD
101972011-10-08 Ulrich Drepper <drepper@gmail.com>
10198
7edb55ce
UD
10199 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10203 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10204 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10205 * math/Makefile (libm-calls): Add s_isinf_ns.
10206 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10207 * math/multc3.c: Likewise.
10208 * math/s_casin.c: Likewise.
10209 * math/s_casinf.c: Likewise.
10210 * math/s_casinl.c: Likewise.
10211 * math/s_ccos.c: Likewise.
10212 * math/s_ccosf.c: Likewise.
10213 * math/s_ccosl.c: Likewise.
10214 * math/s_ctan.c: Likewise.
10215 * math/s_ctanf.c: Likewise.
10216 * math/s_ctanh.c: Likewise.
10217 * math/s_ctanhf.c: Likewise.
10218 * math/s_ctanhl.c: Likewise.
10219 * math/s_ctanl.c: Likewise.
10220 * math/w_fmod.c: Likewise.
10221 * math/w_fmodf.c: Likewise.
10222 * math/w_fmodl.c: Likewise.
10223 * math/w_remainder.c: Likewise.
10224 * math/w_remainderf.c: Likewise.
10225 * math/w_remainderl.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10227 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10230 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10231 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10232 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10233 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10234
187da0ae
UD
10235 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10236 of the number.
10237 * stdio-common/printf_fphex.c: Likewise.
10238 * stdio-common/printf_size.c: Likewise.
10239
9277c064
UD
10240 * math/e_exp10.c: Include math_private.h using <...> not "...".
10241 * math/e_exp10f.c: Likewise.
10242 * math/e_exp10l.c: Likewise.
10243 * math/e_exp2l.c: Likewise.
10244 * math/e_j0l.c: Likewise.
10245 * math/e_j1l.c: Likewise.
10246 * math/e_jnl.c: Likewise.
10247 * math/e_lgammal_r.c: Likewise.
10248 * math/e_rem_pio2l.c: Likewise.
10249 * math/e_scalb.c: Likewise.
10250 * math/e_scalbf.c: Likewise.
10251 * math/e_scalbl.c: Likewise.
10252 * math/k_cosl.c: Likewise.
10253 * math/k_sinl.c: Likewise.
10254 * math/k_tanl.c: Likewise.
10255 * math/s_cacoshf.c: Likewise.
10256 * math/s_catan.c: Likewise.
10257 * math/s_catanf.c: Likewise.
10258 * math/s_catanh.c: Likewise.
10259 * math/s_catanhf.c: Likewise.
10260 * math/s_catanhl.c: Likewise.
10261 * math/s_catanl.c: Likewise.
10262 * math/s_ccosh.c: Likewise.
10263 * math/s_ccoshf.c: Likewise.
10264 * math/s_ccoshl.c: Likewise.
10265 * math/s_cexp.c: Likewise.
10266 * math/s_cexpf.c: Likewise.
10267 * math/s_cexpl.c: Likewise.
10268 * math/s_clog.c: Likewise.
10269 * math/s_clog10.c: Likewise.
10270 * math/s_clog10f.c: Likewise.
10271 * math/s_clog10l.c: Likewise.
10272 * math/s_clogf.c: Likewise.
10273 * math/s_clogl.c: Likewise.
10274 * math/s_csin.c: Likewise.
10275 * math/s_csinf.c: Likewise.
10276 * math/s_csinh.c: Likewise.
10277 * math/s_csinhf.c: Likewise.
10278 * math/s_csinhl.c: Likewise.
10279 * math/s_csinl.c: Likewise.
10280 * math/s_csqrt.c: Likewise.
10281 * math/s_csqrtf.c: Likewise.
10282 * math/s_csqrtl.c: Likewise.
10283 * math/s_ctan.c: Likewise.
10284 * math/s_ctanf.c: Likewise.
10285 * math/s_ctanh.c: Likewise.
10286 * math/s_ctanhf.c: Likewise.
10287 * math/s_ctanhl.c: Likewise.
10288 * math/s_ctanl.c: Likewise.
10289 * math/s_ldexp.c: Likewise.
10290 * math/s_ldexpf.c: Likewise.
10291 * math/s_ldexpl.c: Likewise.
10292 * math/s_significand.c: Likewise.
10293 * math/s_significandf.c: Likewise.
10294 * math/s_significandl.c: Likewise.
10295 * math/w_acos.c: Likewise.
10296 * math/w_acosf.c: Likewise.
10297 * math/w_acosh.c: Likewise.
10298 * math/w_acoshf.c: Likewise.
10299 * math/w_acoshl.c: Likewise.
10300 * math/w_acosl.c: Likewise.
10301 * math/w_asin.c: Likewise.
10302 * math/w_asinf.c: Likewise.
10303 * math/w_asinl.c: Likewise.
10304 * math/w_atan2.c: Likewise.
10305 * math/w_atan2f.c: Likewise.
10306 * math/w_atan2l.c: Likewise.
10307 * math/w_atanh.c: Likewise.
10308 * math/w_atanhf.c: Likewise.
10309 * math/w_atanhl.c: Likewise.
10310 * math/w_cosh.c: Likewise.
10311 * math/w_coshf.c: Likewise.
10312 * math/w_coshl.c: Likewise.
10313 * math/w_dremf.c: Likewise.
10314 * math/w_exp10.c: Likewise.
10315 * math/w_exp10f.c: Likewise.
10316 * math/w_exp10l.c: Likewise.
10317 * math/w_exp2.c: Likewise.
10318 * math/w_exp2f.c: Likewise.
10319 * math/w_fmod.c: Likewise.
10320 * math/w_fmodf.c: Likewise.
10321 * math/w_fmodl.c: Likewise.
10322 * math/w_hypot.c: Likewise.
10323 * math/w_hypotf.c: Likewise.
10324 * math/w_hypotl.c: Likewise.
10325 * math/w_j0.c: Likewise.
10326 * math/w_j0f.c: Likewise.
10327 * math/w_j0l.c: Likewise.
10328 * math/w_j1.c: Likewise.
10329 * math/w_j1f.c: Likewise.
10330 * math/w_j1l.c: Likewise.
10331 * math/w_jn.c: Likewise.
10332 * math/w_jnf.c: Likewise.
10333 * math/w_jnl.c: Likewise.
10334 * math/w_lgamma.c: Likewise.
10335 * math/w_lgamma_r.c: Likewise.
10336 * math/w_lgammaf.c: Likewise.
10337 * math/w_lgammaf_r.c: Likewise.
10338 * math/w_lgammal.c: Likewise.
10339 * math/w_lgammal_r.c: Likewise.
10340 * math/w_log.c: Likewise.
10341 * math/w_log10.c: Likewise.
10342 * math/w_log10f.c: Likewise.
10343 * math/w_log10l.c: Likewise.
10344 * math/w_log2.c: Likewise.
10345 * math/w_log2f.c: Likewise.
10346 * math/w_log2l.c: Likewise.
10347 * math/w_logf.c: Likewise.
10348 * math/w_logl.c: Likewise.
10349 * math/w_pow.c: Likewise.
10350 * math/w_powf.c: Likewise.
10351 * math/w_powl.c: Likewise.
10352 * math/w_remainder.c: Likewise.
10353 * math/w_remainderf.c: Likewise.
10354 * math/w_remainderl.c: Likewise.
10355 * math/w_scalb.c: Likewise.
10356 * math/w_scalbf.c: Likewise.
10357 * math/w_scalbl.c: Likewise.
10358 * math/w_sinh.c: Likewise.
10359 * math/w_sinhf.c: Likewise.
10360 * math/w_sinhl.c: Likewise.
10361 * math/w_sqrt.c: Likewise.
10362 * math/w_sqrtf.c: Likewise.
10363 * math/w_sqrtl.c: Likewise.
10364 * math/w_tgamma.c: Likewise.
10365 * math/w_tgammaf.c: Likewise.
10366 * math/w_tgammal.c: Likewise.
10367
6a621eb7
UD
10368 * po/ja.po: Update from translation team.
10369
bf582445
AJ
103702011-09-29 Andreas Jaeger <aj@suse.de>
10371
f9efbf3a
AJ
10372 [BZ #13179]
10373 * sunrpc/netname.c (netname2host): Fix logic.
10374
bf582445
AJ
10375 [BZ #6779]
10376 [BZ #6783]
10377 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10378 correctly.
10379 * math/w_remainder.c (__remainder): Likewise.
10380 * math/w_remainderf.c (__remainderf): Likewise.
10381 * math/libm-test.inc (remainder_test): Add test cases.
10382
48693bea
AK
103832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10384
10385 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10386 sdiv_qrnnd.
10387
42622229
LD
103882011-10-07 Ulrich Drepper <drepper@gmail.com>
10389
10390 * string/test-memcmp.c: Avoid unncessary #defines.
10391 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10392
093ecf92
LD
103932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10394
10395 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10396 Use new sse2 version for core i3 - i7 as it's faster
10397 than sse42 version.
10398 (bit_Prefer_PMINUB_for_stringop): New.
10399 * sysdeps/x86_64/rawmemchr.S: Update.
10400 Replace with faster SSE2 version.
10401 * sysdeps/x86_64/memrchr.S: New file.
10402 * sysdeps/x86_64/memchr.S: Update.
10403 Replace with faster SSE2 version.
10404
fde56e5c
MP
104052011-09-12 Marek Polacek <mpolacek@redhat.com>
10406
10407 * elf/dl-load.c (lose): Add cast to avoid warning.
10408
21fd49a9
UD
104092011-10-07 Ulrich Drepper <drepper@gmail.com>
10410
5a06e643
UD
10411 * po/ca.po: Update from translation team.
10412
684ae515
UD
10413 * inet/getnetgrent_r.c: Hook up nscd.
10414 * nscd/Makefile (routines): Add nscd_netgroup.
10415 (nscd-modules): Add netgroupcache.
10416 (CFLAGS-netgroupcache.c): Define.
10417 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10418 (cache_search): Add const to second parameter.
10419 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10420 INNETGR.
10421 (dbs): Add netgrdb entry.
10422 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10423 (verify_persistent_db): Handle netgrdb.
10424 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10425 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10426 GETFDNETGR.
10427 (netgroup_response_header): Define.
10428 (innetgroup_response_header): Define.
10429 (datahead): Add netgroup_response_header and innetgroup_response_header
10430 elements.
10431 * nscd/nscd.conf: Add entries for netgroup cache.
10432 * nscd/nscd.h (dbtype): Add netgrdb.
10433 (_PATH_NSCD_NETGROUP_DB): Define.
10434 (netgroup_iov_disabled): Declare.
10435 (xmalloc, xcalloc, xrealloc): Move declarations here.
10436 (cache_search): Adjust prototype.
10437 Add netgroup-related prototypes.
10438 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10439 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10440 (__nscd_innetgr): Declare.
10441 * nscd/selinux.c (perms): Use access_vector_t as element type and
10442 add netgroup-related initializers.
10443 * nscd/netgroupcache.c: New file.
10444 * nscd/nscd_netgroup.c: New file.
10445 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10446 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10447 For four parameters use innetgr.
10448 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10449 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10450 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10451 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10452
21fd49a9
UD
10453 * nscd/connections.c (register_traced_file): Don't register file
10454 for disabled databases.
10455
054c0457
UD
104562011-10-06 Ulrich Drepper <drepper@gmail.com>
10457
32b63198
UD
10458 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10459
054c0457
UD
10460 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10461 from tree and freeing node.
10462
64031225
JO
104632011-09-25 Jiri Olsa <jolsa@redhat.com>
10464
10465 * nss/nsswitch.c (__nss_database_lookup): Handle
10466 nss_parse_service_list out of memory case.
10467
0490345c
JO
104682011-09-15 Jiri Olsa <jolsa@redhat.com>
10469
10470 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10471 out of memory case.
10472
3a62d00d
AS
104732011-10-04 Andreas Schwab <schwab@redhat.com>
10474
10475 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10476 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10477 pass it down.
10478 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10479 elf_machine_rela, elf_machine_lazy_rel.
10480 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10481 (ELF_DYNAMIC_DO_REL): Likewise.
10482 (ELF_DYNAMIC_DO_RELA): Likewise.
10483 (ELF_DYNAMIC_RELOCATE): Likewise.
10484 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10485 to ELF_DYNAMIC_DO_REL.
10486 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10487 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10488 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10489 elf_machine_rela.
10490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10491 skip_ifunc, don't call ifunc function if non-zero.
10492 (elf_machine_rela): Likewise.
10493 (elf_machine_lazy_rel): Likewise.
10494 (elf_machine_lazy_rela): Likewise.
10495 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10496 (elf_machine_lazy_rel): Likewise.
10497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10498 Likewise.
10499 (elf_machine_lazy_rel): Likewise.
10500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10501 Likewise.
10502 (elf_machine_lazy_rel): Likewise.
10503 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10504 (elf_machine_lazy_rel): Likewise.
10505 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10506 (elf_machine_lazy_rel): Likewise.
10507 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10508 (elf_machine_lazy_rel): Likewise.
10509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10510 (elf_machine_lazy_rel): Likewise.
10511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10512 (elf_machine_lazy_rel): Likewise.
10513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10514 (elf_machine_lazy_rel): Likewise.
10515
68577918
UD
105162011-09-28 Ulrich Drepper <drepper@gmail.com>
10517
10518 * nss/nss_files/files-init.c (_nss_files_init): Use static
10519 initialization for all the *_traced_file variables.
10520
68822d74
AS
105212011-09-28 Andreas Schwab <schwab@redhat.com>
10522
10523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10524
2056100b
RM
105252011-09-27 Roland McGrath <roland@hack.frob.com>
10526
10527 [BZ #13226]
10528 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10529
32c76b63
AS
105302011-09-27 Andreas Schwab <schwab@redhat.com>
10531
10532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10533 Reread the line before reparsing it.
10534
bf972c9d
AS
105352011-09-26 Andreas Schwab <schwab@redhat.com>
10536
10537 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10538
e057a1b5
JM
105392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10540 Maxim Kuvyrkov <maxim@codesourcery.com>
10541 Joseph Myers <joseph@codesourcery.com>
10542
10543 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10544 if needed for __stack_chk_guard.
10545
bc7e1c36
RM
105462011-09-19 Roland McGrath <roland@hack.frob.com>
10547
ecb1482f
RM
10548 * sysdeps/posix/spawni.c (script_execute): Always define it.
10549 It will be optimized away if unused.
10550 (maybe_script_execute): New function.
10551 (__spawni): Call it.
10552
bc7e1c36
RM
10553 * Makerules: Don't include tls.make.
10554 (config-tls): Always set to thread.
10555 * tls.make.c: File removed.
10556
1c3b002b
MF
105572011-09-19 Mike Frysinger <vapier@gentoo.org>
10558
10559 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10560 * config.make.in (CPPFLAGS-config): New substituted variable.
10561
2840865d
UD
105622011-09-15 Ulrich Drepper <drepper@gmail.com>
10563
88738eb6
UD
10564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10565
cbf645a6 10566 [BZ #13192]
2840865d
UD
10567 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10568 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10569
b402e91a
RM
105702011-09-15 Roland McGrath <roland@hack.frob.com>
10571
10572 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10573 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10575 (CALL_FAIL): Likewise.
10576 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10577 (CALL_FAIL): Macro removed.
10578 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10579
4c1a1f71
UD
105802011-09-15 Ulrich Drepper <drepper@gmail.com>
10581
10582 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10583 for __FINITE_MATH_ONLY__ == 1.
10584
edc121be
AS
105852011-09-15 Andreas Schwab <schwab@redhat.com>
10586
10587 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10588 __ieee754_sqrt instead of sqrt.
10589 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10590 __ieee754_sqrtf instead of sqrtf.
10591 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10592 __floorf instead of floorf.
10593 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10594 __floorf, __truncf instead of floorf, truncf.
10595
cd205654
UD
105962011-09-14 Ulrich Drepper <drepper@gmail.com>
10597
ee4d0315
UD
10598 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10599
cd205654
UD
10600 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10601 __extern_always_inline.
10602 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10603 32-bit.
10604
48b67d71
AS
106052011-09-14 Andreas Schwab <schwab@redhat.com>
10606
10607 * elf/rtld.c (dl_main): Also relocate in dependency order when
10608 doing symbol dependency testing.
10609
1ae12c75
AS
106102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10611
10612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10613 Always define `refsym'.
10614
995a80df
AS
106152011-09-13 Andreas Schwab <schwab@redhat.com>
10616
e529793b
AS
10617 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10618 (__FD_ELT): Renamed from __FDELT.
10619 * misc/bits/select2.h (__FD_ELT): Likewise.
10620 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10621 __FD_MASK instead of __FDELT, __FDMASK.
10622 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10623 Likewise.
10624 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10625 Likewise.
10626
52d4fef8
AS
10627 * elf/Makefile (gen-ldd): Fix pattern.
10628
995a80df
AS
10629 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10630 (init_tls): Likewise.
10631
8682f8b0
UD
106322011-09-12 Ulrich Drepper <drepper@gmail.com>
10633
10634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10635
de82006d
AS
106362011-09-12 Andreas Schwab <schwab@redhat.com>
10637
a7c8e6a1
AS
10638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10639 `struct cmsghdr *' instead of `void *'.
10640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10641 Likewise.
10642
0f31fe77
AS
106432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10644
10645 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10646 if non-absolute.
10647 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10648 ldd_rewrite_script.
0f31fe77 10649
32b4c839
UD
106502011-09-11 Ulrich Drepper <drepper@gmail.com>
10651
83cd1420
UD
10652 * configure.in: Remove --with-tls option.
10653 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10654 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10655 out in case it is missing.
10656 * sysdeps/ia64/elf/configure.in: Likewise.
10657 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10658 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10659 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10660 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10661 * sysdeps/sh/elf/configure.in: Likewise.
10662 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10664 * sysdeps/x86_64/elf/configure.in: Likewise.
10665 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10666 * sysdeps/mach/hurd/tls.h: Likewise.
10667
633f745d
UD
10668 [BZ #13067]
10669 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10670
f318beb8
UD
10671 [BZ #13090]
10672 * configure.in: Fix use of AC_INIT.
10673
32b4c839
UD
10674 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10675
3ce1f295
UD
106762011-09-10 Ulrich Drepper <drepper@gmail.com>
10677
bb016596
UD
10678 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10679 __set_errno.
8e58439c
UD
10680 * malloc/hooks.c: Likewise.
10681
aebae053 10682 [BZ #11929]
02d46fc4
UD
10683 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10684 variables statically.
10685 (narenas): Initialize.
10686 (list_lock): Initialize.
bb016596
UD
10687 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10688 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10689 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10690 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10691 Add initializers to main_arena and mp_.
10692 (malloc_state): Remove pagesize member. Change all users to use
10693 GLRO(dl_pagesize).
10694
10695 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10696 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10697 is always initialized.
10698
22a89187
UD
10699 * malloc/malloc.c: Removed unused configurations and dead code.
10700 * malloc/arena.c: Likewise.
10701 * malloc/hooks.c: Likewise.
02d46fc4 10702 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10703
d063d164
UD
10704 * include/tls.h: Removed. USE___THREAD must always be defined.
10705 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10706 * elf/dl-libc.c: Likewise.
10707 * elf/dl-tsd.c: Likewise.
10708 * include/errno.h: Likewise.
10709 * include/netdb.h: Likewise.
10710 * include/resolv.h: Likewise.
10711 * inet/herrno-loc.c: Likewise.
10712 * inet/herrno.c: Likewise.
10713 * malloc/arena.c: Likewise.
10714 * malloc/hooks.c: Likewise.
10715 * malloc/malloc.c: Likewise.
10716 * resolv/res-state.c: Likewise.
10717 * resolv/res_libc.c: Likewise.
10718 * sysdeps/i386/dl-machine.h: Likewise.
10719 * sysdeps/ia64/dl-machine.h: Likewise.
10720 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10721 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10722 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10723 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10724 * sysdeps/sh/dl-machine.h: Likewise.
10725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10727 * sysdeps/unix/i386/sysdep.S: Likewise.
10728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10729 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10734 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10739 * sysdeps/x86_64/dl-machine.h: Likewise.
10740 * tls.make.c: Likewise.
10741
3ce1f295
UD
10742 * configure.in: Remove --with-__thread option. Make tests for
10743 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10744 tls_model attribute fail if no support is available. Remove
10745 USE_IN_LIBIO.
10746 * Makeconfig: Adjust for dropped configure option. All features are
10747 now mandatory.
10748 * Makerules: Likewise.
10749 * Versions.def: Likewise.
10750 * argp/argp-fmtstream.c: Likewise.
10751 * argp/argp-fmtstream.h: Likewise.
10752 * argp/argp-help.c: Likewise.
10753 * assert/assert.c: Likewise.
10754 * config.h.in: Likewise.
10755 * config.make.in: Likewise.
10756 * configure: Likewise.
10757 * configure.in: Likewise.
10758 * csu/Versions: Likewise.
10759 * csu/init.c: Likewise.
10760 * elf/tst-audit2.c: Likewise.
10761 * elf/tst-tls10.c: Likewise.
10762 * elf/tst-tls10.h: Likewise.
10763 * elf/tst-tls11.c: Likewise.
10764 * elf/tst-tls12.c: Likewise.
10765 * elf/tst-tls14.c: Likewise.
10766 * elf/tst-tlsmod11.c: Likewise.
10767 * elf/tst-tlsmod12.c: Likewise.
10768 * elf/tst-tlsmod13.c: Likewise.
10769 * elf/tst-tlsmod13a.c: Likewise.
10770 * elf/tst-tlsmod14a.c: Likewise.
10771 * elf/tst-tlsmod15b.c: Likewise.
10772 * elf/tst-tlsmod16a.c: Likewise.
10773 * elf/tst-tlsmod16b.c: Likewise.
10774 * elf/tst-tlsmod7.c: Likewise.
10775 * elf/tst-tlsmod8.c: Likewise.
10776 * elf/tst-tlsmod9.c: Likewise.
10777 * gmon/gmon.c: Likewise.
10778 * grp/fgetgrent_r.c: Likewise.
10779 * grp/putgrent.c: Likewise.
10780 * hurd/fopenport.c: Likewise.
10781 * include/libc-symbols.h: Likewise.
10782 * include/tls.h: Likewise.
10783 * intl/gettextP.h: Likewise.
10784 * intl/loadinfo.h: Likewise.
10785 * locale/global-locale.c: Likewise.
10786 * locale/localeinfo.h: Likewise.
10787 * mach/devstream.c: Likewise.
10788 * malloc/arena.c: Likewise.
10789 * malloc/set-freeres.c: Likewise.
10790 * misc/err.c: Likewise.
10791 * misc/getttyent.c: Likewise.
10792 * misc/mntent_r.c: Likewise.
10793 * posix/getopt.c: Likewise.
10794 * posix/wordexp.c: Likewise.
10795 * pwd/fgetpwent_r.c: Likewise.
10796 * resolv/Versions: Likewise.
10797 * resolv/res_hconf.c: Likewise.
10798 * shadow/fgetspent_r.c: Likewise.
10799 * shadow/putspent.c: Likewise.
10800 * stdio-common/printf_fphex.c: Likewise.
10801 * stdio-common/tmpfile.c: Likewise.
10802 * stdlib/abort.c: Likewise.
10803 * stdlib/fmtmsg.c: Likewise.
10804 * sunrpc/auth_unix.c: Likewise.
10805 * sunrpc/clnt_perr.c: Likewise.
10806 * sunrpc/clnt_tcp.c: Likewise.
10807 * sunrpc/clnt_udp.c: Likewise.
10808 * sunrpc/clnt_unix.c: Likewise.
10809 * sunrpc/openchild.c: Likewise.
10810 * sunrpc/svc_simple.c: Likewise.
10811 * sunrpc/svc_tcp.c: Likewise.
10812 * sunrpc/svc_udp.c: Likewise.
10813 * sunrpc/svc_unix.c: Likewise.
10814 * sunrpc/xdr.c: Likewise.
10815 * sunrpc/xdr_array.c: Likewise.
10816 * sunrpc/xdr_rec.c: Likewise.
10817 * sunrpc/xdr_ref.c: Likewise.
10818 * sunrpc/xdr_stdio.c: Likewise.
10819
1248c1c4
PB
108202011-09-09 Ulrich Drepper <drepper@gmail.com>
10821
10822 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10823
108242011-07-03 Andreas Jaeger <aj@suse.de>
10825
10826 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10827 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10828 regenerate with gen-libm-tests.pl.
10829
108302010-05-12 Petr Baudis <pasky@suse.cz>
10831
10832 [BZ #11589]
10833 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10834 around j0() zero points by switching to j1().
10835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10839
f22e1074
UD
108402011-09-09 Ulrich Drepper <drepper@gmail.com>
10841
f19009c1
UD
10842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10843 instead of 0.
10844 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10845 instead of 0. .
10846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10847 Patch in part by Pavel Roskin <proski@gnu.org>.
10848
3f8cc204
UD
10849 [BZ #13138]
10850 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10851 realloc.
10852 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10853 Free memory block if necessary.
10854
f22e1074
UD
10855 [BZ #12847]
10856 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10857 be NULL. Don't lock in this case.
10858
0a2349f9
RM
108592011-09-09 Roland McGrath <roland@hack.frob.com>
10860
10861 * elf/elf.h (ELFOSABI_GNU): New macro.
10862 (ELFOSABI_LINUX): Define to that.
10863
f3cdd467
DZ
108642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10865
10866 * string/strncat.c (strncat): Undef the symbol in case it has been
10867 defined in bits/string.h.
10868
74718d13
UD
108692011-09-09 Ulrich Drepper <drepper@gmail.com>
10870
633e9e0f
UD
10871 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10872
0a2349f9 10873 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10874 link map.
10875
f9924780
AJ
108762011-08-17 Andreas Jaeger <aj@suse.de>
10877
10878 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10879
7f5517aa
PP
108802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10881 Ian Lance Taylor <iant@google.com>
10882
10883 * math/libm-test.inc (lround_test): New testcase.
10884 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10885
762011fe
UD
108862011-09-08 Ulrich Drepper <drepper@gmail.com>
10887
92963737
UD
10888 * Makefile: Remove support for automatic cvs check-ins.
10889 * Makerules: Likewise.
10890 * config.make.in: Likewise.
10891 * configure.in: Likewise.
10892 * intl/Makefile: Likewise.
10893 * locale/Makefile: Likewise.
10894 * po/Makefile: Likewise.
10895 * posix/Makefile: Likewise.
10896 * sysdeps/gnu/Makefile: Likewise.
10897 * sysdeps/mach/hurd/Makefile: Likewise.
10898 * sysdeps/sparc/sparc32/Makefile: Likewise.
10899
b0727fd8
JS
10900 [BZ #13118]
10901 * posix/Makefile (bug-regex32-ENV): Define.
10902 Patch by John Stanley <jpsinthemix@verizon.net>.
10903
a0f33f99
UD
10904 * misc/Makefile (headers): Add bits/select2.h.
10905 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10906 * misc/bits/select2.h: New file.
10907 * include/bits/select2.h: New file.
10908 * debug/Makefile (routines): Add fdelt_chk.
10909 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10910 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10911 FD_ISSET.
10912 * debug/fdelt_chk.c: New file.
10913
762011fe
UD
10914 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10915 * wcsmbs/test-wmemcmp.c: Likewise.
10916 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10917 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10918
109192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10920
10921 * string/Makefile (strop-tests): Add memcmp.
10922 * string/test-wmemcmp.c: New file.
10923 * string/test-memcmp.c: Add wmemcmp support.
10924
7f513ec8
RM
109252011-09-08 Roland McGrath <roland@hack.frob.com>
10926
0442afb4
RM
10927 [BZ #13153]
10928 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10929 2011-07-19 change.
10930
7f513ec8
RM
10931 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10932 garbage value in a __mach_port_mod_refs call in the cases of the
10933 task-self and thread-self ports.
10934
a12b2239
ST
109352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10936
10937 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10938
610f9ab4
AS
109392011-09-08 Andreas Schwab <schwab@redhat.com>
10940
7f513ec8 10941 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10942
48882a1a
LD
109432011-09-07 Ulrich Drepper <drepper@gmail.com>
10944
b49865be
UD
10945 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10946
fdc86bc9
UD
10947 * elf/dl-libc.c (dlerror_run): Pass back error code from
10948 dl_catch_error.
10949
c966526a
UD
10950 [BZ #13123]
10951 * elf/dl-load.c (lose): Free l_origin if it is valid.
10952
48882a1a
LD
10953 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10954 names.
10955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10959 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10960 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10961
77a2a8b4
AZ
109622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10963
10964 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10965 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10967 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10968 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10969 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10970 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10971 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10972 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10973 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10974
24f579d8
AM
109752011-08-15 Alan Modra <amodra@gmail.com>
10976
10977 [BZ #13092]
10978 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10979 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10980 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10981 ppc_mcount to static-only-routines.
10982 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10983 __mcount_internal.
10984 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10985 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10986
3d4837df
UD
109872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10988
10989 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10990 for finite and infinity parameters.
10991
22700377
WS
109922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10993
10994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10995 and add nop instructions for throughput optimization.
10996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10997
5025581e
WS
109982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10999
11000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11001 aligned copy for power7 with vector-scalar instructions.
11002 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11003
08a300c9
L
110042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11007 AVX check.
11008
59178ef9
AS
110092011-09-07 Andreas Schwab <schwab@redhat.com>
11010
11011 [BZ #13144]
11012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11013 last change.
11014
e38ba7ab
UD
110152011-09-07 Ulrich Drepper <drepper@gmail.com>
11016
11017 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11018 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11019 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11020 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11021 clock_gettime.
11022
d53a73ac
UD
110232011-09-06 Ulrich Drepper <drepper@gmail.com>
11024
fc8bffcc
UD
11025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11026 Forgot to demangle the pointer.
11027
ceaa0c5d
UD
11028 * sysdeps/i386/sysdep.h: Define atom_text_section.
11029 * sysdeps/x86_64/sysdep.h: Likewise.
11030 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11031 section with atom_text_section.
11032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11033 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11034 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11036 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11037
a77d3c17
UD
11038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11040 already be defined. Change to take two parameters and don't assign
11041 result to variable. Adjust all users.
11042 Define INTERNAL_GETTIME if not already defined.
11043 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11044 call.
11045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11046 HAVE_CLOCK_GETTIME_VSYSCALL.
11047 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11048
d53a73ac
UD
11049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11050 gettimeofday vsyscall, just use time.
11051
a8f84144
AS
110522011-09-06 Andreas Schwab <schwab@redhat.com>
11053
11054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11055 <errno.h>.
11056
ef606249
UD
110572011-09-06 Ulrich Drepper <drepper@gmail.com>
11058
11059 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11060 syscall on x86-64.
11061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11062 syscall.
11063 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11065 syscall if possible.
11066
6585cb60
UD
110672011-09-05 Ulrich Drepper <drepper@gmail.com>
11068
11069 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11070 e_ident. Don't pass to find_mapsXX.
11071 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11072
a5f524e4
LD
110732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11074
11075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11076 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11077 * sysdeps/x86_64/multiarch/strchr.S: Update.
11078 Check bit_slow_BSF bit.
11079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11080 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11082
554881ef
UD
110832011-09-05 Ulrich Drepper <drepper@gmail.com>
11084
d96de963
UD
11085 [BZ #13134]
11086 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11087 before glibc 2.15.
11088 (tryshell): Define.
11089 (__spawni): Change last parameter to be flag. Test
11090 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11091 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11092 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11093 * posix/spawni.c: Likewise.
11094 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11095 * posix/spawnp.c: Likewise. Change normal version to use
11096 SPAWN_XFLAGS_USE_PATH.
11097 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11098 SPAWN_XFLAGS_TRY_SHELL.
11099
d48e5868
UD
11100 [BZ #13150]
11101 * posix/glob.h: Remove gcc 1.x support.
11102
554881ef
UD
11103 [BZ #13068]
11104 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11105
693fb948
LD
111062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11107
11108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11109 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11110 strrchr-sse2-bsf
11111 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11112 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11113 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11115 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11117
1b48c537
UD
111182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11119
49d42c37
UD
11120 * sysdeps/x86_64/wcscmp.S: New file.
11121
1b48c537
UD
11122 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11123 wcscmp-c wcscmp-sse2
11124 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11125 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11126 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11127 * wcsmbs/wcscmp.c: Allow renaming.
11128
15c95c5d
DM
111292011-09-05 David S. Miller <davem@davemloft.net>
11130
11131 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11132 stack slot, rather than the struct return pointer slot.
11133 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11134 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11136 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11137
2f0ad8f3
UD
111382011-09-05 Ulrich Drepper <drepper@gmail.com>
11139
d88ae418
UD
11140 * po/ja.po: Update from translation team.
11141
2f0ad8f3
UD
11142 [BZ #13144]
11143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11144 kernel in 64-bit binaries.
11145
5f4318d1
DM
111462011-09-01 David S. Miller <davem@davemloft.net>
11147
11148 * elf/elf.h (HWCAP_SPARC_*): Move to..
11149 * sysdeps/sparc/sysdep.h: this new file and add new values.
11150 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11151 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11152 _DL_HWCAP_COUNT to 24.
11153 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11154 entries.
11155 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11156 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11157 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11159 instead of magic constants.
11160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11161
3ba57516
DM
111622011-08-31 David S. Miller <davem@davemloft.net>
11163
11164 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11166 Reimplement to do errno handling inline.
11167 (SYSCALL_ERROR_HANDLER): New macro.
11168 (__SYSCALL_STRING): Do not do errno handling in asm.
11169 (__CLONE_SYSCALL_STRING): Delete.
11170 (__INTERNAL_SYSCALL_STRING): Delete.
11171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11172 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11173 (PSEUDO): Reimplement to do errno handling inline.
11174 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11175 (SYSCALL_ERROR_HANDLER): New macro.
11176 (__SYSCALL_STRING): Do not do errno handling in asm.
11177 (__CLONE_SYSCALL_STRING): Delete.
11178 (__INTERNAL_SYSCALL_STRING): Delete.
11179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11180 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11181 i386.
11182 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11183 (inline_syscall*): Add 'err' argument.
11184 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11185 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11186 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11187 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11188
11189 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11191
2bc17433
AS
111922011-08-30 Andreas Schwab <schwab@redhat.com>
11193
11194 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11195
fbeb5f4d
JO
111962011-08-29 Jiri Olsa <jolsa@redhat.com>
11197
11198 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11199 directive.
11200
ad69cc26
DM
112012011-08-24 David S. Miller <davem@davemloft.net>
11202
11203 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11204
39dd69df
AS
112052011-08-24 Andreas Schwab <schwab@redhat.com>
11206
11207 * elf/Makefile: Add rules to build and run unload8 test.
11208 * elf/unload8.c: New file.
11209 * elf/unload8mod1.c: New file.
11210 * elf/unload8mod1x.c: New file.
11211 * elf/unload8mod2.c: New file.
11212 * elf/unload8mod3.c: New file.
11213
11214 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11215 it wasn't used.
11216
2c0b250a
DM
112172011-08-23 David S. Miller <davem@davemloft.net>
11218
11219 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11220 subtract stack bias.
11221 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11222 %sp not %fp in calculations.
11223 (_JMPBUF_UNWINDS_ADJ): Likewise.
11224
22044b48
DM
11225 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11226 (aio_suspend): Call it to force an exception region around the
11227 AIO_MISC_WAIT() invocation.
11228
2cae4995
AS
112292011-08-23 Andreas Schwab <schwab@redhat.com>
11230
11231 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11232 backslash.
11233
873a772e
AJ
112342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11235
11236 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11237 protection macro.
11238 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11239 and <dl-machine.h>.
11240 (Elf64_FuncDesc): Remove.
11241
25ad0df1
DM
112422011-08-22 David S. Miller <davem@davemloft.net>
11243
11244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11245 sigaltstack check, add missing cfi directives.
11246 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11247 missing cfi directives, and sigaltstack handling.
11248
e888bcbe
AS
112492011-08-16 Andreas Schwab <schwab@redhat.com>
11250
11251 [BZ #11724]
11252 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11253 object is seen twice.
11254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11255
11256 * elf/Makefile (distribute): Add tst-initorder2.c.
11257 (tests): Add tst-initorder2.
11258 (modules-names): Add tst-initorder2a tst-initorder2b
11259 tst-initorder2c tst-initorder2d. Add rules to build them.
11260 ($(objpfx)tst-initorder2.out): New rule.
11261 * elf/tst-initorder2.c: New file.
11262 * elf/tst-initorder2.exp: New file.
11263
87162f46
AS
112642011-08-22 Andreas Schwab <schwab@redhat.com>
11265
70538b7f
AS
11266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11267
f55ffe58
AS
11268 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11269 dependencies back to end of function.
11270
87162f46
AS
11271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11272 $(elfobjdir)/ld.so.
11273
91b392a4
UD
112742011-08-21 Ulrich Drepper <drepper@gmail.com>
11275
11276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11277 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11279 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11280 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11281 of __vdso_gettimeofday.
11282 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11283 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11284 attribute_hidden.
11285 (_libc_vdso_platform_setup): Remove initialization of
11286 __vdso_gettimeofday and __vdso_time.
11287
5c43483f
UD
112882011-08-20 Ulrich Drepper <drepper@gmail.com>
11289
775a77e7
UD
11290 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11291 and fgetc_unlocked.
11292 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11293 getc_unlocked.
89f447ed 11294
49c74ba9
UD
11295 * elf/dl-open.c (add_to_global): Report additions to the global scope
11296 for LD_DEBUG=scopes.
11297 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11298 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11299
5c43483f
UD
11300 [BZ #13114]
11301 * stdio-common/Makefile (tests): Add bug24.
11302 * stdio-common/bug24.c: New file.
11303
a101b025
AJ
113042011-08-19 Andreas Jaeger <aj@suse.de>
11305
11306 [BZ #13114]
11307 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11308 non-existant file when using close-on-exec mode.
11309
c88f1766
UD
113102011-08-20 Ulrich Drepper <drepper@gmail.com>
11311
0276a718
UD
11312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11313 the very first instruction.
11314
c88f1766
UD
11315 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11316 the CFI state in the end.
11317 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11318 inclusion of dl-trampoline.h.
11319 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11320
51ccffa0
AS
113212011-08-19 Andreas Schwab <schwab@redhat.com>
11322
94d7165f
AS
11323 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11324 expectations for long double.
11325
51ccffa0
AS
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11327 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11328
fd708658 113292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11330
11331 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11332 artificual limit depends upon the system page size.
11333
44f0a71e
UD
113342011-08-17 Ulrich Drepper <drepper@gmail.com>
11335
11336 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11337 * resolv/Makefile: Define CFLAGS-libresolv.
11338
8de79a24
AS
113392011-08-17 Andreas Schwab <schwab@redhat.com>
11340
11341 * nss/makedb.c (compute_tables): Make variables used in nested
11342 function static.
11343
27724598
UD
113442011-08-17 Ulrich Drepper <drepper@gmail.com>
11345
c5305d88
UD
11346 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11347 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11348 if buffer was too small.
11349
27724598
UD
11350 * elf/pldd.c (main): Attach to all threads in the process.
11351 Rewrite /proc handling to use *at functions.
11352
076fe015
UD
113532011-08-16 Ulrich Drepper <drepper@gmail.com>
11354
174baab3
UD
11355 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11356 specifies first scope to show.
11357 (dl_open_worker): Update callers. Move printing scope of new
11358 object to before the relocation.
44f0a71e 11359 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11360 * sysdeps/generic/ldsodefs.h: Update declaration.
11361
076fe015
UD
11362 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11363 string for the scope number.
11364
a60df2c3
UD
113652011-08-14 Ulrich Drepper <drepper@gmail.com>
11366
11367 * nscd/servicescache.c (cache_addserv): Make sure written is always
11368 initialized.
11369
5e4287d1
RM
113702011-08-14 Roland McGrath <roland@hack.frob.com>
11371
85ae0589
RM
11372 * sysdeps/i386/i486/bits/atomic.h
11373 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11374 statement expression, so as to suppress "set but not used" warning.
11375 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11376
69f63097
RM
11377 * string/strncat.c (STRNCAT): Use prototype definition.
11378
675456ef
RM
11379 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11380 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11381 -Iprograms here.
11382 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11383 (localedef-modules): Add localedef.
11384 (locale-modules): Add locale.
11385
5e4287d1
RM
11386 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11387 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11388 to avoid a warning.
11389
9c96ff23
DM
113902011-08-14 David S. Miller <davem@davemloft.net>
11391
11392 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11393 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11394
f9ddf089
UD
113952011-08-13 Ulrich Drepper <drepper@gmail.com>
11396
44f0a71e 11397 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11398 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11399 * elf/rtld.c (dl_main): Set l_name of vDSO.
11400 Call _dl_show_scope when DL_DEBUG_SCOPES.
11401 (process_dl_debug): Recognize scopes flag and also set it for all.
11402 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11403 Declare _dl_show_scope.
11404
1dc27704
UD
11405 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11406 (do_dlopen): Pass caller_dlopen to dl_open.
11407 (__libc_dlopen_mode): Initialize caller_dlopen.
11408
f9ddf089
UD
11409 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11410 of libc. Make tolower call locale-independent. Optimize a bit by
11411 using isdigit instead of isalnum.
11412 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11413
9ac533d3
UD
114142011-08-12 Ulrich Drepper <drepper@gmail.com>
11415
11416 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11417 was a dependency or dynamically loaded.
11418
89edf2e9
UD
114192011-08-11 Ulrich Drepper <drepper@gmail.com>
11420
8e999d29
UD
11421 * intl/l10nflist.c: Allow architecture-specific pop function.
11422 * sysdeps/x86_64/l10nflist.c: New file.
11423
89edf2e9
UD
11424 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11425 classification.
11426
14d96785
AS
114272011-08-10 Andreas Schwab <schwab@redhat.com>
11428
11429 * include/dirent.h: Add libc_hidden_proto for scandirat and
11430 scandirat64. Don't declare __scandirat64.
11431 * dirent/scandirat.c: Add libc_hidden_def.
11432 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11433 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11434
6761ac04
DM
114352011-08-10 David S. Miller <davem@davemloft.net>
11436
11437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11438 enum.
11439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11442
c55fbd1e
UD
114432011-08-09 Ulrich Drepper <drepper@gmail.com>
11444
11445 * Versions.def [libc]: Add GLIBC_2.15.
11446 * dirent/Makefile (routines): Add scandirat and scandirat64.
11447 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11448 GLIBC_2.15.
11449 * dirent/dirent.h: Declare scandirat and scandirat64.
11450 * dirent/scandirat.c: New file.
11451 * dirent/scandirat64.c: New file.
11452 * sysdeps/wordsize-64/scandirat.c: New file.
11453 * sysdeps/wordsize-64/scandirat64.c: New file.
11454 * dirent/opendir.c: Define opendirat.
11455 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11456 using scandirat.
11457 * dirent/scandir64.c: Adjust for scandir.c change.
11458 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11459 __scandirat64, and __scandir_cancel_handler.
11460 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11461 additional parameter and use openat instead of open (outside of ld.so).
11462 Add new __opendir as wrapper around __opendirat.
11463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11464 here without requiring old scandirat implementation.
11465
879165f2
UD
114662011-08-08 Ulrich Drepper <drepper@gmail.com>
11467
11468 * dirent/scandir.c (cancel_handler): Renamed to
11469 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11470 defined. Adjust users.
11471 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11472 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11473
cb7e923b
UD
114742011-08-04 Ulrich Drepper <drepper@gmail.com>
11475
16292edd
UD
11476 * string/test-string.h (IMPL): Use __STRING to expand name and then
11477 stringify it.
11478
cb7e923b
UD
11479 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11480 of cleanups.
11481
cff82933
LD
114822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11483
11484 * string/Makefile: Update.
11485 (strop-tests): Append strncat.
11486 * string/test-wcscmp.c: New file.
11487 New comprehensive test for wcscmp.
11488 * string/test-strcmp.c: Update.
11489 (WIDE): New define.
11490
9be9bfcc
AS
114912011-07-22 Andreas Schwab <schwab@redhat.com>
11492
11493 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11494 line.
11495
2e96f1c7
AS
114962011-07-26 Andreas Schwab <schwab@redhat.com>
11497
11498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11499 encoding to ACE if AI_IDN.
11500
85188888
JJ
115012011-08-01 Jakub Jelinek <jakub@redhat.com>
11502
11503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11504 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11505
5fa16e9b
LD
115062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11507
11508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11509 Fix overflow bug in strncat.
11510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11511
11512 * string/test-strncat.c: Update.
11513 Add new tests for checking overflow bugs.
11514
115152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11516
11517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11518 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11519 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11520 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11522 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11523 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11524 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11525 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11526
11527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11528 (USE_AS_STRCAT): Define.
11529 Add strcat and strncat support.
11530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11531
8c1a459f
AS
115322011-07-25 Andreas Schwab <schwab@redhat.com>
11533
11534 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11535 __n bigger than INT_MAX+1.
11536 (__strncmp_g): Likewise.
11537
bba33c28
UD
115382011-07-23 Ulrich Drepper <drepper@gmail.com>
11539
798be72d
UD
11540 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11541 * libio/stido.h: Likewise.
11542
8accd4dc
UD
11543 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11544 (AF_NFC): Define.
11545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11546 (AF_NFC): Define.
11547
cbff0d96
UD
11548 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11551 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11552 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11553
9191c04a
UD
11554 [BZ #13021]
11555 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11556 installed.
11557
bba33c28
UD
11558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11559 typo.
11560 (_dl_x86_64_save_sse): Likewise.
11561
90f139dd
UD
115622011-07-22 Ulrich Drepper <drepper@gmail.com>
11563
1aae088a
UD
11564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11565 OSXSAVE.
11566 (_dl_x86_64_save_sse): Likewise.
11567
8e2045f5
UD
11568 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11569
90f139dd
UD
11570 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11571
1d002f25
AS
115722011-07-21 Andreas Schwab <schwab@redhat.com>
11573
11574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11575 change.
11576 (_dl_x86_64_save_sse): Use correct AVX check.
11577
21137f89
UD
115782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11579
11580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11581 bug in strncpy/strncat.
11582 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11583
a65c0b7a
UD
115842011-07-21 Ulrich Drepper <drepper@gmail.com>
11585
11586 * string/tester.c (test_strcat): Add tests for different alignments
11587 of source and destination.
11588 (test_strncat): Likewise.
11589
6986b98a
UD
115902011-07-20 Ulrich Drepper <drepper@gmail.com>
11591
90bb2039
UD
11592 [BZ #12852]
11593 * posix/glob.c (glob): Check passed in values before using them in
11594 expressions to avoid some overflows.
11595 (glob_in_dir): Likewise.
11596
5644ef54
UD
11597 [BZ #13007]
11598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11599 check for AVX enablement so that we don't crash with old kernels and
11600 new hardware.
11601 * elf/tst-audit4.c: Add same checks here.
11602 * elf/tst-audit6.c: Likewise.
11603
11604 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11605
bfc9dc9b
AS
116062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11607
11608 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11609
702e64bb
UD
116102011-07-20 Ulrich Drepper <drepper@gmail.com>
11611
11612 * po/cs.po: Update from translation team.
11613 * po/bg.po: Likewise.
11614
295e904f
MP
116152011-07-12 Marek Polacek <mpolacek@redhat.com>
11616
11617 * misc/sys/cdefs.h: Add support for const attribute.
11618 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11619 to gnu_dev_{major,minor,makedev} functions.
11620
3ff94596
MP
116212011-07-20 Marek Polacek <mpolacek@redhat.com>
11622
11623 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11624
28b59fca
AS
116252011-07-20 Andreas Schwab <schwab@redhat.com>
11626
11627 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11628 strlen results.
11629
19df733e
AK
116302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11631
11632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11633 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11634 register in order to avoid conflicts with the soft frame pointer
11635 being held in r11 when necessary.
11636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11637 (INTERNAL_VSYSCALL_NCS): Likewise.
11638
c8835729
MP
116392011-07-14 Marek Polacek <mpolacek@redhat.com>
11640
11641 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11642 * elf/dl-fini.c (_dl_fini): Adjust caller.
11643 * elf/dl-close.c (_dl_close_worker): Likewise.
11644 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11645
b902330c
MP
116462011-07-15 Marek Polacek <mpolacek@redhat.com>
11647
8991e135
MP
11648 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11649 "aux_cache->nlibs < 0".
11650
b902330c
MP
11651 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11652 in the reload-count case.
11653
99710781
LD
116542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11655
11656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11657 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11658 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11659 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11660 * sysdeps/x86_64/multiarch/strcat.S: New file.
11661 * sysdeps/x86_64/multiarch/strncat.S: New file.
11662 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11664 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11665 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11667 (USE_AS_STRCAT): Define.
11668 Add strcat and strncat support.
11669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11671 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11672 * string/strncat.c: Update.
11673 (USE_AS_STRNCAT): Define.
11674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11675 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11676 and i7.
11677 * sysdeps/x86_64/multiarch/init-arch.h
11678 (bit_Prefer_PMINUB_for_stringop): New.
11679 (index_Prefer_PMINUB_for_stringop): Likewise.
11680 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11681 bit_Prefer_PMINUB_for_stringop.
11682
7dc6bd90
UD
116832011-07-19 Ulrich Drepper <drepper@gmail.com>
11684
11685 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11686 buffer64.
11687 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11688 of casting of buffer.
11689 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11690 buffer32 and buffer64.
11691 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11692 writes instead of casting of buffer.
11693 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11694 buffer32.
11695 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11696 casting of buffer.
11697
e0e72284
AS
116982011-07-19 Andreas Schwab <schwab@redhat.com>
11699
11700 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11701
feb1eb0b
UD
117022011-07-19 Ulrich Drepper <drepper@gmail.com>
11703
11704 * nscd/nscd.c (termination_handler): Don't do anything for a database
11705 if it has not yet been initialized.
11706
298711ff
UD
117072011-07-18 Ulrich Drepper <drepper@gmail.com>
11708
11709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11710
117112011-07-15 Marek Polacek <mpolacek@redhat.com>
11712
11713 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11714
f9d68389
UD
117152011-07-18 Ulrich Drepper <drepper@gmail.com>
11716
11717 * po/nl.po: Update from translation team.
11718 * po/sv.po: Likewise.
11719
db290cf5
RM
117202011-07-16 Roland McGrath <roland@hack.frob.com>
11721
11722 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11723 now disallowed by GCC.
5c550700 11724
fd5e21c7
RM
11725 * configure.in (use-default-link): Default to yes if a test -shared
11726 link meets our qualifications.
11727 * configure: Regenerated.
11728
5c550700
RM
11729 * config.make.in (output-format): New variable.
11730 * configure.in: Check for ld --print-output-format support.
11731 * configure: Regenerated.
11732 * Makerules ($(common-objpfx)format.lds)
11733 [$(output-format) != unknown]: Just use $(output-format),
11734 instead of the linker-script munging.
11735
9fa2c032
RM
117362011-07-14 Roland McGrath <roland@hack.frob.com>
11737
a6928d51
RM
11738 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11739 of $(common-objpfx)shlib.lds.
11740 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11741
661607b3
RM
11742 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11743 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11744
9fa2c032
RM
11745 * configure.in (-z relro check): Adjust test code to add a large
11746 writable data section after it.
11747 * configure: Regenerated.
11748
defe9061
RM
117492011-07-11 Roland McGrath <roland@hack.frob.com>
11750
11751 * configure.in (-z relro check): Fix test code to make the variable
11752 truly const.
11753 * configure: Regenerated.
11754
319b9ad4
UD
117552011-07-11 Ulrich Drepper <drepper@gmail.com>
11756
11757 * nscd/nscd.h (struct traced_file): Define.
11758 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11759 elements. Add traced_files.
11760 (inotify_fd): Declare.
11761 (register_traced_file): Declare.
11762 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11763 (inotify_fd): Export.
11764 (resolv_conf_descr): Remove.
11765 (nscd_init): Move inotify descriptor creation to main.
11766 Don't register files for notification here.
11767 (register_traced_file): New function.
11768 (invalidate_cache): Don't use reset_res to determine whether to call
11769 res_init, go through the list of registered files.
11770 (main_loop_poll): The inotify descriptors are now stored in the
11771 structures for the traced files.
11772 (main_loop_epoll): Likewise
11773 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11774 to __nss_disable_nscd.
11775 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11776 for a database anymore. Check the records for all the registered
11777 files instead.
11778 * nss/Makefile (libnss_files-routines): Add files-init.
11779 (libnss_db-routines): Add db-init.
11780 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11781 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11782 * nss/nss_db/db-init.c: New file.
11783 * nss/nss_files/files-init.c: New file.
11784 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11785 __nss_lookup_function.
11786 (__nss_lookup_function): Call nss_load_library.
11787 (nss_load_all_libraries): New function.
11788 (__nss_disable_nscd): Take parameter with callback function for files
11789 to register. Set is_nscd. Load all the DSOs for the NSS modules
11790 used for the cached services.
11791 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11793 options for features to all the files in nscd.
11794
11795 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11796
23bee3e8
RM
117972011-07-10 Roland McGrath <roland@hack.frob.com>
11798
11799 * csu/elf-init.c (__libc_csu_init): Comment typo.
11800
46a5b7f0
UD
118012011-07-09 Ulrich Drepper <drepper@gmail.com>
11802
11803 * po/pl.po: Update from translation team.
11804 * po/ja.po: Likewise.
11805 * po/ru.po: Likewise.
11806 * po/ko.po: Likewise.
11807 * po/fr.po: Likewise.
11808
d30cf5bb
RM
118092011-07-09 Roland McGrath <roland@hack.frob.com>
11810
113ddea4
RM
11811 * configure.in (.ctors/.dtors header and trailer check):
11812 Use an empirical test on a built program.
11813 * configure: Regenerated.
11814
574920b4
RM
11815 * configure.in (-z relro check): Use an empirical test on a built DSO.
11816 Detect, but do not require, on ia64.
11817 * configure: Regenerated.
11818
d30cf5bb
RM
11819 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11820 Update tests that use readelf to use $READELF instead.
11821 * configure: Regenerated.
11822
8538fdb3
UD
118232011-07-08 Ulrich Drepper <drepper@gmail.com>
11824
11825 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11826 if the result is not used.
11827
04d08991
AJ
118282011-07-05 Andreas Jaeger <aj@suse.de>
11829
11830 [BZ#9696]
11831 * stdlib/tst-strtod.c: Add testcase.
11832
de283087
AD
118332011-07-07 Ulrich Drepper <drepper@gmail.com>
11834
4e5f31c8 11835 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11836 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11837 The latter has a higher limit. Take additional parameter to pass to
11838 the new function.
11839 (__pathconf): Pass file to __statfs_link_max.
11840 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11841 __statfs_link_max.
11842 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11843 __statfs_link_max.
11844
de283087
AD
11845 [BZ #12868]
11846 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11848 Handle Lustre.
11849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11850 (__statfs_filesize_max): Likewise.
11851 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11852
c75fa153
AJ
118532011-07-05 Andreas Jaeger <aj@suse.de>
11854
11855 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11856
1a544854
UD
118572011-07-06 Marek Polacek <mpolacek@redhat.com>
11858
11859 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11860 `status' variable.
11861 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11862 Likewise.
11863
6f0eec67
UD
118642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11865
11866 * Makefile (strop-tests): Add strncat.
11867 * string/test-strncat.c: New file.
11868
aae30307
UD
118692011-06-30 Marek Polacek <mpolacek@redhat.com>
11870
11871 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11872
c0cfb5eb
UD
118732011-06-21 Andreas Jaeger <aj@suse.de>
11874
11875 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11876 Copy rule from iconvdata/Makefile.
11877
01636b21
UD
118782011-07-06 Ulrich Drepper <drepper@gmail.com>
11879
11880 [BZ #12922]
11881 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11882 but no long options are defined, just return 'W'.
11883
9895c8bc
UD
118842011-06-22 Marek Polacek <mpolacek@redhat.com>
11885
11886 [BZ #9696]
11887 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11888
5d4cf042
UD
118892011-07-06 Ulrich Drepper <drepper@gmail.com>
11890
11891 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11892 netgroups to read.
960e5535 11893 (innetgr): Likewise.
5d4cf042 11894
751eb97e
RM
118952011-07-05 Roland McGrath <roland@hack.frob.com>
11896
11897 * config.make.in (install_root): Default to $(DESTDIR).
11898
f15f1e45
UD
118992011-07-05 Ulrich Drepper <drepper@gmail.com>
11900
11901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11902
4e34ac6a
RM
119032011-07-02 Roland McGrath <roland@hack.frob.com>
11904
5e9b6af4
RM
11905 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11906
84f9ea0f
RM
11907 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11908 containing directory rather than embedding absolute directory names.
11909
ea5ee9f7
RM
11910 * scripts/check-local-headers.sh: Rewritten using awk.
11911 Match by word, not by line. Print error messages for matches.
11912 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11913
1b74661a
RM
11914 * Makerules [shlib-lds-flags empty]:
11915 ($(common-objpfx)libc_pic.opts): New target.
11916 ($(common-objpfx)libc_pic.os.clean): New target.
11917 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11918
11919 * config.make.in (OBJCOPY): New variable.
11920 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11921 * configure: Regenerated.
11922
f781ef40
RM
11923 * config.make.in (use-default-link): New variable.
11924 * configure.in (use_default_link): Grok --with-default-link to set it.
11925 * configure: Regenerated.
11926 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11927 (shlib-lds, shlib-lds-flags): Define to empty.
11928
2d4fa81e
RM
11929 * Makerules (shlib-lds): New variable.
11930 (shlib-lds-flags): New variable.
11931 (build-shlib, build-moduile, build-module-asneeded): Use it.
11932 ($(common-objpfx)libc.so): Use $(shlib-lds).
11933 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11934 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11935
31fffa6b
RM
11936 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11937 DT_FLAGS/DT_FLAGS_1 with zero flags.
11938
4e34ac6a
RM
11939 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11940 linker script munging.
11941
fcfc776b
UD
119422011-07-02 Ulrich Drepper <drepper@gmail.com>
11943
11944 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11945 as 128-bit value.
11946 * crypt/sha512.c (sha512_process_block): Perform total addition using
11947 128-bit if possible.
11948 (__sha512_finish_ctx): Likewise.
11949 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11950 as 64-bit value.
11951 * crypt/sha256.c (SWAP64): Define.
11952 (sha256_process_block): Perform total addition using 64-bit if
11953 possible.
11954 (__sha256_finish_ctx): Likewise.
11955
99231d9a
UD
119562011-07-01 Ulrich Drepper <drepper@gmail.com>
11957
11958 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11959 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11960 * nscd/hstcache.c (cache_addhst): Likewise.
11961 * nscd/grpcache.c (cache_addgr): Likewise.
11962 * nscd/aicache.c (addhstaiX): Likewise
11963 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11964
445b4a53
TK
119652011-07-01 Thorsten Kukuk <kukuk@suse.de>
11966
11967 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11969 * nscd/hstcache.c (cache_addhst): Likewise.
11970 * nscd/grpcache.c (cache_addgr): Likewise.
11971 * nscd/aicache.c (addhstaiX): Likewise
11972
6d4d8e8e
AS
119732011-07-01 Andreas Schwab <schwab@redhat.com>
11974
11975 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11976 domain only when needed.
11977
89f654c5
AS
119782011-06-30 Andreas Schwab <schwab@redhat.com>
11979
11980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11981 is always restored.
11982
cf3b23ff
UD
119832011-06-29 Ulrich Drepper <drepper@gmail.com>
11984
11985 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11986 are re-adding the entry.
11987 * nscd/servicescache.c (cache_addserv): Likewise.
11988
751626f9
AJ
119892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11990
11991 * sysdeps/generic/dl-irel.h: fix protection against multiple
11992 inclusions.
11993 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11994
9113ea1f
UD
119952011-06-28 Ulrich Drepper <drepper@gmail.com>
11996
5c0b8d90
UD
11997 [BZ #12935]
11998 * malloc/memusage.sh: Fix quoting in message.
11999 * debug/xtrace.sh: Likewise.
12000
9113ea1f
UD
12001 * configure.in: Remove support for --experimental-malloc option, make
12002 it the default.
12003 * config.make.in: Likewise.
12004 * malloc/Makefile: Likewise.
12005
a4172181
AS
120062011-06-27 Andreas Schwab <schwab@redhat.com>
12007
12008 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12009 two-byte characters.
12010
78a7eee7
RM
120112011-06-27 Roland McGrath <roland@hack.frob.com>
12012
62bede13
RM
12013 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12014 AC_CACHE_CHECK invocation.
12015 * configure: Regenerated.
12016
78a7eee7
RM
12017 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12018
5ce33a62
UD
120192011-06-27 Ulrich Drepper <drepper@gmail.com>
12020
034807a9
UD
12021 [BZ #12350]
12022 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12023 bit from old_res_options.
12024
4902da17
UD
12025 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12026
5ce33a62
UD
12027 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12028 value type for setfct.
12029
c2344f56
L
120302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12033 __gettimeofday instead of gettimeofday.
12034
68468076
UD
120352011-06-26 Ulrich Drepper <drepper@gmail.com>
12036
12037 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12038
acb0d739
L
120392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12042
12043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12044 info.
12045
8912479f
L
120462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12047
12048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12049 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12050 strcpy-sse2-unaligned strncpy-sse2-unaligned
12051 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12052 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12053 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12054 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12055 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12056 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12057 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12058 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12059 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12060 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12061 (STRCPY): Support SSE2 and SSSE3 versions.
12062
d5495a11
UD
120632011-06-24 Ulrich Drepper <drepper@gmail.com>
12064
12065 [BZ #12874]
12066 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12067 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12068 kernels which artificially limit size of requests.
12069
0b1cbaae
L
120702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12071
12072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12073 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12074 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12075 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12076 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12077 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12078 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12079 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12082 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12083 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12084 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12085 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12086 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12088 Enable unaligned load optimization for Intel Core i3, i5 and i7
12089 processors.
12090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12091 Define.
12092 (index_Fast_Unaligned_Load): Define.
12093 (HAS_FAST_UNALIGNED_LOAD): Define.
12094
07f494a0
MP
120952011-06-23 Marek Polacek <mpolacek@redhat.com>
12096
12097 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12098
fa3fc0fe
UD
120992011-06-22 Ulrich Drepper <drepper@gmail.com>
12100
12101 [BZ #12907]
12102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12103 until it is clear that the information is realy needed.
12104 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12105
e12df166
AS
121062011-06-22 Andreas Schwab <schwab@redhat.com>
12107
12108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12109
852eb34d
UD
121102011-06-22 Ulrich Drepper <drepper@gmail.com>
12111
84e2a551
UD
12112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12113 /sys/devices/system/cpu/online if it is usable.
12114
852eb34d
UD
12115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12116 reading the information from the /proc filesystem to once a second.
12117
6e502e19
UD
121182011-06-21 Andreas Jaeger <aj@suse.de>
12119
12120 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12121 NULL after inclusion of kernel headers.
12122
75d39ff2
UD
121232011-06-21 Ulrich Drepper <drepper@gmail.com>
12124
51f9aa6a
UD
12125 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12126 calls to internal_setent.
12127
c0244a9d
UD
12128 [BZ #12885]
12129 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12130 addresses using gethostbyname4_r ignore IPv4 addresses.
12131
c5e3c2ae
UD
12132 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12133 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12134
75d39ff2
UD
12135 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12136
42675c6f
DM
121372011-06-20 David S. Miller <davem@davemloft.net>
12138
12139 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12140 inclusions.
12141 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12142
12143 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12144 (elf_irel): Use it.
12145 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12146 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12147 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12148 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12149 * sysdeps/x86_64/dl-irel.h: Likewise.
12150
12151 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12152 * elf/dl-sym.c: Likewise.
12153
57912a71
UD
121542011-06-15 Ulrich Drepper <drepper@gmail.com>
12155
12156 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12157 need to dereference resplen2.
12158
ee22793d
AS
121592011-06-14 Andreas Schwab <schwab@redhat.com>
12160
12161 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12162
a9e836b0
UD
121632011-06-15 Ulrich Drepper <drepper@gmail.com>
12164
77fb9117
UD
12165 * Makeconfig: Define vardbdir and inst_vardbdir.
12166 * nss/Makefile: Add rules to install db-Makefile.
12167
40c1b22c
UD
12168 * nss/nss_db/db-XXX.c: Cleanup.
12169
9f2da732
UD
12170 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12171 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12172 GLIBC_PRIVATE.
12173 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12174 * nss/makedb.c: Implement -g option to specify that value strings
12175 are generated and should not be added to table iterated over for
12176 get*ent calls.
12177 * nss/nss_db/db-initgroups.c: New file.
12178
82e9a1f7
UD
12179 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12180 interface.
12181
c41af17e
UD
12182 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12183 (internal_getgrouplist): Adjust to name change.
12184 Update use_initgroups_entry if this is not the first call.
12185 * nss/databases.def: Add initgroups entry.
12186
a9e836b0
UD
12187 * nss/makedb.c (compute_tables): Check result of multiple hash table
12188 sizes to minimize maximum chain length.
12189
2666d441
UD
121902011-06-14 Ulrich Drepper <drepper@gmail.com>
12191
12192 * Versions.def: Add entry for libnss_db.
12193 * shlib-versions: Likewise.
12194 * nss/Makefile: Add rules to build libnss_db.
12195 * nss/Versions: Add libnss_db information. Organize libnss_files
12196 entries better.
12197 * nss/db-Makefile: Add gshadow support. Change rules for the new
12198 makedb progra. Some minor improvements to generate smaller files.
12199 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12200 here from...
12201 * nss/makedb.c: ...here.
12202 Improve database format to be smaller and require less memory at
12203 runtime.
12204 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12205 db anymore.
12206 * nss/nss_db/db-netgrp.c: Likewise.
12207 * nss/nss_db/db-open.c: Likewise.
12208 * nss/nss_files/flies-XXX.x: Adjust comments.
12209 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12210 * nss/nss_files/files-grp.c: Likewise.
12211 * nss/nss_files/files-hosts.c: Likewise.
12212 * nss/nss_files/files-network.c: Likewise.
12213 * nss/nss_files/files-proto.c: Likewise.
12214 * nss/nss_files/files-pwd.c: Likewise.
12215 * nss/nss_files/files-rpc.c: Likewise.
12216 * nss/nss_files/files-service.c: Likewise.
12217 * nss/nss_files/files-sgrp.c: Likewise.
12218 * nss/nss_files/files-spwd.c: Likewise.
12219 * nss/nss_db/db-alias.c: Removed.
12220 * nss/nss_db/dummy-db.h: Removed.
12221
9ee76b5a
UD
122222011-06-02 Ulrich Drepper <drepper@gmail.com>
12223
12224 * nss/makedb.c: Rewritten to not use database library.
12225 * nss/Makefile: Update to build new makedb program.
12226
c71ca1f8
AJ
122272011-06-14 Andreas Jaeger <aj@suse.de>
12228
12229 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12230 memset declaration.
12231
3154bfb8
UD
122322011-06-10 Andreas Schwab <schwab@redhat.com>
12233
12234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12235 tmpbuf.
12236
b350afab
RM
122372011-06-10 Roland McGrath <roland@hack.frob.com>
12238
decd4e50
RM
12239 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12240 * elf/Makefile ($(objpfx)ld.so): Likewise.
12241
5615eaf2
RM
12242 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12243 Don't list ld.so twice in dependencies.
12244
12245 * posix/bug-regex31.c: Include <stdlib.h>.
12246
12247 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12248
12249 * nis/nss_compat/compat-spwd.c
12250 (getspent_next_nss_netgr): Remove unused variable.
12251 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12252
12253 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12254 nonmembers" output to use the right array.
12255
12256 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12257
12258 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12259
12260 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12261 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12262 * catgets/gencat.c (read_input_file): Likewise.
12263 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12264
12265 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12266 variable definition inside #if's controlling its use.
12267
12268 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12269
12270 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12271
12272 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12273
12274 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12275 unreachable code.
12276
12277 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12278
b68e08db
RM
12279 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12280 * configure: Regenerated.
12281
b350afab
RM
12282 * Makerules: Revert last change.
12283 * elf/Makefile: Likewise.
12284
28368601
RM
122852011-06-09 Roland McGrath <roland@hack.frob.com>
12286
12287 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12288 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12289 (reloc-link): Likewise.
12290
11988f8f
UD
122912011-06-09 Ulrich Drepper <drepper@gmail.com>
12292
12293 * elf/Makefile: Add rules to build pldd.
12294 * elf/pldd.c: New file.
12295 * elf/pldd-xx.c: New file.
12296
e80fab37
UD
122972011-06-07 Ulrich Drepper <drepper@gmail.com>
12298
12299 * version.h: Update for 2.15 development version.
12300
9b849836
DM
123012011-06-07 David S. Miller <davem@davemloft.net>
12302
12303 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12304 ifuncs.
12305 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12306 elf_machine_lazy_rel): Likewise.
12307 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12309 elf_machine_lazy_rel): Likewise.
12310 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12311 dl_hwcap via passed in argument.
12312 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12313 Likewise.
12314
5a31b283
AK
123152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12316
12317 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12318
069e52f8
RM
123192011-06-06 Roland McGrath <roland@hack.frob.com>
12320
12321 [BZ #12849]
12322 * manual/fdl-1.1.texi: New file, verbatim from:
12323 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12324 * manual/lgpl-2.1.texi: New file, verbatim from:
12325 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12326 * manual/Makefile (licenses): New variable, list those new file names.
12327 (texis): Use it.
12328 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12329
12330 * manual/fdl.texi: File removed.
12331 * manual/lesser.texi: File removed.
12332 * manual/libc.texinfo (Copying, Documentation License):
12333 Use new @include file names, put @appendix directive before @include.
12334
f16846a5
JJ
123352011-06-04 Jakub Jelinek <jakub@redhat.com>
12336
12337 [BZ #12841]
12338 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12339 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12340 (mq_open): Add __NTH.
12341
3d29045b
L
123422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12343
12344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12345 Assume Intel Core i3/i5/i7 processor if AVX is available.
12346
8c297311
UD
123472011-05-31 Ulrich Drepper <drepper@gmail.com>
12348
12349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12350 typo.
12351
c8fc0c91
UD
123522011-05-31 Andreas Schwab <schwab@redhat.com>
12353
12354 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12355 memory. Use alloca_account. Fix memory leak when retrying.
12356
5b27a807
UD
123572011-05-31 Ulrich Drepper <drepper@gmail.com>
12358
356f8bc6
UD
12359 * version.h (RELEASE): Bump for 2.14 release.
12360 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12361
5b27a807
UD
12362 * config.make.in (RANLIB): Remove entry.
12363
01f16ab0
UD
123642011-05-30 Ulrich Drepper <drepper@gmail.com>
12365
41fce8bd
UD
12366 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12367 (libc.pot): Work around missing support for .ksh extension in xgettext.
12368
4769ae77
UD
12369 [BZ #12684]
12370 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12371 if both request failed.
12372 (send_dg): In case of server errors clear resplen or *resplen2.
12373
6b1e7d19
UD
12374 [BZ #12454]
12375 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12376 when there are multiple maps.
12377 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12378 (_dl_fini): Remove test here.
12379
01f16ab0
UD
12380 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12381
b1ebd700
UD
123822011-05-29 Ulrich Drepper <drepper@gmail.com>
12383
7ae22829
UD
12384 [BZ #12350]
12385 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12386 bit from old_res_options.
12387 (gaih_inet): Likewise.
12388
553149f6 12389 [BZ #11099]
18a84741 12390 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12391 as signed.
12392
652ffab1
UD
12393 * resolv/res_init.c (res_setoptions): Make the code more compact.
12394
16985fd0
UD
12395 [BZ #11558]
12396 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12397 set RES_USEVC.
12398
0464f746
UD
12399 [BZ #11634]
12400 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12401
7d17596c
UD
12402 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12403
cf6bbbd7
UD
12404 [BZ #11781]
12405 * malloc/malloc.h: Declare malloc hook variables as volatile.
12406
13f1ab36
UD
12407 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12408 in last patch.
12409
b1ebd700
UD
12410 [BZ #11799]
12411 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12412 raise in the comment.
80e2212d
UD
12413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12415 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12416
ce67228d
UD
124172011-05-28 Ulrich Drepper <drepper@gmail.com>
12418
8887a920
UD
12419 [BZ #12811]
12420 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12421 grow the buffers more if it already has to be sufficient.
12422 (build_wcs_upper_buffer): Likewise.
12423 * posix/regexec.c (check_matching): Likewise.
12424 (clean_state_log_if_needed): Likewise.
12425 (extend_buffers): Don't enlarge buffers beyond size of the input
12426 buffer.
12427 Patches mostly by Emil Wojak <emil@wojak.eu>.
12428 * posix/bug-regex32.c: New file.
12429 * posix/Makefile (tests): Add bug-regex32.
12430
4f031072
UD
12431 * locale/findlocale.c (_nl_find_locale): Return right away if
12432 _nl_explode_name failed.
12433 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12434
d0478f0c
UD
12435 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12436
de81b246
UD
12437 * debug/xtrace.sh: Unify messages.
12438 * malloc/memusage.sh: Likewise.
12439
c738465a
UD
12440 [BZ #12813]
12441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12442 time symbol from vDSO. Substitute with vsyscall if not available.
12443 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12444 __vdso_time.
12445
f1f929d7
UD
12446 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12447 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12448 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12449 Add sendmmsg and internal_sendmmsg.
12450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12451 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12452 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12453
ce67228d
UD
12454 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12455 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12457
e57420c6
UD
124582011-05-27 Ulrich Drepper <drepper@gmail.com>
12459
a8509ca5
UD
12460 [BZ #12813]
12461 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12462 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12463 available.
12464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12465 __vdso_getcpu.
12466
e57420c6
UD
12467 [BZ #12814]
12468 * iconvdata/Makefile (tests): Add bug-iconv9.
12469 * iconvdata/bug-iconv9.c: New file.
12470
4d07db15
AS
124712011-05-27 Andreas Schwab <schwab@redhat.com>
12472
12473 [BZ #12814]
12474 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12475
ea486f69
JJ
124762011-05-25 Jakub Jelinek <jakub@redhat.com>
12477
12478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12479 (struct user_regs_struct): Change intcs field back to cs.
12480
6f038433
UD
124812011-05-25 Ulrich Drepper <drepper@gmail.com>
12482
12483 * po/ja.po: Update from translation team.
12484
67f86a25
UD
124852011-05-23 Ulrich Drepper <drepper@gmail.com>
12486
12487 [BZ #12795]
12488 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12489 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12490
def7fbd6
AS
124912011-05-20 Andreas Schwab <schwab@redhat.com>
12492
12493 * stdlib/longlong.h: Update from GCC.
12494
f50ef8f1
AS
124952011-05-23 Andreas Schwab <schwab@redhat.com>
12496
12497 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12498 parameter name.
12499 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12500 Add parameter name.
12501 (__sysconf): Pass it down.
12502
de7ce8f1
UD
125032011-05-22 Ulrich Drepper <drepper@gmail.com>
12504
f2962a71
UD
12505 [BZ #12671]
12506 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12507 some situations.
12508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12509 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12510 add in in __libc_use_alloca calls. Adjust callers.
12511 (glob): Use malloc in some situations.
12512
de7ce8f1
UD
12513 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12514 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12515 pltexit.
12516
aec84f53
UD
125172011-05-21 Ulrich Drepper <drepper@gmail.com>
12518
05bb4a68
UD
12519 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12520 and CLOCK_BOOTTIME_ALARM.
12521
7ea72f99
UD
12522 [BZ #12782]
12523 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12524 is returned.
12525
7e4afad5
UD
12526 * string/_strerror.c (__strerror_r): Print negative errors as signed
12527 numbers.
12528
8e211fec
UD
12529 [BZ #12777]
12530 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12531 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12532 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12533
f7d82dc9
UD
12534 * configure.in: Fix typo in redirection and correct removal of test
12535 files in two cases.
12536
cc9e536d
UD
12537 [BZ #12788]
12538 * locale/setlocale.c (new_composite_name): Fix test to check for
12539 identical name of all categories.
12540
aec84f53
UD
12541 [BZ #12792]
12542 * libio/filedoalloc.c (local_isatty): New function.
12543 (_IO_file_doallocate): Use local_isatty.
12544 * stdio-common/perror.c (perror): In case a new stream is used
12545 forward the stream error.
12546 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12547 error flag.
12548
78e64fdc
RT
125492011-05-20 Ulrich Drepper <drepper@gmail.com>
12550
34a9094f
UD
12551 [BZ #11869]
12552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12553 alloca.
12554 * include/alloca.h (extend_alloca_account): Define.
12555
78e64fdc
RT
12556 [BZ #11857]
12557 * posix/regex.h: Fix comments with documentation of user-accessible
12558 fields after compilation and describe correct free'ing of pattern
12559 after re_compile_pattern.
12560 Patch by Reuben Thomas <rrt@sc3d.org>.
12561
457bddfc
RA
125622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12563
12564 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12565 and -mno-altivec to prevent the compiler from using Altivec and/or
12566 VSX instructions when the corresponding registers are not available.
12567
a4527b51
AS
125682011-05-19 Andreas Schwab <schwab@redhat.com>
12569
12570 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12571
ed690b2f
UD
125722011-05-19 Ulrich Drepper <drepper@gmail.com>
12573
12574 * libio/freopen.c (freopen): Use __dup2, not dup2.
12575 * libio/freopen64.c (freopen64): Likewise.
12576
8db73634
L
125772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12578
12579 [BZ #12775]
12580 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12581 * math/Makefile (tests): Add test-powl.
12582 (CFLAGS-test-powl.c): Define.
12583 * math/test-powl.c: New file.
12584
0a197a9d
L
125852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12586
12587 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12588
ee30c380
UD
125892011-05-17 Ulrich Drepper <drepper@gmail.com>
12590
12591 [BZ #11837]
12592 * iconvdata/gb18030.c: Update to GB18020-2005.
12593
6ce75379
UD
125942011-05-16 Ulrich Drepper <drepper@gmail.com>
12595
a4b89fd8
AR
12596 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12597 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12598 Patch by Aharon Robbins <arnold@skeeve.com>.
12599
ea389b12
UD
12600 [BZ #11892]
12601 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12602 on the stack.
12603
68a3f91f
UD
12604 [BZ #11895]
12605 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12606 through underflows.
12607
15cc7dd1
UD
12608 [BZ #12766]
12609 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12610 point to strings before performing equality test for error_one_per_line
12611 mode.
12612
f3799213
UD
12613 [BZ #11697]
12614 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12615
d79a9c94
UD
12616 [BZ #11820]
12617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12618 (struct user_fpregs_struct): Avoid __uint*_t types.
12619
56e5eb46
UD
12620 [BZ #6420]
12621 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12622 symbol info. Use it instead of calling _dl_addr locally.
12623 (lock_and_info): New function.
12624 (tr_freehook): Call lock_and_info and pass symbol info as additional
12625 parameter to tr_where.
12626 (tr_mallochook): Likewise.
12627 (tr_reallochook): Likewise.
12628 (tr_memalignhook): Likewise.
12629
6ce75379
UD
12630 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12631 used and couldn't be at all thread-safe.
12632
f8a3b5bf
UD
126332011-05-15 Ulrich Drepper <drepper@gmail.com>
12634
94b7cc37
UD
12635 * libio/freopen.c (freopen): Don't close old file descriptor
12636 before the new one is opened. Instead dup the new file descriptor
12637 to the old one after the new stream is created.
12638 * libio/freopen64.c (freopen64): Likewise.
12639 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12640 * libio/fileops.c (_IO_new_file_close_it): Handle new
12641 _IO_FLAGS2_NOCLOSE flag.
12642 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12643 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12644 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12645 _IO_FLAGS2_NOCLOSE flag.
12646 * include/unistd.h: Add hidden_proto for dup3.
12647 Define __have_dup3.
12648 * io/dup3.c: Define hidden symbol.
12649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12650
bd25564e
UD
12651 [BZ #7101]
12652 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12653 when an incomplete long option is used.
12654 * posix/tst-getopt_long1.c: New file.
12655 * posix/Makefile (tests): Add tst-getopt_long1.
12656
c84cfef4
UD
12657 [BZ #10138]
12658 * scripts/config.guess: Update from autoconf-2.68.
12659 * scripts/config.sub: Likewise.
12660
3b85df27
UD
12661 [BZ #10157]
12662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12663 tests into ...
12664 (has_cpuclock): ...this. New function.
12665 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12666 macro here based on has_cpuclock code.
12667
15a856b1
UD
12668 [BZ #10149]
12669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12670 First byte (not low byte) is now always NUL.
12671 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12672
05f399e6
UD
12673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12674 Use non-cancelable interfaces.
12675
10a52685 12676 [BZ #9809]
94ecc67d
UD
12677 * locale/iso-639.def: Add entry for Sorani.
12678
f8a3b5bf
UD
12679 [BZ #11901]
12680 * include/stdlib.h: Move include protection to the right place.
12681 Define abort_msg_s. Declare __abort_msg with it.
12682 * stdlib/abort.c (__abort_msg): Adjust type.
12683 * assert/assert.c (__assert_fail_base): New function. Majority
12684 of code from __assert_fail. Allocate memory for __abort_msg with
12685 mmap.
12686 (__assert_fail): Now call __assert_fail_base.
12687 * assert/assert-perr.c: Remove bulk of implementation. Use
12688 __assert_fail_base.
12689 * include/assert.hL Declare __assert_fail_base.
12690 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12691 mmap.
12692 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12693
1af4e298
UD
126942011-05-14 Ulrich Drepper <drepper@gmail.com>
12695
f8a3b5bf 12696 [BZ #11952]
d26dfc60
MG
12697 [BZ #12453]
12698 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12699 until all modules are registered in the DTV.
12700 * elf/Makefile: Add rules to build and run tst-tls19.
12701 * elf/tst-tls19.c: New file.
12702 * elf/tst-tls19mod1.c: New file.
12703 * elf/tst-tls19mod2.c: New file.
12704 * elf/tst-tls19mod3.c: New file.
12705 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12706
2fc54d6f
UD
12707 [BZ #12083]
12708 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12709 correctly.
12710
98d76b46
UD
12711 [BZ #12601]
12712 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12713 two-byte sequence errors.
12714 * iconvdata/Makefile (tests): Add bug-iconv8.
12715 * iconvdata/bug-iconv8.c: New file.
12716
da3c19ef
UD
12717 [BZ #12626]
12718 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12719 buf2 definition.
12720
ca408c15
UD
12721 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12722
d6f67f7d
UD
12723 [BZ #12432]
12724 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12725 (dummy_getcfa): New function.
12726 (init): Get _Unwind_GetCFA address, use dummy if not found.
12727 (backtrace_helper): In recursion check, also check whether CFA changes.
12728 (__backtrace): Completely initialize arg.
12729
1af4e298 12730 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12731 storing incomplete byte sequence in state object. Avoid testing for
12732 guaranteed too small input if we know there is enough data available.
1af4e298 12733
da62f81b
AS
127342011-05-11 Andreas Schwab <schwab@redhat.com>
12735
12736 * Makeconfig (+link-pie): Indent.
12737 * Rules (binaries-pie): Define if $(have-fpie) and
12738 $(build-shared).
12739 (binaries-shared): Also filter out $(binaries-pie).
12740 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12741 * nscd/Makefile (others-pie): Add nscd.
12742 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12743 ($(objpfx)nscd): Remove command override.
12744 * login/Makefile (others-pie): Add pt_chown.
12745 ($(objpfx)pt_chown): Remove command override.
12746 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12747 remove command overrides.
12748
fcabc0f8
UD
127492011-05-13 Ulrich Drepper <drepper@gmail.com>
12750
20030ae6
UD
12751 * libio/tst_putwc.c: Fix error messages.
12752
fcabc0f8
UD
12753 [BZ #12724]
12754 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12755 currently writing and seek to current position when not.
12756 * libio/Makefile (tests): Add bug-fclose1.
12757 * libio/bug-fclose1.c: New file.
12758
320a5dc0
PB
127592011-05-12 Ulrich Drepper <drepper@gmail.com>
12760
12761 [BZ #12511]
12762 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12763 don't set DF_1_NODELETE here.
12764 (do_lookup_x): When entering new entry test for copy relocation
12765 and if necessary set DF_1_NODELETE flag.
12766 * elf/tst-unique4.cc: New file.
12767 * elf/tst-unique4.h: New file.
12768 * elf/tst-unique4lib.cc: New file.
12769 * elf/Makefile: Add rules to build and run tst-unique4.
12770 Patch by Piotr Bury <pbury@goahead.com>.
12771
22836f52
UD
127722011-05-11 Ulrich Drepper <drepper@gmail.com>
12773
f574184a
UD
12774 [BZ #12052]
12775 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12776
e1fb097f
UD
12777 [BZ #12625]
12778 * misc/mntent_r.c (addmntent): Flush the stream after the output
12779
22836f52
UD
12780 [BZ #12393]
12781 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12782 (is_trusted_path_normalize): Skip initial colon. Append slash
12783 to empty buffer. Duplicate is_trusted_path code but allow
12784 constructed patch to be prefix.
12785 (is_dst): Allow $ORIGIN followed by /.
12786 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12787 Correct testing of result of is_trusted_path_normalize
12788 (decompose_rpath): Fix warning.
12789
7b3b0b2a
UD
127902011-05-10 Ulrich Drepper <drepper@gmail.com>
12791
12792 [BZ #11257]
12793 * grp/initgroups.c (internal_getgrouplist): When we found the service
12794 list through the initgroups entry in nsswitch.conf do not always
12795 continue on a successful lookup. Don't always use the
eac80ce2 12796 __nss_group_database value if it is set.
7b3b0b2a
UD
12797 * nss/nsswitch.conf (initgroups): Change action for successful db
12798 lookup to continue for compatibility.
12799
2a81eaa5
UD
128002011-05-09 Ulrich Drepper <drepper@gmail.com>
12801
be97a69e
UD
12802 [BZ #11532]
12803 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12804 and CP774 modules.
12805 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12806 and CP774 modules.
12807 * iconvdata/tst-tables.sh: Likewise.
12808 * iconvdata/cp770.c: New file.
12809 * iconvdata/cp771.c: New file.
12810 * iconvdata/cp772.c: New file.
12811 * iconvdata/cp773.c: New file.
12812 * iconvdata/cp774.c: New file.
12813 * iconvdata/testdata/CP770: New file.
12814 * iconvdata/testdata/CP770..UTF8: New file.
12815 * iconvdata/testdata/CP771: New file.
12816 * iconvdata/testdata/CP771..UTF8: New file.
12817 * iconvdata/testdata/CP772: New file.
12818 * iconvdata/testdata/CP772..UTF8: New file.
12819 * iconvdata/testdata/CP773: New file.
12820 * iconvdata/testdata/CP773..UTF8: New file.
12821 * iconvdata/testdata/CP774: New file.
12822 * iconvdata/testdata/CP774..UTF8: New file.
12823
12824 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12825 END CHARMAP line.
12826 * iconvdata/gen-8bit-gap.sh: Likewise.
12827 * iconvdata/gen-8bit.sh: Likewise.
12828
c1e9e399
UD
12829 * locale/iso-639.def: Add ary entry.
12830
24c55fb3 12831 [BZ #11258]
96b4b1b0
UD
12832 * locale/C-translit.h.in: Add U20A1 transliteration.
12833
bdc2f971
KB
12834 [BZ #12178]
12835 * locale/iso-639.def: Add wae entry.
12836 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12837
2952b117
UD
12838 [BZ #12545]
12839 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12840 for n.
12841
2a81eaa5
UD
12842 [BZ #12711]
12843 * locale/C-translit.h.in: Add entry for U20B9.
12844 Patch by pravin.d.s@gmail.com.
12845
28377d1b
UD
128462011-05-08 Ulrich Drepper <drepper@gmail.com>
12847
7fb90fb8
UD
12848 [BZ #12713]
12849 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12850 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12851 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12852 in rtld. Use *stat64.
7fb90fb8 12853 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12854 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12855 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12856 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12857 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12858 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12859 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12860 __fstatat64 macros.
7fb90fb8
UD
12861 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12862 * dirent/rewinddir.c: Add libc_hidden_def.
12863 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12864 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12865
28377d1b
UD
12866 * include/dirent.h (__alloc_dir): Add flags parameter.
12867 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12868 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12869 __alloc_dir.
12870 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12871 from fdopendir if O_CLOEXEC is already set.
12872
66bdbaa4
AM
128732011-03-15 Alan Modra <amodra@gmail.com>
12874
12875 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12876 l_tls_firstbyte_offset non-zero. Save padding offset in
12877 l_tls_firstbyte_offset for later use.
12878 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12879 freeing static tls block.
12880
95721191
JN
128812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12882
12883 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12884 where #ifdef was intended. The intent is to prevent ARG_MAX from
12885 being defined by the kernel headers.
12886
f87dfb1f
UD
128872011-05-07 Ulrich Drepper <drepper@gmail.com>
12888
12889 [BZ #12734]
12890 * resolv/resolv.h: Define RES_NOTLDQUERY.
12891 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12892 no-tld-query and set RES_NOTLDQUERY.
12893 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12894 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12895 modern BIND to search name as TLD unless forbidden.
12896
47c3cd7a
UD
128972011-05-07 Petr Baudis <pasky@suse.cz>
12898 Ulrich Drepper <drepper@gmail.com>
12899
12900 [BZ #12393]
12901 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12902 (is_trusted_path): ...to here.
c1e9ea35 12903 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12904 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12905 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12906
8a35c912
PP
129072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12908
12909 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12910 __BEGIN/__END_DECLS.
12911
acd41f47
UD
129122011-05-06 Ulrich Drepper <drepper@gmail.com>
12913
12914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12915 NSS_STATUS_NOTFOUND if no record was found.
12916
597df647
AS
129172011-05-05 Andreas Schwab <schwab@redhat.com>
12918
12919 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12920 (headers-not-in-tirpc): Remove rpc/netdb.h
12921 * resolv/netdb.h: Revert last change.
12922
b9af1301
PP
129232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12924
12925 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12926 circular dependency between libgcc.a and libc.a.
12927
4e34d5f5
AS
129282011-05-05 Andreas Schwab <schwab@redhat.com>
12929
12930 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12931 * nis/Makefile: Don't install rpcsvc/*.
12932 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12933 instead of <rpc/types.h>.
12934 (MAXHOSTNAMELEN): Define.
12935
00ee369c
AS
129362011-05-03 Andreas Schwab <schwab@redhat.com>
12937
12938 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12939
0b592a30
MB
129402011-04-28 Maciej Babinski <mbabinski@google.com>
12941
12942 [BZ #12714]
12943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12944 gethostbyname4_r when IPv6 results are possible.
12945
6e04cbbe
UD
129462011-05-02 Ulrich Drepper <drepper@gmail.com>
12947
12948 [BZ #12723]
12949 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12950 _PC_PIPE_BUF handling.
12951
e4ecafe0
BH
129522011-04-30 Bruno Haible <bruno@clisp.org>
12953
12954 [BZ #12717]
12955 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12956 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12957 to 'int'.
12958 * inet/getnameinfo.c (getnameinfo): Likewise.
12959
125ee683
UD
129602011-04-29 Ulrich Drepper <drepper@gmail.com>
12961
12962 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12963 to groups setting in database lookup.
12964 * nss/nsswitch.conf: Add initgroups entry.
12965
b722481a
EB
129662011-04-22 Ulrich Drepper <drepper@gmail.com>
12967
12968 [BZ #12685]
12969 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12970 mode string.
12971 Patch by Eric Blake <eblake@redhat.com>.
12972
4df46dbd
L
129732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12974
12975 * sunrpc/Makefile (need-export-routines): Add svc_run.
12976 (routines): Remove svc_run.
12977 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12978 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12979 * sunrpc/svc_run.c (svc_run): Likewise.
12980 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12981
e84142d2
UD
129822011-04-21 Ulrich Drepper <drepper@gmail.com>
12983
12984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12985 problem in reallocation in last patch.
12986
877175d8
UD
129872011-04-20 Ulrich Drepper <drepper@gmail.com>
12988
12989 * sunrpc/Makefile: Move inclusion of Rules.
12990
ab8eed78
UD
129912011-04-19 Ulrich Drepper <drepper@gmail.com>
12992
12993 * nss/nss_files/files-initgroups.c: New file.
12994 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12995 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12996 _nss_files_initgroups_dyn.
12997
e3d8f584
RS
129982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12999
13000 * elf/elf.h (R_ARM_IRELATIVE): Define.
13001
af190f45
UD
130022011-04-19 Ulrich Drepper <drepper@gmail.com>
13003
13004 * po/ru.po: Update from translation team.
13005
53cf59ef
UD
130062011-04-17 Ulrich Drepper <drepper@gmail.com>
13007
13008 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13009 dependencies.
13010
4c559bcd
MF
130112011-02-06 Mike Frysinger <vapier@gentoo.org>
13012
13013 [BZ #12653]
13014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13015 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13017 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13019
4420675c
AS
130202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13021
13022 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13023 differing bytes.
13024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13027
75ea32ab
UD
130282011-04-17 Ulrich Drepper <drepper@gmail.com>
13029
13030 [BZ #12420]
13031 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13032 storing it.
13033 * stdlib/bug-getcontext.c: New file.
13034 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13035
27390476
AK
130362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13037
13038 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13039 instructions into .machine "z9-109".
13040 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13041 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13042
10442705
AK
130432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13044
13045 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13046 between environment variables and auxiliary vector.
13047
7b57bfe5
UD
130482011-04-16 Ulrich Drepper <drepper@gmail.com>
13049
13050 * Makefile: Add rules to build linkobj/libc.so.
13051 * include/libc-symbols.h: Define libc_hidden_nolink.
13052 * include/rpc/auth.h: Mark functions which are to be hidden.
13053 * include/rpc/auth_des.h: Likewise.
13054 * include/rpc/auth_unix.h: Likewise.
13055 * include/rpc/clnt.h: Likewise.
13056 * include/rpc/des_crypt.h: Likewise.
13057 * include/rpc/key_prot.h: Likewise.
13058 * include/rpc/pmap_clnt.h: Likewise.
13059 * include/rpc/pmap_prot.h: Likewise.
13060 * include/rpc/pmap_rmt.h: Likewise.
13061 * include/rpc/rpc_msg.h: Likewise.
13062 * include/rpc/svc.h: Likewise.
13063 * include/rpc/svc_auth.h: Likewise.
13064 * include/rpc/xdr.h: Likewise.
13065 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13066 * nss/Makefile: Likewise.
13067 * sunrpc/Makefile: Don't install headers. Build library with normal
13068 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13069 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13070 for the compat linking library. Remove use of INTDEF/INTUSE.
13071 * sunrpc/auth_none.c: Likewise.
13072 * sunrpc/auth_unix.c: Likewise.
13073 * sunrpc/authdes_prot.c: Likewise.
13074 * sunrpc/authuxprot.c: Likewise.
13075 * sunrpc/clnt_gen.c: Likewise.
13076 * sunrpc/clnt_perr.c: Likewise.
13077 * sunrpc/clnt_raw.c: Likewise.
13078 * sunrpc/clnt_simp.c: Likewise.
13079 * sunrpc/clnt_tcp.c: Likewise.
13080 * sunrpc/clnt_udp.c: Likewise.
13081 * sunrpc/clnt_unix.c: Likewise.
13082 * sunrpc/des_crypt.c: Likewise.
13083 * sunrpc/des_soft.c: Likewise.
13084 * sunrpc/get_myaddr.c: Likewise.
13085 * sunrpc/key_call.c: Likewise.
13086 * sunrpc/key_prot.c: Likewise.
13087 * sunrpc/netname.c: Likewise.
13088 * sunrpc/pm_getmaps.c: Likewise.
13089 * sunrpc/pm_getport.c: Likewise.
13090 * sunrpc/pmap_clnt.c: Likewise.
13091 * sunrpc/pmap_prot.c: Likewise.
13092 * sunrpc/pmap_prot2.c: Likewise.
13093 * sunrpc/pmap_rmt.c: Likewise.
13094 * sunrpc/publickey.c: Likewise.
13095 * sunrpc/rpc_cmsg.c: Likewise.
13096 * sunrpc/rpc_common.c: Likewise.
13097 * sunrpc/rpc_dtable.c: Likewise.
13098 * sunrpc/rpc_prot.c: Likewise.
13099 * sunrpc/rpc_thread.c: Likewise.
13100 * sunrpc/rtime.c: Likewise.
13101 * sunrpc/svc.c: Likewise.
13102 * sunrpc/svc_auth.c: Likewise.
13103 * sunrpc/svc_authux.c: Likewise.
13104 * sunrpc/svc_raw.c: Likewise.
13105 * sunrpc/svc_run.c: Likewise.
13106 * sunrpc/svc_simple.c: Likewise.
13107 * sunrpc/svc_tcp.c: Likewise.
13108 * sunrpc/svc_udp.c: Likewise.
13109 * sunrpc/svc_unix.c: Likewise.
13110 * sunrpc/svcauth_des.c: Likewise.
13111 * sunrpc/xcrypt.c: Likewise.
13112 * sunrpc/xdr.c: Likewise.
13113 * sunrpc/xdr_array.c: Likewise.
13114 * sunrpc/xdr_float.c: Likewise.
13115 * sunrpc/xdr_intXX_t.c: Likewise.
13116 * sunrpc/xdr_mem.c: Likewise.
13117 * sunrpc/xdr_rec.c: Likewise.
13118 * sunrpc/xdr_ref.c: Likewise.
13119 * sunrpc/xdr_sizeof.c: Likewise.
13120 * sunrpc/xdr_stdio.c: Likewise.
13121
e6c61494
UD
131222011-04-10 Ulrich Drepper <drepper@gmail.com>
13123
13124 [BZ #12650]
13125 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13126 * sysdeps/ia64/dl-tls.h: Likewise.
13127 * sysdeps/powerpc/dl-tls.h: Likewise.
13128 * sysdeps/s390/dl-tls.h: Likewise.
13129 * sysdeps/sh/dl-tls.h: Likewise.
13130 * sysdeps/sparc/dl-tls.h: Likewise.
13131 * sysdeps/x86_64/dl-tls.h: Likewise.
13132 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13133
34fe483e
AS
131342011-03-14 Andreas Schwab <schwab@redhat.com>
13135
13136 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13137 rpath element also skip the following colon.
13138 (expand_dynamic_string_token): Add is_path parameter and pass
13139 down to DL_DST_REQUIRED and _dl_dst_substitute.
13140 (decompose_rpath): Call expand_dynamic_string_token with
13141 non-zero is_path. Ignore empty rpaths.
13142 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13143 with zero is_path.
13144
f12a32e6
AS
131452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13146
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13148 Make cancelable.
13149
38a7d692
UD
131502011-04-09 Ulrich Drepper <drepper@gmail.com>
13151
13152 [BZ #12655]
13153 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13154 Patch by Filipe David Manana <fdmanana@apache.org>.
13155
e451d22b
AS
131562011-04-07 Andreas Schwab <schwab@redhat.com>
13157
13158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13159 Maintain aligned stack.
13160 (CHECK_RSP): Remove unused macro.
13161
dedc7c7b
UD
131622011-04-03 Ulrich Drepper <drepper@gmail.com>
13163
13164 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13166
94521213
UD
131672011-04-02 Ulrich Drepper <drepper@gmail.com>
13168
13169 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13170
8cb700c0 13171 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13172
0354e355
L
131732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13174
13175 [BZ #12518]
13176 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13177 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13178 * sysdeps/x86_64/memmove.c: New file.
13179 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13180 (memcpy): Renamed to ...
13181 (__new_memcpy): This.
13182 (memcpy): Provide GLIBC_2_14 memcpy.
13183 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13184 (memcpy): Provide GLIBC_2_2_5 memcpy.
13185
8593482f
UD
131862011-04-01 Ulrich Drepper <drepper@gmail.com>
13187
13188 [BZ #12631]
13189 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13190
81a5726b
AS
131912011-03-30 Andreas Schwab <schwab@redhat.com>
13192
13193 * misc/syncfs.c: New file.
13194 * misc/Makefile (routines): Add syncfs.
13195 * posix/unistd.h: Declare syncfs.
13196 * sysdeps/unix/syscalls.list: Add syncfs.
13197
00e5419f
AS
131982011-04-01 Andreas Schwab <schwab@redhat.com>
13199
13200 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13201 open_by_handle_at.
13202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13207 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13209
748876bf
UD
132102011-04-01 Ulrich Drepper <drepper@gmail.com>
13211
658e451d
UD
13212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13219
748876bf
UD
13220 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13221 sync_file_range.c with -fexceptions.
13222 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13223 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13224 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13225 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13226 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13227 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13229 sync_file_range as cancellation point
13230 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13231 now a wrapper around __call_sync_file_range with cancellation handling.
13232 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13233 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13234 function name to __call_sync_file_range.
13235 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13236 Add call_sync_file_range.
748876bf 13237
6e63d5e1
AS
132382011-04-01 Andreas Schwab <schwab@redhat.com>
13239
13240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13241 bits/timex.h.
6e63d5e1 13242
46998f74
UD
132432011-04-01 Ulrich Drepper <drepper@gmail.com>
13244
4c1423ed
UD
13245 * iconv/iconv.h: Fix typo in comment.
13246 * io/fcntl.h: Likewise.
13247 * libio/stdio.h: Likewise.
13248 * posix/spawn.h: Likewise.
13249 * posix/unistd.h: Likewise.
13250 * stdlib/stdlib.h: Likewise.
13251 * time/time.h: Likewise.
13252 * wcsmbs/wchar.h: Likewise.
13253
158648c0
UD
13254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13255 open_by_handle): Add.
13256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13257 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13258 Augment a few comments.
13259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13264 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13265 open_by_handle.
13266
46998f74
UD
13267 * io/fcntl.h (AT_EMPTY_PATH): Define.
13268
83fe108b
UD
132692011-03-30 Ulrich Drepper <drepper@gmail.com>
13270
13271 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13272 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13273 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13274 to...
13275 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13276 * Versions.def: Add GLIBC_2.14.
13277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13278 Export.
83fe108b 13279
bb242059
UD
132802011-03-22 Ulrich Drepper <drepper@gmail.com>
13281
13282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13283 round counter.
13284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13285
c97a1282
L
132862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13287
13288 [BZ #12597]
13289 * string/test-strncmp.c (do_page_test): New function.
13290 (check2): Likewise.
13291 (test_main): Call check2.
13292 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13293
2a115601
UD
132942011-03-20 Ulrich Drepper <drepper@gmail.com>
13295
13296 [BZ #12587]
13297 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13298 Handle cache information in CPU leaf 4.
13299 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13300
8126d904
UD
133012011-03-18 Ulrich Drepper <drepper@gmail.com>
13302
042c49c6 13303 [BZ #12583]
8126d904
UD
13304 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13305 character representation.
13306 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13307
ccfe366e
RA
133082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13309
13310 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13311 END(__isnan) to END(__isnanf) to match function entry point/label
13312 EALIGN(__isnanf,...).
13313
c6e13027
JJ
133142011-03-10 Jakub Jelinek <jakub@redhat.com>
13315
13316 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13317
33f85a3f
UD
133182011-03-10 Ulrich Drepper <drepper@gmail.com>
13319
028478fa
UD
13320 [BZ #12510]
13321 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13322 copy from the symbol referenced in the relocation to initialize the
13323 used variable.
13324 Patch by Piotr Bury <pbury@goahead.com>.
13325 * elf/Makefile: Add rules to build and tst-unique3.
13326 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13327 * elf/tst-unique3.cc: New file.
13328 * elf/tst-unique3.h: New file.
13329 * elf/tst-unique3lib.cc: New file.
13330 * elf/tst-unique3lib2.cc: New file.
13331
33f85a3f
UD
13332 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13333
03592fc7
MF
133342011-03-10 Mike Frysinger <vapier@gentoo.org>
13335
13336 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13337 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13338 to _start.
03592fc7 13339
6a5ee102
UD
133402011-03-06 Ulrich Drepper <drepper@gmail.com>
13341
13342 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13343 to-be-loaded object along a path to loader is ld.so.
13344
7e4ba49c
HJ
133452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13346 Ulrich Drepper <drepper@gmail.com>
13347
13348 * sysdeps/x86_64/memset.S: After aligning destination, code
13349 branches to different locations depending on the value of
13350 misalignment, when multiarch is enabled. Fix this.
13351
133522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13353
13354 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13355 Set _x86_64_preferred_memory_instruction for AMD processsors.
13356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13357 Set bit_Prefer_SSE_for_memop for AMD processors.
13358
13a804de
UD
133592011-03-04 Ulrich Drepper <drepper@gmail.com>
13360
13361 * libio/fmemopen.c (fmemopen): Optimize a bit.
13362
9d25c392
AS
133632011-03-03 Andreas Schwab <schwab@redhat.com>
13364
13365 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13366
a5543c6a
RM
133672011-03-03 Roland McGrath <roland@redhat.com>
13368
13369 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13370
012d35f7
DM
133712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13372
7e4ba49c 13373 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13374 __bzero_ultra1 instead of __memset_ultra1.
13375
4bff6e01
AS
133762011-02-23 Andreas Schwab <schwab@redhat.com>
13377 Ulrich Drepper <drepper@gmail.com>
13378
13379 [BZ #12509]
13380 * include/link.h (struct link_map): Add l_orig_initfini.
13381 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13382 returning unsuccessfully.
13383 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13384 close of a file loaded at startup, restore the original l_initfini
13385 list.
13386 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13387 list, store the pointer.
13388 * elf/Makefile ($(objpfx)noload-mem): New rule.
13389 (noload-ENV): Define.
13390 (tests): Add $(objpfx)noload-mem.
13391 * elf/noload.c: Include <memcheck.h>.
13392 (main): Call mtrace. Close all opened handles.
13393
f2092faf
AS
133942011-02-17 Andreas Schwab <schwab@redhat.com>
13395
13396 [BZ #12454]
13397 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13398 dependencies are missing.
13399
6c8a2e88
ST
134002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13401
f2092faf 13402 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13403 Hurd needs munmap.
13404 * sysdeps/mach/hurd/ifreq.h: New file.
13405
84a42118
PB
134062011-01-27 Petr Baudis <pasky@suse.cz>
13407 Ulrich Drepper <drepper@gmail.com>
13408
071f805e 13409 [BZ 12445]#
84a42118
PB
13410 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13411 to extend_alloca().
13412 * stdio-common/bug23.c: New file.
13413 * stdio-common/Makefile (tests): Add bug23.
13414
e23fe25b
AS
134152010-09-28 Andreas Schwab <schwab@redhat.com>
13416 Ulrich Drepper <drepper@gmail.com>
13417
13418 [BZ #12489]
13419 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13420 before performing relro protection. At old place add assertion
13421 to make sure nothing changed.
13422
d3f02e10
NS
134232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13424 Glauber de Oliveira Costa <glommer@gmail.com>
13425
13426 * elf/elf.h: Add new ARM TLS relocs.
13427
d55fd7a5
RA
134282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13429
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13431 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13432 cast from r3.
13433 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13434 'tests' variable.
13435 * sysdeps/wordsize-64/tst-writev.c: New file.
13436
2206397e
RA
134372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13438
13439 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13440 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13441 insns in _dl_start to prevent a TOC reference before relocs are
13442 resolved.
13443
e9433893
UD
134442011-02-15 Ulrich Drepper <drepper@gmail.com>
13445
13446 [BZ #12469]
13447 * Makeconfig: Remove RANLIB definition.
13448 * Makerules: Don't use RANLIB.
13449 * aclocal.m4: Remove ranlib test.
13450 * configure.in: No need to check for ranlib.
13451 * elf/rtld-Rules: Don't use RANLIB.
13452
f75286c6
ST
134532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13454
8e31c82d
ST
13455 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13456 protection macro.
13457 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13458 inclusion protection macro.
13459
f75286c6
ST
13460 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13461 SIGRTMIN and SIGRTMAX and print information in that case only when
13462 SIGRTMIN is defined.
13463
c1d0e639
JJ
134642011-02-11 Jakub Jelinek <jakub@redhat.com>
13465
13466 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13467 arginfo fn returning -1.
13468
13469 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13470 and thousands string is zero terminated.
13471
edf9294e
AS
134722011-02-03 Andreas Schwab <schwab@redhat.com>
13473
13474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13475 sysdeps/unix/sysv/linux/bits/socket.h.
13476
2b7e92df
ST
134772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13478
edf9294e
AS
13479 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13480 (__CPU_COUNT): Remove old macros.
13481 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13482 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13483 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13484 (__sched_cpualloc, __sched_cpufree): Add declarations.
13485
a4c7ea7b
UD
134862011-02-05 Ulrich Drepper <drepper@gmail.com>
13487
13488 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13489 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13490 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13491 (readdhstai): Return value of addhstaiX call.
13492 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13493 (addgrbyX): Return value returned by cache_addgr.
13494 (readdgrbyname): Return value returned by addgrbyX.
13495 (readdgrbygid): Likewise.
13496 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13497 (addpwbyX): Return value returned by cache_addpw.
13498 (readdpwbyname): Return value returned by addhstbyX.
13499 (readdpwbyuid): Likewise.
13500 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13501 (addservbyX): Return value returned by cache_addserv.
13502 (readdservbyname): Return value returned by addservbyX:
13503 (readdservbyport): Likewise.
13504 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13505 (addhstbyX): Return value returned by cache_addhst.
13506 (readdhstbyname): Return value returned by addhstbyX.
13507 (readdhstbyaddr): Likewise.
13508 (readdhstbynamev6): Likewise.
13509 (readdhstbyaddrv6): Likewise.
13510 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13511 (readdinitgroups): Return value returned by addinitgroupsX.
13512 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13513 (prune_cache): Keep track of timeout value of re-added entries.
13514 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13515 * nscd/nscd.h: Adjust prototypes of readd* functions.
13516
a0bf67cc
RM
135172011-02-04 Roland McGrath <roland@redhat.com>
13518
13519 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13520 (nis_stats): Likewise.
13521 * nis/nis_modify.c (nis_modify): Likewise.
13522 * nis/nis_remove.c (nis_remove): Likewise.
13523 * nis/nis_add.c (nis_add): Likewise.
13524
13525 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13526
13527 * posix/fnmatch_loop.c: Add some consts.
13528
13529 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13530
435b95eb
L
135312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13532
13533 [BZ #12460]
13534 * config.make.in (config-cflags-novzeroupper): Define.
13535 * configure.in: Substitute libc_cv_cc_novzeroupper.
13536 * elf/Makefile (AVX-CFLAGS): Define.
13537 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13538 (CFLAGS-tst-auditmod4a.c): Likewise.
13539 (CFLAGS-tst-auditmod4b.c): Likewise.
13540 (CFLAGS-tst-auditmod6b.c): Likewise.
13541 (CFLAGS-tst-auditmod6c.c): Likewise.
13542 (CFLAGS-tst-auditmod7b.c): Likewise.
13543 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13544
8517b15e
UD
135452011-02-02 Ulrich Drepper <drepper@gmail.com>
13546
13547 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13548 function to the callback.
13549 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13550
10a656fe
AS
135512011-02-02 Andreas Schwab <schwab@redhat.com>
13552
13553 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13554 of errno.
13555
968dad0a
UD
135562011-01-19 Ulrich Drepper <drepper@gmail.com>
13557
9f94d2ea 13558 [BZ #11724]
968dad0a
UD
13559 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13560 of constructors.
13561 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13562 of destructors.
13563 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13564
13565 [BZ #11724]
13566 * elf/Makefile: Add rules to build and run new test.
13567 * elf/tst-initorder.c: New file.
13568 * elf/tst-initorder.exp: New file.
13569 * elf/tst-initordera1.c: New file.
13570 * elf/tst-initordera2.c: New file.
13571 * elf/tst-initordera3.c: New file.
13572 * elf/tst-initordera4.c: New file.
13573 * elf/tst-initorderb1.c: New file.
13574 * elf/tst-initorderb2.c: New file.
13575 * elf/tst-order-a1.c: New file.
13576 * elf/tst-order-a2.c: New file.
13577 * elf/tst-order-a3.c: New file.
13578 * elf/tst-order-a4.c: New file.
13579 * elf/tst-order-b1.c: New file.
13580 * elf/tst-order-b2.c: New file.
13581 * elf/tst-order-main.c: New file.
13582 New test case by George Gensure <werkt0@gmail.com>.
13583
86e92359
UD
135842010-10-01 Andreas Schwab <schwab@redhat.com>
13585
13586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13587 decoding ACE if AI_CANONIDN.
13588
5d5732b0
UD
135892011-01-18 Ulrich Drepper <drepper@gmail.com>
13590
13591 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13592
a77e8cbc
UD
135932011-01-17 Ulrich Drepper <drepper@gmail.com>
13594
6392473f
UD
13595 * version.h (RELEASE): Bump for 2.13 release.
13596 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13597
620a0529
UD
13598 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13599
18ba70a5
UD
13600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13601 MADV_NOHUGEPAGE.
32465c3e
UD
13602 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13608
c0dafcf1
UD
13609 * posix/getconf.c: Update copyright year.
13610 * catgets/gencat.c: Likewise.
13611 * csu/version.c: Likewise.
13612 * debug/catchsegv.sh: Likewise.
13613 * debug/xtrace.sh: Likewise.
13614 * elf/ldconfig.c: Likewise.
13615 * elf/ldd.bash.in: Likewise.
13616 * elf/sprof.c (print_version): Likewise.
13617 * iconv/iconv_prog.c: Likewise.
13618 * iconv/iconvconfig.c: Likewise.
13619 * locale/programs/locale.c: Likewise.
13620 * locale/programs/localedef.c: Likewise.
13621 * malloc/memusage.sh: Likewise.
13622 * malloc/mtrace.pl: Likewise.
13623 * nscd/nscd.c (print_version): Likewise.
13624 * nss/getent.c: Likewise.
13625
a77e8cbc
UD
13626 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13627 PF_CAIF, and PF_ALG.
13628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13629
77e8bddf
AS
136302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13631
1f20b93a
AS
13632 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13633 (modules-names): Use them.
13634 (ifunc-test-modules, ifunc-pie-tests): Define.
13635 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13636 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13637 (test-extras): Likewise.
13638 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13639 $(compile-command.c).
13640 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13641 (all-built-dso): Define.
13642 (check-textrel.out, check-execstack.out): Depend on it.
13643
77e8bddf
AS
13644 * configure.in: Don't override --enable-multi-arch.
13645
bc425b33
UD
136462011-01-15 Ulrich Drepper <drepper@gmail.com>
13647
13648 [BZ #6812]
13649 * nscd/hstcache.c (tryagain): Define.
13650 (cache_addhst): Return tryagain not notfound for temporary errors.
13651 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13652 failed.
13653
794c3ad3
UD
136542011-01-14 Ulrich Drepper <drepper@gmail.com>
13655
70181fdd
UD
13656 [BZ #10563]
13657 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13658 to make the syscall.
13659 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13660
794c3ad3
UD
13661 [BZ #12378]
13662 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13663 and fall back to matching as normal character if the string ends before
13664 the matching ']' is found. This is what POSIX requires.
13665 * posix/testfnm.c: Adjust test result.
13666 * posix/globtest.sh: Adjust test result. Add new test.
13667 * posix/tst-fnmatch.input: Likewise.
13668 * posix/tst-fnmatch2.c: Add new test.
13669
68dc9497
AS
136702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13671
13672 * elf/Makefile (check-execstack): Revert last change. Depend on
13673 check-execstack.h.
13674 (check-execstack.h): New target.
13675 (generated): Add check-execstack.h.
13676 * elf/check-execstack.c: Include "check-execstack.h".
13677 (main): Revert last change.
13678 (handle_file): Return zero if GNU_STACK is absent and
13679 DEFAULT_STACK_PERMS doesn't include PF_X.
13680
451f001b
UD
136812011-01-13 Ulrich Drepper <drepper@gmail.com>
13682
cfa28e56
UD
13683 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13684 in child fails because the descriptor is already closed.
8cf8ce17
UD
13685 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13686 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13688
1086d70d
UD
13689 [BZ #12397]
13690 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13691 syscall.
13692
451f001b
UD
13693 [BZ #10484]
13694 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13695 temporary buffer used to handle multi lookups locally.
a85b5cb4 13696 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13697
08769175
UD
136982011-01-12 Ulrich Drepper <drepper@gmail.com>
13699
13700 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13701 loader is ld.so.
13702
5e49c52e
UD
137032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13704
13705 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13706 alignment for SSE2.
13707
60522a5f
UD
137082011-01-12 Ulrich Drepper <drepper@gmail.com>
13709
13710 [BZ #12394]
13711 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13712 characters. When rounding increased number of integer digits recompute
13713 number of groups.
13714 * stdio-common/tst-grouping.c: New file.
13715 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13716
f257bbd7
UD
137172011-01-09 Ulrich Drepper <drepper@gmail.com>
13718
13719 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13720 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13721
13722 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13723 void.
13724 * bits/select.h: Likewise.
13725
fa9c15cb
UD
137262011-01-08 Ulrich Drepper <drepper@gmail.com>
13727
13728 * po/ja.po: Update from translation team.
13729
16c2895f
DM
137302011-01-04 David S. Miller <davem@sunset.davemloft.net>
13731
13732 [BZ #11155]
13733 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13734 implementation just like for lxstat, fxstatat, et al.
13735
2543fef2
JM
137362010-12-27 Jim Meyering <meyering@redhat.com>
13737
13738 [BZ #12348]
13739 * posix/regexec.c (build_trtable): Return failure indication upon
13740 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13741
98727dbe
UD
137422010-12-25 Ulrich Drepper <drepper@gmail.com>
13743
5bd6dc5c
UD
13744 [BZ #12201]
13745 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13746 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13749
97983464
UD
13750 [BZ #12207]
13751 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13752
98727dbe
UD
13753 [BZ #12204]
13754 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13755 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13756
4a531bb0
L
137572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13760 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13761 script has SORT_BY_INIT_PRIORITY.
13762 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13763 NO_CTORS_DTORS_SECTIONS is defined.
13764 * elf/soinit.c: Likewise.
13765 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13766 NO_CTORS_DTORS_SECTIONS is defined.
13767 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13768 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13769 * sysdeps/sh/init-first.c: Likewise.
13770 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13771
07eb4b71
UD
137722010-12-24 Ulrich Drepper <drepper@gmail.com>
13773
13774 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13775 always use the slow path.
13776
30950a5f
RA
137772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13778
13779 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13780 similar rule which adds the sysdep directories to the header search in
13781 order to pick up the correct platform stackinfo.h.
13782 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13783 perform test if it is, otherwise return successfully without testing.
13784 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13785 DEFAULT_STACK_PERMS define in stackinfo.h.
13786 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13787 defined in stackinfo.h.
13788 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13789 DEFAULT_STACK_PERMS defined in stackinfo.h.
13790 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13791 * sysdeps/ia64/stackinfo.h: Likewise.
13792 * sysdeps/s390/stackinfo.h: Likewise.
13793 * sysdeps/sh/stackinfo.h: Likewise.
13794 * sysdeps/sparc/stackinfo.h: Likewise.
13795 * sysdeps/x86_64/stackinfo.h: Likewise.
13796 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13797 PF_X for powerpc64. Retain PF_X for powerpc32.
13798
db753e2c
UD
137992010-12-19 Ulrich Drepper <drepper@gmail.com>
13800
14b697f7
UD
13801 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13802 accurately.
db753e2c
UD
13803 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13804 GETDENTS_64BIT_ALIGNED.
13805
28300719
UD
138062010-12-14 Ulrich Drepper <dreper@gmail.com>
13807
14b697f7 13808 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13809
4f197237
AS
138102010-12-10 Andreas Schwab <schwab@redhat.com>
13811
dbb0472f
AS
13812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13813 _GNU_SOURCE.
13814
4f197237
AS
13815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13816 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13817 Remove __restrict.
13818 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13819 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13820
fb88ac72
UD
138212010-12-09 Ulrich Drepper <drepper@gmail.com>
13822
13823 [BZ #11655]
13824 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13825 are initialized.
13826
42acbb92
JJ
138272010-12-09 Jakub Jelinek <jakub@redhat.com>
13828
13829 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13830
c038d98d
UD
138312010-12-03 Ulrich Drepper <drepper@gmail.com>
13832
13833 * po/it.po: Update from translation team.
13834
3a4a2499
L
138352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13836
13837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13838 unused codes.
13839
1e24cf6e
UD
138402010-11-30 Ulrich Drepper <drepper@gmail.com>
13841
13842 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13843
a7690819
AS
138442010-11-24 Andreas Schwab <schwab@redhat.com>
13845
13846 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13847 specially.
13848 (gaih_getanswer_slice): Likewise.
13849
3bf8d1b1
JJ
138502010-10-20 Jakub Jelinek <jakub@redhat.com>
13851
13852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13853
6db52fbb
PB
138542010-05-31 Petr Baudis <pasky@suse.cz>
13855
13856 [BZ #11149]
13857 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13858 silently even in the chroot mode.
13859
eaca7569
UD
138602010-11-22 Ulrich Drepper <drepper@gmail.com>
13861
13862 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13863 last patch a bit. Pretty printing
13864
3056dcdb
UD
138652010-05-31 Petr Baudis <pasky@suse.cz>
13866
13867 [BZ #10085]
13868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13869 initialization of skip_initgroups_dyn.
13870
cf7c9078
UD
138712010-11-19 Ulrich Drepper <drepper@gmail.com>
13872
13873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13875
a1fb5e3e
UD
138762010-11-16 Ulrich Drepper <drepper@gmail.com>
13877
13878 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13879
3540d66b
AS
138802010-11-11 Andreas Schwab <schwab@redhat.com>
13881
13882 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13883 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13884 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13885 ($(objpfx)tst-fnmatch-mem): New rule.
13886 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13887 * posix/tst-fnmatch.c (main): Call mtrace.
13888
13b69574
L
138892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13890
13891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13892 Support Intel processor model 6 and model 0x2c.
13893
da93d214
LM
138942010-11-10 Luis Machado <luisgpm@br.ibm.com>
13895
13896 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13897 signed comparison.
13898
8ca52c6e
L
138992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 [BZ #12205]
13902 * string/test-strncasecmp.c (check_result): New function.
13903 (do_one_test): Use it.
13904 (check1): New function.
13905 (test_main): Use it.
13906 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13907 Support strcasecmp and strncasecmp.
13908
69da074d
UD
139092010-11-08 Ulrich Drepper <drepper@gmail.com>
13910
13911 [BZ #12194]
13912 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13914
ff02d528
L
139152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13916
13917 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13918 IFUNC support.
13919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13920 memset-x86-64.
13921 * sysdeps/x86_64/multiarch/bzero.S: New file.
13922 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13923 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13924 * sysdeps/x86_64/multiarch/memset.S: New file.
13925 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13927 Set bit_Prefer_SSE_for_memop for Intel processors.
13928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13929 Define.
13930 (index_Prefer_SSE_for_memop): Define.
13931 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13932
344d0b54
LM
139332010-11-04 Luis Machado <luisgpm@br.ibm.com>
13934
13935 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13936 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13937
c0dde15b
UD
139382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13939
13940 [BZ #12191]
13941 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13942 (__x86_64_raw_data_cache_size_half): Likewise.
13943 (__x86_64_raw_shared_cache_size): Likewise.
13944 (__x86_64_raw_shared_cache_size_half): Likewise.
13945
13946 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13947 (__x86_64_raw_data_cache_size_half): Likewise.
13948 (__x86_64_raw_shared_cache_size): Likewise.
13949 (__x86_64_raw_shared_cache_size_half): Likewise.
13950 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13951 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13952 and __x86_64_raw_shared_cache_size_half. Round
13953 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13954 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13955 to multiple of 256 bytes.
13956
0e516e0e
MS
139572010-11-03 Ulrich Drepper <drepper@gmail.com>
13958
13959 [BZ #12167]
13960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13961 of inacessible symlinks. Verify result of symlink before returning it.
13962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13963 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13964
0e012e87
ER
139652010-10-28 Erich Ritz <erichritz@gmail.com>
13966
13967 * math/math.h (isinf): Fix typo in comment.
13968
de0ff7bc
UD
139692010-11-01 Ulrich Drepper <drepper@gmail.com>
13970
13971 * po/da.po: Update from translation team.
13972
fa41c84d
UD
139732010-10-26 Ulrich Drepper <drepper@gmail.com>
13974
13975 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13976 is added to the list.
13977
f0967738
AK
139782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13979 Ulrich Drepper <drepper@gmail.com>
13980
13981 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13982 the global list here. Move code to...
13983 (_dl_add_to_namespace_list): ...here. New function.
13984 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13985 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13986 * elf/dl-load.c (lose): Don't remove the element from the list.
13987 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13988 (_dl_map_object): Likewise.
13989
139902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13991
13992 [BZ #12159]
13993 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13994 into all bytes of SSE register.
13995 Patch by Richard Li <richardpku@gmail.com>.
13996
f0967738 139972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13998
13999 [BZ #12140]
14000 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14001 perturbing.
14002
d0b9e94f
MB
140032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14004
14005 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14006 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14010 submachine.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14012
8e9f92e9
AS
140132010-10-22 Andreas Schwab <schwab@redhat.com>
14014
14015 * include/dlfcn.h (__RTLD_SECURE): Define.
14016 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14017 mode & __RTLD_SECURE instead.
14018 (open_path): Rename preloaded parameter to secure.
14019 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14020 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14021 * elf/dl-deps.c (openaux): Likewise.
14022 * elf/rtld.c (struct map_args): Remove is_preloaded.
14023 (map_doit): Don't use it.
14024 (dl_main): Likewise.
14025 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14026 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14027
bc96fbda
AS
140282010-09-09 Andreas Schwab <schwab@redhat.com>
14029
14030 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14031 (sysd-rules-targets): Remove duplicates.
14032 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14033 rtld-%.$o dependency.
14034
22cd1c9b
AS
140352010-10-18 Andreas Schwab <schwab@redhat.com>
14036
14037 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14038 _dl_map_object do it.
14039
18edac48
UD
140402010-10-19 Ulrich Drepper <drepper@gmail.com>
14041
14042 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14043 fast fma builtins, define the macros in the C99 standard.
14044 (FP_FAST_FMAF): Likewise.
14045 (FP_FAST_FMAL): Likewise.
14046 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14047
14048 * bits/mathdef.h: Update copyright year.
14049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14050
d2050124
MM
140512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14052
14053 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14054 builtins, define the macros in the C99 standard.
14055 (FP_FAST_FMAF): Likewise.
14056 (FP_FAST_FMAL): Likewise.
14057 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14058 multiply/add.
14059 (FP_FAST_FMAF): Likewise.
14060
475facd1
JJ
140612010-10-15 Jakub Jelinek <jakub@redhat.com>
14062
14063 [BZ #3268]
14064 * math/libm-test.inc (fma_test): Some new testcases.
14065 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14066 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14067 y and infinite z. Do multiplication by C already in long double.
14068 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14070 y and infinite z. Do bitwise or of inexact bit into u.d.
14071 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14072 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14073 * sysdeps/i386/fpu/s_fma.S: Removed.
14074 * sysdeps/i386/fpu/s_fmal.S: Removed.
14075
7c08a05c
JJ
140762010-10-16 Jakub Jelinek <jakub@redhat.com>
14077
14078 [BZ #3268]
14079 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14081 computation is not scheduled after fetestexcept. Fix value
14082 of minimum denormal long double.
14083
f3f7372d
JJ
140842010-10-14 Jakub Jelinek <jakub@redhat.com>
14085
14086 [BZ #3268]
14087 * math/libm-test.inc (fma_test): Add some more tests.
14088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14089 correctly.
14090
14d43591
AS
140912010-10-15 Andreas Schwab <schwab@redhat.com>
14092
14093 * scripts/data/localplt-s390-linux-gnu.data: New file.
14094 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14095
5e908464
JJ
140962010-10-13 Jakub Jelinek <jakub@redhat.com>
14097
14098 [BZ #3268]
14099 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14100 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14101 instead of dbl-64.
14102 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14103 inlines.
14104 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14106 if one of x and y is very large and the other is subnormal.
14107 * sysdeps/s390/fpu/s_fmaf.c: New file.
14108 * sysdeps/s390/fpu/s_fma.c: New file.
14109 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14110 * sysdeps/powerpc/fpu/s_fma.S: New file.
14111 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14112 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14113 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14114
141152010-10-12 Jakub Jelinek <jakub@redhat.com>
14116
14117 [BZ #3268]
14118 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14119 fma tests.
14120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14121 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14122 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14123 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14124 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14125 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14126 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14127
b833d51f
UD
141282010-10-12 Ulrich Drepper <drepper@redhat.com>
14129
14130 [BZ #12078]
14131 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14132 * posix/bug-regex31.input: Add test case.
14133
1751705d
UD
141342010-10-11 Ulrich Drepper <drepper@gmail.com>
14135
e9b9cbf5
UD
14136 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14137 * posix/bug-regex31.input: New file.
14138
14139 [BZ #12078]
14140 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14141 (parse_sub_exp): Fix last change, use postorder.
14142
ef06edbe
UD
14143 * posix/bug-regex31.c: New file.
14144 * posix/Makefile: Add rules to build and run bug-regex31.
14145
a129c80d
UD
14146 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14147
14148 [BZ #12078]
14149 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14150
b76b818e
UD
14151 [BZ #12108]
14152 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14153 to have entries in sys_siglist.
14154
1751705d
UD
14155 [BZ #12093]
14156 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14157 be NULL.
14158
9ff8d36f
JJ
141592010-10-07 Jakub Jelinek <jakub@redhat.com>
14160
14161 [BZ #3268]
14162 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14163 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14164 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14165 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14167 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14168 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14169 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14170 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14171 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14172 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14173 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14174 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14175 * math/ftestexcept.c (fetestexcept): Likewise.
14176 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14177 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14178 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14179 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14180 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14181 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14182 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14183
af325969
UD
141842010-10-11 Ulrich Drepper <drepper@gmail.com>
14185
c579b202 14186 [BZ #12107]
af325969
UD
14187 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14188 newline.
14189
67a67b95
UD
141902010-10-06 Ulrich Drepper <drepper@gmail.com>
14191
14192 * string/bug-strstr1.c: New file.
14193 * string/Makefile: Add rules to build and run bug-strstr1.
14194
5fb308bc
EB
141952010-10-05 Eric Blake <eblake@redhat.com>
14196
14197 [BZ #12092]
14198 * string/str-two-way.h (two_way_long_needle): Always clear memory
14199 when skipping input due to the shift table.
14200
45db99c7
UD
142012010-10-03 Ulrich Drepper <drepper@gmail.com>
14202
3b111893
UD
14203 [BZ #12005]
14204 * malloc/mcheck.c: Handle large requests.
14205
45db99c7
UD
14206 [BZ #12077]
14207 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14208 for strncmp and strncasecmp.
14209 * string/stratcliff.c: Add tests for strcmp and strncmp.
14210 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14211
cf7a1eb8
NI
142122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14213
14214 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14215 __set_fpscr.
14216
6484ba5e
AJ
142172010-09-30 Andreas Jaeger <aj@suse.de>
14218
14219 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14220 (CGROUP_SUPER_MAGIC): Define.
14221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14222 Handle btrfs and cgroup file systems.
14223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14224 Likewise.
14225
91c42559
LM
142262010-09-27 Luis Machado <luisgpm@br.ibm.com>
14227
14228 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14229 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14230
87a97932
AK
142312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14232
14233 [BZ #12067]
14234 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14235 trying to locate the ELF header.
14236
c21cc9bc
AS
142372010-09-27 Andreas Schwab <schwab@redhat.com>
14238
14239 [BZ #11611]
14240 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14241 Mask out sign-bit copies when constructing f_fsid.
14242
315970f6
PB
142432010-09-24 Petr Baudis <pasky@suse.cz>
14244
14245 * debug/stack_chk_fail_local.c: Add missing licence exception.
14246 * debug/warning-nop.c: Likewise.
14247
1ac7a2c7
JM
142482010-09-15 Joseph Myers <joseph@codesourcery.com>
14249
14250 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14251 implementing getdents64 using getdents syscall, set d_type if
14252 __ASSUME_GETDENTS32_D_TYPE.
14253
56801c50
AS
142542010-09-16 Andreas Schwab <schwab@redhat.com>
14255
14256 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14257 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14258
dda51327
UD
142592010-09-21 Ulrich Drepper <drepper@redhat.com>
14260
14261 [BZ #12037]
14262 * posix/unistd.h: Undo change of feature selection for ftruncate from
14263 2010-01-11.
14264
8ffcee4a
UD
142652010-09-20 Ulrich Drepper <drepper@redhat.com>
14266
a545ecd9 14267 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14268 detection.
14269
e24f0a8b
AS
142702010-09-20 Andreas Schwab <schwab@redhat.com>
14271
14272 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14273 fanotify_mark.
14274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14275
7291c56f
AS
142762010-09-14 Andreas Schwab <schwab@redhat.com>
14277
14278 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14279 variables after CHECK_SP call.
14280 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14281
bc5fb037
AS
142822010-09-13 Andreas Schwab <schwab@redhat.com>
14283 Ulrich Drepper <drepper@redhat.com>
14284
14285 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14286 re-relocationg ld.so.
14287 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14288 _dl_init_paths call.
14289 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14290 here anymore.
14291
e66e7419
UD
142922010-09-14 Ulrich Drepper <drepper@redhat.com>
14293
14294 * resolv/res_init.c (__res_vinit): Count the default server we added.
14295
c044aa75
CLT
142962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14297 Ulrich Drepper <drepper@redhat.com>
14298
14299 [BZ #11968]
14300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14301 (____longjmp_chk): Use %ebx for saving value across system call.
14302 Add unwind info.
14303
32cf4069
AS
143042010-09-06 Andreas Schwab <schwab@redhat.com>
14305
14306 * manual/Makefile: Don't mix pattern rules with normal rules.
14307
817328ee
AS
143082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14309
14310 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14311 operation.
14312 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14313 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14314 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14315 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14317 Likewise.
14318
29fddf61
UD
143192010-09-04 Ulrich Drepper <drepper@redhat.com>
14320
14321 [BZ #11979]
14322 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14323 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14324
0959ffc9
UD
143252010-09-02 Ulrich Drepper <drepper@redhat.com>
14326
14327 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14328 * sysdeps/x86_64/addmul_1.S: Likewise.
14329 * sysdeps/x86_64/lshift.S: Likewise.
14330 * sysdeps/x86_64/mul_1.S: Likewise.
14331 * sysdeps/x86_64/rshift.S: Likewise.
14332 * sysdeps/x86_64/sub_n.S: Likewise.
14333 * sysdeps/x86_64/submul_1.S: Likewise.
14334
ece29840
ST
143352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14336
0959ffc9
UD
14337 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14338 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14339 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14340 * bits/sched.h [__need_schedparam]
ece29840 14341 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14342 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14343 (__defined_schedparam): Define to 1.
ece29840
ST
14344 (__sched_param): New structure, identical to sched_param.
14345 (__need_schedparam): Undefine.
14346
e53a31fe
MF
143472010-08-31 Mike Frysinger <vapier@gentoo.org>
14348
fdc0c10d
MF
14349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14350 (epoll_create1): Declare.
14351
e53a31fe
MF
14352 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14353
a726d796
AS
143542010-08-31 Andreas Schwab <schwab@redhat.com>
14355
14356 [BZ #7066]
14357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14358 shifting retval into place.
14359
2f3e3dc7
UD
143602010-09-01 Ulrich Drepper <drepper@redhat.com>
14361
f2933da9
UD
14362 * nis/rpcsvc/nis.h: Update copyright notice.
14363 * nis/rpcsvc/nis.x: Likewise.
14364 * nis/rpcsvc/nis_callback.h: Likewise.
14365 * nis/rpcsvc/nis_callback.x: Likewise.
14366 * nis/rpcsvc/nis_object.x: Likewise.
14367 * nis/rpcsvc/nis_tags.h: Likewise.
14368 * nis/rpcsvc/yp.h: Likewise.
14369 * nis/rpcsvc/yp.x: Likewise.
14370 * nis/rpcsvc/ypupd.h: Likewise.
14371 * nis/yp_xdr.c: Likewise.
14372 * nis/ypupdate_xdr.c: Likewise.
14373
2f3e3dc7
UD
14374 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14375 mainly the body of pmap_getport. Add parameters to specify timeouts.
14376 (pmap_getport): Use __libc_rpc_getport.
14377 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14378 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14379 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14380
f3dcc2f9
AS
143812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14382
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14384 fanotify_mark.
14385
6d34eb5b
RM
143862010-08-27 Roland McGrath <roland@redhat.com>
14387
14388 * sysdeps/i386/i686/multiarch/Makefile
14389 (CFLAGS-varshift.c): New variable.
14390
9ea3de11
UD
143912010-08-27 Ulrich Drepper <drepper@redhat.com>
14392
c96d23fc
UD
14393 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14394 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14395
9ea3de11
UD
14396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14397
14398 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14399
623aac7f
L
144002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14401
14402 * sysdeps/x86_64/strlen.S: Unroll the loop.
14403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14404 strlen-sse2 strlen-sse2-bsf.
14405 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14406 __strlen_no_bsf if bit_Slow_BSF is set.
14407 (__strlen_sse42): Removed.
14408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14409 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14410
8b2b7715
RM
144112010-08-25 Roland McGrath <roland@redhat.com>
14412
14413 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14414 * sysdeps/x86_64/multiarch/varshift.c: New file.
14415 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14416 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14417 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14418 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14419
e73015f2
L
144202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14423 strlen-sse2 strlen-sse2-bsf.
14424 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14425 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14426 (__strlen_sse2): Removed.
14427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14430 bit_Slow_BSF for Atom.
14431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14432 (index_Slow_BSF): Define.
14433 (HAS_SLOW_BSF): Define.
14434
df24a73e
UD
144352010-08-25 Ulrich Drepper <drepper@redhat.com>
14436
14437 [BZ #10851]
14438 * resolv/res_init.c (__res_vinit): When no server address at all
14439 is given default to loopback.
14440
f2ac4868
RM
144412010-08-24 Roland McGrath <roland@redhat.com>
14442
09055553
RM
14443 * configure.in: Remove config-name.h generation.
14444 * configure: Regenerated.
14445 * config-name.in: File removed.
14446 * scripts/config-uname.sh: New file.
14447 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14448 ($(objdir)config-name.h): New target.
14449
f2ac4868
RM
14450 * sunrpc/rpc_parse.h: Avoid nested comment.
14451
73f27d5e
RH
144522010-08-24 Richard Henderson <rth@redhat.com>
14453 Ulrich Drepper <drepper@redhat.com>
14454 H.J. Lu <hongjiu.lu@intel.com>
14455
14456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14458 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14459 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14460 _mm_alignr_epi8 with _mm_loadu_si128.
14461 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14462 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14463 (__m128i_shift_right): Removed.
14464 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14465 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14466 * sysdeps/x86_64/multiarch/varshift.h: New file.
14467 * sysdeps/x86_64/multiarch/varshift.S: New file.
14468
84b9230c
MF
144692010-08-21 Mike Frysinger <vapier@gentoo.org>
14470
14471 * configure.in: Move assembler checks to before sysdep dir checking.
14472
9bbd0ddc
PB
144732010-08-20 Petr Baudis <pasky@suse.cz>
14474
14475 * LICENSES: Sync the sunrpc license.
14476
9da4bb31
UD
144772010-08-19 Ulrich Drepper <drepper@redhat.com>
14478
a7ab6ec8
UD
14479 * sunrpc/auth_des.c: Update copyright notice once again.
14480 * sunrpc/auth_none.c: Likewise.
14481 * sunrpc/auth_unix.c: Likewise.
14482 * sunrpc/authdes_prot.c: Likewise.
14483 * sunrpc/authuxprot.c: Likewise.
14484 * sunrpc/bindrsvprt.c: Likewise.
14485 * sunrpc/clnt_gen.c: Likewise.
14486 * sunrpc/clnt_perr.c: Likewise.
14487 * sunrpc/clnt_raw.c: Likewise.
14488 * sunrpc/clnt_simp.c: Likewise.
14489 * sunrpc/clnt_tcp.c: Likewise.
14490 * sunrpc/clnt_udp.c: Likewise.
14491 * sunrpc/clnt_unix.c: Likewise.
14492 * sunrpc/des_crypt.c: Likewise.
14493 * sunrpc/des_soft.c: Likewise.
14494 * sunrpc/get_myaddr.c: Likewise.
14495 * sunrpc/getrpcport.c: Likewise.
14496 * sunrpc/key_call.c: Likewise.
14497 * sunrpc/key_prot.c: Likewise.
14498 * sunrpc/openchild.c: Likewise.
14499 * sunrpc/pm_getmaps.c: Likewise.
14500 * sunrpc/pm_getport.c: Likewise.
14501 * sunrpc/pmap_clnt.c: Likewise.
14502 * sunrpc/pmap_prot.c: Likewise.
14503 * sunrpc/pmap_prot2.c: Likewise.
14504 * sunrpc/pmap_rmt.c: Likewise.
14505 * sunrpc/rpc/auth.h: Likewise.
14506 * sunrpc/rpc/auth_unix.h: Likewise.
14507 * sunrpc/rpc/clnt.h: Likewise.
14508 * sunrpc/rpc/des_crypt.h: Likewise.
14509 * sunrpc/rpc/key_prot.h: Likewise.
14510 * sunrpc/rpc/netdb.h: Likewise.
14511 * sunrpc/rpc/pmap_clnt.h: Likewise.
14512 * sunrpc/rpc/pmap_prot.h: Likewise.
14513 * sunrpc/rpc/pmap_rmt.h: Likewise.
14514 * sunrpc/rpc/rpc.h: Likewise.
14515 * sunrpc/rpc/rpc_des.h: Likewise.
14516 * sunrpc/rpc/rpc_msg.h: Likewise.
14517 * sunrpc/rpc/svc.h: Likewise.
14518 * sunrpc/rpc/svc_auth.h: Likewise.
14519 * sunrpc/rpc/types.h: Likewise.
14520 * sunrpc/rpc/xdr.h: Likewise.
14521 * sunrpc/rpc_clntout.c: Likewise.
14522 * sunrpc/rpc_cmsg.c: Likewise.
14523 * sunrpc/rpc_common.c: Likewise.
14524 * sunrpc/rpc_cout.c: Likewise.
14525 * sunrpc/rpc_dtable.c: Likewise.
14526 * sunrpc/rpc_hout.c: Likewise.
14527 * sunrpc/rpc_main.c: Likewise.
14528 * sunrpc/rpc_parse.c: Likewise.
14529 * sunrpc/rpc_parse.h: Likewise.
14530 * sunrpc/rpc_prot.c: Likewise.
14531 * sunrpc/rpc_sample.c: Likewise.
14532 * sunrpc/rpc_scan.c: Likewise.
14533 * sunrpc/rpc_scan.h: Likewise.
14534 * sunrpc/rpc_svcout.c: Likewise.
14535 * sunrpc/rpc_tblout.c: Likewise.
14536 * sunrpc/rpc_util.c: Likewise.
14537 * sunrpc/rpc_util.h: Likewise.
14538 * sunrpc/rpcinfo.c: Likewise.
14539 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14540 * sunrpc/rpcsvc/key_prot.x: Likewise.
14541 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14542 * sunrpc/rpcsvc/mount.x: Likewise.
14543 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14544 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14545 * sunrpc/rpcsvc/rex.x: Likewise.
14546 * sunrpc/rpcsvc/rstat.x: Likewise.
14547 * sunrpc/rpcsvc/rusers.x: Likewise.
14548 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14549 * sunrpc/rpcsvc/spray.x: Likewise.
14550 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14551 * sunrpc/rtime.c: Likewise.
14552 * sunrpc/svc.c: Likewise.
14553 * sunrpc/svc_auth.c: Likewise.
14554 * sunrpc/svc_authux.c: Likewise.
14555 * sunrpc/svc_raw.c: Likewise.
14556 * sunrpc/svc_run.c: Likewise.
14557 * sunrpc/svc_simple.c: Likewise.
14558 * sunrpc/svc_tcp.c: Likewise.
14559 * sunrpc/svc_udp.c: Likewise.
14560 * sunrpc/svc_unix.c: Likewise.
14561 * sunrpc/svcauth_des.c: Likewise.
14562 * sunrpc/xcrypt.c: Likewise.
14563 * sunrpc/xdr.c: Likewise.
14564 * sunrpc/xdr_array.c: Likewise.
14565 * sunrpc/xdr_float.c: Likewise.
14566 * sunrpc/xdr_mem.c: Likewise.
14567 * sunrpc/xdr_rec.c: Likewise.
14568 * sunrpc/xdr_ref.c: Likewise.
14569 * sunrpc/xdr_sizeof.c: Likewise.
14570 * sunrpc/xdr_stdio.c: Likewise.
14571
9da4bb31
UD
14572 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14573 handling.
14574
bdaa77bc
AS
145752010-08-19 Andreas Schwab <schwab@redhat.com>
14576
14577 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14578
fe2f79db
LM
145792010-08-19 Luis Machado <luisgpm@br.ibm.com>
14580
14581 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14583 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14584 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14585 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14586 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14588 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14591 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14592 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14593 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14594 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14595
b9b42ee0
AB
145962010-07-26 Anton Blanchard <anton@samba.org>
14597
14598 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14599 * malloc/arena.c (heap_trim): Likewise.
14600
1c06ba31
UD
146012010-08-16 Ulrich Drepper <drepper@redhat.com>
14602
14603 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14604 here. Not...
14605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14606 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14607
f8392f40
L
146082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14609
14610 * sysdeps/i386/elf/Makefile: New file.
14611
3162f12e
AS
146122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14615 from fanotify_init.
14616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14618
28c90b2c
UD
146192010-08-15 Ulrich Drepper <drepper@redhat.com>
14620
14621 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14622 of strncasecmp_l.
1feccb6c 14623 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14624
ca6bb004
UD
146252010-08-14 Ulrich Drepper <drepper@redhat.com>
14626
e9f82e0d
UD
14627 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14628 strncase_l-nonascii.
14629 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14630 Add strncase_l-ssse3.
14631 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14632 * sysdeps/x86_64/strcmp.S: Likewise.
14633 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14634 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14635 * sysdeps/x86_64/strncase.S: New file.
14636 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14637 * sysdeps/x86_64/strncase_l.S: New file.
14638 * string/Makefile (strop-tests): Add strncasecmp.
14639 * string/test-strncasecmp.c: New file.
14640
14641 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14642 warning.
14643
ca6bb004
UD
14644 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14645 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14646
052fa7b3
AS
146472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14648
14649 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14650
962dba78
UD
146512010-08-12 Ulrich Drepper <drepper@redhat.com>
14652
14653 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14654 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14656
bebff237
AM
146572010-05-01 Alan Modra <amodra@gmail.com>
14658
14659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14660 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14661 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14662 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14663 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14664 tidying. Don't tail-call __sigjmp_save for static lib.
14665 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14666 save location.
14667 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14668 (CALL_MCOUNT): Add eh info, and nop after bl.
14669 (TAIL_CALL_SYSCALL_ERROR): New macro.
14670 (PSEUDO_RET): Use it.
14671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14672 Correct save location of integer regs and cr.
14673 (_dl_profile_resolve): Correct cr save location. Delete nops
14674 after bl when SHARED. Reduce cfi size a little by better
14675 placement of cfi directives.
14676 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14677 make a stack frame. Instead use parm save area as a temp.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14679 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14681 Don't make a stack frame for parent, use parm save area.
14682 Increase child stack frame to 112 bytes. Don't save unused reg,
14683 and adjust reg usage. Set up cfi on error recovery and
14684 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14686 (__makecontext): Add dummy nop after jump to exit.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14688 Use correct parm save area and cr save, reduce stack frame.
14689 Correct cfi for possible PSEUDO_RET frame setup.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14691 Branch to local label emitted by PSEUDO_RET rather than
14692 __syscall_error.
14693
02637374
AS
146942010-08-12 Andreas Schwab <schwab@redhat.com>
14695
14696 [BZ #11904]
14697 * locale/programs/locale.c (print_assignment): New function.
14698 (show_locale_vars): Use it.
14699
c3e2f19b
UD
147002010-08-11 Ulrich Drepper <drepper@redhat.com>
14701
3cdaa6ad
UD
14702 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14703 field.
14704 (struct statfs64): Likewise.
14705 (_STATFS_F_FLAGS): Define.
14706 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14708 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14709 (ST_VALID): Define locally.
14710 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14711 __statvfs_getflags, use the provided value.
14712 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14713 __ASSUME_STATFS_F_FLAGS.
14714
754f7da3
UD
14715 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14716
10b3bedc
UD
14717 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14718 Add sys/fanotify.h.
14719 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14720 fanotify_mask for GLIBC_2.13.
14721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14722 fanotify_init and fanotify_mark.
14723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14724 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14725
c08fb0d7
UD
14726 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14727 Add prlimit.
14728 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14729 prlimit64 for GLIBC_2.13.
14730 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14731 prlimit64.
14732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14733 syscall.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14736 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14737 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14739 add prlimit alias.
14740 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14741
15bac72b
UD
14742 [BZ #11903]
14743 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14744 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14745
c3e2f19b
UD
14746 * nss/Makefile: Add rules to build and run tst-nss-test1.
14747 * shlib-versions: Add entry for libnss_test1.
14748 * nss/nss_test1.c: New file.
14749 * nss/tst-nss-test1.c: New file.
14750
14751 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14752 (__nss_configure_lookup): Set appropriate entry in
14753 __nss_configure_lookup to true.
14754 * nss/nsswitch.h: Define enum with indeces of databases in
14755 databases and __nss_database_custom arrays. Declare
14756 __nss_database_custom.
14757 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14758 to avoid using nscd when custom rules are installed.
14759 * nss/getXXbyYY_r.c: Likewise.
14760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14761
14762 * nss/nss_files/files-parse.c: Whitespace fixes.
14763
f15ce4d8
UD
147642010-08-09 Ulrich Drepper <drepper@redhat.com>
14765
14766 [BZ #11883]
14767 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14768 * posix/fnmatch_loop.c: Likewise.
14769
d22e4cc9
AK
147702010-07-17 Andi Kleen <ak@linux.intel.com>
14771
14772 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14773 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14774 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14775 * Versions.def [GLIBC_2.13]: Add.
14776
805bc17d
UD
147772010-08-06 Ulrich Drepper <drepper@redhat.com>
14778
14779 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14780 Also fail if tpwd after pwuid call is NULL.
14781
5a42321d
ST
147822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14783
14784 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14785 when converting to ms.
14786
fd3ebeda
ST
147872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14788
14789 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14790 EOPNOTSUPP errors with ENOTTY.
14791 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14792 EOPNOTSUPP errors with ENOTTY.
14793
73507d3a
UD
147942010-07-31 Ulrich Drepper <drepper@redhat.com>
14795
14796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14797 Add strcasecmp_l-ssse3.
14798 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14799 strcasecmp.
14800 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14802 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14803
fe36dd02
UD
148042010-07-30 Ulrich Drepper <drepper@redhat.com>
14805
66f6765a
UD
14806 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14807
42e08a54
UD
14808 * string/Makefile (strop-tests): Add strcasecmp.
14809 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14810 strcasecmp_l-nonascii.
14811 (gen-as-const-headers): Add locale-defines.sym.
14812 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14813 * sysdeps/x86_64/strcasecmp.S: New file.
14814 * sysdeps/x86_64/strcasecmp_l.S: New file.
14815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14816 * sysdeps/x86_64/locale-defines.sym: New file.
14817 * string/test-strcasecmp.c: New file.
14818
fe36dd02
UD
14819 * string/test-strcasestr.c: Test both ends of the range of characters.
14820 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14821
48cbc0d6
RM
148222010-07-29 Roland McGrath <roland@redhat.com>
14823
76e6d6bc 14824 [BZ #11856]
48cbc0d6
RM
14825 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14826
880113d9
UD
148272010-07-27 Ulrich Drepper <drepper@redhat.com>
14828
14829 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14830 for ld.so.
14831
deb9cabb
AS
148322010-07-27 Andreas Schwab <schwab@redhat.com>
14833
14834 * manual/memory.texi (Malloc Tunable Parameters): Document
14835 M_PERTURB.
14836
1c7570ff
RM
148372010-07-26 Roland McGrath <roland@redhat.com>
14838
14839 [BZ #11840]
14840 * configure.in (-fgnu89-inline check): Set and substitute
14841 gnu89_inline, not libc_cv_gnu89_inline.
14842 * configure: Regenerated.
14843 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14844
24fb0f88
UD
148452010-07-26 Ulrich Drepper <drepper@redhat.com>
14846
14847 * string/test-strnlen.c: New file.
14848 * string/Makefile (strop-tests): Add strnlen.
14849 * string/tester.c (test_strnlen): Add a few more test cases.
14850 * string/tst-strlen.c: Better error reporting.
14851
14852 * sysdeps/x86_64/strnlen.S: New file.
14853
8e96b93a
UD
148542010-07-24 Ulrich Drepper <drepper@redhat.com>
14855
14856 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14857 lower-latency instructions.
14858
dbc676d4
UD
148592010-07-23 Ulrich Drepper <drepper@redhat.com>
14860
14861 * string/test-strcasestr.c: New file.
14862 * string/test-strstr.c: New file.
14863 * string/Makefile (strop-tests): Add strstr and strcasestr.
14864 * string/str-two-way.h: Don't undefine MAX.
14865 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14866
f6a31e0e
AS
148672010-07-21 Andreas Schwab <schwab@redhat.com>
14868
14869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14870 strcasestr-nonascii.
14871 (CFLAGS-strcasestr-nonascii.c): Define.
14872 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14874 Remove unused attribute.
14875
5dbc3b6c
RM
148762010-07-20 Roland McGrath <roland@redhat.com>
14877
14878 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14879 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14880 ld.so.cache was broken. With it, there is no way to disable dsocaps
14881 like LD_HWCAP_MASK can disable hwcaps.
14882
23d101d8
EPM
148832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14884
14885 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14886
cc9f2e47
UD
148872010-07-16 Ulrich Drepper <drepper@redhat.com>
14888
14889 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14890 call in strcasestr.
14891 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14892 __strcasestr_sse42_nonascii.
14893 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14894 strcasestr-nonascii.c.
14895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14896
77c1b069
LM
148972010-06-15 Luis Machado <luisgpm@br.ibm.com>
14898
14899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14902 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14903
440566c3
UD
149042010-07-09 Ulrich Drepper <drepper@redhat.com>
14905
14906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14907 fcntl.
14908
5be9d05d
AS
149092010-07-06 Andreas Schwab <schwab@redhat.com>
14910
c30b7ee2 14911 [BZ #11577]
5be9d05d
AS
14912 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14913 dl_signal_cerror.
14914
8a492a67
UD
149152010-07-06 Ulrich Drepper <drepper@redhat.com>
14916
14917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14918 _PC_PIPE_BUF using F_GETPIPE_SZ.
14919
713df3d5
RM
149202010-07-05 Roland McGrath <roland@redhat.com>
14921
14922 * manual/arith.texi (Rounding Functions): Fix rint description
14923 implicit in round description.
14924
702e8f14
UD
149252010-07-02 Ulrich Drepper <drepper@redhat.com>
14926
14927 * elf/Makefile: Fix linking for a few tests to make recent linker
14928 happy.
14929
52ed8be9
AS
149302010-06-30 Andreas Schwab <schwab@redhat.com>
14931
14932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14933 $(common-objpfx)libc_nonshared.a.
14934
f47c9a11
LM
149352010-06-21 Luis Machado <luisgpm@br.ibm.com>
14936
14937 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14938 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14939 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14940 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14941 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14942 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14943 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14944 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14959 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14960 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14961 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14962 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14963 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14964 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14965 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14966 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14967 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14968 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14969 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14970 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14985
6fb8cbcb
L
149862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14987
14988 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14989 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14990 * string/memmove.c (memmove): Renamed to ...
14991 (MEMMOVE): ...this. Default to memmove.
14992 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14993 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14994 (END_CHK): Define.
14995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14996 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14997 mempcpy-ssse3-back memmove-ssse3-back.
14998 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15001 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15002 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15003 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15004 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15005 * sysdeps/x86_64/multiarch/memmove.c: New file.
15006 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15007 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15008 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15009 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15010 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15012 Define.
15013 (index_Fast_Copy_Backward): Define.
15014 (HAS_ARCH_FEATURE): Define.
15015 (HAS_FAST_REP_STRING): Define.
15016 (HAS_FAST_COPY_BACKWARD): Define.
15017
4e733bac 150182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15019
15020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15021 Restore proper fallback handling.
15022
63c4ed22
UD
150232010-06-19 Ulrich Drepper <drepper@redhat.com>
15024
ac2b484c
UD
15025 [BZ #11701]
15026 * posix/group_member.c (__group_member): Correct checking loop.
15027
63c4ed22
UD
15028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15029 OOM in getpwuid_r correctly. Return error number when the caller
15030 should return, otherwise -1.
15031 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15032 call returning > 0 value.
15033 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15034
765ade4b
AS
150352010-06-07 Andreas Schwab <schwab@redhat.com>
15036
15037 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15038 libc_nonshared.a from targets in modules-names.
15039
80da2e09
KS
150402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15041
15042 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15043 requires it.
15044
158db122
LM
150452010-06-10 Luis Machado <luisgpm@br.ibm.com>
15046
15047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15048 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15051
caa78cf8
AS
150522010-06-02 Andreas Schwab <schwab@redhat.com>
15053
15054 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15055
b2ef2c01
UD
150562010-06-14 Ulrich Drepper <drepper@redhat.com>
15057
15058 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15059 and F_GETPIPE_SZ.
15060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15066
fbd643b6
RM
150672010-06-14 Roland McGrath <roland@redhat.com>
15068
15069 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15070
f32f2869
JJ
150712010-06-07 Jakub Jelinek <jakub@redhat.com>
15072
15073 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15074 __REDIRECT followed by __THROW.
15075 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15076 * posix/getopt.h (getopt): Likewise.
15077
2a50c078
EPM
150782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15079
15080 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15081 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15082 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15083 in AT_FLAGS.
15084 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15085 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15086
eb5ad2eb
LM
150872010-05-28 Luis Machado <luisgpm@br.ibm.com>
15088
15089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15090
3c88fe1e
L
150912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15092
15093 [BZ #11640]
15094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15095 Properly check family and model.
15096
d2f73151
TY
150972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15098
15099 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15100
ebd2e13d
LM
151012010-05-24 Luis Machado <luisgpm@br.ibm.com>
15102
15103 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15104
b32b8b45
UD
151052010-05-21 Ulrich Drepper <drepper@redhat.com>
15106
15107 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15108 symbol reference.
15109
9acbe24d
AS
151102010-05-19 Andreas Schwab <schwab@redhat.com>
15111
15112 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15113 symbol reference.
15114
f0ccf6ea
AS
151152010-05-21 Andreas Schwab <schwab@redhat.com>
15116
3d04ff3a
AS
15117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15118 and internal_recvmmsg.
15119 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15120 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15121 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15122 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15123
f0ccf6ea
AS
15124 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15125 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15126 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15127
5b08ac57
AS
151282010-05-20 Andreas Schwab <schwab@redhat.com>
15129
15130 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15131
4828935d
LM
151322010-05-17 Luis Machado <luisgpm@br.ibm.com>
15133
15134 POWER7 optimizations.
15135 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15136 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15137
373d545e
UD
151382010-05-19 Ulrich Drepper <drepper@redhat.com>
15139
15140 * version.h: Update for 2.13 development version.
15141
21a2b1ae
AS
151422010-05-12 Andrew Stubbs <ams@codesourcery.com>
15143
15144 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15145 exceptions. Return 0.
15146
3f7dcb2b
RM
151472010-05-07 Roland McGrath <roland@redhat.com>
15148
15149 * elf/ldconfig.c (main): Add a const.
15150
5f24d53a 151512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15152
a160f8d8
UD
15153 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15154 (args_options): Add no-idn option.
15155 (ahosts_keys_int): Add idn_flags to ai_flags.
15156 (parse_option): Handle 'i' option to clear idn_flags.
15157
5f24d53a
UD
15158 * malloc/malloc.c (_int_free): Possible race in the most recently
15159 added check. Only act on the data if no current modification
15160 happened.
265bb1ce
UD
15161
15162See ChangeLog.17 for earlier changes.