]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Redo sparc 32-bit V9 GMP optimizations with fixed copyrights.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8794a964
DM
12013-01-11 David S. Miller <davem@davemloft.net>
2
4ae4244d
DM
3 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4 sparc V9 rather than using V8 code.
5 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7
8794a964
DM
8 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9 Move to...
10 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11 Here.
12
6270516e
RM
132013-01-11 Roland McGrath <roland@hack.frob.com>
14
15 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16 not in the main loop.
17 * configure: Regenerated.
18
6a57d931
JM
192013-01-11 Joseph Myers <joseph@codesourcery.com>
20
21 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23 to just #else.
24 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25 [!__GLIBC_HAVE_LONG_LONG] case.
26 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27 condition to just #else.
28 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32 unconditional.
33 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35 #elif condition to just #else.
36 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39 #elif condition to just #else.
40
0e8529e9
SE
412013-01-11 Steve Ellcey <sellcey@mips.com>
42
43 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44 (EF_MIPS_ARCH_64): Fix value.
45 (EF_MIPS_ARCH_32R2): New.
46 (EF_MIPS_ARCH_64R2): New.
47
740b3dbe
L
482013-01-11 H.J. Lu <hongjiu.lu@intel.com>
49
50 * Makeconfig (+link-pie-before-libc): New.
51 (+link-pie-after-libc): Likewise.
52 (+link-pie-tests): Likewise.
53 (+link-pie): Rewritten.
54 (link-before-libc): Remove $(config-LDFLAGS).
55 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57 (config-LDFLAGS): Renamed to ...
58 (rtld-LDFLAGS): This.
59 (rtld-tests-LDFLAGS): New macro.
60 (link-libc-rpath-link): Likewise.
61 (link-libc-tests-rpath-link): Likewise.
62 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63 (link-libc): Prepand $(link-libc-rpath-link).
64 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65 (test-program-prefix): New macro.
66 (test-via-rtld-prefix): Likewise.
67 (test-program-cmd): Likewise.
68 (host-test-program-cmd): Likewise.
69 * Makefile ($(common-objpfx)testrun.sh): Replace
70 $(run-program-prefix) with $(test-program-prefix).
71 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72 $(rtld-LDFLAGS).
73 ($(common-objpfx)shlib.lds): Likewise.
74 (build-module-helper): Likewise.
75 ($(common-objpfx)format.lds): Likewise.
76 * Rules (binaries-pie-tests): New.
77 (binaries-pie-notests): Likewise.
78 (binaries-pie): Rewritten.
79 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
80 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
81 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
82 (make-test-out): Replace $(host-built-program-cmd) with
83 $(host-test-program-cmd).
84 * config.make.in (build-hardcoded-path-in-tests): New variable.
85 * configure.in (--enable-hardcoded-path-in-tests): New configure
86 option.
87 (hardcoded_path_in_tests): New AC_SUBST.
88 * configure: Regenerated.
89 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
90 $(built-program-cmd) with $(test-program-cmd).
91 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
92 (test_program_cmd): This.
93 * elf/Makefile ($(objpfx)order.out): Run test with
94 $(test-program-prefix).
95 ($(objpfx)order2.out): Likewise.
96 ($(objpfx)tst-initorder.out): Likewise.
97 ($(objpfx)tst-initorder2.out): Likewise.
98 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
99 $(test-program-cmd).
100 ($(objpfx)tst-array1-static.out): Likewise.
101 ($(objpfx)tst-array2.out): Likewise.
102 ($(objpfx)tst-array3.out): Likewise.
103 ($(objpfx)tst-array4.out): Likewise.
104 ($(objpfx)tst-array5.out): Likewise.
105 ($(objpfx)tst-array5-static.out): Likewise.
106 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
107 $(test-program-cmd).
108 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
109 $(run-program-prefix) with $(test-program-prefix).
110 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
111 (test_program_prefix): This.
112 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
113 $(run-program-prefix) with $(test-program-prefix).
114 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
115 (test_program_prefix): This.
116 * iconvdata/tst-tables.sh: Likewise.
117 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
118 $(run-program-prefix) with $(test-program-prefix).
119 ($(objpfx)tst-translit.out): Likewise.
120 ($(objpfx)tst-gettext2.out): Likewise.
121 ($(objpfx)tst-gettext4.out): Likewise.
122 ($(objpfx)tst-gettext6.out): Likewise.
123 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
124 (test_program_prefix): This.
125 * intl/tst-gettext2.sh: Likewise.
126 * intl/tst-gettext4.sh Likewise.
127 * intl/tst-gettext6.sh: Likewise.
128 * intl/tst-translit.sh: Likewise.
129 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
130 with $(test-program-cmd).
131 * libio/Makefile ($(objpfx)test-freopen.out): Replace
132 $(run-program-prefix) with $(test-program-prefix).
133 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
134 (test_program_prefix): This.
135 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
136 $(run-program-prefix) with $(test-program-prefix).
137 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
138 (test_program_prefix): This.
139 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
140 * posix/Makefile ($(objpfx)globtest.out): Replace
141 $(run-via-rtld-prefix) and $(test-wrapper) with
142 $(test-program-prefix) and $(test-via-rtld-prefix).
143 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
144 $(test-program-prefix).
145 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
146 $(host-test-program-cmd).
147 (tst-spawn-ARGS): Likewise.
148 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
149 $(test-program-prefix).
150 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
151 (test_via_rtld_prefix): This.
152 (test_wrapper): Renamed to ...
153 (test_program_prefix): This.
154 (run_program_prefix): Replaced by test_program_prefix.
155 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
156 (test_program_prefix): This.
157 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
158 with $(host-test-program-cmd).
159 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
160 $(run-program-prefix) with $(test-program-prefix).
161 ($(objpfx)tst-printf.out): Likewise.
162 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
163 $(test-program-cmd).
164 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
165 (test_program_prefix): This.
166 * stdio-common/tst-unbputc.sh: Likewise.
167 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
168 $(run-program-prefix) with $(test-program-prefix).
169 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
170 (test_program_prefix): This.
171 * string/Makefile ($(objpfx)tst-svc.out): Replace
172 $(built-program-cmd) with $(test-program-cmd).
173
c6fe55cf
AJ
1742013-01-11 Andreas Jaeger <aj@suse.de>
175
176 [BZ #15003]
177 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
178 value. Sync with Linux 3.7.
179
9e6919c8
DM
1802013-01-10 David S. Miller <davem@davemloft.net>
181
182 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
185
1c9f1a02
RM
1862013-01-10 Roland McGrath <roland@hack.frob.com>
187
188 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
189 never set.
190 * configure: Regenerated.
191
b9de2dde
DM
1922013-01-10 David S. Miller <davem@davemloft.net>
193
194 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
195 sparc V9 rather than using V8 code.
196 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
197 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
198
e7f68ef4
RM
1992013-01-10 Roland McGrath <roland@hack.frob.com>
200
201 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
202 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
203 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
204 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
205 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
206 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
207 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
208 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
209 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
210 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
211 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
212 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
213 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
214 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
215 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
216 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
217 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
218 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
219 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
220 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
221 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
222 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
223 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
224 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
225 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
226 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
227 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
228
5a47cc9c
DM
2292013-01-10 David S. Miller <davem@davemloft.net>
230
231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
232
4cf8f209
L
2332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
234
235 * posix/Makefile (tests-static): New variable.
236 (tests): Add $(tests-static).
237 (tst-exec-static-ARGS): New variable.
238 (tst-spawn-static-ARGS): Likewise.
239 * posix/tst-exec-static.c: New file.
240 * posix/tst-spawn-static.c: Likewise.
241 * posix/tst-exec.c: Support run directly.
242 * posix/tst-spawn.c: Likewise.
243
fed0faa1
JM
2442013-01-10 Joseph Myers <joseph@codesourcery.com>
245
828beb13
JM
246 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
247 long.
248 * math/bits/mathcalls.h (llrint): Likewise.
249 (llround): Likewise.
250 * stdlib/stdlib.h (struct drand48_data): Likewise.
251 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
252 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
253 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
254 Likewise.
255 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
256 Likewise.
257 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
258 (elf_greg_t): Likewise.
259 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
260 (__jmp_buf): Likewise.
261 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
262 definitions.
263 (llrint): Likewise, for all definitions.
264 (llrintl): Likewise.
265
fed0faa1
JM
266 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
267 Remove [__GNUC__] condition.
268 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
269 condition to just [__USE_ISOC99].
270 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
271
1a20cb20
L
2722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
273
274 [BZ #14200]
275 * sysdeps/unix/sysv/linux/x86/bits/environments.h
276 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
277 defined.
278 (_POSIX_V6_ILP32_OFF32): Likewise.
279 (_XBS5_ILP32_OFF32): Likewise.
280 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
281 (__ILP32_OFFBIG_LDFLAGS): Likewise.
282
751b85f7
SP
2832013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
284
7490eb81
SP
285 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
286
751b85f7
SP
287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
288 doubles __mpexp_twomm1. Adjust usage.
289 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
290 Remove.
291
988197f0
AS
2922013-01-10 Andreas Schwab <schwab@suse.de>
293
294 [BZ #14964]
295 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
296 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
297
e83d7298
DM
2982013-01-09 David S. Miller <davem@davemloft.net>
299
034ed64b 300 [BZ #15003]
e83d7298
DM
301 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
302 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
303 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
304 TCP_FASTOPEN): Define.
305 (tcp_repair_opt): New structure.
306 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
307 enum values.
308 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
309 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
310 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
311 (tcp_cookie_transactions): New structure.
312
d5e0b9bd
AB
3132013-01-09 Anton Blanchard <anton@samba.org>
314
315 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
316 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
319
0c07e3ea
JM
3202013-01-09 Joseph Myers <joseph@codesourcery.com>
321
322 * include/features.h (__USE_ANSI): Remove.
323
232f7002
RM
3242013-01-09 Roland McGrath <roland@hack.frob.com>
325
ad98e30c
RM
326 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
327
232f7002
RM
328 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
329
950c99ca
SP
3302013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
331
b5792741
SP
332 * sysdeps/s390/fpu/libm-test-ulps: Update.
333
47cf2278
SP
334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
335
950c99ca
SP
336 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
337 (__acr): Likewise.
338 (__cpy): Likewise.
339 (norm): Likewise.
340 (denorm): Likewise.
341 (__mp_dbl): Likewise.
342 (__dbl_mp): Likewise.
343 (add_magnitudes): Likewise.
344 (sub_magnitudes): Likewise.
345 (__add): Likewise.
346 (__sub): Likewise.
347 (__mul): Likewise.
348 (__inv): Likewise.
349 (__dvd): Likewise.
350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
351 (__acr): Likewise.
352 (__cpy): Likewise.
353 (norm): Likewise.
354 (denorm): Likewise.
355 (__mp_dbl): Likewise.
356 (__dbl_mp): Likewise.
357 (add_magnitudes): Likewise.
358 (sub_magnitudes): Likewise.
359 (__add): Likewise.
360 (__sub): Likewise.
361 (__mul): Likewise.
362 (__inv): Likewise.
363 (__dvd): Likewise.
364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
365 (__acr): Likewise.
366 (__cpy): Likewise.
367 (norm): Likewise.
368 (denorm): Likewise.
369 (__mp_dbl): Likewise.
370 (__dbl_mp): Likewise.
371 (add_magnitudes): Likewise.
372 (sub_magnitudes): Likewise.
373 (__add): Likewise.
374 (__sub): Likewise.
375 (__mul): Likewise.
376 (__inv): Likewise.
377 (__dvd): Likewise.
378
eede9df9
JM
3792013-01-08 Joseph Myers <joseph@codesourcery.com>
380
381 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
382 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
383 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
384 2 && __USE_EXTERN_INLINES]: Likewise.
385
c40ea3d9
AJ
3862013-01-08 Andreas Jaeger <aj@suse.de>
387
388 [BZ# 14985]
389 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
390 Remove.
391 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
392 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
393
2ccdea26
AB
3942013-01-07 Anton Blanchard <anton@samba.org>
395
396 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
397 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
398 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
399 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
400 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
401 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
402 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
403 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
405 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
408 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
412 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
414 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
416 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
417 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
419 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
420 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
421 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
422 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
423 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
425 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
426 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
428 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
431 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
432 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
434 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
436 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
437 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
438 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
439
a9708fed
JM
4402013-01-07 Joseph Myers <joseph@codesourcery.com>
441
375607b9
JM
442 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
443 (__MALLOC_PMT): Likewise.
444 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
445 [__GNUC__], only on [_LIBC].
446 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
447 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
448 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
449 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
450 forward declaration.
451 (realloc_hook_ini): Likewise.
452 (memalign_hook_ini): Likewise.
453 (__libc_memalign): Do not use __MALLOC_PMT in variable
454 declaration.
455 (__libc_valloc): Likewise.
456 (__libc_pvalloc): Likewise.
457 (__libc_calloc): Likewise.
458 (__posix_memalign): Likewise.
459
a9708fed
JM
460 [BZ #14996]
461 * math/s_casinh.c: Include <float.h>.
462 (__casinh): Do not do computation with squaring and square root
463 for large arguments.
464 * math/s_casinhf.c: Include <float.h>.
465 (__casinhf): Do not do computation with squaring and square root
466 for large arguments.
467 * math/s_casinhl.c: Include <float.h>.
468 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
469 (__casinhl): Do not do computation with squaring and square root
470 for large arguments.
471 * math/libm-test.inc (casin_test): Add more tests.
472 (casinh_test): Likewise.
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
475
afec409a
L
4762013-01-04 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
479 (__x86_64_raw_data_cache_size): Likewise.
480 (__x86_64_data_cache_size_half): Likewise.
481 (__x86_64_raw_data_cache_size_half): Likewise.
482 (__x86_64_shared_cache_size): Likewise.
483 (__x86_64_raw_shared_cache_size): Likewise.
484 (__x86_64_shared_cache_size_half): Likewise.
485 (__x86_64_raw_shared_cache_size_half): Likewise.
486 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
487 to ...
488 (__x86_data_cache_size): This.
489 (__x86_64_raw_data_cache_size): Renamed to ...
490 (__x86_raw_data_cache_size): This.
491 (__x86_64_data_cache_size_half): Renamed to ...
492 (__x86_data_cache_size_half): This.
493 (__x86_64_raw_data_cache_size_half): Renamed to ...
494 (__x86_raw_data_cache_size_half): This.
495 (__x86_64_shared_cache_size): Renamed to ...
496 (__x86_shared_cache_size): This.
497 (__x86_64_raw_shared_cache_size): Renamed to ...
498 (__x86_raw_shared_cache_size): This.
499 (__x86_64_shared_cache_size_half): Renamed to ...
500 (__x86_shared_cache_size_half): This.
501 (__x86_64_raw_shared_cache_size_half): Renamed to ...
502 (__x86_raw_shared_cache_size_half): This.
503 * sysdeps/x86_64/memcpy.S: Updated.
504 * sysdeps/x86_64/memset.S: Likewise.
505 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
508
0b3986d0
DM
5092013-01-04 David S. Miller <davem@davemloft.net>
510
511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
512
e47686e9
AS
5132013-01-04 Andreas Schwab <schwab@linux-m68k.org>
514
d643bac1
AS
515 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
516 1 to avoid redefinition warning.
517 (__USE_GNU): Don't define.
518 (init_signaling_nan): Protoize.
519
e47686e9
AS
520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
521
b18decba
SP
5222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
523
fffb407f
SP
524 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
526 (__cpymn): Likewise.
527 (norm): Remove commented code.
528 (denorm): Likewise.
529 (__mp_dbl): Likewise.
530 (__inv): Likewise.
531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
532 (__cpymn): Likewise.
533 (norm): Remove commented code.
534 (denorm): Likewise.
535 (__mp_dbl): Likewise.
536 (__inv): Likewise.
537
b18decba
SP
538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
539 mp_no value for 1.0 and 2.0.
540 (norm): Use RADIXI instead of radixi.d.
541 (denorm): Likewise.
542 (__mul): Use 0.0 instead of zero.d.
543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
544 mp_no value for 1.0 and 2.0.
545 (norm): Use RADIXI instead of radixi.d.
546 (denorm): Likewise.
547 (__mul): Use 0.0 instead of zero.d.
548
cdc1c96f
JM
5492013-01-04 Joseph Myers <joseph@codesourcery.com>
550
551 [BZ #14994]
552 * math/s_casinh.c (__casinh): Reduce finite argument to first
553 quadrant then set signs of results at the end.
554 * math/s_casinhf.c (__casinhf): Likewise.
555 * math/s_casinhl.c (__casinhl): Likewise.
556 * math/libm-test.inc (casin_test): Add more tests.
557 (casinh_test): Likewise.
558 * sysdeps/i386/fpu/libm-test-ulps: Update.
559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
560
302913e1
SP
5612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
562
6420d207
SP
563 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
564
a9e48ab4
SP
565 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
566
b7837264
SP
567 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
568 declarations.
569 (denorm): Likewise.
570 (__mp_dbl): Likewise.
571 (__inv): Likewise.
572
f8af25d2
SP
573 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
574 and adjust the header comment.
575
302913e1
SP
576 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
577 variable name from declaration.
578
5d7dd1ca
L
5792013-01-03 H.J. Lu <hongjiu.lu@intel.com>
580
581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
582 Initialize COMMON_CPUID_INDEX_7 element.
583 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
584 (CPUID_RTM): Likewise.
585 (HAS_RTM): Likewise.
586 (COMMON_CPUID_INDEX_7): New enum.
587
2f5f40f4
AS
5882013-01-03 Andreas Schwab <schwab@linux-m68k.org>
589
590 [BZ #14981]
591 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
592 size is zero, record memory as freed.
593
4056f4a0
AJ
5942013-01-03 Andreas Jaeger <aj@suse.de>
595
596 * po/ia.po: Add new Interlingua translation.
597
ab15736f 5982012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
599
600 * locale/programs/localedef.c: Fix description of '--posix' flag.
601
568035b7
JM
6022013-01-02 Joseph Myers <joseph@codesourcery.com>
603
e6898b8d
JM
604 * NEWS: Update dates in second copyright notice.
605 * README: Update copyright dates in example.
606 * manual/libc.texinfo: Update copyright dates.
607 * scripts/test-installation.pl: Update copyright date in --version
608 output.
609
0e2f9562
JM
610 * hurd/ctty-input.c: Fix copyright notice formatting.
611 * hurd/ctty-output.c: Likewise.
612 * hurd/dtable.c: Likewise.
613 * hurd/hurd-raise.c: Likewise.
614 * hurd/hurdprio.c: Likewise.
615 * hurd/msgportdemux.c: Likewise.
616 * misc/sys/file.h: Likewise.
617 * misc/sys/ioctl.h: Likewise.
618 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
619 * sysdeps/mach/hurd/chdir.c: Likewise.
620 * sysdeps/mach/hurd/fchdir.c: Likewise.
621 * sysdeps/mach/hurd/rename.c: Likewise.
622 * sysdeps/mach/hurd/rmdir.c: Likewise.
623 * sysdeps/mach/hurd/seekdir.c: Likewise.
624 * sysdeps/mach/hurd/setsid.c: Likewise.
625 * sysdeps/posix/wait3.c: Likewise.
626
568035b7
JM
627 * All files with FSF copyright notices: Update copyright dates
628 using scripts/update-copyrights.
629 * intl/plural.c: Regenerated.
630 * locale/programs/charmap-kw.h: Likewise.
631 * locale/programs/locfile-kw.h: Likewise.
632
da08f647
SP
6332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
634
0f5477af
SP
635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
636 four values.
637
44e0d4c2
SP
638 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
639 calculation loop and add branch prediction.
640
4d55b4e5
SP
641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
642 check access beyond bounds of m1np.
643
da08f647
SP
644 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
645 MPTWO.
646 (__inv): Remove local variable MPTWO to use the global
647 constant.
648 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
649 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
650 variable MPTWO.
651 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
652 MP3HALFS static const.
653
8e051029
DM
6542013-01-01 David S. Miller <davem@davemloft.net>
655
656 * po/ca.po: Update from translation team.
657
f4cf5f2d
JM
6582013-01-01 Joseph Myers <joseph@codesourcery.com>
659
660 * scripts/update-copyrights: New file.
661 * Makeconfig: Reformat copyright notice.
662 * ctype/ctype.h: Likewise.
663 * debug/swprintf_chk.c: Likewise.
664 * elf/dl-cache.c: Likewise.
665 * elf/dl-debug.c: Likewise.
666 * elf/dl-object.c: Likewise.
667 * grp/initgroups.c: Likewise.
668 * hurd/Makefile: Likewise.
669 * hurd/hurd/signal.h: Likewise.
670 * hurd/hurdfault.c: Likewise.
671 * hurd/hurdioctl.c: Likewise.
672 * hurd/hurdlookup.c: Likewise.
673 * hurd/intr-msg.c: Likewise.
674 * iconv/gconv_open.c: Likewise.
675 * libio/swprintf.c: Likewise.
676 * locale/lc-ctype.c: Likewise.
677 * locale/nl_langinfo.c: Likewise.
678 * mach/Machrules: Likewise.
679 * mach/Makefile: Likewise.
680 * malloc/obstack.h: Likewise.
681 * manual/Makefile: Likewise.
682 * manual/tsort.awk: Likewise.
683 * misc/bits/stab.def: Likewise.
684 * nis/nis_print_group_entry.c: Likewise.
685 * nis/nis_table.c: Likewise.
686 * nis/nss_compat/compat-pwd.c: Likewise.
687 * nis/nss_compat/compat-spwd.c: Likewise.
688 * po/Makefile: Likewise.
689 * posix/fnmatch.c: Likewise.
690 * posix/regex.h: Likewise.
691 * resolv/Makefile: Likewise.
692 * resolv/nss_dns/dns-network.c: Likewise.
693 * resolv/res_hconf.c: Likewise.
694 * scripts/gen-sorted.awk: Likewise.
695 * soft-fp/soft-fp.h: Likewise.
696 * stdio-common/printf.h: Likewise.
697 * stdlib/monetary.h: Likewise.
698 * stdlib/random.c: Likewise.
699 * stdlib/random_r.c: Likewise.
700 * sysdeps/generic/Makefile: Likewise.
701 * sysdeps/gnu/Makefile: Likewise.
702 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
706 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
712 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
713 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
714 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
715 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
716 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
717 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
718 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
720 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
722 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
723 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
724 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
725 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
726 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
728 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
729 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
730 * sysdeps/mach/hurd/errnos.awk: Likewise.
731 * sysdeps/mach/hurd/fork.c: Likewise.
732 * sysdeps/mach/hurd/getcwd.c: Likewise.
733 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
734 * sysdeps/mach/hurd/mmap.c: Likewise.
735 * sysdeps/mach/hurd/utimes.c: Likewise.
736 * sysdeps/mach/hurd/xmknod.c: Likewise.
737 * sysdeps/posix/profil.c: Likewise.
738 * sysdeps/posix/readdir_r.c: Likewise.
739 * sysdeps/powerpc/bits/mathdef.h: Likewise.
740 * sysdeps/powerpc/bits/setjmp.h: Likewise.
741 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
742 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
746 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
750 * sysdeps/pthread/lio_listio.c: Likewise.
751 * sysdeps/sparc/dl-procinfo.h: Likewise.
752 * sysdeps/unix/i386/sysdep.S: Likewise.
753 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
754 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
755 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
756 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
758 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
759 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
760 * sysdeps/unix/sysv/linux/speed.c: Likewise.
761 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
762 * sysdeps/wordsize-32/divdi3.c: Likewise.
763 * time/sys/time.h: Likewise.
764 * wcsmbs/Makefile: Likewise.
765
0549fbba
DM
7662013-01-01 David S. Miller <davem@davemloft.net>
767
a141f1a7
DM
768 * po/fr.po: Update from translation team.
769
0549fbba
DM
770 * catgets/gencat.c: Update copyright year.
771 * csu/version.c: Likewise.
772 * debug/catchsegv.sh: Likewise.
773 * debug/pcprofiledump.c: Likewise.
774 * debug/xtrace.sh: Likewise.
775 * elf/ldconfig.c: Likewise.
776 * elf/ldd.bash.in: Likewise.
777 * elf/pldd.c: Likewise.
778 * elf/sotruss.ksh: Likewise.
779 * elf/sprof.c: Likewise.
780 * iconv/iconv_prog.c: Likewise.
781 * iconv/iconvconfig.c: Likewise.
782 * locale/programs/locale.c: Likewise.
783 * locale/programs/localedef.c: Likewise.
784 * login/programs/pt_chown.c: Likewise.
785 * malloc/memusage.sh: Likewise.
786 * malloc/memusagestat.c: Likewise.
787 * malloc/mtrace.pl: Likewise.
788 * nscd/nscd.c: Likewise.
789 * nss/getent.c: Likewise.
790 * nss/makedb.c: Likewise.
791 * posix/getconf.c: Likewise.
792
18ea052c
SP
7932012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
794
795 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
796 numbers.
797
9c89fca6
MF
7982012-12-30 Mike Frysinger <vapier@gentoo.org>
799
800 * math/bits/mathcalls.h (modf): Use __nonnull.
801
085ec079
SP
8022012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
803
804 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
805 (split): Use macro CN instead of the bare value.
806 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
807 could be used.
808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
809 instead of the bare value.
810 (power1): Likewise.
811
6d9f97e1
SP
8122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
813
d63f73be
SP
814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
815 __ATAN_TWOM.
816 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
817
6d9f97e1
SP
818 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
819 their values.
820 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
822 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
823 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
824
4c4febf5
AJ
8252012-12-28 Andreas Jaeger <aj@suse.de>
826
af5843ef
AJ
827 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
828 values are from Linux 3.7.
829
4c4febf5
AJ
830 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
831 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
832
99136f82
SP
8332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
834
2f216c3c 835 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
836 TRUE case.
837
99136f82
SP
838 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
839 (norm): Likewise.
840 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
841 variables with preprocessor constants.
842 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
843 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
844 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
845
7fffbdff
BH
8462012-12-27 Bruno Haible <bruno@clisp.org>
847
848 [BZ #14317]
849 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
850 only if needed.
851
b76eb5f0
SP
8522012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
853
31a7fe5c
SP
854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
855 and use variable directly.
856 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
857
b76eb5f0
SP
858 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
859 MPONE.
860 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
862 variable MPONE.
863 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
865 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
866 include directive. Remove local variable MPONE.
867 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
870
2c8bfe7d
DM
8712012-12-25 David S. Miller <davem@davemloft.net>
872
873 * version.h (RELEASE): Set to "development".
874 (VERSION): Set to "2.17.90".
875 * NEWS: Add 2.18 section.
876
147d03b0
DM
8772012-12-21 David S. Miller <davem@davemloft.net>
878
879 * po/hr.po: Update from translation team.
880
a8ebb2b9
AK
8812012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
882
883 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
884
95b4f1b6
SE
8852012-12-19 Steve Ellcey <sellcey@mips.com>
886
b2d94007 887 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 888
cedb2a90
MS
8892012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
890
891 * manual/contrib.texi (Contributors): Spelling correction.
892
bbf527d6
DM
8932012-12-15 David S. Miller <davem@davemloft.net>
894
895 * po/ru.po: Update from translation team.
896
bc38c906
DM
8972012-12-13 David S. Miller <davem@davemloft.net>
898
85429b1a
DM
899 * NEWS: Mention IFUNC testsuite enhancements.
900
d283e353
DM
901 * po/pl.po: Update from translation team.
902 * po/bg.po: Likewise.
903
bc38c906
DM
904 * manual/contrib.texi (Contributors): Update entries for Hongjiu
905 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
906
a181b0d7
DM
9072012-12-11 David S. Miller <davem@davemloft.net>
908
4641d57e
DM
909 * po/sv.po: Update from translation team.
910
f7bc6495
DM
911 * po/vi.po: Update from translation team.
912
6fc9048f
DM
913 * po/cs.po: Update from translation team.
914
a181b0d7
DM
915 * po/de.po: Update from translation team.
916 * po/eo.po: Likewise.
917 * po/nl.po: Likewise.
918
f70bfe80
SP
9192012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
920
3c8b4190
SP
921 [BZ #14246]
922 * manual/argp.texi (Argp Helper Functions): Move node to follow
923 Argp Parsing State.
924
f70bfe80
SP
925 [BZ #14872]
926 * manual/conf.texi (Limits on File System Capacity): Mention if
927 terminating null is included in the max size.
928
188f0adf
AJ
9292012-12-10 Andreas Jaeger <aj@suse.de>
930
931 * po/cs.po: Update from translation team.
932
56e7d3ad
SP
9332012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
934
935 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
936 void pointer and cast to uintptr_t.
937 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
938 path.
939 * sysdeps/s390/s390-64/memcpy.S: Likewise.
940 * sysdeps/s390/s390-64/memset.S: Likewise.
941
76f2d2ea 9422012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
943
944 [BZ #14833]
945 * menual/message.texi (Message Translation): Fix typos.
946 (Helper programs for gettext): Likewise.
947
67cbf9a2
AS
9482012-12-07 Andreas Schwab <schwab@linux-m68k.org>
949
950 [BZ #14898]
951 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
952 Change to -1.
953
682d0e9a
DM
9542012-12-07 David S. Miller <davem@davemloft.net>
955
956 * po/libc.pot: Update.
957
573cd484
RH
9582012-12-07 Richard Henderson <rth@redhat.com>
959
7e9da188 960 [BZ #10114]
573cd484
RH
961 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
962 normal/normal case to before the switch.
963 (_FP_DIV): Likewise.
964
e933a943
MF
9652012-12-06 Carlos O'Donell <carlos@systemhalted.org>
966 Mike Frysinger <vapier@gentoo.org>
967
968 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
969 check for __NR_fadvise64_64.
970
82123268
CM
9712012-12-06 Chris Metcalf <cmetcalf@tilera.com>
972
973 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
974 0, not just to plain "0" as a statement.
975 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
976 with cw.
977
d9814526
JM
9782012-12-06 Joseph Myers <joseph@codesourcery.com>
979
980 * NEWS: Use sourceware.org in Bugzilla URL.
981
7728c574
SP
9822012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
983
f16946dd
SP
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
985 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
986
5704bbcb
SP
987 * stdio-common/tst-put-error.c (do_test): Add newline to the
988 padded test to ensure flush.
989
17aa0516
JL
9902012-12-05 Jeff Law <law@redhat.com>
991
992 * sunrpc/etc.rpc (fedfs_admin): Add entry.
993
363313b5
JM
9942012-12-05 Joseph Myers <joseph@codesourcery.com>
995
effbd42a
JM
996 * README: Don't refer to ports add-on as distributed separately.
997 Mention AArch64 in list of systems supported in the ports add-on.
998
87600365
JM
999 * LICENSES: Add more non-FSF copyright and license notices.
1000
a0d7066a
JM
1001 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1002 ((unused)).
1003
66ca5a5b
JM
1004 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1005
363313b5
JM
1006 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1007 10000 as width of padded output.
1008
b37984ad
JM
10092012-12-04 Joseph Myers <joseph@codesourcery.com>
1010
9003570a
JM
1011 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1012
b37984ad
JM
1013 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1014 variable LX with __attribute__ ((unused)).
1015 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1016 Likewise.
1017 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1020 with __attribute__ ((unused)).
1021
c8df52ec
DM
10222012-12-04 David S. Miller <davem@abraco.davemloft.net>
1023
1024 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1025
b3b099af
JM
10262012-12-04 Joseph Myers <joseph@codesourcery.com>
1027
c33aa6e3
JM
1028 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1029 (CFLAGS-nldbl-acos.c): New variable.
1030 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1031 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1032 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1033 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1034 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1035 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1036 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1037 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1038 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1039 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1040 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1041 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1042 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1043 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1044 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1045 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1046 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1047 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1048 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1049 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1050 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1051 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1052 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1053 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1054 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1055 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1056 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1057 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1058 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1059 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1060 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1061 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1062 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1063 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1064 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1065 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1066 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1067 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1068 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1069 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1070 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1071 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1072 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1073 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1074 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1075 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1076 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1077 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1078 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1079 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1080 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1081 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1082 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1083 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1084 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1085 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1086 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1087 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1088 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1089 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1090 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1091 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1092 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1093 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1094 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1095 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1096 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1097 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1098 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1099 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1100 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1101 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1102 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1103 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1104 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1105 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1106 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1107 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1108 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1109 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1110 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1111 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1112 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1113 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1114 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1115 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1116 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1117 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1118 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1119 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1120 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1121 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1122 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1123 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1124 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1125 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1126 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1127
20f0018d
JM
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1129 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1130
b3b099af
JM
1131 [BZ #14914]
1132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1133 whole low double instead of just low 47 bits when splitting values
1134 into two parts.
1135
029264d1
AM
11362012-12-03 Allan McRae <allan@archlinux.org>
1137
1138 * manual/stdio.texi (Predefined Printf Handlers): Remove
1139 @hsep and @vsep usage.
1140
c9d6789e
MF
11412012-12-03 Mike Frysinger <vapier@gentoo.org>
1142
1143 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1144 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1145
4b7634a5
JL
11462012-12-03 Jeff Law <law@redhat.com>
1147
1148 * time/sys/time.h (settimeofday): Do not mark TV argument
1149 as __nonnull.
1150
eb6cbd24
MF
11512012-12-01 Mike Frysinger <vapier@gentoo.org>
1152
1153 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1154 when currently writing and seek to current position when not.
1155 * libio/Makefile (tests): Remove bug-fclose1.
1156 * libio/bug-fclose1.c: Delete.
1157
f638872a
JM
11582012-12-01 Joseph Myers <joseph@codesourcery.com>
1159
1160 * manual/arith.texi (feenableexcept): Fix typo.
1161 (fedisableexcept): Likewise.
1162
48085d14
RM
11632012-11-30 Roland McGrath <roland@hack.frob.com>
1164
1165 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1166 second, differently-typed declaration, rather than a cast.
1167
1a538b9f
SP
11682012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1169
1170 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1171 * include/rpc/svc.h: ... here.
1172
d07f2ff1 11732012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1174
1175 [BZ #13013]
1176 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1177 depending n and resplen2 to catch cases where answer
1178 equals answerp2.
1179
c93ec1f0
CD
11802012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1181
1182 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1183 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1184
37db69de
MF
11852012-11-29 Mike Frysinger <vapier@gentoo.org>
1186
1187 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1188
e10c4e4f
RM
11892012-11-29 Roland McGrath <roland@hack.frob.com>
1190
1191 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1192
2af1b328
JL
11932012-11-28 Jeff Law <law@redhat.com>
1194
1195 [BZ #13761]
1196 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1197 dataset_temporary. Track alloca usage into alloca_used.
1198 If dataset is large allocate and release it via malloc/free.
1199
111db5b1
FW
12002012-06-04 Florian Weimer <fweimer@redhat.com>
1201
f06cc227 1202 [BZ #14197]
111db5b1
FW
1203 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1204
dd694abd
DM
12052012-11-28 David S. Miller <davem@davemloft.net>
1206
1207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1208
9984dd01
JM
12092012-11-28 Joseph Myers <joseph@codesourcery.com>
1210
1211 [BZ #14803]
1212 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1213 of pi/2 rounded to nearest to 64 bits.
1214 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1215 nearest to 64 bits.
1216 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1217 bits.
1218
14bc93a9
JL
12192012-11-28 Jeff Law <law@redhat.com>
1220 Martin Osvald <mosvald@redhat.com>
1221
1222 [BZ #14889]
1223 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1224 * sunrpc/svc.c: Include time.h.
1225 (__svc_accept_failed): New function.
1226 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1227 any reason other than EINTR, call __svc_accept_failed.
1228 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1229 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1230
e3c6aa3a
AS
12312012-11-28 Andreas Schwab <schwab@suse.de>
1232
1233 * scripts/abilist.awk: Also handle indirect functions in .opd
1234 section.
1235
1bead169
JM
12362012-11-28 Joseph Myers <joseph@codesourcery.com>
1237
1238 [BZ #13881]
1239 * sysdeps/x86/fpu/powl_helper.c: New file.
1240 * sysdeps/x86/fpu/Makefile: Likewise.
1241 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1242 (p3): New object.
1243 (__ieee754_powl): Use __powl_helper for finite arguments except
1244 integer exponents below 8.
1245 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1246 (p3): New object.
1247 (__ieee754_powl): Use __powl_helper for finite arguments except
1248 integer exponents below 8.
1249 * math/libm-test.inc (pow_test): Add more tests and enable some
1250 previously disabled tests.
1251 * sysdeps/i386/fpu/libm-test-ulps: Update.
1252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1253
0817d63d
SP
12542012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1255 Carlos O'Donell <carlos_odonell@mentor.com>
1256
1257 * nss/makedb.c (is_prime): Assert that input is odd and greater
1258 than 4. Note that fact in a comment too.
1259 (next_prime): Add 4 to input.
1260
de2fd463
SP
12612012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1262
1263 [BZ #11741]
1264 * libio/Makefile (tests): Add test case tst-fwrite-error.
1265 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1266 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1267 * libio/tst-fwrite-error.c: New test case.
1268
c515fb51
L
12692012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1272 before casting to void *.
1273 * include/libc-internal.h (__pointer_type): New macro.
1274 (__integer_if_pointer_type_sub): Likewise.
1275 (__integer_if_pointer_type): Likewise.
1276 (cast_to_integer): Likewise.
1277 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1278 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1279 before casting to atomic64_t.
1280 (atomic_exchange_acq): Likewise.
1281 (__arch_exchange_and_add_body): Likewise.
1282 (__arch_add_body): Likewise.
1283 (atomic_add_negative): Likewise.
1284 (atomic_add_zero): Likewise.
1285
4cf77aa9
JM
12862012-11-26 Joseph Myers <joseph@codesourcery.com>
1287
1288 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1289 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1290 (add_fdes): Likewise.
1291 (linear_search_fdes): Likewise.
1292 (binary_search_unencoded_fdes): Likewise.
1293
d260b3b4
AS
12942012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1297
67060746
AC
12982012-11-24 Adam Conrad <adconrad@0c3.net>
1299
1300 * configure.in: Autodetect C++ header directories.
1301 * configure: Regenerated.
1302
800938a1
MF
13032012-11-23 Mike Frysinger <vapier@gentoo.org>
1304
1305 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1306
4e6e34e6
AS
13072012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1308
1309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1310
7c7feb47
JM
13112012-11-22 Joseph Myers <joseph@codesourcery.com>
1312
7184dcdf
JM
1313 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1314 LDBL_MANT_DIG == 106]: Disable some tests.
1315 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1316 Likewise.
1317 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1318 Likewise.
1319
0a42601f
JM
1320 [BZ #14871]
1321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1322 input for small inputs. Return +/- pi/2 for large inputs.
1323 * math/libm-test.inc (atan_test): Add more tests.
1324
79c9b9fe
JM
1325 * sysdeps/generic/unwind-dw2-fde-glibc.c
1326 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1327 __attribute__ ((unused)).
1328
c60d3bf2
JM
1329 [BZ #14645]
1330 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1331 x * y if x and y are nonzero and z is zero.
1332
ef1e0867
JM
1333 [BZ #14811]
1334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1335 nonzero exponents with absolute value below 0x1p-117 to +/-
1336 0x1p-117.
1337
1468ded3
JM
1338 [BZ #14869]
1339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1340 up arguments below 2**-450, not just those below 2**-500.
1341 * math/libm-test.inc (hypot_test): Add another test.
1342
8e27e3cc
JM
1343 [BZ #14868]
1344 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1345 Return a+b for ratio over 2**120, not 2**60.
1346 * math/libm-test.inc (hypot_test): Add another test.
1347
c9c0279b
JM
1348 * math/libm-test.inc (clog_test): Use
1349 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1350 (clog10_test): Likewise.
1351
7c7feb47
JM
1352 [BZ #6778]
1353 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1354
fff1530e
AS
13552012-11-22 Andreas Schwab <schwab@suse.de>
1356
1357 * sysdeps/i386/fpu/libm-test-ulps: Update.
1358
94558d30
PT
13592012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1360
1361 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1362 printf output with newline.
1363
7e1be741
L
13642012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1365
6bfea974
L
1366 [BZ #14865]
1367 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1368 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1369 -z nodlopen, -z initfirst and -z execstack support.
1370 * configure: Regenerated.
1371
7e1be741
L
1372 * elf/elf.h (DF_1_NODIRECT): New macro.
1373 (DF_1_IGNMULDEF): Likewise.
1374 (DF_1_NOKSYMS): Likewise.
1375 (DF_1_NOHDR): Likewise.
1376 (DF_1_EDITED): Likewise.
1377 (DF_1_NORELOC): Likewise.
1378 (DF_1_SYMINTPOSE): Likewise.
1379 (DF_1_GLOBAUDIT): Likewise.
1380 (DF_1_SINGLETON): Likewise.
1381 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1382 DT_1_SUPPORTED_MASK bits.
1383 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1384
105ce2ce
CD
13852012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1386
1387 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1388
123be9de
TS
13892012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1390
d072f3f7
TS
1391 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1392 macro.
1393
123be9de
TS
1394 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1395 (sendmmsg): Move declarations...
1396 * socket/sys/socket.h: ... here.
1397 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1398 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1399 include it from...
1400 * socket/recvmmsg.c: ... this new file.
1401 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1402 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1403 definition of __sendmmsg hidden.
1404 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1405 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1406 Move ENOSYS stub into and include it from...
1407 * socket/sendmmsg.c: ... this new file.
1408 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1409 (sysdep_routines): Move recvmmsg and sendmmsg...
1410 * socket/Makefile (routines): ... here.
1411 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1412 (GLIBC_PRIVATE): Add __sendmmsg.
1413 * include/sys/socket.h (__sendmmsg): Add declarations.
1414 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1415 sendmmsg.
1416
cf9a5d18
JM
14172012-11-20 Joseph Myers <joseph@codesourcery.com>
1418
1419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1420 variable I1 with __attribute__ ((unused)).
1421 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1422
ecd4caf9
JM
14232012-11-19 Joseph Myers <joseph@codesourcery.com>
1424
be14d48f
JM
1425 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1426 DUMMY variables with __attribute__ ((unused)).
1427
ecd4caf9
JM
1428 * bits/byteswap.h: Include <bits/types.h>.
1429 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1430
986cab95
PT
14312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1432
1433 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1434 string_t. Do not manually set errno.
1435 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1436 length with __strnlen. Make sure to both set errno and return it on
1437 failure.
1438
6d33cc9d
DM
14392012-11-19 David S. Miller <davem@davemloft.net>
1440
1441 With help from Joseph Myers.
1442 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1443 very large arguments properly.
1444 * math/libm-test.inc (atan_test): New tests.
1445 (atan2_test): New tests.
1446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1448
ee663277
JM
14492012-11-19 Joseph Myers <joseph@codesourcery.com>
1450
877f2d8e
JM
1451 [BZ #14856]
1452 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1453 Define to 3.
1454
116fc08a
JM
1455 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1456 [POSIX] (EADDRNOTAVAIL): Likewise.
1457 [POSIX] (EAFNOSUPPORT): Likewise.
1458 [POSIX] (EALREADY): Likewise.
1459 [POSIX] (ECONNABORTED): Likewise.
1460 [POSIX] (ECONNREFUSED): Likewise.
1461 [POSIX] (ECONNRESET): Likewise.
1462 [POSIX] (EDESTADDRREQ): Likewise.
1463 [POSIX] (EDQUOT): Likewise.
1464 [POSIX] (EHOSTUNREACH): Likewise.
1465 [POSIX] (EIDRM): Likewise.
1466 [POSIX] (EISCONN): Likewise.
1467 [POSIX] (ELOOP): Likewise.
1468 [POSIX] (EMULTIHOP): Likewise.
1469 [POSIX] (ENETDOWN): Likewise.
1470 [POSIX] (ENETUNREACH): Likewise.
1471 [POSIX] (ENOBUFS): Likewise.
1472 [POSIX] (ENODATA): Likewise.
1473 [POSIX] (ENOLINK): Likewise.
1474 [POSIX] (ENOMSG): Likewise.
1475 [POSIX] (ENOPROTOOPT): Likewise.
1476 [POSIX] (ENOSR): Likewise.
1477 [POSIX] (ENOSTR): Likewise.
1478 [POSIX] (ENOTCONN): Likewise.
1479 [POSIX] (ENOTSOCK): Likewise.
1480 [POSIX] (EOPNOTSUPP): Likewise.
1481 [POSIX] (EOVERFLOW): Likewise.
1482 [POSIX] (EPROTO): Likewise.
1483 [POSIX] (EPROTONOSUPPORT): Likewise.
1484 [POSIX] (EPROTOTYPE): Likewise.
1485 [POSIX] (ESTALE): Likewise.
1486 [POSIX] (ETIME): Likewise.
1487 [POSIX] (ETXTBSY): Likewise.
1488 [POSIX] (EWOULDBLOCK): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1490 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1491 [POSIX] (SEEK_CUR): Likewise.
1492 [POSIX] (SEEK_END): Likewise.
1493 [POSIX || UNIX98] (mode_t): Do not require.
1494 [POSIX] (off_t): Likewise.
1495 [POSIX] (pid_t): Likewise.
1496 [POSIX] (sys/stat.h): Do not allow header.
1497 [POSIX] (unistd.h): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1499 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1501 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1502 require.
1503 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1504 sigevent): Specify elements.
1505 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1506 entry.
1507 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1508 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1509
a483863f
JM
1510 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1511 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1512 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1513 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1514 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1515 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1516 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1517 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1519 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1520 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1521 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1522 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1523 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1524 Likewise.
1525 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1526 Likewise.
1527 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1528 Likewise.
1529 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1530 Likewise.
1531 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1532 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1533 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1534 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1535 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1536 Specify lower bound on value.
1537 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1539 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1540 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1541 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1542 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1543 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1544 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1545 value.
1546 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1547 as optional.
1548 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1555 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1560 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1561 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1562 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1563 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1564 entry.
1565 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1566 optional.
1567 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1571 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1572 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1573 Likewise.
1574 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1575 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1576 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1579 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1580 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1581 as optional.
1582 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1586 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1587 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1588 specify as optional.
1589 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1592 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1593 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1594 [XPG3] (NL_LANGMAX): Likewise.
1595 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1596 [POSIX || XPG3] (NL_NMAX): Likewise.
1597 [POSIX || XPG3] (NL_SETMAX): Likewise.
1598 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1599 [XPG3] (NZERO): Likewise.
1600 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1601 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1602 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1603 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1604 (REG_ERANGE): Expect.
1605 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1606 optional-constant.
1607 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1608 Use (void) in prototype.
1609 [POSIX] (*_t): Allow.
1610 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1611 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1612 (WRDE_BADVAL): Expect.
1613
5ba924e3
JM
1614 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1615 expect.
1616 [XPG3 || XPG4] (O_RSYNC): Likewise.
1617 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1618 Likewise.
1619 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1620 [XPG3 || XPG4] (sigqueue): Likewise.
1621 [XPG3 || XPG4] (sigtimedwait): Likewise.
1622 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1623 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1624 [XPG3 || XPG4] (vsnprintf): Likewise.
1625 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1626 Likewise.
1627 [XPG3 || XPG4] (blksize_t): Likewise.
1628 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1629 Likewise.
1630 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1631 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1632 [XPG3 || XPG4] (struct itimerspec): Likewise.
1633 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1634 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1635 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1636 [XPG3 || XPG4] (clockid_t): Likewise.
1637 [XPG3 || XPG4] (timer_t): Likewise.
1638 [XPG3 || XPG4] (clock_getres): Likewise.
1639 [XPG3 || XPG4] (clock_gettime): Likewise.
1640 [XPG3 || XPG4] (clock_settime): Likewise.
1641 [XPG3 || XPG4] (nanosleep): Likewise.
1642 [XPG3 || XPG4] (timer_create): Likewise.
1643 [XPG3 || XPG4] (timer_delete): Likewise.
1644 [XPG3 || XPG4] (timer_gettime): Likewise.
1645 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1646 [XPG3 || XPG4] (timer_settime): Likewise.
1647 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1648 [XPG3 || XPG4] (getlogin_r): Likewise.
1649 [XPG3 || XPG4] (pread): Likewise.
1650 [XPG3 || XPG4] (pthread_atfork): Likewise.
1651 [XPG3 || XPG4] (pwrite): Likewise.
1652
ee663277
JM
1653 [BZ #14835]
1654 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1655 <bits/siginfo.h>.
1656
942caa16
PT
16572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1658
e19af380
PT
1659 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1660 finalizing MALLSTREAM.
1661
942caa16
PT
1662 * sysdeps/mach/hurd/syncfs.c: New file.
1663
cfde9b46
SP
16642012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1665
1666 [BZ #14719]
1667 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1668 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1669 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1670 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1671 (_nss_dns_gethostbyname4_r): Likewise.
1672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1673 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1674
f6da27e5
PH
16752012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1676
1677 [BZ #13763]
1678 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1679
6665d4a2
SM
16802012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1681
1f51ee92
SM
1682 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1683 * elf/cache.c (print_entry): Print ",AArch64" for
1684 FLAG_AARCH64_LIB64
1685
6665d4a2
SM
1686 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1687 * elf/cache.c (print_entry): Print ",hard-float" for
1688 FLAG_ARM_LIBHF.
1689
05b227bd
DM
16902012-11-18 David S. Miller <davem@davemloft.net>
1691
1692 With help from Joseph Myers.
1693 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1694 cutoff to 2**-13.
1695 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1696 cutoff to 2**-25.
1697 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1698 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1699 small.
1700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1701 * math/libm-test.inc (y0_test): New tests.
1702 (y1_test): New tests.
1703 * sysdeps/i386/fpu/libm-test-ulps: Update.
1704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1706
786b0b67
AS
17072012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1708
1709 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1710 64-bit targets.
1711 * configure: Regenerated.
1712
8e18b86d
DM
17132012-11-17 David S. Miller <davem@davemloft.net>
1714
1715 [BZ #14811]
1716 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1717 nonzero exponents with absolute value below 0x1p-128 to +/-
1718 0x1p-128.
1719
531f1ae0
JM
17202012-11-17 Joseph Myers <joseph@codesourcery.com>
1721
12df29e2
JM
1722 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1723
150dc1a0
JM
1724 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1725
531f1ae0
JM
1726 * posix/getconf-speclist.c: New file.
1727 * posix/posix-envs.def: Likewise.
1728 * posix/confstr.c (START_ENV_GROUP): New macro.
1729 (END_ENV_GROUP): Likewise.
1730 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1731 (KNOWN_PRESENT_ENV_STRING): Likewise.
1732 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1733 (UNKNOWN_ENVIRONMENT): Likewise.
1734 (confstr): Include posix-envs.def instead of handling
1735 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1736 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1737 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1738 (END_ENV_GROUP): Likewise.
1739 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1740 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1741 (UNKNOWN_ENVIRONMENT): Likewise.
1742 (__sysconf): Include posix-envs.def instead of handling associated
1743 cases directly here.
1744 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1745 preprocessing getconf-speclist.c rather than running getconf or
1746 generating empty file.
1747
a93f9cbc
PT
17482012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1749
1750 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1751
d64d9f87
AL
17522012-11-16 Andrej Lajovic <natrij@gmail.com>
1753
1754 [BZ #14672]
1755 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1756
447885eb
DM
17572012-11-16 David S. Miller <davem@davemloft.net>
1758
1759 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1760 smaller than LDBL_EPSILON/2.0L, just return xm1.
1761
bcbf9830
L
17622012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * elf/tst-array1.c (init): Set constructor priority to 1000.
1765 (fini): Set destructor priority to 1000.
1766 * elf/tst-array2dep.c: Likewise.
1767
2b766585
SP
17682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1769
1770 [BZ #11741]
1771 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1772 (_IO_new_file_xsputn): Also return EOF if none of the input
1773 data was written when overflow failed.
1774 * libio/iopadn.c (_IO_padn): Likewise.
1775 * libio/iowpadn.c (_IO_wpadn): Likewise.
1776 * stdio-common/tst-put-error.c: Add copyright notice.
1777 (do_test): Add case for printing padded string.
1778 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1779 _IO_padn returned error.
1780 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1781 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1782 return EOF.
1783
b1848fde
SP
17842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1785
1786 * libio/libioP.h: Add comment note that the references to C++
1787 bits are now obsolete.
1788
2fd89785
MS
17892012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1790
1791 * math/libm-test.inc (check_complex): Use asprintf.
1792
e3ea5409
JM
17932012-11-14 Joseph Myers <joseph@codesourcery.com>
1794
1795 * debug/pcprofiledump.c (print_version): Update copyright year.
1796 * malloc/memusagestat.c (print_version): Likewise.
1797
2e64d265
L
17982012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 [BZ #14831]
1801 * elf/Makefile (tests): Add tst-audit8.
1802 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1803 ($(objpfx)tst-audit8.out): New target.
1804 (tst-audit8-ENV): New variable.
1805 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1806 audit if l_reloc_result is NULL.
1807 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1808 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1809 * elf/tst-audit8.c: New file.
1810
c485e4d2
MS
18112012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1812
1813 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1814 * misc/Makefile (CFLAGS-select.c): Define.
1815 * posix/Makefile (CFLAGS-pause.c): Define.
1816
3a0d900a
DM
18172012-11-13 David S. Miller <davem@davemloft.net>
1818
1819 * crypt/Makefile: Move test targets after toplevel Rules
1820 inclusion. Grab any necessary sysdep routines when linking.
1821 * crypt/md5.c (md5_process_block): Remove define, we will always
1822 name it __md5_process_block.
1823 (md5_finish_ctx): Update md5_process_block call.
1824 (md5_stream): Likewise.
1825 (md5_process_bytes): Likewise.
1826 (md5_process_block): Rename to __md5_process_block and move to ...
1827 * crypt/md5-block.c: ... here.
1828 * crypt/sha256.c (sha256_process_block): Move to ...
1829 * crypt/sha256-block.c: ... here.
1830 * crypt/sha512.c (sha512_process_block): Move to ...
1831 * crypt/sha512-block.c: ... here.
1832 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1833 path.
1834 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1835 * sysdeps/sparc/sparc64/multiarch/Makefile
1836 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1837 crypt subdir.
1838 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1840 multiarch changes.
1841 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1842 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1843 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1844 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1845 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1846 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1847 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1848 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1849 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1850 file.
1851 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1852 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1853 file.
1854 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1855
8ca89318
JM
18562012-11-13 Joseph Myers <joseph@codesourcery.com>
1857
e27d476a
JM
1858 * timezone/tzselect.ksh: Update from tzcode git revision
1859 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1860 * timezone/zdump.c: Likewise.
1861 * timezone/zic.c: Likewise.
1862 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1863 in TZVERSION setting, not $(PKGVERSION).
1864 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1865 REPORT_BUGS_TO settings.
1866
8ca89318
JM
1867 [BZ #14838]
1868 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1869 macro.
1870
47594329
MS
18712012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1872
1873 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1874 detection to immediately after _FP_ROUND().
1875 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1876 bits are 0.
1877
640ac3f1
DM
18782012-11-11 David S. Miller <davem@davemloft.net>
1879
1880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1881 inttypes.h
1882 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1883 __close rather than their public counterparts.
1884
3d2577bb
JM
18852012-11-10 Joseph Myers <joseph@codesourcery.com>
1886
1887 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1888 file.
1889 [UNIX98] (sem_timedwait): Do not expect.
1890 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1891 [XPG4 || UNIX98] (sockatmark): Do not expect.
1892 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1893 (clock_getcpuclockid): Do not expect.
1894 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1895 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1896 Do not expect.
1897 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1898 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1899 [UNIX98] (vwscanf): Likewise.
1900 [UNIX98] (vswscanf): Likewise.
1901
fb1ae1ee
JM
19022012-11-09 Joseph Myers <joseph@codesourcery.com>
1903
9ec6f8bd
JM
1904 * timezone/version.h: Remove file.
1905 * timezone/README: Do not refer to version.h.
1906 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1907 $(objpfx)version.h.
1908 ($(objpfx)zdump.o): Likewise.
c3f81911 1909 ($(objpfx)version.h): New target.
9ec6f8bd 1910
0aa8f8a1
JM
1911 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1912 2012i.
1913 * timezone/README: Don't mention modification to tzselect.ksh.
1914 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1915 work on unmodified tzselect.ksh. Substitute version numbers in
1916 tzselect.ksh.
1917
4e87147f
JM
1918 * Makefile (format-me): Remove.
1919 (INSTALL): Adjust indentation. Use commands directly instead of
1920 using $(format-me).
1921
8b748aed
JM
1922 * aclocal.m4 (ACX_PKGVERSION): New macro.
1923 (ACX_BUGURL): Likewise.
1924 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1925 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1926 (REPORT_BUGS_TO): Likewise.
1927 * configure: Regenerated.
1928 * config.h.in (PKGVERSION): New macro.
1929 (REPORT_BUGS_TO): Likewise.
1930 * config.make.in (PKGVERSION): New variable.
1931 (PKGVERSION_TEXI): Likewise.
1932 (REPORT_BUGS_TO): Likewise.
1933 (REPORT_BUGS_TEXI): Likewise.
1934 * Makefile (format-me): Use -I$(common-objpfx)manual.
1935 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1936 ($(common-objpfx)manual/%): New target.
1937 (manual/%): Remove target.
1938 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1939 (print_version): Use PKGVERSION.
1940 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1941 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1942 and REPORT_BUGS_TO.
1943 ($(objpfx)xtrace): Likewise.
1944 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1945 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1946 (print_version): Use PKGVERSION.
1947 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1948 (do_version): Use PKGVERSION.
1949 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1950 REPORT_BUGS_TO.
1951 (common-ldd-rewrite): Likewise.
1952 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1953 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1954 (print_version): Use PKGVERSION.
1955 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1956 * elf/pldd.c (argp_program_bug_address): Remove variable.
1957 (more_help): New function.
1958 (argp): Use more_help.
1959 (print_version): Use PKGVERSION.
1960 * elf/sln.c (main): Use PKGVERSION.
1961 (usage): Use REPORT_BUGS_TO.
1962 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1963 (top level): Use PKGVERSION.
1964 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1965 (print_version): Use PKGVERSION.
1966 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1967 (print_version): Use PKGVERSION.
1968 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1969 (print_version): Use PKGVERSION.
1970 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1971 (print_version): Use PKGVERSION.
1972 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1973 (print_version): Use PKGVERSION.
1974 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1975 (print_version): Use PKGVERSION.
1976 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1977 and BUGURL.
1978 ($(objpfx)memusage): Likewise.
1979 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1980 (do_version): Use PKGVERSION.
1981 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1982 (print_version): Use PKGVERSION.
1983 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1984 ($PKGVERSION): New variable.
1985 ($REPORT_BUGS_TO): Likewise.
1986 (usage): Use $REPORT_BUGS_TO.
1987 (top level): Use $PKGVERSION.
1988 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1989 ($(objpfx)pkgvers.texi): New rule.
1990 ($(objpfx)stamp-pkgvers): Likewise.
1991 * manual/install.texi: Include pkgvers.texi.
1992 (--with-pkgversion): Document new configure option.
1993 (--with-bugurl): Likewise.
1994 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1995 than necessarily for this particular distribution. Use
1996 REPORT_BUGS_TO for where to report bugs.
1997 * INSTALL: Regenerated.
1998 * manual/libc.texinfo: Include pkgvers.texi.
1999 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2000 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2001 (print_version): Use PKGVERSION.
2002 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2003 (print_version): Use PKGVERSION.
2004 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2005 (print_version): Use PKGVERSION.
2006 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2007 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2008 macro.
2009 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2010 (print_version): Use PKGVERSION.
2011 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2012 (print_version): Use PKGVERSION.
2013 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2014 and PKGVERSION.
2015
92e4b6a9
JM
2016 * timezone/checktab.awk: Update from tzcode 2012i.
2017 * timezone/ialloc.c: Likewise.
2018 * timezone/private.h: Likewise.
2019 * timezone/scheck.c: Likewise.
2020 * timezone/tzfile.h: Likewise.
2021 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2022 (TZVERSION): Hardcode tzcode version number.
2023 * timezone/zdump.c: Update from tzcode 2012i.
2024 * timezone/zic.c: Likewise.
2025 * timezone/version.h: New file.
2026 * timezone/README: Describe version.h. Update upstream location.
2027
9bde902c
JM
2028 [BZ #14824]
2029 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2030 (mktemp): Enable declaration.
2031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2035 Likewise.
2036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2037 Likewise.
2038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2039 Likewise.
2040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2041 Likewise.
2042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2043 Likewise.
2044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2045 Likewise.
2046
fb1ae1ee
JM
2047 [BZ #14821]
2048 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2049 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2050 for copies of such integer values.
2051 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2052 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2053
2c1adbcb
AJ
20542012-11-09 Andreas Jaeger <aj@suse.de>
2055
2056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2057 definitions and declarations that are provided by
2058 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2059
d0f8457e
AK
20602012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2061
3a235abb 2062 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2063 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2064 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2065 definition.
2066
57241e26
MS
20672012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2068
2069 * elf/elf.h: Update comment before AArch64 relocations.
2070
60e8270d
DM
20712012-11-07 David S. Miller <davem@davemloft.net>
2072
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2075 (__start_context): Declare.
2076 (__makecontext_ret): Delete.
2077 (__makecontext): Hook up __start_context instead of
2078 __makecontext_ret.
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2080 (sysdep_routines): Add __start_context when in stdlib.
2081
0fbb0fbc
JM
20822012-11-07 Joseph Myers <joseph@codesourcery.com>
2083
2084 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2085 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2086 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2087 hardcoded "nm".
2088 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2089 (READELF): New variable. Use it instead of hardcoded "readelf".
2090
eb48db7e
L
20912012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2094 * sysdeps/x86/Makefile: Here.
2095 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2096 * sysdeps/x86/tst-xmmymm.sh: This.
2097
05bcf62a
JM
20982012-11-07 Joseph Myers <joseph@codesourcery.com>
2099
c4b6cf53
JM
2100 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2101 expectations.
2102 [UNIX98] (pthread_barrier_t): Do not expect.
2103 [UNIX98] (pthread_barrierattr_t): Likewise.
2104 [UNIX98] (pthread_spinlock_t): Likewise.
2105 [UNIX98] (pthread_barrier_destroy): Likewise.
2106 [UNIX98] (pthread_barrier_init): Likewise.
2107 [UNIX98] (pthread_barrier_wait): Likewise.
2108 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2109 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2110 [UNIX98] (pthread_barrierattr_init): Likewise.
2111 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2112 [UNIX98] (pthread_getcpuclockid): Likewise.
2113 [UNIX98] (pthread_mutex_timedlock): Likewise.
2114 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2115 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2116 [UNIX98] (pthread_sigmask): Likewise.
2117 [UNIX98] (pthread_spin_destroy): Likewise.
2118 [UNIX98] (pthread_spin_init): Likewise.
2119 [UNIX98] (pthread_spin_lock): Likewise.
2120 [UNIX98] (pthread_spin_trylock): Likewise.
2121 [UNIX98] (pthread_spin_unlock): Likewise.
2122 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2123 Do not expect.
2124 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2126 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2127 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2128 [XPG3 || XPG4] (pthread_key_t): Likewise.
2129 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2130 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2131 [XPG3 || XPG4] (pthread_once_t): Likewise.
2132 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2133 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2135 [XPG3 || XPG4] (pthread_t): Likewise.
2136
cbe6e120
JM
2137 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2138 not expect.
2139 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2140
1b126443
JM
2141 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2142 Change function return type to int.
2143
b961a573
JM
2144 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2145 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2146 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2147 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2148 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2149 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2150 [!POSIX] (posix_madvise): Likewise.
2151 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2152 && !UNIX98].
2153 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2154 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2155 (mode_t): Likewise.
2156 (posix_mem_offset): Likewise.
2157 (posix_typed_mem_get_info): Likewise.
2158 (posix_typed_mem_open): Likewise.
2159
9e188909
JM
2160 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2161 Change condition to [XOPEN2K8].
2162
05bcf62a
JM
2163 * conform/conformtest.pl: Preprocess allow-header data with -x c
2164 instead of from stdin.
2165 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2166 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2167 [C99-based standards] (cerfc): Likewise.
2168 [C99-based standards] (cexp2): Likewise.
2169 [C99-based standards] (cexpm1): Likewise.
2170 [C99-based standards] (clog10): Likewise.
2171 [C99-based standards] (clog1p): Likewise.
2172 [C99-based standards] (clog2): Likewise.
2173 [C99-based standards] (clgamma): Likewise.
2174 [C99-based standards] (ctgamma): Likewise.
2175 [C99-based standards] (cerff): Likewise.
2176 [C99-based standards] (cerfcf): Likewise.
2177 [C99-based standards] (cexp2f): Likewise.
2178 [C99-based standards] (cexpm1f): Likewise.
2179 [C99-based standards] (clog10f): Likewise.
2180 [C99-based standards] (clog1pf): Likewise.
2181 [C99-based standards] (clog2f): Likewise.
2182 [C99-based standards] (clgammaf): Likewise.
2183 [C99-based standards] (ctgammaf): Likewise.
2184 [C99-based standards] (cerfl): Likewise.
2185 [C99-based standards] (cerfcl): Likewise.
2186 [C99-based standards] (cexp2l): Likewise.
2187 [C99-based standards] (cexpm1l): Likewise.
2188 [C99-based standards] (clog10l): Likewise.
2189 [C99-based standards] (clog1pl): Likewise.
2190 [C99-based standards] (clog2l): Likewise.
2191 [C99-based standards] (clgammal): Likewise.
2192 [C99-based standards] (ctgammal): Likewise.
2193 * conform/data/inttypes.h-data [C99-based standards]: Include
2194 stdint.h-data. Remove all expectations for stdint.h contents.
2195 [C99-based standards] (PRI*): Do not allow.
2196 [C99-based standards] (SCN*): Likewise.
2197 [C99-based standards] (*_t): Likewise.
2198 [C99-based-standards] (PRId8): Expect macro.
2199 [C99-based-standards] (PRIi8): Likewise.
2200 [C99-based-standards] (PRIo8): Likewise.
2201 [C99-based-standards] (PRIu8): Likewise.
2202 [C99-based-standards] (PRIx8): Likewise.
2203 [C99-based-standards] (PRIX8): Likewise.
2204 [C99-based-standards] (SCNd8): Likewise.
2205 [C99-based-standards] (SCNi8): Likewise.
2206 [C99-based-standards] (SCNo8): Likewise.
2207 [C99-based-standards] (SCNu8): Likewise.
2208 [C99-based-standards] (SCNx8): Likewise.
2209 [C99-based-standards] (PRIdLEAST8): Likewise.
2210 [C99-based-standards] (PRIiLEAST8): Likewise.
2211 [C99-based-standards] (PRIoLEAST8): Likewise.
2212 [C99-based-standards] (PRIuLEAST8): Likewise.
2213 [C99-based-standards] (PRIxLEAST8): Likewise.
2214 [C99-based-standards] (PRIXLEAST8): Likewise.
2215 [C99-based-standards] (SCNdLEAST8): Likewise.
2216 [C99-based-standards] (SCNiLEAST8): Likewise.
2217 [C99-based-standards] (SCNoLEAST8): Likewise.
2218 [C99-based-standards] (SCNuLEAST8): Likewise.
2219 [C99-based-standards] (SCNxLEAST8): Likewise.
2220 [C99-based-standards] (PRIdFAST8): Likewise.
2221 [C99-based-standards] (PRIiFAST8): Likewise.
2222 [C99-based-standards] (PRIoFAST8): Likewise.
2223 [C99-based-standards] (PRIuFAST8): Likewise.
2224 [C99-based-standards] (PRIxFAST8): Likewise.
2225 [C99-based-standards] (PRIXFAST8): Likewise.
2226 [C99-based-standards] (SCNdFAST8): Likewise.
2227 [C99-based-standards] (SCNiFAST8): Likewise.
2228 [C99-based-standards] (SCNoFAST8): Likewise.
2229 [C99-based-standards] (SCNuFAST8): Likewise.
2230 [C99-based-standards] (SCNxFAST8): Likewise.
2231 [C99-based-standards] (PRId16): Likewise.
2232 [C99-based-standards] (PRIi16): Likewise.
2233 [C99-based-standards] (PRIo16): Likewise.
2234 [C99-based-standards] (PRIu16): Likewise.
2235 [C99-based-standards] (PRIx16): Likewise.
2236 [C99-based-standards] (PRIX16): Likewise.
2237 [C99-based-standards] (SCNd16): Likewise.
2238 [C99-based-standards] (SCNi16): Likewise.
2239 [C99-based-standards] (SCNo16): Likewise.
2240 [C99-based-standards] (SCNu16): Likewise.
2241 [C99-based-standards] (SCNx16): Likewise.
2242 [C99-based-standards] (PRIdLEAST16): Likewise.
2243 [C99-based-standards] (PRIiLEAST16): Likewise.
2244 [C99-based-standards] (PRIoLEAST16): Likewise.
2245 [C99-based-standards] (PRIuLEAST16): Likewise.
2246 [C99-based-standards] (PRIxLEAST16): Likewise.
2247 [C99-based-standards] (PRIXLEAST16): Likewise.
2248 [C99-based-standards] (SCNdLEAST16): Likewise.
2249 [C99-based-standards] (SCNiLEAST16): Likewise.
2250 [C99-based-standards] (SCNoLEAST16): Likewise.
2251 [C99-based-standards] (SCNuLEAST16): Likewise.
2252 [C99-based-standards] (SCNxLEAST16): Likewise.
2253 [C99-based-standards] (PRIdFAST16): Likewise.
2254 [C99-based-standards] (PRIiFAST16): Likewise.
2255 [C99-based-standards] (PRIoFAST16): Likewise.
2256 [C99-based-standards] (PRIuFAST16): Likewise.
2257 [C99-based-standards] (PRIxFAST16): Likewise.
2258 [C99-based-standards] (PRIXFAST16): Likewise.
2259 [C99-based-standards] (SCNdFAST16): Likewise.
2260 [C99-based-standards] (SCNiFAST16): Likewise.
2261 [C99-based-standards] (SCNoFAST16): Likewise.
2262 [C99-based-standards] (SCNuFAST16): Likewise.
2263 [C99-based-standards] (SCNxFAST16): Likewise.
2264 [C99-based-standards] (PRId32): Likewise.
2265 [C99-based-standards] (PRIi32): Likewise.
2266 [C99-based-standards] (PRIo32): Likewise.
2267 [C99-based-standards] (PRIu32): Likewise.
2268 [C99-based-standards] (PRIx32): Likewise.
2269 [C99-based-standards] (PRIX32): Likewise.
2270 [C99-based-standards] (SCNd32): Likewise.
2271 [C99-based-standards] (SCNi32): Likewise.
2272 [C99-based-standards] (SCNo32): Likewise.
2273 [C99-based-standards] (SCNu32): Likewise.
2274 [C99-based-standards] (SCNx32): Likewise.
2275 [C99-based-standards] (PRIdLEAST32): Likewise.
2276 [C99-based-standards] (PRIiLEAST32): Likewise.
2277 [C99-based-standards] (PRIoLEAST32): Likewise.
2278 [C99-based-standards] (PRIuLEAST32): Likewise.
2279 [C99-based-standards] (PRIxLEAST32): Likewise.
2280 [C99-based-standards] (PRIXLEAST32): Likewise.
2281 [C99-based-standards] (SCNdLEAST32): Likewise.
2282 [C99-based-standards] (SCNiLEAST32): Likewise.
2283 [C99-based-standards] (SCNoLEAST32): Likewise.
2284 [C99-based-standards] (SCNuLEAST32): Likewise.
2285 [C99-based-standards] (SCNxLEAST32): Likewise.
2286 [C99-based-standards] (PRIdFAST32): Likewise.
2287 [C99-based-standards] (PRIiFAST32): Likewise.
2288 [C99-based-standards] (PRIoFAST32): Likewise.
2289 [C99-based-standards] (PRIuFAST32): Likewise.
2290 [C99-based-standards] (PRIxFAST32): Likewise.
2291 [C99-based-standards] (PRIXFAST32): Likewise.
2292 [C99-based-standards] (SCNdFAST32): Likewise.
2293 [C99-based-standards] (SCNiFAST32): Likewise.
2294 [C99-based-standards] (SCNoFAST32): Likewise.
2295 [C99-based-standards] (SCNuFAST32): Likewise.
2296 [C99-based-standards] (SCNxFAST32): Likewise.
2297 [C99-based-standards] (PRId64): Likewise.
2298 [C99-based-standards] (PRIi64): Likewise.
2299 [C99-based-standards] (PRIo64): Likewise.
2300 [C99-based-standards] (PRIu64): Likewise.
2301 [C99-based-standards] (PRIx64): Likewise.
2302 [C99-based-standards] (PRIX64): Likewise.
2303 [C99-based-standards] (SCNd64): Likewise.
2304 [C99-based-standards] (SCNi64): Likewise.
2305 [C99-based-standards] (SCNo64): Likewise.
2306 [C99-based-standards] (SCNu64): Likewise.
2307 [C99-based-standards] (SCNx64): Likewise.
2308 [C99-based-standards] (PRIdLEAST64): Likewise.
2309 [C99-based-standards] (PRIiLEAST64): Likewise.
2310 [C99-based-standards] (PRIoLEAST64): Likewise.
2311 [C99-based-standards] (PRIuLEAST64): Likewise.
2312 [C99-based-standards] (PRIxLEAST64): Likewise.
2313 [C99-based-standards] (PRIXLEAST64): Likewise.
2314 [C99-based-standards] (SCNdLEAST64): Likewise.
2315 [C99-based-standards] (SCNiLEAST64): Likewise.
2316 [C99-based-standards] (SCNoLEAST64): Likewise.
2317 [C99-based-standards] (SCNuLEAST64): Likewise.
2318 [C99-based-standards] (SCNxLEAST64): Likewise.
2319 [C99-based-standards] (PRIdFAST64): Likewise.
2320 [C99-based-standards] (PRIiFAST64): Likewise.
2321 [C99-based-standards] (PRIoFAST64): Likewise.
2322 [C99-based-standards] (PRIuFAST64): Likewise.
2323 [C99-based-standards] (PRIxFAST64): Likewise.
2324 [C99-based-standards] (PRIXFAST64): Likewise.
2325 [C99-based-standards] (SCNdFAST64): Likewise.
2326 [C99-based-standards] (SCNiFAST64): Likewise.
2327 [C99-based-standards] (SCNoFAST64): Likewise.
2328 [C99-based-standards] (SCNuFAST64): Likewise.
2329 [C99-based-standards] (SCNxFAST64): Likewise.
2330 [C99-based-standards] (PRIdMAX): Likewise.
2331 [C99-based-standards] (PRIiMAX): Likewise.
2332 [C99-based-standards] (PRIoMAX): Likewise.
2333 [C99-based-standards] (PRIuMAX): Likewise.
2334 [C99-based-standards] (PRIxMAX): Likewise.
2335 [C99-based-standards] (PRIXMAX): Likewise.
2336 [C99-based-standards] (SCNdMAX): Likewise.
2337 [C99-based-standards] (SCNiMAX): Likewise.
2338 [C99-based-standards] (SCNoMAX): Likewise.
2339 [C99-based-standards] (SCNuMAX): Likewise.
2340 [C99-based-standards] (SCNxMAX): Likewise.
2341 [C99-based-standards] (PRIdPTR): Likewise.
2342 [C99-based-standards] (PRIiPTR): Likewise.
2343 [C99-based-standards] (PRIoPTR): Likewise.
2344 [C99-based-standards] (PRIuPTR): Likewise.
2345 [C99-based-standards] (PRIxPTR): Likewise.
2346 [C99-based-standards] (PRIXPTR): Likewise.
2347 [C99-based-standards] (SCNdPTR): Likewise.
2348 [C99-based-standards] (SCNiPTR): Likewise.
2349 [C99-based-standards] (SCNoPTR): Likewise.
2350 [C99-based-standards] (SCNuPTR): Likewise.
2351 [C99-based-standards] (SCNxPTR): Likewise.
2352 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2353 allow.
2354 * conform/data/stdint.h-data: Update comments to clarify
2355 requirements.
2356 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2357 type.
2358 [C99-based standards] (INT8_MAX): Likewise.
2359 [C99-based standards] (INT16_MIN): Likewise.
2360 [C99-based standards] (INT16_MAX): Likewise.
2361 [C99-based standards] (INT32_MIN): Likewise.
2362 [C99-based standards] (INT32_MAX): Likewise.
2363 [C99-based standards] (INT64_MIN): Likewise.
2364 [C99-based standards] (INT64_MAX): Likewise.
2365 [C99-based standards] (UINT8_MAX): Likewise.
2366 [C99-based standards] (UINT16_MAX): Likewise.
2367 [C99-based standards] (UINT32_MAX): Likewise.
2368 [C99-based standards] (UINT64_MAX): Likewise.
2369 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2370 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2371 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2372 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2373 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2374 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2375 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2376 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2377 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2378 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2379 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2380 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2381 [C99-based standards] (INT_FAST8_MIN): Likewise.
2382 [C99-based standards] (INT_FAST8_MAX): Likewise.
2383 [C99-based standards] (INT_FAST16_MIN): Likewise.
2384 [C99-based standards] (INT_FAST16_MAX): Likewise.
2385 [C99-based standards] (INT_FAST32_MIN): Likewise.
2386 [C99-based standards] (INT_FAST32_MAX): Likewise.
2387 [C99-based standards] (INT_FAST64_MIN): Likewise.
2388 [C99-based standards] (INT_FAST64_MAX): Likewise.
2389 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2390 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2391 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2392 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2393 [C99-based standards] (INTPTR_MIN): Likewise.
2394 [C99-based standards] (INTPTR_MAX): Likewise.
2395 [C99-based standards] (UINTPTR_MAX): Likewise.
2396 [C99-based standards] (INTMAX_MIN): Likewise.
2397 [C99-based standards] (INTMAX_MAX): Likewise.
2398 [C99-based standards] (UINTMAX_MAX): Likewise.
2399 [C99-based standards] (PTRDIFF_MIN): Likewise.
2400 [C99-based standards] (PTRDIFF_MAX): Likewise.
2401 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2402 [C99-based standards] (SIZE_MAX): Likewise.
2403 [C99-based standards] (WCHAR_MAX): Likewise.
2404 [C99-based standards] (WINT_MAX): Likewise.
2405 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2406 constraint on value.
2407 [C99-based standards] (WCHAR_MIN): Likewise.
2408 [C99-based standards] (WINT_MIN): Likewise.
2409 [C99-based standards] (*_t): Allow.
2410 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2411 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2412 Include math.h-data and complex.h-data. Remove all expectations
2413 of math.h and complex.h contents.
2414 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2415 at end of line.
2416 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2417 (struct tm): Expect tag.
2418 [C99-based-standards] (wcstof): Expect function.
2419 [C99-based-standards] (wcstold): Likewise.
2420 [C99-based-standards] (wcstoll): Likewise.
2421 [C99-based-standards] (wcstoull): Likewise.
2422 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2423 macro-int-constant. Specify type.
2424 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2425 constraint on value.
2426 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2427 Specify type.
2428 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2429 Specify value.
2430 [ISO C standards]: Do not allow headers.
2431 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2432 wcs[abcdefghijklmnopqrstuvwxyz]*.
2433 [ISO C standards] (*_t): Do not allow.
2434 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2435 Expect function.
2436 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2437 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2438 Specify type.
2439 [ISO C standards]: Do not allow headers.
2440 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2441 is[abcdefghijklmnopqrstuvwxyz]*.
2442 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2443 to[abcdefghijklmnopqrstuvwxyz]*.
2444 [ISO C standards] (*_t): Do not allow.
2445 * conform/data/stdalign.h-data: New file.
2446 * conform/data/stdbool.h-data: Likewise.
2447 * conform/data/stdnoreturn.h-data: Likewise.
2448
7514feb8
RM
24492012-11-07 Roland McGrath <roland@hack.frob.com>
2450
2451 [BZ #14815]
2452 * manual/filesys.texi (Directory Entries): Typo fix.
2453 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2454
19b2ecfc
MS
24552012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2456
2457 * elf/elf.h (EM_AARCH64): New macro.
2458 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2459 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2460 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2461 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2462 (R_AARCH64_TLSDESC): Likewise.
2463 (NT_ARM_TLS): Likewise.
2464 (NT_ARM_HW_BREAK): Likewise.
2465 (NT_ARM_HW_WATCH): Likewise.
2466
60e235ee
JM
24672012-11-07 Joseph Myers <joseph@codesourcery.com>
2468
2469 [BZ #14811]
2470 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2471 (__ieee754_powl): Saturate nonzero exponents with absolute value
2472 below 0x1p-79 to +/- 0x1p-79.
2473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2474 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2475 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2476 nonzero exponents with absolute value below 0x1p-32 to +/-
2477 0x1p-32.
2478 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2479 (__ieee754_powl): Saturate nonzero exponents with absolute value
2480 below 0x1p-79 to +/- 0x1p-79.
2481 * math/libm-test.inc (pow_test): Add more tests.
2482
0ab234b7
AK
24832012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2484
2485 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2486 _dl_s390_cap_flags with kernel. Increase string length.
2487 (_dl_s390_platforms): Add z196 and zEC12.
2488
45832f74
JM
24892012-11-07 Joseph Myers <joseph@codesourcery.com>
2490
2491 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2492 Change XOPEN21K to XOPEN2K.
2493
19218757
MK
24942012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2495
2496 * string/memmove.c: Use memcpy when possible.
2497
c5f45721
AJ
24982012-11-06 Andreas Jaeger <aj@suse.de>
2499
2500 * po/eo.po: Update from translation team.
2501
82477c28
JM
25022012-11-06 Joseph Myers <joseph@codesourcery.com>
2503
2504 [BZ #14793]
2505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2506 exponent and small x and y exponents, scale x or y up. Increase
2507 by 2 the exponent used in scaling up.
2508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2510 * math/libm-test.inc (fma_test): Add more tests.
2511 (fma_test_towardzero): Likewise.
2512 (fma_test_downward): Likewise.
2513 (fma_test_upward): Likewise.
2514
99252c8c
JM
25152012-11-05 Joseph Myers <joseph@codesourcery.com>
2516
acfa885f
JM
2517 [BZ #14805]
2518 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2519 fenv_t *.
2520
99252c8c
JM
2521 [BZ #14801]
2522 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2523 namespace for names of struct fields.
2524 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2525 fenv_t fields.
2526 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2527 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2528
d6d98dea
ST
25292012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2530
2531 [BZ #3665]
2532 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2533
e10bb107
TS
25342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2535
2536 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2537 PTR_DEMANGLE.
2538
2539 [BZ #5246]
2540 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2541 PTR_DEMANGLE.
2542
a0c2940d
JM
25432012-11-04 Joseph Myers <joseph@codesourcery.com>
2544
2545 [BZ #14797]
2546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2547 definitely overflow as x * y not x * y + z.
2548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2550 * math/libm-test.inc (fma_test): Add more tests.
2551 (fma_test_towardzero): Likewise.
2552 (fma_test_downward): Likewise.
2553 (fma_test_upward): Likewise.
2554
b830319d
TS
25552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2556
2557 [BZ #157]
2558
2559 * include/stub-tag.h: Remove file.
2560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2561 '#include' of it.
2562 * manual/maint.texi (Porting): Don't reference it.
2563 * Makerules ($(objpfx)stubs): Likewise.
2564 * dirent/closedir.c: Don't include <stub-tag.h>.
2565 * dirent/dirfd.c: Likewise.
2566 * dirent/fdopendir.c: Likewise.
2567 * dirent/getdents.c: Likewise.
2568 * dirent/getdents64.c: Likewise.
2569 * dirent/opendir.c: Likewise.
2570 * dirent/readdir.c: Likewise.
2571 * dirent/readdir64.c: Likewise.
2572 * dirent/readdir64_r.c: Likewise.
2573 * dirent/readdir_r.c: Likewise.
2574 * dirent/rewinddir.c: Likewise.
2575 * dirent/seekdir.c: Likewise.
2576 * dirent/telldir.c: Likewise.
2577 * gmon/profil.c: Likewise.
2578 * grp/setgroups.c: Likewise.
2579 * inet/if_index.c: Likewise.
2580 * io/access.c: Likewise.
2581 * io/chdir.c: Likewise.
2582 * io/chmod.c: Likewise.
2583 * io/chown.c: Likewise.
2584 * io/close.c: Likewise.
2585 * io/dup.c: Likewise.
2586 * io/dup2.c: Likewise.
2587 * io/dup3.c: Likewise.
2588 * io/euidaccess.c: Likewise.
2589 * io/faccessat.c: Likewise.
2590 * io/fchdir.c: Likewise.
2591 * io/fchmod.c: Likewise.
2592 * io/fchmodat.c: Likewise.
2593 * io/fchown.c: Likewise.
2594 * io/fchownat.c: Likewise.
2595 * io/fcntl.c: Likewise.
2596 * io/flock.c: Likewise.
2597 * io/fstatfs.c: Likewise.
2598 * io/fstatfs64.c: Likewise.
2599 * io/fstatvfs.c: Likewise.
2600 * io/fstatvfs64.c: Likewise.
2601 * io/futimens.c: Likewise.
2602 * io/fxstat.c: Likewise.
2603 * io/fxstat64.c: Likewise.
2604 * io/fxstatat.c: Likewise.
2605 * io/fxstatat64.c: Likewise.
2606 * io/getcwd.c: Likewise.
2607 * io/isatty.c: Likewise.
2608 * io/lchmod.c: Likewise.
2609 * io/lchown.c: Likewise.
2610 * io/link.c: Likewise.
2611 * io/linkat.c: Likewise.
2612 * io/lseek.c: Likewise.
2613 * io/lseek64.c: Likewise.
2614 * io/lxstat64.c: Likewise.
2615 * io/mkdir.c: Likewise.
2616 * io/mkdirat.c: Likewise.
2617 * io/mkfifo.c: Likewise.
2618 * io/mkfifoat.c: Likewise.
2619 * io/open.c: Likewise.
2620 * io/open64.c: Likewise.
2621 * io/openat.c: Likewise.
2622 * io/openat64.c: Likewise.
2623 * io/pipe.c: Likewise.
2624 * io/pipe2.c: Likewise.
2625 * io/poll.c: Likewise.
2626 * io/posix_fadvise.c: Likewise.
2627 * io/posix_fadvise64.c: Likewise.
2628 * io/posix_fallocate.c: Likewise.
2629 * io/posix_fallocate64.c: Likewise.
2630 * io/read.c: Likewise.
2631 * io/readlink.c: Likewise.
2632 * io/readlinkat.c: Likewise.
2633 * io/rmdir.c: Likewise.
2634 * io/sendfile.c: Likewise.
2635 * io/sendfile64.c: Likewise.
2636 * io/statfs.c: Likewise.
2637 * io/statfs64.c: Likewise.
2638 * io/statvfs.c: Likewise.
2639 * io/statvfs64.c: Likewise.
2640 * io/symlink.c: Likewise.
2641 * io/symlinkat.c: Likewise.
2642 * io/ttyname.c: Likewise.
2643 * io/ttyname_r.c: Likewise.
2644 * io/umask.c: Likewise.
2645 * io/unlink.c: Likewise.
2646 * io/unlinkat.c: Likewise.
2647 * io/utime.c: Likewise.
2648 * io/utimensat.c: Likewise.
2649 * io/write.c: Likewise.
2650 * io/xmknod.c: Likewise.
2651 * io/xmknodat.c: Likewise.
2652 * io/xstat.c: Likewise.
2653 * io/xstat64.c: Likewise.
2654 * login/getpt.c: Likewise.
2655 * login/grantpt.c: Likewise.
2656 * login/unlockpt.c: Likewise.
2657 * math/e_acoshl.c: Likewise.
2658 * math/e_acosl.c: Likewise.
2659 * math/e_asinl.c: Likewise.
2660 * math/e_atan2l.c: Likewise.
2661 * math/e_atanhl.c: Likewise.
2662 * math/e_coshl.c: Likewise.
2663 * math/e_expl.c: Likewise.
2664 * math/e_fmodl.c: Likewise.
2665 * math/e_gammal_r.c: Likewise.
2666 * math/e_hypotl.c: Likewise.
2667 * math/e_j0l.c: Likewise.
2668 * math/e_j1l.c: Likewise.
2669 * math/e_jnl.c: Likewise.
2670 * math/e_lgammal_r.c: Likewise.
2671 * math/e_log10l.c: Likewise.
2672 * math/e_log2l.c: Likewise.
2673 * math/e_logl.c: Likewise.
2674 * math/e_powl.c: Likewise.
2675 * math/e_rem_pio2l.c: Likewise.
2676 * math/e_sinhl.c: Likewise.
2677 * math/e_sqrtl.c: Likewise.
2678 * math/fclrexcpt.c: Likewise.
2679 * math/fedisblxcpt.c: Likewise.
2680 * math/feenablxcpt.c: Likewise.
2681 * math/fegetenv.c: Likewise.
2682 * math/fegetexcept.c: Likewise.
2683 * math/fegetround.c: Likewise.
2684 * math/feholdexcpt.c: Likewise.
2685 * math/fesetenv.c: Likewise.
2686 * math/fesetround.c: Likewise.
2687 * math/feupdateenv.c: Likewise.
2688 * math/fgetexcptflg.c: Likewise.
2689 * math/fraiseexcpt.c: Likewise.
2690 * math/fsetexcptflg.c: Likewise.
2691 * math/ftestexcept.c: Likewise.
2692 * math/k_cosl.c: Likewise.
2693 * math/k_rem_pio2l.c: Likewise.
2694 * math/k_sinl.c: Likewise.
2695 * math/k_tanl.c: Likewise.
2696 * math/s_asinhl.c: Likewise.
2697 * math/s_atanl.c: Likewise.
2698 * math/s_cbrtl.c: Likewise.
2699 * math/s_erfl.c: Likewise.
2700 * math/s_expm1l.c: Likewise.
2701 * math/s_log1pl.c: Likewise.
2702 * math/s_tanhl.c: Likewise.
2703 * misc/acct.c: Likewise.
2704 * misc/brk.c: Likewise.
2705 * misc/chflags.c: Likewise.
2706 * misc/chroot.c: Likewise.
2707 * misc/fchflags.c: Likewise.
2708 * misc/fgetxattr.c: Likewise.
2709 * misc/flistxattr.c: Likewise.
2710 * misc/fremovexattr.c: Likewise.
2711 * misc/fsetxattr.c: Likewise.
2712 * misc/fsync.c: Likewise.
2713 * misc/ftruncate.c: Likewise.
2714 * misc/futimes.c: Likewise.
2715 * misc/futimesat.c: Likewise.
2716 * misc/getdomain.c: Likewise.
2717 * misc/getdtsz.c: Likewise.
2718 * misc/gethostid.c: Likewise.
2719 * misc/gethostname.c: Likewise.
2720 * misc/getloadavg.c: Likewise.
2721 * misc/getpagesize.c: Likewise.
2722 * misc/getsysstats.c: Likewise.
2723 * misc/getxattr.c: Likewise.
2724 * misc/gtty.c: Likewise.
2725 * misc/ioctl.c: Likewise.
2726 * misc/lgetxattr.c: Likewise.
2727 * misc/listxattr.c: Likewise.
2728 * misc/llistxattr.c: Likewise.
2729 * misc/lremovexattr.c: Likewise.
2730 * misc/lsetxattr.c: Likewise.
2731 * misc/lutimes.c: Likewise.
2732 * misc/madvise.c: Likewise.
2733 * misc/mincore.c: Likewise.
2734 * misc/mlock.c: Likewise.
2735 * misc/mlockall.c: Likewise.
2736 * misc/mmap.c: Likewise.
2737 * misc/mprotect.c: Likewise.
2738 * misc/msync.c: Likewise.
2739 * misc/munlock.c: Likewise.
2740 * misc/munlockall.c: Likewise.
2741 * misc/munmap.c: Likewise.
2742 * misc/preadv.c: Likewise.
2743 * misc/preadv64.c: Likewise.
2744 * misc/ptrace.c: Likewise.
2745 * misc/pwritev.c: Likewise.
2746 * misc/pwritev64.c: Likewise.
2747 * misc/readv.c: Likewise.
2748 * misc/reboot.c: Likewise.
2749 * misc/remap_file_pages.c: Likewise.
2750 * misc/removexattr.c: Likewise.
2751 * misc/revoke.c: Likewise.
2752 * misc/select.c: Likewise.
2753 * misc/setdomain.c: Likewise.
2754 * misc/setegid.c: Likewise.
2755 * misc/seteuid.c: Likewise.
2756 * misc/sethostid.c: Likewise.
2757 * misc/sethostname.c: Likewise.
2758 * misc/setregid.c: Likewise.
2759 * misc/setreuid.c: Likewise.
2760 * misc/setxattr.c: Likewise.
2761 * misc/sstk.c: Likewise.
2762 * misc/stty.c: Likewise.
2763 * misc/swapoff.c: Likewise.
2764 * misc/swapon.c: Likewise.
2765 * misc/sync.c: Likewise.
2766 * misc/syncfs.c: Likewise.
2767 * misc/syscall.c: Likewise.
2768 * misc/truncate.c: Likewise.
2769 * misc/ualarm.c: Likewise.
2770 * misc/usleep.c: Likewise.
2771 * misc/ustat.c: Likewise.
2772 * misc/utimes.c: Likewise.
2773 * misc/vhangup.c: Likewise.
2774 * misc/writev.c: Likewise.
2775 * posix/_exit.c: Likewise.
2776 * posix/alarm.c: Likewise.
2777 * posix/execve.c: Likewise.
2778 * posix/fexecve.c: Likewise.
2779 * posix/fork.c: Likewise.
2780 * posix/fpathconf.c: Likewise.
2781 * posix/getaddrinfo.c: Likewise.
2782 * posix/getegid.c: Likewise.
2783 * posix/geteuid.c: Likewise.
2784 * posix/getgid.c: Likewise.
2785 * posix/getgroups.c: Likewise.
2786 * posix/getlogin.c: Likewise.
2787 * posix/getlogin_r.c: Likewise.
2788 * posix/getpgid.c: Likewise.
2789 * posix/getpid.c: Likewise.
2790 * posix/getppid.c: Likewise.
2791 * posix/getresgid.c: Likewise.
2792 * posix/getresuid.c: Likewise.
2793 * posix/getsid.c: Likewise.
2794 * posix/getuid.c: Likewise.
2795 * posix/glob64.c: Likewise.
2796 * posix/nanosleep.c: Likewise.
2797 * posix/pathconf.c: Likewise.
2798 * posix/pause.c: Likewise.
2799 * posix/posix_madvise.c: Likewise.
2800 * posix/pread.c: Likewise.
2801 * posix/pread64.c: Likewise.
2802 * posix/pwrite.c: Likewise.
2803 * posix/pwrite64.c: Likewise.
2804 * posix/sched_getaffinity.c: Likewise.
2805 * posix/sched_getp.c: Likewise.
2806 * posix/sched_gets.c: Likewise.
2807 * posix/sched_primax.c: Likewise.
2808 * posix/sched_primin.c: Likewise.
2809 * posix/sched_rr_gi.c: Likewise.
2810 * posix/sched_setaffinity.c: Likewise.
2811 * posix/sched_setp.c: Likewise.
2812 * posix/sched_sets.c: Likewise.
2813 * posix/sched_yield.c: Likewise.
2814 * posix/setgid.c: Likewise.
2815 * posix/setlogin.c: Likewise.
2816 * posix/setpgid.c: Likewise.
2817 * posix/setresgid.c: Likewise.
2818 * posix/setresuid.c: Likewise.
2819 * posix/setsid.c: Likewise.
2820 * posix/setuid.c: Likewise.
2821 * posix/sleep.c: Likewise.
2822 * posix/spawni.c: Likewise.
2823 * posix/sysconf.c: Likewise.
2824 * posix/times.c: Likewise.
2825 * posix/wait.c: Likewise.
2826 * posix/wait3.c: Likewise.
2827 * posix/wait4.c: Likewise.
2828 * posix/waitpid.c: Likewise.
2829 * resolv/gai_sigqueue.c: Likewise.
2830 * resource/getpriority.c: Likewise.
2831 * resource/getrlimit.c: Likewise.
2832 * resource/getrusage.c: Likewise.
2833 * resource/nice.c: Likewise.
2834 * resource/setpriority.c: Likewise.
2835 * resource/setrlimit.c: Likewise.
2836 * resource/ulimit.c: Likewise.
2837 * rt/aio_cancel.c: Likewise.
2838 * rt/aio_fsync.c: Likewise.
2839 * rt/aio_read.c: Likewise.
2840 * rt/aio_sigqueue.c: Likewise.
2841 * rt/aio_suspend.c: Likewise.
2842 * rt/aio_write.c: Likewise.
2843 * rt/clock_getres.c: Likewise.
2844 * rt/clock_gettime.c: Likewise.
2845 * rt/clock_nanosleep.c: Likewise.
2846 * rt/clock_settime.c: Likewise.
2847 * rt/lio_listio.c: Likewise.
2848 * rt/mq_close.c: Likewise.
2849 * rt/mq_getattr.c: Likewise.
2850 * rt/mq_notify.c: Likewise.
2851 * rt/mq_open.c: Likewise.
2852 * rt/mq_receive.c: Likewise.
2853 * rt/mq_send.c: Likewise.
2854 * rt/mq_setattr.c: Likewise.
2855 * rt/mq_timedreceive.c: Likewise.
2856 * rt/mq_timedsend.c: Likewise.
2857 * rt/mq_unlink.c: Likewise.
2858 * rt/shm_open.c: Likewise.
2859 * rt/shm_unlink.c: Likewise.
2860 * rt/timer_create.c: Likewise.
2861 * rt/timer_delete.c: Likewise.
2862 * rt/timer_getoverr.c: Likewise.
2863 * rt/timer_gettime.c: Likewise.
2864 * rt/timer_settime.c: Likewise.
2865 * setjmp/__longjmp.c: Likewise.
2866 * setjmp/setjmp.c: Likewise.
2867 * signal/kill.c: Likewise.
2868 * signal/killpg.c: Likewise.
2869 * signal/raise.c: Likewise.
2870 * signal/sigaction.c: Likewise.
2871 * signal/sigaltstack.c: Likewise.
2872 * signal/sigblock.c: Likewise.
2873 * signal/sigignore.c: Likewise.
2874 * signal/sigintr.c: Likewise.
2875 * signal/signal.c: Likewise.
2876 * signal/sigpause.c: Likewise.
2877 * signal/sigpending.c: Likewise.
2878 * signal/sigqueue.c: Likewise.
2879 * signal/sigreturn.c: Likewise.
2880 * signal/sigset.c: Likewise.
2881 * signal/sigsetmask.c: Likewise.
2882 * signal/sigstack.c: Likewise.
2883 * signal/sigsuspend.c: Likewise.
2884 * signal/sigtimedwait.c: Likewise.
2885 * signal/sigvec.c: Likewise.
2886 * signal/sigwait.c: Likewise.
2887 * signal/sigwaitinfo.c: Likewise.
2888 * signal/sysv_signal.c: Likewise.
2889 * socket/accept.c: Likewise.
2890 * socket/accept4.c: Likewise.
2891 * socket/bind.c: Likewise.
2892 * socket/connect.c: Likewise.
2893 * socket/getpeername.c: Likewise.
2894 * socket/getsockname.c: Likewise.
2895 * socket/getsockopt.c: Likewise.
2896 * socket/isfdtype.c: Likewise.
2897 * socket/listen.c: Likewise.
2898 * socket/recv.c: Likewise.
2899 * socket/recvfrom.c: Likewise.
2900 * socket/recvmsg.c: Likewise.
2901 * socket/send.c: Likewise.
2902 * socket/sendmsg.c: Likewise.
2903 * socket/sendto.c: Likewise.
2904 * socket/setsockopt.c: Likewise.
2905 * socket/shutdown.c: Likewise.
2906 * socket/sockatmark.c: Likewise.
2907 * socket/socket.c: Likewise.
2908 * socket/socketpair.c: Likewise.
2909 * stdio-common/ctermid.c: Likewise.
2910 * stdio-common/cuserid.c: Likewise.
2911 * stdio-common/remove.c: Likewise.
2912 * stdio-common/rename.c: Likewise.
2913 * stdio-common/renameat.c: Likewise.
2914 * stdio-common/tempname.c: Likewise.
2915 * stdlib/getcontext.c: Likewise.
2916 * stdlib/makecontext.c: Likewise.
2917 * stdlib/setcontext.c: Likewise.
2918 * stdlib/swapcontext.c: Likewise.
2919 * stdlib/system.c: Likewise.
2920 * streams/fattach.c: Likewise.
2921 * streams/fdetach.c: Likewise.
2922 * streams/getmsg.c: Likewise.
2923 * streams/getpmsg.c: Likewise.
2924 * streams/putmsg.c: Likewise.
2925 * streams/putpmsg.c: Likewise.
2926 * sysdeps/unix/bsd/getpt.c: Likewise.
2927 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2928 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2929 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2931 Likewise.
2932 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2933 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2934 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2935 * sysvipc/msgctl.c: Likewise.
2936 * sysvipc/msgget.c: Likewise.
2937 * sysvipc/msgrcv.c: Likewise.
2938 * sysvipc/msgsnd.c: Likewise.
2939 * sysvipc/semctl.c: Likewise.
2940 * sysvipc/semget.c: Likewise.
2941 * sysvipc/semop.c: Likewise.
2942 * sysvipc/semtimedop.c: Likewise.
2943 * sysvipc/shmat.c: Likewise.
2944 * sysvipc/shmctl.c: Likewise.
2945 * sysvipc/shmdt.c: Likewise.
2946 * sysvipc/shmget.c: Likewise.
2947 * termios/tcdrain.c: Likewise.
2948 * termios/tcflow.c: Likewise.
2949 * termios/tcflush.c: Likewise.
2950 * termios/tcgetattr.c: Likewise.
2951 * termios/tcgetpgrp.c: Likewise.
2952 * termios/tcsendbrk.c: Likewise.
2953 * termios/tcsetattr.c: Likewise.
2954 * termios/tcsetpgrp.c: Likewise.
2955 * time/adjtime.c: Likewise.
2956 * time/clock.c: Likewise.
2957 * time/getitimer.c: Likewise.
2958 * time/gettimeofday.c: Likewise.
2959 * time/setitimer.c: Likewise.
2960 * time/settimeofday.c: Likewise.
2961 * time/stime.c: Likewise.
2962 * time/time.c: Likewise.
2963
29642012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2965
a20492cf
PT
2966 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2967 /usr/old/bin.
2968
72e182e3
PT
2969 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2970 instead of spaces.
2971 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2972
fbeafede
JM
29732012-11-03 Joseph Myers <joseph@codesourcery.com>
2974
5b5b04d6
JM
2975 [BZ #14796]
2976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2977 FE_TONEAREST before applying Dekker multiplication and Knuth
2978 addition. Clear inexact exceptions and check for exact zero
2979 results afterwards.
2980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2981 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2982 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2983 * math/libm-test.inc (fma_test): Add more tests.
2984 (fma_test_towardzero): Likewise.
2985 (fma_test_downward): Likewise.
2986 (fma_test_upward): Likewise.
2987 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2988 function.
2989 (libc_fesetround): New macro.
2990 (libc_fesetroundf): Likewise.
2991 (libc_fesetroundl): Likewise.
2992 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2993 function.
2994 (libc_fesetround_387): Likewise.
2995 (libc_fesetroundf): New macro.
2996 (libc_fesetround): Likewise.
2997 (libc_fesetroundl): Likewise.
2998 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2999 function.
3000 (libc_fesetroundf): New macro.
3001 (libc_fesetround): Likewise.
3002 (libc_fesetroundl): Likewise.
3003 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3004 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3005 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3006 libm_hidden_ver.
3007 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3008 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3009 libm_hidden_def.
3010 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3011 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3012 libm_hidden_ver.
3013 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3014 libm_hidden_def.
3015
fbeafede
JM
3016 [BZ #3439]
3017 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3018 integer constant usable in #if and use that to give value to enum
3019 constant.
3020 (FE_DIVBYZERO): Likewise.
3021 (FE_UNDERFLOW): Likewise.
3022 (FE_OVERFLOW): Likewise.
3023 (FE_INVALID): Likewise.
3024 (FE_INVALID_SNAN): Likewise.
3025 (FE_INVALID_ISI): Likewise.
3026 (FE_INVALID_IDI): Likewise.
3027 (FE_INVALID_ZDZ): Likewise.
3028 (FE_INVALID_IMZ): Likewise.
3029 (FE_INVALID_COMPARE): Likewise.
3030 (FE_INVALID_SOFTWARE): Likewise.
3031 (FE_INVALID_SQRT): Likewise.
3032 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3033 (FE_TONEAREST): Likewise.
3034 (FE_TOWARDZERO): Likewise.
3035 (FE_UPWARD): Likewise.
3036 (FE_DOWNWARD): Likewise.
3037 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3038 (FE_DIVBYZERO): Likewise.
3039 (FE_OVERFLOW): Likewise.
3040 (FE_UNDERFLOW): Likewise.
3041 (FE_INEXACT): Likewise.
3042 (FE_TONEAREST): Likewise.
3043 (FE_DOWNWARD): Likewise.
3044 (FE_UPWARD): Likewise.
3045 (FE_TOWARDZERO): Likewise.
3046 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3047 (FE_UNDERFLOW): Likewise.
3048 (FE_OVERFLOW): Likewise.
3049 (FE_DIVBYZERO): Likewise.
3050 (FE_INVALID): Likewise.
3051 (FE_TONEAREST): Likewise.
3052 (FE_TOWARDZERO): Likewise.
3053 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3054 (FE_OVERFLOW): Likewise.
3055 (FE_UNDERFLOW): Likewise.
3056 (FE_DIVBYZERO): Likewise.
3057 (FE_INEXACT): Likewise.
3058 (FE_TONEAREST): Likewise.
3059 (FE_TOWARDZERO): Likewise.
3060 (FE_UPWARD): Likewise.
3061 (FE_DOWNWARD): Likewise.
3062 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3063 (FE_DIVBYZERO): Likewise.
3064 (FE_OVERFLOW): Likewise.
3065 (FE_UNDERFLOW): Likewise.
3066 (FE_INEXACT): Likewise.
3067 (FE_TONEAREST): Likewise.
3068 (FE_DOWNWARD): Likewise.
3069 (FE_UPWARD): Likewise.
3070 (FE_TOWARDZERO): Likewise.
3071
105ca950
CM
30722012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3073
3074 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3075
a542b389
AS
30762012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3077
3078 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3079 commands. Quote $PWD.
3080 (blacklist_exports): Don't use remove_newlines. Replace "declare
3081 -x" by "export".
3082 (remove_newlines): Remove.
3083
f62c8abc
L
30842012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3087 * stdlib/stdlib.h (atof): Moved to ...
3088 * include/bits/stdlib-float.h: Here. New file.
3089 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3090 * stdlib/bits/stdlib-float.h: New file.
3091 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3092 -mno-sse -mno-mmx.
3093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3094 <xmmintrin.h>.
3095
0155d5b2
JM
30962012-11-02 Joseph Myers <joseph@codesourcery.com>
3097
a68d0680
JM
3098 * conform/conformtest.pl (@headers): Add fenv.h.
3099 * conform/data/fenv.h-data: New file.
3100 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3101 include of <math/fenv.h>.
3102
caf7f573
JM
3103 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3104 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3105 && !UNIX98]. Enables tests for XOPEN2K8.
3106 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3107 POSIX2008]: Likewise.
3108
6c073ad6
JM
3109 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3110 (struct rusage): Do not expect type or its members.
3111
0155d5b2
JM
3112 [BZ #3439]
3113 * math/math.h (FP_NAN): Define macro to integer constant usable in
3114 #if and use that to give value to enum constant.
3115 (FP_INFINITE): Likewise.
3116 (FP_ZERO): Likewise.
3117 (FP_SUBNORMAL): Likewise.
3118 (FP_NORMAL): Likewise.
3119
b5dcacb4
AS
31202012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3121
3122 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3123 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3124 arguments.
3125
f7934be8
RM
31262012-11-02 Roland McGrath <roland@hack.frob.com>
3127
3128 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3129 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3130 autoconf-time if not.
3131 * configure.in: Remove AC_PREREQ.
3132
d7d08bde
TMQMF
31332012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3134
3135 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3136 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3137 of the internal implementation.
3138
dcdae19a
JM
31392012-11-02 Joseph Myers <joseph@codesourcery.com>
3140
3141 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3142 except include of <misc/sys/syslog.h>.
3143
d6cffd3e
AS
31442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3145
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3147 function returns with a NULL context exit with zero.
3148
b3563932
TMQMF
31492012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3150
3151 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3152
b288a93d
L
31532012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3156 (run_program_cmd): This.
3157 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3158 (tst_langinfo): New variable. Use it.
3159
a2421a68
SAS
31602012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3161
3162 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3163 floating point opcodes.
3164
6f796e1b
TS
31652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3166
7402596b
TS
3167 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3168 variable.
3169
d0d4f868
TS
3170 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3171
6f796e1b
TS
3172 * sysdeps/mach/hurd/powerpc: Remove directory.
3173 * sysdeps/mach/powerpc: Likewise.
3174
4da224a2
AS
31752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3176
3177 * scripts/check-local-headers.sh: Ignore c++ headers.
3178
341dd673
TS
31792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3180
3181 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3182 __libc_cleanup_region_start argument.
3183
473611b2
JM
31842012-11-01 Joseph Myers <joseph@codesourcery.com>
3185
3186 [BZ #14784]
3187 [BZ #14785]
3188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3189 x * y using scaling, not as x * y + z.
3190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3192 * math/libm-test.inc (fma_test): Add more tests.
3193 (fma_test_towardzero): Likewise.
3194 (fma_test_downward): Likewise.
3195 (fma_test_upward): Likewise.
3196
4078da3d
TS
31972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3198
3199 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3200
903252aa
JM
32012012-10-31 Joseph Myers <joseph@codesourcery.com>
3202
3203 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3204 New variable.
3205
cbc818d0
TS
32062012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3207
3208 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3209
5a03cb1e
AS
32102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3211
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3213 Fix sort order.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3215 Likewise.
3216
90aff2ff
TMQMF
32172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3218
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3220 Fix the order of the list for glibc 2.17.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3222 Likewise.
3223
1818fcb7
AS
32242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3225
3226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3227
ef82f4da
JM
32282012-10-31 Joseph Myers <joseph@codesourcery.com>
3229
16a0e2ec
JM
3230 [BZ #14610]
3231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3232 for low part of x being zero before using __atanl (y).
3233 * math/libm-test.inc (atan2_test): Add another test.
3234
0eb69512
JM
3235 * manual/install.texi (Configuring and compiling): Document
3236 general use of test-wrapper and test-wrapper-env.
3237 * INSTALL: Regenerated.
3238
ef82f4da
JM
3239 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3240 (__fma): Do not extract and scale down low bits on after-rounding
3241 systems when result rounded to normal precision would have normal
3242 exponent.
3243 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3244 (__fmal): Do not extract and scale down low bits on after-rounding
3245 systems when result rounded to normal precision would have normal
3246 exponent.
3247 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3248 (__fmal): Do not extract and scale down low bits on after-rounding
3249 systems when result rounded to normal precision would have normal
3250 exponent.
3251 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3252 macro.
3253 (fma_test): Add more tests.
3254 (fma_test_towardzero): Likewise.
3255 (fma_test_downward): Likewise.
3256 (fma_test_upward): Likewise.
3257
954ef0d9
L
32582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3259
3260 * sysdeps/i386/tininess.h: Renamed to ...
3261 * sysdeps/x86/tininess.h: This.
3262 * sysdeps/x86_64/tininess.h: Removed.
3263
df61ffb2
JM
32642012-10-30 Joseph Myers <joseph@codesourcery.com>
3265
3266 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3267 input. Use $(build-program-cmd).
3268 ($(objpfx)tst-array1-static.out): Likewise.
3269 ($(objpfx)tst-array2.out): Likewise.
3270 ($(objpfx)tst-array3.out): Likewise.
3271 ($(objpfx)tst-array4.out): Likewise.
3272 ($(objpfx)tst-array5.out): Likewise.
3273 ($(objpfx)tst-array5-static.out): Likewise.
3274
01767843
CM
32752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3276
47cc1490
CM
3277 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3278 if defined.
3279
01767843
CM
3280 * nss/nsswitch.h (nss_interface_function): Provide new
3281 macro for use with NSS functions.
3282 * grp/initgroups.c: Use new macro.
3283 * nss/getXXbyYY.c: Likewise.
3284 * nss/getXXbyYY_r.c: Likewise.
3285 * nss/getXXent.c: Likewise.
3286 * nss/getXXent_r.c: Likewise.
3287 * sysdeps/posix/getaddrinfo.c: Likewise.
3288
8321aa97
AJ
32892012-10-30 Andreas Jaeger <aj@suse.de>
3290
3291 * po/ru.po: Update Russion translation from translation project.
3292
2a27fd6d
JM
32932012-10-30 Joseph Myers <joseph@codesourcery.com>
3294
8627a232
JM
3295 [BZ #14152]
3296 [BZ #14783]
3297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3298 result and shift together with sticky bit instead of replicating
3299 round-to-nearest rounding.
3300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3302 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3303 missing underflow exceptions.
3304 (fma_test_towardzero): Add more tests.
3305 (fma_test_downward): Likewise.
3306 (fma_test_upward): Likewise.
3307
2a27fd6d
JM
3308 [BZ #14047]
3309 * sysdeps/generic/tininess.h: New file.
3310 * sysdeps/i386/tininess.h: Likewise.
3311 * sysdeps/sh/tininess.h: Likewise.
3312 * sysdeps/x86_64/tininess.h: Likewise.
3313 * stdlib/tst-strtod-underflow.c: Likewise.
3314 * stdlib/tst-tininess.c: Likewise.
3315 * stdlib/strtod_l.c: Include <tininess.h>.
3316 (round_and_return): Do not set errno for exact underflow cases.
3317 Force an underflow exception when setting errno for underflow.
3318 Determine underflow based on rounding to normal precision if
3319 TININESS_AFTER_ROUNDING.
3320 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3321 ERANGE for exact underflow cases.
3322 * stdlib/Makefile (tests): Add tst-tininess and
3323 tst-strtod-underflow.
3324 ($(objpfx)tst-tininess): Use $(link-libm).
3325 ($(objpfx)tst-strtod-underflow): Likewise.
3326
e7170363
AJ
33272012-10-30 Andreas Jaeger <aj@suse.de>
3328
e5088dc6
AJ
3329 [BZ#14767]
3330 * elf/Makefile (tests): Remove conditional for have-initfini-array
3331 since this is now always required and the variable does not exist
3332 anymore.
3333 (tests-static): Likewise.
3334 (modules-names): Likewise.
3335
e7170363 3336 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3337
3338 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3339 merged with constructor/destructor.
3340 (init_array): Likewise.
3341 * elf/tst-array2dep.c (fini_array): Likewise.
3342 (init_array): Likewise.
3343
60457d8a
MF
33442012-10-29 Mike Frysinger <vapier@gentoo.org>
3345
3346 * manual/message.texi: Delete @cartouche tags.
3347
8bece752
PT
33482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3349
94ce799f
PT
3350 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3351 EOPNOTSUPP.
3352 * sysdeps/mach/hurd/fsync.c: Likewise.
3353
8bece752
PT
3354 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3355 [_POSIX_REALTIME_SIGNALS]: Change condition to
3356 [_POSIX_REALTIME_SIGNALS > 0].
3357
86ebe6b1
AJ
33582012-10-27 Andreas Jaeger <aj@suse.de>
3359
3360 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3361 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3363 [__WORDSIZE != 64]: Likewise.
3364
54399c08
L
33652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * iconvdata/tst-table.sh: Remove ${SHELL}.
3368 * iconvdata/tst-tables.sh: Likewise.
3369
e2211bed
DM
33702012-10-25 David S. Miller <davem@davemloft.net>
3371
3372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3373 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3374 of strtoull.
3375
f303f97c
DM
3376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3377 ifunc-impl-list.c
3378 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3379 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3380 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3381 file.
3382
1e9d84cd
RM
33832012-10-25 Roland McGrath <roland@hack.frob.com>
3384
3385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3386 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3387 __getdirentries.
3388
df381762
JM
33892012-10-25 Joseph Myers <joseph@codesourcery.com>
3390 Jim Blandy <jimb@codesourcery.com>
3391
3392 * scripts/cross-test-ssh.sh: New file.
3393 * manual/install.texi (Configuring and compiling): Document use of
3394 cross-test-ssh.sh.
3395 * INSTALL: Regenerated.
3396
bff64913
PT
33972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3398
3399 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3400 EOPNOTSUPP.
3401
25fe8932
JM
34022012-10-25 Joseph Myers <joseph@codesourcery.com>
3403
3404 * Makeconfig (run-program-prefix): Fix comment.
3405
cc1290d0
JM
34062012-10-24 Joseph Myers <joseph@codesourcery.com>
3407 Jim Blandy <jimb@codesourcery.com>
3408
3409 * Makeconfig (test-wrapper): New variable,
3410 (test-wrapper-env): Likewise.
3411 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3412 (run-built-tests): Define to yes.
3413 (run-program-prefix): Use $(test-wrapper).
3414 (built-program-cmd): Likewise.
3415 * Rules (make-test-out): Use $(test-wrapper-env) and
3416 $(host-built-program-cmd).
3417 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3418 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3419 tst-pathopt.sh.
3420 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3421 $(test-wrapper-env) to tst-rtld-load-self.sh.
3422 ($(objpfx)order2.out): Use $(test-wrapper).
3423 ($(objpfx)tst-initorder.out): Likewise.
3424 ($(objpfx)tst-initorder2.out): Likewise.
3425 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3426 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3427 (test_wrapper_env): New variable. Use it to run ld.so.
3428 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3429 Use it to run ld.so.
3430 (test_wrapper_env): Likewise.
3431 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3432 $(test-wrapper) to run-iconv-test.sh.
3433 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3434 (ICONV): Use $test_wrapper.
3435 * posix/Makefile ($(objpfx)globtest.out): Pass
3436 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3437 globtest.sh, not $(run-program-prefix).
3438 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3439 (test_wrapper): Likewise.
3440 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3441 set together with run_via_rtld_prefix.
3442 (run_program_prefix): Define in terms of test_wrapper and
3443 run_via_rtld_prefix.
3444
6e6249d0
RM
34452012-10-24 Roland McGrath <roland@hack.frob.com>
3446
3447 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3448 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3449 Targets removed.
3450
3451 [BZ #14743]
3452 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3453 Declare __clock_getres, __clock_gettime, __clock_settime,
3454 __clock_nanosleep, and __clock_getcpuclockid.
3455 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3456 Remove librt_hidden_def (clock_gettime).
3457 * sysdeps/unix/clock_gettime.c: Likewise.
3458 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3460 * rt/clock_getres.c: Define __clock_getres as an alias.
3461 * sysdeps/posix/clock_getres.c: Likewise.
3462 * rt/clock_settime.c: Define __clock_settime as an alias.
3463 * sysdeps/unix/clock_settime.c: Likewise.
3464 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3465 * sysdeps/unix/clock_nanosleep.c: Likewise.
3466 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3467 * rt/clock-compat.c: New file.
3468 * rt/Makefile (librt-routines): Add clock-compat and move
3469 $(clock-routines) to ...
3470 (routines): ... here, new variable.
3471 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3472 Don't add get_clockfreq here.
3473 * rt/Versions (libc: GLIBC_2.17): New version set.
3474 Add clock_* symbols here.
3475 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3477 (GLIBC_2.17): Add clock_* symbols.
3478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3484 Likewise.
3485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3489 * NEWS: Mention the move.
3490
3491 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3492 Use __open, __read, __close rather than their public counterparts.
3493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3494 (__get_clockfreq_via_cpuinfo): Likewise.
3495 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3496 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3497
3498 * config.h.in (HAVE_IFUNC): New #undef.
3499 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3500 was successful.
3501 * configure: Regenerated.
3502
0cae3f4b
MF
35032012-10-24 Mike Frysinger <vapier@gentoo.org>
3504
3505 * configure.in: Move READELF check to start of file.
3506 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3507 libc_cv_asm_gnu_indirect_function in the process.
3508 * configure: Regenerated.
3509
8175a253
MF
35102012-10-24 Mike Frysinger <vapier@gentoo.org>
3511
3512 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3513 send the output to /dev/null.
3514 (libc_cv_cc_with_libunwind): Likewise.
3515 (libc_cv_as_noexecstack): Likewise.
3516 * configure: Regenerate.
3517
0708a7d1
JM
35182012-10-24 Joseph Myers <joseph@codesourcery.com>
3519
10b40d85
JM
3520 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3521
0708a7d1
JM
3522 * posix/globtest.sh (TMPDIR): Do not set.
3523 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3524 (testout): Likewise.
3525
9fddec1a
AJ
35262012-10-24 Andreas Jaeger <aj@suse.de>
3527
3a8db22f
AJ
3528 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3529 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3530 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3531 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3532 posix_fadvise64, posix_fallocate64.
3533
9fddec1a
AJ
3534 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3535 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3536 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3537 Likewise.
3538 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3539 Likewise.
3540 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3541
3542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3543 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3544 <bits/fcntl-linux.h>.
3545 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3546
3547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3548 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3549 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3550 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3551 [__WORDSIZE != 64]: Likewise.
3552
ebfd1bbd
JM
35532012-10-23 Joseph Myers <joseph@codesourcery.com>
3554
03ac099f
JM
3555 * Makeconfig (run-built-tests): New variable.
3556 * Rules [$(cross-compiling) = yes]: Change condition to
3557 [$(run-built-tests) = no].
3558 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3559 to [$(run-built-tests) = yes].
3560 * elf/Makefile [$(cross-compiling) = no]: Likewise
3561 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3562 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3563 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3564 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3565 * io/Makefile [$(cross-compiling) = no]: Likewise.
3566 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3567 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3568 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3569 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3570 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3571 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3572 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3573 * string/Makefile [$(cross-compiling) = no]: Likewise.
3574
ebfd1bbd
JM
3575 * posix/Makefile ($(objpfx)globtest.out): Pass
3576 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3577 $(rtld-installed-name).
3578 * posix/globtest.sh (elf_objpfx): Remove variable.
3579 (rtld_installed_name): Likewise.
3580 (library_path): Likewise.
3581 (run_program_prefix): New variable. Use for running globtest
3582 binary.
3583
166bca24
JB
35842012-10-23 Jim Blandy <jimb@codesourcery.com>
3585 Joseph Myers <joseph@codesourcery.com>
3586
3587 * Makeconfig (host-built-program-cmd): New variable.
3588 * elf/Makefile (tst-stackguard1-ARGS): Use
3589 $(host-built-program-cmd).
3590 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3591 (tst-spawn-ARGS): Likewise.
3592 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3593
88866099
JM
35942012-10-23 Joseph Myers <joseph@codesourcery.com>
3595 Jim Blandy <jimb@codesourcery.com>
3596
3597 * Makeconfig (run-via-rtld-prefix): New variable.
3598 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3599 (built-program-cmd): Likewise.
3600
b4b4c296
AJ
36012012-10-22 Andreas Jaeger <aj@suse.de>
3602
3603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3604 __O_RSYNC if it exists, otherwise to O_SYNC.
3605
6fb54a22
JB
36062012-10-22 Jim Blandy <jimb@codesourcery.com>
3607 Joseph Myers <joseph@codesourcery.com>
3608
3609 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3610 /dev/null.
3611 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3612 from /dev/null
3613 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3614 /dev/null.
3615
481b90b9
AJ
36162012-10-22 Andreas Jaeger <aj@suse.de>
3617
2a0e2669
AJ
3618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3619 Define always.
3620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3621
76e38f9a
AJ
3622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3623 bits/fcntl-linux.h.
3624
7cd37b43
AJ
3625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3626 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3627
481b90b9
AJ
3628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3629 to __O_LARGEFILE.
3630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3631 to __O_LARGEFILE.
3632
aba75984
JB
36332012-10-21 Jim Blandy <jimb@codesourcery.com>
3634 Joseph Myers <joseph@codesourcery.com>
3635
3636 * config.make.in (NM): New variable.
3637
88d4247f
AJ
36382012-10-21 Andreas Jaeger <aj@suse.de>
3639
3640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3641 definitions and declarations that are provided by
3642 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3643
f2eed205
L
36442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3645
3646 [BZ #14683]
3647 * elf/Makefile (tests-static): Add tst-leaks1-static.
3648 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3649 ($(objpfx)tst-leaks1-static): New rule.
3650 ($(objpfx)tst-leaks1-static-mem): Likewise.
3651 (tst-leaks1-static-ENV): New macro.
3652 * elf/dl-open.c (dl_open_worker): Check the main application
3653 only if SHARED is defined.
3654 * elf/tst-leaks1-static.c: New file.
3655
335e6931
AJ
36562012-10-20 Andreas Jaeger <aj@suse.de>
3657
3658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3659 generic values for Linux.
3660 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3661 and declarations that are provided by <bits/fcntl-linux.h> and
3662 include <bits/fcntl-linux.h>.
3663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3665
ac5c94d3
RM
36662012-10-20 Roland McGrath <roland@hack.frob.com>
3667
3668 * io/fcntl.h: Move include of <bits/types.h> to the top and
3669 include it unconditionally.
3670
de54b33a
L
36712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3672
228cfb01
L
3673 * wcsmbs/Makefile (tests-ifunc): New variable.
3674 (tests): Add $(tests-ifunc).
3675 * wcsmbs/test-wcschr-ifunc.c: New file.
3676 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3677 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3678 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3679 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3680 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3681
69f07e5f
L
3682 * string/Makefile (tests-ifunc): New variable.
3683 (tests): Add $(tests-ifunc).
3684 * string/test-memccpy.c (TEST_NAME): New macro.
3685 * string/test-memchr.c (TEST_NAME): Likewise.
3686 * string/test-memcmp.c (TEST_NAME): Likewise.
3687 * string/test-memcpy.c (TEST_NAME): Likewise.
3688 * string/test-memmem.c (TEST_NAME): Likewise.
3689 * string/test-memmove.c (TEST_NAME): Likewise.
3690 * string/test-memset.c (TEST_NAME): Likewise.
3691 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3692 * string/test-stpcpy.c (TEST_NAME): Likewise.
3693 * string/test-stpncpy.c (TEST_NAME): Likewise.
3694 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3695 * string/test-strcasestr.c (TEST_NAME): Likewise.
3696 * string/test-strcat.c (TEST_NAME): Likewise.
3697 * string/test-strchr.c (TEST_NAME): Likewise.
3698 * string/test-strcmp.c(TEST_NAME): Likewise.
3699 * string/test-strcpy.c (TEST_NAME): Likewise.
3700 * string/test-strcspn.c (TEST_NAME): Likewise.
3701 * string/test-strlen.c (TEST_NAME): Likewise.
3702 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3703 * string/test-strncmp.c (TEST_NAME): Likewise.
3704 * string/test-strncpy.c (TEST_NAME): Likewise.
3705 * string/test-strnlen.c (TEST_NAME): Likewise.
3706 * string/test-strpbrk.c (TEST_NAME): Likewise.
3707 * string/test-strrchr.c (TEST_NAME): Likewise.
3708 * string/test-strspn.c (TEST_NAME): Likewise.
3709 * string/test-strstr.c (TEST_NAME): Likewise.
3710 * string/test-bcopy-ifunc.c: New file.
3711 * string/test-bzero-ifunc.c: Likewise.
3712 * string/test-memccpy-ifunc.c: Likewise.
3713 * string/test-memchr-ifunc.c: Likewise.
3714 * string/test-memcmp-ifunc.c: Likewise.
3715 * string/test-memcpy-ifunc.c: Likewise.
3716 * string/test-memmem-ifunc.c: Likewise.
3717 * string/test-memmove-ifunc.c: Likewise.
3718 * string/test-mempcpy-ifunc.c: Likewise.
3719 * string/test-memset-ifunc.c: Likewise.
3720 * string/test-rawmemchr-ifunc.c: Likewise.
3721 * string/test-stpcpy-ifunc.c: Likewise.
3722 * string/test-stpncpy-ifunc.c: Likewise.
3723 * string/test-strcasecmp-ifunc.c: Likewise.
3724 * string/test-strcasestr-ifunc.c: Likewise.
3725 * string/test-strcat-ifunc.c: Likewise.
3726 * string/test-strchr-ifunc.c: Likewise.
3727 * string/test-strchrnul-ifunc.c: Likewise.
3728 * string/test-strcmp-ifunc.c: Likewise.
3729 * string/test-strcpy-ifunc.c: Likewise.
3730 * string/test-strcspn-ifunc.c: Likewise.
3731 * string/test-strlen-ifunc.c: Likewise.
3732 * string/test-strncasecmp-ifunc.c: Likewise.
3733 * string/test-strncat-ifunc.c: Likewise.
3734 * string/test-strncmp-ifunc.c: Likewise.
3735 * string/test-strncpy-ifunc.c: Likewise.
3736 * string/test-strnlen-ifunc.c: Likewise.
3737 * string/test-strpbrk-ifunc.c: Likewise.
3738 * string/test-strrchr-ifunc.c: Likewise.
3739 * string/test-strspn-ifunc.c: Likewise.
3740 * string/test-strstr-ifunc.c: Likewise.
3741
de54b33a
L
3742 * debug/Makefile (tests-ifunc): New variable.
3743 (tests): Add $(tests-ifunc).
3744 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3745 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3746 * debug/test-stpcpy_chk-ifunc.c: New file.
3747 * debug/test-strcpy_chk-ifunc.c: Likewise.
3748
88481c16
SP
37492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3750
3751 [BZ #13601]
3752 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3753 header is not read in.
3754
135948bd
JM
37552012-10-19 Joseph Myers <joseph@codesourcery.com>
3756
89f1c388
JM
3757 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3758 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3759 directly. Pass built executable to script as
3760 $(built-program-cmd).
3761 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3762 $testprogram without using LD_LIBRARY_PATH and $ldso.
3763
e40a0d21
JM
3764 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3765 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3766 $(rtld-installed-name).
3767 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3768 (rtld_installed_name): Likewise.
3769 (library_path): Likewise.
3770 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3771 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3772 $(run-program-prefix) to tst-tables.sh.
3773 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3774 it to run tst-table-from and tst-table-to.
3775 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3776 Pass it to tst-table.sh.
3777 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3778 $(run-program-prefix) to tst-gettext.sh.
3779 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3780 tst-translit.sh.
3781 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3782 tst-gettext2.sh.
3783 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3784 to run tst-gettext.
3785 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3786 to run tst-gettext2.
3787 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3788 to run tst-translit.
3789 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3790 $(run-program-prefix) to tst-mtrace.sh.
3791 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3792 to run tst-mtrace.
3793 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3794 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3795 $(rtld-installed-name).
3796 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3797 (rtld_installed_name): Likewise.
3798 (run_program_prefix): New variable. Use it to run wordexp-test.
3799
728e272a
JM
3800 * Makeconfig (ARCH): Remove all definitions.
3801 (machine): Likewise.
3802 [ARCH]: Remove conditional code.
3803 [!objdir]: Give error.
3804 [!objdir] (objpfx): Remove.
3805 [!objdir] (common-objpfx): Likewise.
3806 [!objdir] (common-objdir): Likewise.
3807 * configure.in (config_makefile): Remove. Hardcode Makefile in
3808 AC_CONFIG_FILES call.
3809 * configure: Regenerated.
3810
d528cdcf
JM
3811 [BZ #13888]
3812 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3813 or TMPDIR.
3814 (testout): Likewise.
3815
135948bd
JM
3816 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3817 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3818 $(rtld-installed-name).
3819 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3820 (rtld_installed_name): Likwise.
3821 (runit): Remove function.
3822 (run_getconf): New variable, Use it for running getconf binary.
3823
38c78296
L
38242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3825
3826 [BZ #14716]
3827 * string/test-memmem.c (check_result): New function.
3828 (do_one_test): Use it.
3829 (check1): New function.
3830 (test_main): Use it.
3831
d077f65f
MT
38322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3833
3834 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3835
ced52c71
JM
38362012-10-18 Joseph Myers <joseph@codesourcery.com>
3837
3838 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3839 (_G_LSEEK64): Likewise.
3840 (_G_MMAP64): Likewise.
3841 (_G_FSTAT64): Likewise.
3842 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3843 (_G_LSEEK64): Likewise.
3844 (_G_MMAP64): Likewise.
3845 (_G_FSTAT64): Likewise.
3846 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3847 unconditional. Call __mmap64 directly.
3848 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3849 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3850 __lseek64 directly.
3851 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3852 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3853 __mmap64 directly.
3854 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3855 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3856 __lseek64 directly.
3857 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3858 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3859 __lseek64 directly.
3860 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3861 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3862 __lseek64 directly.
3863 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3864 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3865 __fxstat64 directly.
3866 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3867 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3868 unconditional.
3869 (freopen64) [!_G_OPEN64]: Remove conditional code.
3870 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3871 unconditional.
3872 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3873 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3874 unconditional.
3875 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3876 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3877 unconditional.
3878 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3879 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3880 unconditional.
3881 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3882 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3883 unconditional.
3884 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3885 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3886 unconditional.
3887 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3888 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3889 unconditional.
3890 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3891
b741de23
SP
38922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 [BZ #12140]
3895 * manual/memory.texi (Malloc Tunable Parameters): Add note
3896 about free list pointers overwriting some perturb bytes.
3897 Wording suggested by Roland McGrath.
3898
f9b9d9c9
JM
38992012-10-17 Joseph Myers <joseph@codesourcery.com>
3900
3901 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3902 (lgamma_test): Likewise.
3903 (tgamma_test): Likewise.
3904
172a631a
FW
39052012-10-16 Florian Weimer <fweimer@redhat.com>
3906
3907 [BZ #14700]
3908 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3909 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3910
e9f37252
MK
39112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3912
3913 * NEWS: Mention BZ #14716.
3914 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3915 when removing AVAILABLE1_USES_J macro.
3916
d394eb74
L
39172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3918
3919 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3920 (__bswap_64): __uint64_t for unsigned 64-bit int.
3921
ca38dc17
AS
39222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3923
3924 * include/string.h (memmem): Declare libc hidden alias.
3925 * string/memmem.c (memmem): Define libc hidden alias.
3926 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3927 __read, __close instead of open, read, close.
3928
9a387d1f
L
39292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3930
ac49ecaf
L
3931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3932 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3933 global and hidden.
3934 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3935 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3936 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3937 Likewise.
3938 (__rawmemchr_sse2): Likewise.
3939 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3940 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3941 (__strchr_sse2): Likewise.
3942 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3943 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3944 (__strcasecmp_sse2): Likewise.
3945 (__strncasecmp_sse2): Likewise.
3946 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3947 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3948 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3949 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3950 (__strrchr_sse2): Likewise.
3951 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3952 ifunc-impl-list.c.
3953 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3954 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3955 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3956 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3957 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3958 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3959 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3960 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3961 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3962 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3963 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3965 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3966 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3967 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3968 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3969 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3970 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3971 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3972 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3973 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3974 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3975 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3976 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3977 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3978 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3979 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3980 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3981 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3982 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3983
b090e8ea
L
3984 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3985 global and hidden.
3986 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3987 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3988 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3989 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3990 Likewise.
3991 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3992 Likewise.
3993 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3994 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3995 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3996 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3997 ifunc-impl-list.c.
3998 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4001 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4011 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4013 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4014 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4015 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4016 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4017 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4018 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4019 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4023 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4025 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4026 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4028 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4032 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4039
11dd4af6
L
4040 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4041 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4042 * include/ifunc-impl-list.h: New file.
4043 * misc/ifunc-impl-list.c: Likewise.
4044 * misc/Makefile (routines): Add ifunc-impl-list.
4045 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4046 * string/test-string.h: Include <ifunc-impl-list.h>.
4047 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4048 impl_array): New variables.
4049 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4050 are defined.
4051 (test_init): Call __libc_ifunc_impl_list to initialize
4052 func_list if TEST_IFUNC and TEST_NAME are defined.
4053
9a387d1f
L
4054 * string/Makefile (strop-tests): Add bcopy and bzero.
4055 * string/test-bcopy.c: New file.
4056 * string/test-bzero.c: Likewise.
4057 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4058 defined.
4059 * string/test-memset.c: Support bzero test if TEST_BZERO is
4060 defined.
4061 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4062 __libc_memmove.
4063 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4064 __libc_memset.
4065 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4066 of memset.
4067
472371b9
JM
40682012-10-10 Joseph Myers <joseph@codesourcery.com>
4069
1e4a9536
JM
4070 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4071 * configure: Regenerated.
4072
d173d12e
JM
4073 * Makeconfig (+link-static-before-libc): Don't include
4074 $(link-static-libc).
4075
472371b9
JM
4076 * libio/libio.h (_IO_pos_t): Remove.
4077
89a3ad0b
AO
40782012-10-10 Alexandre Oliva <aoliva@redhat.com>
4079
4080 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4081 McGrath.
4082
e7451425
AO
40832012-10-10 Alexandre Oliva <aoliva@redhat.com>
4084
4085 * crypt/crypt-entry.c: Include fips-private.h.
4086 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4087 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4088 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4089 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4090
4ba74a35
AO
40912012-10-10 Alexandre Oliva <aoliva@redhat.com>
4092
4093 * crypt/crypt-private.h: Include stdbool.h.
4094 (_ufc_setup_salt_r): Return bool.
4095 * crypt/crypt-entry.c: Include errno.h.
4096 (__crypt_r): Return NULL with EINVAL for bad salt.
4097 * crypt/crypt_util.c (bad_for_salt): New.
4098 (_ufc_setup_salt_r): Check that salt is long enough and within
4099 the specified alphabet.
4100 * crypt/badsalttest.c: New file.
4101 * crypt/Makefile (tests): Add it.
4102 ($(objpfx)badsalttest): New.
4103
f96f1242
MK
41042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4105
4106 * NEWS: Add entry for BZ #14602.
4107
0e8e0c1c
JM
41082012-10-09 Joseph Myers <joseph@codesourcery.com>
4109
4110 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4111 type-generic.
4112 * math/libm-test.inc: Update comment listing what functions and
4113 macros are tested.
4114 (isgreater_test): New function.
4115 (isgreaterequal_test): Likewise.
4116 (isless_test): Likewise.
4117 (islessequal_test): Likewise.
4118 (islessgreater_test): Likewise.
4119 (isunordered_test): Likewise.
4120 (main): Call the new functions.
4121
273edc5e
RM
41222012-10-09 Roland McGrath <roland@hack.frob.com>
4123
b8493de0
RM
4124 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4125 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4126 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4127 * sysdeps/i386/configure: Regenerated.
4128 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4129 * sysdeps/mach/configure: Regenerated.
4130 * sysdeps/mach/hurd/configure: Regenerated.
4131 * sysdeps/powerpc/configure: Regenerated.
4132 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4133 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4134 * sysdeps/s390/s390-32/configure: Regenerated.
4135 * sysdeps/s390/s390-64/configure: Regenerated.
4136 * sysdeps/sh/configure: Regenerated.
4137 * sysdeps/sparc/configure: Regenerated.
4138 * sysdeps/unix/sysv/linux/configure: Regenerated.
4139 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4140 * sysdeps/x86_64/configure: Regenerated.
4141
273edc5e
RM
4142 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4143 defined. Don't check if MAP is NULL.
4144
c8450f70
JM
41452012-10-09 Joseph Myers <joseph@codesourcery.com>
4146
4147 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4148 (_G_stat64): Likewise.
4149 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4150 (_G_stat64): Likewise.
4151 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4152 instead of struct _G_stat64.
4153 * libio/fileops.c (mmap_remap_check): Likewise.
4154 (decide_maybe_mmap): Likewise.
4155 (_IO_new_file_seekoff): Likewise.
4156 (_IO_file_stat): Likewise.
4157 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4158 _G_off64_t.
4159 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4160 instead of struct _G_stat64.
4161 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4162
57e605ba
MK
41632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4164
4165 [BZ #14602]
4166 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4167 Replace with ...
4168 (CHECK_EOL): New macro.
4169 (two_way_short_needle): Check beginning of haystack for EOL. Use
4170 CHECK_EOL.
4171 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4172 Replace with CHECK_EOL.
4173 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4174 Replace with CHECK_EOL.
4175
ef1bb361
JM
41762012-10-08 Joseph Myers <joseph@codesourcery.com>
4177
4178 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4179 type-generic.
4180 * math/libm-test.inc: Update comment listing what functions and
4181 macros are tested.
4182 (finite_test): New function.
4183 (isinf_test): Likewise.
4184 (isnan_test): Likewise.
4185 (fpclassify_test): Test subnormal input.
4186 (isfinite_test): Likewise.
4187 (isnormal_test): Likewise.
4188 (main): Call the new functions.
4189
55f11534
JN
41902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4191
4192 [BZ #14660]
4193 * Makerules (%.dynsym): Force C locale when running
4194 $(OBJDUMP) --dynamic-syms.
4195
1ab29350
AS
41962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4199 <stdint.h>.
4200
f1ecb7ef
DM
42012012-10-06 David S. Miller <davem@davemloft.net>
4202
4203 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4204 upper 32-bits of the length value in %o2 since we use branch-on-register
4205 tests which consider the entire 64-bit register.
4206
5d41d91a
L
42072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4208
4209 * string/test-strstr.c (check2): Add a test for page boundary.
4210
3baddb72
DM
42112012-10-05 David S. Miller <davem@davemloft.net>
4212
4213 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4214 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4215 file.
4216 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4217 sysdep_routines.
4218 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4219 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4220 and bzero when HWCAP_SPARC_CRYPTO is present.
4221
9cee5585
L
42222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4223
d7e0dab9
L
4224 [BZ #14602]
4225 * string/test-strstr.c (check2): New function.
4226 (test_main): Call check2.
4227
03759f47
L
4228 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4229 and bug-strchr1.
4230 * string/bug-strcasestr1.c (do_test): Moved to ...
4231 * string/test-strcasestr.c (check1): Here. New function.
4232 (do_one_test): Break out result checking code into ...
4233 (check_result): This. New function.
4234 (do_one_test): Call check_result.
4235 (test_main): Call check1.
4236 * string/bug-strchr1.c (do_test): Moved to ...
4237 * string/test-strchr.c (check1): Here. New function.
4238 (do_one_test): Break out result checking code into ...
4239 (check_result): This. New function.
4240 (do_one_test): Call check_result.
4241 (test_main): Call check1.
4242 * string/bug-strstr1.c (main): Moved to ...
4243 * string/test-strchr.c (check1): Here. New function.
4244 (do_one_test): Break out result checking code into ...
4245 (check_result): This. New function.
4246 (do_one_test): Call check_result.
4247 (test_main): Call check1.
4248 * string/bug-strcasestr1.c: Removed.
4249 * string/bug-strchr1.c: Likewise.
4250 * string/bug-strstr1.c: Likewise.
4251
53cea63e
L
4252 * elf/Makefile (dl-routines): Add hwcaps.
4253 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4254 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4255 (_dl_important_hwcaps): Moved to ...
4256 * elf/dl-hwcaps.c: Here. New file.
4257 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4258
9cee5585 4259 [BZ #14557]
bb859b06
L
4260 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4261 if IS_IN_rtld isn't defined.
4262
9cee5585
L
4263 * elf/dl-support.c (_dl_sysinfo_map): New.
4264 Include "get-dynamic-info.h" and "setup-vdso.h".
4265 (_dl_non_dynamic_init): Call setup_vdso.
4266 * elf/dynamic-link.h: Don't include <assert.h>.
4267 (elf_get_dynamic_info): Moved to ...
4268 * elf/get-dynamic-info.h: Here. New file.
4269 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4270 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4271 * elf/setup-vdso.h: Here. New file.
4272 * elf/rtld.c: Include "setup-vdso.h".
4273 (dl_main): Call setup_vdso.
4274
23c31b76
JM
42752012-10-05 Joseph Myers <joseph@codesourcery.com>
4276
28234b07
JM
4277 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4278 creal in comment listing functions tested. List finite, isinf,
4279 isnan, isless, islessequal, isgreater, isgreaterequal,
4280 islessgreater, isunordered, lgamma_r and pow10 as functions and
4281 macros not tested. Mention which functions not tested are aliases
4282 for other functions. Fix typo. Note that signs of NaNs are not
4283 tested.
4284
23c31b76
JM
4285 * scripts/config.guess: Update from config.git.
4286 * scripts/config.sub: Likewise.
4287
9043e228
RM
42882012-10-04 Roland McGrath <roland@hack.frob.com>
4289
4290 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4291 * misc/madvise.c (madvise): Renamed to __madvise.
4292 Make madvise a weak alias.
4293 * include/sys/mman.h: Declare __madvise.
4294 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4295 * sysdeps/unix/syscalls.list
4296 (madvise): Make __madvise the strong name, and madvise a weak alias.
4297 * sysdeps/unix/sysv/linux/syscalls.list
4298 (madvise, mmap): Remove redundant entries.
4299 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4300 * malloc/malloc.c (mtrim): Likewise.
4301 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4302
f57f8055
RM
43032012-10-03 Roland McGrath <roland@hack.frob.com>
4304
4305 * sysdeps/mach/hurd/dl-cache.c: File removed.
4306 * config.h.in (USE_LDCONFIG): New #undef.
4307 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4308 * configure: Regenerated.
4309 * elf/Makefile (dl-routines): Add dl-cache only under
4310 [$(use-ldconfig) = yes].
4311 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4312 cache on [USE_LDCONFIG].
4313 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4314 [USE_LDCONFIG].
4315 * elf/rtld.c (dl_main): Likewise.
4316
5bb0c10a
PT
43172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4318
4319 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4320 _SC_LEVEL4_CACHE_LINESIZE.
4321
010188c6
RM
43222012-10-03 Roland McGrath <roland@hack.frob.com>
4323
4324 * sysdeps/unix/bsd/confstr.h: File removed.
4325
b6c5ec07
AO
43262012-10-02 Alexandre Oliva <aoliva@redhat.com>
4327
4328 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4329 sys/sdt-config.h.
4330
408223d4
RM
43312012-10-02 Roland McGrath <roland@hack.frob.com>
4332
4333 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4334 Make 'mapoff' field ElfW(Off) rather than off_t.
4335
bb9510dc
DL
43362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4337
fc997c6e
DL
4338 * nscd/Makefile: Remove nscd-cflags and all its users.
4339 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4340 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4341
bb9510dc
DL
4342 [BZ #10631]
4343 * malloc.c (malloc_printerr): Clarify error message.
4344
05699367
L
43452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4346
4347 [BZ #14648]
4348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4349 Set bit_FMA_Usable if FMA is supported.
4350 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4351 macro.
4352 (bit_FMA4_Usable): Updated.
4353 (index_FMA_Usable): New macro.
4354 (CPUID_FMA): Likewise
4355 (HAS_FMA): Defined with bit_FMA_Usable.
4356
51367701
RM
43572012-10-01 Roland McGrath <roland@hack.frob.com>
4358
4359 * bits/types.h (__swblk_t): Type removed.
4360 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4361 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4363 (__SWBLK_T_TYPE): Likewise.
4364 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4365 (__SWBLK_T_TYPE): Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4367 (__SWBLK_T_TYPE): Likewise.
4368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4369 (__SWBLK_T_TYPE): Likewise.
4370
4d57bf63 43712012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4372 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4373
4374 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4375 (xdr_mapname): Use YPMAXMAP as maxsize.
4376 (xdr_peername): Use YPMAXPEER as maxsize.
4377 (xdr_keydat): Use YPAXRECORD as maxsize.
4378 (xdr_valdat): Use YPMAXRECORD as maxsize.
4379
93c65d43
RM
43802012-10-01 Roland McGrath <roland@hack.frob.com>
4381
497a03d6
RM
4382 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4383
93c65d43
RM
4384 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4385 * csu/init-first.c: ... here.
4386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4387 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4390 * sysdeps/i386/init-first.c: File removed.
4391 * sysdeps/sh/init-first.c: File removed.
4392
bec749fd
JM
43932012-10-01 Joseph Myers <joseph@codesourcery.com>
4394
4395 [BZ #14645]
4396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4397 if x * y might underflow to zero and z is zero.
4398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4400 * math/libm-test.inc (min_subnorm_value): New variable.
4401 (fma_test): Add more tests.
4402 (fma_test_towardzero): Likewise.
4403 (fma_test_downward): Likewise
4404 (fma_test_upward): Likewise.
4405 (initialize): Set min_subnorm_value.
4406
8ec5b013
JM
44072012-09-29 Joseph Myers <joseph@codesourcery.com>
4408
4409 [BZ #14638]
4410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4411 0 + 0.
4412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4413 mode for addition resulting in exact zero.
4414 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4416 exact 0 + 0.
4417 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4419 * math/libm-test.inc (fma_test): Add more tests.
4420 (fma_test_towardzero): New function.
4421 (fma_test_downward): Likewise.
4422 (fma_test_upward): Likewise.
4423 (main): Call the new functions.
4424
b1fa802e
DM
44252012-09-28 David S. Miller <davem@davemloft.net>
4426
4427 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4428
d3b9fd9e
RM
44292012-09-28 Roland McGrath <roland@hack.frob.com>
4430
ea4d37b3
RM
4431 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4432 instead of SIGALRM.
4433
ac51c949
RM
4434 * sysdeps/gnu/_G_config.h: Moved to ...
4435 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4436 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4437 * sysdeps/generic/_G_config.h: ... here.
4438
28c195f7
RM
4439 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4440
848917f9
RM
4441 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4442
6bacf05b
RM
4443 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4444 Conditionalize target on [libnss_test1.so-version].
4445
91363dbb
RM
4446 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4447
cc87f7d8
RM
4448 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4449 (elfobjdir): Move out of conditionals.
4450
b1c608fe
RM
4451 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4452 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4453 (__nss_lookup_function): Conditionalize label remove_from_tree on
4454 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4455
1d9a6d96
DM
44562012-09-28 David S. Miller <davem@davemloft.net>
4457
4458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4459 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4460 file.
4461 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4462 sysdep_routines.
4463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4465 when HWCAP_SPARC_CRYPTO is present.
4466
72581615
PT
44672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4468
4469 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4470
715a900c
JL
44712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4472
4473 [BZ #6530]
4474 * stdio-common/vfprintf.c (process_string_arg): Revert
4475 2000-07-22 change.
4476
44772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4478
4479 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4480 for testcase.
4481 * stdio-common/tst-sprintf.c: Include <locale.h>
4482 (main): Test sprintf's handling of incomplete multibyte
4483 characters.
4484
9bac1d86
L
44852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4486
4487 * elf/dl-runtime.c (VERSYMIDX): Removed.
4488 * elf/dl-version.c (VERSYMIDX): Likewise.
4489 * elf/do-rel.h (VERSYMIDX): Likewise.
4490 (VALIDX): Likewise.
4491 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4492 * elf/rtld.c (VALIDX): Likewise.
4493 (ADDRIDX): Likewise.
9bac1d86
L
4494 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4495 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4496 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4497 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4498 (VALIDX): Likewise.
4499 (ADDRIDX): Likewise.
9bac1d86 4500
b31606c0
PT
45012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4502
4503 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4504
11541177
JL
45052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4506
4507 [BZ #11438]
4508 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4509 to global scope.
4510 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4511 addresses are in the same scope as 192.0.2/24.
4512 * posix/gai.conf: Document new scope table defaults.
4513
adb26fae
SP
45142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4515
4516 [BZ #5298]
4517 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4518 for ftell. Compute offsets from write pointers instead.
4519 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4520
4573c6b0
SP
45212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4522
4523 [BZ #14543]
4524 * libio/Makefile (tests): New test case tst-fseek.
4525 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4526 combination works in wide mode.
4527 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4528 state when the external buffer state changes.
4529
aa9bbfe6
DM
45302012-09-27 David S. Miller <davem@davemloft.net>
4531
4532 [BZ #14376]
4533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4534 pass reloc->r_addend in as the 'high' argument to
4535 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4536
784421e7
DM
4537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4538
c39bc8b8
PT
45392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4540
4541 * rt/tst-aio2.c: Include <pthread.h>.
4542 * rt/tst-aio3.c: Likewise.
4543
1ccc2399
SE
45442012-09-27 Steve Ellcey <sellcey@mips.com>
4545
4546 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4547
31ed4153
L
45482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4549
25f5f885
L
4550 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4551 contents on [SHARED].
31ed4153 4552
b7bfe116
MP
45532012-09-26 Marek Polacek <polacek@redhat.com>
4554
4555 [BZ #14530]
4556 [BZ #13741]
4557 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4558 for C++ and GCC <4.3 as well as for non GCC compilers.
4559
43c4edba
MT
45602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4561
4562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4563
6a1bf82f
RM
45642012-09-25 Roland McGrath <roland@hack.frob.com>
4565
4566 * Makefile.in (all, install): Declare with .PHONY.
4567 Reported by Michael Hope <michael.hope@linaro.org>.
4568
8ad11b9a
TMQMF
45692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4570
4571 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4572 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4573 system header.
4574 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4575 Likewise.
4576 (sydep_routines): Add the new and the internal functions.
4577 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4578 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4580 (GLIBC_2.17): Add the new function.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4582 (GLIBC_2.17): Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4584 (GLIBC_2.17): Likewise.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4586 (GLIBC_2.17): Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4588
7e2fca8d
AM
45892012-09-25 Alan Modra <amodra@gmail.com>
4590
4591 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4592 Add release barrier before setting once_control to say
4593 initialisation is done. Add hints on lwarx. Use macro in
4594 place of isync.
4595 (clear_once_control): Add release barrier.
4596
b87c4b24
JM
45972012-09-25 Joseph Myers <joseph@codesourcery.com>
4598
d032e0d2
JM
4599 [BZ #13629]
4600 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4601 specially.
4602 * math/s_clog10.c (__clog10): Likewise.
4603 * math/s_clog10f.c (__clog10f): Likewise.
4604 * math/s_clog10l.c (__clog10l): Likewise.
4605 * math/s_clogf.c (__clogf): Likewise.
4606 * math/s_clogl.c (__clogl): Likewise.
4607 * math/Makefile (libm-calls): Add x2y2m1.
4608 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4609 (__x2y2m1): Likewise.
4610 (__x2y2m1l): Likewise.
4611 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4612 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4613 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4615 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4616 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4617 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4618 * sysdeps/i386/fpu/libm-test-ulps: Update.
4619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4620
b87c4b24
JM
4621 [BZ #14621]
4622 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4623 int as type of variable DEPTH.
4624 (glob): Use size_t instead of int as type of variables NEWCOUNT
4625 and OLD_PATHC.
4626
6d3bf199
LD
46272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4628
22bf5c17
LD
4629 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4630 Add s_sincosf-sse2.
4631 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4632 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4633 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4634 macros for using routine as __sincosf_ia32.
4635 Use macro for function declaration and weak_alias.
4636 * sysdeps/i386/fpu/libm-test-ulps: Update.
4637
4638 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4640
4641 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4642 subnormal argument.
4643 * math/s_cexpf.c (__cexpf): Likewise.
4644 * math/s_csinf.c (__csinf): Likewise.
4645 * math/s_csinhf.c (__csinhf): Likewise.
4646 * math/s_ctanf.c (__ctanf): Likewise.
4647 * math/s_ctanhf.c (__ctanhf): Likewise.
4648 * math/s_ccosh.c (__ccoshf): Likewise.
4649 * math/s_cexp.c (__cexpl): Likewise.
4650 * math/s_csin.c (__csin): Likewise.
4651 * math/s_csinh.c (__csinh): Likewise.
4652 * math/s_ctan.c (__ctan): Likewise.
4653 * math/s_ctanh.c (ctanh): Likewise.
4654 * math/s_ccoshl.c (__ccoshl): Likewise.
4655 * math/s_cexpl.c (__cexpl): Likewise.
4656 * math/s_csinl.c (__csinl): Likewise.
4657 * math/s_csinhl.c (__csinhl): Likewise.
4658 * math/s_ctanl.c (__ctanl): Likewise.
4659 * math/s_ctanhl.c (__ctanhl): Likewise.
4660
203e5603
JM
46612012-09-25 Joseph Myers <joseph@codesourcery.com>
4662
4663 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4664 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4665 (_IO_off_t): Define to __off_t, not _G_off_t.
4666 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4667 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4668 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4669 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4670 type of __dummy and __dummy2 fields.
4671 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4672 (_G_ssize_t): Likewise.
4673 (_G_off_t): Likewise.
4674 (_G_pid_t): Likewise.
4675 (_G_uid_t): Likewise.
4676 (_G_wchar_t): Likewise.
4677 (_G_wint_t): Likewise.
4678 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4679 (_G_ssize_t): Likewise.
4680 (_G_off_t): Likewise.
4681 (_G_pid_t): Likewise.
4682 (_G_uid_t): Likewise.
4683 (_G_wchar_t): Likewise.
4684 (_G_wint_t): Likewise.
4685 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4686 (_G_ssize_t): Likewise.
4687 (_G_off_t): Likewise.
4688 (_G_pid_t): Likewise.
4689 (_G_uid_t): Likewise.
4690 (_G_wchar_t): Likewise.
4691 (_G_wint_t): Likewise.
4692
9fab36eb
SP
46932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4694
4695 * malloc/arena.c: Include malloc-sysdep.h.
4696 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4697 is sufficient to shrink the heap or an unmap is needed.
4698 * sysdeps/generic/malloc-sysdep.h: New file. Define
4699 new function check_may_shrink_heap.
4700 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4701 new function check_may_shrink_heap.
4702
2b4f00d1
SP
47032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
4705 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4706 comments.
4707
9a9028b1
DL
47082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4709
57c69bef
DL
4710 * catgets/test-gencat.sh: Add "set -e".
4711 * elf/tst-pathopt.sh: Likewise.
4712 * grp/tst_fgetgrent.sh: Likewise.
4713 * iconvdata/run-iconv-test.sh: Likewise.
4714 * intl/tst-gettext.sh: Likewise.
4715 * intl/tst-gettext2.sh: Likewise.
4716 * intl/tst-gettext4.sh: Likewise.
4717 * intl/tst-gettext6.sh: Likewise.
4718 * intl/tst-translit.sh: Likewise.
4719 * io/ftwtest-sh: Likewise.
4720 * libio/test-freopen.sh: Likewise.
4721 * malloc/tst-mtrace.sh: Likewise.
4722 * posix/globtest.sh: Likewise.
4723 * posix/tst-getconf.sh: Likewise.
4724 * posix/wordexp-tst.sh: Likewise.
4725 * stdio-common/tst-printf.sh: Likewise.
4726 * stdio-common/tst-unbputc.sh: Likewise.
4727 * stdlib/tst-fmtmsg.sh: Likewise.
4728 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4729 * catgets/Makefile: Do not specify -e option when running
4730 testsuite shell scripts.
4731 * elf/Makefile: Likewise.
4732 * grp/Makefile: Likewise.
4733 * iconvdata/Makefile: Likewise.
4734 * intl/Makefile: Likewise.
4735 * io/Makefile: Likewise.
4736 * libio/Makefile: Likewise.
4737 * malloc/Makefile: Likewise.
4738 * posix/Makefile: Likewise.
4739 * stdio-common/Makefile: Likewise.
4740 * stdlib/Makefile: Likewise.
4741 * sysdeps/x86_64/Makefile: Likewise.
4742
9a9028b1
DL
4743 * io/ftwtest-sh: Add copyright header.
4744 * posix/globtest.sh: Likewise.
4745 * posix/tst-getconf.sh: Likewise.
4746 * posix/wordexp-tst.sh: Likewise.
4747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4748
ced6f16e
L
47492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4750
94b32c39
L
4751 [BZ #13679]
4752 * Makeconfig (+link): Defined as $(+link-static) if
4753 $(build-shared) isn't yes.
4754 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4755 isn't yes.
4756 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4757
189e935b
L
4758 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4759
ced6f16e
L
4760 [BZ #14562]
4761 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4762 new chunk size with MALLOC_ALIGN_MASK.
4763
a9f8e53a
JM
47642012-09-24 Joseph Myers <joseph@codesourcery.com>
4765
4766 [BZ #5044]
4767 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4768 <rounding-mode.h>.
4769 (__printf_fphex): Determine rounding using get_rounding_mode and
4770 round_away.
4771 * stdio-common/tst-printf-round.c (struct hex_test): New
4772 structure.
4773 (hex_tests): New variable.
4774 (test_hex_in_one_mode): New function.
4775 (do_test): Also run tests for hex float output.
4776
43153109
JM
47772012-09-21 Joseph Myers <joseph@codesourcery.com>
4778
4779 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4780 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4781 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4782 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4783 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4784 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4785 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4786 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4787
8a26625d
JM
47882012-09-20 Joseph Myers <joseph@codesourcery.com>
4789
4790 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4791 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4792 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4793 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4794
f3fd569c
DL
47952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4796
4797 [BZ #14579]
4798 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4799 mode only.
4800 * elf/tst-rtld-load-self.sh: New test.
4801 * elf/Makefile: Run it.
4802
63bbedd4
JM
48032012-09-18 Joseph Myers <joseph@codesourcery.com>
4804
4805 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4806 (tst-writev-ENV): Remove.
4807 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4808
626f8b6a
CM
48092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4810
4811 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4812
b7aaa4d6
JM
48132012-09-17 Joseph Myers <joseph@codesourcery.com>
4814
4815 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4816 unconditional.
4817 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4818 Likewise.
4819 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4820 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4821 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4822 Likewise.
4823
65513990
L
48242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4825
4826 [BZ #14587]
4827 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4828 * config.make.in (have-cpp-asm-debuginfo): Removed.
4829 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4830 * configure: Regenerated.
4831
784761be
JM
48322012-09-14 Joseph Myers <joseph@codesourcery.com>
4833
4834 [BZ #5044]
4835 * stdio-common/printf_fp.c: Include <stdbool.h> and
4836 <rounding-mode.h>.
4837 (___printf_fp): Determine rounding using get_rounding_mode and
4838 round_away.
4839 * stdio-common/tst-printf-round.c: New file.
4840 * stdio-common/Makefile (tests): Add tst-printf-round.
4841 (link-libm): New variable.
4842 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4843
9503345f
L
48442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4845
4846 [BZ #14576]
4847 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4848 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4849 Likewise.
4850 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4851 Likewise.
4852
ad35fc00
JM
48532012-09-13 Joseph Myers <joseph@codesourcery.com>
4854
4855 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4856 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4857 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4859
6c9b0f68
JM
48602012-09-12 Joseph Myers <joseph@codesourcery.com>
4861
4862 [BZ #14518]
4863 * include/rounding-mode.h: New file.
4864 * sysdeps/generic/get-rounding-mode.h: Likewise.
4865 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4866 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4867 (MAX_VALUE): New macro.
4868 (MIN_VALUE): Likewise.
4869 (overflow_value): New function.
4870 (underflow_value): Likewise.
4871 (round_and_return): Use overflow_value and underflow_value to
4872 determine return values in overflow and underflow cases. Use
4873 round_away to determine rounding depending on rounding mode.
4874 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4875 determine return values in overflow and underflow cases.
4876 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4877 (struct test_results): New structure.
4878 (struct test): Use struct test_results to store expected results
4879 for all rounding modes.
4880 (TEST): Include expected results for all rounding modes.
4881 (test_in_one_mode): New function.
4882 (do_test): Use test_in_one_mode to compute and check results.
4883 Check results for all rounding modes.
4884 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4885 $(link-libm).
4886
19fcedd5
AM
48872012-12-09 Allan McRae <allan@archlinux.org>
4888
1e9d84cd 4889 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4890
8bbfd2f1
JM
48912012-09-11 Joseph Myers <joseph@codesourcery.com>
4892
4893 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4894 (_G_int32_t): Likewise.
4895 (_G_uint16_t): Likewise.
4896 (_G_uint32_t): Likewise.
4897 (_G_HAVE_BOOL): Likewise.
4898 (_G_HAVE_ATEXIT): Likewise.
4899 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4900 (_G_HAVE_IO_FILE_OPEN): Likewise.
4901 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4902 (_G_int32_t): Likewise.
4903 (_G_uint16_t): Likewise.
4904 (_G_uint32_t): Likewise.
4905 (_G_HAVE_BOOL): Likewise.
4906 (_G_HAVE_ATEXIT): Likewise.
4907 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4908 (_G_HAVE_IO_FILE_OPEN): Likewise.
4909 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4910 (_G_int32_t): Likewise.
4911 (_G_uint16_t): Likewise.
4912 (_G_uint32_t): Likewise.
4913 (_G_HAVE_BOOL): Likewise.
4914 (_G_HAVE_ATEXIT): Likewise.
4915 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4916 (_G_HAVE_IO_FILE_OPEN): Likewise.
4917
b1dc5912
L
49182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4919
4920 * csu/libc-tls.c: Update copyright years.
4921
0e886ef9
JM
49222012-09-10 Joseph Myers <joseph@codesourcery.com>
4923
28361c5e
JM
4924 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4925 [!_G_USING_THUNKS]: Remove conditional code.
4926 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4927 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4928
0e886ef9
JM
4929 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4930 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4931 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4932 (_G_VTABLE_LABEL_PREFIX): Likewise.
4933 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4934 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4935 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4936 (_G_VTABLE_LABEL_PREFIX): Likewise.
4937 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4938 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4939 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4940 (_G_VTABLE_LABEL_PREFIX): Likewise.
4941 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4942
bcba7aa2
L
49432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4944
4945 * libio/Makefile: Include ../Makeconfig before tests.
4946 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4947 only if $(build-shared) is yes.
4948
06585ee8
L
4949 * iconv/gconv_db.c: Update copyright years.
4950
80ccd52c
LD
49512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4952
4953 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4954 unwind info if defined PIC. Fix special cases description.
4955 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4956
4957 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4958 DP_HI_MASK entry.
4959 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4960
691bc9c1
L
49612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4962
3d9b46b3
L
4963 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4964
de2139a9
L
4965 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4966 is NULL.
4967
5ca78dd0
L
4968 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4969 (LDLIBS-tst-chk4): This.
4970 (LDFLAGS-tst-chk5): Renamed to ...
4971 (LDLIBS-tst-chk5): This.
4972 (LDFLAGS-tst-chk6): Renamed to ...
4973 (LDLIBS-tst-chk6): This.
4974 (LDFLAGS-tst-lfschk4): Renamed to ...
4975 (LDLIBS-tst-lfschk4): This.
4976 (LDFLAGS-tst-lfschk5): Renamed to ...
4977 (LDLIBS-tst-lfschk5): This.
4978 (LDFLAGS-tst-lfschk6): Renamed to ...
4979 (LDLIBS-tst-lfschk6): This.
4980
691bc9c1
L
4981 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4982 on $(common-objpfx)soversions.mk.
4983
65cafb1c
JM
49842012-09-07 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #10014]
4987 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4988 example host name.
4989
c78ab094
SP
49902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4991
4992 * malloc/arena.c (arena_get_retry): New function that gets
4993 another arena for the caller to try its request on.
4994 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4995 current arena cannot fulfill the request.
4996 (__libc_memalign): Likewise.
4997 (__libc_memalign): Likewise.
4998 (__libc_pvalloc): Likewise.
4999 (__libc_calloc): Likewise.
5000
01f49f59
JT
50012012-09-05 John Tobey <john.tobey@gmail.com>
5002
5003 [BZ #13542]
5004 * manual/arith.texi (Operations on Complex): Fix description
5005 of carg branch cut.
5006
4c23fed5
JM
50072012-09-06 Joseph Myers <joseph@codesourcery.com>
5008
1d3c8572
JM
5009 [BZ #10014]
5010 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5011 host name.
5012
4c23fed5
JM
5013 [BZ #10038]
5014 * manual/memory.texi (Memory): Make order of menu items match
5015 order of sections.
5016
04570aaa
L
50172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5020 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5021 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5022
b80af2f4
L
50232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5024
5025 * csu/libc-tls.c (static_dtv): Renamed to ...
5026 (_dl_static_dtv): This. Make it global.
5027 (_dl_initial_dtv): Removed.
5028 (__libc_setup_tls): Updated.
5029 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5030 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5031 DL_INITIAL_DTV.
5032
2abe9f15
PM
50332012-09-06 Petr Machata <pmachata@redhat.com>
5034
5035 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5036 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5037 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5038 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5039
0948c3af
L
50402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5041
5042 [BZ #14545]
5043 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5044 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5045 freeing dtv[-1].
5046
a5055ad1
L
50472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5048
5049 [BZ #14544]
5050 * Makeconfig (link-static-before-libc): Replace $(+prector)
5051 with $(+prectorT).
5052 (link-static-after-libc): Replace $(+postctor) with
5053 $(+postctorT).
5054 (link-bounded): Replace $(+prector)/$(+postctor) with
5055 $(+prectorT)/$(+postctorT).
5056 (+prectorT): New macro.
5057 (+postctorT): Likewise.
5058
ed8c2ecd
JM
50592012-09-06 Joseph Myers <joseph@codesourcery.com>
5060
5061 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5062 (round_str): Handle values above the maximum for IBM long double
5063 as inexact.
5064 * stdlib/tst-strtod-round.c (tests): Regenerated.
5065
14c996c8
AK
50662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5067
5068 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5069 assembler flag.
5070 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5071 zarch_nohighgprs around the zarch optimized routines.
5072 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5073 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5075 for zarch.
5076
430d6ce6
DM
50772012-09-05 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5080
ff04dda4
DM
5081 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5082 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5083 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5084 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5085 entries.
5086
24d4e01b
AO
50872012-09-05 Alexandre Oliva <aoliva@redhat.com>
5088
5089 * malloc/arena.c: Fold copyright years.
5090 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5091
61d58174
AO
50922012-09-05 Alexandre Oliva <aoliva@redhat.com>
5093
5094 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5095
20196a5e
AO
50962012-09-05 Alexandre Oliva <aoliva@redhat.com>
5097
5098 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5099
5c447383
AO
51002012-09-05 Alexandre Oliva <aoliva@redhat.com>
5101
5102 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5103 change internal state upon failure.
5104
fad64255
AO
51052012-09-05 Alexandre Oliva <aoliva@redhat.com>
5106
5107 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5108 * malloc/memusage.c (mmap): Likewise.
5109 (mmap64, mremap): Likewise. Adjust name in comment.
5110
1ffb8c90
SP
51112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5112
5113 * libio/fileops.c: Fix typos in comments.
5114 * libio/oldfileops.c: Likewise.
5115 * libio/wfileops.c: Likewise.
5116
6ef9cc37
SP
51172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5118
5119 [BZ #1349]
5120 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5121 (tst-malloc-usable-ENV): Set environment for test case.
5122 * malloc/hooks.c (malloc_check_get_size): New function to get
5123 requested size.
5124 * malloc/malloc.c (musable): Use malloc_check_get_size.
5125 * malloc/tst-malloc-usable.c: New test case.
5126
4d038ae3
AS
51272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5128
5129 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5130
c4e85184
AM
51312012-09-05 Allan McRae <allan@archlinux.org>
5132
b9dafc56 5133 [BZ #13966]
c4e85184
AM
5134 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5135 determine header location.
5136 * configure: Regenerated.
5137
e1343020
AS
51382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5139
5140 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5141 float format.
5142 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5143 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5144 format.
e1343020
AS
5145 (test): Regenerate.
5146
0a9f1987
DM
51472012-09-04 David S. Miller <davem@davemloft.net>
5148
5149 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5150 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5151 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5152
29237804
FW
51532012-09-04 Florian Weimer <fweimer@redhat.com>
5154
5155 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5156 failures.
5157
edb3cb88
FW
5158 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5159
60160d83
JM
51602012-09-04 Joseph Myers <joseph@codesourcery.com>
5161
5162 [BZ #9914]
5163 * libio/iogetdelim.c: Include <limits.h>.
5164 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5165 + len + 1 would overflow.
5166
bcd6c8dc
AJ
51672012-09-03 Andreas Jaeger <aj@suse.de>
5168
5169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5170 * sysdeps/i386/fpu/libm-test-ulps: Update.
5171
4ffffbd2
LD
51722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5173
5174 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5175 Add s_sinf-sse2, s_conf-sse2.
5176
5177 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5178 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5179 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5180 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5181
5182 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5183 for using routine as __sinf_ia32.
5184 Use macro for function declaration and weak_alias.
5185 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5186 for using routine as __cosf_ia32.
5187 Use macro for function declaration and weak_alias.
5188
5189 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5190 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5191
5192 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5193 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5195
5196 * math/libm-test.inc (cos_test): Add more test cases.
5197 (sin_test): Likewise.
5198 (sincos_test): Likewise.
5199
511fa286
AK
52002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5201
5202 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5203 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5204 hidden.
5205 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5206
5f30cfec
L
52072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5208
5209 [BZ #14538]
5210 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5211 first element of the GOT.
5212 (elf_machine_load_address): Return the difference between
5213 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5214
0786794f
AM
52152012-09-01 Allan McRae <allan@archlinux.org>
5216
5f30cfec
L
5217 [BZ #13412]
5218 * configure.in (AWK): Require gawk version 3.0 or later.
5219 * configure: Regenerated.
0786794f 5220
26889eac
JM
52212012-09-01 Joseph Myers <joseph@codesourcery.com>
5222
5223 * sysdeps/unix/sysv/linux/kernel-features.h
5224 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5226 [__NR_clock_getres]: Make code unconditional.
5227 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5228 (clock_getcpuclockid): Remove code left unreachable by removal of
5229 conditionals.
5230 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5231 code unconditional.
5232 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5233 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5234 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5235 Make code unconditional.
5236 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5237 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5238 * sysdeps/unix/sysv/linux/clock_settime.c
5239 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5240 conditional code.
5241 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5242 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5243
d22e28b0
L
52442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5245
5246 [BZ #14476]
5247 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5248 scripts/test-installation.pl.
5249
5250 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5251 and $ld_so_version if it is set.
5252
050af9c4
SP
52532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5254
5255 [BZ #14516]
5256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5257 failure if reading from procfs failed.
5258 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5259
ad845c0b
JM
52602012-08-27 Joseph Myers <joseph@codesourcery.com>
5261
5262 * sysdeps/unix/sysv/linux/kernel-features.h
5263 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5264 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5265 Remove conditional code.
5266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5267 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5268 Remove conditional code.
5269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5270 * sysdeps/unix/sysv/linux/i386/fxstat.c
5271 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5273 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5274 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5276 * sysdeps/unix/sysv/linux/i386/lxstat.c
5277 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5279 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5280 Remove conditional code.
5281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5282 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5283 Remove conditional code.
5284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5286 <kernel-features.h>.
5287 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5288 Remove.
5289 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5290 Remove conditional code.
5291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5292 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5293 Remove conditional.
5294
5dbf56af
MF
52952012-08-27 Mike Frysinger <vapier@gentoo.org>
5296
5297 [BZ #5400]
5298 * NEWS: Add fixed bug number.
5299
d6e70f43
JM
53002012-08-27 Joseph Myers <joseph@codesourcery.com>
5301
7efb4737
JM
5302 [BZ #14519]
5303 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5304 underflowing exponent in case of negative sign.
5305 * stdlib/tst-strtod-round-data: Add more tests.
5306 * stdlib/tst-strtod-round.c (tests): Regenerated.
5307
af92131a
JM
5308 [BZ #3479]
5309 * stdlib/strtod_l.c (NDIG): Remove.
5310 (HEXNDIG): Likewise.
5311 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5312 smallest representable value.
5313 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5314 lie within an exact representation of 1/2 ulp of the result.
5315 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5316 unconditionally.
5317 (TENS_P9_IDX): Define unconditionally.
5318 (TENS_P9_SIZE): Likewise.
5319 (TENS_P10_IDX): Likewise.
5320 (TENS_P10_SIZE): Likewise.
5321 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5322 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5323 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5324 entries for 10^2^13 and 10^2^14.
5325 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5326 (TENS_P13_IDX): Define.
5327 (TENS_P13_SIZE): Likewise.
5328 (TENS_P14_IDX): Likewise.
5329 (TENS_P14_SIZE): Likewise.
5330 (_fpioconst_pow10): Change array size to
5331 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5332 unconditional.
5333 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5334 1024]: Add entries for 10^2^13 and 10^2^14.
5335 [LAST_POW10 > _LAST_POW10]: Remove #error.
5336 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5337 (_fpioconst_pow10): Change array size to
5338 FPIOCONST_POW10_ARRAY_SIZE.
5339 * stdlib/gen-fpioconst.c: New file.
5340 * stdlib/gen-tst-strtod-round.c: Likewise.
5341 * stdlib/tst-strtod-round-data: Likewise.
5342 * stdlib/tst-strtod-round.c: Likewise.
5343 * stdlib/Makefile (tests): Add tst-strtod-round.
5344
d6e70f43
JM
5345 [BZ #14459]
5346 * stdlib/strtod_l.c: Include <stdint.h>.
5347 (NDEBUG): Do not define.
5348 (round_and_return): Change EXPONENT parameter to type intmax_t.
5349 Rearrange calculations to avoid internal overflow possibilities.
5350 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5351 Rearrange calculations to avoid internal overflow possibilities.
5352 Assert that number fits inside MPNSIZE limbs.
5353 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5354 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5355 calculations and add assertions to avoid internal overflow
5356 possibilities. Add casts to avoid signed/unsigned operations.
5357 * stdlib/tst-strtod-overflow.c: New file.
5358 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5359
1f529f7d
MP
53602012-08-25 Marek Polacek <polacek@redhat.com>
5361
5362 * time/time.h: Fix some typos in comments.
5363
59a629f1
RM
53642012-08-23 Roland McGrath <roland@hack.frob.com>
5365
5366 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5367 * posix/tst-rfc3484-2.c: Likewise.
5368 * posix/tst-rfc3484-3.c: Likewise.
5369
d3bafbc9
SM
53702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5371
5372 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5373 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5374
4efcc022
JM
53752012-08-23 Joseph Myers <joseph@codesourcery.com>
5376
5377 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5378 #include of fxstatat64.c.
5379
3cc3ef96
RM
53802012-08-22 Roland McGrath <roland@hack.frob.com>
5381
f04e2132
RM
5382 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5383 * shadow/getspent_r.c: Likewise.
5384 * shadow/getspnam.c: Likewise.
5385 * shadow/getspnam_r.c: Likewise.
5386 * gshadow/getsgent.c: Likewise.
5387 * gshadow/getsgent_r.c: Likewise.
5388 * gshadow/getsgnam.c: Likewise.
5389 * gshadow/getsgnam_r.c: Likewise.
5390 * inet/getnetbyad.c: Likewise.
5391 * inet/getnetbyad_r.c: Likewise.
5392 * inet/getnetbynm.c: Likewise.
5393 * inet/getnetbynm_r.c: Likewise.
5394 * inet/getnetent.c: Likewise.
5395 * inet/getnetent_r.c: Likewise.
5396 * inet/getproto.c: Likewise.
5397 * inet/getproto_r.c: Likewise.
5398 * inet/getprtent.c: Likewise.
5399 * inet/getprtent_r.c: Likewise.
5400 * inet/getprtname.c: Likewise.
5401 * inet/getprtname_r.c: Likewise.
5402 * inet/getrpcbyname.c: Likewise.
5403 * inet/getrpcbyname_r.c: Likewise.
5404 * inet/getrpcbynumber.c: Likewise.
5405 * inet/getrpcbynumber_r.c: Likewise.
5406 * inet/getrpcent.c: Likewise.
5407 * inet/getrpcent_r.c: Likewise.
5408 * inet/getaliasent.c: Likewise.
5409 * inet/getaliasent_r.c: Likewise.
5410 * inet/getaliasname.c: Likewise.
5411 * inet/getaliasname_r.c: Likewise.
5412 * nscd/getgrgid_r.c: Likewise.
5413 * nscd/getgrnam_r.c: Likewise.
5414 * nscd/gethstbyad_r.c: Likewise.
5415 * nscd/gethstbynm3_r.c: Likewise.
5416 * nscd/getpwnam_r.c: Likewise.
5417 * nscd/getpwuid_r.c: Likewise.
5418 * nscd/getsrvbynm_r.c: Likewise.
5419 * nscd/getsrvbypt_r.c: Likewise.
5420 * nscd/gai.c: Likewise.
5421
c53d909c
RM
5422 * configure.in (build_nscd): New substituted variable, set
5423 by --disable-build-nscd and defaults to $use_nscd.
5424 * configure: Regenerated.
5425 * config.make.in (build-nscd): New substituted variable.
5426 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5427 Change conditional to require [$(build-nscd) = yes] as well.
5428 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5429
3cc3ef96
RM
5430 [BZ# 13696]
5431 * configure.in (use_nscd): New substituted variable, set by
5432 --disable-nscd. If enabled, define USE_NSCD.
5433 * configure: Regenerated.
5434 * config.h.in: Add USE_NSCD.
5435 * config.make.in (use-nscd): New substituted variable.
5436 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5437 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5438 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5439 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5440 (CFLAGS-getgrnam_r.c): Likewise.
5441 (CFLAGS-initgroups.c): Likewise.
5442 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5443 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5444 Variables removed.
5445 * inet/getnetgrent_r.c
5446 (nscd_setnetgrent): New function, broken out of ...
5447 (setnetgrent): ... here. Call it.
5448 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5449 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5450 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5451 * nscd/Makefile (routines, aux): Move definitions after include of
5452 Makeconfig. Conditionalize on [$(use-nscd) != no].
5453 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5454 Conditionalize on [USE_NSCD].
5455 (is_nscd, nscd_init_cb): Likewise.
5456 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5457 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5458 * nss/nss_db/db-init.c: Likewise.
5459 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5460 [USE_NSCD].
5461 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5462 (make_request): Use it.
5463 (cache_valid_p): New function.
5464 (__check_pf): Use it.
5465 * NEWS: Add item for --disable-nscd.
5466
07e51550
DL
54672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5468
5469 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5470 to support sed >= 4.2.1-20-ga9bf076.
5471 * configure: Regenerated.
5472
35a5b08b
RM
54732012-08-22 Roland McGrath <roland@hack.frob.com>
5474
5475 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5476 Conditionalize whole body on [IREL].
5477
8479f23a
JL
54782012-08-22 Jeff Law <law@redhat.com>
5479
5480 [BZ #14505]
5481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5482 if the family is PF_UNSPEC.
5483
48da0b21
MF
54842012-08-22 Mike Frysinger <vapier@gentoo.org>
5485
5486 * Makerules (lib-version): Rename from V.
5487 (install-lib-nosubdir): Change V to lib-version.
5488
15d0da8c
WS
54892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5490
5491 [BZ #14252]
5492 * powerpc32/power6/wcschr.c: New file.
5493 * powerpc32/power6/wcscpy.c: New file.
5494 * powerpc32/power6/wcsrchr.c: New file.
5495 * powerpc64/power6/wcschr.c: New file.
5496 * powerpc64/power6/wcscpy.c: New file.
5497 * powerpc64/power6/wcsrchr.c: New file.
5498
bcca0895
MK
54992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5500
5501 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5502 (two_way_short_needle): Use it.
5a4aaa33
RM
5503 * string/strstr.c (AVAILABLE1_USES_J): Define.
5504 * string/strcasestr.c: Likewise.
99677e57
MK
5505
5506 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5507 array references.
5508 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5509
400726de
MK
5510 [BZ #11607]
5511 * NEWS: Add an entry.
5512 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5513 define their defaults.
5514 (two_way_short_needle): Detect end-of-string on-the-fly.
5515 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5516 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5517 * string/bug-strcasestr1.c: New test.
5518 * string/Makefile: Run it.
5519
20a71f2c
MK
55202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5521
5522 [BZ #11607]
5523 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5524 the first character.
5525
21ad0558
RM
55262012-08-21 Roland McGrath <roland@hack.frob.com>
5527
5528 * csu/elf-init.c (__libc_csu_irel): Function removed.
5529 * csu/libc-start.c (apply_irel): New function.
5530 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5531
0e1d9911
JM
55322012-08-21 Joseph Myers <joseph@codesourcery.com>
5533
5534 * sysdeps/unix/sysv/linux/kernel-features.h
5535 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5536 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5537 <kernel-features.h>.
5538 [__NR_fadvise64_64]: Make code unconditional.
5539 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5540 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5541 !__NR_fadvise64_64)]: Likewise.
5542 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5543 !__NR_fadvise64_64))]: Likewise.
5544 [__NR_fadvise64]: Make code unconditional.
5545 [!__NR_fadvise64]: Remove conditional code.
5546 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5547 <kernel-features.h>.
5548 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5549 unconditional.
5550 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5551 conditional code.
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5553 not include <kernel-features.h>.
5554 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5555 unconditional.
5556 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5557 conditional code.
5558 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5559 include <kernel-features.h>.
5560 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5561 unconditional.
5562 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5563 conditional code.
5564
14a50c9d
WS
55652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5566
5567 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5568 slight instruction rearrangements per scrollpipe analysis.
5569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5570
c0f4faf0
RM
55712012-08-20 Roland McGrath <roland@hack.frob.com>
5572
696da859
RM
5573 * manual/syslog.texi (syslog; vsyslog, closelog):
5574 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5575 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5576
c0f4faf0
RM
5577 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5578 DSOCAPS to match condition on defining it.
5579
348363b2
JM
55802012-08-20 Joseph Myers <joseph@codesourcery.com>
5581
a35cbf28
JM
5582 * sysdeps/unix/sysv/linux/kernel-features.h
5583 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5585 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5586 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5588 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5589 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5591 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5592 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5593
445f7ecd
JM
5594 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5595 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5596
348363b2
JM
5597 * sysdeps/unix/sysv/linux/kernel-features.h
5598 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5599 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5600 unconditional.
5601 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5602 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5603 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5604 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5605 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5606 Make code unconditional.
5607 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5608 (__mmap64) [!__NR_mmap2]: Likewise.
5609 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5610 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5611 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5612 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5613 [__NR_mmap2]: Make code unconditional.
5614 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5615 (__mmap64) [!__NR_mmap2]: Likewise.
5616
bc5bc0e5
AK
56172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5618
5619 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5620
88d506de
AJ
56212012-08-18 Andreas Jaeger <aj@suse.de>
5622
5623 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5624
493387d2
MF
56252012-08-18 Mike Frysinger <vapier@gentoo.org>
5626
5627 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5628 * include/unistd.h (__have_sock_cloexec): Likewise.
5629 (__have_pipe2): Likewise.
5630 (__have_dup3): Likewise.
5631
a277af22
MF
56322012-08-18 Mike Frysinger <vapier@gentoo.org>
5633
5634 [BZ #9685]
5635 * include/unistd.h (__have_pipe2): Change define into an extern int.
5636 (__have_dup3): Likewise.
5637 * socket/have_sock_cloexec.c: Include fcntl.h.
5638 (__have_pipe2): New variable.
5639 (__have_dup3): Likewise.
5640
fdab8fd3
MF
56412012-08-17 Mike Frysinger <vapier@gentoo.org>
5642
5643 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5644
31035e80
MP
56452012-08-17 Marek Polacek <polacek@redhat.com>
5646
5647 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5648 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5649
3bd9e993
RM
56502012-08-17 Roland McGrath <roland@hack.frob.com>
5651
c91c505f
RM
5652 * configure.in: Add AC_SUBST for sysheaders.
5653 * configure: Regenerated.
5654 * config.make.in (sysheaders): New substituted variable.
5655
7c6f9d53
RM
5656 * sysdeps/unix/mkfifo.c: Moved ...
5657 * sysdeps/posix/mkfifo.c: ... here.
5658 * sysdeps/unix/mkfifoat.c: Moved ...
5659 * sysdeps/posix/mkfifoat.c: ... here.
5660
5661 * sysdeps/unix/utime.c: Moved ...
5662 * sysdeps/posix/utime.c: ... here.
5663
5664 * sysdeps/unix/time.c: Moved ...
5665 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5666 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5667 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5668
5669 * sysdeps/unix/nice.c: Moved ...
5670 * sysdeps/posix/nice.c: ... here.
5671
5672 * sysdeps/unix/alarm.c: Moved ...
5673 * sysdeps/posix/alarm.c: ... here.
5674
3bd9e993
RM
5675 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5676
d1f09384
JL
56772012-08-17 Jeff Law <law@redhat.com>
5678
5679 * intl/Makefile (codeset_mo): New variable.
5680 ($(codeset_mo)): New target.
5681 (tst-codeset.out): Depend on that. Remove explicit rule.
5682 (tst-gettext3.out, tst-gettext5.out): Likewise.
5683 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5684 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5685 * intl/tst-codeset.sh: Remove.
5686 * intl/tst-gettext3.sh: Likewise.
5687 * intl/tst-gettext5.sh: Likewise.
5688
2ae1ae5c
RM
56892012-08-17 Roland McGrath <roland@hack.frob.com>
5690
c31fdb83
RM
5691 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5692 * sysdeps/unix/syscalls.list: ... here.
5693
a0844057
RM
5694 * sysdeps/posix/getaddrinfo.c
5695 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5696 (gaiconf_init, gaiconf_reload): Use them.
5697 [!_STATBUF_ST_NSEC]
5698 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5699 Define using time_t rather than struct timespec.
5700
750c1f2a
RM
5701 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5702 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5703 Macros removed.
5704 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5705 [!NO_THREADS].
5706 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5707 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5708 Likewise.
5709
2ae1ae5c
RM
5710 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5711 __libc_cleanup_push argument.
5712
e66a42f5
RM
5713 * bits/param.h: New file.
5714 * misc/sys/param.h: New file.
5715 * include/sys/param.h: New file.
5716 * misc/Makefile (headers): Add bits/param.h.
5717 * sysdeps/generic/sys/param.h: File removed.
5718 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5719 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5720 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5721 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5722
b7c08a66
RM
5723 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5724 last change.
5725
b2e1c562
RM
5726 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5727 [_IO_MTSAFE_IO].
5728 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5729 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5730 New macros.
5731
c75ccd4c
RM
5732 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5733 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5734 rather than -D_IO_MTSAFE_IO conditionally.
5735 * stdio-common/Makefile (CPPFLAGS): Likewise.
5736 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5737 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5738 Use $(libio-mtsafe).
5739 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5740 of -D_IO_MTSAFE_IO.
5741 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5742 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5743 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5744 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5745 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5746 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5747 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5748 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5749 (CFLAGS-fread_u_chk.c): Likewise.
5750 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5751 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5752 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5753 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5754 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5755 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5756 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5757 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5758 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5759
5760 * libio/Makefile: Test [$(libc-reentrant) = yes]
5761 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5762
5763 * Makeconfig
5764 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5765 * sysdeps/pthread/configure: File removed.
5766 * sysdeps/pthread/Makeconfig: New file.
5767 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5768 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5769
d9195db8
GB
57702012-08-16 Gary Benson <gbenson@redhat.com>
5771
5772 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5773 unmapping the first object in a namespace.
5774
86466cd9
RM
57752012-08-16 Roland McGrath <roland@hack.frob.com>
5776
5777 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5778 (__internal_setnetgrent): ... this. Add internal_function to
5779 definition. Add libc_hidden_def.
5780 (setnetgrent): Update caller.
5781 (internal_endnetgrent): Renamed to ...
5782 (__internal_endnetgrent): ... this. Add internal_function to
5783 definition. Add libc_hidden_def.
5784 (endnetgrent): Update caller.
5785 (internal_getnetgrent_r): Renamed to ...
5786 (__internal_getnetgrent_r): ... this. Add internal_function to
5787 definition. Add libc_hidden_def.
5788 (__getnetgrent_r): Update caller.
5789 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5790
c3c8283c
JM
57912012-08-16 Joseph Myers <joseph@codesourcery.com>
5792
5793 * stdlib/longlong.h: Update from GCC.
5794
db1ee0a8
RM
57952012-08-16 Roland McGrath <roland@hack.frob.com>
5796
5797 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5798 on _QL, which is set by umul_ppmm but never used.
5799 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5800 variables, which are set by GMP macros but never used.
5801 * stdio-common/_itowa.c (_itowa): Likewise.
5802 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5803 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5804
30f69637
CD
58052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5806
5807 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5808 struct La_sh_regs is not constant.
5809 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5810 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5811 and struct La_sparc64_regs are not constant.
5812
93a78ac4
JM
58132012-08-16 Joseph Myers <joseph@codesourcery.com>
5814
5815 * sysdeps/unix/sysv/linux/kernel-features.h
5816 (__ASSUME_POSIX_TIMERS): Remove.
5817 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5818 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5819 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5820 Make code unconditional.
5821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5822 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5823 Make code unconditional.
5824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5825 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5826 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5828 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5829 Make code unconditional.
5830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5831 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5832 (__libc_missing_posix_timers): Remove.
5833
dd924cd7
RM
58342012-08-15 Roland McGrath <roland@hack.frob.com>
5835
4b4f2771
RM
5836 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5837 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5838
601c888b
RM
5839 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5840
176790a7
RM
5841 * elf/dl-sym.c: Include <stdlib.h>.
5842
329bc018
RM
5843 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5844 constants, which avoids warnings in 32-bit builds.
5845
e04e272d
RM
5846 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5847 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5848
952bf94a
RM
5849 * misc/lseek.c: File moved to ...
5850 * io/lseek.c: ... here.
5851
7c99b50a
RM
5852 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5853
dd924cd7
RM
5854 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5855 shifting LEN more than 31 bits at once.
5856
b3f479a8
LD
58572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5858
5859 [BZ #14195]
8c4ae0d4
RM
5860 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5861 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5862 * string/test-strncasecmp.c (check1): Renamed to...
5863 (bz12205): ...this.
5864 (bz14195): Add new testcase for two empty input strings and N > 0.
5865 (test_main): Call new testcase, adapt for renamed function.
5866
9c55864e
AJ
58672012-08-15 Andreas Jaeger <aj@suse.de>
5868
5869 [BZ #14090]
5870 * crypt/md5test2.c: New test, based on test supplied by Serge
5871 Belyshev <belyshev@depni.sinp.msu.ru>.
5872 * crypt/Makefile (xtests): Add md5test-giant..
5873 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5874
02dcb6c5
PE
58752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5876
5877 [BZ #14090]
5878 * crypt/md5.c (md5_process_block): Don't assume the buffer
5879 length is less than 2**32.
5880 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5881 length is less than 2**64.
5882
a3f95dcc
RM
58832012-08-15 Roland McGrath <roland@hack.frob.com>
5884
be75d758
RM
5885 * string/str-two-way.h: Include <sys/param.h>.
5886 (MAX): Macro removed.
5887
7312ca90
RM
5888 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5889 Move #define and #undef of memmove to just before and after
5890 including <string.h>.
5891
9a0a5486
RM
5892 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5893 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5894 and after including <string.h>. Move declarations of
5895 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5896 to before #include "string/memmove.c".
5897
67cc348d
RM
5898 * include/dirent.h: Declare __getdirentries.
5899
a3f95dcc
RM
5900 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5901 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5902
ca98e171
MF
59032012-08-14 Mike Frysinger <vapier@gentoo.org>
5904
5905 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5906 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5907 * sysdeps/i386/configure: Regenerated.
5908 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5909 STABS_CURRENT_FILE, and STABS_FUN.
5910 (END): Remove call to STABS_FUN_END.
5911 (STABS_CURRENT_FILE1): Delete.
5912 (STABS_CURRENT_FILE): Likewise.
5913 (STABS_FUN): Likewise.
5914 (STABS_FUN_END): Likewise.
5915 (STABS_FUN2): Likewise.
5916 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5917 * sysdeps/x86_64/configure: Regenerated.
5918
5908bf46
RM
59192012-08-14 Roland McGrath <roland@hack.frob.com>
5920
5921 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5922 * elf/dl-lookup.c: Likewise.
5908bf46 5923
f2c05b9e
JM
59242012-08-14 Joseph Myers <joseph@codesourcery.com>
5925
5926 * sysdeps/unix/sysv/linux/kernel-features.h
5927 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5928 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5929 unconditionally.
5930 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5931 unconditionally.
5932 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5933 condition on __ASSUME_CLONE_THREAD_FLAGS.
5934
e11f5155
AJ
59352012-08-14 Andreas Jaeger <aj@suse.de>
5936
5937 * sysdeps/i386/fpu/libm-test-ulps: Update.
5938
51a9ba86
MK
59392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5940
2fdd4f78
AJ
5941 * include/atomic.h (atomic_exchange_and_add): Split into ...
5942 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5943 New atomic macros.
51a9ba86 5944
ba6cba9e
MT
59452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5946
5947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5948
42443a47
JL
59492012-08-13 Jeff Law <law@redhat.com>
5950
5951 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5952 null byte in the output string.
5953
121dce05
JM
59542012-08-10 Joseph Myers <joseph@codesourcery.com>
5955
5956 * sysdeps/unix/sysv/linux/kernel-features.h
5957 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5958 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5959 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5960 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5961 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5962 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5963 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5964
bf51f568
JL
59652012-08-09 Jeff Law <law@redhat.com>
5966
5967 [BZ #13939]
5968 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5969 When avoid_arena is set, don't retry in the that arena. Pick the
5970 next one, whatever it might be.
5971 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5972 (arena_lock): Pass in new parameter to arena_get2.
5973 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5974 arena_get2.
5975 (__libc_malloc): Unify retrying after main arena failure with
5976 __libc_memalign version.
5977 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5978
f85fa270
L
59792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5980
5981 [BZ #14166]
5982 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5983 to __redirect_strstr.
5984 (__strstr_sse42): Use typeof __redirect_strstr.
5985 (__strstr_ia32): Likewise.
5986 (__libc_strstr): New prototype.
5987 (strstr): Renamed to ...
5988 (__libc_strstr): This.
5989 (strstr): New strong alias of __libc_strstr.
5990 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5991 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5992 __redirect_time.
5993 Include <time.h>.
5994 (__libc_time): New prototype.
5995 (time_ifunc): Replace time with __libc_time.
5996 (time): New strong alias and hidden definition of __libc_time.
5997 (__GI_time): Remove strong alias.
5998 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5999 Include <stddef.h>.
6000 (memmove): Redefined to __redirect_memmove.
6001 (__memmove_sse2): Use typeof __redirect_memmove.
6002 (__memmove_ssse3): Likewise.
6003 (__memmove_ssse3_back): Likewise.
6004 (__libc_memmove): New prototype.
6005 (memmove): Renamed to ...
6006 (__libc_memmove): This.
6007 (memmove): New strong alias of __libc_memmove.
6008
33b4a91e
MS
60092012-08-08 Mark Salter <msalter@redhat.com>
6010
6011 * elf/elf.h
6012 (R_MN10300_TLS_GD): Define.
6013 (R_MN10300_TLS_LD): Likewise.
6014 (R_MN10300_TLS_LDO): Likewise.
6015 (R_MN10300_TLS_GOTIE): Likewise.
6016 (R_MN10300_TLS_IE): Likewise.
6017 (R_MN10300_TLS_LE): Likewise.
6018 (R_MN10300_TLS_DTPMOD): Likewise.
6019 (R_MN10300_TLS_DTPOFF): Likewise.
6020 (R_MN10300_TLS_TPOFF): Likewise.
6021 (R_MN10300_SYM_DIFF): Likewise.
6022 (R_MN10300_ALIGN): Likewise.
6023 (R_MN10300_NUM): Update.
6024
b36137f1
JM
60252012-08-08 Joseph Myers <joseph@codesourcery.com>
6026
6027 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6028 Remove.
6029
cdd915fd
RM
60302012-08-08 Roland McGrath <roland@hack.frob.com>
6031
a2433aac
RM
6032 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6033
cdd915fd
RM
6034 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6035 sysdeps/unix -> sysdeps/posix move.
6036 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6037
bf9b740a
AM
60382012-08-07 Allan McRae <allan@archlinux.org>
6039
6040 [BZ #14303]
6041 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6042 (SUNOS_CPP): Likewise.
6043 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6044 not found.
6045 (open_input): Call CPP using execvp.
6046
93df14ee
JM
60472012-08-07 Joseph Myers <joseph@codesourcery.com>
6048
6049 * sysdeps/unix/sysv/linux/kernel-features.h
6050 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6051 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6052 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6053 (__ASSUME_WAITID_SYSCALL): Likewise.
6054 * sysdeps/unix/sysv/linux/dl-execstack.c
6055 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6056 code unconditional.
6057 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6058 conditional code.
6059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6060 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6061 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6062 code.
6063 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6064 unconditional.
6065 [__ASSUME_WAITID_SYSCALL]: Likewise.
6066 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6067
d34689de
RM
60682012-08-07 Roland McGrath <roland@hack.frob.com>
6069
a281decc
RM
6070 * sysdeps/unix/closedir.c: Renamed to ...
6071 * sysdeps/posix/closedir.c: ... here.
6072 * sysdeps/unix/dirfd.c: Renamed to ...
6073 * sysdeps/posix/dirfd.c: ... here.
6074 * sysdeps/unix/dirstream.h: Renamed to ...
6075 * sysdeps/posix/dirstream.h: ... here.
6076 * sysdeps/unix/fdopendir.c: Renamed to ...
6077 * sysdeps/posix/fdopendir.c: ... here.
6078 * sysdeps/unix/opendir.c: Renamed to ...
6079 * sysdeps/posix/opendir.c: ... here.
6080 * sysdeps/unix/readdir.c: Renamed to ...
6081 * sysdeps/posix/readdir.c: ... here.
6082 * sysdeps/unix/readdir_r.c: Renamed to ...
6083 * sysdeps/posix/readdir_r.c: ... here.
6084 * sysdeps/unix/rewinddir.c: Renamed to ...
6085 * sysdeps/posix/rewinddir.c: ... here.
6086 * sysdeps/unix/seekdir.c: Renamed to ...
6087 * sysdeps/posix/seekdir.c: ... here.
6088 * sysdeps/unix/telldir.c: Renamed to ...
6089 * sysdeps/posix/telldir.c: ... here.
6090 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6091 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6092 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6093 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6094
22895b47
RM
6095 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6096 * bits/fcntl.h: ... here.
6097
707a53b6
RM
6098 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6099 not 0.
6100 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6101 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6102 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6103 (struct flock): Move l_start, l_len to the beginning.
6104 Use __pid_t for l_pid.
6105 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6106 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6107 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6108 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6109 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6110 [__USE_LARGEFILE64] (struct flock64): New type.
6111 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6112
f0bd3e25
RM
6113 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6114 * bits/dirent.h: ... here.
6115
d34689de
RM
6116 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6117 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6118
6dad2c06
JM
61192012-08-07 Joseph Myers <joseph@codesourcery.com>
6120
6121 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6122 Change from 2.6.0 to 2.6.16.
6123 * sysdeps/unix/sysv/linux/configure: Regenerated.
6124 * sysdeps/unix/sysv/linux/kernel-features.h
6125 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6126 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6127 version.
6128 (__ASSUME_UTIMES): Likewise.
6129 (__ASSUME_CLONE_STOPPED): Remove.
6130 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6131 architectures, not kernel version.
6132 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6133 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6134 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6135 (__ASSUME_WAITID_SYSCALL): Likewise.
6136 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6137 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6138 * README: State 2.6.16 as minimum Linux kernel version. Do not
6139 refer to older versions.
6140
03af9520
RM
61412012-08-06 Roland McGrath <roland@hack.frob.com>
6142
8e49df1d
RM
6143 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6144 Define alphasort64 as an alias.
6145 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6146 Define versionsort64 as an alias.
6147 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6148 Define scandir64 as an alias.
6149 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6150 Define scandirat64 as an alias.
6151 * dirent/alphasort64.c (alphasort64):
6152 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6153 * dirent/versionsort64.c: Likewise.
6154 * dirent/scandir64.c: Likewise.
6155 * dirent/scandirat64.c: Likewise.
6156 * sysdeps/wordsize-64/alphasort.c: File removed.
6157 * sysdeps/wordsize-64/alphasort64.c: File removed.
6158 * sysdeps/wordsize-64/scandir.c: File removed.
6159 * sysdeps/wordsize-64/scandir64.c: File removed.
6160 * sysdeps/wordsize-64/scandirat.c: File removed.
6161 * sysdeps/wordsize-64/scandirat64.c: File removed.
6162 * sysdeps/wordsize-64/versionsort.c: File removed.
6163 * sysdeps/wordsize-64/versionsort64.c: File removed.
6164 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6165 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6170 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6172
6173 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6175 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6177 [defined __arch64__ || defined __sparcv9]
6178 (__INO_T_MATCHES_INO64_T): New macro.
6179 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6180 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6181 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6182 * sysdeps/unix/sysv/linux/bits/dirent.h
6183 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6184 (_DIRENT_MATCHES_DIRENT64): New macro.
6185
03af9520
RM
6186 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6187 Define lockf64 as an alias.
6188 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6189 Define fseeko64 as an alias.
6190 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6191 Define ftello64 as an alias.
6192 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6193 Define _IO_fgetpos64 and fgetpos64 as aliases.
6194 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6195 Define _IO_fsetpos64 and fsetpos64 as aliases.
6196 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6197 Conditionalize body on this.
6198 * libio/fseeko64.c: Likewise.
6199 * libio/ftello64.c: Likewise.
6200 * libio/iofgetpos64.c: Likewise.
6201 * libio/iofsetpos64.c: Likewise.
6202 * sysdeps/wordsize-64/lockf.c: File removed.
6203 * sysdeps/wordsize-64/lockf64.c: File removed.
6204 * sysdeps/wordsize-64/fseeko.c: File removed.
6205 * sysdeps/wordsize-64/fseeko64.c: File removed.
6206 * sysdeps/wordsize-64/ftello.c: File removed.
6207 * sysdeps/wordsize-64/ftello64.c: File removed.
6208 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6209 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6210 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6211 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6213 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6219 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6221 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6222
6223 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6225 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6227 [defined __arch64__ || defined __sparcv9]
6228 (__OFF_T_MATCHES_OFF64_T): New macro.
6229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6230 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6232 (__OFF_T_MATCHES_OFF64_T): New macro.
6233
c5757acd
L
62342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6235
6236 * stdlib/secure-getenv.c (__secure_getenv): Replace
6237 GLIBC_2_16 with GLIBC_2_17.
6238
3a31811e
L
62392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6240
6241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6243
faa2bccb
DM
62442012-08-03 David S. Miller <davem@davemloft.net>
6245
6246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6247
85fe1997
JM
62482012-08-03 Joseph Myers <joseph@codesourcery.com>
6249
6250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6251 Remove.
6252 (__ASSUME_CORRECT_SI_PID): Likewise.
6253 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6254 (__ASSUME_TMPFS_NAME): Likewise.
6255 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6256 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6257 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6258 (HAVE_AUX_SECURE): Make definition unconditional.
6259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6260 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6261
4f75b7a0
RM
62622012-08-03 Roland McGrath <roland@hack.frob.com>
6263
6264 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6265 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6266 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6267 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6268 __eloop_threshold instead of SYMLOOP_MAX.
6269
6270 * sysdeps/generic/eloop-threshold.h: New file.
6271 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6272 of MAXSYMLINKS.
6273 * elf/chroot_canon.c (chroot_canon): Likewise.
6274
7aab07e4
JM
62752012-08-03 Joseph Myers <joseph@codesourcery.com>
6276
6277 [BZ #13717]
6278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6279 Change to 2.6.0 everywhere.
6280 * sysdeps/unix/sysv/linux/configure: Regenerated.
6281 * sysdeps/unix/sysv/linux/kernel-features.h
6282 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6283 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6284 kernel versions.
6285 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6286 (__ASSUME_FUTEX_REQUEUE): Remove.
6287 (__ASSUME_STATFS64): Define unconditionally.
6288 (__ASSUME_AT_SECURE): Likewise.
6289 (__ASSUME_CORRECT_SI_PID): Likewise.
6290 (__ASSUME_TGKILL): Define without depending on kernel version for
6291 i386.
6292 (__ASSUME_UTIMES): Likewise.
6293 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6294 kernel version.
6295 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6296 (__ASSUME_TMPFS_NAME): Likewise.
6297 * README: Update reference to Linux kernel versions.
6298
b67e9372
MP
62992012-08-02 Marek Polacek <polacek@redhat.com>
6300
1f529f7d 6301 [BZ# 14150]
b67e9372
MP
6302 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6303 libc_cv_asm_type_prefix with %.
6304 * configure: Regenerated.
d2441631
RM
6305 * include/libc-symbols.h: Remove comment about
6306 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6307 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6308 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6309 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6310 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6311 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6312 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6313 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6314 * elf/tst-unique2mod1.c: Likewise.
6315 * elf/tst-unique1mod2.c: Likewise.
6316 * elf/tst-unique1mod1.c: Likewise.
6317 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6318 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6319 Replace ASM_TYPE_DIRECTIVE with .type.
6320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6321 * sysdeps/i386/sysdep.h: Likewise.
6322 * sysdeps/x86_64/sysdep.h: Likewise.
6323 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6325 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6326 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6327 * sysdeps/powerpc/powerpc32/sysdep.h:
6328 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6329 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6330 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6331 * sysdeps/i386/fpu/e_powf.S: Likewise.
6332 * sysdeps/i386/fpu/e_expl.S: Likewise.
6333 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6334 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6335 * sysdeps/i386/fpu/e_pow.S: Likewise.
6336 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6337 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6338 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6339 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6340 * sysdeps/i386/fpu/e_log2.S: Likewise.
6341 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6342 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6343 * sysdeps/i386/fpu/e_powl.S: Likewise.
6344 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6345 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6346 * sysdeps/i386/fpu/e_logl.S: Likewise.
6347 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6348 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6349 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6350 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6351 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6352 * sysdeps/i386/fpu/e_log.S: Likewise.
6353 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6354 * sysdeps/i386/fpu/e_logf.S: Likewise.
6355 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6357 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6358 * sysdeps/i386/fpu/e_log10.S: Likewise.
6359 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6360 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6361 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6362 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6363 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6364 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6365 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6366 * sysdeps/i386/i686/strtok.S: Likewise.
6367 * sysdeps/i386/i386-mcount.S: Likewise.
6368 * sysdeps/i386/strtok.S: Likewise.
6369 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6370 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6371 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6372 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6373 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6374 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6375 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6376 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6377 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6378 * sysdeps/x86_64/_mcount.S: Likewise.
6379 * sysdeps/x86_64/strtok.S: Likewise.
6380 * sysdeps/sh/_mcount.S: Likewise.
6381
2747bf9a
RM
63822012-08-01 Roland McGrath <roland@hack.frob.com>
6383
6384 * libio/iofopen.c: Include <fcntl.h>.
6385 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6386 (_IO_fopen64, fopen64): Define as aliases.
6387 * libio/iofopen64.c: Include <fcntl.h>.
6388 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6389 Conditionalize body on this.
6390 * sysdeps/wordsize-64/iofopen.c: File removed.
6391 * sysdeps/wordsize-64/iofopen64.c: File removed.
6392
3fb791b8
MP
63932012-08-01 Marek Polacek <polacek@redhat.com>
6394
6395 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6396 Use dlfcn directly instead of a variable.
6397 (binfmt-subdir): Do not define.
6398 (dlfcn): Likewise.
6399
a9f1039f
JM
64002012-08-01 Joseph Myers <joseph@codesourcery.com>
6401
23bddc06
JM
6402 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6403 Remove all definitions.
6404 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6405 <kernel-features.h>.
6406 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6407 (miss_F_GETOWN_EX): Remove all definitions.
6408 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6409 macro definition.
6410 [!__ASSUME_FCNTL64]: Remove conditional code.
6411 [__ASSUME_FCNTL64]: Make code unconditional.
6412 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6413 <kernel-features.h>.
6414 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6415 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6416 (lockf64) [__NR_fcntl64]: Make code unconditional.
6417 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6418
a9f1039f
JM
6419 * sysdeps/unix/sysv/linux/kernel-features.h
6420 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6421 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6422 Make code unconditional.
6423 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6424 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6426 [__NR_vfork]: Make code unconditional.
6427 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6428 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6430 [__NR_vfork]: Make code unconditional.
6431 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6432 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6433
09c0ee5f
RM
64342012-08-01 Roland McGrath <roland@hack.frob.com>
6435
48aec5b9
RM
6436 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6437 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6438
cd97c966
RM
6439 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6440 Define mkstemp64 as an alias.
3f55550c
RM
6441 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6442 Define mkstemps64 as an alias.
cd97c966
RM
6443 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6444 Define mkostemp64 as an alias.
b8625cfc
RM
6445 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6446 Define mkostemps64 as an alias.
cd97c966
RM
6447 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6448 Conditionalize body on this.
6449 * misc/mkostemp64.c: Likewise.
b8625cfc 6450 * misc/mkostemps64.c: Likewise.
3f55550c 6451 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6452 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6453 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6454 * sysdeps/wordsize-64/mkostemp.c: File removed.
6455 * sysdeps/wordsize-64/mkstemp.c: File removed.
6456 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6457 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6458 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6459 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6460
09c0ee5f
RM
6461 [BZ #14138]
6462 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6463 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6464 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6465 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6466
6467 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6468 compat_symbol macros from <shlib-compat.h> rather than the underlying
6469 default_symbol_version and symbol_version macros, so that DEFAULT
6470 lines in shlib-versions are respected.
6471 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6472
7e66ee51
FW
64732012-08-01 Florian Weimer <fweimer@redhat.com>
6474
6475 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6476 Declare with warn_unused_result.
6477 (setgid, setregid, setegid, setresgid): Likewise.
6478 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6479 Likewise.
6480 * WUR-REPORT: Remove set*id functions.
6481
d2a54255
PT
64822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6483
6484 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6485
7ecdb005
RM
64862012-07-31 Roland McGrath <roland@hack.frob.com>
6487
789bd351
RM
6488 * include/sys/socket.h (__libc_accept, __libc_accept4):
6489 Add attribute_hidden.
6490 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6491
40ce302d
RM
6492 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6493 use of PTR_MANGLE.
6494 * inet/getnetgrent_r.c (setup): Likewise.
6495
7ecdb005
RM
6496 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6497
e2eabb2c
DM
64982012-07-31 David S. Miller <davem@davemloft.net>
6499
6500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6501
d0419dbf
JM
65022012-07-31 Joseph Myers <joseph@codesourcery.com>
6503
6504 [BZ #13629]
6505 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6506 value between 1.0 and 2.0 and smaller part has absolute value less
6507 than 1.0.
6508 * math/s_clog10.c (__clog10): Likewise.
6509 * math/s_clog10f.c (__clog10f): Likewise.
6510 * math/s_clog10l.c (__clog10l): Likewise.
6511 * math/s_clogf.c (__clogf): Likewise.
6512 * math/s_clogl.c (__clogl): Likewise.
6513 * math/libm-test.inc (clog_test): Add more tests.
6514 (clog10_test): Likewise.
6515 * sysdeps/i386/fpu/libm-test-ulps: Update.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6517
2bc13872
FW
65182012-07-31 Florian Weimer <fweimer@redhat.com>
6519
6520 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6521 Exit with zero in case no suitable GID is found, and write a
6522 message to standard error.
6523
bea9b193
RM
65242012-07-30 Roland McGrath <roland@hack.frob.com>
6525
6526 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6527 rather than to 1.
6528 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6529 (MAXPATHLEN): Removed.
6530 (NOGROUP, NODEV): New macros.
6531 (setbit, clrbit, isset, isclr): New macros.
6532 (howmany, roundup, powerof2): New macros.
6533 (DEV_BSIZE): New macro.
6534
6535 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6536 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6537
6538 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6539 definition on [!__NO_LONG_DOUBLE_MATH].
6540
6541 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6542 PTR_MANGLE and PTR_DEMANGLE.
6543
6544 * socket/accept4.c (accept4): Rename to __libc_accept4.
6545 Define accept4 as a weak alias.
6546
6547 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6548 on [_DIRENT_HAVE_D_TYPE].
6549 * io/ftw.c (ftw_dir): Likewise.
6550
6551 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6552
6553 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6554
6555 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6556 Use the BSD numbers rather than the arbitrary ones we had.
6557 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6558 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6559 (SIGXCPU, SIGXFSZ): New macros.
6560 (_NSIG): Now 32.
6561
6562 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6563 initializer on [_LIBC_REENTRANT].
6564
6565 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6566 definitions inside [_POSIX_MAPPED_FILES].
6567
6568 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6569
6570 * dirent/opendir.c: Include <fcntl.h>.
6571
6572 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6573 (__libc_getspecific): Likewise.
6574 (__libc_key_create): Likewise.
6575
6576 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6577 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6578 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6579 (tmpfile64): Define as alias.
6580 * sysdeps/wordsize-64/tmpfile.c: File removed.
6581 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6582 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6583 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6584
6585 * stdio-common/vfscanf.c: Include <stdbool.h>.
6586 * nss/makedb.c: Likewise.
6587 * stdio-common/_i18n_number.h: Likewise.
6588 * argp/argp-help.c: Likewise.
6589 * posix/wordexp.c: Likewise.
6590 * sysdeps/posix/spawni.c: Likewise.
6591 * nss/nss_files/files-initgroups.c: Likewise.
6592 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6593 * nss/nss_files/files-initgroups.c: Likewise.
6594 * nss/nss_db/db-netgrp.c: Likewise.
6595 * nss/nss_db/db-initgroups.c: Likewise.
6596 * io/fchmodat.c: Include <sys/stat.h>.
6597
6598 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6599 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6600
6601 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6602 [HAVE_MMAP].
6603
6604 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6605 Add multiple inclusion protection.
6606
e5abc686
DM
66072012-07-27 David S. Miller <davem@davemloft.net>
6608
6609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6610
815e6fa3
GB
66112012-07-27 Gary Benson <gbenson@redhat.com>
6612
6613 [BZ #14298]
6614 * elf/rtld.c: Include <stap-probe.h>.
6615 (dl_main): Added static probes "init_start" and "init_complete".
6616 * elf/dl-load.c: Include <stap-probe.h>.
6617 (lose): Take new parameter "nsid".
6618 Added static probe "map_failed".
6619 (_dl_map_object_from_fd): Pass namespace id to lose.
6620 Added static probe "map_start".
6621 (open_verify): Pass namespace id to lose.
6622 * elf/dl-open.c: Include <stap-probe.h>.
6623 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6624 and "reloc_complete".
6625 * elf/dl-close.c: Include <stap-probe.h>.
6626 (_dl_close_worker): Added static probes "unmap_start" and
6627 "unmap_complete".
6628 * elf/rtld-debugger-interface.txt: New file documenting the above.
6629
9f98c16c
RM
66302012-07-26 Roland McGrath <roland@hack.frob.com>
6631
6632 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6633 rather than a string variable.
6634 * sunrpc/rpc_main.c (h_output): Likewise.
6635 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6636
f3c22df3
PT
66372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6638
6639 * inet/check_native.c: New file.
6640
3129cfc6
JM
66412012-07-26 Joseph Myers <joseph@codesourcery.com>
6642
da865e95
JM
6643 [BZ #13629]
6644 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6645 if larger part has absolute value 1.0.
6646 * math/s_clog10.c (__clog10): Likewise.
6647 * math/s_clog10f.c (__clog10f): Likewise.
6648 * math/s_clog10l.c (__clog10l): Likewise.
6649 * math/s_clogf.c (__clogf): Likewise.
6650 * math/s_clogl.c (__clogl): Likewise.
6651 * math/libm-test.inc (clog_test): Add more tests.
6652 (clog10_test): Likewise.
6653 * sysdeps/i386/fpu/libm-test-ulps: Update.
6654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6655
3129cfc6
JM
6656 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6657 (pltexit): Likewise.
6658 (La_regs): Likewise.
6659 (La_retval): Likewise.
6660 (int_retval): Likewise.
6661 Update #error for removed macros to refer only to definitions in
6662 tst-audit.h.
6663 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6664 macro.
6665 (pltexit): Likewise.
6666 (La_regs): Likewise.
6667 (La_retval): Likewise.
6668 (int_retval): Likewise.
6669 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6670 macro.
6671 (pltexit): Likewise.
6672 (La_regs): Likewise.
6673 (La_retval): Likewise.
6674 (int_retval): Likewise.
6675 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6676 macro.
6677 (pltexit): Likewise.
6678 (La_regs): Likewise.
6679 (La_retval): Likewise.
6680 (int_retval): Likewise.
6681 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6682 macro.
6683 (pltexit): Likewise.
6684 (La_regs): Likewise.
6685 (La_retval): Likewise.
6686 (int_retval): Likewise.
6687 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6688 macro.
6689 (pltexit): Likewise.
6690 (La_regs): Likewise.
6691 (La_retval): Likewise.
6692 (int_retval): Likewise.
6693 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6694 macro.
6695 (pltexit): Likewise.
6696 (La_regs): Likewise.
6697 (La_retval): Likewise.
6698 (int_retval): Likewise.
6699 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6700 macro definitions in tst-audit.h.
6701 * sysdeps/i386/tst-audit.h: New file.
6702 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6703 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6704 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6705 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6706 * sysdeps/sh/tst-audit.h: Likewise.
6707 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6708 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6709 * sysdeps/x86_64/tst-audit.h: Likewise.
6710
bfc07087
AJ
67112012-07-26 Andreas Jaeger <aj@suse.de>
6712
b1b2aaf8
AJ
6713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6714 ptrace.
6715
6716 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6717 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6718 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6719 PTRACE_O_MASK.
6720 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6721 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6723
bfc07087
AJ
6724 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6725 value.
6726
6727 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6728 _sigsys.
6729 (si_call_addr, si_syscall, si_arch): Define new macro.
6730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6731 _sigsys.
6732 (si_call_addr, si_syscall, si_arch): Define new marcro.
6733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6734 _sigsys.
6735 (si_call_addr, si_syscall, si_arch): Define new macro.
6736 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6737 _sigsys.
6738 (si_call_addr, si_syscall, si_arch): Define new macro.
6739
89b4b02f
JM
67402012-07-25 Joseph Myers <joseph@codesourcery.com>
6741
6742 [BZ #13717]
6743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6744 Change to 2.4.21 where previously 2.4.1.
6745 * sysdeps/unix/sysv/linux/configure: Regenerated.
6746 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6747 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6748 Linux kernel version.
6749 (__ASSUME_STD_AUXV): Remove.
6750 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6751 kernel version.
6752 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6753 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6754 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6755 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6756 (__ASSUME_NETLINK_SUPPORT): Likewise.
6757 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6758 (__no_netlink_support): Remove conditional definition.
6759 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6760 Remove.
6761 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6762 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6763 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6764 (if_nameindex_ioctl): Remove.
6765 (if_nameindex_netlink): Do not handle __no_netlink_support.
6766 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6767 code.
6768 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6769 Remove conditional code.
6770 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6771 code.
6772 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6773 unconditional.
6774 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6775 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6776 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6777 Remove.
6778 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6779 [!__ASSUME_STD_AUXV]: Remove conditional code.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6781 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6782 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6785 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6786 code.
6787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6789 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6790 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6791 conditional code.
6792 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6794 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6795 code.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6797 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6798 conditional code.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6800 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6801 code unconditional.
6802 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6803 conditional code.
6804 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6805 unconditional.
6806 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6807 conditional code.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6809 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6810 unconditional.
6811 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6812 conditional code.
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6814 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6815 code unconditional.
6816 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6817 conditional code.
6818 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6819 unconditional.
6820 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6821 conditional code.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6823 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6824 code unconditional.
6825 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6826 conditional code.
6827 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6828 unconditional.
6829 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6830 conditional code.
6831
842a39cd
AS
68322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6833
6834 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6835 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6836 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6837 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6838 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6839 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6840 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6841 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6842 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6843 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6844 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6845 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6846 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6847 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6848 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6849 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6850 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6852 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6854 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6855 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6857
84b3fd84
FW
68582012-07-25 Florian Weimer <fweimer@redhat.com>
6859
6860 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6861 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6862 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6863 Introduce __libc_secure_getenv.
0c7936d5
FW
6864 * stdlib/Versions (2.17): Add secure_getenv
6865 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6866 * stdlib/secure-getenv.c: Rename __secure_getenv to
6867 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6868 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6869 * stdlib/tst-secure-getenv.c: New.
6870 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6871 * manual/startup.texi (Environment Access): Document
6872 secure_getenv.
84b3fd84
FW
6873 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6874 __libc_secure_getenv.
6875 * inet/ruserpass.c (ruserpass): Likewise.
6876 * malloc/mtrace.c (mtrace): Likewise.
6877 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6878 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6879 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6880 * sysdeps/posix/tempname.c: Likewise. Evaluate
6881 HAVE_SECURE_GETENV.
6882 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6883 __secure_getenv to __libc_secure_getenv.
84b3fd84 6884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6886 Likewise.
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6888 Likewise.
6889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6896
56e49b71
JM
68972012-07-25 Joseph Myers <joseph@codesourcery.com>
6898
6899 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6900 (struct La_i86_retval): Likewise.
6901 (struct La_x86_64_regs): Likewise.
6902 (struct La_x86_64_retval): Likewise.
6903 (struct La_x32_regs): Likewise.
6904 (struct La_x32_retval): Likewise.
6905 (struct La_ppc32_regs): Likewise.
6906 (struct La_ppc32_retval): Likewise.
6907 (struct La_ppc64_regs): Likewise.
6908 (struct La_ppc64_retval): Likewise.
6909 (struct La_sh_regs): Likewise.
6910 (struct La_sh_retval): Likewise.
6911 (struct La_s390_32_regs): Likewise.
6912 (struct La_s390_32_retval): Likewise.
6913 (struct La_s390_64_regs): Likewise.
6914 (struct La_s390_64_retval): Likewise.
6915 (struct La_sparc32_regs): Likewise.
6916 (struct La_sparc32_retval): Likewise.
6917 (struct La_sparc64_regs): Likewise.
6918 (struct La_sparc64_retval): Likewise.
6919 (struct audit_ifaces): Remove architecture-specific pltenter and
6920 pltexit members.
6921 * sysdeps/i386/ldsodefs.h: New file.
6922 * sysdeps/powerpc/ldsodefs.h: Likewise.
6923 * sysdeps/s390/ldsodefs.h: Likewise.
6924 * sysdeps/sh/ldsodefs.h: Likewise.
6925 * sysdeps/sparc/ldsodefs.h: Likewise.
6926 * sysdeps/x86_64/ldsodefs.h: Likewise.
6927
354691b7
MP
69282012-07-25 Marek Polacek <polacek@redhat.com>
6929
6930 [BZ #6808]
6931 * math/libm-test.inc (yn_test): Add another test.
6932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6933 to ERANGE when the result is +-Inf.
6934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6937 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6938
bf9e2071
JM
69392012-07-24 Joseph Myers <joseph@codesourcery.com>
6940
6941 * conform/data/time.h-data (NULL): Use macro-constant. Require
6942 equal to 0.
6943 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6944 clock_t.
6945 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6946
57633811
TS
69472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6948
6949 * configure.in <sysdeps resolving>: Correct printing
6950 Implies_before.
6951 * configure: Regenerate.
6952
c23c33b0
TS
69532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6954
6955 * math/w_ilogb.c: Include <limits.h>.
6956 * math/w_ilogbl.c: Likewise.
6957
b5982523
JM
69582012-07-20 Joseph Myers <joseph@codesourcery.com>
6959
6960 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6961 va_copy. Document allowing for unavailable va_copy only as
6962 pre-C99 compatibility.
6963 * manual/string.texi (Copying and Concatenation): Use va_copy
6964 instead of __va_copy in concat example.
6965
ac4ea442
PT
69662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6967
6968 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6969 (__sendto): Use create_address_port. Initialize APORT and deallocate
6970 it if not null.
6971
f98eafbd
PT
6972 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6973 with O_NOLINK passed to __file_name_lookup.
6974
898c7aab
PT
6975 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6976 with O_NOLINK passed to __file_name_lookup.
6977
0ced335a
PT
6978 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6979 negative N or less than NGIDS.
6980
b3404dbd
PT
6981 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6982 type to string_t. Set ERANGE as errno and return it if NAME is not big
6983 enough. Use memcpy instead of strncpy.
6984
0f48659e
JM
69852012-07-20 Joseph Myers <joseph@codesourcery.com>
6986
6987 * elf/Makefile (check-data): Remove.
6988 (localplt.data): New vpath directive.
6989 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6990 instead of $(check-data).
6991 * scripts/data/localplt-generic.data: Move to ...
6992 * sysdeps/generic/localplt.data: ... here.
6993 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6994 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6995 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6997 ... here.
6998 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7000 ... here.
7001 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7003 ... here.
7004 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7006 ... here.
7007 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7009 ... here.
7010 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7012 ... here.
7013
d37cbdaa
AZ
70142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015
7016 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7017 PPC32 and PPC64 files.
7018 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7019 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7020
46f85fc2
AK
70212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7022
7023 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7024 __makecontext_ret to ...
7025 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7026 ... here and call exit if uc_link is NULL. New file.
7027 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7028 __makecontext_ret.S.
7029 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7030 __makecontext_ret to ...
7031 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7032 ... here and call exit if uc_link is NULL. New file.
7033 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7034 __makecontext_ret.S.
7035
08f43f9b
AK
70362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7037
7038 * elf/elf.h (R_390_IRELATIVE): New definition.
7039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7040 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7041 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7043 (elf_machine_lazy_rel): Likewise.
7044 * sysdeps/s390/dl-irel.h: New file.
7045 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7046 * sysdeps/s390/s390-64/memset.S: New asm code.
7047 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7048 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7050 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7051 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7052 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7054 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7055 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7056 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7057 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7058 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7059 * sysdeps/s390/s390-32/memset.S: New asm code.
7060 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7061
3b05db33
MP
70622012-07-17 Marek Polacek <polacek@redhat.com>
7063
7064 [BZ #14349]
7065 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7066 * sysdeps/s390/s390-64/configure.in: Likewise.
7067 * sysdeps/sparc/configure.in: Likewise.
7068 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7069 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7070 * sysdeps/i386/configure.in: Likewise.
7071 * sysdeps/x86_64/configure.in: Likewise.
7072 * sysdeps/sh/configure.in: Likewise.
7073 * sysdeps/s390/s390-32/configure: Regenerated.
7074 * sysdeps/s390/s390-64/configure: Likewise.
7075 * sysdeps/x86_64/configure: Likewise.
7076 * sysdeps/sh/configure: Likewise.
7077 * sysdeps/powerpc/powerpc64/configure: Likewise.
7078 * sysdeps/powerpc/powerpc32/configure: Likewise.
7079 * sysdeps/sparc/configure: Likwise.
7080 * sysdeps/i386/configure: Likewise.
7081
a66877c6
MP
7082 * elf/dl-open.c: Comment fixes.
7083
cfc82fd8
JM
70842012-07-17 Joseph Myers <joseph@codesourcery.com>
7085
bd29910a
JM
7086 * Makefile [CXX] (check-data): Remove.
7087 [CXX] (c++-types.data): New vpath directive.
7088 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7089 vpath. Do not allow for C++ type data being missing.
7090 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7091 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7092 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7093 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7094 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7095 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7096 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7098 ... here.
7099 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7101 ... here.
7102 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7104 ... here.
7105 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7107 ... here.
7108 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7110 ... here.
7111 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7113 ... here.
7114 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7116 ... here.
7117 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7119
cfc82fd8
JM
7120 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7121 definitions to architecture-specific files.
7122 (TLS_IE): Likewise.
7123 (TLS_LD): Likewise.
7124 (TLS_GD): Likewise.
7125 * sysdeps/i386/tls-macros.h: New file.
7126 * sysdeps/powerpc/tls-macros.h: Likewise.
7127 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7128 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7129 * sysdeps/sh/tls-macros.h: Likewise.
7130 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7131 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7132 * sysdeps/x86_64/tls-macros.h: Likewise.
7133
f7db3170
TS
71342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7135
07cbfc23
TS
7136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7137 zero value for regular exit case.
7138
f7db3170
TS
7139 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7140 (__start_context): Preserve zero value for regular exit case.
7141
dc97c227
TS
71422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7143 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7144
7145 * manual/setjmp.texi (setcontext): Clarify normal process
7146 termination when uc_link is the null pointer.
7147 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7148 exit call.
7149
d0cd7d02
AS
71502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7151
7152 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7153 preprocessor. Test for each exception mask separately.
7154
dd318934
AJ
71552012-07-16 Andreas Jaeger <aj@suse.de>
7156
7157 * po/ru.po: Update from translation team.
7158
8048311a
JM
71592012-07-15 Joseph Myers <joseph@codesourcery.com>
7160
7161 * conform/data/string.h-data (NULL): Use macro-constant. Require
7162 equal to 0.
7163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7164 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7165 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7166 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7168
b637d46e
AJ
71692012-07-13 Andreas Jaeger <aj@suse.de>
7170
7171 * po/fr.po: Update from translation team.
7172
541428fe
MP
71732012-07-12 Marek Polacek <polacek@redhat.com>
7174
7175 [BZ #14173]
7176 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7178 loop condition.
7179
ec332e94
JM
71802012-07-12 Joseph Myers <joseph@codesourcery.com>
7181
7182 [BZ #13717]
7183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7184 Change to 2.4.1 where previously 2.4.0.
7185 * sysdeps/unix/sysv/linux/configure: Regenerated.
7186 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7187 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7188 version.
7189 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7190 (__ASSUME_AT_CLKTCK): Remove.
7191 (__ASSUME_AT_PAGESIZE): Likewise.
7192 (__ASSUME_AT_XID): Likewise.
7193 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7194 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7195 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7196 unconditionally.
7197 (HAVE_AUX_PAGESIZE): Likewise.
7198 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7199 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7200 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7201
7b6e99be
JB
72022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7203
7204 [BZ #14307]
7205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7206 the temporary buffer used to invoke __gethostbyname2_r,
7207 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7208 host_data / struct gaih_addrtuple.
7209 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7210 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7211 header file nss/nsswitch.h.
7212 * nss/nsswitch.h (global scope): Add definition of implementation
7213 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7214 resolv/nss_dns/dns-host.c).
7215
608404eb
AJ
72162012-07-11 Andreas Jaeger <aj@suse.de>
7217
7218 * po/fr.po: Update from translation team.
7219
71220aca
AJ
7220 * po/sv.po: Update from translation team
7221 * po/fr.po: Another update from translation team.
7222
28cfe843
AZ
72232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7224
7225 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7226 for subnormals or multiply small sinh result by itself.
7227 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7229
6b90f981
DM
72302012-07-11 David S. Miller <davem@davemloft.net>
7231
7232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7233
c6825772
AS
72342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7235
7236 [BZ #14347]
7237 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7238 (INTERNAL_MARK): Shift it here.
7239
7b8e0d49
MP
72402012-07-10 Marek Polacek <polacek@redhat.com>
7241
7242 [BZ #14151]
7243 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7244 libc_cv_asm_global_directive with .globl.
7245 * configure: Regenerated.
7246 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7247 with .globl.
7248 * sysdeps/i386/configure: Regenerated.
7249 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7250 with .globl.
7251 * sysdeps/x86_64/configure: Regenerated.
7252 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7253 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7254 * elf/tst-unique2mod2.c: Likewise.
7255 * elf/tst-unique2mod1.c: Likewise.
7256 * elf/tst-unique1mod2.c: Likewise.
7257 * elf/tst-unique1mod1.c: Likewise.
7258 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7259 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7262 * sysdeps/mach/sysdep.h: Likewise.
7263 * sysdeps/i386/sysdep.h: Likewise.
7264 * sysdeps/i386/i386-mcount.S: Likewise.
7265 * sysdeps/x86_64/_mcount.S: Likewise.
7266 * sysdeps/x86_64/sysdep.h: Likewise.
7267 * sysdeps/sh/_mcount.S: Likewise.
7268 * sysdeps/sh/sysdep.h: Likewise.
7269 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7270 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7271 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7273 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7274 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7275 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7276 * locale/localeinfo.h: Likewise.
7277 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7278 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7279
6c55cda3
RM
72802012-07-09 Roland McGrath <roland@hack.frob.com>
7281
7282 [BZ #14336]
7283 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7284 system".
7285 * manual/message.texi (The Uniforum approach): Likewise.
7286 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7287 (glibc iconv Implementation): Likewise.
7288
638a572e
JM
72892012-07-09 Joseph Myers <joseph@codesourcery.com>
7290
7291 [BZ #14337]
7292 * math/s_clog.c (__clog): Avoid scaling a value down where that
7293 could result in underflow.
7294 * math/s_clog10.c (__clog10): Likewise.
7295 * math/s_clog10f.c (__clog10f): Likewise.
7296 * math/s_clog10l.c (__clog10l): Likewise.
7297 * math/s_clogf.c (__clogf): Likewise.
7298 * math/s_clogl.c (__clogl): Likewise.
7299 * math/libm-test.inc (clog_test): Add more tests.
7300 (clog10_test): Likewise.
7301 * sysdeps/i386/fpu/libm-test-ulps: Update.
7302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7303
261f4859
AS
73042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7305
0abaf3e4
AS
7306 [BZ #14283]
7307 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7308 by 7 not 8 to examine high bit of fractional part.
7309
261f4859
AS
7310 [BZ #14042]
7311 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7312 for call to __mcount_internal.
7313 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7314 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7315 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7316
f17ac40d
JM
73172012-07-06 Joseph Myers <joseph@codesourcery.com>
7318
9ad63c23
JM
7319 [BZ #14154]
7320 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7321 approximation for values within 0x1p-13f of an odd multiple of
7322 pi/4.
7323 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7324 exception. Add more tests.
7325 * sysdeps/i386/fpu/libm-test-ulps: Update.
7326
f17ac40d
JM
7327 [BZ #6778]
7328 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7329 inputs and return -1 for them. Do not check for +Inf in case not
7330 reachable for +Inf.
7331 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7332 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7334 and return -1 for them. Do not check for +Inf in case not
7335 reachable for +Inf.
7336 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7337 define.
7338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7339 and return -1 for them. Do not check for +Inf in case not
7340 reachable for +Inf.
7341 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7342 spurious underflow.
7343 * sysdeps/i386/fpu/libm-test-ulps: Update.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7345
fb21f89b
MF
73462012-07-06 Mike Frysinger <vapier@gentoo.org>
7347
7348 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7349
cdfe2c5e
JM
73502012-07-05 Joseph Myers <joseph@codesourcery.com>
7351
7352 [BZ #14157]
7353 [BZ #14331]
7354 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7355 could result in spurious underflow. Scale down values above
7356 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7357 * math/s_csqrtf.c (__csqrtf): Likewise.
7358 * math/s_csqrtl.c (__csqrtl): Likewise.
7359 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7360 spurious underflow.
7361 * sysdeps/i386/fpu/libm-test-ulps: Update.
7362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7363
70d35b67
AS
73642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7365
704bc459
AS
7366 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7367 xopen-msg.sed.
7368 * catgets/xopen-msg.awk: New file.
7369 * catgets/xopen-msg.sed: Removed.
7370
70d35b67
AS
7371 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7372 po2text.sed.
7373 * intl/po2test.awk: New file.
7374 * intl/po2test.sed: Removed.
7375
ca61cf32
JM
73762012-07-04 Joseph Myers <joseph@codesourcery.com>
7377
7378 [BZ #14328]
7379 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7380 or multiply small sinh result by itself.
7381 * math/s_ctanf.c (__ctanf): Likewise.
7382 * math/s_ctanh.c (__ctanh): Likewise.
7383 * math/s_ctanhf.c (__ctanhf): Likewise.
7384 * math/s_ctanhl.c (__ctanhl): Likewise.
7385 * math/s_ctanl.c (__ctanl): Likewise.
7386 * math/libm-test.inc (ctan_test_tonearest): New function.
7387 (ctan_test_towardzero): Likewise.
7388 (ctan_test_downward): Likewise.
7389 (ctan_test_upward): Likewise.
7390 (ctanh_test_tonearest): Likewise.
7391 (ctanh_test_towardzero): Likewise.
7392 (ctanh_test_downward): Likewise.
7393 (ctanh_test_upward): Likewise.
7394 (main): Call these new functions.
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397
ca48a46a
MF
73982012-07-03 Mike Frysinger <vapier@gentoo.org>
7399
7400 * .gitignore: Delete /ports entry.
7401
9d63d37d
AJ
74022012-07-03 Andreas Jaeger <aj@suse.de>
7403
7404 * po/bg.po: Update from translation team.
7405 * po/cs.po: Likewise.
7406 * po/de.po: Likewise.
7407 * po/hr.po: Likewise.
7408 * po/nl.pl: Likewise.
7409 * po/pl.po: Likewise.
7410 * po/vi.po: Likewise.
7411
370ca3d2
JM
74122012-07-03 Joseph Myers <joseph@codesourcery.com>
7413
95f5a9a8
JM
7414 * Makeconfig [!+link] (+link-before-libc): New variable.
7415 [!+link] (+link-after-libc): Likewise.
7416 [!+link] (+link-tests): Likewise.
7417 [!+link] (+link): Define in terms of $(+link-before-libc) and
7418 $(+link-after-libc).
7419 [!+link-static] (+link-static-before-libc): New variable.
7420 [!+link-static] (+link-static-after-libc): Likewise.
7421 [!+link-static] (+link-static-tests): Likewise.
7422 [!+link-static] (+link-static): Define in terms of
7423 $(+link-static-before-libc) and $(+link-static-after-libc).
7424 [build-shared] (link-libc-before-gnulib): New variable.
7425 [build-shared] (link-libc-tests): Likewise.
7426 [build-shared] (link-libc): Define in terms of
7427 $(link-libc-before-gnulib).
7428 [!build-shared] (link-libc-tests): New variable.
7429 (link-libc-static-tests): New variable.
7430 [!gnulib] (gnulib-arch): New variable.
7431 [!gnulib] (gnulib-tests): Likewise.
7432 [!gnulib] (static-gnulib-arch): Likewise.
7433 [!gnulib] (static-gnulib-tests): Likewise.
7434 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7435 Define with "=" instead of ":=".
7436 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7437 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7438 * Rules (binaries-all-notests): New variable.
7439 (binaries-all-tests): Likewise.
7440 (binaries-static-notests): Likewise.
7441 (binaries-static-tests): Likewise.
7442 (binaries-all): Define using $(binaries-all-notests) and
7443 $(binaries-all-tests).
7444 (binaries-static): Define using $(binaries-static-notests) and
7445 $(binaries-static-tests).
7446 (binaries-shared-tests): New variable.
7447 (binaries-shared-notests): Likewise.
7448 (binaries-shared): Remove variable.
7449 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7450 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7451 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7452 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7453 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7454 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7455 * elf/Makefile (sln-modules): New variable.
7456 (extra-objs): Add $(sln-modules:=.o).
7457 (ldconfig-modules): Add static-stubs.
7458 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7459 * elf/static-stubs.c: New file.
7460
7a845b2c
JM
7461 [BZ #14283]
7462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7463 by 7 not 8 to examine high bit of fractional part. Use volatile
7464 variables when splitting into final array of floats if
7465 __FLT_EVAL_METHOD__ != 0.
7466 * math/libm-test.inc (cos_test): Add another test.
7467 (sin_test): Likewise.
7468 * sysdeps/i386/fpu/libm-test-ulps: Update.
7469
e2283f38
JM
7470 [BZ #14273]
7471 * math/libm-test.inc (cosh_test): Add more tests.
7472
370ca3d2
JM
7473 * version.h (RELEASE): Set to "development".
7474 (VERSION): Set to "2.16.90".
7475
ee9247c3
CD
74762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7477
7478 * NEWS: Update copyright. Remove last-updated date.
7479 Mention math library bug fixes and timezone data changes.
7480 * README: Mention GNU/Hurd, x32, and HPPA support status.
7481
4648c381
TS
74822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7483
7484 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7485
aac78a43
AJ
74862012-06-27 Andreas Jaeger <aj@suse.de>
7487
7488 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7489
ed3dbfad
AJ
74902012-06-25 Andreas Jaeger <aj@suse.de>
7491
7492 * sysdeps/s390/fpu/libm-test-ulps: Update.
7493
4d0ee855
AS
74942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7495 Thomas Schwinge <thomas@codesourcery.com>
7496
7497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7498 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7500 fanotify_mark.
7501
af1bce34
TS
75022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7503
a9fa33ba
TS
7504 * sysdeps/mach/start.c: Remove file.
7505 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7506 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7507 * sysdeps/sh/init-first.c: Likewise.
7508
58f902b8
TS
7509 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7510 registers for frame unwinding purposes, add CFI directives.
7511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7513 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7514 Likewise.
7515
1518f58b
TS
7516 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7517 __fortify_fail returning.
7518 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7519
db9b5059
TS
7520 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7521 sysdeps/sh/____longjmp_chk.S.
7522 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7523 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7524 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7525 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7526
967705fe
TS
7527 * sysdeps/sh/abort-instr.h: New file.
7528 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7529 process in case exit returns.
7530
a9def8c4
TS
7531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7532 initialize the GOT register before use.
7533
2a649725
TS
7534 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7535 calculation of ARGC > 4.
7536
af1bce34
TS
7537 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7538 meaningful names to some local labels.
7539
d230f50a
KK
75402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7541 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7542
7543 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7544 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7545 (__arch_compare_and_exchange_val_16_acq): Likewise.
7546 (__arch_compare_and_exchange_val_32_acq): Likewise.
7547 (atomic_exchange_and_add): Fix gUSA sequence.
7548 (atomic_add): Likewise.
7549 (atomic_add_negative): Likewise.
7550 (atomic_add_zero): Likewise.
7551 (atomic_bit_test_set): Likewise.
7552
0479b305
AS
75532012-06-22 Andreas Schwab <schwab@redhat.com>
7554
7555 [BZ #13579]
7556 * include/link.h (struct link_map): Add l_free_initfini.
7557 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7558 l_initfini.
7559 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7560 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7561 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7562 set.
7563
0e3933b9
CD
75642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7565
7566 * configure.in: Use AC_LANG_SOURCE.
7567 * configure: Regenerate.
7568
4248b1b1
RM
75692012-06-22 Roland McGrath <roland@hack.frob.com>
7570
7571 * configure.in (libc_cv_localstatedir): New substituted variable.
7572 * configure: Regenerated.
7573 * config.make.in (localstatedir): New variable, substituted from
7574 libc_cv_localstatedir.
7575 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7576 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7577 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7578 * sysdeps/gnu/configure: Regenerated.
7579
006dd861
JL
75802012-06-21 Jeff Law <law@redhat.com>
7581
7582 [BZ #14277]
7583 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7584 free. Simplify list management for _LIBC case.
7585
79662d42
JM
75862012-06-21 Joseph Myers <joseph@codesourcery.com>
7587
b7abb4bf
JM
7588 [BZ #14273]
7589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7590 Clear sign bit of 64-bit integer value before comparing against
7591 overflow value.
7592
79662d42
JM
7593 * sysdeps/mach/configure: Regenerated.
7594
1f150908
L
75952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7596
7597 [BZ #14278]
7598 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7599
28363bbf
JL
76002012-06-21 Jeff Law <law@redhat.com>
7601
7602 [BZ #13882]
7603 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7604 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7606 * elf/dl-open.c (dl_open_worker): Likewise.
7607
09615db4
CD
76082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7609
7610 * scripts/list-sources.sh: Scan PORTS for translations.
7611 * po/libc.pot: Regenerated.
7612
2174c6dd
AJ
76132012-06-21 Andreas Jaeger <aj@suse.de>
7614
7615 [BZ #12194]
7616 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7617 warning.
7618 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7619 * bits/byteswap-16.h (__bswap_16): Likewise.
7620 * bits/byteswap.h (__bswap_constant_16): Likewise.
7621
3ee947b1
L
76222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7623
7624 [BZ #14117]
a2f34833
L
7625 * sysdeps/i386/fpu_control.h: Removed.
7626 * sysdeps/x86_64/fpu_control.h: Moved to ...
7627 * sysdeps/x86/fpu_control.h: Here.
7628
3ee947b1
L
7629 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7630 (_FPU_SETCW): Likewise.
7631
ed1825f8
L
76322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7633
25f1282a
L
7634 [BZ #14117]
7635 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7636 * sysdeps/x86/fpu/bits/mathinline.h: This.
7637 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7638
ed1825f8
L
7639 [BZ #14050]
7640 [BZ #14117]
7641 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7642 functions if __x86_64__ is defined.
7643
36d54b74
CLT
76442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7645
7646 * string/endian.h: Add !__ASSEMBLER__ condition for including
7647 conversion interfaces.
7648
10285c21
JM
76492012-06-15 Joseph Myers <joseph@codesourcery.com>
7650
7651 [BZ #14241]
7652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7653 of ABS(x) in calculating zero to negative powers other than odd
7654 integers.
7655 * math/libm-test.inc (pow_test): Add more tests.
7656
06c5abbd
AJ
76572012-06-15 Andreas Jaeger <aj@suse.de>
7658
7659 * manual/contrib.texi (Contributors): Update entry of Liubov
7660 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7661 Machado Filho.
7662
a3aeac40
CH
76632012-06-15 Cyril Hrubis <metan@ucw.cz>
7664
7665 * string/string.h: Add __wur to GNU version of strerror_r.
7666
49bdf4c1
L
76672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7668
7669 [BZ #14229]
7670 * string/Makefile (tests): Add tst-strtok_r.
7671 * string/tst-strtok_r.c: New file.
7672 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7673 RAX_LP/RDX_LP on SAVE_PTR.
7674
834f9b8d
RM
76752012-06-14 Roland McGrath <roland@hack.frob.com>
7676
7677 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7678
75fa1921
JM
76792012-06-14 Joseph Myers <joseph@codesourcery.com>
7680
7681 * libm_test.inc (csqrt_test): Allow more spurious underflow
7682 exceptions.
7683 (j0_test): Likewise.
7684 (j1_test): Likewise.
7685 (y0_test): Likewise.
7686 (y1_test): Likewise.
7687
771766df
CD
76882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7689
7690 * po/Makefile (libc.pot): Use UTF-8 charset.
7691
ceb9e56b
PP
76922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7693
7694 [BZ #14210]
7695 Suppress sign-conversion warning from FD_SET.
7696 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7697 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7698 not unsigned long int.
7699 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7700
ddb28975
L
77012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7702
7703 [BZ #14050]
7704 [BZ #14117]
7705 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7706 __extern_always_inline instead of __extern_inline.
7707 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7708 (__signbit): Likewise.
7709 (__signbitl): Support C++ namespace.
7710 (lrintf): New inline function.
7711 (lrint): Likewise.
7712 (llrintf): Likewise.
7713 (llrint): Likewise.
7714 (fmaxf): Likewise.
7715 (fmax): Likewise.
7716 (fminf): Likewise.
7717 (fmin): Likewise.
7718 (rint): Likewise.
7719 (rintf): Likewise.
7720 (ceil): Likewise.
7721 (ceilf): Likewise.
7722 (floor): Likewise.
7723 (floorf): Likewise.
7724 (nearbyint): Likewise.
7725 (nearbyintf): Likewise.
7726
d7b4fb26
TS
77272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7728
7729 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7730 non-default versions.
7731
eb55f5c2
RM
77322012-06-11 Roland McGrath <roland@hack.frob.com>
7733
7734 [BZ #14218]
7735 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7736
366af02c
TS
77372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7738
99ff6e5c
TS
7739 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7740 (FE_UPWARD, FE_DOWNWARD): Don't define.
7741 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7743
366af02c
TS
7744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7745 reading it.
7746 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7748
793ea851
KK
77492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7750
7751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7753 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7754 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7755
a728a38f
L
77562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7757
7758 [BZ #14117]
c08010c7
L
7759 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7760 * sysdeps/i386/fpu/Implies: New file.
7761 * sysdeps/x86_64/fpu/Implies: Likewise.
7762 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7763 * sysdeps/x86/fpu/bits/fenv.h: This.
7764
a728a38f
L
7765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7766 __SSE_MATH__.
7767
6e230d11
SP
77682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7769
7770 [BZ #14134]
7771 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7772 character 0xffff that matches the last element of the
7773 conversion table.
7774
1b671feb
AZ
77752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7776
7777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7778 fmodl commit.
7779
6043738b
AZ
77802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7781
7782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7783 values higher than 25.6283.
7784
34ae0b32
AZ
77852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7786
7787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7788 subnormal exponent extraction and add some __builtin_expect.
7789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7790 Fix for subnormal mantissa calculation.
7791
1214ec8f
MF
77922012-06-04 Mike Frysinger <vapier@gentoo.org>
7793
7794 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7795 cpu2 is -1 and errno is not ENOSYS.
7796
f3d1f93c
L
77972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7798
7799 [BZ #14117]
0e4a3cd7
L
7800 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7801 * sysdeps/x86/bits/string.h: This.
7802 * sysdeps/x86_64/bits/string.h: Removed.
7803
6704c645
L
7804 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7805 if not compiling for x86-64, but compiling for >= i486.
7806
48495318
L
7807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7808 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7809
14adcbfc
L
7810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7811 New macro from Linux kernel 3.4.0.
7812 (FP_XSTATE_MAGIC2): Likewise.
7813 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7814 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7815 (struct _fpx_sw_bytes): New struct.
7816 (struct _xsave_hdr): Likewise.
7817 (struct _ymmh_state): Likewise.
7818 (struct _xstate): Likewise.
7819
68e408ab
L
7820 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7821 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7823 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7824 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7825 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7826
f3d1f93c
L
7827 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7828 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7829 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7830 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7831 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7832 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7833
d9dc34cd
TMQMF
78342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7835
7836 [BZ #13743]
7837 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7838 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7839 (sysdep_headers): Include sys/platform/ppc.h.
7840 * sysdeps/powerpc/test-gettimebase.c: Test for
7841 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7842 * manual/Makefile (appendices): Include platform.texi.
7843 * manual/contrib.texi (Contributors): Update @node pointers.
7844 * manual/maint.texi (Maintenance): Likewise.
7845 (Platform): New node.
7846 * manual/platform.texi: New file. Document the new features.
7847
4af3879c
SP
78482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7849 Jakub Jelinek <jakub@redhat.com>
7850
7851 [BZ #14188]
7852 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7853 where __builtin_expect is unavailable.
7854
2fd6ff13
DM
78552012-06-03 David S. Miller <davem@davemloft.net>
7856
7857 * stdlib/longlong.h: Updated from GCC.
7858
173f7220
AS
78592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7860
7861 [BZ #14042]
7862 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7863 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7864 __mcount_internal.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7866 (GLIBC_2.16): Likewise.
7867
f34a1c6f
L
78682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7869
7870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7871
88a4576f
JM
78722012-06-01 Joseph Myers <joseph@codesourcery.com>
7873
ea32bcdd
JM
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7875 (default-abi): New variable.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7877 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7878 variable.
7879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7880 Likewise.
7881 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7882 Likewise.
7883 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7884 Likewise.
7885
88a4576f
JM
7886 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7887 definition. Document in comment.
7888
402fe938
DM
78892012-06-01 David S. Miller <davem@davemloft.net>
7890
7891 * stdlib/longlong.h: Updated from GCC.
7892
3553723f
L
78932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 [BZ #14117]
3bd872c4
L
7896 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7897 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7898 sys/debugreg.h sys/io.h here.
7899 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7900 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7901 sys/io.h.
7902 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7903 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7904 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7905 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7906 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7907 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7908
3553723f
L
7909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7910 Define only if __x86_64__ is defined.
7911
4842e4fe
JM
79122012-06-01 Joseph Myers <joseph@codesourcery.com>
7913
c5bfe3d5
JM
7914 [BZ #14048]
7915 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7916 Use int64_t for variable i.
7917 * math/libm-test.inc (fmod_test): Add more tests.
7918
4842e4fe
JM
7919 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7920 z computation is not scheduled after fetestexcept.
7921 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7922 Use math_force_eval instead of asm to ensure calculation scheduled
7923 before exception test.
7924 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7925 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7926
efb73488
AJ
79272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7928
7929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7930 computation is not scheduled after fetestexcept.
7931
29bcce7c
L
79322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7933
7934 [BZ #14117]
7935 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7936 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7937
73a68f94
AZ
79382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7939
7940 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7942
67b6df78
L
79432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7944
edf2933a 7945 [BZ #14117]
ebc64a18
L
7946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7947 <bits/wordsize.h>.
7948 (__WCHAR_MIN): Support __WORDSIZE == 64.
7949 (__WCHAR_MAX): Likewise.
7950
edf2933a
L
7951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7953
57c6cf40
L
7954 [BZ #14183]
7955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7956 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7957
67b6df78 7958 [BZ #14117]
8eb6281e
L
7959 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7961
aac639f4
L
7962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7963 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7964
67b6df78
L
7965 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7966 Defined to 1 if __x86_64__ isn't defined.
7967 (_STAT_VER_LINUX_OLD): New.
7968 (st_atime): Remove duplicate.
7969 (st_mtime): Likewise.
7970 (st_ctime): Likewise.
7971
1c2cfe81
DM
79722012-05-31 David S. Miller <davem@davemloft.net>
7973
7974 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7975 entries.
7976
5be8418c
AS
79772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7978
e7725326
AS
7979 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7980 gen-libm-test.pl.
7981
5be8418c
AS
7982 [BZ #14132]
7983 * elf/dl-reloc.c: Include <_itoa.h>.
7984 (_dl_reloc_bad_type): Remove use of INTUSE.
7985 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7986 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7987 * stdio-common/psiginfo.c (psiginfo): Likewise.
7988 * stdio-common/psignal.c (psignal): Likewise.
7989 * string/strsignal.c (strsignal): Likewise.
7990 * include/signal.h (_sys_siglist): Declare hidden proto.
7991 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7992 INTVARDEF with libc_hidden_data_def.
7993 * stdio-common/itoa-udigits.c: Likewise.
7994 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7995 (_itoa_lower_digits_internal): Remove declaration.
7996 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7997 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7998 (_sys_sigabbrev_internal): Remove aliases.
7999 (_sys_siglist): Define hidden alias.
8000
507352f1
MT
80012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8002
8003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8004 bits/sysctl.h.
8005
42bbb1c3
L
80062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 [BZ #14117]
6bd784b6
L
8009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8010 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8011
8bca20f0
L
8012 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8014 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8015 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8017 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8018
f9e890a9
L
8019 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8022
471101a1
L
8023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8024 with __addr.
8025 (insw): Likewise.
8026 (insl): Likewise.
8027 (outsb): Likewise.
8028 (outsw): Likewise.
8029 (outsl): Likewise.
8030
6451c862
L
8031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8034
a254b8c9
L
8035 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8036 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8038 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8039 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8040 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8041
b8dfdd92
L
8042 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8043 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8044
578cd270
L
8045 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8046 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8047
de662f5f
L
8048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8051
25653439
L
8052 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8053 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8054 to ...
8055 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8056
6bad24a0
L
8057 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8058 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8059 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8060
42bbb1c3
L
8061 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8062 for x86-64.
8063 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8064
2d10d547
JM
80652012-05-31 Joseph Myers <joseph@codesourcery.com>
8066
8067 * math/math.h (M_El): Use two more decimal places.
8068 (M_LOG2El): Likewise.
8069 (M_LOG10El): Likewise.
8070 (M_LN2l): Likewise.
8071 (M_LN10l): Likewise.
8072 (M_PIl): Likewise.
8073 (M_PI_2l): Likewise.
8074 (M_PI_4l): Likewise.
8075 (M_1_PIl): Likewise.
8076 (M_2_PIl): Likewise.
8077 (M_2_SQRTPIl): Likewise.
8078 (M_SQRT2l): Likewise.
8079 (M_SQRT1_2l): Likewise.
8080
f230c29b
DM
80812012-05-31 David S. Miller <davem@davemloft.net>
8082
8083 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8084 values between float registers.
8085 * sysdeps/sparc/sparc64/memset.S: Likewise.
8086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8087
fed806c3
MF
80882012-05-31 Mike Frysinger <vapier@gentoo.org>
8089
8090 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8091 -D_FORTIFY_SOURCE=1.
8092 (CPPFLAGS-tst-longjmp_chk.c): Define.
8093 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8094 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8095 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8096 CFLAGS-tst-wchar-h.c.
8097
30917259
MP
80982012-05-31 Marek Polacek <polacek@redhat.com>
8099
8100 [BZ #14132]
8101 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8102 __endmntent_internal): Remove declaration.
8103 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8104 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8105 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8106
1c58d5dc
DM
81072012-05-30 David S. Miller <davem@davemloft.net>
8108
8109 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8110 (___Q_simulate_exceptions): Use real FP ops rather than writing
8111 into the %fsr.
8112 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8113 Likewise.
8114
7dc00e0d
L
81152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8116
8117 [BZ #14117]
0bd53985
L
8118 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8119 * sysdeps/x86/bits/xtitypes.h: This.
8120
3a257e66
L
8121 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8122 * sysdeps/x86/bits/wordsize.h: This.
8123
62f62904
L
8124 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8125 * sysdeps/x86/bits/huge_vall.h: This.
8126
404fe9d9
L
8127 * sysdeps/i386/bits/select.h: Removed.
8128 * sysdeps/x86_64/bits/select.h: Renamed to ...
8129 * sysdeps/x86/bits/select.h: This.
8130
d48d0446
L
8131 * sysdeps/i386/bits/setjmp.h: Removed.
8132 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8133 * sysdeps/x86/bits/setjmp.h: This.
8134
7dc00e0d
L
8135 * sysdeps/i386/bits/mathdef.h: Removed.
8136 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8137 * sysdeps/x86/bits/mathdef.h: This.
8138
03277f8f
AS
81392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8140
8141 [BZ #14132]
8142 * include/sys/socket.h (__connect_internal)
8143 (__libc_sa_len_internal): Remove declaration.
8144 (__connect, __libc_sa_len): Declare hidden_proto.
8145 (SA_LEN): Remove use of INTUSE.
8146 * socket/connect.c: Add libc_hidden_def.
8147 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8148 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8149 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8150 alias.
8151 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8153 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8154 of adding _internal alias.
8155
13764867
L
81562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8157
8158 [BZ #14117]
6bd97696
L
8159 * sysdeps/i386/bits/link.h: Removed.
8160 * sysdeps/i386/bits/linkmap.h: Likewise.
8161 * sysdeps/x86_64/bits/link.h: Renamed to ...
8162 * sysdeps/x86/bits/link.h: This.
8163 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8164 * sysdeps/x86/bits/linkmap.h: This.
8165
f726f0bb
L
8166 * sysdeps/i386/bits/endian.h: Removed.
8167 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8168 * sysdeps/x86/bits/endian.h: This.
8169
13764867
L
8170 * sysdeps/i386/bits/byteswap.h: Removed.
8171 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8172 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8173 * sysdeps/x86/bits/byteswap.h: This.
8174 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8175 * sysdeps/x86/bits/byteswap-16.h: This.
8176 * sysdeps/i386/Implies: Add x86.
8177 * sysdeps/x86_64/Implies: Likewise.
8178
ae251b0b
DM
81792012-05-30 David S. Miller <davem@davemloft.net>
8180
8181 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8182 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8184 (FP_TRAPPING_EXCEPTIONS): Define.
8185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8186 (FP_TRAPPING_EXCEPTIONS): Define.
8187 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8188 subnormals only when inexact has been signalled or underflow
8189 exceptions are enabled.
8190 (_FP_PACK_CANONICAL): Likewise.
8191
d5c90867
L
81922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 [BZ #14183]
8195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8196 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8197
63f1549e
RH
81982012-05-30 Richard Henderson <rth@twiddle.net>
8199
8d8f2279
RH
8200 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8201 with #ifndef NOT_IN_libc.
8202
63f1549e
RH
8203 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8204 marked to avoid plt entry.
8205
0ab0291b
L
82062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 [BZ #14112]
8209 * Makeconfig (default-abi): New macro.
8210 (abi-includes): Likewise.
8211 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8212 $(abi-$(default-abi)-lib-soname) for soname if defined.
8213 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8214 abi-variants.
8215 * Makefile (installed-stubs): Likewise.
8216 * include/stubs-biarch.h: Removed.
8217 * scripts/lib-names.awk: Only handle one library at a time.
8218 * scripts/soversions.awk: Remove WORDSIZE support.
8219 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8220 entries.
8221 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8222 Removed.
8223 (syscall-list-default-condition): Likewise.
8224 (syscall-list-default-condition): Likewise.
8225 (syscall-list-includes): Likewise.
8226 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8227 syscall-list-* with abi-*. Handle undefined abi-variants.
8228 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8229 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8230 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8231 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8232 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8233 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8234 Removed.
8235 (syscall-list-32-options): Likewise.
8236 (syscall-list-32-condition): Likewise.
8237 (syscall-list-64-options): Likewise.
8238 (syscall-list-64-condition): Likewise.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8240 macro.
8241 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8242 Renamed to ...
8243 (abi-*): This.
8244 (abi-64-ld-soname): New macro.
8245 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8247 Renamed to ...
8248 (abi-*): This.
8249 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8250 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8251
4da0431d
JM
82522012-05-30 Joseph Myers <joseph@codesourcery.com>
8253
3a85279c
JM
8254 * sysdeps/unix/sysv/linux/kernel-features.h
8255 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8256 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8257 include <kernel-features.h>.
8258 [!__NR_ftruncate64]: Remove conditional code.
8259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8260 [__NR_ftruncate64]: Make code unconditional.
8261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8262 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8263 include <kernel-features.h>.
8264 [!__NR_ftruncate64]: Remove conditional code.
8265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8266 [__NR_ftruncate64]: Make code unconditional.
8267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8269 include <kernel-features.h>.
8270 [!__NR_ftruncate64]: Remove conditional code.
8271 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8272 [__NR_ftruncate64]: Make code unconditional.
8273 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8275 include <kernel-features.h>.
8276 [!__NR_ftruncate64]: Remove conditional code.
8277 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8278 [__NR_ftruncate64]: Make code unconditional.
8279 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8280
4da0431d
JM
8281 * configure.in (libc_cv_fpie): Weaken to a compile test using
8282 LIBC_TRY_CC_OPTION.
8283 * configure: Regenerated.
8284
11ef492c
AK
82852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8286
8287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8291 Refreshed.
8292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8298 Refreshed.
8299
d66ef399
DM
83002012-05-27 David S. Miller <davem@davemloft.net>
8301
8302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8303 (___Q_zero): New.
8304 (__Q_simulate_exceptions): Return void. Change to simulate
8305 exceptions by writing into the %fsr.
8306 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8307 (__Qp_handle_exceptions): Likewise.
8308 (numbers): Delete.
8309 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8310 __Qp_handle_exceptions.
8311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8312 __Qp_handle_exceptions.
8313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8314 as unused and give dummy FP_RND_NEAREST initializer.
8315 (FP_INHIBIT_RESULTS): Define.
8316 (___Q_simulate_exceptions): Update declaration.
8317 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8318 formatting.
8319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8320 as unused and give dummy FP_RND_NEAREST initializer.
8321 (__Qp_handle_exceptions): Update declaration.
8322 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8323 formatting.
8324
04fb54b5
TS
83252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8326
8327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8328 the temporary FPU control word.
8329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8330 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8332 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8335 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8337 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8338 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8339 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8340
3f99608f
KK
83412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8342
8343 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8344 fields.
8345
65a4de4e
CLT
83462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8347
8348 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8349 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8350 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8351 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8352 Likewise.
8353 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8354 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8355 Likewise.
8356
15749d40
UD
83572012-05-27 Ulrich Drepper <drepper@gmail.com>
8358
8359 * po/h.po: Update from translation team.
8360
25dbcb27
AS
83612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8362
3d3f8e55
AS
8363 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8364
25dbcb27
AS
8365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8366 handling of denormals.
8367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8374 Likewise.
8375
7ad47a80 83762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8377
8378 [BZ #14152]
8379 * math/libm-test.inc (fma_test): Don't always expect underflow
8380 exception.
8381
9c6ea9fa
SP
83822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8383
8384 [BZ #12416]
8385 * elf/tst-execstack.c: Include stackinfo.h.
8386 (do_test): Adjust test case to ensure that pthread_getattr_np
8387 behaviour remains the same after marking stack executable.
8388
a8239222
JM
83892012-05-25 Joseph Myers <joseph@codesourcery.com>
8390
8391 * sysdeps/unix/sysv/linux/kernel-features.h
8392 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8393 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8394 kernel-features.h.
8395 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8396 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8397 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8398 kernel-features.h.
8399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8401
918b5606
L
84022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8403
8404 * configure.in: Define the default includes to being none.
8405 * configure: Regenerated.
8406
3a097cc7
RM
84072012-05-25 Roland McGrath <roland@hack.frob.com>
8408
8422c9a5
RM
8409 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8410 * sysdeps/x86_64/setjmp.S: Likewise.
8411 * sysdeps/i386/bsd-setjmp.S: Likewise.
8412 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8413 * sysdeps/i386/setjmp.S: Likewise.
8414 * sysdeps/i386/__longjmp.S: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8416 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8417
3a097cc7
RM
8418 * include/stap-probe.h: New file.
8419 * configure.in: Handle --enable-systemtap.
8420 * configure: Regenerated.
8421 * config.h.in (USE_STAP_PROBE): New #undef.
8422 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8423 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8424 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8425
21708942
JM
84262012-05-25 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #13717]
8429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8430 to 2.4.0 where earlier.
8431 * sysdeps/unix/sysv/linux/configure: Regenerated.
8432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8433 <kernel-features.h>.
8434 [__ASSUME_32BITUIDS]: Make code unconditional.
8435 [!__ASSUME_32BITUIDS]: Remove conditional code.
8436 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8437 <kernel-features.h>.
8438 [__ASSUME_32BITUIDS]: Make code unconditional.
8439 [!__ASSUME_32BITUIDS]: Remove conditional code.
8440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8441 [__ASSUME_32BITUIDS]: Make code unconditional.
8442 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8443 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8444 <kernel-features.h>.
8445 [__ASSUME_32BITUIDS]: Make code unconditional.
8446 [!__ASSUME_32BITUIDS]: Remove conditional code.
8447 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8448 <kernel-features.h>.
8449 [__ASSUME_32BITUIDS]: Make code unconditional.
8450 [!__ASSUME_32BITUIDS]: Remove conditional code.
8451 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8452 <kernel-features.h>.
8453 [__ASSUME_32BITUIDS]: Make code unconditional.
8454 [!__ASSUME_32BITUIDS]: Remove conditional code.
8455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8456 <kernel-features.h>.
8457 [__ASSUME_32BITUIDS]: Make code unconditional.
8458 [!__ASSUME_32BITUIDS]: Remove conditional code.
8459 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8460 <kernel-features.h>.
8461 [__ASSUME_32BITUIDS]: Make code unconditional.
8462 [!__ASSUME_32BITUIDS]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8464 <kernel-features.h>.
8465 [__ASSUME_32BITUIDS]: Make code unconditional.
8466 [!__ASSUME_32BITUIDS]: Remove conditional code.
8467 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8468 <kernel-features.h>.
8469 [__ASSUME_32BITUIDS]: Make code unconditional.
8470 [!__ASSUME_32BITUIDS]: Remove conditional code.
8471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8472 <kernel-features.h>.
8473 [__ASSUME_32BITUIDS]: Make code unconditional.
8474 [!__ASSUME_32BITUIDS]: Remove conditional code.
8475 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8476 <kernel-features.h>.
8477 [__ASSUME_32BITUIDS]: Make code unconditional.
8478 [!__ASSUME_32BITUIDS]: Remove conditional code.
8479 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8480 <kernel-features.h>.
8481 [__ASSUME_32BITUIDS]: Make code unconditional.
8482 [!__ASSUME_32BITUIDS]: Remove conditional code.
8483 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8484 <kernel-features.h>.
8485 [__NR_setresgid] (__setresgid): Do not declare.
8486 [__ASSUME_32BITUIDS]: Make code unconditional.
8487 [!__ASSUME_32BITUIDS]: Remove conditional code.
8488 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8489 <kernel-features.h>.
8490 [__NR_setresuid] (__setresuid): Do not declare.
8491 [__ASSUME_32BITUIDS]: Make code unconditional.
8492 [!__ASSUME_32BITUIDS]: Remove conditional code.
8493 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8494 <kernel-features.h>.
8495 [__ASSUME_32BITUIDS]: Make code unconditional.
8496 [!__ASSUME_32BITUIDS]: Remove conditional code.
8497 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8498 <kernel-features.h>.
8499 [__ASSUME_32BITUIDS]: Make code unconditional.
8500 [!__ASSUME_32BITUIDS]: Remove conditional code.
8501 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8502 <kernel-features.h>.
8503 [__ASSUME_32BITUIDS]: Make code unconditional.
8504 [!__ASSUME_32BITUIDS]: Remove conditional code.
8505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8506 <kernel-features.h>.
8507 [__ASSUME_32BITUIDS]: Make code unconditional.
8508 [!__ASSUME_32BITUIDS]: Remove conditional code.
8509 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8510 <kernel-features.h>.
8511 [__ASSUME_32BITUIDS]: Make code unconditional.
8512 [!__ASSUME_32BITUIDS]: Remove conditional code.
8513 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8514 <kernel-features.h>.
8515 [__ASSUME_32BITUIDS]: Make code unconditional.
8516 [!__ASSUME_32BITUIDS]: Remove conditional code.
8517 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8518 <kernel-features.h>.
8519 [__ASSUME_32BITUIDS]: Make code unconditional.
8520 [!__ASSUME_32BITUIDS]: Remove conditional code.
8521 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8522 <kernel-features.h>.
8523 [__ASSUME_32BITUIDS]: Make code unconditional.
8524 [!__ASSUME_32BITUIDS]: Remove conditional code.
8525 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8526 <kernel-features.h>.
8527 [__ASSUME_32BITUIDS]: Make code unconditional.
8528 [!__ASSUME_32BITUIDS]: Remove conditional code.
8529 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8530 <kernel-features.h>.
8531 [__ASSUME_32BITUIDS]: Make code unconditional.
8532 [!__ASSUME_32BITUIDS]: Remove conditional code.
8533 * sysdeps/unix/sysv/linux/kernel-features.h
8534 (__ASSUME_SETRESUID_SYSCALL): Remove.
8535 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8536 (__ASSUME_32BITUIDS): Likewise.
8537 (__ASSUME_LDT_WORKS): Likewise.
8538 (__ASSUME_O_DIRECTORY): Likewise.
8539 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8540 architecture but not kernel version.
8541 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8542 (__ASSUME_MMAP2_SYSCALL): Likewise.
8543 (__ASSUME_STAT64_SYSCALL): Likewise.
8544 (__ASSUME_IPC64): Likewise.
8545 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8546 <kernel-features.h>.
8547 [__ASSUME_32BITUIDS]: Make code unconditional.
8548 [!__ASSUME_32BITUIDS]: Remove conditional code.
8549 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8550 <kernel-features.h>.
8551 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8552 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8553 132096]: Remove conditional code.
8554 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8556 <kernel-features.h>.
8557 [__ASSUME_32BITUIDS]: Make code unconditional.
8558 [!__ASSUME_32BITUIDS]: Remove conditional code.
8559 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8560 <kernel-features.h>.
8561 [__ASSUME_32BITUIDS]: Make code unconditional.
8562 [!__ASSUME_32BITUIDS]: Remove conditional code.
8563 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8564 <kernel-features.h>.
8565 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8566 unconditional.
8567 (__setresgid): Do not declare.
8568 [__ASSUME_32BITUIDS]: Make code unconditional.
8569 [!__ASSUME_32BITUIDS]: Remove conditional code.
8570 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8571 <kernel-features.h>.
8572 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8573 unconditional.
8574 (__setresuid): Do not declare.
8575 [__ASSUME_32BITUIDS]: Make code unconditional.
8576 [!__ASSUME_32BITUIDS]: Remove conditional code.
8577 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8578 <kernel-features.h>.
8579 [__ASSUME_32BITUIDS]: Make code unconditional.
8580 [!__ASSUME_32BITUIDS]: Remove conditional code.
8581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8582 <kernel-features.h>.
8583 [__ASSUME_32BITUIDS]: Make code unconditional.
8584 [!__ASSUME_32BITUIDS]: Remove conditional code.
8585
a386f1cc
RH
85862012-05-25 Richard Henderson <rth@twiddle.net>
8587
8588 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8589 dl_hwcap to ifunc resolver.
8590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8591 elf_ifunc_invoke.
8592 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8593 dl_hwcap to ifunc resolver.
8594 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8595
b6550497
JM
85962012-05-24 Joseph Myers <joseph@codesourcery.com>
8597
8598 [BZ #14153]
8599 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8600 for |x| <= 2**-26, not 2**-57.
8601 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8602 exception.
8603
b0bc23a1
JL
86042012-05-24 Jeff Law <law@redhat.com>
8605
8606 * stdio-common/Makefile (tests): Add bug25.
8607 * stdio-common/bug25.c: New test.
8608
347c92e9
L
86092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 [BZ #13576]
8612 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8613 multiple of MALLOC_ALIGNMENT in size.
8614 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8615
6bcc8b3f
JM
86162012-05-24 Joseph Myers <joseph@codesourcery.com>
8617
8618 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8619 Require >= 256.
8620 (FILENAME_MAX): Use macro-int-constant.
8621 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8622 (_IOFBF): Use macro-int-constant.
8623 (_IOLBF): Likewise.
8624 (_IONBF): Likewise.
8625 (SEEK_CUR): Likewise.
8626 (SEEK_END): Likewise.
8627 (SEEK_SET): Likewise.
8628 (TMP_MAX): Likewise.
8629 (EOF): Use macro-int-constant. Require < 0.
8630 (NULL): Use macro-constant. Require == 0.
8631 (stdin): Require type to be FILE *.
8632 (stdout): Likewise.
8633 (stderr): Likewise.
8634 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8635 macro-int-constant.
8636 (EXIT_SUCCESS): Likewise.
8637 (NULL): Use macro-constant. Require == 0.
8638 (RAND_MAX): Use macro-int-constant.
8639 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8640 [C99-based standards] (strtof): Require function.
8641 [C99-based standards] (strtold): Likewise.
8642 [C99-based standards] (strtoll): Likewise.
8643 [C99-based standards] (strtoull): Likewise.
8644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8645 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8646 [ISO || ISO99 || ISO11] (math.h): Likewise.
8647 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8648 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8650
d18ea0c5
AS
86512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8652
8653 [BZ #14132]
56d25bb8
AS
8654 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8655 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8656 * intl/dgettext.c (DCGETTEXT): Likewise.
8657 * intl/gettext.c (DCGETTEXT): Likewise.
8658 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8659 * posix/regex_internal.h (gettext): Likewise.
8660 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8661 Remove declaration.
8662 * include/argz.h (__argz_count_internal)
8663 (__argz_stringify_internal): Remove declaration.
8664 (__argz_count, __argz_stringify): Declare hidden proto.
8665 * intl/dcgettext.c: Remove use of INTDEF.
8666 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8667 * string/argz-stringify.c: Likewise.
8668 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8669 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8670 Declare hidden proto.
d18ea0c5
AS
8671 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8672 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8673 Declare hidden proto.
8674 * include/stdio.h (__asprintf_internal): Don't declare.
8675 (__asprintf): Don't define as macro. Declare hidden proto.
8676 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8677 (__fsetlocking): Declare hidden proto.
8678 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8679 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8680 hidden proto.
8681 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8682 (_IO_setlinebuf): Remove use of INTUSE.
8683 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8684 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8685 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8686 Remove declaration.
8687 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8688 (_IO_do_flush): Remove use of INTUSE.
8689 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8690 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8691 (_IO_adjust_column, _IO_least_wmarker)
8692 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8693 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8694 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8695 (_IO_default_doallocate, _IO_wdefault_doallocate)
8696 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8697 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8698 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8699 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8700 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8701 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8702 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8703 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8704 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8705 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8706 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8707 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8708 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8709 proto.
8710 (_IO_flush_all_internal, _IO_adjust_column_internal)
8711 (_IO_default_uflow_internal, _IO_default_finish_internal)
8712 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8713 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8714 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8715 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8716 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8717 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8718 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8719 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8720 (_IO_file_close_internal, _IO_file_close_it_internal)
8721 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8722 (_IO_file_init_internal, _IO_file_attach_internal)
8723 (_IO_file_fopen_internal, _IO_file_read_internal)
8724 (_IO_file_sync_internal, _IO_file_seek_internal)
8725 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8726 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8727 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8728 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8729 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8730 (_IO_list_all_internal, _IO_link_in_internal)
8731 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8732 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8733 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8734 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8735 (_IO_do_write_internal, _IO_padn_internal)
8736 (_IO_getline_info_internal, _IO_getline_internal)
8737 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8738 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8739 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8740 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8741 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8742 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8743 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8744 with libc_hidden_ver, remove use of INTUSE.
8745 * libio/genops.c: Likewise.
8746 * libio/freopen.c: Likewise.
8747 * libio/freopen64.c: Likewise.
8748 * libio/iofclose.c: Likewise.
8749 * libio/iofdopen.c: Likewise.
8750 * libio/iofflush.c: Likewise.
8751 * libio/iofflush_u.c: Likewise.
8752 * libio/iofgets.c: Likewise.
8753 * libio/iofgets_u.c: Likewise.
8754 * libio/iofopen.c: Likewise.
8755 * libio/iofopncook.c: Likewise.
8756 * libio/iofread.c: Likewise.
8757 * libio/iofread_u.c: Likewise.
8758 * libio/ioftell.c: Likewise.
8759 * libio/iofwrite.c: Likewise.
8760 * libio/iogetline.c: Likewise.
8761 * libio/iogets.c: Likewise.
8762 * libio/iogetwline.c: Likewise.
8763 * libio/iopadn.c: Likewise.
8764 * libio/iopopen.c: Likewise.
8765 * libio/ioseekoff.c: Likewise.
8766 * libio/ioseekpos.c: Likewise.
8767 * libio/iosetbuffer.c: Likewise.
8768 * libio/iosetvbuf.c: Likewise.
8769 * libio/ioungetc.c: Likewise.
8770 * libio/ioungetwc.c: Likewise.
8771 * libio/iovdprintf.c: Likewise.
8772 * libio/iovsprintf.c: Likewise.
8773 * libio/iovsscanf.c: Likewise.
8774 * libio/memstream.c: Likewise.
8775 * libio/obprintf.c: Likewise.
8776 * libio/oldfileops.c: Likewise.
8777 * libio/oldiofclose.c: Likewise.
8778 * libio/oldiofdopen.c: Likewise.
8779 * libio/oldiofopen.c: Likewise.
8780 * libio/oldiopopen.c: Likewise.
8781 * libio/oldstdfiles.c: Likewise.
8782 * libio/putc.c: Likewise.
8783 * libio/setbuf.c: Likewise.
8784 * libio/setlinebuf.c: Likewise.
8785 * libio/stdfiles.c: Likewise.
8786 * libio/strops.c: Likewise.
8787 * libio/vasprintf.c: Likewise.
8788 * libio/vscanf.c: Likewise.
8789 * libio/vsnprintf.c: Likewise.
8790 * libio/vswprintf.c: Likewise.
8791 * libio/wfiledoalloc.c: Likewise.
8792 * libio/wfileops.c: Likewise.
8793 * libio/wgenops.c: Likewise.
8794 * libio/wmemstream.c: Likewise.
8795 * libio/wstrops.c: Likewise.
8796 * libio/__fpurge.c: Likewise.
8797 * libio/__fsetlocking.c: Likewise.
8798 * assert/assert.c: Likewise.
8799 * debug/fgets_chk.c: Likewise.
8800 * debug/fgets_u_chk.c: Likewise.
8801 * debug/fread_chk.c: Likewise.
8802 * debug/fread_u_chk.c: Likewise.
8803 * debug/gets_chk.c: Likewise.
8804 * debug/obprintf_chk.c: Likewise.
8805 * debug/vasprintf_chk.c: Likewise.
8806 * debug/vdprintf_chk.c: Likewise.
8807 * debug/vsnprintf_chk.c: Likewise.
8808 * debug/vsprintf_chk.c: Likewise.
8809 * malloc/mtrace.c: Likewise.
8810 * misc/error.c: Likewise.
8811 * misc/syslog.c: Likewise.
8812 * stdio-common/asprintf.c: Likewise.
8813 * stdio-common/fxprintf.c: Likewise.
8814 * stdio-common/getw.c: Likewise.
8815 * stdio-common/isoc99_fscanf.c: Likewise.
8816 * stdio-common/isoc99_scanf.c: Likewise.
8817 * stdio-common/isoc99_vfscanf.c: Likewise.
8818 * stdio-common/isoc99_vscanf.c: Likewise.
8819 * stdio-common/isoc99_vsscanf.c: Likewise.
8820 * stdio-common/printf-prs.c: Likewise.
8821 * stdio-common/printf_fp.c: Likewise.
8822 * stdio-common/printf_fphex.c: Likewise.
8823 * stdio-common/printf_size.c: Likewise.
8824 * stdio-common/putw.c: Likewise.
8825 * stdio-common/scanf.c: Likewise.
8826 * stdio-common/sprintf.c: Likewise.
8827 * stdio-common/tmpfile.c: Likewise.
8828 * stdio-common/vfprintf.c: Likewise.
8829 * stdio-common/vfscanf.c: Likewise.
8830 * stdlib/strfmon_l.c: Likewise.
8831 * sunrpc/openchild.c: Likewise.
8832 * sunrpc/xdr_stdio.c: Likewise.
8833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8834 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8835
d6c33fda
RM
88362012-05-24 Roland McGrath <roland@hack.frob.com>
8837
c1487492
RM
8838 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8839
8840 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8841 in the third column, to generate for the shared library an IFUNC
8842 that uses _dl_vdso_vsym.
8843 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8844 * Makeconfig (object-suffixes-noshared): New variable.
8845
8846 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8847 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8848 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8849 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8850
d6c33fda
RM
8851 [BZ #14132]
8852 * include/sys/time.h (__gettimeofday): Remove macro.
8853 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8854 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8855 Remove INTDEF.
8856 (__gettimeofday): Add libc_hidden_def.
8857 (gettimeofday): Add libc_hidden_weak.
8858 * sysdeps/mach/gettimeofday.c: Likewise.
8859 * sysdeps/posix/gettimeofday.c: Likewise.
8860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8861 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8863 (__gettimeofday_internal): Remove strong_alias.
8864 (__gettimeofday): Add libc_hidden_def.
8865 (gettimeofday): Add libc_hidden_weak.
8866 * sysdeps/unix/syscalls.list (gettimeofday):
8867 Remove __gettimeofday_internal alias.
8868
b5a2bbe6
L
88692012-05-24 Daniel Jacobowitz <drow@false.org>
8870 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 [BZ #12495]
8873 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8874 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8875 (largebin_index_32_big): New.
8876 (largebin_index): Use it for 16-byte alignment.
8877 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8878 correction with front_misalign.
8879
cfba4fda
L
88802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8881
7f907421
L
8882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8884 Likewise.
8885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8886 Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8888 Likewise.
8889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8890 Likewise.
8891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8892 Likewise.
8893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8894 Likewise.
8895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8896 Likewise.
8897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8898 Likewise.
8899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8900 Likewise.
8901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8902 Likewise.
8903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8904 Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8906 Likewise.
8907
cfba4fda
L
8908 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8909 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8910
80bad0cc
JM
89112012-05-24 Joseph Myers <joseph@codesourcery.com>
8912
7a25eb06
JM
8913 [BZ #10846]
8914 [BZ #14036]
8915 * math/libm-test.inc (exp_test): Add test from bug 14036.
8916 (pow_test): Add test from bug 10846.
8917
795405f9
JM
8918 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8919 and other flags.
8920 (special_function): Do not include flags in test name.
8921 (parse_args): Likewise.
8922 * sysdeps/i386/fpu/libm-test-ulps: Update.
8923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8927
80bad0cc
JM
8928 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8929 exceptions.
8930 * math/libm-test.inc ("Philosophy"): Update comment about
8931 exception testing.
8932 (UNDERFLOW_EXCEPTION): New macro.
8933 (UNDERFLOW_EXCEPTION_OK): Likewise.
8934 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8935 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8936 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8937 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8938 (INVALID_EXCEPTION_OK): Update value.
8939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8940 (OVERFLOW_EXCEPTION_OK): Likewise.
8941 (IGNORE_ZERO_INF_SIGN): Likewise.
8942 (test_exceptions): Handle underflow exceptions.
8943 (acos_test): Update for underflow exception expectations.
8944 (cexp_test): Likewise.
8945 (clog_test): Likewise.
8946 (clog10_test): Likewise.
8947 (csqrt_test): Likewise.
8948 (ctan_test): Likewise.
8949 (ctanh_test): Likewise.
8950 (exp_test): Likewise.
8951 (exp10_test): Likewise.
8952 (exp2_test): Likewise.
8953 (expm1_test): Likewise.
8954 (fma_test): Likewise.
8955 (j0_test): Likewise.
8956 (jn_test): Likewise.
8957 (nexttoward_test): Likewise.
8958 (pow_test): Likewise.
8959 (scalbn_test): Likewise.
8960 (scalbln_test): Likewise.
8961 (tan_test): Likewise.
8962 (y1_test): Likewise.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8965
9e0e3d0b
DM
89662012-05-23 David S. Miller <davem@davemloft.net>
8967
8968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8969 (__libc_sigaction): Remove unused local variables.
8970
ccd0a08f
L
89712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8972
8973 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8974
62bdf9a6
PE
89752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8976
f8591f80
PE
8977 mktime: avoid signed integer overflow
8978 * time/mktime.c (__mktime_internal): Do not mishandle the case
8979 where diff == INT_MIN.
8980
94c7d826
PE
8981 mktime: simplify computation of average
8982 * time/mktime.c (ranged_convert): Use new time_t_avg function
8983 instead of rolling our own (probably-slower) code.
8984
ce73d683
PE
8985 mktime: do not assume signed right shift propagates sign bit
8986 * time/mktime.c (isdst_differ): New static function.
8987 (__mktime_internal): No need to normalize tm_isdst now.
8988 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8989 tm_isdst values.
8990
72a22e59
PE
8991 mktime: merge another wrapv change from gnulib
8992 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8993 from some compilers.
8994
68605433
PE
8995 mktime: remove incorrect attempt at unusual arithmetics
8996 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8997 The code didn't really work on such machines anyway.
8998 (TYPE_MINIMUM): Assume two's complement.
8999 (twos_complement_arithmetic): Verify that long_int and time_t
9000 are two's complement (or unsigned, in the latter case).
9001
03cf7fe3
PE
9002 mktime: check signed shifts on long_int and time_t, too
9003 * time/mktime.c (SHR): Check that shifts work as desired
9004 on the types long_int and time_t too, as SHR is used on
9005 such types.
9006
f04dfbc2
PE
9007 mktime: do not assume 'long' is wide enough
9008 * time/mktime.c (verify): Move decl up.
9009 (long_int): New type.
9010 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9011 to remove assumption in the code that 'long' is wide enough to
9012 store year values. This assumption is not true on x32 and on
9013 some non-glibc platforms.
9014
62bdf9a6
PE
9015 mktime: merge wrapv change from gnulib
9016 * time/mktime.c (WRAPV): New macro.
9017 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9018 (guess_time_tm, __mktime_internal): Do not assume that signed
9019 integer overflow wraps around; modern compilers generate code
9020 where this assumption is no longer valid.
9021
5e292e4f
L
90222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9023
9024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9025 Replace "jmp L(pseudo_end)" with "ret".
9026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9027 Likewise.
9028
8caf8c87
AJ
90292012-05-23 Andreas Jaeger <aj@suse.de>
9030
9031 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9032 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9033
1a09dc56
AJ
90342012-05-23 Andreas Jaeger <aj@suse.de>
9035 Maximilian Attems <max@stro.at>
9036
9037 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9038 New macros.
9039
1c87aba0
L
90402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9041
9042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9043 code so that pseudo_end is just ret and the stack pointer is
9044 correct also for static library in error case.
9045
40e45bd5
JM
90462012-05-23 Joseph Myers <joseph@codesourcery.com>
9047
c2670533
JM
9048 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9049 move to syscalls.list.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9054
40e45bd5
JM
9055 * manual/install.texi (Running make install): Do not mention Linux
9056 kernel version for which pt_chown is not needed.
9057 (Linux): Do not mention problems with nscd with 2.0 kernels.
9058 * INSTALL: Regenerated.
9059
be08eda5
AJ
90602012-05-23 Andreas Jaeger <aj@suse.de>
9061
9062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9063 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9064 macro.
9065 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9067 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9068 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9069 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9075 * sysdeps/unix/sysv/linux/bits/in.h
9076 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9077
a6a056bb
RM
90782012-05-22 Roland McGrath <roland@hack.frob.com>
9079
9080 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9081 (PREPARE_VERSION): Just use assert instead, it will be elided
9082 under [NDEBUG] anyway.
9083
c9009328
L
90842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 * sysdeps/unix/sysv/linux/Makefile: Include
9087 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9088 (sysdep_routines): Remove sysctl.
c9009328
L
9089 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9090 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9091 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9092 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9093 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9094
73338355
AJ
90952012-05-22 Andreas Jaeger <aj@suse.de>
9096
9097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9098 that pseudo_end is just ret and the stack pointer is correct also
9099 for static library in error case.
9100
d44638b0
PP
91012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9102
9103 [BZ #14122]
9104 * nss/nsswitch.c (defconfig_entries): New variable.
9105 (__nss_database_lookup): Don't leak defconfig entries.
9106 (nss_parse_service_list): Don't leak on error paths.
9107 (free_database_entries): New function.
9108 (free_defconfig): New function.
9109 (free_mem): Move common code to free_database_entries.
9110
31a39bd8
L
91112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9112
da0331a8
L
9113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9114 Add arch_prctl.
9115 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9116
31a39bd8
L
9117 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9118 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9120 New macro.
9121 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9122 (INTERNAL_SYSCALL_TYPES): Likewise.
9123 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9124 (LOAD_REGS_TYPES_[1-6]): Likewise.
9125 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9126 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9127
45470df3
AZ
91282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9129
9130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9131 copysignl for GLIBC_2_0.
9132 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9133 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9135 logbl for GLIBC_2_0.
9136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9137 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9138
98a61bcb
L
91392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9140
a4f6e481
L
9141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9142 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9143
f63d5db6
L
9144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9145 Use "neg %eax".
9146
98a61bcb
L
9147 * time/mktime.c: Update copyright years.
9148
95770f14
PE
91492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9150
6226efbd
PE
9151 mktime: merge comment-quoting-style change from gnulib
9152 * time/mktime.c: Quote 'like this' in comments.
9153 The GNU coding standards suggest that we no longer quote `like this',
9154 as "`" and "'" are typically rendered asymmetrically nowadays.
9155 The typical gnulib style is to quote 'like this' when quoting
9156 code, and "like this" when quoting English.
9157
b99e4f78
PE
9158 * time/mktime.c (compile-command): Add "-I.".
9159
643e01e6
PE
9160 mktime: merge mktime-internal.h change from gnulib
9161 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9162
2554247d
PE
9163 mktime: merge time_r change from gnulib
9164 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9165
826dd0ab
PE
9166 mktime: merge DEBUG change from gnulib
9167 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9168 case system <time.h> has a #define.
9169
bd83aabe
PE
9170 mktime: merge <sys/types.h> change from gnulib
9171 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9172 since <time.t> is now guaranteed to define time_t.
9173
95770f14
PE
9174 mktime: merge HAVE_CONFIG_H change from gnulib
9175 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9176
5e1a27a9
L
91772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9178
0e44a77e
L
9179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9180 Use "neg %eax".
9181
5e1a27a9
L
9182 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9183 __rlim_t cast.
9184 (struct rusage): Use anonymous union to pad each field to
9185 __syscall_slong_t.
9186
46259bec
DM
91872012-05-21 David S. Miller <davem@davemloft.net>
9188
9189 * Makefules (o-iterator): Remove .s cases.
9190 (compile-command.s): Delete.
9191 (COMPILE.s): Delete.
9192 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9193
59f0c22e
JM
91942012-05-21 Joseph Myers <joseph@codesourcery.com>
9195
9196 * configure.in (libc_cv_predef_stack_protector): Only consider
9197 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9198 * configure: Regenerated.
9199
20c07380
L
92002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9201
bbb3154b
L
9202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9203 New macro. Use R*LP on int and pointer.
9204 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9205 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9206 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9207 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9208
20c07380
L
9209 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9210 [__WORDSIZE_TIME64_COMPAT32] instead of
9211 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9212 (struct utmp): Likewise.
9213 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9214 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9215 Renamed to ...
9216 (__WORDSIZE_TIME64_COMPAT32): This.
9217 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9218 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9219 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9220 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9222 (__WORDSIZE_TIME64_COMPAT32): New macro.
9223
d8d1017e
AJ
92242012-05-21 Andreas Jaeger <aj@suse.de>
9225
9226 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9227 only if [SHARED]. Add prototype for __wcschr_ia32.
9228
6c7fb145
RM
92292012-05-21 Roland McGrath <roland@hack.frob.com>
9230
9231 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9232 of %rbp unmolested in the jmp_buf while mangling the low bits.
9233 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9234 unmolested high bits of %rbp while demangling the low bits.
9235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9236
66274218
AJ
92372012-05-21 Andreas Jaeger <aj@suse.de>
9238
07c58f8f
AJ
9239 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9240 * sunrpc/svc_simple.c: Use it for registerrpc.
9241 * sunrpc/xcrypt.c: Use it for passwd2des.
9242
66274218
AJ
9243 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9244
61f65140
L
92452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9246
9247 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9248 Don't define if [__SYSCALL_WORDSIZE != 32].
9249 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9250 New macro.
9251
5fefb436
AJ
92522012-05-21 Bruno Haible <bruno@clisp.org>
9253 Andreas Jaeger <aj@suse.de>
9254
9255 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9256 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9257 inptr and inend for must_buffer_ch.
9258 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9259 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9260 * stdio-common/Makefile (tests): Remove bug15.
9261 (bug15-ENV): Remove macro.
9262 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9263 anymore.
9264
d8e272ab
AJ
92652012-05-19 Andreas Jaeger <aj@suse.de>
9266 Roland McGrath <roland@hack.frob.com>
9267
9268 * manual/contrib.texi: Completely rewritten. It contains now an
9269 alphabetical list of contributors and their contributions.
9270
4a56a162
RH
92712012-05-21 Richard Henderson <rth@twiddle.net>
9272
9273 * misc/getauxval.c (__getauxval): Use unsigned long int.
9274 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9275 (getauxval): Use unsigned long int.
9276
d024d23c
L
92772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9278
9279 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9280
cbc00a03
RM
92812012-05-21 Roland McGrath <roland@hack.frob.com>
9282
9283 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9284 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9285 __alignof__ (long double).
9286
478143fa
AZ
92872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9288
9289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9290
c7683a6d
RH
92912012-05-20 Richard Henderson <rth@twiddle.net>
9292
9293 * misc/getauxval.c: New file.
9294 * misc/sys/auxv.h: New file.
9295 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9296 (routines): Add getauxval.
9297 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9299 * elf/dl-sysdep.c (_dl_auxv): Remove.
9300 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9301 * elf/dl-support.c (_dl_auxv): New variable.
9302 (_dl_aux_init): Initialize it.
9303 * manual/startup.texi (Auxiliary Vector): New node.
9304 * sysdeps/generic/bits/hwcap.h: New file.
9305 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9306 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9307 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9308 * sysdeps/sparc/sysdep.h: ... here. Include it.
9309 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9312 Update.
c7683a6d
RH
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9321
a6f1845d
AZ
93222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9323
9324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9325
cbcbe830
DM
93262012-05-19 David S. Miller <davem@davemloft.net>
9327
9328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9329
e0b16cc2
JM
93302012-05-19 Joseph Myers <joseph@codesourcery.com>
9331
9332 [BZ #14123]
9333 * math/s_ccosh.c: Include <float.h>
9334 (__ccosh): Avoid internal overflow calculating sinh and cosh
9335 values before multiplying by sin and cos values.
9336 * math/s_ccoshf.c: Likewise.
9337 * math/s_ccoshl.c: Likewise.
9338 * math/s_csin.c: Likewise.
9339 * math/s_csinf.c: Likewise.
9340 * math/s_csinl.c: Likewise.
9341 * math/s_csinh.c: Likewise.
9342 * math/s_csinhf.c: Likewise.
9343 * math/s_csinhl.c: Likewise.
9344 * math/libm-test.inc (ccos_test): Add more tests.
9345 (ccosh_test): Likewise.
9346 (csin_test): Likewise.
9347 (csinh_test): Likewise.
9348 * sysdeps/i386/fpu/libm-test-ulps: Update.
9349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9350
6ad13e08
L
93512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9352
f66f0ce8
L
9353 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9354 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9355
6ad13e08
L
9356 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9357
b1d072a7
JM
93582012-05-19 Joseph Myers <joseph@codesourcery.com>
9359
9360 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9361 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9362 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9363 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9364 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9365 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9366 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9367 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9368 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9369 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9370 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9371 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9372 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9373 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9374 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9375 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9376 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9377 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9378 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9379 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9380 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9381 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9382 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9383 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9384 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9385 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9386 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9387 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9388 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9389 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9390 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9391
9eae47cb
AJ
93922012-05-18 Andreas Jaeger <aj@suse.de>
9393
9394 * csu/.gitignore: Delete.
9395
bb07f69f
L
93962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9397
9398 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9399 (timex): Use __syscall_slong_t.
9400
e6bdb741
AJ
94012012-05-18 Andreas Jaeger <aj@suse.de>
9402 Carlos O'Donell <carlos_odonell@mentor.com>
9403
9404 * manual/install.texi (Configuring and compiling): Update
9405 description about files modified in the source directory.
d6c33fda 9406 * INSTALL: Regenerated.
e6bdb741 9407
1b74487e
L
94082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9411 value. Use "or" to set return value to -1.
9412 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9413 negate return value.
9414
a88b64b9
TMQMF
94152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9416
9417 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9418 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9419 failure if the compiler has Graphite support disabled.
9420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9421 Likewise.
9422 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9423 CFLAGS-memmove.c): Likewise.
9424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9425 Likewise.
9426
3707636e
L
94272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9428
610b8622
L
9429 * sysdeps/x86_64/x32/_itoa.h: New file.
9430
7cd195df
L
9431 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9432 getdents system call only if kernel and user dirents have the
9433 same d_ino and d_off.
9434
94b07d20
L
9435 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9436 LLONG_MAX != LONG_MAX.
9437 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9438 (_fitoa_word): Likewise.
9439
18298070
L
9440 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9441 years.
9442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9444 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9445
553c7ea4
L
9446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9447 include <bits/wordsize.h>. Check __x86_64__ instead of
9448 __WORDSIZE.
9449 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9450 if __x86_64__ is defined. Use anonymous union on fpstate.
9451
3707636e
L
9452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9453 anonymous union.
9454
b53ef01a
AS
94552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9456
37fb1dc0
AS
9457 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9458 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9459 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9460 Refer to _rtld_local_ro instead of _rtld_global_ro.
9461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9462 Likewise.
9463 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9464 Likewise.
9465 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9466 Likewise.
9467 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9468 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9469 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9470
b53ef01a
AS
9471 * sysdeps/powerpc/powerpc32/dl-machine.c
9472 (__elf_machine_runtime_setup) [PROF]: Don't reference
9473 _dl_prof_resolve.
9474
7a185db2
AJ
94752012-05-18 Andreas Jaeger <aj@suse.de>
9476
9477 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9478 function only available for GCCs before 3.4 since GCC 3.4
9479 introduced a builtin.
9480 (lrint): Likewise.
9481 (llrintf): Likewise.
9482 (llrint): Likewise.
9483 (fmaxf): Likewise.
9484 (fmax): Likewise.
9485 (fminf): Likewise.
9486 (fmin): Likewise.
9487 (rint): Likewise.
9488 (rintf): Likewise.
9489 (nearbyint): Likewise.
9490 (nearbyintf): Likewise.
9491 (ceil): Likewise.
9492 (ceilf): Likewise.
9493 (floor): Likewise.
9494 (floorf): Likewise.
9495
3e5aef87
L
94962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9497
428bd707
L
9498 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9499 on both fields and cast pointer to __syscall_ulong_t.
9500
3e5aef87
L
9501 * bits/types.h (__fsword_t): New type.
9502 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9503 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9505 (__FSWORD_T_TYPE): Likewise.
9506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9507 (__FSWORD_T_TYPE): Likewise.
9508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9509 (__FSWORD_T_TYPE): Likewise.
9510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9511 (__FSWORD_T_TYPE): Likewise.
9512 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9513 __SWORD_TYPE with __fsword_t.
9514 (statfs64): Likewise.
9515
1ba7c3dc
DM
95162012-05-17 David S. Miller <davem@davemloft.net>
9517
9518 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9519
59910343
AJ
95202012-05-17 Andreas Jaeger <aj@suse.de>
9521
9522 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9523 warning.
9524
2e4c1e9e
L
95252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9528
de7f5ce7
AJ
95292012-05-17 Andreas Jaeger <aj@suse.de>
9530
9531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9532 when it is used.
9533
286abc3d
CM
95342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9535
9536 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9537
477cc68e
L
95382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9541 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9542
1a0994f5
CD
95432012-05-17 Andreas Jaeger <aj@suse.de>
9544 Carlos O'Donell <carlos_odonell@mentor.com>
9545
9546 [BZ #14059]
9547 * sysdeps/x86_64/multiarch/init-arch.h
9548 (bit_YMM_Usable): Rename to...
9549 (bit_AVX_Usable): ... this.
9550 (bit_FMA4_Usable): New macro.
9551 (bit_XMM_state): New macro.
9552 (bit_YMM_state): New macro.
9553 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9554 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9555 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9556 (CPUID_OSXSAVE): New macro.
9557 (CPUID_AVX): New macro.
9558 (CPUID_FMA4): New macro.
9559 (index_YMM_Usable): Rename to...
9560 (index_AVX_Usable): ... this.
9561 (HAS_AVX): Use HAS_ARCH_FEATURE.
9562 (HAS_FMA4): Likewise.
9563 (HAS_YMM_USABLE): Remove.
9564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9565 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9566 are present.
9567 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9568 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9569 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9570 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9571 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9572
0af797de
CM
95732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9574
9575 * math/libm-test.c: Support platforms without multiple rounding modes.
9576 * math/bug-nextafter.c: Support platforms without FP exceptions.
9577 * math/bug-nexttoward.c: Likewise.
9578 * math/test-fenv.c: Likewise.
9579 * math/test-misc.c: Likewise.
9580 * stdlib/bug-getcontext.c: Likewise.
9581
e39745ff
AJ
95822012-05-17 Andreas Jaeger <aj@suse.de>
9583
9584 * manual/examples/search.c (critter_cmp): Change signature to
9585 avoid warnings.
9586 * manual/string.texi (Collation Functions): Likewise.
9587
48970aba
L
95882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9589
9590 * bits/types.h: Fold copyright years.
9591 * bits/typesizes.h: Likewise.
9592 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9596 * time/time.h: Likewise.
9597
bedee953
PP
95982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9599
9600 [BZ #208]
9601 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9602 in instead of returning them. Return void.
9603 (__libc_mallinfo): Accumulate over all arenas.
9604 (__malloc_stats): Adjust for change in int_mallinfo interface.
9605
61653dfb
RM
96062012-05-16 Roland McGrath <roland@hack.frob.com>
9607
30b99d79
RM
9608 [BZ #10375]
9609 * configure.in (NM): Add AC_CHECK_TOOL for it.
9610 (libc_extra_cflags): New substituted variable.
9611 Check for -fstack-protector being used implicitly.
9612 * configure: Regenerated.
9613 * config.make.in (config-extra-cflags): New variable,
9614 gets @libc_extra_cflags@.
9615 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9616
61653dfb
RM
9617 [BZ #10375]
9618 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9619 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9620 * configure: Regenerated.
9621 * config.make.in (CPPUNDEFS): New substituted variable.
9622 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9623 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9624 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9625
661768bb
L
96262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9627
9628 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9629 (mq_attr): Use __syscall_slong_t.
9630
d4261567
L
96312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9632
9633 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9634 Check __x86_64__ instead of __WORDSIZE.
9635 (_STAT_VER_LINUX): Likewise.
9636 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9637 __syscall_ulong_t and __syscall_slong_t.
9638 (stat64): Likewise.
9639
cf3ff365
L
96402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9641
9642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9643
76cf3e4d
L
96442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9647
a637753a
L
96482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9649
9650 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9651 __syscall_ulong_t.
9652
d5e05119
L
9653 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9654 include <bits/wordsize.h>. Check __x86_64__ instead of
9655 __WORDSIZE.
9656 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9657 defined.
9658 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9659
f62ee380
L
9660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9661 include <bits/wordsize.h>. Check __x86_64__ instead of
9662 __WORDSIZE.
9663 (user_regs_struct): Use "__extension__ unsigned long long"
9664 instead of "unsigned long" if __x86_64__ is defined.
9665 (user): Likewise. Pad after pointer field if __ILP32__ is
9666 defined.
9667
4e124ced
JM
96682012-05-16 Joseph Myers <joseph@codesourcery.com>
9669
6a3951a0
JM
9670 * configure.in (makeinfo): Require version 4.5 or later. Allow
9671 versions 5 to 9.
9672 * configure: Regenerated.
9673 * manual/install.texi (texinfo): Increase version requirement to
9674 4.5 or later.
9675 * INSTALL: Regenerated.
9676
4e124ced
JM
9677 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9678
953ca31a
L
96792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9680
9681 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9682
617aca05
L
9683 * sysdeps/x86_64/x32/ffs.c: New file.
9684
5762f7ae
L
9685 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9686 __syscall_ulong_t.
9687 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9688 defined. Use __syscall_ulong_t.
9689 (shminfo): Use __syscall_ulong_t.
9690 (shm_info): Likewise.
9691
a26b6856
L
9692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9693 __syscall_ulong_t.
9694
cb2b9ef7
L
9695 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9696 <bits/wordsize.h>.
9697 (msgqnum_t): Use __syscall_ulong_t.
9698 (msglen_t): Likewise.
9699 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9700 __syscall_ulong_t.
9701
34683bb0
L
9702 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9704
84a68786
L
9705 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9706
48baa5f1
L
9707 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9708 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9709
180be88b
L
9710 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9711 __syscall_slong_t.
9712
5e90c8ad
L
9713 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9714 include <bits/wordsize.h>. Check __x86_64__ instead of
9715 __WORDSIZE.
9716
23dfb58b
L
9717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9718 "unsigned long long int" if __x86_64__ is defined.
9719 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9720
ce5d54b0
L
9721 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9723 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9724
13dc9eac
L
9725 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9726 <stdint.h>.
9727 (GET_PC): Cast to uintptr_t first.
9728 (GET_FRAME): Likewise.
9729 (GET_STACK): Likewise.
9730
a7895d15
L
9731 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9735 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9737 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9738 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9743 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9744 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9753 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9754 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9755 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9758 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9760
656416c9
AS
97612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9762
5bd66283
AS
9763 * Makerules (+depfiles): Also collect depfiles from .oS in
9764 $(extra-objs).
9765 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9766 .oS, $(libnldbl-routines)).
9767
656416c9
AS
9768 * Makerules (native-compile-mkdep-flags): Define.
9769 * sunrpc/Makefile (extra-objs): Add $(addprefix
9770 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9771 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9772 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9773 calling $(make-target-directory).
9774
a46f2169
L
97752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 * bits/types.h (__snseconds_t): Removed.
9778 * time/time.h (struct timespec): Replace __snseconds_t with
9779 __syscall_slong_t.
9780 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9781 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9782 Likewise.
9783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9784 (__SNSECONDS_T_TYPE): Likewise.
9785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9786 (__SNSECONDS_T_TYPE): Likewise.
9787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9788 (__SNSECONDS_T_TYPE): Likewise.
9789
6af6528b
L
97902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * sysdeps/mach/hurd/bits/typesizes.h
9793 (__SYSCALL_SLONG_TYPE): New macro.
9794 (__SYSCALL_ULONG_TYPE): Likewise.
9795
de986b56
L
97962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9797
9798 * bits/types.h (__syscall_slong_t): New type.
9799 (__syscall_ulong_t): Likewise.
9800
9801 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9802 (__SYSCALL_ULONG_TYPE): Likewise.
9803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9804 (__SYSCALL_SLONG_TYPE): Likewise.
9805 (__SYSCALL_ULONG_TYPE): Likewise.
9806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9807 (__SYSCALL_SLONG_TYPE): Likewise.
9808 (__SYSCALL_ULONG_TYPE): Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9810 (__SYSCALL_SLONG_TYPE): Likewise.
9811 (__SYSCALL_ULONG_TYPE): Likewise.
9812
85736dc7
L
98132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9816 Add sigaltstack-offsets.sym.
9817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9818 <sigaltstack-offsets.h>.
9819 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9820 longjmp_msg pointer.
9821 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9822 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9823 signal stack.
9824 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9825
cc03b296
JM
98262012-05-15 Joseph Myers <joseph@codesourcery.com>
9827
a9538892
JM
9828 * elf/stackguard-macros.h: Remove file.
9829 * sysdeps/generic/stackguard-macros.h: New file.
9830 * sysdeps/i386/stackguard-macros.h: Likewise.
9831 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9832 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9833 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9834 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9835 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9836 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9837 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9838 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9839 <elf/stackguard-macros.h>.
9840
cc03b296
JM
9841 [BZ #14109]
9842 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9843 __aligned__ in attribute.
9844 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9845 (gregset_t): Likewise.
9846
93171016
L
98472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9848
9849 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9850 * sysdeps/x86_64/64/Implies-after: Here. New file.
9851 * sysdeps/x86_64/x32/Implies-after: New file.
9852
d86813a0
L
98532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9854
9855 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9856 and access return value for _dl_profile_fixup. Use R10_LP to
9857 load frame size.
9858
2953ec75
L
98592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9862
3b550e9e
L
98632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9864
9865 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9866 * sysdeps/x86_64/x32/sysdep.h: New file.
9867
eda41706
L
98682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9869
9870 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9871 * sysdeps/x86_64/setjmp.S: Likewise.
9872
9ea01d93
AZ
98732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9874
9875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9877 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9879 remove unused global constant.
9880
02a91938
CM
98812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9882
9883 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9884 include of <not-cancel.h>.
9885
6540185f
RM
98862012-05-15 Roland McGrath <roland@hack.frob.com>
9887
9888 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9889
509072a0
AJ
98902012-05-15 Jeff Law <law@redhat.com>
9891 Andreas Jaeger <aj@suse.de>
9892
9893 [BZ #13594]
9894 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9895 out from...
9896 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9897 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9898 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9899 code changing __hst_map_handle.map.
9900
ba75122d
RM
99012012-05-15 Roland McGrath <roland@hack.frob.com>
9902
9903 * configure.in (sysnames): Look for Implies-before and Implies-after
9904 files.
9905 * configure: Regenerated.
9906
890d8bd8
L
99072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9908
9909 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9910 8-byte data alignment with LP_SIZE alignment.
9911
f6ee6623
L
99122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9913
9914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9915 into R10_LP.
9916
ea2626f6
L
99172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9918
9919 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9920
085f715e
L
99212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9922
9923 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9924 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9926 Likewise.
9927 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9928
be8498fc
L
99292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9932 (stackinfo_sub_sp): Likewise.
9933
70bc83b9
L
99342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9935
9936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9937 RAX_LP.
9938
9bc0b730
L
99392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9940
9941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9942 into R*_LP.
9943
6d2850e7
L
99442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9947 sizes into R*_LP.
9948
3cb84561
L
99492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9952
54e2ed81
L
99532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9956 into R11_LP and load __x86_64_shared_cache_size_half into
9957 R8_LP.
9958
8a17f349
L
99592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9960
9961 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9962 R8_LP.
9963
777b1eea
AZ
99642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9965
9966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9967 logb for POWER7.
9968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9969 logbf for POWER7.
9970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9971 logbl for POWER7.
9972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9973 powerpc32/power7/fpu/s_logb.c via #include.
9974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9975 powerpc32/power7/fpu/s_logbf.c via #include.
9976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9977 powerpc32/power7/fpu/s_logbl.c via #include.
9978
d20d4ac2
JM
99792012-05-15 Joseph Myers <joseph@codesourcery.com>
9980
9981 * README.libm: Remove file.
9982
6cdef1ab
L
99832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9984
9985 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9986 count for x32. Use R*_LP and omit operand-size suffix.
9987
0b254d8f
L
99882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9989
9990 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9991 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9992 * sysdeps/x86_64/x32/shlib-versions: New file.
9993
ceb809dc
RM
99942012-05-14 Roland McGrath <roland@hack.frob.com>
9995
9996 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9997 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9998 Use _dl_fatal_printf instead.
9999
37f1abd4
JM
100002012-05-14 Joseph Myers <joseph@codesourcery.com>
10001
10002 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10003 set if not set by the user. Do not allow for being unset.
10004 * sysdeps/unix/sysv/linux/configure: Regenerated.
10005
11de3a33
L
100062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10007
10008 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10009 the `q' suffix from lea and replace .quad with ASM_ADDR.
10010
e02f153a
L
100112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10014 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10015 instead of $17.
10016 (PTR_DEMANGLE): Likewise.
10017
520ae0fd
L
100182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10019
10020 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10021 (LP_OP): Likewise.
10022 (ASM_ADDR): Likewise.
10023 (RAX_LP): Likewise.
10024 (RBP_LP): Likewise.
10025 (RBX_LP): Likewise.
10026 (RCX_LP): Likewise.
10027 (RDI_LP): Likewise.
10028 (RSI_LP): Likewise.
10029 (RSP_LP): Likewise.
10030 (R8_LP): Likewise.
10031 (R9_LP): Likewise.
10032 (R10_LP): Likewise.
10033 (R10_LP): Likewise.
10034 (R11_LP): Likewise.
10035 (R12_LP): Likewise.
10036 (R13_LP): Likewise.
10037 (R14_LP): Likewise.
10038 (R15_LP): Likewise.
10039
b985be81
L
100402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10041
10042 * sysdeps/x86_64/x32/dl-machine.h: New file.
10043
6a4888ff
AJ
100442012-05-14 Andreas Jaeger <aj@suse.de>
10045
10046 * manual/Makefile (subdir): Remove export of subdir.
10047 (all): Remove target.
10048 (.PHONY): Remove all from list.
10049 (mkinstalldirs): Remove.
10050 (.PHONY): Remove installdirs from list.
10051 ($(inst_infodir)/libc.info): Use make-target-directory.
10052 (installdirs): Remove.
10053 (subdir_%): Remove.
10054 (glibc-targets): Remove.
10055 (lib): Remove.
10056 (stubs): Remove.
10057 ($(objpfx)stubs ../po/manual.pot): Remove.
10058 ($(objpfx)stamp%): Remove.
10059 (make-target-directory): Remove.
10060 (subdir_install): Remove.
10061 (routines): Remove.
10062 (aux): Remove.
10063 (sources): Remove.
10064 (objects): Remove.
10065 (headers): Remove.
10066
10067 [BZ #13750]
10068 * manual/.gitignore: Remove, it's not needed anymore.
10069 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10070 all files in it.
10071 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10072 directory.
10073 (texis): Renamed to $(objpfx)texis.
10074 (texis-path): New, contains path to generated files.
10075 (chapters.%): Use texis-path for complete path, add extra argument
10076 libc-texinfo.sh.
10077 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10078 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10079 (summary,texi, stamp-summary): Use complete path of
10080 files. Generate files in build dir.
10081 (dir-add.texi): Build in build dir.
10082 (libm-err.texi,stamp-libm-err): Likewise.
10083 (version.texi, stamp-version): Likewise.
10084 (.%c.texi): Likewise.
10085 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10086 (mostlyclean): Remove target.
10087 (realclean): Remove target.
10088 (generated): Add new variable with contents from mostlyclean and
10089 realclean, remove entries duplicated in common-mostlyclean, add
10090 stamp-libm-err and stamp-version.
10091 (generated-dirs): Add libc directory.
10092 ($(inst_infodir)/libc.info): Install files from build dir.
10093
10094 * manual/install.texi (Configuring and compiling): Adjust since
10095 the info files are not part of the tar ball anymore.
10096
7ac77294
AJ
100972012-05-14 Andreas Jaeger <aj@suse.de>
10098
10099 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10100 variable.
10101
ffb7875d
JM
101022012-05-14 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #13717]
10105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10106 to 2.2.0 where earlier.
10107 * sysdeps/unix/sysv/linux/configure: Regenerated.
10108 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10109 Remove conditional code.
10110 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10111 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10112 Remove conditional code.
10113 [!__NR_lchown]: Likewise.
10114 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10115 [__NR_lchown]: Likewise.
10116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10117 comment referencing __ASSUME_LCHOWN_SYSCALL.
10118 * sysdeps/unix/sysv/linux/i386/sigaction.c
10119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10121 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10122 Remove conditional code.
10123 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10124 (__protocol_available): Remove #if 0 code.
10125 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10126 conditional code.
10127 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10128 * sysdeps/unix/sysv/linux/kernel-features.h
10129 (__ASSUME_GETCWD_SYSCALL): Don't define.
10130 (__ASSUME_REALTIME_SIGNALS): Likewise.
10131 (__ASSUME_PREAD_SYSCALL): Likewise.
10132 (__ASSUME_PWRITE_SYSCALL): Likewise.
10133 (__ASSUME_POLL_SYSCALL): Likewise.
10134 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10135 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10136 non-SPARC.
10137 (__ASSUME_SIOCGIFNAME): Don't define.
10138 (__ASSUME_MSG_NOSIGNAL): Likewise.
10139 (__ASSUME_SENDFILE): Define unconditionally.
10140 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10141 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10142 conditional code.
10143 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10144 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10145 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10146 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10147 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10148 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10149 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10163 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10169 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10174 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10175 Remove conditional code.
10176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10177 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10178 Remove conditional code.
10179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10180 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10181 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10182 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10183 Remove conditional code.
10184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10185 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10186 Remove conditional code.
10187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10188 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10189 Remove conditional code.
10190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10191 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10192 Remove conditional code.
10193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10194 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10195 Remove conditional code.
10196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10197 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10200 * sysdeps/unix/sysv/linux/sigaction.c
10201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10203 * sysdeps/unix/sysv/linux/sigpending.c
10204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10206 * sysdeps/unix/sysv/linux/sigprocmask.c
10207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10209 * sysdeps/unix/sysv/linux/sigsuspend.c
10210 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10211 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10213 (__libc_missing_rt_sigs): Remove.
10214 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10215 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10216 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10217 Remove conditional code.
10218 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10219 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10220 return 1.
10221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10222 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10224 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10225
1bfb7291
AJ
102262012-05-14 Andreas Jaeger <aj@suse.de>
10227
caae5a81
AJ
10228 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10229 it's not used in glibc.
10230 (__coshm1): Likewise.
10231 (__acosh1p): Likewise.
10232 (__sgn): Likewise.
10233
1bfb7291
AJ
10234 * manual/string.texi (Copying and Concatenation): Add missing
10235 variable in concat example.
10236 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10237
c044d724
L
102382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10239
144c5467 10240 [BZ #14103]
c044d724
L
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10242 __builtin_clzl with __builtin_clzll.
10243
2523c62b
L
102442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 [BZ #14104]
10247 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10248 libc_freeres_ptr.
10249
d7bb4c42
LD
102502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10251
10252 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10253 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10254 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10256
9dc4e1fb
MF
102572012-05-14 Mike Frysinger <vapier@gentoo.org>
10258
10259 * NEWS: Update ia64 info.
10260
c7df0112
AS
102612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10262
10263 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10264 used as bcopy.
10265
dc70356c
TS
102662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10267
10268 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10269 * sysdeps/unix/syscalls.list (dup3): Likewise.
10270 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10271 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10272
9fb1a21f
L
102732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10274
10275 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10276 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10277
4822a2a5
L
102782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10279
10280 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10281 thread pointer.
10282 (TLS_IE): Use mov/add instead of movq/addq to load thread
10283 pointer.
10284 (TLS_GD_PREFIX): New.
10285 (TLS_GD): Use it.
10286
842b81d6
DM
102872012-05-11 David S. Miller <davem@davemloft.net>
10288
10289 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10290 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10291 (_FPU_SETCW): Likewise.
10292
1cf463cd
L
102932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10296 is 32-byte aligned.
10297
60cc4a18
AS
102982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10299
10300 [BZ #11837]
10301 * iconvdata/gb18030.c: Update tables.
10302 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10303 characters specially.
10304 (BODY for TO_LOOP): Add encoding of missing ranges.
10305
febb44a4
TS
103062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10307
10308 [BZ #13673]
10309 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10310 * sysdeps/mach/hurd/dup3.c: Likewise.
10311 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10312 * sysdeps/powerpc/memmove.c:: Likewise.
10313
0a10fb9e
L
103142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10317 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10318
df8a552f
L
103192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10320
10321 * elf/elf.h (R_X86_64_RELATIVE64): New.
10322 (R_X86_64_NUM): Updated.
10323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10324 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10325 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10326 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10327 tst-quad1pie tst-quad2pie
10328 (modules-names): Add tst-quadmod1 tst-quadmod2.
10329 ($(objpfx)tst-quad1): New dependency.
10330 ($(objpfx)tst-quad2): Likewise.
10331 ($(objpfx)tst-quad1pie): Likewise.
10332 ($(objpfx)tst-quad2pie): Likewise.
10333 * sysdeps/x86_64/tst-quad1.c: New file.
10334 * sysdeps/x86_64/tst-quad1pie.c: New file.
10335 * sysdeps/x86_64/tst-quad2.c: Likewise.
10336 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10337 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10338 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10339 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10340 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10341
f34d6f84
ST
103422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10343
f42d41d1
ST
10344 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10345 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10346 * streams/stropts.h (t_scalar_t): Define type.
10347
3c3571fc
ST
10348 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10349 (_PATH_PRESERVE): Set to "/var/lib".
10350 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10351
61f06bd3
ST
10352 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10353 instead of int.
10354
918d4d71
ST
10355 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10356 if __dir_mkfile succeeded.
10357
f34d6f84
ST
10358 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10359 checking for _hurd_dtablesize. Unlock it right after having
10360 finished _hurd_dtable allocation.
10361
10589b4a
TS
103622012-05-10 Thomas Schwinge <thomas@schwinge.name>
10363
674cdbc7
TS
10364 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10365 * sysdeps/mach/hurd/configure: Regenerated.
10366 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10367 special-casing to...
10368 * sysdeps/gnu/configure.in: ... this new file.
10369 * sysdeps/unix/sysv/linux/configure: Regenerated.
10370 * sysdeps/gnu/configure: New generated file.
10371
8e41b99f
TS
10372 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10373 for Linux: use nsec instead of usec, as well as:
10374 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10375 members of type struct timespec.
10376 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10377 New macros.
10378 (struct stat64): Likewise.
10379 (_STATBUF_ST_NSEC): New macro.
10380 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10381
10589b4a
TS
10382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10383 __strtoul_internal rather than strtoul.
10384
63643c85
PT
103852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10386
10387 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10388 and reject them.
10389
3faebe6a
ST
103902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10391
10392 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10393 which preserves existing values.
10394 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10395
c6474b07
PT
103962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10397
10398 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10399 TIMEOUT values. Return EINVAL for NFDS values either negative or
10400 greater than FD_SETSIZE.
10401
1043890b
ST
104022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10403
10404 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10405 allocated, call __vm_protect to finish enabling the existing space, and
10406 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10407 allocate the remainder.
10408
37ed8b9b
PT
104092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10410
10411 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10412 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10413
db653660
ST
104142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10415
37ed8b9b
PT
10416 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10417 sysdeps/mach/hurd/readlink.c.
b29d4053 10418
db653660
ST
10419 * posix/tst-sysconf.c (posix_options): Only use
10420 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10421 _POSIX_SYNCHRONIZED_IO when they are defined
10422 * sysdeps/mach/hurd/bits/posix_opt.h:
10423 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10424 (_XOPEN_REALTIME): Undefine macro.
10425 (_XOPEN_REALTIME_THREADS): Undefine macro.
10426 (_XOPEN_SHM): Undefine macro.
10427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10428 macro to -1.
10429 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10430 macro to -1.
10431 (_POSIX_ASYNC_IO): Undefine macro.
10432 (_POSIX_PRIORITIZED_IO): Undefine macro.
10433 (_POSIX_SPIN_LOCKS): Define macro to -1.
10434
ee16e894
ST
10435 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10436 SA_NODEFER, SA_RESETHAND.
10437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10438 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10439 F_DUPFD_CLOEXEC.
10440
6103ae3b
TS
104412012-05-10 Thomas Schwinge <thomas@schwinge.name>
10442
10443 * elf/Makefile (pldd-modules): Define unconditionally.
10444
80b4e5f3
TS
104452012-05-10 Thomas Schwinge <thomas@schwinge.name>
10446
10447 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10448
edadcbd6
ST
104492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10450
10451 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10452 Return ENOENT when name is empty.
10453 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10454
80694780
TS
104552012-05-10 Thomas Schwinge <thomas@schwinge.name>
10456
1792c087
TS
10457 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10458
80694780
TS
10459 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10460
6b645f0d
ST
104612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10462
80694780
TS
10463 Fix mlock in all cases except non-readable pages.
10464 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10465 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10466
6b645f0d
ST
10467 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10468 (__mkdir): When path is `/', just fail with EEXIST.
10469 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10470
e468f8a3
TS
104712012-05-10 Thomas Schwinge <thomas@schwinge.name>
10472
10473 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10474 <sys/uio.h> (for writev).
10475 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10476 and <sys/param.h> (for MIN).
10477
a4186cff
PT
104782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10479
10480 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10481 REQUESTED_TIME. Properly set the remaining time and return EINTR
10482 if interrupted.
10483
510bbf14
TS
104842012-05-10 Thomas Schwinge <thomas@schwinge.name>
10485
10486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10487 Depend on against $(link-rpcuserlibs).
10488
5d5722e8
ST
104892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10490
a4186cff
PT
10491 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10492 (__libc_stack_end): Do not use attribute_relro.
10493 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10494 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10495 to libthread-provided value.
a4186cff
PT
10496 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10497 attribute_relro.
5d5722e8 10498
37233df9
TS
104992012-05-10 Thomas Schwinge <thomas@schwinge.name>
10500
be971a2b
TS
10501 [BZ #3748]
10502 * bits/libc-lock.h (__libc_once_get): New macro.
10503 * sysdeps/mach/bits/libc-lock.h: Likewise.
10504 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10506 instead of using implementation details.
10507
37233df9
TS
10508 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10509 * libio/freopen.c: Likewise.
10510 * libio/freopen64.c: Likewise.
10511 * misc/syslog.c: Likewise.
10512 * nscd/connections.c: Likewise.
10513 * nscd/netgroupcache.c: Likewise.
10514 * sysdeps/posix/getcwd.c: Likewise.
10515
38de94a5
RM
105162012-05-10 Roland McGrath <roland@hack.frob.com>
10517
10518 * math/w_ilogbf.c: Add #include <limits.h>.
10519
67530489
ST
105202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10521
a4186cff 10522 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10523 path instead of returning without unlocking.
10524
67530489
ST
10525 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10526 immediate-write ioctls.
10527 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10528
5aa3a74a
TS
105292012-05-10 Thomas Schwinge <thomas@schwinge.name>
10530
18bad2ae
TS
10531 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10532 __builtin_frame_address instead of making assumptions about the
10533 location of the return address relative to DATA. Force early load of
10534 the return address.
10535 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10536 __builtin_frame_address.
10537
5aa3a74a
TS
10538 dup3 for GNU Hurd.
10539 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10540 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10541 implement dup3 and do some further code clean-ups.
10542 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10543 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10544
ecd0de9a
ST
105452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10546
cd9fa985
ST
10547 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10548
a4186cff
PT
10549 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10550 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10551 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10552 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10553 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10554 d->port.lock.
802ca5a5 10555
a4186cff
PT
10556 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10557 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10558 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10559
bcf55240
TS
105602012-05-10 Thomas Schwinge <thomas@schwinge.name>
10561
6960eb42
TS
10562 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10563 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10564 definitions.
10565
eb43375f
TS
10566 accept4 for GNU Hurd.
10567 * include/sys/socket.h (__libc_accept4): New prototype.
10568 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10569 to implement __libc_accept4.
10570 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10571 __libc_accept4.
10572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10573
bcf55240
TS
10574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10575 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10576 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10577 signal-defines.sym.
10578
6178c55b
ST
105792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10580
a4186cff 10581 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10582
6f080c2f
TS
105832012-05-10 Thomas Schwinge <thomas@schwinge.name>
10584
10585 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10586 assertion on O_CLOEXEC flag.
10587 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10588 * hurd/intern-fd.c: Likewise.
10589 * hurd/port2fd.c: Likewise.
10590
bcfe3a54
ST
105912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10592
10593 [BZ #3906]
10594 * bits/in.h (IPV6_PKTINFO): Define new macro.
10595 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10596
89c9aa49
AZ
105972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10598
10599 [BZ #13954]
10600 [BZ #13955]
10601 [BZ #13956]
10602 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10604 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10607 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10608 * math/libm-test.inc (logb_test) : Additional logb tests.
10609
021db4be
AJ
106102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10611 Andreas Jaeger <aj@suse.de>
10612
10613 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10614 * configure: Regenerated.
10615 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10616 * config.make.in (link-obsolete-rpc): New substituted variable.
10617 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10618 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10619 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10620 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10621 so that libc.a contains the symbols.
10622 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10623 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10624 * sunrpc/auth_none.c: Likewise.
10625 * sunrpc/auth_unix.c: Likewise.
10626 * sunrpc/authdes_prot.c: Likewise.
10627 * sunrpc/authuxprot.c: Likewise.
10628 * sunrpc/clnt_gen.c: Likewise.
10629 * sunrpc/clnt_perr.c: Likewise.
10630 * sunrpc/clnt_raw.c: Likewise.
10631 * sunrpc/clnt_simp.c: Likewise.
10632 * sunrpc/clnt_tcp.c: Likewise.
10633 * sunrpc/clnt_udp.c: Likewise.
10634 * sunrpc/clnt_unix.c: Likewise.
10635 * sunrpc/des_crypt.c: Likewise.
10636 * sunrpc/des_soft.c: Likewise.
10637 * sunrpc/get_myaddr.c: Likewise.
10638 * sunrpc/key_call.c: Likewise.
10639 * sunrpc/key_prot.c: Likewise.
10640 * sunrpc/netname.c: Likewise.
10641 * sunrpc/pm_getmaps.c: Likewise.
10642 * sunrpc/pm_getport.c: Likewise.
10643 * sunrpc/pmap_clnt.c: Likewise.
10644 * sunrpc/pmap_prot.c: Likewise.
10645 * sunrpc/pmap_prot2.c: Likewise.
10646 * sunrpc/pmap_rmt.c: Likewise.
10647 * sunrpc/publickey.c: Likewise.
10648 * sunrpc/rpc_cmsg.c: Likewise.
10649 * sunrpc/rpc_common.c: Likewise.
10650 * sunrpc/rpc_dtable.c: Likewise.
10651 * sunrpc/rpc_prot.c: Likewise.
10652 * sunrpc/rpc_thread.c: Likewise.
10653 * sunrpc/rtime.c: Likewise.
10654 * sunrpc/svc.c: Likewise.
10655 * sunrpc/svc_auth.c: Likewise.
10656 * sunrpc/svc_raw.c: Likewise.
10657 * sunrpc/svc_run.c: Likewise.
10658 * sunrpc/svc_tcp.c: Likewise.
10659 * sunrpc/svc_udp.c: Likewise.
10660 * sunrpc/svc_unix.c: Likewise.
10661 * sunrpc/svcauth_des.c: Likewise.
10662 * sunrpc/xcrypt.c: Likewise.
10663 * sunrpc/xdr.c: Likewise.
10664 * sunrpc/xdr_array.c: Likewise.
10665 * sunrpc/xdr_float.c: Likewise.
10666 * sunrpc/xdr_intXX_t.c: Likewise.
10667 * sunrpc/xdr_mem.c: Likewise.
10668 * sunrpc/xdr_rec.c: Likewise.
10669 * sunrpc/xdr_ref.c: Likewise.
10670 * sunrpc/xdr_sizeof.c: Likewise.
10671 * sunrpc/xdr_stdio.c: Likewise.
10672
b5c086a2
RM
106732012-05-10 Roland McGrath <roland@hack.frob.com>
10674
10675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10676 change. Update copyright years.
10677
6d74dd09
JM
106782012-05-10 Joseph Myers <joseph@codesourcery.com>
10679
10680 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10681
28e72501
MK
106822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10683 Joseph Myers <joseph@codesourcery.com>
10684 Paul Pluzhnikov <ppluzhnikov@google.com>
10685
10686 [BZ #14012]
10687 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10688 requiring rpcgen.
10689 [cross-compiling] (extra-libs): Likewise.
10690 [cross-compiling] (extra-libs-others): Likewise.
10691 [cross-compiling] (librpcsvc-routines): Likewise.
10692 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10693 [cross-compiling] (omit-deps): Likewise.
10694 (sunrpc-CPPFLAGS): New variable.
10695 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10696 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10697 (cross-rpcgen-objs): New variable.
10698 (extra-objs): Append $(cross-rpcgen-objs).
10699 ($(cross-rpcgen-objs)): New rule.
10700 ($(objpfx)cross-rpcgen): Likewise.
10701 (rpcgen-cmd): Define to use $(built-program-file). Expand
10702 comment.
10703 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10704 ($(objpfx)x%.stmp): Likewise.
10705 * sunrpc/proto.h [IS_IN_build] (_): Define.
10706 [IS_IN_build] (_libc_intl_domainname): Likewise.
10707
c8c59454
L
107082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10709
10710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10711 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10712 and R_X86_64_TPOFF64.
10713
6f27cd16
JM
107142012-05-10 Joseph Myers <joseph@codesourcery.com>
10715
10716 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10717 sysdeps/unix/sysv/syscalls.list.
10718 (stime): Likewise.
10719 (utime): Likewise.
10720 * sysdeps/unix/sysv/syscalls.list: Remove file.
10721
02467e1c
PE
107222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10723
10724 [BZ #3440]
10725 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10726 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10727 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10728 (__LC_IDENTIFICATION): Make these macros useful in #if
10729 expressions, as required by C99.
10730
da392631
AS
107312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10732
10733 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10734 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10735 after this.
10736
8115f29b
L
107372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * stdlib/longlong.h: Updated from GCC.
10740
bdd74070
AJ
107412012-05-09 Andreas Jaeger <aj@suse.de>
10742
edfe0dbe
AJ
10743 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10744 default is first entry.
10745 (run_mode): Set type.
10746 (main): Remove informal message about syslog.
10747 (options): Fix typo.
10748
bcfe3a54
ST
10749 [BZ #14053]
10750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10751 to asm.
bcfe3a54
ST
10752 (lrint): Likewise.
10753 (llrintf): Likewise.
10754 (llrint): Likewise.
10755 (rint): Likewise.
10756 (rintf): Likewise.
10757 (nearbyint): Likewise.
10758 (nearbyintf): Likewise.
bdd74070 10759
91d8d69e
AJ
107602012-05-09 Andreas Jaeger <aj@suse.de>
10761 Pedro Alves <palves@redhat.com>
10762
10763 * nscd/nscd.c (run_mode): Use enum.
10764 (main): Cleanup coding style issue.
10765
bb90b80b
AJ
107662012-05-09 Alexandre Oliva <aoliva@redhat.com>
10767 Andreas Jaeger <aj@suse.de>
10768
bcfe3a54
ST
10769 * nscd/nscd.c (go_background): Replaced with...
10770 (run_mode): ... this.
bb90b80b 10771 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10772 (options): Add -F --foreground.
10773 (main): Implement it.
10774 (parse_opt): Parse it.
bb90b80b 10775
1a4b75a1
AJ
107762012-05-09 Andreas Jaeger <aj@suse.de>
10777
10778 [BZ #14083]
10779 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10780 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10781 -Wconversion warning.
10782 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10783 Likewise.
10784
b1cc2472
JM
107852012-05-09 Joseph Myers <joseph@codesourcery.com>
10786
10787 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10788 == 0.
10789 (LC_ALL): Use macro-int-constant.
10790 (LC_COLLATE): Likewise.
10791 (LC_CTYPE): Likewise.
10792 (LC_MESSAGES): Likewise.
10793 (LC_MONETARY): Likewise.
10794 (LC_NUMERIC): Likewise.
10795 (LC_TIME): Likewise.
10796 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10797 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10799 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10800 Specify type.
10801 [C99-based standards] (float_t): Expect type.
10802 [C99-based standards] (double_t): Expect type.
10803 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10804 type.
10805 [C99-based standards] (HUGE_VALL): Likewise.
10806 [C99-based standards] (INFINITY): Likewise.
10807 [C99-based standards] (NAN): Likewise.
10808 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10809 [C99-based standards] (FP_NAN): Likewise.
10810 [C99-based standards] (FP_NORMAL): Likewise.
10811 [C99-based standards] (FP_SUBNORMAL): Likewise.
10812 [C99-based standards] (FP_ZERO): Likewise.
10813 [C99-based standards] (FP_FAST_FMA): Use
10814 optional-macro-int-constant. Specify type. Require == 1.
10815 [C99-based standards] (FP_FAST_FMAF): Likewise.
10816 [C99-based standards] (FP_FAST_FMAL): Likewise.
10817 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10818 [C99-based standards] (FP_ILOGBNAN): Likewise.
10819 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10820 Specify type.
10821 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10822 [C99-based standards] (math_errhandling): Specify type.
10823 [ISO99 || ISO11] (signgam): Do not allow.
10824 [non-C99-based standards] (copysignf): Do not allow.
10825 [non-C99-based standards] (exp2f): Likewise.
10826 [non-C99-based standards] (log2f): Likewise.
10827 [non-C99-based standards] (modff): Allow.
10828 [non-C99-based standards] (erff): Do not allow.
10829 [non-C99-based standards] (erfcf): Likewise.
10830 [non-C99-based standards] (gammaf): Likewise.
10831 [non-C99-based standards] (hypotf): Likewise.
10832 [non-C99-based standards] (j0f): Likewise.
10833 [non-C99-based standards] (j1f): Likewise.
10834 [non-C99-based standards] (jnf): Likewise.
10835 [non-C99-based standards] (lgammaf): Likewise.
10836 [non-C99-based standards] (tgammaf): Likewise.
10837 [non-C99-based standards] (y0f): Likewise.
10838 [non-C99-based standards] (y1f): Likewise.
10839 [non-C99-based standards] (ynf): Likewise.
10840 [non-C99-based standards] (isnanf): Likewise.
10841 [non-C99-based standards] (acoshf): Likewise.
10842 [non-C99-based standards] (asinhf): Likewise.
10843 [non-C99-based standards] (atanhf): Likewise.
10844 [non-C99-based standards] (cbrtf): Likewise.
10845 [non-C99-based standards] (expm1f): Likewise.
10846 [non-C99-based standards] (ilogbf): Likewise.
10847 [non-C99-based standards] (log1pf): Likewise.
10848 [non-C99-based standards] (logbf): Likewise.
10849 [non-C99-based standards] (nextafterf): Likewise.
10850 [non-C99-based standards] (remainderf): Likewise.
10851 [non-C99-based standards] (rintf): Likewise.
10852 [non-C99-based standards] (scalbf): Likewise.
10853 [non-C99-based standards] (copysignl): Likewise.
10854 [non-C99-based standards] (exp2l): Likewise.
10855 [non-C99-based standards] (log2l): Likewise.
10856 [non-C99-based standards] (modfl): Allow.
10857 [non-C99-based standards] (erfl): Do not allow.
10858 [non-C99-based standards] (erfcl): Likewise.
10859 [non-C99-based standards] (gammal): Likewise.
10860 [non-C99-based standards] (hypotl): Likewise.
10861 [non-C99-based standards] (j0l): Likewise.
10862 [non-C99-based standards] (j1l): Likewise.
10863 [non-C99-based standards] (jnl): Likewise.
10864 [non-C99-based standards] (lgammal): Likewise.
10865 [non-C99-based standards] (tgammal): Likewise.
10866 [non-C99-based standards] (y0l): Likewise.
10867 [non-C99-based standards] (y1l): Likewise.
10868 [non-C99-based standards] (ynl): Likewise.
10869 [non-C99-based standards] (isnanl): Likewise.
10870 [non-C99-based standards] (acoshl): Likewise.
10871 [non-C99-based standards] (asinhl): Likewise.
10872 [non-C99-based standards] (atanhl): Likewise.
10873 [non-C99-based standards] (cbrtl): Likewise.
10874 [non-C99-based standards] (expm1l): Likewise.
10875 [non-C99-based standards] (ilogbl): Likewise.
10876 [non-C99-based standards] (log1pl): Likewise.
10877 [non-C99-based standards] (logbl): Likewise.
10878 [non-C99-based standards] (nextafterl): Likewise.
10879 [non-C99-based standards] (remainderl): Likewise.
10880 [non-C99-based standards] (rintl): Likewise.
10881 [non-C99-based standards] (scalbl): Likewise.
10882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10883 [non-C99-based standards] (FP_*): Do not allow.
10884 [C99-based standards] (FP_*): Change to
10885 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10886 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10887 allow.
10888 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10889 (SIG_ERR): Likewise.
10890 [X/Open-based standards] (SIG_HOLD): Likewise.
10891 (SIG_IGN): Likewise.
10892 (SIGABRT): Use macro-int-constant. Specify type. Require
10893 positive value.
10894 (SIGFPE): Likewise.
10895 (SIGILL): Likewise.
10896 (SIGINT): Likewise.
10897 (SIGSEGV): Likewise.
10898 (SIGTER): Likewise.
10899 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10900 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10901 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10902 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10903 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10904 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10905 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10906 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10907 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10908 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10909 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10910 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10911 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10912 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10913 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10914 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10915 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10916 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10917 [X/Open-based standards] (SIGTRAP): Likewise.
10918 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10919 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10922 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10923 allow.
10924
b9f1922d
IW
109252012-05-08 Ian Wienand <ianw@vmware.com>
10926
10927 [BZ #14080]
10928 * time/tzset.c (__tzset_parse_tz): Update default rules for
10929 daylight time changes in the Energy Policy Act of 2005.
10930
1db86e88
AJ
109312012-05-09 Andreas Jaeger <aj@suse.de>
10932
10933 [BZ #13983]
10934 * elf/ldconfig.c (parse_conf): Change string to make clear that
10935 ldconfig only issued a warning if ld.so.conf does not exist.
10936
dee4a4e3
DM
109372012-05-08 David S. Miller <davem@davemloft.net>
10938
ee0db190
DM
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10940 movxtod instead of popping the value on the stack.
10941
dee4a4e3
DM
10942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10943
6a43ec98
CD
109442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10945
10946 * config.h.in: Add HAVE_ARM_PCS_VFP.
10947
05c2c961
RMG
109482012-05-08 Roland Mc Grath <roland@hack.frob.com>
10949
bcfe3a54
ST
10950 [BZ #13979]
10951 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10952 checking but the checks are disabled for any reason.
05c2c961 10953
4b30f61a
L
109542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10955
10956 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10957 and ELF64_R_TYPE with ELFW(R_TYPE).
10958
eee2bc67
JM
109592012-05-08 Joseph Myers <joseph@codesourcery.com>
10960
7ea5391a
JM
10961 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10962 (ulimit): Likewise.
10963
eee2bc67
JM
10964 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10965 (settimeofday): Likewise.
10966
abb66a67
MF
109672012-05-08 Mike Frysinger <vapier@gentoo.org>
10968
10969 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10970 a struct th_u2 inside the union, and move tu_block/tu_code into
10971 a new th_u3 union of tu_block/tu_code inside of that. Move
10972 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10973 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10974 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10975 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10976 (th_stuff): Change to th_u1.tu_stuff.
10977 (th_data): Define.
10978 (th_msg): Change to th_u1.th_u2.tu_data.
10979
7f18b530
DM
109802012-05-07 David S. Miller <davem@davemloft.net>
10981
05760585
DM
10982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10983
7f18b530
DM
10984 [BZ #14074]
10985 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10986 (SETUP_PIC_REG): Use it.
10987 (SETUP_PIC_REG_LEAF): Use it.
10988
495fd99f
JM
109892012-05-07 Joseph Myers <joseph@codesourcery.com>
10990
10991 [BZ #13885]
10992 [BZ #13923]
10993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10994 USE_AS_EXPM1L.
10995 (EXPL_FINITE): Likewise.
10996 (FLDLOG): Likewise.
10997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10998 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10999 e_expl.S.
11000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11001 USE_AS_EXPM1L.
11002 (EXPL_FINITE): Likewise.
11003 (FLDLOG): Likewise.
11004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11005 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11006 e_expl.S.
11007 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11008 test of -max_value argument for long double.
11009 * sysdeps/i386/fpu/libm-test-ulps: Update.
11010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11011
6693d694
DM
110122012-05-06 David S. Miller <davem@davemloft.net>
11013
11014 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11015 quad soft-float symbols whose references which are compiler
11016 generated.
11017 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11018
6c23e11c
JM
110192012-05-06 Joseph Myers <joseph@codesourcery.com>
11020
d8b82cad
JM
11021 [BZ #13884]
11022 [BZ #13914]
11023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11024 USE_AS_EXP10L.
11025 (EXPL_FINITE): Likewise.
11026 (FLDLOG): Likewise.
11027 (c0): Likewise.
11028 (c1): Likewise.
11029 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11030 Adjust comments for base varying.
11031 (__expl_finite): Change alias to EXPL_FINITE.
11032 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11033 e_expl.S.
11034 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11035 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11037 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11039 USE_AS_EXP10L.
11040 (EXPL_FINITE): Likewise.
11041 (FLDLOG): Likewise.
11042 (c0): Likewise.
11043 (c1): Likewise.
11044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11045 Adjust comments for base varying.
11046 (__expl_finite): Change alias to EXPL_FINITE.
11047 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11048 tests for bugs.
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11050
6c23e11c
JM
11051 [BZ #14064]
11052 * math/libm-test.inc (check_float_internal): Correct ulp
11053 calculation for subnormal expected results.
11054
29ba805c
AJ
110552012-05-06 Andreas Jaeger <aj@suse.de>
11056
11057 * Makeconfig (+math-flags): New, set to -frounding-math.
11058 (+cflags): Add +math-flags so that all of glibc gets compiled with
11059 it.
11060
11061 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11062
7b17aeda
JM
110632012-05-05 Joseph Myers <joseph@codesourcery.com>
11064
5779f134
JM
11065 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11066 Disable one test.
11067
41498f4d
JM
11068 [BZ #13787]
11069 [BZ #13922]
11070 [BZ #14036]
11071 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11072 (__ieee754_expl): Allow for and saturate large arguments.
11073 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11074 (u_threshold): Likewise.
11075 (__exp): Call __ieee754_exp before checking for overflow and
11076 underflow.
11077 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11078 (u_threshold): Likewise.
11079 (__expf): Call __ieee754_expf before checking for overflow and
11080 underflow.
11081 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11082 (u_threshold): Likewise.
11083 (__expl): Call __ieee754_expl before checking for overflow and
11084 underflow.
11085 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11086 (__ieee754_expl): Allow for and saturate large arguments.
11087 * math/libm-test.inc (exp_test): Add another test. Do not allow
11088 missing overflow exception on overflow.
11089 (expm1_test): Do not allow missing overflow exception on overflow.
11090
6698b8bf
JM
11091 * sysdeps/i386/fpu/e_expl.c: Move to ...
11092 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11093 rather than using inline asm.
11094 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11095 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11096 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11097
7b17aeda
JM
11098 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11099 (nice): Likewise.
11100 (poll): Likewise.
11101 (signal): Likewise.
11102 (time): Likewise.
11103 (times): Likewise.
11104
f7c85819
JM
111052012-05-04 Joseph Myers <joseph@codesourcery.com>
11106
11107 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11108 sysdeps/unix/common/syscalls.list.
11109 (fchmod): Likewise.
11110 (fchown): Likewise.
11111 (ftruncate): Likewise.
11112 (getrusage): Likewise.
11113 (gettimeofday): Likewise.
11114 (setpgid): Likewise.
11115 (setregid): Likewise.
11116 (setreuid): Likewise.
11117 (sigaction): Likewise.
11118 (truncate): Likewise.
11119 (vhangup): Likewise.
11120 * sysdeps/unix/common/syscalls.list: Remove file.
11121 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11122 * sysdeps/unix/sysv/linux/Implies: Likewise.
11123
336270d0
L
111242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11128 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11129 Moved to ...
11130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11131 Here.
11132 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11133 to ...
11134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11135 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11136 to ...
11137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11138 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11139 to ...
11140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11141 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11142 to ...
11143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11144 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11145 to ...
11146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11148 to ...
11149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11150 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11151 to ...
11152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11153 Here.
11154 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11155 to ...
11156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11157 Here.
11158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11159 to ...
11160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11161 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11162 Moved to ...
11163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11164 Here.
11165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11166 to ...
11167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11168
d128e450
JM
111692012-05-04 Joseph Myers <joseph@codesourcery.com>
11170
fa8ee516
JM
11171 * sysdeps/unix/common/bits/dirent.h: Remove file.
11172 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11173
d128e450
JM
11174 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11175 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11176 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11177 * sysdeps/unix/bsd/isatty.c: Likewise.
11178 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11179 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11180 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11181
ff8faaf0 111822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11183
62881be4 11184 [BZ #13563]
31dc8730
AZ
11185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11186 long double comparison inaccuracies.
11187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11189
6fef930c
AS
111902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11191
11192 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11194
8f203e6c
JM
111952012-05-04 Joseph Myers <joseph@codesourcery.com>
11196
11197 [BZ #14049]
11198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11199 nonzero digits before rounding a hex value.
11200 * stdlib/tst-strtod.c (tests): Add another test.
11201
5197d9c2
AK
112022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11203
11204 * sysdeps/s390/fpu/libm-test-ulps: Update.
11205
f0c1dedf
AJ
112062012-05-03 Andreas Jaeger <aj@suse.de>
11207
11208 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11209 does not get optimized out.
11210 (malloc_opt_barrier): New.
11211
a65ef2ae 112122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11213 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11214
2b942cb7 11215 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11216 intermediate file deletion.
2b942cb7 11217 (generated): Add .symlist files.
a65ef2ae 11218
54b71e02
JM
112192012-05-03 Joseph Myers <joseph@codesourcery.com>
11220
11221 [BZ #13775]
11222 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11223 Redirect under this condition.
11224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11225 [__USE_GNU] (__dprintf_chk): Not under this condition.
11226 [__USE_GNU] (__vdprintf_chk): Likewise.
11227 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11228 under this condition.
11229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11230 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11231 [__USE_XOPEN2K8] (vdprintf): Likewise.
11232 [__USE_GNU] (__dprintf_chk): Not under this condition.
11233 [__USE_GNU] (__vdprintf_chk): Likewise.
11234 [__USE_GNU] (dprintf): Likewise.
11235 [__USE_GNU] (vdprintf): Likewise.
11236
d3dfcc41
RM
112372012-05-03 Roland McGrath <roland@hack.frob.com>
11238
11239 * elf/Makefile (common-generated): Set this instead of generated for
11240 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11241 $(all-built-dso)-derived lists.
11242
7ac30cc5
AJ
112432012-05-03 Andreas Jaeger <aj@suse.de>
11244
0c51e550
AJ
11245 * sysdeps/i386/fpu/libm-test-ulps: Update.
11246
7ac30cc5
AJ
11247 * FAQ: Removed.
11248 * FAQ.in: Likewise.
11249 * scripts/gen-FAQ.pl: Likewise.
11250 * manual/install.texi (Installation): Point to online location of
11251 FAQ.
11252 * Makefile (files-for-dist): Remove FAQ.
11253 (FAQ): Remove.
11254
d4c2917f
AM
112552012-05-02 Allan McRae <allan@archlinux.org>
11256
11257 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11258 (LDFLAGS-reldepmod5.so): Likewise.
11259 (LDFLAGS-reldep6mod1.so): Likewise.
11260 (LDFLAGS-reldep6mod4.so): Likewise.
11261 (LDFLAGS-reldep8mod3.so): Likewise.
11262 (LDFLAGS-unload4mod1.so): Likewise.
11263 (LDFLAGS-unload4mod2.so): Likewise.
11264 (LDFLAGS-tst-initorder): Likewise.
11265 (LDFLAGS-tst-initordera2.so): Likewise.
11266 (LDFLAGS-tst-initordera3.so): Likewise.
11267 (LDFLAGS-tst-initordera4.so): Likewise.
11268 (LDFLAGS-tst-initorderb2.so): Likewise.
11269 (LDFLAGS-noload): Likewise.
11270 (LDFLAGS-next): Likewise.
11271 (LDFLAGS-order2mod1.so): Likewise.
11272 (LDFLAGS-order2mod2.so): Likewise.
11273 (LDFLAGS-tst-initorder2): Likewise.
11274 (LDFLAGS-tst-initorder2a.so): Likewise.
11275 (LDFLAGS-tst-initorder2b.so): Likewise.
11276 (LDFLAGS-tst-initorder2c.so): Likewise.
11277 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11278
d77f993f
DM
112792012-05-02 David S. Miller <davem@davemloft.net>
11280
11281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11282
171a70b4
PP
112832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11284
11285 [BZ #14055]
11286 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11287
0be196ad
AJ
112882012-05-02 Andreas Jaeger <aj@suse.de>
11289
11290 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11291 since we manipulate rounding mode.
11292 (CPPFLAGS-test-idouble.c): Likewise.
11293 (CPPFLAGS-test-ifloat.c): Likewise.
11294 (CFLAGS-test-ldouble.c): Likewise.
11295 (CFLAGS-test-double.c): Likewise.
11296 (CFLAGS-test-float.c): Likewise.
11297 (CFLAGS-test-misc.c): Likewise.
11298 (CFLAGS-test-test-fenv.c): Likewise.
11299
4f9d04aa
AZ
113002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11301
2b942cb7
RM
11302 [BZ #2550]
11303 [BZ #2570]
11304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11305 comparisons to determine direction to adjust input.
4f9d04aa 11306
82a79e7d
RM
113072012-05-01 Roland McGrath <roland@hack.frob.com>
11308
f5a01ca9
RM
11309 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11310 output to the target.
11311
90fe4186
RM
11312 * scripts/localplt.awk: New file.
11313 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11314 (check-localplt-CFLAGS): Variable removed.
11315 ($(all-built-dso:=.jmprel)): New static pattern rule.
11316 (generated): Add those targets.
11317 (localplt-built-dso): New variable.
11318 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11319
11320 * elf/check-localplt.c: File removed.
11321
82397ed6
RM
11322 * scripts/check-execstack.awk: New file.
11323 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11324 (check-execstack-CFLAGS): Variable removed.
11325 ($(objpfx)check-execstack.h): Target removed.
11326 ($(objpfx)execstack-default): New target.
11327 (generated): Add that instead of check-execstack.h.
11328 ($(all-built-dso:=.phdr)): New static pattern rule.
11329 (generated): Add those targets.
11330 * elf/check-execstack.c: File removed.
11331
82a79e7d
RM
11332 * scripts/check-textrel.awk: New file.
11333 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11334 (check-textrel-CFLAGS): Variable removed.
11335 (all-built-dso): Use := to define.o
11336 ($(all-built-dso:=.dyn)): New static pattern rule.
11337 (generated): Add those targets.
11338 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11339 * config.make.in (READELF): New substituted variable.
11340 * elf/check-textrel.c: File removed.
11341
62fde54f 113422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11343
615605c9
JM
11344 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11345 allow.
11346 * conform/data/ctype.h-data [C99-based standards] (isblank):
11347 Expect function.
11348 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11349 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11351 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11352 Specify type. Require positive value.
11353 (EILSEQ): Likewise.
11354 (ERANGE): Likewise.
11355 [ISO || POSIX] (EILSEQ): Do not expect.
11356 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11357 Specify type. Require positive value.
11358 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11359 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11360 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11361 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11362 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11363 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11364 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11365 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11366 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11367 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11368 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11369 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11370 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11371 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11372 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11373 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11374 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11376 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11377 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11378 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11379 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11380 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11381 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11382 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11383 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11385 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11387 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11388 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11389 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11391 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11392 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11393 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11394 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11395 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11396 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11397 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11398 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11399 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11400 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11401 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11402 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11403 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11405 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11406 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11407 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11408 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11409 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11410 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11411 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11412 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11413 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11414 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11415 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11416 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11417 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11418 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11419 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11420 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11421 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11422 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11423 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11424 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11429 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11430 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11431 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11432 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11433 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11434 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11435 Require >= 2.
11436 (FLT_ROUNDS): Expect as macro, not constant.
11437 (FLT_MANT_DIG): Use macro-int-constant.
11438 (DBL_MANT_DIG): Likewise.
11439 (LDBL_MANT_DIG): Likewise.
11440 (FLT_DIG): Likewise.
11441 (DBL_DIG): Likewise.
11442 (LDBL_DIG): Likewise.
11443 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11444 (DBL_MIN_EXP): Likewise.
11445 (LDBL_MIN_EXP): Likewise.
11446 (FLT_MAX_EXP): Use macro-int-constant.
11447 (DBL_MAX_EXP): Likewise.
11448 (LDBL_MAX_EXP): Likewise.
11449 (FLT_MAX_10_EXP): Likewise.
11450 (DBL_MAX_10_EXP): Likewise.
11451 (LDBL_MAX_10_EXP): Likewise.
11452 (FLT_MAX): Use macro-constant.
11453 (DBL_MAX): Likewise.
11454 (LDBL_MAX): Likewise.
11455 (FLT_EPSILON): Use macro-constant. Give upper bound.
11456 (DBL_EPSILON): Likewise.
11457 (LDBL_EPSILON): Likewise.
11458 (FLT_MIN): Likewise.
11459 (DBL_MIN): Likewise.
11460 (LDBL_MIN): Likewise.
11461 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11462 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11463 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11464 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11465 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11466 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11467 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11468 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11469 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11470 [ISO11] (FLT_TRUE_MIN): Likewise.
11471 [ISO11] (LDBL_TRUE_MIN): Likewise.
11472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11473 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11474 (SCHAR_MIN): Use macro-int-constant. Specify type.
11475 (SCHAR_MAX): Likewise.
11476 (UCHAR_MAX): Likewise.
11477 (CHAR_MIN): Likewise.
11478 (CHAR_MAX): Likewise.
11479 (MB_LEN_MAX): Use macro-int-constant.
11480 (SHRT_MIN): Use macro-int-constant. Specify type.
11481 (SHRT_MAX): Likewise.
11482 (USHRT_MAX): Likewise.
11483 (INT_MAX): Likewise.
11484 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11485 bound negative.
11486 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11487 bound with "U".
11488 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11489 bound with "L".
11490 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11491 bound negative. Suffix upper bound with "L".
11492 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11493 bound with "UL".
11494 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11495 Specify type.
11496 [C99-based standards] (LLONG_MAX): Likewise.
11497 [C99-based standards] (ULLONG_MAX): Likewise.
11498 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11499 == 0.
11500 [ISO11] (max_align_t): Require type.
11501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11502
c9140a62
JM
11503 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11504 from $CFLAGS, without defining away __attribute__ calls.
11505 (checknamespace): Use $CFLAGS_namespace.
11506
9af0bf29
JM
11507 * conform/conformtest.pl (@keywords): Only include C99 keywords
11508 for standards based on C99 or C11.
11509
343222a2
JM
11510 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11511 Disable tests.
11512 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11513 UNIX98]: Likewise.
11514
661f8cf0
JM
11515 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11516 usability of symbols in #if.
11517
ee74b9cb
JM
11518 * conform/conformtest.pl: If macro or constant types start
11519 "promoted:", expect the symbol to be of the following type
11520 promoted by the integer promotions.
62fde54f 11521
aafc49b3
JM
11522 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11523 in one place. Also handle "macro-constant".
11524
fefdf574
JM
11525 * conform/conformtest.pl: Only accept expected macro values with
11526 "==". Parse all "macro" lines in one place.
11527 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11528
f2d922fe
JM
11529 * conform/conformtest.pl: Handle braced types on "constant" lines
11530 instead of handling "typed-constant".
11531 * conform/data/signal.h-data: Use "constant" instead of
11532 "typed-constant".
11533
d22956c9
JM
11534 * conform/conformtest.pl: Handle "optional-" at start of lines in
11535 one place rather than duplicating several cases. Handle each
11536 format of "macro" line with initial "optional-".
11537
028e2e38
JM
11538 * conform/conformtest.pl: Only accept expected constant or
11539 optional-constant values with "==". Parse all "constant" lines in
11540 one place. Parse all "optional-constant" lines in one place.
11541 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11542 * conform/data/fmtmsg.h-data: Likewise.
11543 * conform/data/netinet/in.h-data: Likewise.
11544 * conform/data/tar.h-data: Likewise.
11545 * conform/data/limits.h-data: Use "==" form on "constant" and
11546 "optional-constant" lines.
11547
1b8f2850
JM
11548 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11549 Use -std=c99 for XOPEN2K.
11550 (@knownproblems): Remove.
11551 (newtoken): Don't check %isknown.
11552
a05a144b
JM
11553 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11554 Do not expect macro.
11555 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11556 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11557 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11558 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11559 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11560 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11561 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11562 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11563 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11564 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11565 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11566 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11567 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11568 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11569 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11570 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11571 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11572 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11573 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11574 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11575 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11579 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11580 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11581 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11582 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11583 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11584 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11585 [XPG3] (acosh): Likewise.
11586 [XPG3] (asinh): Likewise.
11587 [XPG3] (atanh): Likewise.
11588 [XPG3] (cbrt): Likewise.
11589 [XPG3] (expm1): Likewise.
11590 [XPG3] (ilogb): Likewise.
11591 [XPG3] (log1p): Likewise.
11592 [XPG3] (logb): Likewise.
11593 [XPG3] (nextafter): Likewise.
11594 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11595 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11596 [XPG3] (remainder): Likewise.
11597 [XPG3] (rint): Likewise.
11598 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11599 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11600 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11601 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11602 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11603 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11604 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11605 [UNIX98 || XOPEN2K] (scalb): Expect.
11606 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11607 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11608 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11609 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11610 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11611 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11612 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11613 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11614 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11615 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11616 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11617 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11618 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11619 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11620 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11621 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11622 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11623 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11624 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11625 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11626 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11627 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11628 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11629 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11630 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11631 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11632 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11633 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11634 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11635 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11636 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11637 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11638 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11639 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11640 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11641 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11642 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11643 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11644 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11645 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11646 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11647 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11648 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11649 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11650 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11651 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11652 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11653 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11654 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11655 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11656 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11657 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11658 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11659 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11660 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11661 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11662 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11663 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11664 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11665 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11666 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11667 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11668 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11669 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11670 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11671 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11672 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11673 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11674 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11675 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11676 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11677 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11678 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11679 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11680 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11681 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11682 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11683 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11684 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11685 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11686 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11687 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11688 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11689 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11690 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11691 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11692 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11693 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11694 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11695 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11696 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11697 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11698 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11699 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11700 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11701 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11702 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11703 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11704 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11705 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11706 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11707 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11708 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11709 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11710 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11711 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11712 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11713 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11714 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11715 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11716 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11717 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11718 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11719 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11720 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11721 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11722 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11723 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11724 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11725 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11726 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11727 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11728 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11729 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11730 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11731 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11732 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11733 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11734 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11735 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11736 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11737 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11738 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11739 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11740 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11741 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11742 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11743
73c5ebe3
JM
11744 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11745 _XOPEN_SOURCE_EXTENDED for XPG4.
11746
39c33b6c
JM
11747 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11748
62fde54f
JM
11749 * Makeconfig (localtime): Remove variable.
11750 (inst_localtime-file): Likewise.
11751
0741d64c
AS
117522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11753
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11755 Update.
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11757 Update.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11759 Update.
11760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11761 Update.
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11763 Update.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11765 Update.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11767 Update.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11769 Update.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11771 Update.
11772
7cb029ee
JM
117732012-05-01 Joseph Myers <joseph@codesourcery.com>
11774
11775 [BZ #2550]
11776 [BZ #2570]
11777 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11778 comparisons to determine direction to adjust input.
11779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11780 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11782 Likewise.
11783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11784 Likewise.
11785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11786 Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11789 Likewise.
11790 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11791 Likewise.
11792 * math/libm-test.inc (nexttoward_test): Add more tests.
11793
412bd966
AS
117942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11795
11796 [BZ #14040]
11797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11798 in version GLIBC_2.1, not GLIBC_2.0.
11799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11800 Likewise.
11801
9568c0c2
JM
118022012-04-30 Joseph Myers <joseph@codesourcery.com>
11803
adfbc8ac
JM
11804 [BZ #13942]
11805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11806 (1 - x) * (1 + x).
11807 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11808 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11809 * math/libm-test.inc (acos_test): Add more tests.
11810 (asin_test): Likewise.
11811 * sysdeps/i386/fpu/libm-test-ulps: Update.
11812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11813
5ba3cc69
JM
11814 [BZ #14034]
11815 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11816 of square root.
11817 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11819 * math/libm-test.inc (acos_test_tonearest): New function.
11820 (acos_test_towardzero): Likewise.
11821 (acos_test_downward): Likewise.
11822 (acos_test_upward): Likewise.
11823 (asin_test_tonearest): Likewise.
11824 (asin_test_towardzero): Likewise.
11825 (asin_test_downward): Likewise.
11826 (asin_test_upward): Likewise.
11827 (main): Call the new functions.
11828 * sysdeps/i386/fpu/libm-test-ulps: Update.
11829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11830
9568c0c2
JM
11831 [BZ #13884]
11832 [BZ #13924]
11833 * math/e_exp10.c: Include <float.h>.
11834 (__ieee754_exp10): Handle underflow here rather than multiplying
11835 large negative argument by M_LN10.
11836 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11837 of __ieee754_expf.
11838 * math/e_exp10l.c: Include <float.h>.
11839 (__ieee754_exp10l): Handle underflow here rather than multiplying
11840 large negative argument by M_LN10l.
11841 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11842 spurious overflow exception on underflow.
11843
5ac3ea17
MP
118442012-04-29 Marek Polacek <polacek@redhat.com>
11845
11846 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11847 (__fortify_function): New macro.
11848 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11849 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11850 __extern_always_inline.
11851 * libio/bits/stdio2.h: Likewise.
11852 * libio/bits/stdio.h: Likewise.
11853 * string/string.h: Likewise.
11854 * string/bits/string3.h: Likewise.
11855 * include/stdio.h: Likewise.
11856 * stdlib/bits/stdlib.h: Likewise.
11857 * stdlib/stdlib.h: Likewise.
11858 * rt/bits/mqueue2.h: Likewise.
11859 * rt/mqueue.h: Likewise.
11860 * posix/bits/unistd.h: Likewise.
11861 * posix/unistd.h: Likewise.
11862 * io/bits/poll2.h: Likewise.
11863 * io/bits/fcntl2.h: Likewise.
11864 * io/fcntl.h: Likewise.
11865 * io/sys/poll.h: Likewise.
11866 * misc/bits/syslog.h: Likewise.
11867 * misc/bits/syslog-ldbl.h: Likewise.
11868 * misc/sys/syslog.h: Likewise.
11869 * socket/bits/socket2.h: Likewise.
11870 * socket/sys/socket.h: Likewise.
11871 * debug/tst-chk1.c: Likewise.
11872 * wcsmbs/bits/wchar2.h: Likewise.
11873 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11874 * wcsmbs/wchar.h: Likewise.
11875
ecf0ebfb
AJ
118762012-04-29 Andreas Jaeger <aj@suse.de>
11877
11878 * Makerules (tests): Remove enable-check-abi protection.
11879 (check-abi-warn): Remove.
11880 (check-abi-%): Remove check-abi-warn usage.
11881
11882 * configure.in: Remove check-abi configure option.
11883 * configure: Regenerated.
11884 * config.make.in (enable-check-abi): Remove.
11885
6d5c57fa
AS
118862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11887
24c5d07e 11888 [BZ #14033]
ded5180a
AS
11889 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11890 double functions to double *_finite functions.
11891
7e0d315d
AS
11892 [BZ #13941]
11893 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11894 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11895 LDBL_MIN_EXP.
11896 * stdio-common/Makefile (tests): Add tst-sprintf3.
11897 * stdio-common/tst-sprintf3.c: New file.
11898
6d5c57fa
AS
11899 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11900 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11901
0749ff8b
JM
119022012-04-28 Joseph Myers <joseph@codesourcery.com>
11903
11904 * conform/conformtest.pl: Remove duplicate typed-constant
11905 handling.
11906
8dbd5d7b
DM
119072012-04-28 David S. Miller <davem@davemloft.net>
11908
11909 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11910 (check-abi-%): Remove AWK script prerequisite and explicit
11911 abilist directory.
11912 (check-abi): Rewrite to just diff the symlist with the abilist.
11913 (config-tls, config-abi-config): Delete, no longer used.
11914 (update-abi-%): Remove AWK script and explicit abilist directory.
11915 (update-abi): Rewrite to simply compare and conditionally copy the
11916 symlist and the sysdep abilist file. Remove update-abi-config
11917 checks.
11918 * abilist/ld.abilist: Remove.
11919 * abilist/libBrokenLocale.abilist: Remove.
11920 * abilist/libanl.abilist: Remove.
11921 * abilist/libcrypt.abilist: Remove.
11922 * abilist/libdl.abilist: Remove.
11923 * abilist/librt.abilist: Remove.
11924 * abilist/libthread_db.abilist: Remove.
11925 * abilist/libutil.abilist: Remove.
11926 * scripts/extract-abilist.awk: Remove.
11927 * scripts/merge-abilist.awk: Remove.
11928 * sysdeps/generic/libcidn.abilist: New file.
11929 * sysdeps/generic/libnss_compat.abilist: New file.
11930 * sysdeps/generic/libnss_db.abilist: New file.
11931 * sysdeps/generic/libnss_dns.abilist: New file.
11932 * sysdeps/generic/libnss_files.abilist: New file.
11933 * sysdeps/generic/libnss_hesiod.abilist: New file.
11934 * sysdeps/generic/libnss_nis.abilist: New file.
11935 * sysdeps/generic/libnss_nisplus.abilist: New file.
11936 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11937 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11938 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11939 file.
11940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11941 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11942 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11944 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11945 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11946 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11947 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11948 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11949 file.
11950 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11951 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11953 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11954 file.
11955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11956 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11957 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11958 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11959 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11960 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11961 file.
11962 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11963 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11965 file.
11966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11968 New file.
11969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11970 New file.
11971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11972 New file.
11973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11974 New file.
11975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11976 New file.
11977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11978 New file.
11979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11980 New file.
11981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11982 New file.
11983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11984 New file.
11985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11986 New file.
11987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11988 New file.
11989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11990 New file.
11991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11992 New file.
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11994 file.
11995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11996 New file.
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11998 New file.
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12000 file.
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12002 New file.
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12004 New file.
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12006 file.
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12008 New file.
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12010 New file.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12012 New file.
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12014 New file.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12016 New file.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12018 New file.
12019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12021 file.
12022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12023 New file.
12024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12025 file.
12026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12027 file.
12028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12029 file.
12030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12031 file.
12032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12033 file.
12034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12035 New file.
12036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12037 file.
12038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12039 file.
12040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12041 New file.
12042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12043 file.
12044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12046 file.
12047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12048 New file.
12049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12050 file.
12051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12052 file.
12053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12054 file.
12055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12056 file.
12057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12058 file.
12059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12060 New file.
12061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12062 file.
12063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12064 file.
12065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12066 New file.
12067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12068 file.
12069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12070 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12071 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12072 file.
12073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12074 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12075 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12076 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12077 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12079 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12080 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12081 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12082 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12085 file.
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12087 New file.
12088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12089 file.
12090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12091 file.
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12093 file.
12094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12095 file.
12096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12097 file.
12098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12099 New file.
12100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12101 New file.
12102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12103 file.
12104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12105 New file.
12106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12107 file.
12108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12110 file.
12111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12112 New file.
12113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12114 file.
12115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12116 file.
12117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12118 file.
12119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12120 file.
12121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12122 file.
12123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12124 New file.
12125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12126 New file.
12127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12128 file.
12129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12130 New file.
12131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12132 file.
12133
41d73a1b
JM
121342012-04-28 Joseph Myers <joseph@codesourcery.com>
12135
12136 * conform/conformtest.pl: Fix typo in handling typed-constant from
12137 allow-header.
12138
28aeeda4
JM
121392012-04-27 Joseph Myers <joseph@codesourcery.com>
12140
adae8f5e
JM
12141 * README: Cut down references to pre-2.6 Linux kernels and
12142 Linuxthreads. Update lists of configurations in libc and ports
12143 and sort alphabetically. Say "or newer" with Linux kernel version
12144 requirements.
12145
28aeeda4
JM
12146 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12147
a462cb63
RA
121482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12149
12150 [BZ #887]
12151 * math/libm-test.inc (logb_test_downward): New test to expose
12152 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12153 rounding mode.
12154
6ad3493e
JM
121552012-04-27 Joseph Myers <joseph@codesourcery.com>
12156
12157 [BZ #14027]
12158 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12159 to be done.
12160 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12161 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12162
2ce4f015
JM
121632012-04-26 Joseph Myers <joseph@codesourcery.com>
12164
5aeb141a
JM
12165 * sysdeps/unix/i386/brk.S: Remove file.
12166 * sysdeps/unix/i386/dl-brk.S: Likewise.
12167 * sysdeps/unix/i386/pipe.S: Likewise.
12168 * sysdeps/unix/i386/sigreturn.S: Likewise.
12169 * sysdeps/unix/i386/syscall.S: Likewise.
12170 * sysdeps/unix/i386/vfork.S: Likewise.
12171 * sysdeps/unix/i386/wait.S: Likewise.
12172
7143acae
JM
12173 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12174 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12175
2ce4f015
JM
12176 * configure.in (arm*-none*): Do not allow without
12177 --enable-hacker-mode.
12178 (netbsd*): Remove case setting base_os.
12179 (386bsd*): Likewise.
12180 (freebsd*): Likewise.
12181 (bsdi*): Likewise.
12182 (osf*): Likewise.
12183 (sunos*): Likewise.
12184 (ultrix*): Likewise.
12185 (newsos*): Likewise.
12186 (dynix*): Likewise.
12187 (*bsd*): Likewise.
12188 (sysv*): Likewise.
12189 (isc*): Likewise.
12190 (esix*): Likewise.
12191 (sco*): Likewise.
12192 (minix*): Likewise.
12193 (irix4*): Likewise.
12194 (irix6*): Likewise.
12195 (solaris[2-9]*): Likewise.
12196 (none): Likewise.
12197 * configure: Regenerated.
12198
0ac229c8
AZ
121992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12200
12201 [BZ #11521]
12202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12203 overflow or cancellation in calculating denominator.
12204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12206 down expression to avoid unexpected rounding in newer GCCs.
12207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12208
33f244f4
DM
122092012-04-26 David S. Miller <davem@davemloft.net>
12210
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12212 long-double compat symbols.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12226
cfa1f3e8
DM
122272012-04-25 David S. Miller <davem@davemloft.net>
12228
12229 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12230 HWCAP_* values only after the memory barriers have been defined.
12231 (atomic_full_barrier): Define.
12232 (atomic_read_barrier): Define.
12233 (atomic_write_barrier): Define.
12234
6e236b92
SP
122352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 * shlib-versions: Add libgcc_s version information.
12238 * sysdeps/generic/libgcc_s.h: Remove.
12239 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12240 libgcc_s.h.
12241 * sysdeps/gnu/unwind-resume.c: Likewise.
12242 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12243
aab39a09
DM
122442012-04-25 David S. Miller <davem@davemloft.net>
12245
12246 * sysdeps/unix/sparc/brk.S: Delete.
12247 * sysdeps/unix/sparc/dl-brk.S: Delete.
12248 * sysdeps/unix/sparc/pipe.S: Delete.
12249 * sysdeps/unix/sparc/sysdep.S: Delete.
12250 * sysdeps/unix/sparc/sysdep.h: Delete.
12251 * sysdeps/unix/sparc/vfork.S: Delete.
12252 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12253 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12255 ret_ERRVAL, r0, r1, MOVE): Define.
12256 (JUMPTARGET): Remove.
12257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12258 sysdeps/unix/sparc/sysdep.h
12259 (ENTRY, END): Remove.
12260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12261
a3cc4f48
JM
122622012-04-25 Joseph Myers <joseph@codesourcery.com>
12263
2ed8cda2
JM
12264 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12265 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12266 -DIS_IN_build.
12267
35d76d59
JM
12268 * timezone/README: Update upstream location and email address for
12269 tzcode and tzdata.
12270 * timezone/zdump.c: Update from tzcode 2012b.
12271 * timezone/zic.c: Likewise.
12272
a3cc4f48
JM
12273 * configure.in (libc_cv_as_needed): Remove test.
12274 * configure: Regenerated.
12275 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12276 conditional definition.
12277 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12278 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12279 * config.make.in (have-as-needed): Remove variable.
12280
ceab42c3
SP
122812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12282 Paul Pluzhnikov <ppluzhnikov@google.com>
12283
12284 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12285 strings correctly.
12286
3ce2865f
CLT
122872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12288
12289 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12290 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12291 * sysdeps/sh/strlen.S: Likewise.
12292
f37e0d68
JM
122932012-04-24 Joseph Myers <joseph@codesourcery.com>
12294
ae186e9a
JM
12295 * sysdeps/unix/fork.S: Remove file.
12296 * sysdeps/unix/i386/fork.S: Likewise.
12297 * sysdeps/unix/sparc/fork.S: Likewise.
12298
b96914af
JM
12299 * sysdeps/unix/system.c: Remove file.
12300 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12301
f37e0d68
JM
12302 * sysdeps/unix/getegid.S: Remove file.
12303 * sysdeps/unix/geteuid.S: Likewise.
12304
87ef29ca
RM
123052012-04-24 Roland McGrath <roland@hack.frob.com>
12306
83bcd236
RM
12307 * scripts/check-localplt.awk: New file.
12308 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12309 of diff.
12310 * scripts/data/localplt-generic.data: Add a comment.
12311
87ef29ca
RM
12312 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12313 NODE when __dir_mkfile failed.
12314 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12315 Reported by Ludovic Courtès <ludo@gnu.org>.
12316
e5a6e567
AJ
123172012-04-24 Andreas Jaeger <aj@suse.de>
12318
12319 * Makerules (common-clean): Also remove gen-as-const-headers
12320 files.
12321
c1820385
JM
123222012-04-24 Joseph Myers <joseph@codesourcery.com>
12323
12324 * Makerules (native-compile): Do not change working directory for
12325 build. Use $(OUTPUT_OPTION) in command.
12326 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12327
94e02fc4
AZ
123282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12329
12330 [BZ #13886]
12331 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12332 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12333 * math/libm-test.inc (floor_test): Add more tests.
12334 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12335
3a533ca3
JM
123362012-04-24 Joseph Myers <joseph@codesourcery.com>
12337
940ab4b3
JM
12338 * sysdeps/unix/getdents.c: Remove file.
12339 * sysdeps/unix/sysv/getdents.c: Likewise.
12340 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12341
90e037bd
JM
12342 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12343 sysdeps/unix/mman/syscalls.list.
12344 (mmap): Likewise.
12345 (mprotect): Likewise.
12346 (msync): Likewise.
12347 (munmap): Likewise.
12348 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12349 * sysdeps/unix/mman/syscalls.list: Remove.
12350 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12351
3a533ca3
JM
12352 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12353 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12354 * configure: Regenerated.
12355 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12356 $(libgcc_s_suffix).
12357 * config.make.in (libgcc_s_suffix): Remove variable.
12358
1ad743de
JM
123592012-04-23 Joseph Myers <joseph@codesourcery.com>
12360
4ad451e2
JM
12361 * sysdeps/unix/sysv/gethostname.c: Move to ...
12362 * sysdeps/posix/gethostname.c: ... here.
12363
5e37ce39
JM
12364 * sysdeps/unix/execve.S: Remove file.
12365
1ad743de
JM
12366 * sysdeps/unix/_exit.S: Remove file.
12367
4e681b5b
AJ
123682012-04-23 Andreas Jaeger <aj@suse.de>
12369
12370 [BZ #13739]
12371 * manual/Makefile: Remove make dist support, there's no
12372 need for a stand-alone documentation tar ball.
12373 (TEXI2DVI): Define always, it's not in Makeconfig.
12374 (dist): Removed.
12375 (tar-it): Removed.
12376 (edition): Removed.
12377 (glibc-doc-$(edition).tar): Removed
12378 (%.Z): Removed.
12379 (%.gz): Removed.
12380 (%.uu): Removed.
12381 (ETAGS): Remove, it's in Makeconfig.
12382 (move-if-change): Remove, it's in Makeconfig.
12383
38686a03 123842012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12385
12386 [BZ #13970]
12387 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12388 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12389 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12390 (strtod_l, strtof_l, strtold_l): Remove __wur.
12391 It is not necessarily an error to ignore strtol's return value.
12392 One can reliably look at the stored endptr to decide whether
12393 the number had valid syntax.
12394
7c0616fa
AJ
123952012-04-21 Andreas Jaeger <aj@suse.de>
12396
803cb6b7 12397 [BZ #13739]
7c0616fa
AJ
12398 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12399
b0fe253f
JM
124002012-04-21 Joseph Myers <joseph@codesourcery.com>
12401
12402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12403 * sysdeps/unix/sysv/Versions: Remove file.
12404
8280f22d
MT
124052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12406
12407 [BZ #13927]
12408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12409
75ce411f 124102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12411
12412 [BZ #7064]
12413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12414 version from __vm86.
12415
097d59fa
JM
124162012-04-20 Joseph Myers <joseph@codesourcery.com>
12417
a90f3bcb
JM
12418 * sysdeps/unix/common/lxstat.c: Remove file.
12419 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12420
edc7ea78
JM
12421 * sysdeps/unix/sysv/Makefile: Remove file.
12422
cb78c221
JM
12423 * sysdeps/unix/sysv/direct.h: Remove file.
12424
efa6a45f
JM
12425 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12426 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12427 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12428 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12429 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12430 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12431 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12432
9c9f2d0c
JM
12433 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12434
4541c83b
JM
12435 * sysdeps/unix/xmknod.c: Remove file.
12436 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12437
f5d153a0
JM
12438 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12439
aa746595
JM
12440 * sysdeps/unix/sysv/i386/time.S: Remove file.
12441
cce5905e
JM
12442 * sysdeps/unix/fxstat.c: Remove file.
12443 * sysdeps/unix/xstat.c: Likewise.
12444 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12445
37fa3841
JM
12446 * sysdeps/unix/sysv/sigaction.c: Remove file.
12447
ff1962a3
JM
12448 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12449 (sysdep_headers): Remove variable.
12450 [termio.h not in sysdep_headers] (generated): Likewise.
12451 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12452 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12453 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12454 * sysdeps/unix/sysv/tcflow.c: Likewise.
12455 * sysdeps/unix/sysv/tcflush.c: Likewise.
12456 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12457 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12458 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12459 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12460 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12461
e7740d31
JM
12462 * sysdeps/unix/siglist.c: Remove file.
12463
ee06f18b
JM
12464 * sysdeps/unix/getppid.S: Remove file.
12465
097d59fa
JM
12466 * sysdeps/unix/mkdir.c: Remove file.
12467 * sysdeps/unix/rmdir.c: Likewise.
12468
ff3d51ec
AS
124692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12470
12471 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12472 ERR_MAX value.
12473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12474 errlist-compat value.
12475
50f81fd7
DM
124762012-04-18 David S. Miller <davem@davemloft.net>
12477
12478 * sysdeps/generic/memcopy.h (reg_char): Delete.
12479 * debug/strcat_chk.c: Use char, not reg_char.
12480 * debug/strcpy_chk.c: Likewise.
12481 * debug/strncat_chk.c: Likewise.
12482 * debug/strncpy_chk.c: Likewise.
12483 * string/memchr.c: Likewise.
12484 * string/memrchr.c: Likewise.
12485 * string/rawmemchr.c: Likewise.
12486 * string/strcat.c: Likewise.
12487 * string/strchr.c: Likewise.
12488 * string/strchrnul.c: Likewise.
12489 * string/strcmp.c: Likewise.
12490 * string/strcpy.c: Likewise.
12491 * string/strncat.c: Likewise.
12492 * string/strncmp.c: Likewise.
12493 * string/strncpy.c: Likewise.
12494
8ff41c46
WS
124952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12496
12497 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12498 __builtin_memcopy is called when src and dest ranges are known to not
12499 overlap.
12500
6b652f46
WS
125012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12502
12503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12504 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12505 fwd_align_merge macro call.
12506 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12507 bwd_align_merge macro call.
12508 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12509
b282631e
WS
125102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12511
12512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12513 bwd_align_merge macros.
12514 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12515 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12517
95aa737c
DM
125182012-04-18 David S. Miller <davem@davemloft.net>
12519
12520 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12521
7a99a614
AJ
125222012-04-18 Andreas Jaeger <aj@suse.de>
12523
12524 [BZ# 6794]
12525 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12526 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12528
12529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12530 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12532
12533 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12534 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12535 Adjust for changed ldbl-128 files.
12536
12537 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12538 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12540
e5270c23
DM
125412012-04-17 David S. Miller <davem@davemloft.net>
12542
12543 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12544
fb5e92c9
AS
125452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12546
12547 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12548 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12549 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12550 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12551 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12552 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12553
76da7265
AZ
125542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12555
12556 [BZ #6794]
12557 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12558 * math/libm-test.inc: Add ilogb errno and exception tests.
12559 * math/w_ilogb.c: New file: ilogb wrapper.
12560 * math/w_ilogbf.c: New file: ilogbf wrapper.
12561 * math/w_ilogbl.c: New file: ilogbl wrapper.
12562 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12563 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12564 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12565 exception being thrown with 0.0 as argument.
12566 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12567 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12568 exception being thrown with 0.0 as argument.
12569 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12570 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12571 exception being thrown with 0.0 as argument.
12572 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12573 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12574 exception being thrown with 0.0 as argument.
12575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12576 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12578 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12580 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12581 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12582 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12583 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12584
0396e69d
PB
125852012-04-17 Petr Baudis <pasky@ucw.cz>
12586
12587 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12588 with altivec.
12589
750b5926
MP
125902012-04-16 Marek Polacek <polacek@redhat.com>
12591
12592 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12593
751728a1
MP
125942012-04-16 Marek Polacek <polacek@redhat.com>
12595
12596 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12597 operands of fdivp instruction.
12598
34a27407
L
125992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12600
12601 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12602 * elf/tst-auditmod3b.c: Likewise.
12603 * elf/tst-auditmod4b.c: Likewise.
12604 * elf/tst-auditmod5b.c: Likewise.
12605 * elf/tst-auditmod6b.c: Likewise.
12606 * elf/tst-auditmod6c.c: Likewise.
12607 * elf/tst-auditmod7b.c: Likewise.
12608 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12609 * sysdeps/x86_64/preconfigure.in: Likewise.
12610 * sysdeps/x86_64/preconfigure: Regenerated.
12611
7e73e17d
L
126122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12613
12614 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12615 __ILP32__.
12616
c7a6ab72
AB
126172012-04-13 Antoine Balestrat <merkil33@gmail.com>
12618
12619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12620 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12621
a9e8e0e0
CL
126222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12623
12624 [BZ #13973]
12625 * locale/iso-639.def: Fix gl language name. Spotted by
12626 Yaron Shahrabani.
12627
ec98af7d
RM
126282012-04-12 Roland McGrath <roland@hack.frob.com>
12629
12630 [BZ #2074]
12631 * libio/libio.h (__io_write_fn): Update comment.
12632
247c3ede
PB
126332012-04-12 Petr Baudis <pasky@ucw.cz>
12634
12635 [BZ #2074]
12636 * stdio.texi (Hook Functions): The user provided writer function
12637 is not allowed to return -1.
12638
55939d6d
DM
126392012-04-11 David S. Miller <davem@davemloft.net>
12640
12641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12642
90020f5a
MF
126432012-04-11 Mike Frysinger <vapier@gentoo.org>
12644
12645 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12646 Add a leading slash to rtkaio.
12647
288f9098
JM
126482012-04-11 Jim Meyering <meyering@redhat.com>
12649
90020f5a
MF
12650 [BZ #11959]
12651 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12652 It is not necessarily an error to ignore fwrite's return
12653 value. One can reliably use ferror to test for errors after
12654 the fact.
288f9098 12655
4be2b570
L
126562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12657
12658 * bits/types.h (__snseconds_t): New type.
12659 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12660
12661 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12663 (__SNSECONDS_T_TYPE): Likewise.
12664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12665 (__SNSECONDS_T_TYPE): Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12667 (__SNSECONDS_T_TYPE): Likewise.
12668
288f9098 126692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12670
12671 [BZ #2636]
12672 * manual/time.texi (Processor Time): Return type of times is
12673 elapsed real time since an arbitrary point in the past.
12674 (CPU Time): Move CLK_TCK from here...
12675 (Processor Time): ...to here. Correct description.
12676 * manual/conf.texi (Constants for Sysconf): Correct description of
12677 _SC_CLK_TCK.
12678
d7dd4413
DM
126792012-04-10 David S. Miller <davem@davemloft.net>
12680
12681 [BZ #13967]
12682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12683 where the is a gap between DT_REL(A) and DT_JMPREL.
12684
b46068fc
L
126852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12688 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12689 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12690
73d65cc3
SP
126912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12692
12693 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12694 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12695 (dl_main): Handle --inhibit-cache.
12696 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12697 _dl_inhibit_cache.
12698 * elf/dl-load.c (_dl_map_object): Use it.
12699 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12700
bcc8d661
JM
127012012-04-09 Joseph Myers <joseph@codesourcery.com>
12702
8f9a2fae
JM
12703 [BZ #13872]
12704 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12705 (__ieee754_powl): Saturate large exponents rather than testing for
12706 overflow of y*log2(x).
12707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12708 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12709 exceptions.
12710
bcc8d661
JM
12711 [BZ #11521]
12712 * math/s_ctan.c: Include <float.h>.
12713 (__ctan): Avoid internal overflow or cancellation in calculating
12714 denominator.
12715 * math/s_ctanf.c: Likewise.
12716 * math/s_ctanl.c: Likewise.
12717 * math/s_ctanh.c: Likewise.
12718 * math/s_ctanhf.c: Likewise.
12719 * math/s_ctanhl.c: Likewise.
12720 * math/libm-test.inc (ctan_test): Add more tests.
12721 (ctanh_test): Likewise.
12722 * sysdeps/i386/fpu/libm-test-ulps: Update.
12723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12724
823fbbb4
AJ
127252012-04-09 Andreas Jaeger <aj@suse.de>
12726
03879793
AJ
12727 [BZ #6894]
12728 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12729 is an optional BSD extension.
12730
823fbbb4
AJ
12731 [BZ #10254]
12732 * manual/stdio.texi (Opening Streams): Document additional fopen
12733 parameters.
12734
8de131cb
RM
127352012-04-09 Roland McGrath <roland@hack.frob.com>
12736
12737 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12738 %eax without telling the compiler.
12739
c0ed9d7d
CD
127402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12741
12742 [BZ # 13963]
12743 * manual/install.texi: Use sourceware.org.
12744
c483f6b4
JM
127452012-04-09 Joseph Myers <joseph@codesourcery.com>
12746
d7dd9453
JM
12747 [BZ #13873]
12748 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12749 (__ieee754_pow): Generate overflow and underflow using huge*huge
12750 and tiny*tiny rather than just returning constant infinity or zero
12751 for large exponents.
12752 * math/libm-test.inc (pow_test): Require overflow exceptions for
12753 applicable cases of large exponents.
12754
c483f6b4
JM
12755 [BZ #706]
12756 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12757 (__ieee754_pow): Use iterative multiplication algorithm only for
12758 integer exponents with absolute value below 1024. Check for odd
12759 integer exponents when using algorithm for real exponents.
12760 * math/libm-test.inc (pow_test): Add more tests.
12761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12762
d2de7579
JM
127632012-04-08 Joseph Myers <joseph@codesourcery.com>
12764
12765 [BZ #13705]
12766 * math/libm-test.inc (exp_test): Do not allow overflow exception
12767 on underflow test.
12768
f77f1232
AJ
127692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12770
12771 [BZ #13705]
12772 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12773 instead of __kernel_standard_f.
12774
3884932b
MF
127752012-04-08 Mike Frysinger <vapier@gentoo.org>
12776
12777 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12778 * sysdeps/x86_64/memset_chk.S: Likewise.
12779
54472e9c
AJ
127802012-04-08 Andreas Jaeger <aj@suse.de>
12781
6ab0fbfc
AJ
12782 [BZ #10153]
12783 * manual/startup.texi (Environment Access): Describe return value
12784 for putenv and setenv.
12785
61efba8c
AJ
12786 [BZ #6895]
12787 * manual/filesys.texi (Directory Entries): Add description for
12788 DT_LNK.
12789
95c3f29a
AJ
12790 [BZ #6890]
12791 * manual/filesys.texi (Directory Entries): Clarify that it's file
12792 system not operating system in the description of DT_UNKNOWN.
12793
54472e9c
AJ
12794 [BZ #6578]
12795 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12796
624254b1
SC
127972012-04-08 Stephen Compall <s11@member.fsf.org>
12798
12799 [BZ #6649]
12800 * manual/llio.texi (Opening and Closing Files): Add cross
12801 reference to explain mode argument.
12802
1e4920e0
MF
128032012-04-07 Mike Frysinger <vapier@gentoo.org>
12804
12805 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12806 * sysdeps/x86_64/memset_chk.S: Likewise.
12807
5ed848f3
DM
128082012-04-07 David S. Miller <davem@davemloft.net>
12809
12810 * elf/elf.h (R_SPARC_WDISP10): Define.
12811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12812 R_SPARC_SIZE32.
12813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12814 R_SPARC_SIZE64 and R_SPARC_H34.
12815
96154cd8
CD
128162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12817
12818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12819 conditions and remove no longer applicable assertion.
12820
9904dc47
L
128212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12822
12823 * bits/byteswap.h: Include <features.h>.
12824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12826
f8887d0a
L
128272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 * bits/byteswap.h (__bswap_16): Removed.
12830 Include <bits/byteswap-16.h> to get __bswap_16.
12831 * sysdeps/i386/bits/byteswap.h: Likewise.
12832 * sysdeps/s390/bits/byteswap.h: Likewise.
12833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12834 * bits/byteswap-16.h: New file.
12835 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12836 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12837 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12838 * string/Makefile (headers): Add bits/byteswap-16.h.
12839
62470f60
PP
128402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12841
12842 [BZ #13895]
12843 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12844 extra indirection.
12845 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12846 * nss/tst-nss-static.c: New.
12847
4dad7bab
RM
128482012-04-06 Robert Millan <rmh@gnu.org>
12849
12850 [BZ #6486]
12851 * manual/llio.texi (File Position Primitive): lseek
12852 refers to WHENCE when it really means OFFSET.
12853
e9142a17
AJ
128542012-04-06 Andreas Jaeger <aj@suse.de>
12855
2c040eff
AJ
12856 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12857 strncmp declarations.
12858
e9142a17
AJ
12859 * abilist/libc.abilist: Add __poll and __ppoll.
12860
ff9f1c5f
DM
128612012-04-05 David S. Miller <davem@davemloft.net>
12862
dcd2ae90
DM
12863 * scripts/check-local-headers.sh: Accept a host triplet in the
12864 path matched by the exclude regexp.
12865
993eb054
DM
12866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12867 definition.
12868 * sysdeps/powerpc/powerpc32/dl-machine.h
12869 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12870 * sysdeps/s390/s390-32/dl-machine.h
12871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12872 * sysdeps/sparc/sparc32/dl-machine.h
12873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12874 * sysdeps/sparc/sparc64/dl-machine.h
12875 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12876
ff9f1c5f
DM
12877 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12878 lazy binding.
48e2e132 12879 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12880 undefined symbol errors.
12881
48e2e132 12882 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12883 DT_NEEDED entries.
12884
e80d6f94
MM
128852012-04-05 Michael Matz <matz@suse.de>
12886
12887 [BZ #13592]
12888 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12889
349fa79f
AJ
128902012-04-05 Andreas Jaeger <aj@suse.de>
12891
12892 [BZ #13908]
12893 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12894 comment.
12895
f402708f
KK
128962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12897
12898 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12899 which ROUND is no valid rounding mode.
12900
2ecccfc9
KK
129012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12902
12903 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12904 read again.
12905 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12906
8a53f50f
KK
129072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12908
12909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12910 an exception using FPU order intentionally.
12911
129122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12913
12914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12915 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12916 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12917 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12918
d653abb7
SJ
129192012-04-05 Simon Josefsson <simon@josefsson.org>
12920
12921 [BZ #12340]
12922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12923 EINVAL when BUFLEN is too smal.
12924
c3b1bf7d
TS
129252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12926
12927 [BZ #13553]
12928 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12929 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12930
b1aa60f3
AJ
129312012-04-03 Andreas Jaeger <aj@suse.de>
12932
c3b1bf7d 12933 [BZ #13938]
67f60a26
AJ
12934 * manual/setjmp.texi (System V contexts): Fix sentence.
12935
b1aa60f3
AJ
12936 [BZ #13926]
12937 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12938 New macro for this case.
12939 [!__GNUC__] (__bswap_64): New inline function for this case.
12940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12941 * bits/byteswap.h: Likewise.
12942 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12943 ull, guard with __GLIBC_HAVE_LONG_LONG.
12944
12945 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12946 __GLIBC_HAVE_LONG_LONG.
12947
12948 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12949 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12950
39c59c35
TMQMF
129512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12952
12953 [BZ #13691]
12954 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12955 inptr and inend, rather than using last_ch.
12956
135ffda8
DM
129572012-04-02 David S. Miller <davem@davemloft.net>
12958
12959 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12960 * stdio-common/printf-parse.h (read_int): Change return type to
12961 'int', return -1 on INT_MAX overflow.
12962 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12963 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12964 overflows INT_MAX. Check for overflow of in-format-string precision
12965 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12966 SIZE_MAX not INT_MAX for integer overflow test.
12967 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12968 skip the construct in the format string but do not record anything.
12969 * stdio-common/bug22.c: Adjust to test both width/prevision
12970 INT_MAX overflow as well as total length INT_MAX overflow. Check
12971 explicitly for proper errno values.
12972
228c019e
TS
129732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12974
302cadd3
TS
12975 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12976 CHAR_MAX.
12977 * string/test-strcmp.c [! WIDE]: Likewise.
12978 * time/tst-mktime2.c: Likewise for INT_MAX.
12979 * string/test-string.h: #include <sys/param.h> for MIN.
12980
228c019e
TS
12981 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12982 * sysdeps/i386/init-first.c (init): Likewise.
12983 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12984 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12985 * sysdeps/sh/init-first.c (init): Likewise.
12986
cfa633f5
UD
129872012-04-01 Ulrich Drepper <drepper@gmail.com>
12988
12989 * po/ru.po: Update from translation team.
d1635ef8 12990 * po/vi.po: Likewise.
cfa633f5 12991
6cd0a5ea
SP
129922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12993
12994 * resolv/nss_dns/dns-host.c: Merge copyright years.
12995
4b43400f
LD
129962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12997
12998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12999 Optimize memcpy with prefetch if
13000 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13001 src, dst pointers have unequal 16 byte alignments.
13002
48c41d04
SP
130032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13004
13005 [BZ #13928]
13006 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13007 from a CNAME entry and return the minimum ttl for the query.
13008 (gaih_getanswer_slice): Likewise.
13009
b8dc394d
JL
130102012-03-30 Jeff Law <law@redhat.com>
13011
13012 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13013 due to long keys.
13014 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13015 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13016
2f5a5ed0
JL
13017 * resolv/nss_dns/dns-host.c: Update copyright year.
13018
1d39e359
UD
130192012-03-30 Ulrich Drepper <drepper@gmail.com>
13020
c030f70c 13021 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13022 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13023
1d39e359
UD
13024 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13025 comments for sendmmsg.
13026
130272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13028
13029 [BZ #13691]
13030 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13031 with only 1 character between 0x0041 and 0x01b0.
13032 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13033 * wcsmbs/tst-mbsnrtowcs.c: New file.
13034
20fde227
DM
130352012-03-29 David S. Miller <davem@davemloft.net>
13036
13037 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13038 small copies by hand.
13039
984a4237
JL
130402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13041
13042 [BZ #13761]
13043 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13044 _nss_compat_initgroups_dyn): Fall back to malloc/free
13045 for large group memberships.
13046
18c9d62b
DM
130472012-03-28 David S. Miller <davem@davemloft.net>
13048
88d85d4f
DM
13049 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13050 that branches into memcpy.
13051 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13054 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13056 bits.
13057 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13058 implementation too.
13059 * sysdeps/sparc/mempcpy.S: New file.
13060
e5aa83e1
DM
13061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13062 the IFUNC routine in the libc case.
13063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13064
88570753
DM
13065 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13067 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13068 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13069 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13070 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13071 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13072 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13073
249d7567
DM
13074 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13075 loop to 256 bytes instead of 64 bytes and fix test signedness.
13076
18c9d62b
DM
13077 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13078 * sysdeps/sparc/sparc32/Makefile: rather than here...
13079 * sysdeps/sparc/sparc64/Makefile: and here.
13080
05f3d1f6
UD
130812012-03-28 Ulrich Drepper <drepper@gmail.com>
13082
13083 * malloc/mallocbug.c: Avoid warnings about unused variables.
13084
86ae07a8
JL
130852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13086
13087 [BZ #13760]
13088 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13089 in the right place. Discard and retry query if response is
13090 larger than input buffer size.
13091
41bf21a1
JM
130922012-03-28 Joseph Myers <joseph@codesourcery.com>
13093
d6270972
JM
13094 [BZ #369]
13095 [BZ #2678]
13096 [BZ #3866]
13097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13098 x for large integer exponent.
13099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13100 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13101 sign of result as needed afterwards.
13102 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13104 result for underflowing pow the same as for overflow.
13105 (__kernel_standard_l): Handle powl overflow and underflow here
13106 rather than calling __kernel_standard.
13107 * math/libm-test.inc (pow_test): Add more tests.
13108
414fca03 13109 [BZ #3868]
41bf21a1
JM
13110 [BZ #13879]
13111 [BZ #13910]
13112 [BZ #13911]
13113 [BZ #13912]
13114 [BZ #13913]
13115 [BZ #13915]
13116 [BZ #13916]
13117 [BZ #13917]
13118 [BZ #13918]
13119 [BZ #13919]
13120 [BZ #13920]
13121 [BZ #13921]
13122 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13123 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13124 (__kernel_standard_l): New function.
13125 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13126 __kernel_standard.
13127 * math/w_acosl.c (__acosl): Likewise.
13128 * math/w_asinl.c (__asinl): Likewise.
13129 * math/w_atan2l.c (__atan2l): Likewise.
13130 * math/w_atanhl.c (__atanhl): Likewise.
13131 * math/w_coshl.c (__coshl): Likewise.
13132 * math/w_exp10l.c (__exp10l): Likewise.
13133 * math/w_exp2l.c (__exp2l): Likewise.
13134 * math/w_fmodl.c (__fmodl): Likewise.
13135 * math/w_hypotl.c (__hypotl): Likewise.
13136 * math/w_j0l.c (__j0l, __y0l): Likewise.
13137 * math/w_j1l.c (__j1l, __y1l): Likewise.
13138 * math/w_jnl.c (__jnl, __ynl): Likewise.
13139 * math/w_lgammal.c (__lgammal): Likewise.
13140 * math/w_log10l.c (__log10l): Likewise.
13141 * math/w_log2l.c (__log2l): Likewise.
13142 * math/w_logl.c (__logl): Likewise.
13143 * math/w_powl.c (__powl): Likewise.
13144 * math/w_remainderl.c (__remainderl): Likewise.
13145 * math/w_scalbl.c (sysv_scalbl): Likewise.
13146 * math/w_sinhl.c (__sinhl): Likewise.
13147 * math/w_sqrtl.c (__sqrtl): Likewise.
13148 * math/w_tgammal.c (__tgammal): Likewise.
13149 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13150 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13151 * math/libm-test.inc (acos_test): Add more tests.
13152 (acosh_test): Likewise.
13153 (asin_test): Likewise.
13154 (atanh_test): Likewise.
13155 (exp_test): Likewise.
13156 (exp10_test): Likewise.
13157 (exp2_test): Likewise.
13158 (expm1_test): Likewise.
13159 (lgamma_test): Likewise.
13160 (log_test): Likewise.
13161 (log10_test): Likewise.
13162 (log1p_test): Likewise.
13163 (log2_test): Likewise.
13164 (pow_test): Do not allow some spurious overflow exceptions.
13165 (sqrt_test): Add more tests.
13166 (tgamma_test): Likewise.
13167 (y0_test): Likewise.
13168 (y1_test): Likewise.
13169 (yn_test): Likewise.
13170
dd62fda6
AB
131712012-03-27 Anton Blanchard <anton@samba.org>
13172
13173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13174 MAP_HUGETLB.
13175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13178
1e3cdfda
AJ
131792012-03-27 David S. Miller <davem@davemloft.net>
13180
b855ab85
DM
13181 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13182
1e3cdfda
AJ
13183 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13184 have-as-vis3 check.
13185
131862012-03-27 Andreas Jaeger <aj@suse.de>
13187
13188 * sysdeps/x86_64/elf/configure.in: Moved to ...
13189 * sysdeps/x86_64/configure.in: ... here.
13190 * sysdeps/x86_64/elf/start.S: Moved to ...
13191 * sysdeps/x86_64/start.S: ... here.
13192 * sysdeps/x86_64/elf/configure: Delete.
13193
13194 * sysdeps/x86_64/configure.in: Merge contents from
13195 sysdeps/i386/configure.in (without i686 check).
13196
13197 * sysdeps/i386/elf/Versions: Merge into ...
13198 * sysdeps/i386/Versions: ... this.
13199 * sysdeps/i386/elf/Versions: Delete file.
13200 * sysdeps/i386/elf/start.S: Moved to ...
13201 * sysdeps/i386/start.S: ...here.
13202 * sysdeps/i386/elf/configure.in: Merge into...
13203 * sysdeps/i386/configure.in: ...here.
13204 * sysdeps/i386/elf/configure.in: Delete file.
13205 * sysdeps/i386/elf/configure: Delete file.
13206
13207 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13208 * debug/backtracesyms.c: ... here.
13209 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13210 * debug/backtracesymsfd.c: ... here.
13211 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13212 * sysdeps/generic/ifunc-sel.h: ... here.
13213
13214 * sysdeps/unix/i386/start.c: Delete file.
13215 * sysdeps/unix/sparc/start.c: Delete file.
13216 * sysdeps/unix/start.c: Delete file.
13217
13218 * sysdeps/sh/elf/configure.in: Moved to ...
13219 * sysdeps/sh/configure.in: ... here.
13220 * sysdeps/sh/elf/start.S: Moved to ...
13221 * sysdeps/sh/start.S: ... here.
13222 * sysdeps/sh/elf/configure: Delete file.
13223
13224 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13225 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13226 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13227 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13228 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13229 * sysdeps/powerpc/powerpc64/start.S: here.
13230 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13231 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13232 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13233 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13234 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13235
13236 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13237 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13238 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13239 * sysdeps/powerpc/powerpc32/start.S: ... here.
13240 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13241 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13242 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13243
13244 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13245 * sysdeps/powerpc/ifunc-sel.h: ... here.
13246 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13247 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13248
13249 * sysdeps/sparc/elf/configure.in: Moved to ...
13250 * sysdeps/sparc/configure.in: ... here.
13251 * sysdeps/sparc/elf/configure: Delete file.
13252 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13253 * sysdeps/sparc/sparc32/start.S: ... here.
13254 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13255 * sysdeps/sparc/sparc64/start.S: ... here.
13256 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13257 * sysdeps/sparc/sparc32/Makefile: ... this.
13258 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13259 * sysdeps/sparc/sparc64/Makefile: ... this.
13260
13261 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13262 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13263 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13264 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13265 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13266 * sysdeps/s390/s390-32/setjmp.S: ... here.
13267 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13268 * sysdeps/s390/s390-32/configure.in: ... here.
13269 * sysdeps/s390/s390-32/elf/configure: Delete file.
13270 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13271 * sysdeps/s390/s390-32/start.S: ... here.
13272
13273 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13274 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13275 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13276 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13277 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13278 * sysdeps/s390/s390-64/setjmp.S: ... here.
13279 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13280 * sysdeps/s390/s390-64/configure.in: ... here
13281 * sysdeps/s390/s390-64/elf/configure: Delete file.
13282 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13283 * sysdeps/s390/s390-64/start.S: ... here.
13284 * sysdeps/s390/s390-64/elf/configure: Delete.
13285
13286 * configure.in: Remove support for elf directories in sysdeps.
13287
13288 * configure: Regenerated.
13289 * sysdeps/i386/configure: Regenerated.
13290 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13291 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13292 * sysdeps/s390/s390-32/configure: Regenerated.
13293 * sysdeps/s390/s390-64/configure: Regenerated.
13294 * sysdeps/sh/configure: Regenerated.
13295 * sysdeps/sparc/configure: Regenerated.
13296 * sysdeps/x86_64/configure: Regenerated.
13297
a3f61311
AS
132982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13299
c876e002
AS
13300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13301
a3f61311
AS
13302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13303 denormal result into account.
13304
ac4c54f0
RM
133052012-03-25 Roland McGrath <roland@hack.frob.com>
13306
13307 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13308 Reported by Allan McRae <allan@archlinux.org>.
13309
6a9b9c02
JL
133102012-03-23 Jeff Law <law@redhat.com>
13311
13312 * nss/getnssent.c (__nss_getent): Fix typo.
13313
4c42a0c1
DM
133142012-03-23 David S. Miller <davem@davemloft.net>
13315
13316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13317
1532c7ac
L
133182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13319
13320 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13321 to pad to uint64_t for each field.
13322 (dl_tls_index): Replace unsigned long with uint64_t.
13323
3ff42526
PP
133242012-03-23 Daniel Jacobowitz <dmj@google.com>
13325 Paul Pluzhnikov <ppluzhnikov@google.com>
13326
13327 [BZ #6528]
13328 * grp/Makefile (otherlibs): Don't set it.
13329 * inet/Makefile (otherlibs): Likewise.
13330 * login/Makefile (otherlibs): Likewise.
13331 * nscd/Makefile (otherlibs): Likewise.
13332 * posix/Makefile (otherlibs): Likewise.
13333 * pwd/Makefile (otherlibs): Likewise.
13334 * rt/Makefile (otherlibs): Likewise.
13335 * sunrpc/Makefile (otherlibs): Likewise.
13336 * nss/Makefile (otherlibs): Likewise.
13337 Add libnss_files to routines and static-only-routines.
13338 ($(objpfx)getent): Remove rule.
13339 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13340 static-only-routines.
13341
7c69cd14
JM
133422012-03-22 Joseph Myers <joseph@codesourcery.com>
13343
13344 [BZ #13892]
13345 * math/s_cexp.c: Include <float.h>.
13346 (__cexp): Handle exp result overflowing not necessarily
13347 overflowing both real and imaginary parts of result.
13348 * math/s_cexpf.c: Likewise.
13349 * math/s_cexpl.c: Likewise.
13350 * math/libm-test.inc (cexp_test): Add more tests.
13351 * sysdeps/i386/fpu/libm-test-ulps: Update.
13352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13353
81b035fe
L
133542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13355
13356 * include/link.h (ELFW): New macro.
13357 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13358 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13359
1da7940c
L
133602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13361
13362 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13363 with uint64_t.
13364
b749dbb9
L
133652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13366
13367 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13368 declaration.
13369 (struct La_x32_retval): Likewise.
13370
2ff87f3f
L
133712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13372
13373 * sysdeps/x86_64/preconfigure.in: New file.
13374 * sysdeps/x86_64/preconfigure: New generated file.
13375
c0df8e69
JM
133762012-03-22 Joseph Myers <joseph@codesourcery.com>
13377
48e44791
JM
13378 [BZ #13824]
13379 * math/e_exp2l.c: Include <float.h>.
13380 (__ieee754_exp2l): Handle overflow and underflow cases
13381 separately. Only pass fractional part of argument to
13382 __ieee754_expl.
13383 * math/libm-test.inc (exp2_test): Add more tests.
13384
c0df8e69
JM
13385 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13386 negating x to take absolute value.
13387 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13388 Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13391 Likewise.
13392 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13393 computing low part if x was negated.
13394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13395
c8e43ba7
L
133962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13397
13398 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13399 la_x32_gnu_pltexit.
13400 (pltexit): Cast int_retval to ptrdiff_t.
13401 * elf/tst-auditmod3b.c: Likewise.
13402 * elf/tst-auditmod4b.c: Likewise.
13403 * elf/tst-auditmod5b.c: Likewise.
13404 * elf/tst-auditmod6b.c: Likewise.
13405 * elf/tst-auditmod6c.c: Likewise.
13406 * elf/tst-auditmod7b.c: Likewise.
13407
13408 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13409 and x32_gnu_pltexit.
13410
13411 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13412 __ELF_NATIVE_CLASS.
13413 (La_x32_regs): New macro.
13414 (La_x32_retval): Likewise.
13415 (la_x32_gnu_pltenter): New function prototype.
13416 (la_x32_gnu_pltexit): Likewise.
13417
7998fa78
AS
134182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13419
dcb33988
AS
13420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13421 exponent.
13422
233fc563
AS
13423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13424
7998fa78
AS
13425 * configure.in (libc_cv_cc_nofma): Check for option to disable
13426 generation of FMA instructions.
13427 * configure: Regenerate.
13428 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13429 * sysdeps/ieee754/dbl-64/Makefile: New file.
13430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13431 Remove brandred-fma4.
13432 (CFLAGS-brandred-fma4.c): Remove.
13433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13434 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13435 define.
13436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13437 define.
13438
8e95c99a
L
134392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13442 LLONG_MAX != LONG_MAX.
13443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13444 (_fitoa_word): Likewise.
13445 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13446 LLONG_MAX != LONG_MAX.
13447 * stdio-common/_itowa.h: Include <_itoa.h>.
13448 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13449 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13450 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13451 only if not defined.
13452 (_ITOA_WORD_TYPE): Likewise.
13453 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13454 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13455
6f4db457
DM
134562012-03-21 David S. Miller <davem@davemloft.net>
13457
13458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13459
7785fe5a
L
134602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13461
13462 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13463 of x86_64 when setting libc_cv_slibdir, libdir and
13464 libc_cv_localedir.
13465 * sysdeps/unix/sysv/linux/configure: Regenerated.
13466
4535cd55
JM
134672012-03-21 Joseph Myers <joseph@codesourcery.com>
13468
13469 * manual/lang.texi (Old Varargs): Remove section.
13470 (How Variadic): Update menu.
13471 (va_start): Do not mention varargs.h.
13472
17228132
TS
134732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13474 Joseph Myers <joseph@codesourcery.com>
13475
13476 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13477 link test.
13478 * configure: Regenerated.
13479
8149f976
TS
134802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13481
05f3d1f6
UD
13482 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13483 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13484 conformtest.pl
8149f976 13485
1a4ac776
JM
134862012-03-21 Joseph Myers <joseph@codesourcery.com>
13487
be22ce65
JM
13488 * NOTES: Remove.
13489 * Makefile (files-for-dist): Remove NOTES.
13490 (NOTES): Remove rule.
13491 * README: Don't refer to NOTES.
13492 * manual/creature.texi: Don't include macros.texi.
13493 * manual/intro.texi (creature.texi): Remove comment referring to
13494 NOTES.
13495
40b601fb
JM
13496 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13497 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13498 * configure: Regenerated.
13499 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13500 LIBC_TRY_CC_OPTION.
13501 (libc_cv_as_i686): Likewise.
13502 (libc_cv_cc_avx): Likewise.
13503 (libc_cv_cc_sse2avx): Likewise.
13504 (libc_cv_cc_fma4): Likewise.
13505 (libc_cv_cc_novzeroupper): Likewise.
13506 * sysdeps/i386/configure: Regenerated.
13507
1a4ac776
JM
13508 [BZ #13883]
13509 * sysdeps/i386/fpu/s_cexp.S: Remove.
13510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13512 * math/libm-test.inc (cexp_test): Add more tests.
13513 * sysdeps/i386/fpu/libm-test-ulps: Update.
13514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13515
a458e7fe
AM
135162012-03-21 Allan McRae <allan@archlinux.org>
13517
13518 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13519
0cb7efc5
JM
135202012-03-21 Joseph Myers <joseph@codesourcery.com>
13521
13522 [BZ #13871]
13523 * math/w_exp2.c: Do not include <float.h>.
13524 (o_threshold, u_threshold): Remove.
13525 (__exp2): Calculate result before checking finiteness and calling
13526 __kernel_standard.
13527 * math/w_exp2f.c: Likewise.
13528 * math/w_exp2l.c: Likewise.
13529 * math/libm-test.inc (exp2_test): Require overflow exception for
13530 1e6 input.
2460d3aa
JM
13531
13532 [BZ #3866]
13533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13534 range of signed 64-bit integers before using fistpll. Remove
13535 checks for whether integers fit in mantissa bits.
13536 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13537 the range of signed 32-bit integers before using fistpl. Remove
13538 checks for whether integers fit in mantissa bits.
13539 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13540 (__ieee754_powl): Test for y outside the range of signed 64-bit
13541 integers before using fistpll. Reduce 64-bit values to 63-bit
13542 ones as needed.
13543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13544 divide-by-zero is raised for zero to large negative powers.
13545 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13546 (__ieee754_powl): Test for y outside the range of signed 64-bit
13547 integers before using fistpll. Reduce 64-bit values to 63-bit
13548 ones as needed.
13549 * math/libm-test.inc (pow_test): Add more tests.
13550
eb96ffb0
L
135512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13552
13553 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13554 <stdio-common/_itoa.h>.
13555 * debug/segfault.c: Likewise.
13556 * elf/dl-cache.c: Likewise.
13557 * elf/dl-minimal.c: Likewise.
13558 * elf/dl-misc.c: Likewise.
13559 * elf/dl-sysdep.c: Likewise.
13560 * elf/dl-version.c: Likewise.
13561 * elf/rtld.c: Likewise.
13562 * hurd/hurdsock.c: Likewise.
13563 * hurd/lookup-retry.c: Likewise.
13564 * malloc/malloc.c: Likewise.
13565 * malloc/mtrace.c: Likewise.
13566 * nscd/nscd_getgr_r.c: Likewise.
13567 * nscd/nscd_getpw_r.c: Likewise.
13568 * nscd/nscd_getserv_r.c: Likewise.
13569 * posix/getopt_init.c: Likewise.
13570 * posix/wordexp.c: Likewise.
13571 * stdio-common/_itoa.c: Likewise.
13572 * stdio-common/printf_fphex.c: Likewise.
13573 * stdio-common/vfprintf.c: Likewise.
13574 * string/_strerror.c: Likewise.
13575 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13576 * sysdeps/i386/i686/hp-timing.h: Likewise.
13577 * sysdeps/mach/_strerror.c: Likewise.
13578 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13579 * sysdeps/mach/hurd/sethostid.c: Likewise.
13580 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13581 * sysdeps/mach/xpg-strerror.c: Likewise.
13582 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13584 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13585 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13586 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13587 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13589 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13590 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13591 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13592 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13593 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13594 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13595 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13596 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13598 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13600 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13601 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13602 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13603
13604 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13605
13606 * stdio-common/_itoa.h: Moved to ...
13607 * sysdeps/generic/_itoa.h: Here.
13608
13609 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13610
13611 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13612 instead of "_itoa.h" and "_itowa.h".
13613 * stdio-common/vfprintf.: Likewise.
13614
d1af992d
L
136152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13618 <bits/wordsize.h>.
13619 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13620 (__signbit): Likwise.
13621 (llrintf): Likwise.
13622 (llrint): Likwise.
13623
114883e0
L
136242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13625
13626 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13627 __WORDSIZE != 64.
13628
c135cc1b
JM
136292012-03-20 Joseph Myers <joseph@codesourcery.com>
13630
13631 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13632 OVERFLOW_EXCEPTION_OK.
13633 * math/libm-test.inc ("Philosophy"): Update comment about
13634 exception testing.
13635 (OVERFLOW_EXCEPTION): Define.
13636 (OVERFLOW_EXCEPTION_OK): Likewise.
13637 (INVALID_EXCEPTION_OK): Renumber.
13638 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13639 (IGNORE_ZERO_INF_SIGN): Likewise.
13640 (test_exceptions): Handle FE_OVERFLOW.
13641 (exp10_test): Expect overflow exceptions.
13642 (exp2_test): Likewise.
13643 (expm1_test): Likewise.
13644 (nextafter_test): Likewise.
13645 (pow_test): Likewise.
13646 (scalbn_test): Likewise.
13647 (scalbln_test): Likewise.
13648
95443d88
L
136492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13650
13651 * sysdeps/x86_64/bits/atomic.h
13652 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13653 64bit integer.
13654 (atomic_exchange_acq): Likewise.
13655 (__arch_exchange_and_add_body): Likewise.
13656 (__arch_add_body): Likewise.
13657 (atomic_add_negative): Likewise.
13658 (atomic_add_zero): Likewise.
13659
490df6c4
L
136602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13661
c2722551 13662 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13663 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13664
5e52b189
L
136652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13668 Check __x86_64__ instead of __WORDSIZE.
13669
a9879d4c
L
136702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13671
13672 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13673
5df98260
DM
136742012-03-19 David S. Miller <davem@davemloft.net>
13675
e1497744
DM
13676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13677
5df98260
DM
13678 * sysdeps/sparc/fpu/fenv_private.h: New file.
13679 * sysdeps/sparc/fpu/math_private.h: Use it.
13680 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13681 Remove.
13682 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13683 (libc_feholdexcept_setroundl): Remove.
13684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13685 Remove.
13686 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13687 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13688
b4c35121
L
136892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13692 int64_t instead of long int.
13693 (INSERT_WORDS64): Likwise.
13694
56965fd7
L
136952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13696
13697 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13698 _Unwind_GetCFA return to _Unwind_Ptr first.
13699
83d1aec8
JM
137002012-03-19 Joseph Myers <joseph@codesourcery.com>
13701
1897ad44
JM
13702 [BZ #13629]
13703 * math/s_clog.c: Include <float.h>.
13704 (__clog): Scale large or subnormal inputs.
13705 * math/s_clogf.c: Likewise.
13706 * math/s_clogl.c: Likewise.
13707 * math/s_clog10.c: Include <float.h>.
13708 (M_LOG10_2): Define.
13709 (__clog10): Scale large or subnormal inputs.
13710 * math/s_clog10f.c: Likewise.
13711 * math/s_clog10l.c: Likewise.
13712 * math/libm-test.inc (clog_test): Add more tests.
13713 (clog10_test): Likewise.
13714 * sysdeps/i386/fpu/libm-test-ulps: Update.
13715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13716
7726d6a9
JM
13717 [BZ #11451]
13718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13719 x and y.
13720 * math/libm-test.inc (atan2_test): Add another test.
13721
83d1aec8
JM
13722 * Makerules (common-objdir-compile): Remove.
13723 * sysdeps/unix/Makefile (config-generated): Do not add
13724 $(unix-generated) to variable.
13725 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13726 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13727 Remove rule.
13728 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13729 Likewise.
13730 [generic bits/local_lim.h] (before-compile): Do not append to
13731 variable.
13732 [generic bits/local_lim.h] (common-generated): Likewise.
13733 [generic sys/param.h] (before-compile): Do not append to variable.
13734 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13735 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13736 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13738 include.
13739 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13740 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13741 [generic sys/param.h] ($(addprefix
13742 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13743 [generic sys/param.h] (common-generated): Do not append to
13744 variable.
13745 [generic sys/param.h] (sysdep_headers): Likewise.
13746 [generic bits/errno.h] (before-compile): Do not append to
13747 variable.
13748 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13749 rule.
13750 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13751 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13752 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13753 [generic bits/errno.h] (common-generated): Do not append to
13754 variable.
13755 [generic bits/ioctls.h] (before-compile): Do not append to
13756 variable.
13757 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13758 rule.
13759 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13760 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13762 rule.
13763 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13764 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13765 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13766 [generic bits/ioctls.h] (common-generated): Do not append to
13767 variable.
13768 [generic sys/syscall.h] (syscall.h): Remove variable.
13769 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13770 rule.
13771 [generic sys/syscall.h] (before-compile): Do not append to
13772 variable.
13773 [generic sys/syscall.h] (common-generated): Likewise.
13774 * sysdeps/unix/errnos-tmpl.c: Remove file.
13775 * sysdeps/unix/errnos.awk: Likewise.
13776 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13777 * sysdeps/unix/ioctls.awk: Likewise.
13778 * sysdeps/unix/mk-local_lim.c: Likewise.
13779 * sysdeps/unix/snarf-ioctls: Likewise.
13780
4851a949
RH
137812012-03-19 Richard Henderson <rth@twiddle.net>
13782
bd37f2ee
RH
13783 * sysdeps/i386/fpu/fenv_private.h: New file.
13784 * sysdeps/i386/fpu/math_private.h: Use it.
13785 (math_opt_barrier, math_force_eval): Remove.
13786 (libc_feholdexcept_setround_53bit): Remove.
13787 (libc_feupdateenv_53bit): Remove.
13788 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13789 (math_opt_barrier, math_force_eval): Remove.
13790 (libc_feholdexcept): Remove.
13791 (libc_feholdexcept_setround): Remove.
13792 (libc_fetestexcept, libc_fesetenv): Remove.
13793 (libc_feupdateenv_test): Remove.
13794 (libc_feupdateenv, libc_feholdsetround): Remove.
13795 (libc_feresetround): Remove.
13796
d0adc922
RH
13797 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13798 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13799
0fe0f1f8
RH
13800 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13801 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13802 (libc_feupdateenv_testl): New.
13803 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13804 (libc_feupdateenv_testf): New.
13805 (libc_feupdateenv): Use libc_feupdateenv_test.
13806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13808
eb92c487
RH
13809 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13810 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13811 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13812 (libc_feresetround_noex): New.
13813 (libc_feresetround_noexf): New.
13814 (libc_feresetround_noexl): New.
13815 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13816 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13817 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13818 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13819 SET_RESTORE_ROUND.
13820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13822 (__cos): Likewise.
13823 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13825 SET_RESTORE_ROUND_NOEX.
13826 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13827 SET_RESTORE_ROUND_NOEXF.
13828 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13829 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13830 (libc_feholdsetroundf): New.
13831 (libc_feresetround, libc_feresetroundf): New.
13832
7d2e8012
RH
13833 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13834 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13835 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13836
b4dabbb4
RH
13837 * sysdeps/generic/math_private.h: Include <fenv.h>.
13838 (default_libc_feholdexcept): New.
13839 (default_libc_feholdexcept_setround): New.
13840 (default_libc_fesetenv, default_libc_feupdateenv): New.
13841 (libc_feholdexcept): Only define if undefined.
13842 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13844 (libc_feholdexcept_setroundl): Likewise.
13845 (libc_feholdexcept_setround_53bit): Likewise.
13846 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13849 (libc_feupdateenv_53bit): Likewise.
13850 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13851 (libc_feholdexcept): Convert from macro to inline function.
13852 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13853 (libc_fesetenv, libc_feupdateenv): Likewise.
13854
4851a949
RH
13855 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13856 not previously defined.
13857 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13858 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13859 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13860 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13861 * sysdeps/ieee754/flt-32/math_private.h: New file.
13862 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13863 math_private.h below SET_FLOAT_WORD.
13864 (__isnan, __isinf_ns, __finite): Remove.
13865 (__isnanf, __isinf_nsf, __finitef): Remove.
13866
e79d442e
AS
138672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13868
13869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13870
90b80344
DM
138712012-03-17 David S. Miller <davem@davemloft.net>
13872
13873 [BZ #6471]
13874 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13875 for 2.16.
13876
edc21804
DM
138772012-03-16 David S. Miller <davem@davemloft.net>
13878
77e927af
DM
13879 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13880 warnings.
13881
374976dd
DM
13882 [BZ #6471]
13883 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13884 properly.
13885 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13886 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13887 sysdep_routines when subdir is sysvipc.
13888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13889 __getshmlba helper.
13890
edc21804
DM
13891 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13892
473c3ef3
L
138932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13896 [__LP64__].
13897
eb0f39b6
L
138982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13899
13900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13901 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13902 (__lround): Renamed to ...
13903 (__llround): This. Replace long int with long long int.
13904 Define lround functions as aliases of llround functions.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13906
6b6cd74b
L
139072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13908
13909 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13910 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13911 adresses to uintptr_t. Replace "long int" and "unsigned long
13912 int" with "greg_t" on va_arg.
13913
f1a77b01
L
139142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13915
13916 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13917 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13918
13919 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13920 Move e_machine check before EI_CLASS check. Handle x32
13921 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13922 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13923 SKIP_EM_IA_64 and include
13924 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13925
13926 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13927 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13928 (add_system_dir): New macro.
13929
13930 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13931 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13932
11b90b9f
JM
139332012-03-16 Joseph Myers <joseph@codesourcery.com>
13934
c36e1d23
JM
13935 [BZ #2551]
13936 [BZ #2552]
13937 [BZ #2553]
13938 [BZ #2554]
13939 [BZ #2562]
13940 [BZ #2563]
13941 [BZ #2565]
13942 [BZ #2566]
13943 [BZ #2576]
13944 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13945 (y0): Likewise.
13946 * math/w_j0f.c (j0f): Likewise.
13947 (y0f): Likewise.
13948 * math/w_j0l.c (__j0l): Likewise.
13949 (__y0l): Likewise.
13950 * math/w_j1.c (j1): Likewise.
13951 (y1): Likewise.
13952 * math/w_j1f.c (j1f): Likewise.
13953 (y1f): Likewise.
13954 * math/w_j1l.c (__j1l): Likewise.
13955 (__y1l): Likewise.
13956 * math/w_jn.c (jn): Likewise.
13957 (yn): Likewise.
13958 * math/w_jnf.c (jnf): Likewise.
13959 (ynf): Likewise.
13960 * math/w_jnl.c (__jnl): Likewise.
13961 (__ynl): Likewise.
13962 * math/libm-test.inc (j0_test): Add more tests.
13963 (j1_test): Likewise.
13964 (jn_test): Likewise. Add trailing semicolon to existing test.
13965 (y0_test): Likewise.
13966 (y1_test): Likewise.
13967 * sysdeps/i386/fpu/libm-test-ulps: Update.
13968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13969
11b90b9f
JM
13970 [BZ #13851]
13971 [BZ #13854]
13972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13973 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13974 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13976 (__tanl): Set errno for infinite argument.
13977 * sysdeps/i386/fpu/mptan.c: Remove.
13978 * sysdeps/i386/fpu/s_tan.S: Likewise.
13979 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13980 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13981 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13982 * math/libm-test.inc (tan_test): Add more tests and enable more
13983 tests for double and long double.
13984 * sysdeps/i386/fpu/libm-test-ulps: Update.
13985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13986
6a1bd2a1
JK
139872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13988
13989 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13990 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13991
10a803e0
RM
139922012-03-16 Roland McGrath <roland@hack.frob.com>
13993
13994 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13995 * configure.in: Use it for both main tree and add-ons.
13996 * configure: Regenerated.
13997
f196c7f7
L
139982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13999
14000 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14001
8848d99d
JM
140022012-03-16 Joseph Myers <joseph@codesourcery.com>
14003
96cbe7f4
JM
14004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14005 in comment.
14006
8848d99d
JM
14007 [BZ #13851]
14008 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14009 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14013 infinite argument.
14014 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14016 != 0 for prec == 2.
14017 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14018 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14019 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14020 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14021 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14022 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14023 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14024 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14025 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14026 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14027 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14028 * math/libm-test.inc (cos_test): Add more tests and enable more
14029 tests for long double.
14030 (sin_test): Likewise.
14031 (sincos_test): Likewise.
14032 * sysdeps/i386/fpu/libm-test-ulps: Update.
14033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14034
dd7f4703
DM
140352012-03-16 David S. Miller <davem@davemloft.net>
14036
14037 * sysdeps/sparc/fpu/math_private.h: New file.
14038
006f1daa
DM
140392012-03-15 David S. Miller <davem@davemloft.net>
14040
c0c83bc8
DM
14041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14042 file.
e6a62e18 14043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14045 file.
e6a62e18
DM
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14052 sysdep routines.
14053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14054
88cb87d9
DM
14055 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14056 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14057
006f1daa 14058 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14060 sparc-ifunc.h
006f1daa 14061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14063 Likewise.
14064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14065 Likewise.
006f1daa
DM
14066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14070 Likewise.
006f1daa
DM
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14076 Likewise.
14077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14078 Likewise.
006f1daa
DM
14079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14103
11e0098e
AS
141042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14105
14106 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14107 scaling.
14108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14109
e85b09d0
AJ
141102012-03-15 Andreas Jaeger <aj@suse.de>
14111
14112 [BZ #13852]
14113 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14114 ieee754/flt-32 implementation for sin, cos and sincos.
14115 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14116 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14117 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14118 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14119 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14120 ieee754/flt-32 implementation for tan.
14121
14122 * math/libm-test.inc (cos_test): Enable some large input tests for
14123 float as well
14124 (sin_test): Likewise.
14125 (sincos_test): Likewise.
14126 (tan_test): Add tests for large input.
14127
14128 * sysdeps/i386/fpu/libm-test-ulps: Update.
14129
81c64153
AJ
141302012-03-15 Andreas Jaeger <aj@suse.de>
14131
14132 [BZ #13658]
14133 * math/libm-test.inc (cos_test): Add more test cases.
14134 (sin_test): Likewise.
14135 (sincos_test): Likewise.
14136
7bbfa5c6
AJ
141372012-03-15 Andreas Jaeger <aj@suse.de>
14138
14139 [BZ #13837]
14140 * math/libm-test.inc (cos_test): Add a test case for large input
14141 value.
14142 (sin_test): Likewise.
14143 (sincos_test): Likewise.
14144
141452012-03-15 Andreas Jaeger <aj@suse.de>,
14146 Joseph Myers <joseph@codesourcery.com>
14147
14148 [BZ #13658]
0671f479 14149 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14150 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14151 * sysdeps/i386/fpu/branred.c: Likewise.
14152 * sysdeps/i386/fpu/dosincos.c: Likewise.
14153 * sysdeps/i386/fpu/mpa.c: Likewise.
14154 * sysdeps/i386/fpu/s_cos.S: Likewise.
14155 * sysdeps/i386/fpu/s_sin.S: Likewise.
14156 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14157 * sysdeps/i386/fpu/sincos32.c: Likewise.
14158
14159 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14160 Define.
14161 (libc_feupdateenv_53bit): Define.
14162 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14163 Define.
14164 (libc_feupdateenv_53bit): Define.
14165
14166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14167 53 bit (without extend i386 double precision).
14168
14169 * math/libm-test.inc (sincos_test): Add tests for large input.
14170 (sin): Likewise.
14171 (cos): Likewise.
14172
14173 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14174
9cad04ea
AS
141752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14176
14177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14178
f7062b9a
DM
141792012-03-15 David S. Miller <davem@davemloft.net>
14180
14181 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14182 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14183 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14184 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14197 file.
f7062b9a 14198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14200 file.
f7062b9a 14201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14203 file.
f7062b9a 14204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14206 file.
f7062b9a
DM
14207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14209 fmin/fmax sysdep routines.
14210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14211
7bd951ff
DM
142122012-03-14 David S. Miller <davem@davemloft.net>
14213
559398ab
DM
14214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14243 routines.
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14245 file.
559398ab 14246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14248 file.
559398ab 14249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14251 file.
559398ab 14252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14254 file.
559398ab 14255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14257 file.
559398ab 14258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14260 file.
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14262 file.
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14264 file.
14265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14266 file.
14267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14268 New file.
14269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14270 file.
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14272 file.
559398ab 14273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14275 file.
559398ab 14276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14278 file.
559398ab 14279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14281 file.
559398ab 14282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14284 VIS3 routines.
559398ab
DM
14285
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14287 New file.
14288
5a1c1e32
DM
14289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14290
eae47a36
DM
14291 * sysdeps/sparc/configure.in: New file.
14292 * sysdeps/sparc/configure: Generate.
14293 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14294 * configure: Regenerate.
14295 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14296 * config.make.in (have-as-vis3): New.
14297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14298 available use -Av9d instead of -Av9a.
14299 * sysdeps/sparc/sparc64/Makefile: Likewise.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14302 New file.
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14304 file.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14306 New file.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14308 file.
eae47a36
DM
14309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14314
c0c83bc8
DM
14315 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14316 fzeros/fnegs to load 0x80000000 into a float register instead of
14317 using the stack.
7bd951ff
DM
14318 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14319
bd951ccb
JM
143202012-03-14 Joseph Myers <joseph@codesourcery.com>
14321
14322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14323 bits/syscall.h.
14324 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14325 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14326 ($(inst_includedir)/bits/syscall.h): Remove rule.
14327 ($(objpfx)bits/syscall.d): Include instead of
14328 $(objpfx)syscall-list.d.
14329 (generated): Change syscall-list.h and syscall-list.d to
14330 bits/syscall.h and bits/syscall.d.
14331
bb4e6db2
RM
143322012-03-14 Roland McGrath <roland@hack.frob.com>
14333
14334 [BZ #13846]
14335 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14336
aa4a2ae1
JM
143372012-03-14 Joseph Myers <joseph@codesourcery.com>
14338
e456826d
JM
14339 [BZ #13841]
14340 * math/s_csqrt.c: Include <float.h>.
14341 (__csqrt): Scale large or subnormal inputs.
14342 * math/s_csqrtf.c: Likewise.
14343 * math/s_csqrtl.c: Likewise.
14344 * math/libm-test.inc (csqrt_test): Add more tests.
14345 * sysdeps/i386/fpu/libm-test-ulps: Update.
14346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14347
aa4a2ae1
JM
14348 [BZ #13840]
14349 * math/libm-test.inc (hypot_test): Add more tests.
14350
7c10fd35
DM
143512012-03-13 David S. Miller <davem@davemloft.net>
14352
14353 [BZ #13840]
14354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14355 double-precision for the calculation instead of scaling.
14356
f453b98b
JM
143572012-03-13 Joseph Myers <joseph@codesourcery.com>
14358
14359 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14360 manipulate bits before adding and subtracting TWO52[sx].
14361 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14363 Likewise.
14364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14365
09a3453f
DM
143662012-03-13 David S. Miller <davem@davemloft.net>
14367
8e59da90
DM
14368 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14369 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14371 rtld-global-offsets.h
14372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14373
2a8ab7f2
DM
14374 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14375 large parameters.
14376
10f62770
DM
14377 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14378
5f0bdb18
DM
14379 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14380 'err' in the ifdef scope in which it is actually used.
14381
09a3453f
DM
14382 * nss/nss_db/db-init.c: Include string.h
14383
b4b2eb5e
DM
143842012-03-12 David S. Miller <davem@davemloft.net>
14385
98bb2f1c
DM
14386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14387 masking out of the most significant byte of random value used.
14388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14389 Fix coding style in previous change.
14390
b4b2eb5e
DM
14391 * sysdeps/unix/sysv/linux/kernel-features.h
14392 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14393 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14394 expression.
14395 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14396 later.
14397
6e226b09
DM
143982012-03-11 David S. Miller <davem@davemloft.net>
14399
a1bcbd40
DM
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14401 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14403 for 'resultvar' otherwise things get truncated on 64-bit.
14404
cb9d6174
DM
14405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14406 Fix masking out of the most significant byte of random value used.
14407
6e226b09
DM
14408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14409
058c132d
AS
144102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14411
14412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14413
2d2cd515
DM
144142012-03-09 David S. Miller <davem@davemloft.net>
14415
14416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14417 variables with appropriate CPP guards.
14418 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14419 frame pointer, not the stack pointer. Correct layout comments. Fix test
14420 on resulting framesize and the management of the outregs buffer for pltexit.
14421 Preserve floating point return values across _dl_call_pltexit call.
14422 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14423 framesize and the management of the outregs buffer for pltexit.
14424 Preserve floating point return values across _dl_call_pltexit
14425 call.
14426 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14427 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14428 (print_exit): Fix format string for return register value.
14429
9a07f9d0
JM
144302012-03-10 Joseph Myers <joseph@codesourcery.com>
14431
14432 * sunrpc/Makefile (others): Add rpcgen.
14433 ($(objpfx)rpcgen): Remove special build rule and dependency on
14434 libc.
14435 * sunrpc/rpcgen.c: New file.
14436
547b5e30
PE
144372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14438
c524201a
PE
14439 [BZ #13673]
14440 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14441 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14442 * sysdeps/i386/crti.S: Likewise.
14443 * sysdeps/i386/crtn.S: Likewise.
14444 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14445 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14446 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14447 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14448 * sysdeps/sh/crti.S: Likewise.
14449 * sysdeps/sh/crtn.S: Likewise.
14450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14451
7b6235f2
PE
14452 [BZ #13673]
14453 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14454 with URL.
14455 * locale/programs/locfile-kw.gperf: Likewise.
14456 * locale/programs/charmap-kw.h: Regenerated.
14457 * locale/programs/locfile-kw.h: Likewise.
14458
547b5e30
PE
14459 [BZ #13673]
14460 * intl/plural.y: Replace FSF snail mail address with URL.
14461 * intl/plural.c: Regenerated.
14462
5f0a5dae
RH
144632012-03-09 Richard Henderson <rth@twiddle.net>
14464
14465 * include/math_private.h: Remove file.
14466 * math/math_private.h: Move file ...
14467 * sysdeps/generic/math_private.h: ... here.
14468
b8c03620
RH
14469 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14470 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14472
4e234f5d 14473 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14474 and <math_private.h>.
14475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14546 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14568 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14602 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14608 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14609 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14610 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14613 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14616 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14618 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14619 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14623 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14624 * sysdeps/ieee754/k_standard.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14738 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14741 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14774 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14780 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14785 * sysdeps/ieee754/s_lib_version.c: Likewise.
14786 * sysdeps/ieee754/s_matherr.c: Likewise.
14787 * sysdeps/ieee754/s_signgam.c: Likewise.
14788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14791 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14794 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14795 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14796 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14797 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14798 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14809
1991fa03
JM
148102012-03-09 Joseph Myers <joseph@codesourcery.com>
14811
14812 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14813 * sunrpc/rpc_main.c: Likewise.
14814 * sunrpc/rpc_svcout.c: Likewise.
14815
60d6f5a6
DM
148162012-03-09 David S. Miller <davem@davemloft.net>
14817
14818 * include/math_private.h: New file.
14819
4962050e
JM
148202012-03-09 Joseph Myers <joseph@codesourcery.com>
14821
02a6f887
JM
14822 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14823 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14824 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14825 from <bits/socket_type.h>.
14826 (enum __socket_type): Don't define here.
14827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14829 bits/socket_type.h.
14830
c6e013c1
JM
14831 [BZ #13566]
14832 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14833 checking __USE_GNU.
14834
4962050e
JM
14835 * Makerules ($(inst_includedir)/%.h): New rule.
14836 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14837 (install-others): Remove variable setting.
14838 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14839
38842f45
RH
148402012-03-08 Richard Henderson <rth@twiddle.net>
14841
67bb6da6
RH
14842 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14843 from macro to inline function; merge with the
14844 !__LIBC_INTERNAL_MATH_INLINES version.
14845 (__ieee754_sqrtf): Likewise.
14846
15194b4b
RH
14847 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14848 to inline function.
14849 (__rintf, __floor, __floorf): Likewise.
14850
64e21ede
RH
14851 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14852 macro to inline function.
14853 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14854
38842f45
RH
14855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14856 not <math/math_private.h>.
14857
c64bf5fe
DM
148582012-03-08 David S. Miller <davem@davemloft.net>
14859
14860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14861 copyright year.
14862 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14863
82d86f28
TS
148642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14865
14866 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14867 normalization.
14868 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14869 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14870
aea5d727
UD
148712012-03-08 Ulrich Drepper <drepper@gmail.com>
14872
14873 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14874 be defined individually, they must be defined as a block. Define
14875 S for printing a string instead of hidint the different by using a
14876 macro for adding the 'l'.
14877 * stdio-common/tst-fphex-wide.c: Adjust.
14878
70bca0a3
MP
148792012-03-07 Marek Polacek <polacek@redhat.com>
14880
14881 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14882
65b81130
MP
148832012-03-08 Marek Polacek <polacek@redhat.com>
14884
14885 [BZ #13806]
14886 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14887 * stdio-common/tst-fphex.c: Define a few macros to make the
14888 test reusable. Use them.
14889 * stdio-common/tst-fphex-wide.c: New file.
14890
07037eeb
JM
148912012-03-08 Joseph Myers <joseph@codesourcery.com>
14892
a7a93d50
JM
14893 [BZ #6911]
14894 * manual/macros.texi (gnusystems): New macro.
14895 (nongnusystems): Likewise.
14896 (gnulinuxhurdsystems): Likewise.
14897 (gnuhurdsystems): Likewise..
14898 (gnulinuxsystems): Likewise.
14899 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14900 variants of the GNU system, not "GNU system".
14901 * manual/conf.texi: Likewise.
14902 * manual/errno.texi: Likewise. Update example of errno macro
14903 expansion.
14904 * manual/filesys.texi: Likewise.
14905 (getumask): Document as specific to GNU/Hurd.
14906 * manual/install.texi: Likewise. Reword some references to
14907 GNU/Linux.
14908 * manual/intro.texi: Likewise.
14909 * manual/io.texi: Likewise.
14910 (File Name Portability): Detail which constraints are inapplicable
14911 to all GNU systems and which are only inapplicable to GNU/Hurd.
14912 * manual/job.texi: Likewise.
14913 * manual/llio.texi: Likewise.
14914 (O_NOCTTY): Document as present on GNU/Linux.
14915 * manual/maint.texi: Likewise.
14916 * manual/memory.texi: Likewise.
14917 * manual/pattern.texi: Likewise.
14918 * manual/pipe.texi: Likewise.
14919 * manual/process.texi: Likewise.
14920 * manual/resource.texi: Likewise.
14921 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14922 child on GNU/Hurd.
14923 * manual/setjmp.texi: Likewise.
14924 * manual/signal.texi: Likewise.
14925 * manual/startup.texi: Likewise.
14926 * manual/stdio.texi: Likewise.
14927 * manual/terminal.texi: Likewise.
14928 (ONLCR): Document as POSIX.
14929 (OXTABS): Document availability on GNU/Linux as XTABS.
14930 (ONOEOT): Document availability separately from other bits.
14931 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14932 * manual/time.texi: Likewise.
14933 * manual/users.texi: Likewise.
14934 * INSTALL: Regenerated.
14935 * sysdeps/gnu/errlist.c: Regenerated.
14936
07037eeb
JM
14937 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14938 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14939 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14940 puts.
14941 * configure: Regenerated.
14942
d1d3431a
JM
149432012-03-07 Joseph Myers <joseph@codesourcery.com>
14944
af6a1e37
JM
14945 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14946 default includes instead of AC_HEADER_CHECK.
14947 * sysdeps/i386/configure: Regenerated.
14948
d1d3431a
JM
14949 [BZ #10716]
14950 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14951 * math/s_cacoshf.c (__cacoshf): Likewise.
14952 * math/s_cacoshl.c (__cacoshl): Likewise.
14953 * math/s_casinh.c (__casinh): Set signs of result from argument.
14954 * math/s_casinhf.c (__casinhf): Likewise.
14955 * math/s_casinhl.c (__casinhl): Likewise.
14956 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14957 (casinh_test): Add more tests.
14958 * sysdeps/i386/fpu/libm-test-ulps: Update.
14959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14960
482ff4da
UD
149612012-03-07 Ulrich Drepper <drepper@gmail.com>
14962
872fda05
UD
14963 * po/zh_TW.po: Update from translation team.
14964
a4300c7a
UD
14965 * login/Makefile (distribute): Remove variable.
14966 * catgets/Makefile: Likewise.
14967 * mach/Makefile: Likewise.
14968 * malloc/Makefile: Likewise.
14969 * misc/Makefile: Likewise.
14970 * iconv/Makefile: Likewise.
14971 * nscd/Makefile: Likewise.
14972 * hurd/Makefile: Likewise.
14973 * manual/Makefile: Likewise.
14974 * locale/Makefile: Likewise.
14975 * intl/Makefile: Likewise.
14976 * conform/Makefile: Likewise.
14977 * nss/Makefile: Likewise.
14978 * time/Makefile: Likewise.
14979 * soft-fp/Makefile: Likewise.
14980 * dirent/Makefile: Likewise.
14981 * gmon/Makefile: Likewise.
14982 * po/Makefile: Likewise.
14983 * rt/Makefile: Likewise.
14984 * socket/Makefile: Likewise.
14985 * math/Makefile: Likewise.
14986 * signal/Makefile: Likewise.
14987 * debug/Makefile: Likewise.
14988 * elf/Makefile: Likewise.
14989 * timezone/Makefile: Likewise.
14990 * stdlib/Makefile: Likewise.
14991 * iconvdata/Makefile: Likewise.
14992 * sunrpc/Makefile: Likewise.
14993 * io/Makefile: Likewise.
14994 * argp/Makefile: Likewise.
14995 * inet/Makefile: Likewise.
14996 * hesiod/Makefile: Likewise.
14997 * grp/Makefile: Likewise.
14998 * csu/Makefile: Likewise.
14999 * wctype/Makefile: Likewise.
15000 * crypt/Makefile: Likewise.
15001 * libio/Makefile: Likewise.
15002 * string/Makefile: Likewise.
15003 * nis/Makefile: Likewise.
15004 * resolv/Makefile: Likewise.
15005 * stdio-common/Makefile: Likewise.
15006 * wcsmbs/Makefile: Likewise.
15007 * dlfcn/Makefile: Likewise.
15008 * posix/Makefile: Likewise.
15009
3b7c4e74 15010 [BZ #6959]
482ff4da
UD
15011 * timezone/Makefile: Don't install timezone files, just the programs
15012 and scripts.
15013
f72ed77d
UD
150142012-03-06 Ulrich Drepper <drepper@gmail.com>
15015
a000466f
UD
15016 * nss/databases.def: Add missing gshadow entry.
15017
f72ed77d
UD
15018 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15019
a53b7a4e
MP
150202012-03-06 Marek Polacek <polacek@redhat.com>
15021
15022 [BZ #13726]
15023 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15024 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15025 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15026 * stdio-common/tst-long-dbl-fphex.c: New file.
15027
e9258400
DM
150282012-03-06 David S. Miller <davem@davemloft.net>
15029
15030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15031 (set_obp_int): New function.
15032 (get_obp_int): New function.
15033 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15035 Avoid unused variable warnings on 'val' and use builtin_expect.
15036 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15037 __builtin_expect.
e9258400
DM
15038 (INLINE_CLONE_SYSCALL): Likewise.
15039
3bd2c723
DM
150402012-03-05 David S. Miller <davem@davemloft.net>
15041
15042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15043
bbb78d03
AS
150442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15045
884c5db4
AS
15046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15047
bbb78d03
AS
15048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15049 only for |x| >= 40.
15050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15051
1c9f702a 150522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15053
15054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15055 Replace gettimeofday with __vdso_gettimeofday.
15056
7be16f82
RM
15057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15058 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15059 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15060
15061 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15062 time with __vdso_time.
15063
ed58a00f
JM
150642012-03-05 Joseph Myers <joseph@codesourcery.com>
15065
15066 * manual/lang.texi (size_t): Note types to which size_t may be
15067 equivalent with the GNU C Library, but do not describe when
15068 differences between them are significant.
15069
30ee4ced
AJ
150702012-03-05 Andreas Jaeger <aj@suse.de>
15071
15072 * sysdeps/i386/fpu/libm-test-ulps: Update.
15073
b7cd39e8
JM
150742012-03-05 Joseph Myers <joseph@codesourcery.com>
15075
15076 [BZ #3976]
15077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15078 (__ieee754_pow): Save and restore rounding mode and use
15079 round-to-nearest for main computations.
15080 * math/libm-test.inc (pow_test_tonearest): New function.
15081 (pow_test_towardzero): Likewise.
15082 (pow_test_downward): Likewise.
15083 (pow_test_upward): Likewise.
15084 (main): Call the new functions.
15085 * sysdeps/i386/fpu/libm-test-ulps: Update.
15086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15087
15088 [BZ #3976]
15089 * math/libm-test.inc (cosh_test_tonearest): New function.
15090 (cosh_test_towardzero): Likewise.
15091 (cosh_test_downward): Likewise.
15092 (cosh_test_upward): Likewise.
15093 (sinh_test_tonearest): Likewise.
15094 (sinh_test_towardzero): Likewise.
15095 (sinh_test_downward): Likewise.
15096 (sinh_test_upward): Likewise.
15097 (main): Call the new functions.
15098 * sysdeps/i386/fpu/libm-test-ulps: Update.
15099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15100
6c6a98c9
TV
151012012-03-05 Tom de Vries <tom@codesourcery.com>
15102
15103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15104 default stack guard is set in last bytes.
15105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15106
21bb2d2e 151072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15108
21bb2d2e 15109 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15110
21bb2d2e
AJ
15111 [BZ #13656]
15112 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15113 possibly allocate from heap instead of stack.
15114 * stdio-common/bug-vfprintf-nargs.c: New file.
15115 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15116
c6922934
AS
151172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15118
15119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15120
bc957d53
MP
151212012-03-03 Marek Polacek <polacek@redhat.com>
15122
15123 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15124 * math/math_private.h: Likewise.
15125 * stdlib/tst-strtod.c: Likewise.
15126 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15127 * sysdeps/x86_64/bits/atomic.h: Likewise.
15128
6358490d
DM
151292012-03-02 David S. Miller <davem@davemloft.net>
15130
15131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15135 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15136 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15137 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15138 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15139
01ae168d
RM
151402012-03-02 Roland McGrath <roland@hack.frob.com>
15141
d9a17c07
RM
15142 [BZ #13792]
15143 * manual/examples/README: New file, says the example source files
15144 can be used under GPL>=2.
15145 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15146 line containing just "*/".
15147 * manual/examples/add.c: Add copyright header (GPL>=2).
15148 * manual/examples/argp-ex1.c: Likewise.
15149 * manual/examples/argp-ex2.c: Likewise.
15150 * manual/examples/argp-ex3.c: Likewise.
15151 * manual/examples/argp-ex4.c: Likewise.
15152 * manual/examples/atexit.c: Likewise.
15153 * manual/examples/db.c: Likewise.
15154 * manual/examples/dir.c: Likewise.
15155 * manual/examples/dir2.c: Likewise.
15156 * manual/examples/execinfo.c: Likewise.
15157 * manual/examples/filecli.c: Likewise.
15158 * manual/examples/filesrv.c: Likewise.
15159 * manual/examples/fmtmsgexpl.c: Likewise.
15160 * manual/examples/genpass.c: Likewise.
15161 * manual/examples/inetcli.c: Likewise.
15162 * manual/examples/inetsrv.c: Likewise.
15163 * manual/examples/isockad.c: Likewise.
15164 * manual/examples/longopt.c: Likewise.
15165 * manual/examples/memopen.c: Likewise.
15166 * manual/examples/memstrm.c: Likewise.
15167 * manual/examples/mkfsock.c: Likewise.
15168 * manual/examples/mkisock.c: Likewise.
15169 * manual/examples/mygetpass.c: Likewise.
15170 * manual/examples/pipe.c: Likewise.
15171 * manual/examples/popen.c: Likewise.
15172 * manual/examples/rprintf.c: Likewise.
15173 * manual/examples/search.c: Likewise.
15174 * manual/examples/select.c: Likewise.
15175 * manual/examples/setjmp.c: Likewise.
15176 * manual/examples/sigh1.c: Likewise.
15177 * manual/examples/sigusr.c: Likewise.
15178 * manual/examples/stpcpy.c: Likewise.
15179 * manual/examples/strdupa.c: Likewise.
15180 * manual/examples/strftim.c: Likewise.
15181 * manual/examples/strncat.c: Likewise.
15182 * manual/examples/subopt.c: Likewise.
15183 * manual/examples/swapcontext.c: Likewise.
15184 * manual/examples/termios.c: Likewise.
15185 * manual/examples/testopt.c: Likewise.
15186 * manual/examples/testpass.c: Likewise.
15187 * manual/examples/timeval_subtract.c: Likewise.
15188
01ae168d
RM
15189 [BZ #13792]
15190 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15191 function to ...
15192 * manual/timeval_subtract.c.texi: ... here, new file.
15193
49efa33d
DM
151942012-03-02 David S. Miller <davem@davemloft.net>
15195
15196 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15197
28afd92d
JM
151982012-03-02 Joseph Myers <joseph@codesourcery.com>
15199
804360ed
JM
15200 [BZ #3976]
15201 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15202 (__sin): Save and restore rounding mode and use round-to-nearest
15203 for all computations.
15204 (__cos): Save and restore rounding mode and use round-to-nearest
15205 for all computations.
15206 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15207 <fenv.h>.
15208 (tan): Save and restore rounding mode and use round-to-nearest for
15209 all computations.
15210 * math/libm-test.inc (cos_test_tonearest): New function.
15211 (cos_test_towardzero): Likewise.
15212 (cos_test_downward): Likewise.
15213 (cos_test_upward): Likewise.
15214 (sin_test_tonearest): Likewise.
15215 (sin_test_towardzero): Likewise.
15216 (sin_test_downward): Likewise.
15217 (sin_test_upward): Likewise.
15218 (tan_test_tonearest): Likewise.
15219 (tan_test_towardzero): Likewise.
15220 (tan_test_downward): Likewise.
15221 (tan_test_upward): Likewise.
15222 (main): Call the new functions.
15223 * sysdeps/i386/fpu/libm-test-ulps: Update.
15224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15225
a6d06d7b
JM
15226 [BZ #10135]
15227 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15228 small n, then large n, before computing and testing k+n.
15229 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15231 Likewise.
15232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15233 Likewise.
15234 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15235 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15242 * math/libm-test.inc (scalbn_test): Add more tests.
15243 (scalbln_test): Likewise.
15244
07e12bb3
JM
15245 * manual/filesys.texi (mode_t): Describe constraints on size and
15246 signedness, not exact equivalence to a particular type.
15247 (ino_t): Likewise.
15248 (ino64_t): Likewise.
15249 (dev_t): Likewise.
15250 (nlink_t): Likewise.
15251 (blkcnt_t): Likewise.
15252 (blkcnt64_t): Likewise.
15253 * manual/llio.texi (off_t): Likewise.
15254
28afd92d
JM
15255 [BZ #3976]
15256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15257 (__ieee754_exp): Save and restore rounding mode and use
15258 round-to-nearest for all computations.
15259 * math/libm-test.inc (exp_test_tonearest): New function.
15260 (exp_test_towardzero): Likewise.
15261 (exp_test_downward): Likewise.
15262 (exp_test_upward): Likewise.
15263 (main): Call the new functions.
15264 * sysdeps/i386/fpu/libm-test-ulps: Update.
15265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15266
b1eeb65d
CD
152672012-03-01 Chris Demetriou <cgd@google.com>
15268
15269 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15270 have predictable order.
15271
53362a4b
DM
152722012-03-01 David S. Miller <davem@davemloft.net>
15273
3c969083
DM
15274 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15275
759707de
DM
15276 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15277 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15278 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15279 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15280
dfdb8ff2
DM
15281 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15282 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15285 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15286 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15287 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15288 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15289 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15290
ead89f96
DM
15291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15292
7f66bd07
DM
15293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15294 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15296
53362a4b
DM
15297 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15300 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15301 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15305 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15313 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15314 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15315 * sysdeps/sparc/elf/configure: Regenerated.
15316
7b1902cb
JM
153172012-03-01 Joseph Myers <joseph@codesourcery.com>
15318
bec039bc
JM
15319 * configure.in (AS, LD): Require binutils 2.20 or later.
15320 * configure: Regenerated.
15321 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15322 as required minimum version.
15323 * INSTALL: Regenerated.
15324
7b1902cb
JM
15325 [BZ #2541]
15326 [BZ #4108]
15327 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15328 before squaring exponent.
15329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15330 bottom long double and 27 bits of top long double before squaring
15331 exponent.
15332 * math/libm-test.inc (erfc_test): Add more tests.
15333 * sysdeps/i386/fpu/libm-test-ulps: Update.
15334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15336
f775c276
KT
153372012-03-01 Kai Tietz <ktietz@redhat.com>
15338
15339 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15340 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15341 containing bit-fields.
15342 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15343 * soft-fp/single.h (_FP_UNION_S): Likewise.
15344 * soft-fp/double.h (_FP_UNION_D): Likewise.
15345
5b8a4d4a
JM
153462012-02-29 Joseph Myers <joseph@codesourcery.com>
15347
0bab47b6
JM
15348 [BZ #13786]
15349 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15350 not include ../strcmp.S.
15351 [USE_AS_STRNCASECMP_L]: Likewise.
15352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15353 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15354 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15355 (__strncasecmp_l_ia32): Define as alias to
15356 __strncasecmp_l_nonascii.
15357
0fcad3e2
JM
15358 [BZ #5794]
15359 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15360 * sysdeps/i386/fpu/libm-test-ulps: Update.
15361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15362
5b8a4d4a
JM
15363 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15365
8fdceb2e
JL
153662012-02-29 Jeff Law <law@redhat.com>
15367
15368 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15369 out of bounds read.
15370
1f393a11
MP
153712012-02-29 Marek Polacek <polacek@redhat.com>
15372
15373 [BZ #13706]
15374 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15375 * elf/Makefile: Add rules to run tst-unused-dep.out.
15376
8847f037
DM
153772012-02-28 David S. Miller <davem@davemloft.net>
15378
15379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15385
169d7f11
JM
153862012-02-29 Joseph Myers <joseph@codesourcery.com>
15387
15388 * math/libm-test.inc (llround_test): Move one test from
15389 lround_test. Use TEST_f_L in moved test.
15390 (lround_test): Move misplaced test to llround_test. Add testcase
15391 from bug 2561.
15392
39adf059
UD
153932012-02-28 Ulrich Drepper <drepper@gmail.com>
15394
15395 * sysdeps/x86_64/fpu/e_expf.S: New file.
15396 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15397
71b5d1c5
SB
153982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15399
15400 [BZ #13637]
15401 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15402 of remain_len that may cause incomplete multi-byte character and
15403 false match.
15404 * posix/bug-regex33.c: New file.
15405 * posix/Makefile (tests): Add bug-regex33.
15406
1f77f049
JM
154072012-02-28 Joseph Myers <joseph@codesourcery.com>
15408
15409 * manual/macros.texi: New file.
15410 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15411 * manual/libc.texinfo: Include macros.texi.
15412 * manual/creatute.texi: Likewise.
15413 * manual/install.texi: Likewise.
15414 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15415 @glibcadj{} in references to the GNU C Library.
15416 * manual/charset.texi: Likewise.
15417 * manual/conf.texi: Likewise.
15418 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15419 when not using those macros.
15420 * manual/creature.texi: Likewise.
15421 * manual/crypt.texi: Likewise.
15422 * manual/errno.texi: Likewise.
15423 * manual/filesys.texi: Likewise.
15424 * manual/header.texi: Likewise.
15425 * manual/install.texi: Likewise.
15426 * manual/intro.texi: Likewise.
15427 * manual/io.texi: Likewise.
15428 * manual/job.texi: Likewise.
15429 * manual/lang.texi: Likewise.
15430 * manual/libc.texiinfo: Likewise.
15431 * manual/llio.texi: Likewise.
15432 * manual/locale.texi: Likewise.
15433 * manual/maint.texi: Likewise.
15434 * manual/math.texi: Likewise.
15435 * manual/memory.texi: Likewise.
15436 * manual/message.texi: Likewise.
15437 * manual/nss.texi: Likewise.
15438 * manual/pattern.texi: Likewise.
15439 * manual/process.texi: Likewise.
15440 * manual/resource.texi: Likewise.
15441 * manual/search.texi: Likewise.
15442 * manual/setjmp.texi: Likewise.
15443 * manual/signal.texi: Likewise.
15444 * manual/socket.texi: Likewise.
15445 * manual/startup.texi: Likewise.
15446 * manual/stdio.texi: Likewise.
15447 * manual/string.texi: Likewise.
15448 * manual/sysinfo.texi: Likewise.
15449 * manual/syslog.texi: Likewise.
15450 * manual/terminal.texi: Likewise.
15451 * manual/time.texi: Likewise.
15452 * manual/users.texi: Likewise.
15453 * INSTALL: Regenerated.
15454 * NOTES: Regenerated.
d40c5d54 15455 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15456
450bf206
AS
154572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15458
15459 * include/dirent.h: Include <dirstream.h> before
15460 <dirent/dirent.h>.
15461
741a235b
DM
154622012-02-28 David S. Miller <davem@davemloft.net>
15463
15464 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15465 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15466 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15468
d6b5aa58
DM
154692012-02-27 David S. Miller <davem@davemloft.net>
15470
1aff59a3
DM
15471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15473 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15474 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15475
d6b5aa58
DM
15476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15477 frame pointer instead of stack pointer relative arg slot.
15478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15481
433f48bf
CD
154822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15483
15484 [BZ #3992]
15485 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15486
d674b76d
DM
154872012-02-27 David S. Miller <davem@davemloft.net>
15488
15489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15495 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15497
0e7727f7
JM
154982012-02-27 Joseph Myers <joseph@codesourcery.com>
15499
15500 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15501 later. Allow versions 5-9.
43be4ca2 15502 * configure: Regenerated.
0e7727f7
JM
15503 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15504 required minimum version and 4.6 as recommended version. Do not
15505 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15506 * INSTALL: Regenerated.
0e7727f7 15507
a78bc654
DM
155082012-02-27 David S. Miller <davem@davemloft.net>
15509
428d5830
DM
15510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15516 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15518
a78bc654
DM
15519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15520 manipulate bits before adding and subtracting TWO112[sx].
15521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15522
4579f81c
RM
155232012-02-27 Roland McGrath <roland@hack.frob.com>
15524
36c8acb4
RM
15525 [BZ #13775]
15526 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15527 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15528 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15529 being in POSIX, because they are in 1003.1-2008.
15530
84ad622b
RM
15531 * rt/tst-aio.c: Include <fcntl.h>.
15532 * rt/tst-aio7.c: Likewise.
15533 * rt/tst-aio64.c: Likewise.
15534
4579f81c
RM
15535 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15536
abd923db
JM
155372012-02-27 Joseph Myers <joseph@codesourcery.com>
15538
15539 * manual/install.texi (--with-headers): Describe headers as
15540 interface headers, not private headers.
15541 (Specific advice for GNU/Linux systems): Describe use of headers
15542 from "make headers_install", not private headers from older
15543 kernels.
43be4ca2 15544 * INSTALL: Regenerated.
abd923db
JM
15545 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15546 Change to 2.6.19.
15547 * sysdeps/unix/sysv/linux/configure: Regenerated.
15548
6664049b
JM
15549 * manual/llio.texi (fclean): Remove documentation.
15550
bb8b6697
JM
15551 * manual/Makefile (libc-texi-generated): New variable. Include
15552 version.texi.
15553 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15554 $(libc-texi-generated), not duplicated list of files.
15555 (version.texi, stamp-version): New rules.
15556 (realclean): Remove $(libc-texi-generated), not individual files
15557 from that list. Do not remove dir-add.texinfo.
15558 * manual/libc.texinfo: Comment out uses of edition numbers and
15559 references to printed manual. Remove last-updated dates.
15560 (EDITION): Comment out.
15561 (ISBN): Likewise.
15562 (VERSION, UPDATED): Remove.
15563 (version.texi): Include.
15564
12e5c3b9
AS
155652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15566
15567 * sysdeps/posix/spawni.c: Include <signal.h>.
15568 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15569 * sysdeps/pthread/aio_fsync.c: Likewise.
15570
4efeffc1 155712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15572
ba63ba08
UD
15573 * conform/Makefile (tests): Run only when not cross-compiling and
15574 when fast-check is not defined.
15575
d94a4670
UD
15576 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15577 * conform/data/limits.h-data: Fixes for POSIX2008.
15578 * conform/run-conformtest.sh: Run all tests.
15579 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15580 headers.
15581 * include/bits/dlfcn.h: Likewise.
15582 * include/langinfo.h: Likewise.
15583 * include/monetary.h: Likewise.
15584 * include/sys/poll.h: Likewise.
15585
15586 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15587 for __USE_GNU.
15588 * posix/spawn.h: Define __need_sigset_t.
15589 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15590 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15591 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15592 to get sigevent_t only.
15593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15594 only for __USE_GNU.
15595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15597 process_vm_writev only for __USE_GNU.
15598 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15599
15600 * conform/Makefile: For now ignore errors from run-conformtest.
15601 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15602 POSIX to avoid namespace pollution. Don't prepend headers.
15603 * conform/data/aio.h-data: Fixes for POSIX testing.
15604 * conform/data/fcntl.h-data: Likewise.
15605 * conform/data/glob.h-data: Likewise.
15606 * conform/data/grp.h-data: Likewise.
15607 * conform/data/pthread.h-data: Likewise.
15608 * conform/data/pwd.h-data: Likewise.
15609 * conform/data/signal.h-data: Likewise.
15610 * conform/data/spawn.h-data: Likewise.
15611 * conform/data/stdio.h-data: Likewise.
15612 * conform/data/stdlib.h-data: Likewise.
15613 * conform/data/stropts.h-data: Likewise.
15614 * conform/data/sys/mman.h-data: Likewise.
15615 * conform/data/sys/stat.h-data: Likewise.
15616 * conform/data/sys/types.h-data: Likewise.
15617 * conform/data/sys/wait.h-data: Likewise.
15618 * conform/data/time.h-data: Likewise.
15619 * conform/data/unistd.h-data: Likewise.
15620 * conform/data/utime.h-data: Likewise.
15621
15622 * io/sys/stat.h: fchmod was always in POSIX.
15623 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15624 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15625 * rt/aio.h: Define __need_timespec before including <time.h>.
15626 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15627 struct. Add forward declaration of pthread_attr_t and use it in
15628 sigevent.
15629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15631 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15632 always remove CLK_TCK definition.
15633
c20105c3
AS
156342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15635
15636 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15637
7a270350
UD
156382012-02-25 Ulrich Drepper <drepper@gmail.com>
15639
31341567
UD
15640 * conform/run-conformtest.sh: New file.
15641 * conform/Makefile: Run run-conformtest for tests.
15642 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15643 support.
15644
15645 * conform/data/uchar.h-data: New file.
15646 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15647 * conform/data/arpa/inet.h-data: Likewise.
15648 * conform/data/assert.h-data: Likewise.
15649 * conform/data/complex.h-data: Likewise.
15650 * conform/data/cpio.h-data: Likewise.
15651 * conform/data/ctype.h-data: Likewise.
15652 * conform/data/dirent.h-data: Likewise.
15653 * conform/data/dlfcn.h-data: Likewise.
15654 * conform/data/errno.h-data: Likewise.
15655 * conform/data/fcntl.h-data: Likewise.
15656 * conform/data/float.h-data: Likewise.
15657 * conform/data/fmtmsg.h-data: Likewise.
15658 * conform/data/fnmatch.h-data: Likewise.
15659 * conform/data/ftw.h-data: Likewise.
15660 * conform/data/glob.h-data: Likewise.
15661 * conform/data/grp.h-data: Likewise.
15662 * conform/data/iconv.h-data: Likewise.
15663 * conform/data/inttypes.h-data: Likewise.
15664 * conform/data/langinfo.h-data: Likewise.
15665 * conform/data/libgen.h-data: Likewise.
15666 * conform/data/limits.h-data: Likewise.
15667 * conform/data/locale.h-data: Likewise.
15668 * conform/data/math.h-data: Likewise.
15669 * conform/data/monetary.h-data: Likewise.
15670 * conform/data/mqueue.h-data: Likewise.
15671 * conform/data/ndbm.h-data: Likewise.
15672 * conform/data/net/if.h-data: Likewise.
15673 * conform/data/netdb.h-data: Likewise.
15674 * conform/data/netinet/in.h-data: Likewise.
15675 * conform/data/nl_types.h-data: Likewise.
15676 * conform/data/poll.h-data: Likewise.
15677 * conform/data/pthread.h-data: Likewise.
15678 * conform/data/pwd.h-data: Likewise.
15679 * conform/data/regex.h-data: Likewise.
15680 * conform/data/sched.h-data: Likewise.
15681 * conform/data/search.h-data: Likewise.
15682 * conform/data/semaphore.h-data: Likewise.
15683 * conform/data/setjmp.h-data: Likewise.
15684 * conform/data/signal.h-data: Likewise.
15685 * conform/data/spawn.h-data: Likewise.
15686 * conform/data/stdarg.h-data: Likewise.
15687 * conform/data/stdio.h-data: Likewise.
15688 * conform/data/stdlib.h-data: Likewise.
15689 * conform/data/string.h-data: Likewise.
15690 * conform/data/strings.h-data: Likewise.
15691 * conform/data/stropts.h-data: Likewise.
15692 * conform/data/sys/ipc.h-data: Likewise.
15693 * conform/data/sys/mman.h-data: Likewise.
15694 * conform/data/sys/msg.h-data: Likewise.
15695 * conform/data/sys/resource.h-data: Likewise.
15696 * conform/data/sys/select.h-data: Likewise.
15697 * conform/data/sys/sem.h-data: Likewise.
15698 * conform/data/sys/shm.h-data: Likewise.
15699 * conform/data/sys/socket.h-data: Likewise.
15700 * conform/data/sys/stat.h-data: Likewise.
15701 * conform/data/sys/statvfs.h-data: Likewise.
15702 * conform/data/sys/time.h-data: Likewise.
15703 * conform/data/sys/timeb.h-data: Likewise.
15704 * conform/data/sys/times.h-data: Likewise.
15705 * conform/data/sys/types.h-data: Likewise.
15706 * conform/data/sys/uio.h-data: Likewise.
15707 * conform/data/sys/un.h-data: Likewise.
15708 * conform/data/sys/utsname.h-data: Likewise.
15709 * conform/data/sys/wait.h-data: Likewise.
15710 * conform/data/syslog.h-data: Likewise.
15711 * conform/data/tar.h-data: Likewise.
15712 * conform/data/termios.h-data: Likewise.
15713 * conform/data/utime.h-data: Likewise.
15714 * conform/data/utmpx.h-data: Likewise.
15715 * conform/data/varargs.h-data: Likewise.
15716 * conform/data/wchar.h-data: Likewise.
15717 * conform/data/wctype.h-data: Likewise.
15718 * conform/data/wordexp.h-data: Likewise.
15719
15720 * include/stropts.h: New file.
15721 * include/uchar.h: New file.
15722 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15723 * include/assert.h: Likewise.
15724 * include/ctype.h: Likewise.
15725 * include/dirent.h: Likewise.
15726 * include/dlfcn.h: Likewise.
15727 * include/fcntl.h: Likewise.
15728 * include/fnmatch.h: Likewise.
15729 * include/glob.h: Likewise.
15730 * include/grp.h: Likewise.
15731 * include/libio.h: Likewise.
15732 * include/locale.h: Likewise.
15733 * include/math.h: Likewise.
15734 * include/net/if.h: Likewise.
15735 * include/netdb.h: Likewise.
15736 * include/netinet/in.h: Likewise.
15737 * include/pthread.h: Likewise.
15738 * include/pwd.h: Likewise.
15739 * include/regex.h: Likewise.
15740 * include/sched.h: Likewise.
15741 * include/search.h: Likewise.
15742 * include/setjmp.h: Likewise.
15743 * include/signal.h: Likewise.
15744 * include/stdio.h: Likewise.
15745 * include/stdlib.h: Likewise.
15746 * include/string.h: Likewise.
15747 * include/sys/cdefs.h: Likewise.
15748 * include/sys/mman.h: Likewise.
15749 * include/sys/msg.h: Likewise.
15750 * include/sys/resource.h: Likewise.
15751 * include/sys/select.h: Likewise.
15752 * include/sys/socket.h: Likewise.
15753 * include/sys/stat.h: Likewise.
15754 * include/sys/statvfs.h: Likewise.
15755 * include/sys/time.h: Likewise.
15756 * include/sys/times.h: Likewise.
15757 * include/sys/uio.h: Likewise.
15758 * include/sys/utsname.h: Likewise.
15759 * include/sys/wait.h: Likewise.
15760 * include/termios.h: Likewise.
15761 * include/time.h: Likewise.
15762 * include/ulimit.h: Likewise.
15763 * include/unistd.h: Likewise.
15764 * include/utime.h: Likewise.
15765 * include/wchar.h: Likewise.
15766 * include/wctype.h: Likewise.
15767 * include/wordexp.h: Likewise.
15768
15769 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15770
7a270350
UD
15771 * time/time.h: TIME_UTC must be a macro.
15772 Make timespec_get available for ISO C11 only as well.
15773
7724defc
UD
157742012-02-24 Ulrich Drepper <drepper@gmail.com>
15775
15776 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15777 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15778
6b1d1d46
JM
157792012-02-24 Joseph Myers <joseph@codesourcery.com>
15780
15781 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15782
0f8bbd69
JM
157832012-02-24 Joseph Myers <joseph@codesourcery.com>
15784
15785 * manual/texinfo.tex: Update to version 2012-01-19.16.
15786
66ab80bc
JM
157872012-02-24 Joseph Myers <joseph@codesourcery.com>
15788
15789 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15790
74981cc5
RM
157912012-02-24 Roland McGrath <roland@hack.frob.com>
15792
ee968201
RM
15793 [BZ #13738]
15794 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15795 * manual/fdl-1.3.texi: New file.
15796 * manual/fdl-1.1.texi: File removed.
15797
74981cc5
RM
15798 [BZ #13738]
15799 * manual/libc.texinfo (FDL_VERSION): New @set.
15800 Use it for mention of FDL in cover text.
15801 (Documentation License): Use it in @include file name.
15802
7bb764bc
JM
158032012-02-22 Joseph Myers <joseph@codesourcery.com>
15804 Roland McGrath <roland@hack.frob.com>
15805
15806 [BZ #5461]
15807 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15808 not LONG_LONG_MAX and LONG_LONG_MIN.
15809 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15810 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15811 name.
15812 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15813
6cbeae47
JM
158142012-02-22 Joseph Myers <joseph@codesourcery.com>
15815
15816 [BZ #2547]
15817 [BZ #11365]
15818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15819 manipulate bits before adding and subtracting TWO23[sx].
15820 * math/libm-test.inc (nearbyint_test): Add more tests.
15821
fe45ce09
JM
158222012-02-22 Joseph Myers <joseph@codesourcery.com>
15823
15824 [BZ #2548]
15825 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15826 bits before adding and subtracting TWO23[sx].
15827 * math/libm-test.inc (rint_test): Add more tests.
15828 (rint_test_tonearest): Likewise.
15829 (rint_test_towardzero): Likewise.
15830 (rint_test_downward): Likewise.
15831 (rint_test_upward: Likewise.
15832
ff3b3d82
JM
158332012-02-22 Joseph Myers <joseph@codesourcery.com>
15834
15835 [BZ #10110]
15836 * include/stdc-predef.h: New file. Extracted from features.h.
15837 * include/features.h: Include stdc-predef.h.
15838 * Makefile (headers): Add stdc-predef.h.
15839 * CONFORMANCE (Compiler limitations): Update.
15840
ef0aab35
JM
158412012-02-22 Joseph Myers <joseph@codesourcery.com>
15842
15843 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15844
58639409
DM
158452012-02-21 David S. Miller <davem@davemloft.net>
15846
15847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15849
c0e70b25
DM
158502012-02-20 David S. Miller <davem@davemloft.net>
15851
15852 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15853 using a normal save/restore sequence, rather than allocating a
15854 dummy stack frame just to store a frame pointer and restore.
15855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15856
fb06851d
JM
158572012-02-21 Joseph Myers <joseph@codesourcery.com>
15858
15859 * manual/install.texi: Fix stray word in line-wrapped comment.
15860
7a8b71c3
DM
158612012-02-20 David S. Miller <davem@davemloft.net>
15862
d510c123
DM
15863 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15864 both binutils and gcc support GOTDATA.
15865
0722d7c2
DM
15866 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15867 "rd %pc" in the PIC register setup sequences.
15868
3d2b3019
DM
15869 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15870 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15872 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15878 (SYSCALL_ERROR_HANDLER): Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15882 (SYSCALL_ERROR_HANDLER): Likewise.
15883
c80098a9
DM
15884 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15885 (HAVE_GCC_GOTDATA): New.
15886 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15887 relocation support in both binutils and gcc.
15888 * sysdeps/sparc/elf/configure: Regenerate.
15889
3a2545a0
DM
15890 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15891 * sysdeps/sparc/sparc32/elf/configure: Delete.
15892 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15893 * sysdeps/sparc/sparc64/elf/configure: Delete.
15894 * sysdeps/sparc/elf/configure.in: New file.
15895 * sysdeps/sparc/elf/configure: Generate.
15896
7a8b71c3
DM
15897 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15898 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15899 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15900 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15901 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15902
f1e86fca
JM
159032012-02-21 Joseph Myers <joseph@codesourcery.com>
15904
15905 * manual/install.texi: Do not mention specific glibc version
15906 numbers.
15907 * manual/libc.texinfo (VERSION, UPDATED): Update.
15908 (@copying): Use @copyright{} and range of years.
15909
0e7dfaef
JM
159102012-02-21 Joseph Myers <joseph@codesourcery.com>
15911
15912 [BZ #13695]
15913 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15914 [crti.S not in sysdirs] (generated): Do not append.
15915 [crti.S not in sysdirs] (omit-deps): Likewise.
15916 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15917 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15918 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15919 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15920 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15921 Likewise.
15922 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15923 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15924 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15925 * csu/defs.awk: Remove file.
15926 * sysdeps/generic/initfini.c: Likewise.
15927 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15928 variable.
15929 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15930 Likewise.
15931
599af3ca
JM
159322012-02-20 Joseph Myers <joseph@codesourcery.com>
15933
15934 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15939 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15940 <bits/epoll.h>.
15941 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15942 (__EPOLL_PACKED): Define to empty if not defined by
15943 <bits/epoll.h>.
15944 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15946 bits/epoll.h.
15947
0e499750
JM
159482012-02-20 Joseph Myers <joseph@codesourcery.com>
15949
15950 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15951 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15954 <bits/timerfd.h>.
15955 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15957 bits/timerfd.h.
15958
5ad91f6e
JM
159592012-02-20 Joseph Myers <joseph@codesourcery.com>
15960
15961 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15962 in C locale.
15963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
06b99b02
AJ
159682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15969
15970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15972
7638c0fd
AS
159732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15974
15975 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15976 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15977 defined.
15978 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15979 Likewise.
15980 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15981 entry for 2.16.
15982
92221550
AJ
159832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15984
15985 * math/w_acos.c: Use non-signaling floating-point comparisons.
15986 * math/w_acosf.c: Likewise.
15987 * math/w_acosh.c: Likewise.
15988 * math/w_acoshf.c: Likewise.
15989 * math/w_acoshl.c: Likewise.
15990 * math/w_acosl.c: Likewise.
15991 * math/w_asin.c: Likewise.
15992 * math/w_asinf.c: Likewise.
15993 * math/w_asinl.c: Likewise.
15994 * math/w_atanh.c: Likewise.
15995 * math/w_atanhf.c: Likewise.
15996 * math/w_atanhl.c: Likewise.
15997 * math/w_exp2.c: Likewise.
15998 * math/w_exp2f.c: Likewise.
15999 * math/w_exp2l.c: Likewise.
16000 * math/w_j0.c: Likewise.
16001 * math/w_j0f.c: Likewise.
16002 * math/w_j0l.c: Likewise.
16003 * math/w_j1.c: Likewise.
16004 * math/w_j1f.c: Likewise.
16005 * math/w_j1l.c: Likewise.
16006 * math/w_jn.c: Likewise.
16007 * math/w_jnf.c: Likewise.
16008 * math/w_log.c: Likewise.
16009 * math/w_log10.c: Likewise.
16010 * math/w_log10f.c: Likewise.
16011 * math/w_log10l.c: Likewise.
16012 * math/w_log2.c: Likewise.
16013 * math/w_log2f.c: Likewise.
16014 * math/w_log2l.c: Likewise.
16015 * math/w_logf.c: Likewise.
16016 * math/w_logl.c: Likewise.
16017 * math/w_sqrt.c: Likewise.
16018 * math/w_sqrtf.c: Likewise.
16019 * math/w_sqrtl.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16025
ebaf36eb
JM
160262012-02-19 Joseph Myers <joseph@codesourcery.com>
16027
16028 [BZ #9739]
16029 * manual/string.texi (strnlen): Use correct parameter name in
16030 equivalent expression.
16031
71c254a6
JM
160322012-02-19 Joseph Myers <joseph@codesourcery.com>
16033
16034 [BZ #11174]
16035 * manual/users.texi (seteuid): Consistently use neweuid for
16036 argument name.
16037
16d2c631
JM
160382012-02-19 Joseph Myers <joseph@codesourcery.com>
16039
16040 [BZ #13704]
16041 * manual/nss.texi (Services in the NSS configuration): Correct
16042 list of services in example configuration file.
16043
cd837b09
NB
160442012-02-19 Nick Bowler <nbowler@draconx.ca>
16045
16046 [BZ #11322]
16047 * manual/arith.texi: Remove statements about negative zero
16048 behaving identically to zero.
16049
02c4bbad
JM
160502012-02-18 Joseph Myers <joseph@codesourcery.com>
16051
16052 [BZ #5993]
16053 * manual/install.texi: Do not document upgrading from libc5.
16054
366842e7
JM
160552012-02-18 Joseph Myers <joseph@codesourcery.com>
16056
16057 [BZ #4596]
16058 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16059
dd54084d
DM
160602012-02-18 David S. Miller <davem@davemloft.net>
16061
16062 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16063 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16064 %o7 across the call.
16065 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16066 instead.
16067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16068 SETUP_PIC_REG_LEAF.
16069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16070 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16071 * sysdeps/sparc/crtn.S: Likewise.
16072
2bcc53a3
UD
160732012-02-17 Ulrich Drepper <drepper@gmail.com>
16074
16075 * aout/Makefile: Remove.
16076
09c093b5
RK
160772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16078
16079 [BZ #13058]
16080 * manual/examples/argp-ex1.c (main): Format definition in GNU
16081 style.
16082 * manual/examples/argp-ex2.c (main): Likewise.
16083 * manual/examples/argp-ex3.c (main): Likewise.
16084 * manual/examples/argp-ex4.c (main): Likewise.
16085 * manual/examples/longopt.c (main): Use new-style prototype
16086 definition.
16087 * manual/examples/strncat.c (main): Specify return type and use
16088 (void) for arguments.
16089 * manual/examples/subopt.c (main): Use char **argv argument.
16090
2ee633a2
JM
160912012-02-17 Joseph Myers <joseph@codesourcery.com>
16092
16093 [BZ #5077]
16094 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16095 rounding modes.
16096
0520adde
FB
160972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16098
16099 [BZ #6907]
16100 * manual/string.texi (strchr): Change when strchrnul is
16101 recommended.
16102
3f4081cd
DGM
161032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16104
16105 [BZ #174]
16106 * manual/locale.texi (setlocale): Document LOCPATH.
16107
d1b10e78
JM
161082012-02-17 Joseph Myers <joseph@codesourcery.com>
16109
16110 [BZ #10210]
16111 * manual/process.texi (execle): Move @dots{} before last argument.
16112
79c6869c
PB
161132012-02-17 Paul Bolle <pebolle@tiscali.nl>
16114
16115 [BZ #12047]
16116 * manual/charset.texi (Generic Charset Conversion): Fix typo
16117 (LC_TYPE -> LC_CTYPE).
16118
cc6e48bc
NB
161192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16120
16121 [BZ #5805]
16122 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16123 (scalbnf): Likewise.
16124 (scalbnl): Likewise.
16125 (scalbln): Likewise.
16126 (scalblnf): Likewise.
16127 (scalblnl): Likewise.
16128 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16129 (vwarnx): Likewise.
16130 (verr): Likewise.
16131 (verrx): Likewise.
16132 * manual/filesys.texi (telldir): Use braces around return type.
16133 * manual/llio.texi (mmap): Add space after comma.
16134 (mmap64): Likewise.
16135 * manual/math.texi (jn): Use @var{} on parameter names.
16136 (jnf): Likewise.
16137 (jnl): Likewise.
16138 (yn): Likewise.
16139 (ynf): Likewise.
16140 (ynl): Likewise.
16141 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16142 line.
16143 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16144 "...".
16145 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16146 (sched_get_priority_max): Likewise.
16147 * manual/signal.texi (sigvec): Add space after comma.
16148 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16149 names.
16150 (if_indextoname): Likewise.
16151 (if_freenameindex): Likewise.
16152 (sendto): Use ',' instead of '.' in prototype.
16153 * manual/startup.texi (syscall): Use @dots{} instead of literal
16154 "...".
16155 * manual/stdio.texi (__fpending): Separate initial words of
16156 paragraph from @deftypefun line.
16157 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16158 "...".
16159 (vsyslog): Use @var{} on parameter names.
16160 * manual/terminal.texi (stty): Use @var{} on parameter names.
16161 * manual/users.texi (getutmp): Use @var{} on parameter names.
16162 (getutmpx): Likewise.
16163
5b23062f
JM
161642012-02-17 Joseph Myers <joseph@codesourcery.com>
16165
16166 [BZ #6884]
16167 * manual/stdio.texi (fopen): Fix typos in description of
16168 ",ccs=STRING".
16169
8dee4833
AJ
161702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16171
16172 [BZ #4026]
16173 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16174 get clock_id definition.
16175
9078ce93
TS
161762012-02-17 Thomas Schwinge <thomas@schwinge.name>
16177
16178 [BZ #4822]
16179 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16180 (madvise): Cast every argument to void on its own.
16181
3835c55f
JM
161822012-02-17 Joseph Myers <joseph@codesourcery.com>
16183
16184 [BZ #9902]
16185 * manual/startup.texi (Exit Status): Fix typo.
16186
35c47e37
JM
161872012-02-17 Joseph Myers <joseph@codesourcery.com>
16188
16189 [BZ #10140]
16190 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16191 * manual/examples/argp-ex2.c: Likewise.
16192 * manual/examples/argp-ex3.c: Likewise.
16193
e3b69ca7
RH
161942012-02-16 Richard Henderson <rth@redhat.com>
16195
16196 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16197 * sysdeps/s390/s390-32/initfini.c: Remove.
16198 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16199 * sysdeps/s390/s390-64/initfini.c: Remove.
16200
df83af67
KK
162012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16202
16203 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16204 compiler output for sysdeps/generic/initfini.c.
16205 * sysdeps/sh/elf/initfini.c: Remove file.
16206
f63f3380
DM
162072012-02-16 David S. Miller <davem@davemloft.net>
16208
fb59b3a4
DM
16209 [BZ #11494]
16210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16211
f63f3380
DM
16212 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16213 * sysdeps/sparc/crti.S: New file.
16214 * sysdeps/sparc/crtn.S: New file.
16215 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16216 * sysdeps/sparc/sparc64/Makefile: Likewise.
16217
df6a4a4a
MF
162182012-02-15 Mike Frysinger <vapier@gentoo.org>
16219
6dd8f3dc 16220 [BZ #3335]
df6a4a4a
MF
16221 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16222
1cac7236
RM
162232012-02-15 Roland McGrath <roland@hack.frob.com>
16224
d2c736f8
RM
16225 [BZ #4822]
16226 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16227
1cac7236
RM
16228 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16229 (write, read, close): Likewise.
16230 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16231
8e475601
JM
162322012-02-15 Joseph Myers <joseph@codesourcery.com>
16233
16234 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16235 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16236 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16237 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16238 <bits/signalfd.h>.
16239 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16241 bits/signalfd.h.
16242
ed656b40
MP
162432012-02-14 Marek Polacek <polacek@redhat.com>
16244
16245 * sysdeps/x86_64/crti.S: New file.
16246 * sysdeps/x86_64/crtn.S: New file.
16247 * sysdeps/x86_64/elf/initfini.c: Remove file.
16248
2a979d3a
JM
162492012-02-13 Joseph Myers <joseph@codesourcery.com>
16250
16251 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16252 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16254 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16255 <bits/inotify.h>.
16256 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16258 bits/inotify.h.
16259
2a418ac3
JM
162602012-02-13 Joseph Myers <joseph@codesourcery.com>
16261
16262 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16264 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16265 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16266 <bits/eventfd.h>.
16267 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16269 bits/eventfd.h.
16270
fb779be7
TS
162712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16272
e19e83c5
RM
16273 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16274 __feraiseexcept instead of feraiseexcept.
7c35ffed 16275
fb779be7
TS
16276 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16277 nanosleep invocations.
16278 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16279 strings, and add error checking for a nanosleep invocations.
16280
59ba27a6
PE
162812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16282
16283 Replace FSF snail mail address with URLs, as per GNU coding standards.
16284 Most of the snail mail addresses were wrong anyway, and omitting
16285 them makes the source code easier to maintain. Almost all of the
16286 changes are to license notices and to locale LC_IDENTIFICATION
16287 addresses, except for this one:
16288 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16289 not its snail mail address.
16290
57b957eb
RH
162912012-02-09 Richard Henderson <rth@twiddle.net>
16292
af850b1c
RH
16293 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16294 of kernel-features.h.
16295
57b957eb
RH
16296 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16297
6b73181a
MP
162982012-02-08 Marek Polacek <polacek@redhat.com>
16299
16300 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16301 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16302 * sysdeps/gnu/_G_config.h: Likewise.
16303 * sysdeps/generic/_G_config.h: Likewise.
16304
26ecc33a
AS
163052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16306
6c6dbc63
AS
16307 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16308 tests.
16309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16310
e216c012
AS
16311 * sysdeps/powerpc/powerpc32/crti.S: New file.
16312 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16313 * sysdeps/powerpc/powerpc64/crti.S: New file.
16314 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16315
26ecc33a
AS
16316 * Makeconfig (have-initfini): Don't set.
16317 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16318 * configure.in (nopic_initfini): Don't substitute.
16319 * config.h.in (HAVE_INITFINI): Don't #undef.
16320 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16321 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16322
3add8e13
JM
163232012-02-08 Joseph Myers <joseph@codesourcery.com>
16324
16325 Support crti.S and crtn.S provided directly by architectures.
16326 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16327 [crti.S in sysdirs] (omit-deps): Likewise.
16328 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16329 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16330 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16331 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16332 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16333 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16334 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16335 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16336 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16337 compiler output for sysdeps/generic/initfini.c.
16338 * sysdeps/i386/elf/Makefile: Remove file.
16339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16340
a22f12b4
MP
163412012-02-07 Marek Polacek <polacek@redhat.com>
16342
16343 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16344 * sysdeps/gnu/_G_config.h: Likewise.
16345 * sysdeps/mach/hurd/_G_config.h: Likewise.
16346
148cf100
MP
163472012-02-07 Marek Polacek <polacek@redhat.com>
16348
16349 * math/Makefile (tests): Add tst-CMPLX2.
16350 * math/tst-CMPLX2.c: New file.
16351
cfdc0dd7
AS
163522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16353
84ba42c4
AS
16354 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16355
cfdc0dd7
AS
16356 * math/libm-test.inc (jn_test): Add missing L suffix.
16357
622c86f4
MP
163582012-02-06 Marek Polacek <polacek@redhat.com>
16359
16360 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16361 * sysdeps/i386/fpu/e_powf.S: Likewise.
16362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16365 * sysdeps/i386/fpu/e_pow.S: Likewise.
16366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16370 * sysdeps/i386/fpu/e_log2.S: Likewise.
16371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16373 * sysdeps/i386/fpu/e_powl.S: Likewise.
16374 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16376 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16377 * sysdeps/i386/fpu/e_logl.S: Likewise.
16378 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16379 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16380 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16381 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16384 * sysdeps/i386/fpu/e_log.S: Likewise.
16385 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16387 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16388 * sysdeps/i386/fpu/e_logf.S: Likewise.
16389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16391 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16394 * sysdeps/i386/fpu/e_log10.S: Likewise.
16395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16401 * sysdeps/i386/asm-syntax.h: Likewise.
16402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16405 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16406 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16407 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16408 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16409 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16411 * sysdeps/powerpc/sysdep.h: Likewise.
16412 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16414
d4a54ac6
JM
164152012-02-06 Joseph Myers <joseph@codesourcery.com>
16416
16417 [BZ #411]
16418 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16419
314054ea
JM
164202012-02-06 Joseph Myers <joseph@codesourcery.com>
16421
16422 * sysdeps/i386/sysdep.h: Include <features.h>.
16423 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16424 version.
16425
d8e0ca50
JM
164262012-02-05 Joseph Myers <joseph@codesourcery.com>
16427
16428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16429 Define.
16430 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16431 LOAD_PIC_REG_STR.
16432
b1da7dd9
JM
164332012-02-03 Joseph Myers <joseph@codesourcery.com>
16434
16435 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16436 (SETUP_PIC_REG): Use GET_PC_THUNK.
16437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16438 macro.
16439
9a1d9254
JM
164402012-02-03 Joseph Myers <joseph@codesourcery.com>
16441
16442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16443 for non-PIC compilation.
16444 (SETUP_PIC_REG): Add .p2align directive.
16445 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16446 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16450 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16486
65dc3b75
JM
164872012-02-03 Joseph Myers <joseph@codesourcery.com>
16488
16489 * math/tst-CMPLX.c: Include <stdio.h>.
16490
d55bf177
JM
164912012-01-31 Joseph Myers <joseph@codesourcery.com>
16492
16493 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16494 float.
16495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16496 * sysdeps/sparc/bits/mathdef.h: Likewise.
16497
69db4f8f
MP
164982012-01-31 Marek Polacek <polacek@redhat.com>
16499
16500 * libio/libio.h: Don't define _PARAMS.
16501 * locale/programs/config.h: Don't define PARAMS.
16502 * stdlib/strtol_l.c: Likewise.
16503 (__strtol_l): Remove PARAMS from the prototype.
16504
41b81892
UD
165052012-01-31 Ulrich Drepper <drepper@gmail.com>
16506
3b49edc0
UD
16507 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16508 names. Just use the correct names. Remove unnecessary wrapper
16509 functions.
16510 * malloc/arena.c: Likewise.
16511 * malloc/hooks.c: Likewise.
16512
41b81892
UD
16513 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16514 ARENA_TEST says not to. Simplify test for creation of a new arena.
16515 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16516
27a25b6e
UD
165172012-01-30 Ulrich Drepper <drepper@gmail.com>
16518
16519 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16520 into tail calls.
16521 (update_get_addr): New function.
16522 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16523 GET_ADDR_MODULE parameter.
16524
c8a89e7d
JM
165252012-01-30 Joseph Myers <joseph@codesourcery.com>
16526
16527 * crypt/cert.c: Remove __STDC__ conditionals.
16528 * crypt/crypt-entry.c: Likewise.
16529 * crypt/crypt_util.c: Likewise.
16530 * libio/filedoalloc.c: Likewise.
16531 * libio/fileops.c: Likewise.
16532 * libio/genops.c: Likewise.
16533 * libio/iofclose.c: Likewise.
16534 * libio/iofdopen.c: Likewise.
16535 * libio/iofopen.c: Likewise.
16536 * libio/iofopen64.c: Likewise.
16537 * libio/iogetdelim.c: Likewise.
16538 * libio/iopopen.c: Likewise.
16539 * libio/obprintf.c: Likewise.
16540 * libio/oldfileops.c: Likewise.
16541 * libio/oldiofclose.c: Likewise.
16542 * libio/oldiofdopen.c: Likewise.
16543 * libio/oldiofopen.c: Likewise.
16544 * libio/oldiopopen.c: Likewise.
16545 * libio/wfiledoalloc.c: Likewise.
16546 * libio/wgenops.c: Likewise.
16547 * locale/programs/xmalloc.c: Likewise.
16548 * misc/syslog.c: Likewise.
16549 * stdio-common/xbug.c: Likewise.
16550 * string/memchr.c: Likewise.
16551 * string/memcmp.c: Likewise.
16552 * string/memrchr.c: Likewise.
16553 * string/rawmemchr.c: Likewise.
16554 * sysdeps/posix/getcwd.c: Likewise.
16555 * time/strftime_l.c: Likewise.
16556
3b100462
JM
165572012-01-30 Joseph Myers <joseph@codesourcery.com>
16558
16559 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16560 * config.make.in (config-cflags-sse2avx): Define.
16561 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16562 Fix typo.
16563
607998af
CM
165642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16565
16566 * scripts/config.guess: Update from upstream config git repository.
16567 * scripts/config.sub: Likewise.
16568
3601428f
CM
165692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16570
3ac8b282
CM
16571 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16572 (EM_NUM): Update.
16573 (R_TILEPRO_*, R_TILEGX_*): New macros.
16574
e034841e
CM
16575 * scripts/firstversions.awk: Fix bug in version range handling.
16576
540d7568
CM
16577 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16578
3601428f
CM
16579 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16580
463de862
CM
16581 * include/sys/epoll.h: New file.
16582 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16583 libc_hidden_def.
16584
73139a76
UD
165852012-01-28 Ulrich Drepper <drepper@gmail.com>
16586
96bc5b45
UD
16587 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16588 Avoid unnecessary __WORDSIZE == 64 test.
16589 (fmaxf): Use VEX format if possible.
16590 (fmax): Likewise.
16591 (fminf): Likewise.
16592 (fmin): Likewise.
16593
56f6f6a2
UD
16594 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16595 * math/math_private.h: Remove libc_fegetround* and
16596 libc_fesetround*.
16597 * sysdeps/i386/configure.in: Check for -msse2avx.
16598 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16599 also if SSE2AVX is defined.
16600 Remove libc_fegetround* and libc_fesetround*.
16601 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16602 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16604 of HAS_YMM_USABLE.
16605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16610
73139a76
UD
16611 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16612
d73f93a4
AZ
166132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16614
16615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16616 size is not set.
16617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16618
6ee65ed6
UD
166192012-01-27 Ulrich Drepper <drepper@gmail.com>
16620
16621 [BZ #13618]
16622 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16623 relocation.
16624 * Makeconfig (libm): Define.
16625 * elf/Makefile: Add rules to build and run tst-relsort1.
16626 * elf/tst-relsort1.c: New file.
16627 * elf/tst-relsort1mod1.c: New file.
16628 * elf/tst-relsort1mod2.c: New file.
16629
8db21882
JM
166302012-01-27 Joseph Myers <joseph@codesourcery.com>
16631
16632 * math/s_ldexp.c: Remove __STDC__ conditionals.
16633 * math/s_ldexpf.c: Likewise.
16634 * math/s_ldexpl.c: Likewise.
16635 * math/s_nextafter.c: Likewise.
16636 * math/s_nexttowardf.c: Likewise.
16637 * math/s_significand.c: Likewise.
16638 * math/s_significandf.c: Likewise.
16639 * math/s_significandl.c: Likewise.
16640 * math/w_jnl.c: Likewise.
16641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16671 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16681 * sysdeps/ieee754/k_standard.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16761 * sysdeps/ieee754/s_matherr.c: Likewise.
16762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16766
965a54a4
JM
167672012-01-26 Joseph Myers <joseph@codesourcery.com>
16768
16769 * crypt/md5.h: Remove __STDC__ conditionals.
16770 * libio/libioP.h: Likewise.
16771 * locale/programs/config.h: Likewise.
16772 * sysdeps/generic/sysdep.h: Likewise.
16773 * sysdeps/i386/asm-syntax.h: Likewise.
16774 * sysdeps/s390/asm-syntax.h: Likewise.
16775 * sysdeps/unix/sysdep.h: Likewise.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16778
7071ad79
JM
167792012-01-26 Joseph Myers <joseph@codesourcery.com>
16780
16781 * libio/libio.h: Remove __STDC__ conditionals.
16782 * malloc/obstack.h: Likewise.
16783 * math/complex.h: Likewise.
16784 * math/math.h: Likewise.
16785 * sysdeps/generic/_G_config.h: Likewise.
16786 * sysdeps/gnu/_G_config.h: Likewise.
16787 * sysdeps/mach/hurd/_G_config.h: Likewise.
16788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16789 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16790 * sysdeps/sparc/bits/mathdef.h: Likewise.
16791
afc5ed09
UD
167922012-01-26 Ulrich Drepper <drepper@gmail.com>
16793
16794 [BZ #13583]
16795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16796 Clean up HAS_* macros.
afc5ed09 16797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16798 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16799 possible.
16800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16801 HAS_AVX.
16802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16807
bdb6de1d
JM
168082012-01-25 Joseph Myers <joseph@codesourcery.com>
16809
16810 * elf/tst-unique3.cc (gets): Remove declaration.
16811 * elf/tst-unique3lib.cc (gets): Likewise.
16812 * elf/tst-unique3lib2.cc (gets): Likewise.
16813 * elf/tst-unique4.cc (gets): Likewise.
16814
b15549e6
UD
168152012-01-24 Ulrich Drepper <drepper@gmail.com>
16816
16817 * include/stdio.h: Add C++ protection. Add gets declarations and
16818 definitions.
16819 * debug/tst-chk1.c: Don't declare gets here.
16820 * stdio-common/tst-gets.c: Likewise.
16821
a037381f
JM
168222012-01-24 Joseph Myers <joseph@codesourcery.com>
16823
16824 * posix/glob: Remove directory.
16825
f1d4aa75
JM
168262012-01-24 Joseph Myers <joseph@codesourcery.com>
16827
16828 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16829
81c0c964
PT
168302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16831
16832 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16833 of the non-standard EPFNOSUPPORT.
16834
0ea698ae
ST
168352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16836
16837 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16838 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16839 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16840
d220b117
UD
168412012-01-21 Ulrich Drepper <drepper@gmail.com>
16842
16843 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16844
3e1aa84e
UD
168452012-01-20 Ulrich Drepper <drepper@gmail.com>
16846
16847 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16848 transient errors.
16849 * nscd/grpcache.c (cache_addgr): Likewise.
16850 * nscd/hstcache.c (cache_addhst): Likewise.
16851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16852 * nscd/pwdcache.c (cache_addpw): Likewise.
16853 * nscd/servicescache.c (cache_addserv): Likewise.
16854
400aa020
UD
168552012-01-16 Ulrich Drepper <drepper@gmail.com>
16856
d77e7869
UD
16857 * malloc/malloc.c: Various cleanups.
16858 * malloc/hooks.c: Likewise.
16859
400aa020
UD
16860 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16861 * stdlib/bug-fmtmsg1.c: New file.
16862
16863 * stdlib/fmtmsg.c (init): Add missing unlock.
16864 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16865
e0a309cf
MP
168662012-01-12 Marek Polacek <polacek@redhat.com>
16867
16868 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16869 and _GNU_SOURCE.
16870
929d11c7
WS
168712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16872
16873 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16875 macro to ensure uniqueness of label name.
16876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16878
41d0e869
UD
168792012-01-11 Ulrich Drepper <drepper@gmail.com>
16880
0cc5ed3b
UD
16881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16882
41d0e869
UD
16883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16887
a47a831a
UD
168882012-01-10 Ulrich Drepper <drepper@gmail.com>
16889
daa891c0
UD
16890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16891
16892 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16895
e58ef0f2
UD
16896 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16897
a47a831a 16898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16902
16903 * math/bits/math-finite.h: Add ldexp support.
16904
a0bfc9c7
MP
169052012-01-10 Marek Polacek <polacek@redhat.com>
16906
16907 * locale/programs/localedef.h (show_archive_content): Add noreturn
16908 attribute.
16909
d6e97a1d
UD
169102012-01-09 Ulrich Drepper <drepper@gmail.com>
16911
16912 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16913
d5835c26
UD
169142012-01-08 Ulrich Drepper <drepper@gmail.com>
16915
e5f484c6
UD
16916 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16917
d5835c26
UD
16918 * io/Makefile (headers): Add bits/poll2.h.
16919
d1f741e9
WS
169202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16921
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16923 typo #include statement.
16924
ec09c1c4
UD
169252012-01-08 Ulrich Drepper <drepper@gmail.com>
16926
16927 * include/sys/cdefs.h: Define __attribute_alloc_size.
16928 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16929 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16930 * elf/pldd.c: Likewise.
16931 * iconv/iconv_charmap.c: Likewise.
16932 * iconv/iconvconfig.c: Likewise.
16933 * iconv/strtab.c: Likewise.
16934 * locale/programs/locale.c: Likewise.
16935 * locale/programs/localedef.h: Likewise.
16936 * locale/programs/simple-hash.c: Likewise.
16937 * nscd/nscd.h: Likewise.
16938 * nss/makedb.c: Likewise.
16939 * sysdeps/generic/ldconfig.h: Likewise.
16940 * locale/programs/localedef.c: Remove xmalloc prototype.
16941 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16942
20b38e03
PP
169432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16944
16945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16946 appropriate.
16947
a0da5fe1
UD
169482012-01-08 Ulrich Drepper <drepper@gmail.com>
16949
1d5a644a 16950 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16951 * math/tst-CMPLX.c: New file.
1d5a644a 16952
8784a6db
UD
16953 * math/complex.h (CMPLXL): Fix typo.
16954
d9a216c0
UD
16955 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16956 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16957 GLIBC_2.16.
16958 * debug/tst-chk1.c: Add poll and ppoll tests.
16959 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16960 * include/sys/poll.h: Add hidden proto for ppoll.
16961 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16962 * sysdeps/mach/hurd/ppoll.c: Likewise.
16963 * io/ppoll.c: Likewise.
16964 * debug/poll_chk.c: New file.
16965 * debug/ppoll_chk.c: New file.
16966 * include/bits/poll2.h: New file.
16967 * io/bits/poll2.h: New file.
16968
ac097f5c
UD
16969 [BZ #1350]
16970 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16971
2119dcfa
UD
16972 * configure.in: static is always set to yes. Remove.
16973 * config.make.in: Don't set build-static.
16974 * Makeconfig: Remove use of build-static.
16975 * dlfcn/Makefile: Likewise.
16976 * elf/Makefile: Likewise.
16977 * math/Makefile: Likewise.
16978 * misc/Makefile: Likewise.
16979 * nptl/Makefile: Likewise.
16980 * sysdeps/mach/hurd/Makefile: Likewise.
16981
121766a9
UD
16982 * configure.in: PWD_P is not used anymore.
16983 * config.make.in: Remove PWD_P entry.
16984
51a1d39c 16985 * configure.in: Remove last remnants of RANLIB.
8720d066 16986 No need to check for signed size_t anymore.
215f4bdc
UD
16987 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16988 and IA-64.
3857022a 16989 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16990 * aclocal.m4: Likewise.
16991
d3ed7225
UD
16992 * wcsmbs/mbrtoc16.c: Implement using towc function.
16993 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16994 * wcsmbs/wcsmbsload.c: Likewise.
16995 * iconv/gconv_simple.c: Likewise.
16996 * iconv/gconv_int.h: Likewise.
16997 * iconv/gconv_builtin.h: Likewise.
16998 * iconv/iconv_prog.c: Remove CHAR16 handling.
16999
17000 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17001
17002 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17003
a0da5fe1
UD
17004 * configure.in: Remove --with-elf and --enable-bounded options.
17005 Dont set base_machine for ia64. More non-ELF conditions removed.
17006 Remove testing and setting of leading underscore information.
17007 * config.make.in (build-bounded): Set to no.
17008 * config.h.in: Remove NO_UNDERSCORES entry.
17009 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17010 them.
17011 * csu/start.c: Remove !NO_UNDERSCORE code.
17012 * locale/localeinfo.h: Likewise.
17013 * sysdeps/generic/machine-gmon.h: Likewise.
17014 * sysdeps/generic/sysdep.h: Likewise.
17015 * sysdeps/i386/sysdep.h: Likewise.
17016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17017 * sysdeps/mach/sysdep.h: Likewise.
17018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17020 * sysdeps/sh/sysdep.h: Likewise.
17021 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17022 * sysdeps/unix/i386/sysdep.S: Likewise.
17023 * sysdeps/unix/sparc/start.c: Likewise.
17024 * sysdeps/unix/sparc/sysdep.S: Likewise.
17025 * sysdeps/unix/sparc/sysdep.h: Likewise.
17026 * sysdeps/unix/start.c: Likewise.
17027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17028 * sysdeps/x86_64/sysdep.h: Likewise.
17029
df78418a
UD
170302012-01-07 Ulrich Drepper <drepper@gmail.com>
17031
a784e502
UD
17032 [BZ #13553]
17033 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17034 for non-gcc.
17035 * argp/argp-fmtstream.h: Use const instead __const.
17036 * argp/argp.h: Likewise.
17037 * assert/assert.h: Likewise.
17038 * bits/fenv.h: Likewise.
17039 * bits/sched.h: Likewise.
17040 * bits/sigset.h: Likewise.
17041 * bits/sigthread.h: Likewise.
17042 * catgets/nl_types.h: Likewise.
17043 * conform/data/pthread.h-data: Likewise.
17044 * crypt/crypt-private.h: Likewise.
17045 * crypt/crypt.h: Likewise.
17046 * crypt/crypt_util.c: Likewise.
17047 * ctype/ctype.h: Likewise.
17048 * debug/execinfo.h: Likewise.
17049 * debug/mbsnrtowcs_chk.c: Likewise.
17050 * debug/mbsrtowcs_chk.c: Likewise.
17051 * debug/wcsnrtombs_chk.c: Likewise.
17052 * debug/wcsrtombs_chk.c: Likewise.
17053 * debug/wcstombs_chk.c: Likewise.
17054 * dirent/dirent.h: Likewise.
17055 * dlfcn/dlfcn.h: Likewise.
17056 * elf/neededtest4.c: Likewise.
17057 * grp/grp.h: Likewise.
17058 * gshadow/gshadow.h: Likewise.
17059 * iconv/gconv.h: Likewise.
17060 * iconv/gconv_int.h: Likewise.
17061 * iconv/gconv_simple.c: Likewise.
17062 * iconv/iconv.h: Likewise.
17063 * iconv/loop.c: Likewise.
17064 * iconv/skeleton.c: Likewise.
17065 * include/aio.h: Likewise.
17066 * include/aliases.h: Likewise.
17067 * include/argz.h: Likewise.
17068 * include/arpa/inet.h: Likewise.
17069 * include/assert.h: Likewise.
17070 * include/dirent.h: Likewise.
17071 * include/dlfcn.h: Likewise.
17072 * include/execinfo.h: Likewise.
17073 * include/fcntl.h: Likewise.
17074 * include/fenv.h: Likewise.
17075 * include/glob.h: Likewise.
17076 * include/grp.h: Likewise.
17077 * include/libintl.h: Likewise.
17078 * include/mntent.h: Likewise.
17079 * include/netdb.h: Likewise.
17080 * include/pwd.h: Likewise.
17081 * include/rpc/netdb.h: Likewise.
17082 * include/sched.h: Likewise.
17083 * include/search.h: Likewise.
17084 * include/shadow.h: Likewise.
17085 * include/signal.h: Likewise.
17086 * include/stdio.h: Likewise.
17087 * include/stdlib.h: Likewise.
17088 * include/string.h: Likewise.
17089 * include/sys/socket.h: Likewise.
17090 * include/sys/stat.h: Likewise.
17091 * include/sys/statfs.h: Likewise.
17092 * include/sys/statvfs.h: Likewise.
17093 * include/sys/syslog.h: Likewise.
17094 * include/sys/time.h: Likewise.
17095 * include/sys/uio.h: Likewise.
17096 * include/time.h: Likewise.
17097 * include/unistd.h: Likewise.
17098 * include/utmp.h: Likewise.
17099 * include/wchar.h: Likewise.
17100 * include/wctype.h: Likewise.
17101 * inet/aliases.h: Likewise.
17102 * inet/arpa/inet.h: Likewise.
17103 * inet/netinet/ether.h: Likewise.
17104 * inet/netinet/in.h: Likewise.
17105 * intl/libintl.h: Likewise.
17106 * io/bits/fcntl2.h: Likewise.
17107 * io/fcntl.h: Likewise.
17108 * io/ftw.h: Likewise.
17109 * io/sys/poll.h: Likewise.
17110 * io/sys/stat.h: Likewise.
17111 * io/sys/statfs.h: Likewise.
17112 * io/sys/statvfs.h: Likewise.
17113 * io/utime.h: Likewise.
17114 * libio/bits/stdio.h: Likewise.
17115 * libio/bits/stdio2.h: Likewise.
17116 * libio/libio.h: Likewise.
17117 * libio/libioP.h: Likewise.
17118 * libio/stdio.h: Likewise.
17119 * locale/lc-ctype.c: Likewise.
17120 * locale/locale.h: Likewise.
17121 * login/utmp.h: Likewise.
17122 * malloc/arena.c: Likewise.
17123 * malloc/malloc.c: Likewise.
17124 * malloc/malloc.h: Likewise.
17125 * malloc/mcheck.c: Likewise.
17126 * malloc/mtrace.c: Likewise.
17127 * math/bits/mathcalls.h: Likewise.
17128 * math/fenv.h: Likewise.
17129 * math/math_private.h: Likewise.
17130 * misc/bits/error.h: Likewise.
17131 * misc/bits/syslog.h: Likewise.
17132 * misc/err.h: Likewise.
17133 * misc/error.h: Likewise.
17134 * misc/fstab.h: Likewise.
17135 * misc/mntent.h: Likewise.
17136 * misc/regexp.h: Likewise.
17137 * misc/search.h: Likewise.
17138 * misc/sgtty.h: Likewise.
17139 * misc/sys/mman.h: Likewise.
17140 * misc/sys/syslog.h: Likewise.
17141 * misc/sys/uio.h: Likewise.
17142 * misc/sys/xattr.h: Likewise.
17143 * misc/ttyent.h: Likewise.
17144 * nis/rpcsvc/ypclnt.h: Likewise.
17145 * nss/nss.h: Likewise.
17146 * posix/bits/unistd.h: Likewise.
17147 * posix/fnmatch.h: Likewise.
17148 * posix/glob.h: Likewise.
17149 * posix/sched.h: Likewise.
17150 * posix/spawn.h: Likewise.
17151 * posix/sys/wait.h: Likewise.
17152 * posix/unistd.h: Likewise.
17153 * posix/wordexp.h: Likewise.
17154 * pwd/pwd.h: Likewise.
17155 * resolv/netdb.h: Likewise.
17156 * resource/sys/resource.h: Likewise.
17157 * rt/aio.h: Likewise.
17158 * rt/bits/mqueue2.h: Likewise.
17159 * rt/mqueue.h: Likewise.
17160 * shadow/shadow.h: Likewise.
17161 * signal/signal.h: Likewise.
17162 * socket/send.c: Likewise.
17163 * socket/sendto.c: Likewise.
17164 * socket/sys/socket.h: Likewise.
17165 * stdio-common/printf.h: Likewise.
17166 * stdlib/bits/stdlib.h: Likewise.
17167 * stdlib/fmtmsg.h: Likewise.
17168 * stdlib/monetary.h: Likewise.
17169 * stdlib/stdlib.h: Likewise.
17170 * stdlib/ucontext.h: Likewise.
17171 * streams/stropts.h: Likewise.
17172 * string/argz.h: Likewise.
17173 * string/bits/string2.h: Likewise.
17174 * string/string.h: Likewise.
17175 * string/strings.h: Likewise.
17176 * sunrpc/rpc/auth.h: Likewise.
17177 * sunrpc/rpc/auth_des.h: Likewise.
17178 * sunrpc/rpc/clnt.h: Likewise.
17179 * sunrpc/rpc/netdb.h: Likewise.
17180 * sunrpc/rpc/pmap_clnt.h: Likewise.
17181 * sunrpc/rpc/xdr.h: Likewise.
17182 * sysdeps/generic/inttypes.h: Likewise.
17183 * sysdeps/generic/net/if.h: Likewise.
17184 * sysdeps/generic/sys/swap.h: Likewise.
17185 * sysdeps/gnu/net/if.h: Likewise.
17186 * sysdeps/gnu/utmpx.h: Likewise.
17187 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17188 * sysdeps/i386/i486/bits/string.h: Likewise.
17189 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17190 * sysdeps/s390/bits/string.h: Likewise.
17191 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17192 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17193 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17194 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17195 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17196 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17197 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17199 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17200 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17202 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17203 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17205 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17207 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17213 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17214 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17215 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17216 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17217 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17219 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17221 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17222 * sysvipc/sys/ipc.h: Likewise.
17223 * sysvipc/sys/msg.h: Likewise.
17224 * sysvipc/sys/sem.h: Likewise.
17225 * sysvipc/sys/shm.h: Likewise.
17226 * termios/termios.h: Likewise.
17227 * time/sys/time.h: Likewise.
17228 * time/time.h: Likewise.
17229 * wcsmbs/bits/wchar2.h: Likewise.
17230 * wcsmbs/uchar.h: Likewise.
17231 * wcsmbs/wchar.h: Likewise.
17232 * wctype/wctype.h: Likewise.
17233
0269750c
UD
17234 [BZ #13551]
17235 * Makeconfig: Remove all but ELF support including AIX support.
17236 * Makerules: Likewise.
17237 * config.h.in: Likewise.
17238 * config.make.in: Likewise.
17239 * configure: Likewise.
17240 * configure.in: Likewise.
17241 * csu/Makefile: Likewise.
17242 * csu/version.c: Likewise.
17243 * debug/Makefile: Likewise.
17244 * dlfcn/Makefile: Likewise.
17245 * elf/Makefile: Likewise.
17246 * extra-lib.mk: Likewise.
17247 * iconv/Makefile: Likewise.
17248 * include/libc-symbols.h: Likewise.
17249 * include/shlib-compat.h: Likewise.
17250 * resolv/Makefile: Likewise.
17251 * resolv/res_libc.c: Likewise.
17252 * rt/Makefile: Likewise.
17253 * sysdeps/i386/asm-syntax.h: Likewise.
17254 * sysdeps/i386/sysdep.h: Likewise.
17255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17256 * sysdeps/mach/sysdep.h: Likewise.
17257 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17258 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17259 * sysdeps/s390/asm-syntax.h: Likewise.
17260 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17262 * sysdeps/sh/sysdep.h: Likewise.
17263 * sysdeps/unix/sparc/sysdep.h: Likewise.
17264 * sysdeps/wordsize-32/divdi3.c: Likewise.
17265 * sysdeps/x86_64/sysdep.h: Likewise.
17266
00bbd29b
UD
17267 * argp/Versions: Remove _argp_unlock_xxx.
17268
17269 [BZ #13559]
17270 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17271 * abilist/libBrokenLocale.abilist: Likewise.
17272 * abilist/libanl.abilist: Likewise.
17273 * abilist/libc.abilist: Likewise.
17274 * abilist/libcrypt.abilist: Likewise.
17275 * abilist/libdl.abilist: Likewise.
17276 * abilist/libm.abilist: Likewise.
17277 * abilist/libnsl.abilist: Likewise.
17278 * abilist/libpthread.abilist: Likewise.
17279 * abilist/libresolv.abilist: Likewise.
17280 * abilist/librt.abilist: Likewise.
17281 * abilist/libthread_db.abilist: Likewise.
17282 * abilist/libutil.abilist: Likewise.
17283 * abilist/libnss_db.abilist: New file.
17284
17285 * scripts/abilist.awk: Add support for indirect functions.
17286
a2693a0e
UD
17287 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17288
3f05895f
UD
17289 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17290
ecb6fb48
UD
17291 * shlib-versions: Remove entries for ports architectures.
17292
664f8cb9
UD
17293 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17294 files in ports.
17295 * elf/stackguard-macros.h: Remove support for IA-64.
17296 * elf/tst-auditmod1.c: Likewise.
17297 * sysdeps/generic/ldsodefs.h: Likewise.
17298
7ae81d88
UD
17299 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17300 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17301 configure files.
17302
bdeba135
UD
17303 [BZ #13552]
17304 * configure.in: Remove --enable-omitfp support.
17305 * FAQ.in: Adjust.
17306 * config.make.in: Likewise.
17307 * Makeconfig: Likewise.
17308 * manual/install.texi: Likewise.
17309
d75a0a62
UD
17310 In case anyone cares, the IA-64 architecture could move to ports.
17311 * sysdeps/ia64/*: Removed.
17312 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17314
dcc9756b
UD
17315 [BZ #13555]
17316 * configure.in: Remove entries for unsupported architectures.
17317
d3761ebc 17318 [BZ #13533]
9954432e
UD
17319 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17320 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17321 routines.
17322 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17323 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17324 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17325 fall back to using wcrtomb.
17326 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17327 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17328 renaming.
17329 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17330 * wcsmbs/tst-c16c32-1.c: New file.
17331
17332 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17333 local variable.
17334
c3a87236
UD
17335 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17336
28926a1b
UD
17337 * elf/tst-unique3.cc: Add explicit declaration of gets.
17338 * elf/tst-unique3lib.cc: Likewise.
17339 * elf/tst-unique3lib2.cc: Likewise.
17340 * elf/tst-unique4.cc: Likewise.
17341
df78418a
UD
17342 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17343
8ecd6b2a
JM
173442012-01-06 Joseph Myers <joseph@codesourcery.com>
17345
17346 [BZ #13566]
17347 * assert/assert.h (static_assert): Don't define for C++.
17348 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17349 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17350
9f115170
UD
173512012-01-03 Ulrich Drepper <drepper@gmail.com>
17352
5e0d0300
UD
17353 * iconv/loop.c (single loop): Fix assertion in storing of
17354 remaining bytes.
17355
9f115170
UD
17356 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17357
81fb02b0
UD
173582012-01-01 Ulrich Drepper <drepper@gmail.com>
17359
17360 * posix/getconf.c: Update copyright year.
17361 * nss/getent.c: Likewise.
a316c1f6 17362 * nss/makedb.c: Likewise.
81fb02b0
UD
17363 * iconv/iconvconfig.c: Likewise.
17364 * iconv/iconv_prog.c: Likewise.
17365 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17366 * elf/pldd.c: Likewise.
17367 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17368 * catgets/gencat.c: Likewise.
17369 * csu/version.c: Likewise.
17370 * elf/ldd.bash.in: Likewise.
17371 * elf/sprof.c (print_version): Likewise.
17372 * locale/programs/locale.c: Likewise.
17373 * locale/programs/localedef.c: Likewise.
a316c1f6 17374 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17375 * nscd/nscd.c (print_version): Likewise.
17376 * debug/xtrace.sh: Likewise.
17377 * malloc/memusage.sh: Likewise.
17378 * malloc/mtrace.pl: Likewise.
17379 * debug/catchsegv.sh: Likewise.
17380
2ba92745
JJ
173812011-12-30 Jakub Jelinek <jakub@redhat.com>
17382
17383 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17384 pure attribute.
17385
dadebdae
UD
173862011-12-24 Ulrich Drepper <drepper@gmail.com>
17387
d3761ebc 17388 [BZ #13533]
db6af3eb
UD
17389 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17390 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17391 transformations.
17392 * iconv/gconv_int.h: Likewise.
17393 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17394 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17395 from libc for GLIBC_2.16.
17396 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17397 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17398 * wcsmbs/uchar.h: Really define mbstate_t.
17399 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17400 * wcsmbs/c16rtomb.c: New file.
17401 * wcsmbs/mbrtoc16.c: New file.
17402 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17403 for C/POSIX locale.
17404 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17405 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17406
dadebdae
UD
17407 * wcsmbs/wchar.h: Add missing __restrict.
17408
67371b56
UD
174092011-12-23 Ulrich Drepper <drepper@gmail.com>
17410
74033a25
UD
17411 [BZ #13532]
17412 * time/Makefile (routines): Add timespec_get.
17413 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17414 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17415 timespec for ISO C11.
17416 * time/timespec_get.c: New file.
17417 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17418 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17419
380d7e87
UD
17420 [BZ #13531]
17421 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17422 * stdlib/stdlib.h: Declare aligned_alloc.
17423 * Versions.def: Add GLIBC_2.16 for libc.
17424 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17425
4e9e7a35
UD
17426 [BZ 13527]
17427 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17428 ISO C11.
17429
380d7e87 17430 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17431 code.
17432
03a71829
UD
17433 [BZ #13528]
17434 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17435
839e283e
UD
17436 [BZ #13529]
17437 * assert/assert.h (static_assert): Define.
17438
ce5294e2 17439 * version.h: Update for 2.16 development version.
90fa7312 17440
8d44e150 17441 [BZ #13526]
d7809905
UD
17442 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17443 _ISOC11_SOURCE.
17444
c0da14cd
UD
17445 * version.h (RELEASE): Bump for 2.15 release.
17446 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17447
530a3249
MP
17448 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17449 Patch by Marek Polacek <mpolacek@redhat.com>.
17450
67371b56
UD
17451 * bits/byteswap.h: Protect long long constants with __extension__.
17452 * sysdeps/i386/bits/byteswap.h: Likewise.
17453 * sysdeps/ia64/bits/byteswap.h: Likewise.
17454 * sysdeps/s390/bits/byteswap.h: Likewise.
17455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17456
15db4de1
LD
174572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17458
17459 [BZ #13540]
bbe315ea
LD
17460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17461 destination buffer.
15db4de1
LD
17462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17463
2b2596b1
MP
174642011-12-23 Marek Polacek <polacek@redhat.com>
17465
17466 * elf/dl-addr.c (determine_info): Add inline keyword.
17467 * elf/tst-auditmod4b.c (check_avx): Likewise.
17468 * elf/tst-auditmod6b.c (check_avx): Likewise.
17469 * elf/tst-auditmod6c.c (check_avx): Likewise.
17470 * elf/tst-auditmod7b.c (check_avx): Likewise.
17471
70c6c246
UD
174722011-12-23 Ulrich Drepper <drepper@gmail.com>
17473
17474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17475 !__SSE_MATH__.
17476
c044cf14
LD
174772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17478
15db4de1 17479 [BZ #13540]
c044cf14
LD
17480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17481 processing for last bytes.
17482
6b13d9d9
BH
174832011-08-06 Bruno Haible <bruno@clisp.org>
17484
d455f537
BH
17485 [BZ #13061]
17486 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17487 U+0385, not to U+1FEE.
17488
6b13d9d9
BH
17489 [BZ #13062]
17490 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17491 entry for U+00A5 U+0301.
17492
db910efd
UD
174932011-12-22 Ulrich Drepper <drepper@gmail.com>
17494
27deeafc
UD
17495 [BZ #13166]
17496 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17497 buffer for the output is too small.
17498
aed9d171
UD
17499 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17500 optimization.
17501
db910efd
UD
17502 [BZ #13185]
17503 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17504 SSE flags if possible.
17505
2bd779ae
LD
175062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17507
e7f9dac3 17508 [BZ #13540]
2bd779ae
LD
17509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17510 processing for last bytes.
17511
154bfc16
JM
175122011-12-22 Joseph Myers <joseph@codesourcery.com>
17513
17514 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17515 (syscall-list-default-options, syscall-list-default-condition)
17516 (syscall-list-includes): Define.
17517 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17518 list of ABIs and options and #if conditions for each ABI. Do not
17519 handle common syscalls between ABIs specially.
17520 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17521 Remove.
17522 (syscall-list-variants, syscall-list-32bit-options)
17523 (syscall-list-32bit-condition, syscall-list-64bit-options)
17524 (syscall-list-64bit-condition): Define.
17525 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17526 (syscall-list-variants, syscall-list-32bit-options)
17527 (syscall-list-32bit-condition, syscall-list-64bit-options)
17528 (syscall-list-64bit-condition): Define.
17529 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17530 Remove.
17531 (syscall-list-variants, syscall-list-32bit-options)
17532 (syscall-list-32bit-condition, syscall-list-64bit-options)
17533 (syscall-list-64bit-condition): Define.
17534 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17535 Remove.
17536 (syscall-list-variants, syscall-list-32bit-options)
17537 (syscall-list-32bit-condition, syscall-list-64bit-options)
17538 (syscall-list-64bit-condition): Define.
17539
21eaf3a5
UD
175402011-12-22 Ulrich Drepper <drepper@gmail.com>
17541
16c6f992
UD
17542 * locale/iso-639.def: Add brx entry.
17543
41043168
UD
17544 [BZ #13328]
17545 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17546 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17547
21eaf3a5
UD
17548 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17549 __feraiseexcept_renamed.
17550
e3a851a2
UD
175512011-12-21 Ulrich Drepper <drepper@gmail.com>
17552
4920765e
UD
17553 [BZ #13538]
17554 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17555 EPOLLET with unsigned values.
17556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17558
e3a851a2
UD
17559 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17560 to large cancellation.
17561 * math/s_cacoshf.c: Likewise.
17562 * math/s_cacoshl.c: Likewise.
17563
b27e24b8
RK
175642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17565
17566 [BZ #13305]
aebefeee 17567 [BZ #12786]
b27e24b8
RK
17568 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17569 * math/s_cacoshf.c: Likewise.
17570 * math/s_cacoshl.c: Likewise.
17571
ee190f67
UD
175722011-12-21 Ulrich Drepper <drepper@gmail.com>
17573
17574 [BZ #13439]
17575 * iconv/gconv.h: Define __GCONV_SWAP.
17576 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17577 * iconvdata/utf-16.c: Likewise.
17578 * iconvdata/utf-32.c: Likewise.
17579
707f25df
AS
175802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17581
17582 [BZ #13524]
17583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17584 numerator after shifting it by one limb.
17585
d2daaa1e
RÁE
175862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17587
17588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17589 under [__USE_EXTERN_INLINES].
17590
a4647e72
UD
175912011-12-17 Ulrich Drepper <drepper@gmail.com>
17592
17593 [BZ #13446]
17594 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17595
f0b264f1
AZ
175962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17597
17598 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17599 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17600 optimized code.
17601 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17602 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17603 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17604 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17605 for strncasecmp/strncasecmp_l compilation.
17606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17607 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17608
8ef4f244
MP
176092011-12-08 Marek Polacek <mpolacek@redhat.com>
17610
17611 [BZ #13484]
17612 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17613 of __asm__.
17614
97ac2654
UD
176152011-12-17 Ulrich Drepper <drepper@gmail.com>
17616
17617 [BZ #13506]
17618 * time/tzfile.c (__tzfile_read): Check values from file header.
17619
91d2a845
WS
176202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17621
17622 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17623 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17624 * powerpc/powerpc32/dl-start.S: Likewise.
17625 * powerpc/powerpc32/elf/start.S: Likewise.
17626 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17627 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17628 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17629 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17630 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17631 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17632 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17633 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17634 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17635 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17636 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17637 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17638 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17639 * powerpc/powerpc32/memset.S: Likewise.
17640 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17641 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17642 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17643 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17644 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17645 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17646 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17647 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17648 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17649 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17650 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17651 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17652 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17653
a1267ba1
AZ
176542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17655
17656 * math/libm-test.inc: Added more nearbyint tests.
17657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17661
ad8ac1bd
RL
176622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17663
17664 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17665 FD_CLOEXEC.
17666
1d3e4b61
UD
176672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17668
17669 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17670 Add wcscpy-ssse3 wcscpy-c.
17671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17672 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17673 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17674 * sysdeps/x86_64/wcschr.S: New file.
17675 * sysdeps/x86_64/wcsrchr.S: New file.
17676 * string/test-strcmp.c: Remove checking of wcscmp function for
17677 wrong alignments.
17678 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17679 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17680 wcsrchr-sse2 wcsrchr-c.
17681 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17682 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17683 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17684 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17685 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17686 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17687 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17688 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17690 * wcsmbc/wcschr.c (WCSCHR): New macro.
17691
5b330a2d
UD
176922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17693
17694 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17695 * wcsmbs/test-wcsrchr.c: New file.
17696 * string/test-strrchr.c: Add wcsrchr support.
17697 (WIDE): New macro.
17698 * wcsmbs/test-wcscpy.c: New file.
17699 * string/test-strcpy.c: Add wcscpy support.
17700 (WIDE): New macro.
26428b7c 17701
f039c043
UD
177022011-12-10 Ulrich Drepper <drepper@gmail.com>
17703
17704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17705 the inner loop.
17706
850fb039
AS
177072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17708
17709 [BZ #13472]
17710 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17711
4efbd5cb
UD
177122011-12-04 Ulrich Drepper <drepper@gmail.com>
17713
52ff5dd0 17714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17715 Minor optimizations.
52ff5dd0 17716
4efbd5cb
UD
17717 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17718 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17720
8a426e12
UD
177212011-12-03 Ulrich Drepper <drepper@gmail.com>
17722
aff2453d
UD
17723 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17724 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17725 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17726 for gcc to avoid warnings.
17727 * inet/Makefile (tests): Add tst-checks.
17728 * inet/tst-checks.c: New file.
17729
17730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17731 warning.
17732
17733 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17734 __wmemcmp_sse2.
17735
17736 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17737 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17738
8a426e12
UD
17739 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17740
9bea3473
UD
177412011-12-02 Ulrich Drepper <drepper@gmail.com>
17742
3a965496
UD
17743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17744 problem.
17745
9bea3473
UD
17746 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17747
f101631b
UD
177482011-11-29 Joseph Myers <joseph@codesourcery.com>
17749
17750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17751 conditional on GCC version.
17752 (__arch_compare_and_exchange_val_8_acq)
17753 (__arch_compare_and_exchange_val_16_acq)
17754 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17755 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17756 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17757
a98275aa
UD
177582011-12-02 Joseph Myers <joseph@codesourcery.com>
17759
17760 * sysdeps/sh/backtrace.c: New file.
17761
d4cc29a2
AS
177622011-12-02 Andreas Schwab <schwab@redhat.com>
17763
17764 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17765 parenthesis.
17766
6257af2d
AS
177672011-12-01 Andreas Schwab <schwab@redhat.com>
17768
17769 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17770 falling back to utime.
17771
b5f44c1a
AS
177722011-11-30 Andreas Schwab <schwab@redhat.com>
17773
17774 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17775 expectations for float.
17776
f3a6cc0a
AS
177772011-11-29 Andreas Schwab <schwab@redhat.com>
17778
17779 * locale/weight.h (findidx): Add parameter len.
17780 * locale/weightwc.h (findidx): Likewise.
17781 * posix/fnmatch_loop.c (FCT): Adjust caller.
17782 * posix/regcomp.c (build_equiv_class): Likewise.
17783 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17784 * posix/regexec.c (check_node_accept_bytes): Likewise.
17785 * string/strcoll_l.c (STRCOLL): Likewise.
17786 * string/strxfrm_l.c (STRXFRM): Likewise.
17787
9d65ea3a
UD
177882011-11-17 Ulrich Drepper <drepper@gmail.com>
17789
17790 * Makefile.in: Remove CVSOPT handling.
17791 * configure.in: Remove use of AC_REVISION.
17792 * iconvdata/Makefile (distribute): No need to filter out CVS.
17793 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17794 handling.
17795
5583a086
AS
177962011-11-16 Andreas Schwab <schwab@redhat.com>
17797
17798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17799 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17800 [USE_AS_STRNCASECMP_L]: Likewise.
17801 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17802 NO_TLS_DIRECT_SEG_REFS.
17803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17804 Fix argument offsets for non-PIC.
17805 [USE_AS_STRNCASECMP_L]: Likewise.
17806 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17807 NO_TLS_DIRECT_SEG_REFS.
17808
d62a8200
UD
178092011-11-15 Ulrich Drepper <drepper@gmail.com>
17810
9d65ea3a 17811 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17812 O_CLOEXEC.
17813 * locale/loadlocale.c (_nl_load_locale): Likewise.
17814
09f93bd3
AS
178152011-11-15 Andreas Schwab <schwab@redhat.com>
17816
446514f9
AS
17817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17818 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17820 (SYSCALL_GETTIME): Set errno on error.
17821
09f93bd3
AS
17822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17823 count references to noai6ai_cached.
17824
312be3f9
UD
178252011-11-15 Ulrich Drepper <drepper@gmail.com>
17826
17827 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17828
17829 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17830 FD_CLOEXEC for /proc/self/maps.
17831
17832 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17833 FD_CLOEXEC for /proc/meminfo.
17834
17835 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17836 gai.conf.
17837
17838 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17839 FD_CLOEXEC for given file.
17840
17841 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17842
17843 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17844 FD_CLOEXEC for /etc/hosts.
17845 (_gethtent): Likewise.
17846
17847 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17848
17849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17850 cancellation and set FD_CLOEXEC for /etc/netgroup.
17851
17852 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17853 reading /etc/publickey.
17854
17855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17856 allow cancellation when reading /etc/group.
17857
17858 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17859 cancellation.
17860 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17861
17862 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17863 when using data file.
17864
17865 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17866
17867 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17868 (write_nis_obj): Use "c" and "e" in fopen.
17869
17870 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17871
17872 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17873
17874 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17875
17876 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17877
17878 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17879 locale.alias.
17880
17881 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17882
17883 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17884
17885 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17886
17887 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17888 file parsing and set FD_CLOEXEC.
17889
82af0fa8
UD
178902011-11-14 Ulrich Drepper <drepper@gmail.com>
17891
17892 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17893
a5fb313c
AS
178942011-11-14 Andreas Schwab <schwab@redhat.com>
17895
17896 * malloc/arena.c (arena_get2): Don't call reused_arena when
17897 _int_new_arena failed.
17898
6abf3465
UD
178992011-11-14 Ulrich Drepper <drepper@gmail.com>
17900
17901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17902 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17907 to compile strcasecmp and strncasecmp.
17908 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17909 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17910
17911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17912
76e3966e
UD
179132011-11-13 Ulrich Drepper <drepper@gmail.com>
17914
17915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17916 locale-defines.sym to gen-as-const-headers.
17917 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17918 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17920 to compile strcasecmp and strncasecmp.
17921 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17922 strcasecmp_l and strncasecmp_l.
17923 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17924 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17925 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17927 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17928 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17929 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17930 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17931 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17932 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17933 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17934
ab26144e
UD
179352011-11-12 Ulrich Drepper <drepper@gmail.com>
17936
7edb22ef
UD
17937 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17938 result of SYSDEP_GETTIME_CPU to retval.
17939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17940 parameter list to macro. Remove trailing semicolon. Adjust users.
17941
9694fc44
UD
17942 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17943 variable.
17944
8ad89ef8
UD
17945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17946 mantissa words.
17947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17948
0c822ef9
UD
17949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17950 from unused variable.
17951
874e0564
UD
17952 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17953 DWARF definitions.
17954 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17955 for assembling.
17956
3a2edc79
UD
17957 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17958 over namespaces.
17959
f3c2577f
UD
17960 * sunrpc/rpc_prot.c (rejected): Fix case value.
17961
294ce126
UD
17962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17963 unsigned long long int to avoid warnings in shift.
17964
5e2b63c6
UD
17965 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17966 of use of trans.
17967 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17968 variable tmp.
17969
e7f4b08e
UD
17970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17971 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17973
ab26144e
UD
17974 * nis/nis_table.c (nis_list): Use variable of correct type for
17975 result of __follow_path call.
17976
8a6d5255
AZ
179772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17978
17979 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17980 of math functions ceil, trunc, floor, round, and sqrt, when
17981 avaliable on the platform.
17982 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17983 name clash.
17984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17987
aaddc98c
MP
179882011-10-30 Marek Polacek <mpolacek@redhat.com>
17989
17990 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17992
95b7042b
RM
179932011-11-11 Roland McGrath <roland@hack.frob.com>
17994
17995 * include/unistd.h: Fix __readlink return type.
17996 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17997
57769839
UD
179982011-11-11 Ulrich Drepper <drepper@gmail.com>
17999
18000 * stdlib/ucontext.h: Undo last change for makecontext.
18001
edc5984d
AS
180022011-11-11 Andreas Schwab <schwab@redhat.com>
18003
98591e58
AS
18004 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18005
edc5984d
AS
18006 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18007 * setjmp/setjmp.h: Mark functions as non-leaf.
18008 * setjmp/bits/setjmp2.h: Likewise.
18009 * stdlib/ucontext.h: Likewise.
18010
77cdc054
AS
180112011-11-10 Andreas Schwab <schwab@redhat.com>
18012
18013 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18014 (reused_arena): Don't check arena limit.
18015 (arena_get2): Atomically check arena limit.
18016
fe72eebd
UD
180172011-11-08 Ulrich Drepper <drepper@gmail.com>
18018
5f078c32
UD
18019 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18020 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18021
fe72eebd
UD
18022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18023 instructions.
18024
ae1bc2fa
AS
180252011-11-07 Andreas Schwab <schwab@redhat.com>
18026
7583a88d
AS
18027 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18028 handler when locking.
18029
ae1bc2fa
AS
18030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18031 Fix size of allocated buffer.
18032
10fb0bfa
AS
180332011-11-04 Andreas Schwab <schwab@redhat.com>
18034
998832a4
AS
18035 [BZ #10103]
18036 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18037 declarations for long double functions.
18038 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18039
10fb0bfa
AS
18040 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18041
3d7ba52b
AS
180422011-11-03 Andreas Schwab <schwab@redhat.com>
18043
a9ae54a1
AS
18044 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18045 installed.
18046
3d7ba52b
AS
18047 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18048 is disabled.
18049
bc8db248
ST
180502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18051
18052 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18053
45b96dd6
AS
180542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18055
647776f6
AS
18056 * include/alloca.h (stackinfo_alloca_round): Define.
18057 (extend_alloca): Use it.
18058 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18059 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18060 here.
18061
d91a8b93
AS
18062 * scripts/check-local-headers.sh: Ignore libaudit.h.
18063
45b96dd6
AS
18064 * nscd/Makefile (extra-objs): Make recursively expanded.
18065
432d41ce
UD
180662011-11-01 Ulrich Drepper <drepper@gmail.com>
18067
34372fc6
UD
18068 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18070
fadb59f8
UD
18071 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18072 * posix/tst-rfc3484-2.c: Likewise.
18073 * posix/tst-rfc3484-3.c: Likewise.
18074
78239589
UD
18075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18076 process_vm_writev.
18077 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18078 process_vm_writev.
18079 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18080 process_vm_writev from libc using GLIBC_2.15 version.
18081
432d41ce
UD
18082 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18083
02f9c6cf
PP
180842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18085
18086 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18087 stack usage.
18088
3a2c0242
UD
180892011-10-31 Ulrich Drepper <drepper@gmail.com>
18090
f4ec4833
UD
18091 [BZ #13367]
18092 * nss/getent.c (initgroups_keys): Show error message in case no group
18093 names are given.
18094
3a2c0242
UD
18095 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18096 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18097 __bump_nl_timestamp.
18098 * nscd/connections (nscd_init): When host database is served open
18099 netlink socket and request notification about configuration changes.
18100 (main_loop_poll): Track netlink file descriptor and bump timestamp
18101 in case data becomes available.
18102 (main_loop_epoll): Likewise.
18103 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18104 (database_pers_head): Add extra_data fileds.
18105 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18107 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18108 Adjust caller.
18109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18110 in6ai data, call __free_in6ai.
18111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18112 Add -DHAVE_NETLINK.
18113 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18114 interface information. Reuse previous data if netlink timestamp
18115 is not changed.
18116 (__bump_nl_timestamp): New function.
18117 (__free_in6ai): New function.
18118
636064eb
UD
181192011-10-30 Ulrich Drepper <drepper@gmail.com>
18120
18121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18122 close_not_cancel_no_status here.
18123 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18124
9beb2334
UD
181252011-10-29 Ulrich Drepper <drepper@gmail.com>
18126
6ef76f3b
UD
18127 [BZ #13276]
18128 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18129 return value.
18130
0ffc4f3e 18131 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18132 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18133 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18134
cb95113e
UD
181352011-07-03 Andreas Jaeger <aj@suse.de>
18136
18137 [BZ #10709]
18138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18139 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18140 * math/libm-test.inc (sin_test): Add test case.
18141
a1b560ff
UD
181422011-10-29 Ulrich Drepper <drepper@gmail.com>
18143
c9aaface
UD
18144 [BZ #13337]
18145 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18147
d272e7f1
UD
18148 * elf/chroot_canon.c (chroot_canon): Cleanups.
18149
1bc33071
UD
18150 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18151
1760874d
TJ
18152 [BZ #13335]
18153 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18155
51d91b18
UD
18156 * string/test-strchr.c: Make usable for strchrnul testing.
18157 * string/test-strchrnul.c: New file.
18158 * string/Makefile (strop-tests): Add strchrnul.
18159
a1b560ff 18160 * po/it.po: Update from translation team.
b611fb81 18161 * po/es.po: Likewise.
a1b560ff 18162
a5b81e1f
UD
181632011-10-28 Ulrich Drepper <drepper@gmail.com>
18164
fd52bc6d
UD
18165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18166 the three constants needed as parameters. Drop the others.
18167 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18168 __m128i_strloadu_tolower.
52e4b9eb
UD
18169 Create and initialize variable zero and use it in all the places
18170 where _mm_setzero_si128 was used.
fd52bc6d 18171
a5b81e1f
UD
18172 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18173 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18174 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18176 anymore.
18177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18180 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18182 __mpranred, __mptan.
18183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18192
b4343346
AS
181932011-10-28 Andreas Schwab <schwab@redhat.com>
18194
0c92d8a8
AS
18195 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18196 redefine if SHARED.
18197 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18198
b4343346
AS
18199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18200 wide char related routines to wcsmbs subdir.
18201
3871f58f
AS
182022011-10-27 Andreas Schwab <schwab@redhat.com>
18203
18204 [BZ #13344]
18205 * misc/sys/cdefs.h (__THROWNL): Define.
18206 * posix/unistd.h: Use __THREADNL instead of __THREAD
18207 for memory synchronization functions.
18208
94d44d9f
RM
182092011-10-26 Roland McGrath <roland@hack.frob.com>
18210
21b64b15 18211 [BZ #13349]
94d44d9f
RM
18212 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18213 doesn't exist.
18214 * manual/stdio.texi (Obstack Streams): Node removed.
18215
f6ce9294
AS
182162011-10-26 Andreas Schwab <schwab@redhat.com>
18217
80479147
AS
18218 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18221
f6ce9294
AS
18222 * math/math_private.h (math_force_eval): Allow non-addressable
18223 arguments.
18224 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18225
618280a1
UD
182262011-10-25 Ulrich Drepper <drepper@gmail.com>
18227
e0016b11
UD
18228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18229 file is not needed.
18230
18231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18238 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18239 Add AVX variants.
18240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18250 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18251 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18254 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18255 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18258 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18259
18260 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18261 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18262
618280a1
UD
18263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18264 place. Use VEX encoding when compiling for AVX.
18265
37822576
AS
182662011-10-25 Andreas Schwab <schwab@redhat.com>
18267
1f1e1947
AS
18268 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18269 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18270
37822576
AS
18271 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18272
31ea014d
UD
182732011-10-25 Ulrich Drepper <drepper@gmail.com>
18274
d7826aa1 18275 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18276 useless if() expression.
d7826aa1
UD
18277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18296
31ea014d
UD
18297 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18298
16437fec
AS
182992011-10-25 Andreas Schwab <schwab@redhat.com>
18300
18301 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18302 condition.
18303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18304
31d3cc00
UD
183052011-10-25 Ulrich Drepper <drepper@gmail.com>
18306
18307 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18308 .text section. Avoid duplicate constants.
18309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18339 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18354
58985aa9
UD
183552011-10-24 Ulrich Drepper <drepper@gmail.com>
18356
202c9deb
UD
18357 * sysdeps/x86_64/dla.h: Move to ...
18358 * sysdeps/x86_64/fpu/dla.h: ...here.
18359 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18360 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18361
af968f62
UD
18362 * config.make.in: Add have-mfma4 entry.
18363 * configure.in: Substitute libc_cv_cc_fma4.
18364 * math/Makefile (dbl-only-routines): Add sincostab.
18365 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18366 Use __sincostab not sincos.
18367 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18368 name is a macro.
18369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18373 using __copysign.
18374 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18375 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18376 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18377 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18378 and __inv.
18379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18380 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18381 __copysign.
18382 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18383 define aliases when function name is a macro.
18384 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18385 sysdeps/ieee754/dbl-64/sincos.tbl.
18386 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18387 fma4-enabled routines.
18388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18389 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18390 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18391 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18398 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18418
58985aa9
UD
18419 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18420 rename.
18421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18429
a201fbcf
AS
184302011-10-24 Andreas Schwab <schwab@redhat.com>
18431
18432 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18433
fc2ee42a
LD
184342011-10-23 Ulrich Drepper <drepper@gmail.com>
18435
bb3129bd
UD
18436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18437
0275fff8
UD
18438 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18439 prediction.
18440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18441
2fa2ae85
UD
18442 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18443 Remove unused variable magic_bits.
18444 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18445
fc2ee42a
LD
18446 * string/strnlen.c: Define and use STRNLEN macro.
18447 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18448 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18450 * wcsmbs/wcslen.c: Define and use WCSLEN.
18451 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18452 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18453 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18454 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18455 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18456 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18458
ce7dd29f
LD
184592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18460
18461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18462 strnlen-sse2-no-bsf.
18463 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18465 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18466 Add strnlen support.
18467 (USE_AS_STRNLEN): New macro.
18468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18470 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18471 * sysdeps/x86_64/wcslen.S: New file.
18472
979c70a3
MZ
184732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18474
18475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18476 XMM-moves are used for copying on small sizes.
18477
2d09f82f
LD
184782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18479
18480 * wcsmbs/Makefile (strop-tests): Add wcschr.
18481 * wcsmbs/test-wcschr.c: New file.
18482 * string/test-strchr.c: Update.
18483 Add wcschr support.
18484 (WIDE): New macro.
18485
619fccca
LD
184862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18487
2d09f82f 18488 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18489 * wcsmbs/test-wcslen.c: New file.
18490 * string/test-strlen.c: Update.
18491 Add wcslen support.
18492 (WIDE): New macro.
18493
09f699ea
UD
184942011-10-23 Ulrich Drepper <drepper@gmail.com>
18495
18496 * po/it.po: Update from translation team.
18497
95584d3b
LD
184982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18499
18500 * sysdeps/x86_64/wcscmp.S: Update.
18501 Fix wrong comparison semantics.
18502 wcscmp shall use signed comparison not unsigned.
18503 Don't use substraction to avoid overflow bug.
18504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18505 * wcsmbc/wcscmp.c: Likewise.
18506 * string/test-strcmp.c: Likewise.
18507 Add new tests to check cases with negative values.
18508
c8b3296b
UD
185092011-10-23 Ulrich Drepper <drepper@gmail.com>
18510
18511 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18512 * sysdeps/x86_64/dla.h: ...here. New file.
18513 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18522
246ad57a
AS
185232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18524
18525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18526 __ynl_finite aliases.
18527
a1a87169
UD
185282011-10-22 Ulrich Drepper <drepper@gmail.com>
18529
0d355eb7
UD
18530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18531
a1a87169
UD
18532 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18533 define DLA_FMA.
18534 [DLA_FMA] (EMULV): Use DLA_FMA.
18535 [DLA_FMA] (MUL12): Use EMULV.
18536 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18537 that are not needed.
18538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18545
ee2aafe0
AS
185462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18547
18548 * math/s_nan.c: Undef __nan.
18549 * math/s_nanf.c: Undef __nanf.
18550 * math/s_nanl.c: Undef __nanl.
18551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18552 "math_private.h".
18553
bc62c2fb
UD
185542011-10-22 Ulrich Drepper <drepper@gmail.com>
18555
77425c63
UD
18556 * math/s_catan.c: Add branch predictions.
18557 * math/s_catanf.c: Likewise.
18558 * math/s_catanh.c: Likewise.
18559 * math/s_catanhf.c: Likewise.
18560 * math/s_catanhl.c: Likewise.
18561 * math/s_catanl.c: Likewise.
18562 * math/s_cexp.c: Likewise.
18563 * math/s_cexpf.c: Likewise.
18564 * math/s_cexpl.c: Likewise.
18565 * math/s_clog.c: Likewise.
18566 * math/s_clog10.c: Likewise.
18567 * math/s_clog10f.c: Likewise.
18568 * math/s_clog10l.c: Likewise.
18569 * math/s_clogf.c: Likewise.
18570 * math/s_clogl.c: Likewise.
18571 * math/s_csqrt.c: Likewise.
18572 * math/s_csqrtf.c: Likewise.
18573 * math/s_csqrtl.c: Likewise.
18574 * math/s_ctanf.c: Likewise.
18575 * math/s_ctanh.c: Likewise.
18576 * math/s_ctanhf.c: Likewise.
18577 * math/s_ctanhl.c: Likewise.
18578 * math/s_ctanl.c: Likewise.
18579
bc62c2fb
UD
18580 * math/math_private.h: Define __nan, __nanf, __nanl.
18581 * math/s_cacosh.c: Include <math_private.h>.
18582 * math/s_cacoshl.c: Likewise.
18583 * math/s_casinh.c: Likewise.
18584 * math/s_casinhf.c: Likewise.
18585 * math/s_casinhl.c: Likewise.
18586 * math/s_ccos.c: Rely entire on ccosh.
18587 * math/s_ccosf.c: Rely entire on ccoshf.
18588 * math/s_ccosl.c: Rely entirely on ccoshl.
18589 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18590 Remove tests for FE_INVALID.
18591 * math/s_ccoshf.c: Likewise.
18592 * math/s_ccoshl.c: Likewise.
18593 * math/s_csin.c: Likewise.
18594 * math/s_csinf.c: Likewise.
18595 * math/s_csinh.c Likewise.
18596 * math/s_csinhf.c: Likewise.
18597 * math/s_csinhl.c: Likewise.
18598 * math/s_csinl.c: Likewise.
18599 * math/s_ctan.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18601 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18603
8ec250a4
UD
186042011-10-21 Ulrich Drepper <drepper@gmail.com>
18605
c196fed8
UD
18606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18607 compilation problems.
18608
8ec250a4
UD
18609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18610 __builtin_expect.
18611
8d4f46c6
UD
186122011-10-20 Ulrich Drepper <drepper@gmail.com>
18613
ed72b654
UD
18614 * sysdeps/i386/configure.in: Test for -mfma4 option.
18615 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18616 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18617 COMMON_CPUID_INDEX_80000001.
18618 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18619 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18620 use it if FMA3 is not supported.
18621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18622
8d4f46c6
UD
18623 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18625
d45c60c2
AS
186262011-10-20 Andreas Schwab <schwab@redhat.com>
18627
18628 [BZ #12892]
18629 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18630 it would create a cycle with a link time dependency.
18631
d9a4d2ab
UD
186322011-10-19 Ulrich Drepper <drepper@gmail.com>
18633
855d1560
UD
18634 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18635 instruction.
18636 * string/Makefile (strop-tests): Add rawmemchr.
18637 * string/test-rawmemchr.c: New file.
18638
d9a4d2ab
UD
18639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18641 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18642 when compiling str{,n}casecmp and when AVX is available. Hook up
18643 new optimized code in initializers.
18644
8f3b1ffe
AS
186452011-10-19 Andreas Schwab <schwab@redhat.com>
18646
18647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18648 __feraiseexcept instead of feraiseexcept.
18649
d38f1dba
UD
186502011-10-18 Ulrich Drepper <drepper@gmail.com>
18651
d9a8d0ab
UD
18652 * math/math_private.h: Define defaults for libc_fetestexcept and
18653 libc_feupdateenv.
18654 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18660 libc_fetestexcept and libc_feupdateenv.
18661
4855e3dd
UD
18662 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18663 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18664 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18665 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18666 libc_feholdexcept_setround.
18667
581d30e3
UD
18668 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18669 Add s_nearbyint-c and s_nearbyintf-c.
18670 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18671 nearbyintf inlines.
18672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18676
d38f1dba
UD
18677 * math/math_private.h: Define defaults for libc_fegetround,
18678 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18679 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18680 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18682 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18683 standard functions.
18684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18685 Remove comments and hacks for old compiler versions.
18686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18687 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18688 libc_feholdexceptl.
18689
caa6c9d8
AS
186902011-10-18 Andreas Schwab <schwab@redhat.com>
18691
18692 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18693 (__feraiseexcept_renamed): Add __NTH.
18694 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18695 namespace violations.
18696
97c066e6
UD
186972011-10-17 Ulrich Drepper <drepper@gmail.com>
18698
99ce7b04
UD
18699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18700
1004d182
UD
18701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18702
228a984d
UD
18703 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18704 recently added interfaces.
18705 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18706
c8553a6a
UD
18707 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18708 about macro parameter expansion.
18709
ed22dcf6
UD
18710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18711 __NO_MATH_INLINES is defined. Cleanups.
18712
18713 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18714 and __floorf is target has SSE4.1.
18715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18719
b171c137
UD
18720 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18721 name.
18722 (floorf): Likewise.
18723
97c066e6
UD
18724 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18725
629f62ef
AS
187262011-10-17 Andreas Schwab <schwab@redhat.com>
18727
49a43d80
AS
18728 * misc/sys/cdefs.h: Fix last change.
18729
629f62ef
AS
18730 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18731 database lookup.
18732
e453f6cd
UD
187332011-10-16 Ulrich Drepper <drepper@gmail.com>
18734
aa78043a
UD
18735 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18736
ad0f5cad
UD
18737 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18746 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18747 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18749 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18752 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18754 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18759
18760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18761 ceil, ceilf, floor, floorf.
18762
18763 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18764 Perform IRELATIVE relocations last.
18765
e453f6cd
UD
18766 * elf/do-rel.h: Add another parameter nrelative, replacing the
18767 local variable with the same name. Change name of the function
18768 to end in Rel or Rela (uppercase).
18769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18770 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18771 elf_dynamic_do_##reloc function.
18772
fd5bdc09
UD
187732011-10-15 Ulrich Drepper <drepper@gmail.com>
18774
79b195b5
UD
18775 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18776 is sufficient, at least on modern CPUs.
18777
d4a28569
UD
18778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18779
b61099b5
UD
18780 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18781 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18782
bcf01e6d
UD
18783 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18784 __expl_finite.
18785 * math/bits/math-finite.h: Add entries for exp.
18786 * math/e_expl.c: Add __*_finite alias.
18787 * sysdeps/i386/fpu/e_exp.S: Likewise.
18788 * sysdeps/i386/fpu/e_expf.S: Likewise.
18789 * sysdeps/i386/fpu/e_expl.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18797
ba1a0d59
UD
18798 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18799 is sufficient, at least on modern CPUs.
18800
fd5bdc09
UD
18801 * ctype/ctype-info.c (__ctype_init): Define.
18802 * include/ctype.h (__ctype_init): Declare.
18803 (__ctype_b_loc): The variable is always initialized.
18804 (__ctype_toupper_loc): Likewise.
18805 (__ctype_tolower_loc): Likewise.
18806 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18807 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18808
7872cfb0
AS
188092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18810
b468825a
AS
18811 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18812
7872cfb0
AS
18813 * configure.in: Also look in $cxxmachine/include for C++ system
18814 headers.
18815
be13f7bf
LD
188162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18817
18818 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18819 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18820 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18821 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18823 (USE_AS_WMEMCMP): New macro.
18824 Fixing indents.
18825 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18826 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18827 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18828 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18830 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18831 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18833 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18834 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18836 (USE_AS_WMEMCMP): New macro.
18837 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18838 * sysdeps/string/test-memcmp.c: Update.
18839 Fix simple_wmemcmp.
18840 Add new tests.
18841 * wcsmbs/wmemcmp.c: Update.
18842 (WMEMCMP): New macro.
18843 Fix overflow bug.
18844
556a2007
AJ
188452011-10-12 Andreas Jaeger <aj@suse.de>
18846
18847 [BZ #13268]
18848 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18849
538faaa7
UD
188502011-10-15 Ulrich Drepper <drepper@gmail.com>
18851
ab6737ff
UD
18852 * libio/iofwide.c (do_length): Avoid warning.
18853
538faaa7
UD
18854 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18855
396a21b1
UD
188562011-10-14 Ulrich Drepper <drepper@gmail.com>
18857
cdf2901f
UD
18858 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18859
38ad40ce
UD
18860 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18861 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18862 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18863 * sysdeps/i386/i686/fpu/e_log.S: New file.
18864 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18865 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18866
396a21b1
UD
18867 * ctype/ctype.h: Add support for inlined isXXX functions when
18868 compiling C++ code.
18869
6b1f68c9
AS
188702011-10-14 Andreas Schwab <schwab@redhat.com>
18871
349290c0
AS
18872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18873
6b1f68c9
AS
18874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18875
f2282d42
RM
188762011-10-13 Roland McGrath <roland@hack.frob.com>
18877
18878 [BZ #13291]
18879 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18880
5298ffa8
AS
188812011-10-13 Andreas Schwab <schwab@redhat.com>
18882
714fad23
AS
18883 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18884 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18885 feraiseexcept.
18886
81dcc7fb
AS
18887 * sysdeps/x86_64/memrchr.S: Check for zero size.
18888
5298ffa8
AS
18889 * string/stratcliff.c: Add memrchr tests.
18890
951fbcec
LD
188912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18892
18893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18894 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18895 rawmemchr-sse2 rawmemchr-sse2-bsf.
18896 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18897 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18898 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18899 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18900 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18902 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18903 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18904 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18906 * string/memrchr.c (MEMRCHR): New macro.
18907
0ac5ae23
UD
189082011-10-12 Ulrich Drepper <drepper@gmail.com>
18909
18910 Add integration with gcc's -ffinite-math-only and optimize wrapper
18911 functions in libm.
18912 * Versions.def: Define GLIBC_2.15 version for libm.
18913 * math/Makefile (headers): Add bits/math-finite.h.
18914 * math/bits/math-finite.h: New file.
18915 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18916 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18917 * math/e_acoshl.c: Add __*_finite alias.
18918 * math/e_acosl.c: Likewise.
18919 * math/e_asinl.c: Likewise.
18920 * math/e_atan2l.c: Likewise.
18921 * math/e_atanhl.c: Likewise.
18922 * math/e_coshl.c: Likewise.
18923 * math/e_exp10.c: Likewise.
18924 * math/e_exp10f.c: Likewise.
18925 * math/e_exp10l.c: Likewise.
18926 * math/e_exp2l.c: Likewise.
18927 * math/e_fmodl.c: Likewise.
18928 * math/e_gammal_r.c: Likewise.
18929 * math/e_hypotl.c: Likewise.
18930 * math/e_j0l.c: Likewise.
18931 * math/e_j1l.c: Likewise.
18932 * math/e_jnl.c: Likewise.
18933 * math/e_lgammal_r.c: Likewise.
18934 * math/e_log10l.c: Likewise.
18935 * math/e_log2l.c: Likewise.
18936 * math/e_logl.c: Likewise.
18937 * math/e_powl.c: Likewise.
18938 * math/e_sinhl.c: Likewise.
18939 * math/e_sqrtl.c: Likewise.
18940 * math/e_scalb.c: Completely rewritten and optimized.
18941 * math/e_scalbf.c: Likewise.
18942 * math/e_scalbl.c: Likewise.
18943 * math/w_acos.c: Likewise.
18944 * math/w_acosf.c: Likewise.
18945 * math/w_acosl.c: Likewise.
18946 * math/w_acosh.c: Likewise.
18947 * math/w_acoshf.c: Likewise.
18948 * math/w_acoshl.c: Likewise.
18949 * math/w_asin.c: Likewise.
18950 * math/w_asinf.c: Likewise.
18951 * math/w_asinl.c: Likewise.
18952 * math/w_atan2.c: Likewise.
18953 * math/w_atan2f.c: Likewise.
18954 * math/w_atan2l.c: Likewise.
18955 * math/w_atanh.c: Likewise.
18956 * math/w_atanhf.c: Likewise.
18957 * math/w_atanhl.c: Likewise.
18958 * math/w_exp10.c: Likewise.
18959 * math/w_exp10f.c: Likewise.
18960 * math/w_exp10l.c: Likewise.
18961 * math/w_fmod.c: Likewise.
18962 * math/w_fmodf.c: Likewise.
18963 * math/w_fmodl.c: Likewise.
18964 * math/w_j0.c: Likewise.
18965 * math/w_j0f.c: Likewise.
18966 * math/w_j0l.c: Likewise.
18967 * math/w_j1.c: Likewise.
18968 * math/w_j1f.c: Likewise.
18969 * math/w_j1l.c: Likewise.
18970 * math/w_jn.c: Likewise.
18971 * math/w_jnf.c: Likewise.
18972 * math/w_log.c: Likewise.
18973 * math/w_logf.c: Likewise.
18974 * math/w_logl.c: Likewise.
18975 * math/w_log10.c: Likewise.
18976 * math/w_log10f.c: Likewise.
18977 * math/w_log10l.c: Likewise.
18978 * math/w_log2.c: Likewise.
18979 * math/w_log2f.c: Likewise.
18980 * math/w_log2l.c: Likewise.
18981 * math/w_pow.c: Likewise.
18982 * math/w_powf.c: Likewise.
18983 * math/w_powl.c: Likewise.
18984 * math/w_remainder.c: Likewise.
18985 * math/w_remainderf.c: Likewise.
18986 * math/w_remainderl.c: Likewise.
18987 * math/w_scalb.c: Likewise.
18988 * math/w_scalbf.c: Likewise.
18989 * math/w_scalbl.c: Likewise.
18990 * math/w_sqrt.c: Likewise.
18991 * math/w_sqrtf.c: Likewise.
18992 * math/w_sqrtl.c: Likewise.
18993 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18994 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18995 used.
18996 * math/math_private.h: Declare __kernel_standard_f.
18997 * math/w_cosh.c: Remove cruft and optimize a bit.
18998 * math/w_coshf.c: Likewise.
18999 * math/w_coshl.c: Likewise.
19000 * math/w_exp2.c: Likewise.
19001 * math/w_exp2f.c: Likewise.
19002 * math/w_exp2l.c: Likewise.
19003 * math/w_hypot.c: Likewise.
19004 * math/w_hypotf.c: Likewise.
19005 * math/w_hypotl.c: Likewise.
19006 * math/w_lgamma.c: Likewise.
19007 * math/w_lgamma_r.c: Likewise.
19008 * math/w_lgammaf.c: Likewise.
19009 * math/w_lgammaf_r.c: Likewise.
19010 * math/w_lgammal.c: Likewise.
19011 * math/w_lgammal_r.c: Likewise.
19012 * math/w_sinh.c: Likewise.
19013 * math/w_sinhf.c: Likewise.
19014 * math/w_sinhl.c: Likewise.
19015 * math/w_tgamma.c: Likewise.
19016 * math/w_tgammaf.c: Likewise.
19017 * math/w_tgammal.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19020 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19021 Minor optimizations. Pretty printing. Remove cruft.
19022 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19025 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19026 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19027 * sysdeps/i386/fpu/e_asin.S: Likewise.
19028 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19029 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19030 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19031 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19032 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19033 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19035 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19036 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19037 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19038 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19039 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19040 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19041 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19042 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19043 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19044 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19045 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19046 * sysdeps/i386/fpu/e_log.S: Likewise.
19047 * sysdeps/i386/fpu/e_log10.S: Likewise.
19048 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19050 * sysdeps/i386/fpu/e_log2.S: Likewise.
19051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19053 * sysdeps/i386/fpu/e_logf.S: Likewise.
19054 * sysdeps/i386/fpu/e_logl.S: Likewise.
19055 * sysdeps/i386/fpu/e_pow.S: Likewise.
19056 * sysdeps/i386/fpu/e_powf.S: Likewise.
19057 * sysdeps/i386/fpu/e_powl.S: Likewise.
19058 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19059 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19060 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19061 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19064 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19065 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19066 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19084 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19164 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19165 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19166 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19167 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19169 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19170 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19175 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19176 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19177 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19178 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19179 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19180 (__isnanf): Likewise.
19181 (__isinf_ns): Likewise.
19182 (__isinf_nsf): Likewise.
19183 (__finite): Likewise.
19184 (__finitef): Likewise.
19185 (__ieee754_sqrt): Define as macro.
19186 (__ieee754_sqrtf): Define as macro.
19187 (__ieee754_sqrtl): Define as macro.
19188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19189 inlined copy.
19190 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19191 __FINITE_MATH_ONLY__ consistent.
19192 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19193
12cc2fcd
AS
191942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19195
a843a204
AS
19196 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19197 of rawmemchr.
19198
12cc2fcd
AS
19199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19200
c853acd5
UD
192012011-10-09 Ulrich Drepper <drepper@gmail.com>
19202
19203 * po/ja.po: Update from translation team.
19204
c658d255
RM
192052011-10-08 Roland McGrath <roland@hack.frob.com>
19206
110946e4
RM
19207 * locale/programs/locarchive.c (prepare_address_space): New function.
19208 (create_archive, enlarge_archive, open_archive): Use it.
19209
50604220
RM
19210 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19211 inside [SHARED], where it is used.
19212
c658d255
RM
19213 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19214
19215 * nss/getent.c (netgroup_keys): Remove unused variable.
19216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19217
6a621eb7
UD
192182011-10-08 Ulrich Drepper <drepper@gmail.com>
19219
7edb55ce
UD
19220 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19225 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19226 * math/Makefile (libm-calls): Add s_isinf_ns.
19227 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19228 * math/multc3.c: Likewise.
19229 * math/s_casin.c: Likewise.
19230 * math/s_casinf.c: Likewise.
19231 * math/s_casinl.c: Likewise.
19232 * math/s_ccos.c: Likewise.
19233 * math/s_ccosf.c: Likewise.
19234 * math/s_ccosl.c: Likewise.
19235 * math/s_ctan.c: Likewise.
19236 * math/s_ctanf.c: Likewise.
19237 * math/s_ctanh.c: Likewise.
19238 * math/s_ctanhf.c: Likewise.
19239 * math/s_ctanhl.c: Likewise.
19240 * math/s_ctanl.c: Likewise.
19241 * math/w_fmod.c: Likewise.
19242 * math/w_fmodf.c: Likewise.
19243 * math/w_fmodl.c: Likewise.
19244 * math/w_remainder.c: Likewise.
19245 * math/w_remainderf.c: Likewise.
19246 * math/w_remainderl.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19248 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19251 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19252 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19253 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19254 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19255
187da0ae
UD
19256 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19257 of the number.
19258 * stdio-common/printf_fphex.c: Likewise.
19259 * stdio-common/printf_size.c: Likewise.
19260
9277c064
UD
19261 * math/e_exp10.c: Include math_private.h using <...> not "...".
19262 * math/e_exp10f.c: Likewise.
19263 * math/e_exp10l.c: Likewise.
19264 * math/e_exp2l.c: Likewise.
19265 * math/e_j0l.c: Likewise.
19266 * math/e_j1l.c: Likewise.
19267 * math/e_jnl.c: Likewise.
19268 * math/e_lgammal_r.c: Likewise.
19269 * math/e_rem_pio2l.c: Likewise.
19270 * math/e_scalb.c: Likewise.
19271 * math/e_scalbf.c: Likewise.
19272 * math/e_scalbl.c: Likewise.
19273 * math/k_cosl.c: Likewise.
19274 * math/k_sinl.c: Likewise.
19275 * math/k_tanl.c: Likewise.
19276 * math/s_cacoshf.c: Likewise.
19277 * math/s_catan.c: Likewise.
19278 * math/s_catanf.c: Likewise.
19279 * math/s_catanh.c: Likewise.
19280 * math/s_catanhf.c: Likewise.
19281 * math/s_catanhl.c: Likewise.
19282 * math/s_catanl.c: Likewise.
19283 * math/s_ccosh.c: Likewise.
19284 * math/s_ccoshf.c: Likewise.
19285 * math/s_ccoshl.c: Likewise.
19286 * math/s_cexp.c: Likewise.
19287 * math/s_cexpf.c: Likewise.
19288 * math/s_cexpl.c: Likewise.
19289 * math/s_clog.c: Likewise.
19290 * math/s_clog10.c: Likewise.
19291 * math/s_clog10f.c: Likewise.
19292 * math/s_clog10l.c: Likewise.
19293 * math/s_clogf.c: Likewise.
19294 * math/s_clogl.c: Likewise.
19295 * math/s_csin.c: Likewise.
19296 * math/s_csinf.c: Likewise.
19297 * math/s_csinh.c: Likewise.
19298 * math/s_csinhf.c: Likewise.
19299 * math/s_csinhl.c: Likewise.
19300 * math/s_csinl.c: Likewise.
19301 * math/s_csqrt.c: Likewise.
19302 * math/s_csqrtf.c: Likewise.
19303 * math/s_csqrtl.c: Likewise.
19304 * math/s_ctan.c: Likewise.
19305 * math/s_ctanf.c: Likewise.
19306 * math/s_ctanh.c: Likewise.
19307 * math/s_ctanhf.c: Likewise.
19308 * math/s_ctanhl.c: Likewise.
19309 * math/s_ctanl.c: Likewise.
19310 * math/s_ldexp.c: Likewise.
19311 * math/s_ldexpf.c: Likewise.
19312 * math/s_ldexpl.c: Likewise.
19313 * math/s_significand.c: Likewise.
19314 * math/s_significandf.c: Likewise.
19315 * math/s_significandl.c: Likewise.
19316 * math/w_acos.c: Likewise.
19317 * math/w_acosf.c: Likewise.
19318 * math/w_acosh.c: Likewise.
19319 * math/w_acoshf.c: Likewise.
19320 * math/w_acoshl.c: Likewise.
19321 * math/w_acosl.c: Likewise.
19322 * math/w_asin.c: Likewise.
19323 * math/w_asinf.c: Likewise.
19324 * math/w_asinl.c: Likewise.
19325 * math/w_atan2.c: Likewise.
19326 * math/w_atan2f.c: Likewise.
19327 * math/w_atan2l.c: Likewise.
19328 * math/w_atanh.c: Likewise.
19329 * math/w_atanhf.c: Likewise.
19330 * math/w_atanhl.c: Likewise.
19331 * math/w_cosh.c: Likewise.
19332 * math/w_coshf.c: Likewise.
19333 * math/w_coshl.c: Likewise.
19334 * math/w_dremf.c: Likewise.
19335 * math/w_exp10.c: Likewise.
19336 * math/w_exp10f.c: Likewise.
19337 * math/w_exp10l.c: Likewise.
19338 * math/w_exp2.c: Likewise.
19339 * math/w_exp2f.c: Likewise.
19340 * math/w_fmod.c: Likewise.
19341 * math/w_fmodf.c: Likewise.
19342 * math/w_fmodl.c: Likewise.
19343 * math/w_hypot.c: Likewise.
19344 * math/w_hypotf.c: Likewise.
19345 * math/w_hypotl.c: Likewise.
19346 * math/w_j0.c: Likewise.
19347 * math/w_j0f.c: Likewise.
19348 * math/w_j0l.c: Likewise.
19349 * math/w_j1.c: Likewise.
19350 * math/w_j1f.c: Likewise.
19351 * math/w_j1l.c: Likewise.
19352 * math/w_jn.c: Likewise.
19353 * math/w_jnf.c: Likewise.
19354 * math/w_jnl.c: Likewise.
19355 * math/w_lgamma.c: Likewise.
19356 * math/w_lgamma_r.c: Likewise.
19357 * math/w_lgammaf.c: Likewise.
19358 * math/w_lgammaf_r.c: Likewise.
19359 * math/w_lgammal.c: Likewise.
19360 * math/w_lgammal_r.c: Likewise.
19361 * math/w_log.c: Likewise.
19362 * math/w_log10.c: Likewise.
19363 * math/w_log10f.c: Likewise.
19364 * math/w_log10l.c: Likewise.
19365 * math/w_log2.c: Likewise.
19366 * math/w_log2f.c: Likewise.
19367 * math/w_log2l.c: Likewise.
19368 * math/w_logf.c: Likewise.
19369 * math/w_logl.c: Likewise.
19370 * math/w_pow.c: Likewise.
19371 * math/w_powf.c: Likewise.
19372 * math/w_powl.c: Likewise.
19373 * math/w_remainder.c: Likewise.
19374 * math/w_remainderf.c: Likewise.
19375 * math/w_remainderl.c: Likewise.
19376 * math/w_scalb.c: Likewise.
19377 * math/w_scalbf.c: Likewise.
19378 * math/w_scalbl.c: Likewise.
19379 * math/w_sinh.c: Likewise.
19380 * math/w_sinhf.c: Likewise.
19381 * math/w_sinhl.c: Likewise.
19382 * math/w_sqrt.c: Likewise.
19383 * math/w_sqrtf.c: Likewise.
19384 * math/w_sqrtl.c: Likewise.
19385 * math/w_tgamma.c: Likewise.
19386 * math/w_tgammaf.c: Likewise.
19387 * math/w_tgammal.c: Likewise.
19388
6a621eb7
UD
19389 * po/ja.po: Update from translation team.
19390
bf582445
AJ
193912011-09-29 Andreas Jaeger <aj@suse.de>
19392
f9efbf3a
AJ
19393 [BZ #13179]
19394 * sunrpc/netname.c (netname2host): Fix logic.
19395
bf582445
AJ
19396 [BZ #6779]
19397 [BZ #6783]
19398 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19399 correctly.
19400 * math/w_remainder.c (__remainder): Likewise.
19401 * math/w_remainderf.c (__remainderf): Likewise.
19402 * math/libm-test.inc (remainder_test): Add test cases.
19403
48693bea
AK
194042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19405
19406 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19407 sdiv_qrnnd.
19408
42622229
LD
194092011-10-07 Ulrich Drepper <drepper@gmail.com>
19410
19411 * string/test-memcmp.c: Avoid unncessary #defines.
19412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19413
093ecf92
LD
194142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19415
19416 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19417 Use new sse2 version for core i3 - i7 as it's faster
19418 than sse42 version.
19419 (bit_Prefer_PMINUB_for_stringop): New.
19420 * sysdeps/x86_64/rawmemchr.S: Update.
19421 Replace with faster SSE2 version.
19422 * sysdeps/x86_64/memrchr.S: New file.
19423 * sysdeps/x86_64/memchr.S: Update.
19424 Replace with faster SSE2 version.
19425
fde56e5c
MP
194262011-09-12 Marek Polacek <mpolacek@redhat.com>
19427
19428 * elf/dl-load.c (lose): Add cast to avoid warning.
19429
21fd49a9
UD
194302011-10-07 Ulrich Drepper <drepper@gmail.com>
19431
5a06e643
UD
19432 * po/ca.po: Update from translation team.
19433
684ae515
UD
19434 * inet/getnetgrent_r.c: Hook up nscd.
19435 * nscd/Makefile (routines): Add nscd_netgroup.
19436 (nscd-modules): Add netgroupcache.
19437 (CFLAGS-netgroupcache.c): Define.
19438 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19439 (cache_search): Add const to second parameter.
19440 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19441 INNETGR.
19442 (dbs): Add netgrdb entry.
19443 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19444 (verify_persistent_db): Handle netgrdb.
19445 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19446 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19447 GETFDNETGR.
19448 (netgroup_response_header): Define.
19449 (innetgroup_response_header): Define.
19450 (datahead): Add netgroup_response_header and innetgroup_response_header
19451 elements.
19452 * nscd/nscd.conf: Add entries for netgroup cache.
19453 * nscd/nscd.h (dbtype): Add netgrdb.
19454 (_PATH_NSCD_NETGROUP_DB): Define.
19455 (netgroup_iov_disabled): Declare.
19456 (xmalloc, xcalloc, xrealloc): Move declarations here.
19457 (cache_search): Adjust prototype.
19458 Add netgroup-related prototypes.
19459 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19460 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19461 (__nscd_innetgr): Declare.
19462 * nscd/selinux.c (perms): Use access_vector_t as element type and
19463 add netgroup-related initializers.
19464 * nscd/netgroupcache.c: New file.
19465 * nscd/nscd_netgroup.c: New file.
19466 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19467 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19468 For four parameters use innetgr.
19469 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19470 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19471 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19472 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19473
21fd49a9
UD
19474 * nscd/connections.c (register_traced_file): Don't register file
19475 for disabled databases.
19476
054c0457
UD
194772011-10-06 Ulrich Drepper <drepper@gmail.com>
19478
32b63198
UD
19479 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19480
054c0457
UD
19481 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19482 from tree and freeing node.
19483
64031225
JO
194842011-09-25 Jiri Olsa <jolsa@redhat.com>
19485
19486 * nss/nsswitch.c (__nss_database_lookup): Handle
19487 nss_parse_service_list out of memory case.
19488
0490345c
JO
194892011-09-15 Jiri Olsa <jolsa@redhat.com>
19490
19491 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19492 out of memory case.
19493
3a62d00d
AS
194942011-10-04 Andreas Schwab <schwab@redhat.com>
19495
19496 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19497 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19498 pass it down.
19499 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19500 elf_machine_rela, elf_machine_lazy_rel.
19501 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19502 (ELF_DYNAMIC_DO_REL): Likewise.
19503 (ELF_DYNAMIC_DO_RELA): Likewise.
19504 (ELF_DYNAMIC_RELOCATE): Likewise.
19505 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19506 to ELF_DYNAMIC_DO_REL.
19507 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19508 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19509 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19510 elf_machine_rela.
19511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19512 skip_ifunc, don't call ifunc function if non-zero.
19513 (elf_machine_rela): Likewise.
19514 (elf_machine_lazy_rel): Likewise.
19515 (elf_machine_lazy_rela): Likewise.
19516 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19517 (elf_machine_lazy_rel): Likewise.
19518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19519 Likewise.
19520 (elf_machine_lazy_rel): Likewise.
19521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19522 Likewise.
19523 (elf_machine_lazy_rel): Likewise.
19524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19525 (elf_machine_lazy_rel): Likewise.
19526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19527 (elf_machine_lazy_rel): Likewise.
19528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19529 (elf_machine_lazy_rel): Likewise.
19530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19531 (elf_machine_lazy_rel): Likewise.
19532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19533 (elf_machine_lazy_rel): Likewise.
19534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19535 (elf_machine_lazy_rel): Likewise.
19536
68577918
UD
195372011-09-28 Ulrich Drepper <drepper@gmail.com>
19538
19539 * nss/nss_files/files-init.c (_nss_files_init): Use static
19540 initialization for all the *_traced_file variables.
19541
68822d74
AS
195422011-09-28 Andreas Schwab <schwab@redhat.com>
19543
19544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19545
2056100b
RM
195462011-09-27 Roland McGrath <roland@hack.frob.com>
19547
19548 [BZ #13226]
19549 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19550
32c76b63
AS
195512011-09-27 Andreas Schwab <schwab@redhat.com>
19552
19553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19554 Reread the line before reparsing it.
19555
bf972c9d
AS
195562011-09-26 Andreas Schwab <schwab@redhat.com>
19557
19558 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19559
e057a1b5
JM
195602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19561 Maxim Kuvyrkov <maxim@codesourcery.com>
19562 Joseph Myers <joseph@codesourcery.com>
19563
19564 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19565 if needed for __stack_chk_guard.
19566
bc7e1c36
RM
195672011-09-19 Roland McGrath <roland@hack.frob.com>
19568
ecb1482f
RM
19569 * sysdeps/posix/spawni.c (script_execute): Always define it.
19570 It will be optimized away if unused.
19571 (maybe_script_execute): New function.
19572 (__spawni): Call it.
19573
bc7e1c36
RM
19574 * Makerules: Don't include tls.make.
19575 (config-tls): Always set to thread.
19576 * tls.make.c: File removed.
19577
1c3b002b
MF
195782011-09-19 Mike Frysinger <vapier@gentoo.org>
19579
19580 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19581 * config.make.in (CPPFLAGS-config): New substituted variable.
19582
2840865d
UD
195832011-09-15 Ulrich Drepper <drepper@gmail.com>
19584
88738eb6
UD
19585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19586
cbf645a6 19587 [BZ #13192]
2840865d
UD
19588 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19589 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19590
b402e91a
RM
195912011-09-15 Roland McGrath <roland@hack.frob.com>
19592
19593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19594 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19596 (CALL_FAIL): Likewise.
19597 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19598 (CALL_FAIL): Macro removed.
19599 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19600
4c1a1f71
UD
196012011-09-15 Ulrich Drepper <drepper@gmail.com>
19602
19603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19604 for __FINITE_MATH_ONLY__ == 1.
19605
edc121be
AS
196062011-09-15 Andreas Schwab <schwab@redhat.com>
19607
19608 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19609 __ieee754_sqrt instead of sqrt.
19610 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19611 __ieee754_sqrtf instead of sqrtf.
19612 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19613 __floorf instead of floorf.
19614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19615 __floorf, __truncf instead of floorf, truncf.
19616
cd205654
UD
196172011-09-14 Ulrich Drepper <drepper@gmail.com>
19618
ee4d0315
UD
19619 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19620
cd205654
UD
19621 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19622 __extern_always_inline.
19623 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19624 32-bit.
19625
48b67d71
AS
196262011-09-14 Andreas Schwab <schwab@redhat.com>
19627
19628 * elf/rtld.c (dl_main): Also relocate in dependency order when
19629 doing symbol dependency testing.
19630
1ae12c75
AS
196312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19632
19633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19634 Always define `refsym'.
19635
995a80df
AS
196362011-09-13 Andreas Schwab <schwab@redhat.com>
19637
e529793b
AS
19638 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19639 (__FD_ELT): Renamed from __FDELT.
19640 * misc/bits/select2.h (__FD_ELT): Likewise.
19641 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19642 __FD_MASK instead of __FDELT, __FDMASK.
19643 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19644 Likewise.
19645 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19646 Likewise.
19647
52d4fef8
AS
19648 * elf/Makefile (gen-ldd): Fix pattern.
19649
995a80df
AS
19650 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19651 (init_tls): Likewise.
19652
8682f8b0
UD
196532011-09-12 Ulrich Drepper <drepper@gmail.com>
19654
19655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19656
de82006d
AS
196572011-09-12 Andreas Schwab <schwab@redhat.com>
19658
a7c8e6a1
AS
19659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19660 `struct cmsghdr *' instead of `void *'.
19661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19662 Likewise.
19663
0f31fe77
AS
196642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19665
19666 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19667 if non-absolute.
19668 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19669 ldd_rewrite_script.
0f31fe77 19670
32b4c839
UD
196712011-09-11 Ulrich Drepper <drepper@gmail.com>
19672
83cd1420
UD
19673 * configure.in: Remove --with-tls option.
19674 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19675 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19676 out in case it is missing.
19677 * sysdeps/ia64/elf/configure.in: Likewise.
19678 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19679 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19680 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19681 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19682 * sysdeps/sh/elf/configure.in: Likewise.
19683 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19685 * sysdeps/x86_64/elf/configure.in: Likewise.
19686 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19687 * sysdeps/mach/hurd/tls.h: Likewise.
19688
633f745d
UD
19689 [BZ #13067]
19690 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19691
f318beb8
UD
19692 [BZ #13090]
19693 * configure.in: Fix use of AC_INIT.
19694
32b4c839
UD
19695 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19696
3ce1f295
UD
196972011-09-10 Ulrich Drepper <drepper@gmail.com>
19698
bb016596
UD
19699 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19700 __set_errno.
8e58439c
UD
19701 * malloc/hooks.c: Likewise.
19702
aebae053 19703 [BZ #11929]
02d46fc4
UD
19704 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19705 variables statically.
19706 (narenas): Initialize.
19707 (list_lock): Initialize.
bb016596
UD
19708 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19709 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19710 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19711 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19712 Add initializers to main_arena and mp_.
19713 (malloc_state): Remove pagesize member. Change all users to use
19714 GLRO(dl_pagesize).
19715
19716 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19717 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19718 is always initialized.
19719
22a89187
UD
19720 * malloc/malloc.c: Removed unused configurations and dead code.
19721 * malloc/arena.c: Likewise.
19722 * malloc/hooks.c: Likewise.
02d46fc4 19723 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19724
d063d164
UD
19725 * include/tls.h: Removed. USE___THREAD must always be defined.
19726 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19727 * elf/dl-libc.c: Likewise.
19728 * elf/dl-tsd.c: Likewise.
19729 * include/errno.h: Likewise.
19730 * include/netdb.h: Likewise.
19731 * include/resolv.h: Likewise.
19732 * inet/herrno-loc.c: Likewise.
19733 * inet/herrno.c: Likewise.
19734 * malloc/arena.c: Likewise.
19735 * malloc/hooks.c: Likewise.
19736 * malloc/malloc.c: Likewise.
19737 * resolv/res-state.c: Likewise.
19738 * resolv/res_libc.c: Likewise.
19739 * sysdeps/i386/dl-machine.h: Likewise.
19740 * sysdeps/ia64/dl-machine.h: Likewise.
19741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19745 * sysdeps/sh/dl-machine.h: Likewise.
19746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19748 * sysdeps/unix/i386/sysdep.S: Likewise.
19749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19750 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19755 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19760 * sysdeps/x86_64/dl-machine.h: Likewise.
19761 * tls.make.c: Likewise.
19762
3ce1f295
UD
19763 * configure.in: Remove --with-__thread option. Make tests for
19764 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19765 tls_model attribute fail if no support is available. Remove
19766 USE_IN_LIBIO.
19767 * Makeconfig: Adjust for dropped configure option. All features are
19768 now mandatory.
19769 * Makerules: Likewise.
19770 * Versions.def: Likewise.
19771 * argp/argp-fmtstream.c: Likewise.
19772 * argp/argp-fmtstream.h: Likewise.
19773 * argp/argp-help.c: Likewise.
19774 * assert/assert.c: Likewise.
19775 * config.h.in: Likewise.
19776 * config.make.in: Likewise.
19777 * configure: Likewise.
19778 * configure.in: Likewise.
19779 * csu/Versions: Likewise.
19780 * csu/init.c: Likewise.
19781 * elf/tst-audit2.c: Likewise.
19782 * elf/tst-tls10.c: Likewise.
19783 * elf/tst-tls10.h: Likewise.
19784 * elf/tst-tls11.c: Likewise.
19785 * elf/tst-tls12.c: Likewise.
19786 * elf/tst-tls14.c: Likewise.
19787 * elf/tst-tlsmod11.c: Likewise.
19788 * elf/tst-tlsmod12.c: Likewise.
19789 * elf/tst-tlsmod13.c: Likewise.
19790 * elf/tst-tlsmod13a.c: Likewise.
19791 * elf/tst-tlsmod14a.c: Likewise.
19792 * elf/tst-tlsmod15b.c: Likewise.
19793 * elf/tst-tlsmod16a.c: Likewise.
19794 * elf/tst-tlsmod16b.c: Likewise.
19795 * elf/tst-tlsmod7.c: Likewise.
19796 * elf/tst-tlsmod8.c: Likewise.
19797 * elf/tst-tlsmod9.c: Likewise.
19798 * gmon/gmon.c: Likewise.
19799 * grp/fgetgrent_r.c: Likewise.
19800 * grp/putgrent.c: Likewise.
19801 * hurd/fopenport.c: Likewise.
19802 * include/libc-symbols.h: Likewise.
19803 * include/tls.h: Likewise.
19804 * intl/gettextP.h: Likewise.
19805 * intl/loadinfo.h: Likewise.
19806 * locale/global-locale.c: Likewise.
19807 * locale/localeinfo.h: Likewise.
19808 * mach/devstream.c: Likewise.
19809 * malloc/arena.c: Likewise.
19810 * malloc/set-freeres.c: Likewise.
19811 * misc/err.c: Likewise.
19812 * misc/getttyent.c: Likewise.
19813 * misc/mntent_r.c: Likewise.
19814 * posix/getopt.c: Likewise.
19815 * posix/wordexp.c: Likewise.
19816 * pwd/fgetpwent_r.c: Likewise.
19817 * resolv/Versions: Likewise.
19818 * resolv/res_hconf.c: Likewise.
19819 * shadow/fgetspent_r.c: Likewise.
19820 * shadow/putspent.c: Likewise.
19821 * stdio-common/printf_fphex.c: Likewise.
19822 * stdio-common/tmpfile.c: Likewise.
19823 * stdlib/abort.c: Likewise.
19824 * stdlib/fmtmsg.c: Likewise.
19825 * sunrpc/auth_unix.c: Likewise.
19826 * sunrpc/clnt_perr.c: Likewise.
19827 * sunrpc/clnt_tcp.c: Likewise.
19828 * sunrpc/clnt_udp.c: Likewise.
19829 * sunrpc/clnt_unix.c: Likewise.
19830 * sunrpc/openchild.c: Likewise.
19831 * sunrpc/svc_simple.c: Likewise.
19832 * sunrpc/svc_tcp.c: Likewise.
19833 * sunrpc/svc_udp.c: Likewise.
19834 * sunrpc/svc_unix.c: Likewise.
19835 * sunrpc/xdr.c: Likewise.
19836 * sunrpc/xdr_array.c: Likewise.
19837 * sunrpc/xdr_rec.c: Likewise.
19838 * sunrpc/xdr_ref.c: Likewise.
19839 * sunrpc/xdr_stdio.c: Likewise.
19840
1248c1c4
PB
198412011-09-09 Ulrich Drepper <drepper@gmail.com>
19842
19843 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19844
198452011-07-03 Andreas Jaeger <aj@suse.de>
19846
19847 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19849 regenerate with gen-libm-tests.pl.
19850
198512010-05-12 Petr Baudis <pasky@suse.cz>
19852
19853 [BZ #11589]
19854 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19855 around j0() zero points by switching to j1().
19856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19860
f22e1074
UD
198612011-09-09 Ulrich Drepper <drepper@gmail.com>
19862
f19009c1
UD
19863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19864 instead of 0.
19865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19866 instead of 0.
f19009c1
UD
19867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19868 Patch in part by Pavel Roskin <proski@gnu.org>.
19869
3f8cc204
UD
19870 [BZ #13138]
19871 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19872 realloc.
19873 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19874 Free memory block if necessary.
19875
f22e1074
UD
19876 [BZ #12847]
19877 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19878 be NULL. Don't lock in this case.
19879
0a2349f9
RM
198802011-09-09 Roland McGrath <roland@hack.frob.com>
19881
19882 * elf/elf.h (ELFOSABI_GNU): New macro.
19883 (ELFOSABI_LINUX): Define to that.
19884
f3cdd467
DZ
198852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19886
19887 * string/strncat.c (strncat): Undef the symbol in case it has been
19888 defined in bits/string.h.
19889
74718d13
UD
198902011-09-09 Ulrich Drepper <drepper@gmail.com>
19891
633e9e0f
UD
19892 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19893
0a2349f9 19894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19895 link map.
19896
f9924780
AJ
198972011-08-17 Andreas Jaeger <aj@suse.de>
19898
19899 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19900
7f5517aa
PP
199012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19902 Ian Lance Taylor <iant@google.com>
19903
19904 * math/libm-test.inc (lround_test): New testcase.
19905 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19906
762011fe
UD
199072011-09-08 Ulrich Drepper <drepper@gmail.com>
19908
92963737
UD
19909 * Makefile: Remove support for automatic cvs check-ins.
19910 * Makerules: Likewise.
19911 * config.make.in: Likewise.
19912 * configure.in: Likewise.
19913 * intl/Makefile: Likewise.
19914 * locale/Makefile: Likewise.
19915 * po/Makefile: Likewise.
19916 * posix/Makefile: Likewise.
19917 * sysdeps/gnu/Makefile: Likewise.
19918 * sysdeps/mach/hurd/Makefile: Likewise.
19919 * sysdeps/sparc/sparc32/Makefile: Likewise.
19920
b0727fd8
JS
19921 [BZ #13118]
19922 * posix/Makefile (bug-regex32-ENV): Define.
19923 Patch by John Stanley <jpsinthemix@verizon.net>.
19924
a0f33f99
UD
19925 * misc/Makefile (headers): Add bits/select2.h.
19926 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19927 * misc/bits/select2.h: New file.
19928 * include/bits/select2.h: New file.
19929 * debug/Makefile (routines): Add fdelt_chk.
19930 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19931 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19932 FD_ISSET.
19933 * debug/fdelt_chk.c: New file.
19934
762011fe
UD
19935 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19936 * wcsmbs/test-wmemcmp.c: Likewise.
19937 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19938 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19939
199402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19941
19942 * string/Makefile (strop-tests): Add memcmp.
19943 * string/test-wmemcmp.c: New file.
19944 * string/test-memcmp.c: Add wmemcmp support.
19945
7f513ec8
RM
199462011-09-08 Roland McGrath <roland@hack.frob.com>
19947
0442afb4
RM
19948 [BZ #13153]
19949 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19950 2011-07-19 change.
19951
7f513ec8
RM
19952 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19953 garbage value in a __mach_port_mod_refs call in the cases of the
19954 task-self and thread-self ports.
19955
a12b2239
ST
199562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19957
19958 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19959
610f9ab4
AS
199602011-09-08 Andreas Schwab <schwab@redhat.com>
19961
7f513ec8 19962 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19963
48882a1a
LD
199642011-09-07 Ulrich Drepper <drepper@gmail.com>
19965
b49865be
UD
19966 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19967
fdc86bc9
UD
19968 * elf/dl-libc.c (dlerror_run): Pass back error code from
19969 dl_catch_error.
19970
c966526a
UD
19971 [BZ #13123]
19972 * elf/dl-load.c (lose): Free l_origin if it is valid.
19973
48882a1a
LD
19974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19975 names.
19976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19981 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19982
77a2a8b4
AZ
199832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19984
19985 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19986 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19989 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19990 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19991 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19992 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19993 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19994 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19995
24f579d8
AM
199962011-08-15 Alan Modra <amodra@gmail.com>
19997
19998 [BZ #13092]
19999 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20000 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20001 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20002 ppc_mcount to static-only-routines.
20003 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20004 __mcount_internal.
20005 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20006 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20007
3d4837df
UD
200082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20009
20010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20011 for finite and infinity parameters.
20012
22700377
WS
200132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20014
20015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20016 and add nop instructions for throughput optimization.
20017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20018
5025581e
WS
200192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20020
20021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20022 aligned copy for power7 with vector-scalar instructions.
20023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20024
08a300c9
L
200252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20026
20027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20028 AVX check.
20029
59178ef9
AS
200302011-09-07 Andreas Schwab <schwab@redhat.com>
20031
20032 [BZ #13144]
20033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20034 last change.
20035
e38ba7ab
UD
200362011-09-07 Ulrich Drepper <drepper@gmail.com>
20037
20038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20039 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20040 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20041 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20042 clock_gettime.
20043
d53a73ac
UD
200442011-09-06 Ulrich Drepper <drepper@gmail.com>
20045
fc8bffcc
UD
20046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20047 Forgot to demangle the pointer.
20048
ceaa0c5d
UD
20049 * sysdeps/i386/sysdep.h: Define atom_text_section.
20050 * sysdeps/x86_64/sysdep.h: Likewise.
20051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20052 section with atom_text_section.
20053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20058
a77d3c17
UD
20059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20061 already be defined. Change to take two parameters and don't assign
20062 result to variable. Adjust all users.
20063 Define INTERNAL_GETTIME if not already defined.
20064 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20065 call.
20066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20067 HAVE_CLOCK_GETTIME_VSYSCALL.
20068 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20069
d53a73ac
UD
20070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20071 gettimeofday vsyscall, just use time.
20072
a8f84144
AS
200732011-09-06 Andreas Schwab <schwab@redhat.com>
20074
20075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20076 <errno.h>.
20077
ef606249
UD
200782011-09-06 Ulrich Drepper <drepper@gmail.com>
20079
20080 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20081 syscall on x86-64.
20082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20083 syscall.
20084 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20086 syscall if possible.
20087
6585cb60
UD
200882011-09-05 Ulrich Drepper <drepper@gmail.com>
20089
20090 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20091 e_ident. Don't pass to find_mapsXX.
20092 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20093
a5f524e4
LD
200942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20095
20096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20097 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20098 * sysdeps/x86_64/multiarch/strchr.S: Update.
20099 Check bit_slow_BSF bit.
20100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20103
554881ef
UD
201042011-09-05 Ulrich Drepper <drepper@gmail.com>
20105
d96de963
UD
20106 [BZ #13134]
20107 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20108 before glibc 2.15.
20109 (tryshell): Define.
20110 (__spawni): Change last parameter to be flag. Test
20111 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20112 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20113 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20114 * posix/spawni.c: Likewise.
20115 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20116 * posix/spawnp.c: Likewise. Change normal version to use
20117 SPAWN_XFLAGS_USE_PATH.
20118 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20119 SPAWN_XFLAGS_TRY_SHELL.
20120
d48e5868
UD
20121 [BZ #13150]
20122 * posix/glob.h: Remove gcc 1.x support.
20123
554881ef
UD
20124 [BZ #13068]
20125 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20126
693fb948
LD
201272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20128
20129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20130 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20131 strrchr-sse2-bsf
20132 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20133 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20138
1b48c537
UD
201392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20140
49d42c37
UD
20141 * sysdeps/x86_64/wcscmp.S: New file.
20142
1b48c537
UD
20143 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20144 wcscmp-c wcscmp-sse2
20145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20146 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20147 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20148 * wcsmbs/wcscmp.c: Allow renaming.
20149
15c95c5d
DM
201502011-09-05 David S. Miller <davem@davemloft.net>
20151
20152 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20153 stack slot, rather than the struct return pointer slot.
20154 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20155 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20157 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20158
2f0ad8f3
UD
201592011-09-05 Ulrich Drepper <drepper@gmail.com>
20160
d88ae418
UD
20161 * po/ja.po: Update from translation team.
20162
2f0ad8f3
UD
20163 [BZ #13144]
20164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20165 kernel in 64-bit binaries.
20166
5f4318d1
DM
201672011-09-01 David S. Miller <davem@davemloft.net>
20168
20169 * elf/elf.h (HWCAP_SPARC_*): Move to..
20170 * sysdeps/sparc/sysdep.h: this new file and add new values.
20171 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20172 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20173 _DL_HWCAP_COUNT to 24.
20174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20175 entries.
20176 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20177 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20178 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20180 instead of magic constants.
20181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20182
3ba57516
DM
201832011-08-31 David S. Miller <davem@davemloft.net>
20184
20185 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20187 Reimplement to do errno handling inline.
20188 (SYSCALL_ERROR_HANDLER): New macro.
20189 (__SYSCALL_STRING): Do not do errno handling in asm.
20190 (__CLONE_SYSCALL_STRING): Delete.
20191 (__INTERNAL_SYSCALL_STRING): Delete.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20193 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20194 (PSEUDO): Reimplement to do errno handling inline.
20195 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20196 (SYSCALL_ERROR_HANDLER): New macro.
20197 (__SYSCALL_STRING): Do not do errno handling in asm.
20198 (__CLONE_SYSCALL_STRING): Delete.
20199 (__INTERNAL_SYSCALL_STRING): Delete.
20200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20201 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20202 i386.
20203 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20204 (inline_syscall*): Add 'err' argument.
20205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20206 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20207 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20208 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20209
20210 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20212
2bc17433
AS
202132011-08-30 Andreas Schwab <schwab@redhat.com>
20214
20215 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20216
fbeb5f4d
JO
202172011-08-29 Jiri Olsa <jolsa@redhat.com>
20218
20219 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20220 directive.
20221
ad69cc26
DM
202222011-08-24 David S. Miller <davem@davemloft.net>
20223
20224 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20225
39dd69df
AS
202262011-08-24 Andreas Schwab <schwab@redhat.com>
20227
20228 * elf/Makefile: Add rules to build and run unload8 test.
20229 * elf/unload8.c: New file.
20230 * elf/unload8mod1.c: New file.
20231 * elf/unload8mod1x.c: New file.
20232 * elf/unload8mod2.c: New file.
20233 * elf/unload8mod3.c: New file.
20234
20235 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20236 it wasn't used.
20237
2c0b250a
DM
202382011-08-23 David S. Miller <davem@davemloft.net>
20239
20240 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20241 subtract stack bias.
20242 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20243 %sp not %fp in calculations.
20244 (_JMPBUF_UNWINDS_ADJ): Likewise.
20245
22044b48
DM
20246 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20247 (aio_suspend): Call it to force an exception region around the
20248 AIO_MISC_WAIT() invocation.
20249
2cae4995
AS
202502011-08-23 Andreas Schwab <schwab@redhat.com>
20251
20252 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20253 backslash.
20254
873a772e
AJ
202552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20256
20257 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20258 protection macro.
20259 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20260 and <dl-machine.h>.
20261 (Elf64_FuncDesc): Remove.
20262
25ad0df1
DM
202632011-08-22 David S. Miller <davem@davemloft.net>
20264
20265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20266 sigaltstack check, add missing cfi directives.
20267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20268 missing cfi directives, and sigaltstack handling.
20269
e888bcbe
AS
202702011-08-16 Andreas Schwab <schwab@redhat.com>
20271
20272 [BZ #11724]
20273 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20274 object is seen twice.
20275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20276
20277 * elf/Makefile (distribute): Add tst-initorder2.c.
20278 (tests): Add tst-initorder2.
20279 (modules-names): Add tst-initorder2a tst-initorder2b
20280 tst-initorder2c tst-initorder2d. Add rules to build them.
20281 ($(objpfx)tst-initorder2.out): New rule.
20282 * elf/tst-initorder2.c: New file.
20283 * elf/tst-initorder2.exp: New file.
20284
87162f46
AS
202852011-08-22 Andreas Schwab <schwab@redhat.com>
20286
70538b7f
AS
20287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20288
f55ffe58
AS
20289 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20290 dependencies back to end of function.
20291
87162f46
AS
20292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20293 $(elfobjdir)/ld.so.
20294
91b392a4
UD
202952011-08-21 Ulrich Drepper <drepper@gmail.com>
20296
20297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20298 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20300 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20301 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20302 of __vdso_gettimeofday.
20303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20304 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20305 attribute_hidden.
20306 (_libc_vdso_platform_setup): Remove initialization of
20307 __vdso_gettimeofday and __vdso_time.
20308
5c43483f
UD
203092011-08-20 Ulrich Drepper <drepper@gmail.com>
20310
775a77e7
UD
20311 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20312 and fgetc_unlocked.
20313 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20314 getc_unlocked.
89f447ed 20315
49c74ba9
UD
20316 * elf/dl-open.c (add_to_global): Report additions to the global scope
20317 for LD_DEBUG=scopes.
20318 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20319 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20320
5c43483f
UD
20321 [BZ #13114]
20322 * stdio-common/Makefile (tests): Add bug24.
20323 * stdio-common/bug24.c: New file.
20324
a101b025
AJ
203252011-08-19 Andreas Jaeger <aj@suse.de>
20326
20327 [BZ #13114]
20328 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20329 non-existant file when using close-on-exec mode.
20330
c88f1766
UD
203312011-08-20 Ulrich Drepper <drepper@gmail.com>
20332
0276a718
UD
20333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20334 the very first instruction.
20335
c88f1766
UD
20336 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20337 the CFI state in the end.
20338 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20339 inclusion of dl-trampoline.h.
20340 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20341
51ccffa0
AS
203422011-08-19 Andreas Schwab <schwab@redhat.com>
20343
94d7165f
AS
20344 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20345 expectations for long double.
20346
51ccffa0
AS
20347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20348 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20349
fd708658 203502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20351
20352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20353 artificual limit depends upon the system page size.
20354
44f0a71e
UD
203552011-08-17 Ulrich Drepper <drepper@gmail.com>
20356
20357 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20358 * resolv/Makefile: Define CFLAGS-libresolv.
20359
8de79a24
AS
203602011-08-17 Andreas Schwab <schwab@redhat.com>
20361
20362 * nss/makedb.c (compute_tables): Make variables used in nested
20363 function static.
20364
27724598
UD
203652011-08-17 Ulrich Drepper <drepper@gmail.com>
20366
c5305d88
UD
20367 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20368 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20369 if buffer was too small.
20370
27724598
UD
20371 * elf/pldd.c (main): Attach to all threads in the process.
20372 Rewrite /proc handling to use *at functions.
20373
076fe015
UD
203742011-08-16 Ulrich Drepper <drepper@gmail.com>
20375
174baab3
UD
20376 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20377 specifies first scope to show.
20378 (dl_open_worker): Update callers. Move printing scope of new
20379 object to before the relocation.
44f0a71e 20380 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20381 * sysdeps/generic/ldsodefs.h: Update declaration.
20382
076fe015
UD
20383 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20384 string for the scope number.
20385
a60df2c3
UD
203862011-08-14 Ulrich Drepper <drepper@gmail.com>
20387
20388 * nscd/servicescache.c (cache_addserv): Make sure written is always
20389 initialized.
20390
5e4287d1
RM
203912011-08-14 Roland McGrath <roland@hack.frob.com>
20392
85ae0589
RM
20393 * sysdeps/i386/i486/bits/atomic.h
20394 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20395 statement expression, so as to suppress "set but not used" warning.
20396 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20397
69f63097
RM
20398 * string/strncat.c (STRNCAT): Use prototype definition.
20399
675456ef
RM
20400 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20401 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20402 -Iprograms here.
20403 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20404 (localedef-modules): Add localedef.
20405 (locale-modules): Add locale.
20406
5e4287d1
RM
20407 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20408 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20409 to avoid a warning.
20410
9c96ff23
DM
204112011-08-14 David S. Miller <davem@davemloft.net>
20412
20413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20414 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20415
f9ddf089
UD
204162011-08-13 Ulrich Drepper <drepper@gmail.com>
20417
44f0a71e 20418 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20419 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20420 * elf/rtld.c (dl_main): Set l_name of vDSO.
20421 Call _dl_show_scope when DL_DEBUG_SCOPES.
20422 (process_dl_debug): Recognize scopes flag and also set it for all.
20423 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20424 Declare _dl_show_scope.
20425
1dc27704
UD
20426 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20427 (do_dlopen): Pass caller_dlopen to dl_open.
20428 (__libc_dlopen_mode): Initialize caller_dlopen.
20429
f9ddf089
UD
20430 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20431 of libc. Make tolower call locale-independent. Optimize a bit by
20432 using isdigit instead of isalnum.
20433 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20434
9ac533d3
UD
204352011-08-12 Ulrich Drepper <drepper@gmail.com>
20436
20437 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20438 was a dependency or dynamically loaded.
20439
89edf2e9
UD
204402011-08-11 Ulrich Drepper <drepper@gmail.com>
20441
8e999d29
UD
20442 * intl/l10nflist.c: Allow architecture-specific pop function.
20443 * sysdeps/x86_64/l10nflist.c: New file.
20444
89edf2e9
UD
20445 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20446 classification.
20447
14d96785
AS
204482011-08-10 Andreas Schwab <schwab@redhat.com>
20449
20450 * include/dirent.h: Add libc_hidden_proto for scandirat and
20451 scandirat64. Don't declare __scandirat64.
20452 * dirent/scandirat.c: Add libc_hidden_def.
20453 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20454 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20455
6761ac04
DM
204562011-08-10 David S. Miller <davem@davemloft.net>
20457
20458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20459 enum.
20460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20463
c55fbd1e
UD
204642011-08-09 Ulrich Drepper <drepper@gmail.com>
20465
20466 * Versions.def [libc]: Add GLIBC_2.15.
20467 * dirent/Makefile (routines): Add scandirat and scandirat64.
20468 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20469 GLIBC_2.15.
20470 * dirent/dirent.h: Declare scandirat and scandirat64.
20471 * dirent/scandirat.c: New file.
20472 * dirent/scandirat64.c: New file.
20473 * sysdeps/wordsize-64/scandirat.c: New file.
20474 * sysdeps/wordsize-64/scandirat64.c: New file.
20475 * dirent/opendir.c: Define opendirat.
20476 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20477 using scandirat.
20478 * dirent/scandir64.c: Adjust for scandir.c change.
20479 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20480 __scandirat64, and __scandir_cancel_handler.
20481 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20482 additional parameter and use openat instead of open (outside of ld.so).
20483 Add new __opendir as wrapper around __opendirat.
20484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20485 here without requiring old scandirat implementation.
20486
879165f2
UD
204872011-08-08 Ulrich Drepper <drepper@gmail.com>
20488
20489 * dirent/scandir.c (cancel_handler): Renamed to
20490 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20491 defined. Adjust users.
20492 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20494
cb7e923b
UD
204952011-08-04 Ulrich Drepper <drepper@gmail.com>
20496
16292edd
UD
20497 * string/test-string.h (IMPL): Use __STRING to expand name and then
20498 stringify it.
20499
cb7e923b
UD
20500 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20501 of cleanups.
20502
cff82933
LD
205032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20504
20505 * string/Makefile: Update.
20506 (strop-tests): Append strncat.
20507 * string/test-wcscmp.c: New file.
20508 New comprehensive test for wcscmp.
20509 * string/test-strcmp.c: Update.
20510 (WIDE): New define.
20511
9be9bfcc
AS
205122011-07-22 Andreas Schwab <schwab@redhat.com>
20513
20514 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20515 line.
20516
2e96f1c7
AS
205172011-07-26 Andreas Schwab <schwab@redhat.com>
20518
20519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20520 encoding to ACE if AI_IDN.
20521
85188888
JJ
205222011-08-01 Jakub Jelinek <jakub@redhat.com>
20523
20524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20525 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20526
5fa16e9b
LD
205272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20528
20529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20530 Fix overflow bug in strncat.
20531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20532
20533 * string/test-strncat.c: Update.
20534 Add new tests for checking overflow bugs.
20535
205362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20537
20538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20539 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20540 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20541 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20543 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20544 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20545 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20546 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20547
20548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20549 (USE_AS_STRCAT): Define.
20550 Add strcat and strncat support.
20551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20552
8c1a459f
AS
205532011-07-25 Andreas Schwab <schwab@redhat.com>
20554
20555 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20556 __n bigger than INT_MAX+1.
20557 (__strncmp_g): Likewise.
20558
bba33c28
UD
205592011-07-23 Ulrich Drepper <drepper@gmail.com>
20560
798be72d
UD
20561 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20562 * libio/stido.h: Likewise.
20563
8accd4dc
UD
20564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20565 (AF_NFC): Define.
20566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20567 (AF_NFC): Define.
20568
cbff0d96
UD
20569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20574
9191c04a
UD
20575 [BZ #13021]
20576 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20577 installed.
20578
bba33c28
UD
20579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20580 typo.
20581 (_dl_x86_64_save_sse): Likewise.
20582
90f139dd
UD
205832011-07-22 Ulrich Drepper <drepper@gmail.com>
20584
1aae088a
UD
20585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20586 OSXSAVE.
20587 (_dl_x86_64_save_sse): Likewise.
20588
8e2045f5
UD
20589 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20590
90f139dd
UD
20591 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20592
1d002f25
AS
205932011-07-21 Andreas Schwab <schwab@redhat.com>
20594
20595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20596 change.
20597 (_dl_x86_64_save_sse): Use correct AVX check.
20598
21137f89
UD
205992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20600
20601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20602 bug in strncpy/strncat.
20603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20604
a65c0b7a
UD
206052011-07-21 Ulrich Drepper <drepper@gmail.com>
20606
20607 * string/tester.c (test_strcat): Add tests for different alignments
20608 of source and destination.
20609 (test_strncat): Likewise.
20610
6986b98a
UD
206112011-07-20 Ulrich Drepper <drepper@gmail.com>
20612
90bb2039
UD
20613 [BZ #12852]
20614 * posix/glob.c (glob): Check passed in values before using them in
20615 expressions to avoid some overflows.
20616 (glob_in_dir): Likewise.
20617
5644ef54
UD
20618 [BZ #13007]
20619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20620 check for AVX enablement so that we don't crash with old kernels and
20621 new hardware.
20622 * elf/tst-audit4.c: Add same checks here.
20623 * elf/tst-audit6.c: Likewise.
20624
20625 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20626
bfc9dc9b
AS
206272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20628
20629 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20630
702e64bb
UD
206312011-07-20 Ulrich Drepper <drepper@gmail.com>
20632
20633 * po/cs.po: Update from translation team.
20634 * po/bg.po: Likewise.
20635
295e904f
MP
206362011-07-12 Marek Polacek <mpolacek@redhat.com>
20637
20638 * misc/sys/cdefs.h: Add support for const attribute.
20639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20640 to gnu_dev_{major,minor,makedev} functions.
20641
3ff94596
MP
206422011-07-20 Marek Polacek <mpolacek@redhat.com>
20643
20644 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20645
28b59fca
AS
206462011-07-20 Andreas Schwab <schwab@redhat.com>
20647
20648 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20649 strlen results.
20650
19df733e
AK
206512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20652
20653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20654 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20655 register in order to avoid conflicts with the soft frame pointer
20656 being held in r11 when necessary.
20657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20658 (INTERNAL_VSYSCALL_NCS): Likewise.
20659
c8835729
MP
206602011-07-14 Marek Polacek <mpolacek@redhat.com>
20661
20662 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20663 * elf/dl-fini.c (_dl_fini): Adjust caller.
20664 * elf/dl-close.c (_dl_close_worker): Likewise.
20665 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20666
b902330c
MP
206672011-07-15 Marek Polacek <mpolacek@redhat.com>
20668
8991e135
MP
20669 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20670 "aux_cache->nlibs < 0".
20671
b902330c
MP
20672 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20673 in the reload-count case.
20674
99710781
LD
206752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20676
20677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20678 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20679 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20681 * sysdeps/x86_64/multiarch/strcat.S: New file.
20682 * sysdeps/x86_64/multiarch/strncat.S: New file.
20683 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20685 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20686 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20688 (USE_AS_STRCAT): Define.
20689 Add strcat and strncat support.
20690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20692 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20693 * string/strncat.c: Update.
20694 (USE_AS_STRNCAT): Define.
20695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20696 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20697 and i7.
20698 * sysdeps/x86_64/multiarch/init-arch.h
20699 (bit_Prefer_PMINUB_for_stringop): New.
20700 (index_Prefer_PMINUB_for_stringop): Likewise.
20701 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20702 bit_Prefer_PMINUB_for_stringop.
20703
7dc6bd90
UD
207042011-07-19 Ulrich Drepper <drepper@gmail.com>
20705
20706 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20707 buffer64.
20708 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20709 of casting of buffer.
20710 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20711 buffer32 and buffer64.
20712 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20713 writes instead of casting of buffer.
20714 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20715 buffer32.
20716 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20717 casting of buffer.
20718
e0e72284
AS
207192011-07-19 Andreas Schwab <schwab@redhat.com>
20720
20721 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20722
feb1eb0b
UD
207232011-07-19 Ulrich Drepper <drepper@gmail.com>
20724
20725 * nscd/nscd.c (termination_handler): Don't do anything for a database
20726 if it has not yet been initialized.
20727
298711ff
UD
207282011-07-18 Ulrich Drepper <drepper@gmail.com>
20729
20730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20731
207322011-07-15 Marek Polacek <mpolacek@redhat.com>
20733
20734 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20735
f9d68389
UD
207362011-07-18 Ulrich Drepper <drepper@gmail.com>
20737
20738 * po/nl.po: Update from translation team.
20739 * po/sv.po: Likewise.
20740
db290cf5
RM
207412011-07-16 Roland McGrath <roland@hack.frob.com>
20742
20743 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20744 now disallowed by GCC.
5c550700 20745
fd5e21c7
RM
20746 * configure.in (use-default-link): Default to yes if a test -shared
20747 link meets our qualifications.
20748 * configure: Regenerated.
20749
5c550700
RM
20750 * config.make.in (output-format): New variable.
20751 * configure.in: Check for ld --print-output-format support.
20752 * configure: Regenerated.
20753 * Makerules ($(common-objpfx)format.lds)
20754 [$(output-format) != unknown]: Just use $(output-format),
20755 instead of the linker-script munging.
20756
9fa2c032
RM
207572011-07-14 Roland McGrath <roland@hack.frob.com>
20758
a6928d51
RM
20759 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20760 of $(common-objpfx)shlib.lds.
20761 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20762
661607b3
RM
20763 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20764 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20765
9fa2c032
RM
20766 * configure.in (-z relro check): Adjust test code to add a large
20767 writable data section after it.
20768 * configure: Regenerated.
20769
defe9061
RM
207702011-07-11 Roland McGrath <roland@hack.frob.com>
20771
20772 * configure.in (-z relro check): Fix test code to make the variable
20773 truly const.
20774 * configure: Regenerated.
20775
319b9ad4
UD
207762011-07-11 Ulrich Drepper <drepper@gmail.com>
20777
20778 * nscd/nscd.h (struct traced_file): Define.
20779 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20780 elements. Add traced_files.
20781 (inotify_fd): Declare.
20782 (register_traced_file): Declare.
20783 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20784 (inotify_fd): Export.
20785 (resolv_conf_descr): Remove.
20786 (nscd_init): Move inotify descriptor creation to main.
20787 Don't register files for notification here.
20788 (register_traced_file): New function.
20789 (invalidate_cache): Don't use reset_res to determine whether to call
20790 res_init, go through the list of registered files.
20791 (main_loop_poll): The inotify descriptors are now stored in the
20792 structures for the traced files.
20793 (main_loop_epoll): Likewise
20794 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20795 to __nss_disable_nscd.
20796 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20797 for a database anymore. Check the records for all the registered
20798 files instead.
20799 * nss/Makefile (libnss_files-routines): Add files-init.
20800 (libnss_db-routines): Add db-init.
20801 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20802 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20803 * nss/nss_db/db-init.c: New file.
20804 * nss/nss_files/files-init.c: New file.
20805 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20806 __nss_lookup_function.
20807 (__nss_lookup_function): Call nss_load_library.
20808 (nss_load_all_libraries): New function.
20809 (__nss_disable_nscd): Take parameter with callback function for files
20810 to register. Set is_nscd. Load all the DSOs for the NSS modules
20811 used for the cached services.
20812 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20814 options for features to all the files in nscd.
20815
20816 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20817
23bee3e8
RM
208182011-07-10 Roland McGrath <roland@hack.frob.com>
20819
20820 * csu/elf-init.c (__libc_csu_init): Comment typo.
20821
46a5b7f0
UD
208222011-07-09 Ulrich Drepper <drepper@gmail.com>
20823
20824 * po/pl.po: Update from translation team.
20825 * po/ja.po: Likewise.
20826 * po/ru.po: Likewise.
20827 * po/ko.po: Likewise.
20828 * po/fr.po: Likewise.
20829
d30cf5bb
RM
208302011-07-09 Roland McGrath <roland@hack.frob.com>
20831
113ddea4
RM
20832 * configure.in (.ctors/.dtors header and trailer check):
20833 Use an empirical test on a built program.
20834 * configure: Regenerated.
20835
574920b4
RM
20836 * configure.in (-z relro check): Use an empirical test on a built DSO.
20837 Detect, but do not require, on ia64.
20838 * configure: Regenerated.
20839
d30cf5bb
RM
20840 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20841 Update tests that use readelf to use $READELF instead.
20842 * configure: Regenerated.
20843
8538fdb3
UD
208442011-07-08 Ulrich Drepper <drepper@gmail.com>
20845
20846 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20847 if the result is not used.
20848
04d08991
AJ
208492011-07-05 Andreas Jaeger <aj@suse.de>
20850
20851 [BZ#9696]
20852 * stdlib/tst-strtod.c: Add testcase.
20853
de283087
AD
208542011-07-07 Ulrich Drepper <drepper@gmail.com>
20855
4e5f31c8 20856 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20857 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20858 The latter has a higher limit. Take additional parameter to pass to
20859 the new function.
20860 (__pathconf): Pass file to __statfs_link_max.
20861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20862 __statfs_link_max.
20863 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20864 __statfs_link_max.
20865
de283087
AD
20866 [BZ #12868]
20867 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20869 Handle Lustre.
20870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20871 (__statfs_filesize_max): Likewise.
20872 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20873
c75fa153
AJ
208742011-07-05 Andreas Jaeger <aj@suse.de>
20875
20876 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20877
1a544854
UD
208782011-07-06 Marek Polacek <mpolacek@redhat.com>
20879
20880 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20881 `status' variable.
20882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20883 Likewise.
20884
6f0eec67
UD
208852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20886
20887 * Makefile (strop-tests): Add strncat.
20888 * string/test-strncat.c: New file.
20889
aae30307
UD
208902011-06-30 Marek Polacek <mpolacek@redhat.com>
20891
20892 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20893
c0cfb5eb
UD
208942011-06-21 Andreas Jaeger <aj@suse.de>
20895
20896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20897 Copy rule from iconvdata/Makefile.
20898
01636b21
UD
208992011-07-06 Ulrich Drepper <drepper@gmail.com>
20900
20901 [BZ #12922]
20902 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20903 but no long options are defined, just return 'W'.
20904
9895c8bc
UD
209052011-06-22 Marek Polacek <mpolacek@redhat.com>
20906
20907 [BZ #9696]
20908 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20909
5d4cf042
UD
209102011-07-06 Ulrich Drepper <drepper@gmail.com>
20911
20912 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20913 netgroups to read.
960e5535 20914 (innetgr): Likewise.
5d4cf042 20915
751eb97e
RM
209162011-07-05 Roland McGrath <roland@hack.frob.com>
20917
20918 * config.make.in (install_root): Default to $(DESTDIR).
20919
f15f1e45
UD
209202011-07-05 Ulrich Drepper <drepper@gmail.com>
20921
20922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20923
4e34ac6a
RM
209242011-07-02 Roland McGrath <roland@hack.frob.com>
20925
5e9b6af4
RM
20926 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20927
84f9ea0f
RM
20928 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20929 containing directory rather than embedding absolute directory names.
20930
ea5ee9f7
RM
20931 * scripts/check-local-headers.sh: Rewritten using awk.
20932 Match by word, not by line. Print error messages for matches.
20933 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20934
1b74661a
RM
20935 * Makerules [shlib-lds-flags empty]:
20936 ($(common-objpfx)libc_pic.opts): New target.
20937 ($(common-objpfx)libc_pic.os.clean): New target.
20938 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20939
20940 * config.make.in (OBJCOPY): New variable.
20941 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20942 * configure: Regenerated.
20943
f781ef40
RM
20944 * config.make.in (use-default-link): New variable.
20945 * configure.in (use_default_link): Grok --with-default-link to set it.
20946 * configure: Regenerated.
20947 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20948 (shlib-lds, shlib-lds-flags): Define to empty.
20949
2d4fa81e
RM
20950 * Makerules (shlib-lds): New variable.
20951 (shlib-lds-flags): New variable.
20952 (build-shlib, build-moduile, build-module-asneeded): Use it.
20953 ($(common-objpfx)libc.so): Use $(shlib-lds).
20954 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20956
31fffa6b
RM
20957 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20958 DT_FLAGS/DT_FLAGS_1 with zero flags.
20959
4e34ac6a
RM
20960 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20961 linker script munging.
20962
fcfc776b
UD
209632011-07-02 Ulrich Drepper <drepper@gmail.com>
20964
20965 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20966 as 128-bit value.
20967 * crypt/sha512.c (sha512_process_block): Perform total addition using
20968 128-bit if possible.
20969 (__sha512_finish_ctx): Likewise.
20970 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20971 as 64-bit value.
20972 * crypt/sha256.c (SWAP64): Define.
20973 (sha256_process_block): Perform total addition using 64-bit if
20974 possible.
20975 (__sha256_finish_ctx): Likewise.
20976
99231d9a
UD
209772011-07-01 Ulrich Drepper <drepper@gmail.com>
20978
20979 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20981 * nscd/hstcache.c (cache_addhst): Likewise.
20982 * nscd/grpcache.c (cache_addgr): Likewise.
20983 * nscd/aicache.c (addhstaiX): Likewise
20984 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20985
445b4a53
TK
209862011-07-01 Thorsten Kukuk <kukuk@suse.de>
20987
20988 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20990 * nscd/hstcache.c (cache_addhst): Likewise.
20991 * nscd/grpcache.c (cache_addgr): Likewise.
20992 * nscd/aicache.c (addhstaiX): Likewise
20993
6d4d8e8e
AS
209942011-07-01 Andreas Schwab <schwab@redhat.com>
20995
20996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20997 domain only when needed.
20998
89f654c5
AS
209992011-06-30 Andreas Schwab <schwab@redhat.com>
21000
21001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21002 is always restored.
21003
cf3b23ff
UD
210042011-06-29 Ulrich Drepper <drepper@gmail.com>
21005
21006 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21007 are re-adding the entry.
21008 * nscd/servicescache.c (cache_addserv): Likewise.
21009
751626f9
AJ
210102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21011
21012 * sysdeps/generic/dl-irel.h: fix protection against multiple
21013 inclusions.
21014 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21015
9113ea1f
UD
210162011-06-28 Ulrich Drepper <drepper@gmail.com>
21017
5c0b8d90
UD
21018 [BZ #12935]
21019 * malloc/memusage.sh: Fix quoting in message.
21020 * debug/xtrace.sh: Likewise.
21021
9113ea1f
UD
21022 * configure.in: Remove support for --experimental-malloc option, make
21023 it the default.
21024 * config.make.in: Likewise.
21025 * malloc/Makefile: Likewise.
21026
a4172181
AS
210272011-06-27 Andreas Schwab <schwab@redhat.com>
21028
21029 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21030 two-byte characters.
21031
78a7eee7
RM
210322011-06-27 Roland McGrath <roland@hack.frob.com>
21033
62bede13
RM
21034 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21035 AC_CACHE_CHECK invocation.
21036 * configure: Regenerated.
21037
78a7eee7
RM
21038 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21039
5ce33a62
UD
210402011-06-27 Ulrich Drepper <drepper@gmail.com>
21041
034807a9
UD
21042 [BZ #12350]
21043 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21044 bit from old_res_options.
21045
4902da17
UD
21046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21047
5ce33a62
UD
21048 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21049 value type for setfct.
21050
c2344f56
L
210512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21052
21053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21054 __gettimeofday instead of gettimeofday.
21055
68468076
UD
210562011-06-26 Ulrich Drepper <drepper@gmail.com>
21057
21058 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21059
acb0d739
L
210602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21061
21062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21063
21064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21065 info.
21066
8912479f
L
210672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21068
21069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21070 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21071 strcpy-sse2-unaligned strncpy-sse2-unaligned
21072 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21073 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21074 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21075 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21076 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21079 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21080 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21081 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21082 (STRCPY): Support SSE2 and SSSE3 versions.
21083
d5495a11
UD
210842011-06-24 Ulrich Drepper <drepper@gmail.com>
21085
21086 [BZ #12874]
21087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21088 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21089 kernels which artificially limit size of requests.
21090
0b1cbaae
L
210912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21092
21093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21094 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21095 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21096 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21097 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21098 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21099 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21100 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21103 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21104 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21105 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21106 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21107 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21109 Enable unaligned load optimization for Intel Core i3, i5 and i7
21110 processors.
21111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21112 Define.
21113 (index_Fast_Unaligned_Load): Define.
21114 (HAS_FAST_UNALIGNED_LOAD): Define.
21115
07f494a0
MP
211162011-06-23 Marek Polacek <mpolacek@redhat.com>
21117
21118 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21119
fa3fc0fe
UD
211202011-06-22 Ulrich Drepper <drepper@gmail.com>
21121
21122 [BZ #12907]
21123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21124 until it is clear that the information is realy needed.
21125 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21126
e12df166
AS
211272011-06-22 Andreas Schwab <schwab@redhat.com>
21128
21129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21130
852eb34d
UD
211312011-06-22 Ulrich Drepper <drepper@gmail.com>
21132
84e2a551
UD
21133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21134 /sys/devices/system/cpu/online if it is usable.
21135
852eb34d
UD
21136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21137 reading the information from the /proc filesystem to once a second.
21138
6e502e19
UD
211392011-06-21 Andreas Jaeger <aj@suse.de>
21140
21141 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21142 NULL after inclusion of kernel headers.
21143
75d39ff2
UD
211442011-06-21 Ulrich Drepper <drepper@gmail.com>
21145
51f9aa6a
UD
21146 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21147 calls to internal_setent.
21148
c0244a9d
UD
21149 [BZ #12885]
21150 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21151 addresses using gethostbyname4_r ignore IPv4 addresses.
21152
c5e3c2ae
UD
21153 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21154 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21155
75d39ff2
UD
21156 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21157
42675c6f
DM
211582011-06-20 David S. Miller <davem@davemloft.net>
21159
21160 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21161 inclusions.
21162 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21163
21164 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21165 (elf_irel): Use it.
21166 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21167 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21168 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21169 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21170 * sysdeps/x86_64/dl-irel.h: Likewise.
21171
21172 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21173 * elf/dl-sym.c: Likewise.
21174
57912a71
UD
211752011-06-15 Ulrich Drepper <drepper@gmail.com>
21176
21177 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21178 need to dereference resplen2.
21179
ee22793d
AS
211802011-06-14 Andreas Schwab <schwab@redhat.com>
21181
21182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21183
a9e836b0
UD
211842011-06-15 Ulrich Drepper <drepper@gmail.com>
21185
77fb9117
UD
21186 * Makeconfig: Define vardbdir and inst_vardbdir.
21187 * nss/Makefile: Add rules to install db-Makefile.
21188
40c1b22c
UD
21189 * nss/nss_db/db-XXX.c: Cleanup.
21190
9f2da732
UD
21191 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21192 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21193 GLIBC_PRIVATE.
21194 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21195 * nss/makedb.c: Implement -g option to specify that value strings
21196 are generated and should not be added to table iterated over for
21197 get*ent calls.
21198 * nss/nss_db/db-initgroups.c: New file.
21199
82e9a1f7
UD
21200 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21201 interface.
21202
c41af17e
UD
21203 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21204 (internal_getgrouplist): Adjust to name change.
21205 Update use_initgroups_entry if this is not the first call.
21206 * nss/databases.def: Add initgroups entry.
21207
a9e836b0
UD
21208 * nss/makedb.c (compute_tables): Check result of multiple hash table
21209 sizes to minimize maximum chain length.
21210
2666d441
UD
212112011-06-14 Ulrich Drepper <drepper@gmail.com>
21212
21213 * Versions.def: Add entry for libnss_db.
21214 * shlib-versions: Likewise.
21215 * nss/Makefile: Add rules to build libnss_db.
21216 * nss/Versions: Add libnss_db information. Organize libnss_files
21217 entries better.
21218 * nss/db-Makefile: Add gshadow support. Change rules for the new
21219 makedb progra. Some minor improvements to generate smaller files.
21220 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21221 here from...
21222 * nss/makedb.c: ...here.
21223 Improve database format to be smaller and require less memory at
21224 runtime.
21225 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21226 db anymore.
21227 * nss/nss_db/db-netgrp.c: Likewise.
21228 * nss/nss_db/db-open.c: Likewise.
21229 * nss/nss_files/flies-XXX.x: Adjust comments.
21230 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21231 * nss/nss_files/files-grp.c: Likewise.
21232 * nss/nss_files/files-hosts.c: Likewise.
21233 * nss/nss_files/files-network.c: Likewise.
21234 * nss/nss_files/files-proto.c: Likewise.
21235 * nss/nss_files/files-pwd.c: Likewise.
21236 * nss/nss_files/files-rpc.c: Likewise.
21237 * nss/nss_files/files-service.c: Likewise.
21238 * nss/nss_files/files-sgrp.c: Likewise.
21239 * nss/nss_files/files-spwd.c: Likewise.
21240 * nss/nss_db/db-alias.c: Removed.
21241 * nss/nss_db/dummy-db.h: Removed.
21242
9ee76b5a
UD
212432011-06-02 Ulrich Drepper <drepper@gmail.com>
21244
21245 * nss/makedb.c: Rewritten to not use database library.
21246 * nss/Makefile: Update to build new makedb program.
21247
c71ca1f8
AJ
212482011-06-14 Andreas Jaeger <aj@suse.de>
21249
21250 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21251 memset declaration.
21252
3154bfb8
UD
212532011-06-10 Andreas Schwab <schwab@redhat.com>
21254
21255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21256 tmpbuf.
21257
b350afab
RM
212582011-06-10 Roland McGrath <roland@hack.frob.com>
21259
decd4e50
RM
21260 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21261 * elf/Makefile ($(objpfx)ld.so): Likewise.
21262
5615eaf2
RM
21263 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21264 Don't list ld.so twice in dependencies.
21265
21266 * posix/bug-regex31.c: Include <stdlib.h>.
21267
21268 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21269
21270 * nis/nss_compat/compat-spwd.c
21271 (getspent_next_nss_netgr): Remove unused variable.
21272 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21273
21274 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21275 nonmembers" output to use the right array.
21276
21277 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21278
21279 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21280
21281 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21282 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21283 * catgets/gencat.c (read_input_file): Likewise.
21284 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21285
21286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21287 variable definition inside #if's controlling its use.
21288
21289 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21290
21291 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21292
21293 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21294
21295 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21296 unreachable code.
21297
21298 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21299
b68e08db
RM
21300 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21301 * configure: Regenerated.
21302
b350afab
RM
21303 * Makerules: Revert last change.
21304 * elf/Makefile: Likewise.
21305
28368601
RM
213062011-06-09 Roland McGrath <roland@hack.frob.com>
21307
21308 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21309 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21310 (reloc-link): Likewise.
21311
11988f8f
UD
213122011-06-09 Ulrich Drepper <drepper@gmail.com>
21313
21314 * elf/Makefile: Add rules to build pldd.
21315 * elf/pldd.c: New file.
21316 * elf/pldd-xx.c: New file.
21317
e80fab37
UD
213182011-06-07 Ulrich Drepper <drepper@gmail.com>
21319
21320 * version.h: Update for 2.15 development version.
21321
9b849836
DM
213222011-06-07 David S. Miller <davem@davemloft.net>
21323
21324 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21325 ifuncs.
21326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21327 elf_machine_lazy_rel): Likewise.
21328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21330 elf_machine_lazy_rel): Likewise.
21331 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21332 dl_hwcap via passed in argument.
21333 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21334 Likewise.
21335
5a31b283
AK
213362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21337
21338 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21339
069e52f8
RM
213402011-06-06 Roland McGrath <roland@hack.frob.com>
21341
21342 [BZ #12849]
21343 * manual/fdl-1.1.texi: New file, verbatim from:
21344 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21345 * manual/lgpl-2.1.texi: New file, verbatim from:
21346 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21347 * manual/Makefile (licenses): New variable, list those new file names.
21348 (texis): Use it.
21349 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21350
21351 * manual/fdl.texi: File removed.
21352 * manual/lesser.texi: File removed.
21353 * manual/libc.texinfo (Copying, Documentation License):
21354 Use new @include file names, put @appendix directive before @include.
21355
f16846a5
JJ
213562011-06-04 Jakub Jelinek <jakub@redhat.com>
21357
21358 [BZ #12841]
21359 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21360 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21361 (mq_open): Add __NTH.
21362
3d29045b
L
213632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21364
21365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21366 Assume Intel Core i3/i5/i7 processor if AVX is available.
21367
8c297311
UD
213682011-05-31 Ulrich Drepper <drepper@gmail.com>
21369
21370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21371 typo.
21372
c8fc0c91
UD
213732011-05-31 Andreas Schwab <schwab@redhat.com>
21374
21375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21376 memory. Use alloca_account. Fix memory leak when retrying.
21377
5b27a807
UD
213782011-05-31 Ulrich Drepper <drepper@gmail.com>
21379
356f8bc6
UD
21380 * version.h (RELEASE): Bump for 2.14 release.
21381 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21382
5b27a807
UD
21383 * config.make.in (RANLIB): Remove entry.
21384
01f16ab0
UD
213852011-05-30 Ulrich Drepper <drepper@gmail.com>
21386
41fce8bd
UD
21387 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21388 (libc.pot): Work around missing support for .ksh extension in xgettext.
21389
4769ae77
UD
21390 [BZ #12684]
21391 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21392 if both request failed.
21393 (send_dg): In case of server errors clear resplen or *resplen2.
21394
6b1e7d19
UD
21395 [BZ #12454]
21396 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21397 when there are multiple maps.
21398 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21399 (_dl_fini): Remove test here.
21400
01f16ab0
UD
21401 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21402
b1ebd700
UD
214032011-05-29 Ulrich Drepper <drepper@gmail.com>
21404
7ae22829
UD
21405 [BZ #12350]
21406 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21407 bit from old_res_options.
21408 (gaih_inet): Likewise.
21409
553149f6 21410 [BZ #11099]
18a84741 21411 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21412 as signed.
21413
652ffab1
UD
21414 * resolv/res_init.c (res_setoptions): Make the code more compact.
21415
16985fd0
UD
21416 [BZ #11558]
21417 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21418 set RES_USEVC.
21419
0464f746
UD
21420 [BZ #11634]
21421 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21422
7d17596c
UD
21423 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21424
cf6bbbd7
UD
21425 [BZ #11781]
21426 * malloc/malloc.h: Declare malloc hook variables as volatile.
21427
13f1ab36
UD
21428 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21429 in last patch.
21430
b1ebd700
UD
21431 [BZ #11799]
21432 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21433 raise in the comment.
80e2212d
UD
21434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21437
ce67228d
UD
214382011-05-28 Ulrich Drepper <drepper@gmail.com>
21439
8887a920
UD
21440 [BZ #12811]
21441 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21442 grow the buffers more if it already has to be sufficient.
21443 (build_wcs_upper_buffer): Likewise.
21444 * posix/regexec.c (check_matching): Likewise.
21445 (clean_state_log_if_needed): Likewise.
21446 (extend_buffers): Don't enlarge buffers beyond size of the input
21447 buffer.
21448 Patches mostly by Emil Wojak <emil@wojak.eu>.
21449 * posix/bug-regex32.c: New file.
21450 * posix/Makefile (tests): Add bug-regex32.
21451
4f031072
UD
21452 * locale/findlocale.c (_nl_find_locale): Return right away if
21453 _nl_explode_name failed.
21454 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21455
d0478f0c
UD
21456 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21457
de81b246
UD
21458 * debug/xtrace.sh: Unify messages.
21459 * malloc/memusage.sh: Likewise.
21460
c738465a
UD
21461 [BZ #12813]
21462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21463 time symbol from vDSO. Substitute with vsyscall if not available.
21464 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21465 __vdso_time.
21466
f1f929d7
UD
21467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21468 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21470 Add sendmmsg and internal_sendmmsg.
21471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21474
ce67228d
UD
21475 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21476 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21478
e57420c6
UD
214792011-05-27 Ulrich Drepper <drepper@gmail.com>
21480
a8509ca5
UD
21481 [BZ #12813]
21482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21483 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21484 available.
21485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21486 __vdso_getcpu.
21487
e57420c6
UD
21488 [BZ #12814]
21489 * iconvdata/Makefile (tests): Add bug-iconv9.
21490 * iconvdata/bug-iconv9.c: New file.
21491
4d07db15
AS
214922011-05-27 Andreas Schwab <schwab@redhat.com>
21493
21494 [BZ #12814]
21495 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21496
ea486f69
JJ
214972011-05-25 Jakub Jelinek <jakub@redhat.com>
21498
21499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21500 (struct user_regs_struct): Change intcs field back to cs.
21501
6f038433
UD
215022011-05-25 Ulrich Drepper <drepper@gmail.com>
21503
21504 * po/ja.po: Update from translation team.
21505
67f86a25
UD
215062011-05-23 Ulrich Drepper <drepper@gmail.com>
21507
21508 [BZ #12795]
21509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21511
def7fbd6
AS
215122011-05-20 Andreas Schwab <schwab@redhat.com>
21513
21514 * stdlib/longlong.h: Update from GCC.
21515
f50ef8f1
AS
215162011-05-23 Andreas Schwab <schwab@redhat.com>
21517
21518 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21519 parameter name.
21520 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21521 Add parameter name.
21522 (__sysconf): Pass it down.
21523
de7ce8f1
UD
215242011-05-22 Ulrich Drepper <drepper@gmail.com>
21525
f2962a71
UD
21526 [BZ #12671]
21527 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21528 some situations.
21529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21530 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21531 add in in __libc_use_alloca calls. Adjust callers.
21532 (glob): Use malloc in some situations.
21533
de7ce8f1
UD
21534 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21535 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21536 pltexit.
21537
aec84f53
UD
215382011-05-21 Ulrich Drepper <drepper@gmail.com>
21539
05bb4a68
UD
21540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21541 and CLOCK_BOOTTIME_ALARM.
21542
7ea72f99
UD
21543 [BZ #12782]
21544 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21545 is returned.
21546
7e4afad5
UD
21547 * string/_strerror.c (__strerror_r): Print negative errors as signed
21548 numbers.
21549
8e211fec
UD
21550 [BZ #12777]
21551 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21552 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21553 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21554
f7d82dc9
UD
21555 * configure.in: Fix typo in redirection and correct removal of test
21556 files in two cases.
21557
cc9e536d
UD
21558 [BZ #12788]
21559 * locale/setlocale.c (new_composite_name): Fix test to check for
21560 identical name of all categories.
21561
aec84f53
UD
21562 [BZ #12792]
21563 * libio/filedoalloc.c (local_isatty): New function.
21564 (_IO_file_doallocate): Use local_isatty.
21565 * stdio-common/perror.c (perror): In case a new stream is used
21566 forward the stream error.
21567 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21568 error flag.
21569
78e64fdc
RT
215702011-05-20 Ulrich Drepper <drepper@gmail.com>
21571
34a9094f
UD
21572 [BZ #11869]
21573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21574 alloca.
21575 * include/alloca.h (extend_alloca_account): Define.
21576
78e64fdc
RT
21577 [BZ #11857]
21578 * posix/regex.h: Fix comments with documentation of user-accessible
21579 fields after compilation and describe correct free'ing of pattern
21580 after re_compile_pattern.
21581 Patch by Reuben Thomas <rrt@sc3d.org>.
21582
457bddfc
RA
215832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21584
21585 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21586 and -mno-altivec to prevent the compiler from using Altivec and/or
21587 VSX instructions when the corresponding registers are not available.
21588
a4527b51
AS
215892011-05-19 Andreas Schwab <schwab@redhat.com>
21590
21591 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21592
ed690b2f
UD
215932011-05-19 Ulrich Drepper <drepper@gmail.com>
21594
21595 * libio/freopen.c (freopen): Use __dup2, not dup2.
21596 * libio/freopen64.c (freopen64): Likewise.
21597
8db73634
L
215982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21599
21600 [BZ #12775]
21601 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21602 * math/Makefile (tests): Add test-powl.
21603 (CFLAGS-test-powl.c): Define.
21604 * math/test-powl.c: New file.
21605
0a197a9d
L
216062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21607
21608 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21609
ee30c380
UD
216102011-05-17 Ulrich Drepper <drepper@gmail.com>
21611
21612 [BZ #11837]
21613 * iconvdata/gb18030.c: Update to GB18020-2005.
21614
6ce75379
UD
216152011-05-16 Ulrich Drepper <drepper@gmail.com>
21616
a4b89fd8
AR
21617 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21618 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21619 Patch by Aharon Robbins <arnold@skeeve.com>.
21620
ea389b12
UD
21621 [BZ #11892]
21622 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21623 on the stack.
21624
68a3f91f
UD
21625 [BZ #11895]
21626 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21627 through underflows.
21628
15cc7dd1
UD
21629 [BZ #12766]
21630 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21631 point to strings before performing equality test for error_one_per_line
21632 mode.
21633
f3799213
UD
21634 [BZ #11697]
21635 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21636
d79a9c94
UD
21637 [BZ #11820]
21638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21639 (struct user_fpregs_struct): Avoid __uint*_t types.
21640
56e5eb46
UD
21641 [BZ #6420]
21642 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21643 symbol info. Use it instead of calling _dl_addr locally.
21644 (lock_and_info): New function.
21645 (tr_freehook): Call lock_and_info and pass symbol info as additional
21646 parameter to tr_where.
21647 (tr_mallochook): Likewise.
21648 (tr_reallochook): Likewise.
21649 (tr_memalignhook): Likewise.
21650
6ce75379
UD
21651 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21652 used and couldn't be at all thread-safe.
21653
f8a3b5bf
UD
216542011-05-15 Ulrich Drepper <drepper@gmail.com>
21655
94b7cc37
UD
21656 * libio/freopen.c (freopen): Don't close old file descriptor
21657 before the new one is opened. Instead dup the new file descriptor
21658 to the old one after the new stream is created.
21659 * libio/freopen64.c (freopen64): Likewise.
21660 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21661 * libio/fileops.c (_IO_new_file_close_it): Handle new
21662 _IO_FLAGS2_NOCLOSE flag.
21663 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21664 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21665 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21666 _IO_FLAGS2_NOCLOSE flag.
21667 * include/unistd.h: Add hidden_proto for dup3.
21668 Define __have_dup3.
21669 * io/dup3.c: Define hidden symbol.
21670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21671
bd25564e
UD
21672 [BZ #7101]
21673 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21674 when an incomplete long option is used.
21675 * posix/tst-getopt_long1.c: New file.
21676 * posix/Makefile (tests): Add tst-getopt_long1.
21677
c84cfef4
UD
21678 [BZ #10138]
21679 * scripts/config.guess: Update from autoconf-2.68.
21680 * scripts/config.sub: Likewise.
21681
3b85df27
UD
21682 [BZ #10157]
21683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21684 tests into ...
21685 (has_cpuclock): ...this. New function.
21686 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21687 macro here based on has_cpuclock code.
21688
15a856b1
UD
21689 [BZ #10149]
21690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21691 First byte (not low byte) is now always NUL.
21692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21693
05f399e6
UD
21694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21695 Use non-cancelable interfaces.
21696
10a52685 21697 [BZ #9809]
94ecc67d
UD
21698 * locale/iso-639.def: Add entry for Sorani.
21699
f8a3b5bf
UD
21700 [BZ #11901]
21701 * include/stdlib.h: Move include protection to the right place.
21702 Define abort_msg_s. Declare __abort_msg with it.
21703 * stdlib/abort.c (__abort_msg): Adjust type.
21704 * assert/assert.c (__assert_fail_base): New function. Majority
21705 of code from __assert_fail. Allocate memory for __abort_msg with
21706 mmap.
21707 (__assert_fail): Now call __assert_fail_base.
21708 * assert/assert-perr.c: Remove bulk of implementation. Use
21709 __assert_fail_base.
21710 * include/assert.hL Declare __assert_fail_base.
21711 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21712 mmap.
21713 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21714
1af4e298
UD
217152011-05-14 Ulrich Drepper <drepper@gmail.com>
21716
f8a3b5bf 21717 [BZ #11952]
d26dfc60
MG
21718 [BZ #12453]
21719 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21720 until all modules are registered in the DTV.
21721 * elf/Makefile: Add rules to build and run tst-tls19.
21722 * elf/tst-tls19.c: New file.
21723 * elf/tst-tls19mod1.c: New file.
21724 * elf/tst-tls19mod2.c: New file.
21725 * elf/tst-tls19mod3.c: New file.
21726 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21727
2fc54d6f
UD
21728 [BZ #12083]
21729 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21730 correctly.
21731
98d76b46
UD
21732 [BZ #12601]
21733 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21734 two-byte sequence errors.
21735 * iconvdata/Makefile (tests): Add bug-iconv8.
21736 * iconvdata/bug-iconv8.c: New file.
21737
da3c19ef
UD
21738 [BZ #12626]
21739 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21740 buf2 definition.
21741
ca408c15
UD
21742 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21743
d6f67f7d
UD
21744 [BZ #12432]
21745 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21746 (dummy_getcfa): New function.
21747 (init): Get _Unwind_GetCFA address, use dummy if not found.
21748 (backtrace_helper): In recursion check, also check whether CFA changes.
21749 (__backtrace): Completely initialize arg.
21750
1af4e298 21751 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21752 storing incomplete byte sequence in state object. Avoid testing for
21753 guaranteed too small input if we know there is enough data available.
1af4e298 21754
da62f81b
AS
217552011-05-11 Andreas Schwab <schwab@redhat.com>
21756
21757 * Makeconfig (+link-pie): Indent.
21758 * Rules (binaries-pie): Define if $(have-fpie) and
21759 $(build-shared).
21760 (binaries-shared): Also filter out $(binaries-pie).
21761 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21762 * nscd/Makefile (others-pie): Add nscd.
21763 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21764 ($(objpfx)nscd): Remove command override.
21765 * login/Makefile (others-pie): Add pt_chown.
21766 ($(objpfx)pt_chown): Remove command override.
21767 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21768 remove command overrides.
21769
fcabc0f8
UD
217702011-05-13 Ulrich Drepper <drepper@gmail.com>
21771
20030ae6
UD
21772 * libio/tst_putwc.c: Fix error messages.
21773
fcabc0f8
UD
21774 [BZ #12724]
21775 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21776 currently writing and seek to current position when not.
21777 * libio/Makefile (tests): Add bug-fclose1.
21778 * libio/bug-fclose1.c: New file.
21779
320a5dc0
PB
217802011-05-12 Ulrich Drepper <drepper@gmail.com>
21781
21782 [BZ #12511]
21783 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21784 don't set DF_1_NODELETE here.
21785 (do_lookup_x): When entering new entry test for copy relocation
21786 and if necessary set DF_1_NODELETE flag.
21787 * elf/tst-unique4.cc: New file.
21788 * elf/tst-unique4.h: New file.
21789 * elf/tst-unique4lib.cc: New file.
21790 * elf/Makefile: Add rules to build and run tst-unique4.
21791 Patch by Piotr Bury <pbury@goahead.com>.
21792
22836f52
UD
217932011-05-11 Ulrich Drepper <drepper@gmail.com>
21794
f574184a
UD
21795 [BZ #12052]
21796 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21797
e1fb097f
UD
21798 [BZ #12625]
21799 * misc/mntent_r.c (addmntent): Flush the stream after the output
21800
22836f52
UD
21801 [BZ #12393]
21802 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21803 (is_trusted_path_normalize): Skip initial colon. Append slash
21804 to empty buffer. Duplicate is_trusted_path code but allow
21805 constructed patch to be prefix.
21806 (is_dst): Allow $ORIGIN followed by /.
21807 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21808 Correct testing of result of is_trusted_path_normalize
21809 (decompose_rpath): Fix warning.
21810
7b3b0b2a
UD
218112011-05-10 Ulrich Drepper <drepper@gmail.com>
21812
21813 [BZ #11257]
21814 * grp/initgroups.c (internal_getgrouplist): When we found the service
21815 list through the initgroups entry in nsswitch.conf do not always
21816 continue on a successful lookup. Don't always use the
eac80ce2 21817 __nss_group_database value if it is set.
7b3b0b2a
UD
21818 * nss/nsswitch.conf (initgroups): Change action for successful db
21819 lookup to continue for compatibility.
21820
2a81eaa5
UD
218212011-05-09 Ulrich Drepper <drepper@gmail.com>
21822
be97a69e
UD
21823 [BZ #11532]
21824 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21825 and CP774 modules.
21826 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21827 and CP774 modules.
21828 * iconvdata/tst-tables.sh: Likewise.
21829 * iconvdata/cp770.c: New file.
21830 * iconvdata/cp771.c: New file.
21831 * iconvdata/cp772.c: New file.
21832 * iconvdata/cp773.c: New file.
21833 * iconvdata/cp774.c: New file.
21834 * iconvdata/testdata/CP770: New file.
21835 * iconvdata/testdata/CP770..UTF8: New file.
21836 * iconvdata/testdata/CP771: New file.
21837 * iconvdata/testdata/CP771..UTF8: New file.
21838 * iconvdata/testdata/CP772: New file.
21839 * iconvdata/testdata/CP772..UTF8: New file.
21840 * iconvdata/testdata/CP773: New file.
21841 * iconvdata/testdata/CP773..UTF8: New file.
21842 * iconvdata/testdata/CP774: New file.
21843 * iconvdata/testdata/CP774..UTF8: New file.
21844
21845 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21846 END CHARMAP line.
21847 * iconvdata/gen-8bit-gap.sh: Likewise.
21848 * iconvdata/gen-8bit.sh: Likewise.
21849
c1e9e399
UD
21850 * locale/iso-639.def: Add ary entry.
21851
24c55fb3 21852 [BZ #11258]
96b4b1b0
UD
21853 * locale/C-translit.h.in: Add U20A1 transliteration.
21854
bdc2f971
KB
21855 [BZ #12178]
21856 * locale/iso-639.def: Add wae entry.
21857 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21858
2952b117
UD
21859 [BZ #12545]
21860 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21861 for n.
21862
2a81eaa5
UD
21863 [BZ #12711]
21864 * locale/C-translit.h.in: Add entry for U20B9.
21865 Patch by pravin.d.s@gmail.com.
21866
28377d1b
UD
218672011-05-08 Ulrich Drepper <drepper@gmail.com>
21868
7fb90fb8
UD
21869 [BZ #12713]
21870 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21871 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21872 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21873 in rtld. Use *stat64.
7fb90fb8 21874 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21875 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21876 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21877 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21878 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21879 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21880 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21881 __fstatat64 macros.
7fb90fb8
UD
21882 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21883 * dirent/rewinddir.c: Add libc_hidden_def.
21884 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21885 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21886
28377d1b
UD
21887 * include/dirent.h (__alloc_dir): Add flags parameter.
21888 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21889 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21890 __alloc_dir.
21891 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21892 from fdopendir if O_CLOEXEC is already set.
21893
66bdbaa4
AM
218942011-03-15 Alan Modra <amodra@gmail.com>
21895
21896 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21897 l_tls_firstbyte_offset non-zero. Save padding offset in
21898 l_tls_firstbyte_offset for later use.
21899 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21900 freeing static tls block.
21901
95721191
JN
219022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21903
21904 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21905 where #ifdef was intended. The intent is to prevent ARG_MAX from
21906 being defined by the kernel headers.
21907
f87dfb1f
UD
219082011-05-07 Ulrich Drepper <drepper@gmail.com>
21909
21910 [BZ #12734]
21911 * resolv/resolv.h: Define RES_NOTLDQUERY.
21912 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21913 no-tld-query and set RES_NOTLDQUERY.
21914 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21915 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21916 modern BIND to search name as TLD unless forbidden.
21917
47c3cd7a
UD
219182011-05-07 Petr Baudis <pasky@suse.cz>
21919 Ulrich Drepper <drepper@gmail.com>
21920
21921 [BZ #12393]
21922 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21923 (is_trusted_path): ...to here.
c1e9ea35 21924 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21925 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21926 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21927
8a35c912
PP
219282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21929
21930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21931 __BEGIN/__END_DECLS.
21932
acd41f47
UD
219332011-05-06 Ulrich Drepper <drepper@gmail.com>
21934
21935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21936 NSS_STATUS_NOTFOUND if no record was found.
21937
597df647
AS
219382011-05-05 Andreas Schwab <schwab@redhat.com>
21939
21940 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21941 (headers-not-in-tirpc): Remove rpc/netdb.h
21942 * resolv/netdb.h: Revert last change.
21943
b9af1301
PP
219442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21945
21946 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21947 circular dependency between libgcc.a and libc.a.
21948
4e34d5f5
AS
219492011-05-05 Andreas Schwab <schwab@redhat.com>
21950
21951 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21952 * nis/Makefile: Don't install rpcsvc/*.
21953 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21954 instead of <rpc/types.h>.
21955 (MAXHOSTNAMELEN): Define.
21956
00ee369c
AS
219572011-05-03 Andreas Schwab <schwab@redhat.com>
21958
21959 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21960
0b592a30
MB
219612011-04-28 Maciej Babinski <mbabinski@google.com>
21962
21963 [BZ #12714]
21964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21965 gethostbyname4_r when IPv6 results are possible.
21966
6e04cbbe
UD
219672011-05-02 Ulrich Drepper <drepper@gmail.com>
21968
21969 [BZ #12723]
21970 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21971 _PC_PIPE_BUF handling.
21972
e4ecafe0
BH
219732011-04-30 Bruno Haible <bruno@clisp.org>
21974
21975 [BZ #12717]
21976 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21977 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21978 to 'int'.
21979 * inet/getnameinfo.c (getnameinfo): Likewise.
21980
125ee683
UD
219812011-04-29 Ulrich Drepper <drepper@gmail.com>
21982
21983 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21984 to groups setting in database lookup.
21985 * nss/nsswitch.conf: Add initgroups entry.
21986
b722481a
EB
219872011-04-22 Ulrich Drepper <drepper@gmail.com>
21988
21989 [BZ #12685]
21990 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21991 mode string.
21992 Patch by Eric Blake <eblake@redhat.com>.
21993
4df46dbd
L
219942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21995
21996 * sunrpc/Makefile (need-export-routines): Add svc_run.
21997 (routines): Remove svc_run.
21998 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21999 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22000 * sunrpc/svc_run.c (svc_run): Likewise.
22001 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22002
e84142d2
UD
220032011-04-21 Ulrich Drepper <drepper@gmail.com>
22004
22005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22006 problem in reallocation in last patch.
22007
877175d8
UD
220082011-04-20 Ulrich Drepper <drepper@gmail.com>
22009
22010 * sunrpc/Makefile: Move inclusion of Rules.
22011
ab8eed78
UD
220122011-04-19 Ulrich Drepper <drepper@gmail.com>
22013
22014 * nss/nss_files/files-initgroups.c: New file.
22015 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22016 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22017 _nss_files_initgroups_dyn.
22018
e3d8f584
RS
220192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22020
22021 * elf/elf.h (R_ARM_IRELATIVE): Define.
22022
af190f45
UD
220232011-04-19 Ulrich Drepper <drepper@gmail.com>
22024
22025 * po/ru.po: Update from translation team.
22026
53cf59ef
UD
220272011-04-17 Ulrich Drepper <drepper@gmail.com>
22028
22029 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22030 dependencies.
22031
4c559bcd
MF
220322011-02-06 Mike Frysinger <vapier@gentoo.org>
22033
22034 [BZ #12653]
22035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22036 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22040
4420675c
AS
220412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22042
22043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22044 differing bytes.
22045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22048
75ea32ab
UD
220492011-04-17 Ulrich Drepper <drepper@gmail.com>
22050
22051 [BZ #12420]
22052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22053 storing it.
22054 * stdlib/bug-getcontext.c: New file.
22055 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22056
27390476
AK
220572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22058
22059 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22060 instructions into .machine "z9-109".
22061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22063
10442705
AK
220642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22065
22066 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22067 between environment variables and auxiliary vector.
22068
7b57bfe5
UD
220692011-04-16 Ulrich Drepper <drepper@gmail.com>
22070
22071 * Makefile: Add rules to build linkobj/libc.so.
22072 * include/libc-symbols.h: Define libc_hidden_nolink.
22073 * include/rpc/auth.h: Mark functions which are to be hidden.
22074 * include/rpc/auth_des.h: Likewise.
22075 * include/rpc/auth_unix.h: Likewise.
22076 * include/rpc/clnt.h: Likewise.
22077 * include/rpc/des_crypt.h: Likewise.
22078 * include/rpc/key_prot.h: Likewise.
22079 * include/rpc/pmap_clnt.h: Likewise.
22080 * include/rpc/pmap_prot.h: Likewise.
22081 * include/rpc/pmap_rmt.h: Likewise.
22082 * include/rpc/rpc_msg.h: Likewise.
22083 * include/rpc/svc.h: Likewise.
22084 * include/rpc/svc_auth.h: Likewise.
22085 * include/rpc/xdr.h: Likewise.
22086 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22087 * nss/Makefile: Likewise.
22088 * sunrpc/Makefile: Don't install headers. Build library with normal
22089 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22090 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22091 for the compat linking library. Remove use of INTDEF/INTUSE.
22092 * sunrpc/auth_none.c: Likewise.
22093 * sunrpc/auth_unix.c: Likewise.
22094 * sunrpc/authdes_prot.c: Likewise.
22095 * sunrpc/authuxprot.c: Likewise.
22096 * sunrpc/clnt_gen.c: Likewise.
22097 * sunrpc/clnt_perr.c: Likewise.
22098 * sunrpc/clnt_raw.c: Likewise.
22099 * sunrpc/clnt_simp.c: Likewise.
22100 * sunrpc/clnt_tcp.c: Likewise.
22101 * sunrpc/clnt_udp.c: Likewise.
22102 * sunrpc/clnt_unix.c: Likewise.
22103 * sunrpc/des_crypt.c: Likewise.
22104 * sunrpc/des_soft.c: Likewise.
22105 * sunrpc/get_myaddr.c: Likewise.
22106 * sunrpc/key_call.c: Likewise.
22107 * sunrpc/key_prot.c: Likewise.
22108 * sunrpc/netname.c: Likewise.
22109 * sunrpc/pm_getmaps.c: Likewise.
22110 * sunrpc/pm_getport.c: Likewise.
22111 * sunrpc/pmap_clnt.c: Likewise.
22112 * sunrpc/pmap_prot.c: Likewise.
22113 * sunrpc/pmap_prot2.c: Likewise.
22114 * sunrpc/pmap_rmt.c: Likewise.
22115 * sunrpc/publickey.c: Likewise.
22116 * sunrpc/rpc_cmsg.c: Likewise.
22117 * sunrpc/rpc_common.c: Likewise.
22118 * sunrpc/rpc_dtable.c: Likewise.
22119 * sunrpc/rpc_prot.c: Likewise.
22120 * sunrpc/rpc_thread.c: Likewise.
22121 * sunrpc/rtime.c: Likewise.
22122 * sunrpc/svc.c: Likewise.
22123 * sunrpc/svc_auth.c: Likewise.
22124 * sunrpc/svc_authux.c: Likewise.
22125 * sunrpc/svc_raw.c: Likewise.
22126 * sunrpc/svc_run.c: Likewise.
22127 * sunrpc/svc_simple.c: Likewise.
22128 * sunrpc/svc_tcp.c: Likewise.
22129 * sunrpc/svc_udp.c: Likewise.
22130 * sunrpc/svc_unix.c: Likewise.
22131 * sunrpc/svcauth_des.c: Likewise.
22132 * sunrpc/xcrypt.c: Likewise.
22133 * sunrpc/xdr.c: Likewise.
22134 * sunrpc/xdr_array.c: Likewise.
22135 * sunrpc/xdr_float.c: Likewise.
22136 * sunrpc/xdr_intXX_t.c: Likewise.
22137 * sunrpc/xdr_mem.c: Likewise.
22138 * sunrpc/xdr_rec.c: Likewise.
22139 * sunrpc/xdr_ref.c: Likewise.
22140 * sunrpc/xdr_sizeof.c: Likewise.
22141 * sunrpc/xdr_stdio.c: Likewise.
22142
e6c61494
UD
221432011-04-10 Ulrich Drepper <drepper@gmail.com>
22144
22145 [BZ #12650]
22146 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22147 * sysdeps/ia64/dl-tls.h: Likewise.
22148 * sysdeps/powerpc/dl-tls.h: Likewise.
22149 * sysdeps/s390/dl-tls.h: Likewise.
22150 * sysdeps/sh/dl-tls.h: Likewise.
22151 * sysdeps/sparc/dl-tls.h: Likewise.
22152 * sysdeps/x86_64/dl-tls.h: Likewise.
22153 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22154
34fe483e
AS
221552011-03-14 Andreas Schwab <schwab@redhat.com>
22156
22157 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22158 rpath element also skip the following colon.
22159 (expand_dynamic_string_token): Add is_path parameter and pass
22160 down to DL_DST_REQUIRED and _dl_dst_substitute.
22161 (decompose_rpath): Call expand_dynamic_string_token with
22162 non-zero is_path. Ignore empty rpaths.
22163 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22164 with zero is_path.
22165
f12a32e6
AS
221662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22167
22168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22169 Make cancelable.
22170
38a7d692
UD
221712011-04-09 Ulrich Drepper <drepper@gmail.com>
22172
22173 [BZ #12655]
22174 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22175 Patch by Filipe David Manana <fdmanana@apache.org>.
22176
e451d22b
AS
221772011-04-07 Andreas Schwab <schwab@redhat.com>
22178
22179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22180 Maintain aligned stack.
22181 (CHECK_RSP): Remove unused macro.
22182
dedc7c7b
UD
221832011-04-03 Ulrich Drepper <drepper@gmail.com>
22184
22185 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22187
94521213
UD
221882011-04-02 Ulrich Drepper <drepper@gmail.com>
22189
22190 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22191
8cb700c0 22192 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22193
0354e355
L
221942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22195
22196 [BZ #12518]
22197 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22198 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22199 * sysdeps/x86_64/memmove.c: New file.
22200 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22201 (memcpy): Renamed to ...
22202 (__new_memcpy): This.
22203 (memcpy): Provide GLIBC_2_14 memcpy.
22204 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22205 (memcpy): Provide GLIBC_2_2_5 memcpy.
22206
8593482f
UD
222072011-04-01 Ulrich Drepper <drepper@gmail.com>
22208
22209 [BZ #12631]
22210 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22211
81a5726b
AS
222122011-03-30 Andreas Schwab <schwab@redhat.com>
22213
22214 * misc/syncfs.c: New file.
22215 * misc/Makefile (routines): Add syncfs.
22216 * posix/unistd.h: Declare syncfs.
22217 * sysdeps/unix/syscalls.list: Add syncfs.
22218
00e5419f
AS
222192011-04-01 Andreas Schwab <schwab@redhat.com>
22220
22221 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22222 open_by_handle_at.
22223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22230
748876bf
UD
222312011-04-01 Ulrich Drepper <drepper@gmail.com>
22232
658e451d
UD
22233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22240
748876bf
UD
22241 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22242 sync_file_range.c with -fexceptions.
22243 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22244 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22245 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22246 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22247 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22250 sync_file_range as cancellation point
22251 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22252 now a wrapper around __call_sync_file_range with cancellation handling.
22253 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22254 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22255 function name to __call_sync_file_range.
22256 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22257 Add call_sync_file_range.
748876bf 22258
6e63d5e1
AS
222592011-04-01 Andreas Schwab <schwab@redhat.com>
22260
22261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22262 bits/timex.h.
6e63d5e1 22263
46998f74
UD
222642011-04-01 Ulrich Drepper <drepper@gmail.com>
22265
4c1423ed
UD
22266 * iconv/iconv.h: Fix typo in comment.
22267 * io/fcntl.h: Likewise.
22268 * libio/stdio.h: Likewise.
22269 * posix/spawn.h: Likewise.
22270 * posix/unistd.h: Likewise.
22271 * stdlib/stdlib.h: Likewise.
22272 * time/time.h: Likewise.
22273 * wcsmbs/wchar.h: Likewise.
22274
158648c0
UD
22275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22276 open_by_handle): Add.
22277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22278 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22279 Augment a few comments.
22280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22285 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22286 open_by_handle.
22287
46998f74
UD
22288 * io/fcntl.h (AT_EMPTY_PATH): Define.
22289
83fe108b
UD
222902011-03-30 Ulrich Drepper <drepper@gmail.com>
22291
22292 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22293 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22294 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22295 to...
22296 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22297 * Versions.def: Add GLIBC_2.14.
22298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22299 Export.
83fe108b 22300
bb242059
UD
223012011-03-22 Ulrich Drepper <drepper@gmail.com>
22302
22303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22304 round counter.
22305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22306
c97a1282
L
223072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22308
22309 [BZ #12597]
22310 * string/test-strncmp.c (do_page_test): New function.
22311 (check2): Likewise.
22312 (test_main): Call check2.
22313 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22314
2a115601
UD
223152011-03-20 Ulrich Drepper <drepper@gmail.com>
22316
22317 [BZ #12587]
22318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22319 Handle cache information in CPU leaf 4.
22320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22321
8126d904
UD
223222011-03-18 Ulrich Drepper <drepper@gmail.com>
22323
042c49c6 22324 [BZ #12583]
8126d904
UD
22325 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22326 character representation.
22327 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22328
ccfe366e
RA
223292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22330
22331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22332 END(__isnan) to END(__isnanf) to match function entry point/label
22333 EALIGN(__isnanf,...).
22334
c6e13027
JJ
223352011-03-10 Jakub Jelinek <jakub@redhat.com>
22336
22337 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22338
33f85a3f
UD
223392011-03-10 Ulrich Drepper <drepper@gmail.com>
22340
028478fa
UD
22341 [BZ #12510]
22342 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22343 copy from the symbol referenced in the relocation to initialize the
22344 used variable.
22345 Patch by Piotr Bury <pbury@goahead.com>.
22346 * elf/Makefile: Add rules to build and tst-unique3.
22347 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22348 * elf/tst-unique3.cc: New file.
22349 * elf/tst-unique3.h: New file.
22350 * elf/tst-unique3lib.cc: New file.
22351 * elf/tst-unique3lib2.cc: New file.
22352
33f85a3f
UD
22353 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22354
03592fc7
MF
223552011-03-10 Mike Frysinger <vapier@gentoo.org>
22356
22357 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22358 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22359 to _start.
03592fc7 22360
6a5ee102
UD
223612011-03-06 Ulrich Drepper <drepper@gmail.com>
22362
22363 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22364 to-be-loaded object along a path to loader is ld.so.
22365
7e4ba49c
HJ
223662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22367 Ulrich Drepper <drepper@gmail.com>
22368
22369 * sysdeps/x86_64/memset.S: After aligning destination, code
22370 branches to different locations depending on the value of
22371 misalignment, when multiarch is enabled. Fix this.
22372
223732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22374
22375 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22376 Set _x86_64_preferred_memory_instruction for AMD processsors.
22377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22378 Set bit_Prefer_SSE_for_memop for AMD processors.
22379
13a804de
UD
223802011-03-04 Ulrich Drepper <drepper@gmail.com>
22381
22382 * libio/fmemopen.c (fmemopen): Optimize a bit.
22383
9d25c392
AS
223842011-03-03 Andreas Schwab <schwab@redhat.com>
22385
22386 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22387
a5543c6a
RM
223882011-03-03 Roland McGrath <roland@redhat.com>
22389
22390 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22391
012d35f7
DM
223922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22393
7e4ba49c 22394 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22395 __bzero_ultra1 instead of __memset_ultra1.
22396
4bff6e01
AS
223972011-02-23 Andreas Schwab <schwab@redhat.com>
22398 Ulrich Drepper <drepper@gmail.com>
22399
22400 [BZ #12509]
22401 * include/link.h (struct link_map): Add l_orig_initfini.
22402 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22403 returning unsuccessfully.
22404 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22405 close of a file loaded at startup, restore the original l_initfini
22406 list.
22407 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22408 list, store the pointer.
22409 * elf/Makefile ($(objpfx)noload-mem): New rule.
22410 (noload-ENV): Define.
22411 (tests): Add $(objpfx)noload-mem.
22412 * elf/noload.c: Include <memcheck.h>.
22413 (main): Call mtrace. Close all opened handles.
22414
f2092faf
AS
224152011-02-17 Andreas Schwab <schwab@redhat.com>
22416
22417 [BZ #12454]
22418 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22419 dependencies are missing.
22420
6c8a2e88
ST
224212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22422
f2092faf 22423 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22424 Hurd needs munmap.
22425 * sysdeps/mach/hurd/ifreq.h: New file.
22426
84a42118
PB
224272011-01-27 Petr Baudis <pasky@suse.cz>
22428 Ulrich Drepper <drepper@gmail.com>
22429
071f805e 22430 [BZ 12445]#
84a42118
PB
22431 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22432 to extend_alloca().
22433 * stdio-common/bug23.c: New file.
22434 * stdio-common/Makefile (tests): Add bug23.
22435
e23fe25b
AS
224362010-09-28 Andreas Schwab <schwab@redhat.com>
22437 Ulrich Drepper <drepper@gmail.com>
22438
22439 [BZ #12489]
22440 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22441 before performing relro protection. At old place add assertion
22442 to make sure nothing changed.
22443
d3f02e10
NS
224442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22445 Glauber de Oliveira Costa <glommer@gmail.com>
22446
22447 * elf/elf.h: Add new ARM TLS relocs.
22448
d55fd7a5
RA
224492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22450
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22452 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22453 cast from r3.
22454 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22455 'tests' variable.
22456 * sysdeps/wordsize-64/tst-writev.c: New file.
22457
2206397e
RA
224582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22459
22460 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22461 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22462 insns in _dl_start to prevent a TOC reference before relocs are
22463 resolved.
22464
e9433893
UD
224652011-02-15 Ulrich Drepper <drepper@gmail.com>
22466
22467 [BZ #12469]
22468 * Makeconfig: Remove RANLIB definition.
22469 * Makerules: Don't use RANLIB.
22470 * aclocal.m4: Remove ranlib test.
22471 * configure.in: No need to check for ranlib.
22472 * elf/rtld-Rules: Don't use RANLIB.
22473
f75286c6
ST
224742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22475
8e31c82d
ST
22476 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22477 protection macro.
22478 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22479 inclusion protection macro.
22480
f75286c6
ST
22481 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22482 SIGRTMIN and SIGRTMAX and print information in that case only when
22483 SIGRTMIN is defined.
22484
c1d0e639
JJ
224852011-02-11 Jakub Jelinek <jakub@redhat.com>
22486
22487 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22488 arginfo fn returning -1.
22489
22490 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22491 and thousands string is zero terminated.
22492
edf9294e
AS
224932011-02-03 Andreas Schwab <schwab@redhat.com>
22494
22495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22496 sysdeps/unix/sysv/linux/bits/socket.h.
22497
2b7e92df
ST
224982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22499
edf9294e
AS
22500 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22501 (__CPU_COUNT): Remove old macros.
22502 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22503 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22504 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22505 (__sched_cpualloc, __sched_cpufree): Add declarations.
22506
a4c7ea7b
UD
225072011-02-05 Ulrich Drepper <drepper@gmail.com>
22508
22509 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22510 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22511 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22512 (readdhstai): Return value of addhstaiX call.
22513 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22514 (addgrbyX): Return value returned by cache_addgr.
22515 (readdgrbyname): Return value returned by addgrbyX.
22516 (readdgrbygid): Likewise.
22517 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22518 (addpwbyX): Return value returned by cache_addpw.
22519 (readdpwbyname): Return value returned by addhstbyX.
22520 (readdpwbyuid): Likewise.
22521 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22522 (addservbyX): Return value returned by cache_addserv.
22523 (readdservbyname): Return value returned by addservbyX:
22524 (readdservbyport): Likewise.
22525 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22526 (addhstbyX): Return value returned by cache_addhst.
22527 (readdhstbyname): Return value returned by addhstbyX.
22528 (readdhstbyaddr): Likewise.
22529 (readdhstbynamev6): Likewise.
22530 (readdhstbyaddrv6): Likewise.
22531 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22532 (readdinitgroups): Return value returned by addinitgroupsX.
22533 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22534 (prune_cache): Keep track of timeout value of re-added entries.
22535 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22536 * nscd/nscd.h: Adjust prototypes of readd* functions.
22537
a0bf67cc
RM
225382011-02-04 Roland McGrath <roland@redhat.com>
22539
22540 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22541 (nis_stats): Likewise.
22542 * nis/nis_modify.c (nis_modify): Likewise.
22543 * nis/nis_remove.c (nis_remove): Likewise.
22544 * nis/nis_add.c (nis_add): Likewise.
22545
22546 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22547
22548 * posix/fnmatch_loop.c: Add some consts.
22549
22550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22551
435b95eb
L
225522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22553
22554 [BZ #12460]
22555 * config.make.in (config-cflags-novzeroupper): Define.
22556 * configure.in: Substitute libc_cv_cc_novzeroupper.
22557 * elf/Makefile (AVX-CFLAGS): Define.
22558 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22559 (CFLAGS-tst-auditmod4a.c): Likewise.
22560 (CFLAGS-tst-auditmod4b.c): Likewise.
22561 (CFLAGS-tst-auditmod6b.c): Likewise.
22562 (CFLAGS-tst-auditmod6c.c): Likewise.
22563 (CFLAGS-tst-auditmod7b.c): Likewise.
22564 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22565
8517b15e
UD
225662011-02-02 Ulrich Drepper <drepper@gmail.com>
22567
22568 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22569 function to the callback.
22570 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22571
10a656fe
AS
225722011-02-02 Andreas Schwab <schwab@redhat.com>
22573
22574 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22575 of errno.
22576
968dad0a
UD
225772011-01-19 Ulrich Drepper <drepper@gmail.com>
22578
9f94d2ea 22579 [BZ #11724]
968dad0a
UD
22580 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22581 of constructors.
22582 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22583 of destructors.
22584 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22585
22586 [BZ #11724]
22587 * elf/Makefile: Add rules to build and run new test.
22588 * elf/tst-initorder.c: New file.
22589 * elf/tst-initorder.exp: New file.
22590 * elf/tst-initordera1.c: New file.
22591 * elf/tst-initordera2.c: New file.
22592 * elf/tst-initordera3.c: New file.
22593 * elf/tst-initordera4.c: New file.
22594 * elf/tst-initorderb1.c: New file.
22595 * elf/tst-initorderb2.c: New file.
22596 * elf/tst-order-a1.c: New file.
22597 * elf/tst-order-a2.c: New file.
22598 * elf/tst-order-a3.c: New file.
22599 * elf/tst-order-a4.c: New file.
22600 * elf/tst-order-b1.c: New file.
22601 * elf/tst-order-b2.c: New file.
22602 * elf/tst-order-main.c: New file.
22603 New test case by George Gensure <werkt0@gmail.com>.
22604
86e92359
UD
226052010-10-01 Andreas Schwab <schwab@redhat.com>
22606
22607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22608 decoding ACE if AI_CANONIDN.
22609
5d5732b0
UD
226102011-01-18 Ulrich Drepper <drepper@gmail.com>
22611
22612 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22613
a77e8cbc
UD
226142011-01-17 Ulrich Drepper <drepper@gmail.com>
22615
6392473f
UD
22616 * version.h (RELEASE): Bump for 2.13 release.
22617 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22618
620a0529
UD
22619 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22620
18ba70a5
UD
22621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22622 MADV_NOHUGEPAGE.
32465c3e
UD
22623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22629
c0dafcf1
UD
22630 * posix/getconf.c: Update copyright year.
22631 * catgets/gencat.c: Likewise.
22632 * csu/version.c: Likewise.
22633 * debug/catchsegv.sh: Likewise.
22634 * debug/xtrace.sh: Likewise.
22635 * elf/ldconfig.c: Likewise.
22636 * elf/ldd.bash.in: Likewise.
22637 * elf/sprof.c (print_version): Likewise.
22638 * iconv/iconv_prog.c: Likewise.
22639 * iconv/iconvconfig.c: Likewise.
22640 * locale/programs/locale.c: Likewise.
22641 * locale/programs/localedef.c: Likewise.
22642 * malloc/memusage.sh: Likewise.
22643 * malloc/mtrace.pl: Likewise.
22644 * nscd/nscd.c (print_version): Likewise.
22645 * nss/getent.c: Likewise.
22646
a77e8cbc
UD
22647 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22648 PF_CAIF, and PF_ALG.
22649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22650
77e8bddf
AS
226512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22652
1f20b93a
AS
22653 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22654 (modules-names): Use them.
22655 (ifunc-test-modules, ifunc-pie-tests): Define.
22656 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22657 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22658 (test-extras): Likewise.
22659 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22660 $(compile-command.c).
22661 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22662 (all-built-dso): Define.
22663 (check-textrel.out, check-execstack.out): Depend on it.
22664
77e8bddf
AS
22665 * configure.in: Don't override --enable-multi-arch.
22666
bc425b33
UD
226672011-01-15 Ulrich Drepper <drepper@gmail.com>
22668
22669 [BZ #6812]
22670 * nscd/hstcache.c (tryagain): Define.
22671 (cache_addhst): Return tryagain not notfound for temporary errors.
22672 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22673 failed.
22674
794c3ad3
UD
226752011-01-14 Ulrich Drepper <drepper@gmail.com>
22676
70181fdd
UD
22677 [BZ #10563]
22678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22679 to make the syscall.
22680 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22681
794c3ad3
UD
22682 [BZ #12378]
22683 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22684 and fall back to matching as normal character if the string ends before
22685 the matching ']' is found. This is what POSIX requires.
22686 * posix/testfnm.c: Adjust test result.
22687 * posix/globtest.sh: Adjust test result. Add new test.
22688 * posix/tst-fnmatch.input: Likewise.
22689 * posix/tst-fnmatch2.c: Add new test.
22690
68dc9497
AS
226912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22692
22693 * elf/Makefile (check-execstack): Revert last change. Depend on
22694 check-execstack.h.
22695 (check-execstack.h): New target.
22696 (generated): Add check-execstack.h.
22697 * elf/check-execstack.c: Include "check-execstack.h".
22698 (main): Revert last change.
22699 (handle_file): Return zero if GNU_STACK is absent and
22700 DEFAULT_STACK_PERMS doesn't include PF_X.
22701
451f001b
UD
227022011-01-13 Ulrich Drepper <drepper@gmail.com>
22703
cfa28e56
UD
22704 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22705 in child fails because the descriptor is already closed.
8cf8ce17
UD
22706 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22707 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22708 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22709
1086d70d
UD
22710 [BZ #12397]
22711 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22712 syscall.
22713
451f001b
UD
22714 [BZ #10484]
22715 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22716 temporary buffer used to handle multi lookups locally.
a85b5cb4 22717 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22718
08769175
UD
227192011-01-12 Ulrich Drepper <drepper@gmail.com>
22720
22721 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22722 loader is ld.so.
22723
5e49c52e
UD
227242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22725
22726 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22727 alignment for SSE2.
22728
60522a5f
UD
227292011-01-12 Ulrich Drepper <drepper@gmail.com>
22730
22731 [BZ #12394]
22732 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22733 characters. When rounding increased number of integer digits recompute
22734 number of groups.
22735 * stdio-common/tst-grouping.c: New file.
22736 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22737
f257bbd7
UD
227382011-01-09 Ulrich Drepper <drepper@gmail.com>
22739
22740 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22741 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22742
22743 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22744 void.
22745 * bits/select.h: Likewise.
22746
fa9c15cb
UD
227472011-01-08 Ulrich Drepper <drepper@gmail.com>
22748
22749 * po/ja.po: Update from translation team.
22750
16c2895f
DM
227512011-01-04 David S. Miller <davem@sunset.davemloft.net>
22752
22753 [BZ #11155]
22754 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22755 implementation just like for lxstat, fxstatat, et al.
22756
2543fef2
JM
227572010-12-27 Jim Meyering <meyering@redhat.com>
22758
22759 [BZ #12348]
22760 * posix/regexec.c (build_trtable): Return failure indication upon
22761 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22762
98727dbe
UD
227632010-12-25 Ulrich Drepper <drepper@gmail.com>
22764
5bd6dc5c
UD
22765 [BZ #12201]
22766 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22767 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22770
97983464
UD
22771 [BZ #12207]
22772 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22773
98727dbe
UD
22774 [BZ #12204]
22775 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22776 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22777
4a531bb0
L
227782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22779
22780 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22781 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22782 script has SORT_BY_INIT_PRIORITY.
22783 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22784 NO_CTORS_DTORS_SECTIONS is defined.
22785 * elf/soinit.c: Likewise.
22786 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22787 NO_CTORS_DTORS_SECTIONS is defined.
22788 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22789 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22790 * sysdeps/sh/init-first.c: Likewise.
22791 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22792
07eb4b71
UD
227932010-12-24 Ulrich Drepper <drepper@gmail.com>
22794
22795 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22796 always use the slow path.
22797
30950a5f
RA
227982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22799
22800 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22801 similar rule which adds the sysdep directories to the header search in
22802 order to pick up the correct platform stackinfo.h.
22803 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22804 perform test if it is, otherwise return successfully without testing.
22805 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22806 DEFAULT_STACK_PERMS define in stackinfo.h.
22807 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22808 defined in stackinfo.h.
22809 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22810 DEFAULT_STACK_PERMS defined in stackinfo.h.
22811 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22812 * sysdeps/ia64/stackinfo.h: Likewise.
22813 * sysdeps/s390/stackinfo.h: Likewise.
22814 * sysdeps/sh/stackinfo.h: Likewise.
22815 * sysdeps/sparc/stackinfo.h: Likewise.
22816 * sysdeps/x86_64/stackinfo.h: Likewise.
22817 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22818 PF_X for powerpc64. Retain PF_X for powerpc32.
22819
db753e2c
UD
228202010-12-19 Ulrich Drepper <drepper@gmail.com>
22821
14b697f7
UD
22822 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22823 accurately.
db753e2c
UD
22824 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22825 GETDENTS_64BIT_ALIGNED.
22826
28300719
UD
228272010-12-14 Ulrich Drepper <dreper@gmail.com>
22828
14b697f7 22829 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22830
4f197237
AS
228312010-12-10 Andreas Schwab <schwab@redhat.com>
22832
dbb0472f
AS
22833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22834 _GNU_SOURCE.
22835
4f197237
AS
22836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22837 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22838 Remove __restrict.
22839 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22840 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22841
fb88ac72
UD
228422010-12-09 Ulrich Drepper <drepper@gmail.com>
22843
22844 [BZ #11655]
22845 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22846 are initialized.
22847
42acbb92
JJ
228482010-12-09 Jakub Jelinek <jakub@redhat.com>
22849
22850 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22851
c038d98d
UD
228522010-12-03 Ulrich Drepper <drepper@gmail.com>
22853
22854 * po/it.po: Update from translation team.
22855
3a4a2499
L
228562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22857
22858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22859 unused codes.
22860
1e24cf6e
UD
228612010-11-30 Ulrich Drepper <drepper@gmail.com>
22862
22863 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22864
a7690819
AS
228652010-11-24 Andreas Schwab <schwab@redhat.com>
22866
22867 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22868 specially.
22869 (gaih_getanswer_slice): Likewise.
22870
3bf8d1b1
JJ
228712010-10-20 Jakub Jelinek <jakub@redhat.com>
22872
22873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22874
6db52fbb
PB
228752010-05-31 Petr Baudis <pasky@suse.cz>
22876
22877 [BZ #11149]
22878 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22879 silently even in the chroot mode.
22880
eaca7569
UD
228812010-11-22 Ulrich Drepper <drepper@gmail.com>
22882
22883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22884 last patch a bit. Pretty printing
22885
3056dcdb
UD
228862010-05-31 Petr Baudis <pasky@suse.cz>
22887
22888 [BZ #10085]
22889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22890 initialization of skip_initgroups_dyn.
22891
cf7c9078
UD
228922010-11-19 Ulrich Drepper <drepper@gmail.com>
22893
22894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22896
a1fb5e3e
UD
228972010-11-16 Ulrich Drepper <drepper@gmail.com>
22898
22899 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22900
3540d66b
AS
229012010-11-11 Andreas Schwab <schwab@redhat.com>
22902
22903 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22904 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22905 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22906 ($(objpfx)tst-fnmatch-mem): New rule.
22907 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22908 * posix/tst-fnmatch.c (main): Call mtrace.
22909
13b69574
L
229102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22911
22912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22913 Support Intel processor model 6 and model 0x2c.
22914
da93d214
LM
229152010-11-10 Luis Machado <luisgpm@br.ibm.com>
22916
22917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22918 signed comparison.
22919
8ca52c6e
L
229202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22921
22922 [BZ #12205]
22923 * string/test-strncasecmp.c (check_result): New function.
22924 (do_one_test): Use it.
22925 (check1): New function.
22926 (test_main): Use it.
22927 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22928 Support strcasecmp and strncasecmp.
22929
69da074d
UD
229302010-11-08 Ulrich Drepper <drepper@gmail.com>
22931
22932 [BZ #12194]
22933 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22935
ff02d528
L
229362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22937
22938 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22939 IFUNC support.
22940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22941 memset-x86-64.
22942 * sysdeps/x86_64/multiarch/bzero.S: New file.
22943 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22944 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22945 * sysdeps/x86_64/multiarch/memset.S: New file.
22946 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22948 Set bit_Prefer_SSE_for_memop for Intel processors.
22949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22950 Define.
22951 (index_Prefer_SSE_for_memop): Define.
22952 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22953
344d0b54
LM
229542010-11-04 Luis Machado <luisgpm@br.ibm.com>
22955
22956 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22957 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22958
c0dde15b
UD
229592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22960
22961 [BZ #12191]
22962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22963 (__x86_64_raw_data_cache_size_half): Likewise.
22964 (__x86_64_raw_shared_cache_size): Likewise.
22965 (__x86_64_raw_shared_cache_size_half): Likewise.
22966
22967 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22968 (__x86_64_raw_data_cache_size_half): Likewise.
22969 (__x86_64_raw_shared_cache_size): Likewise.
22970 (__x86_64_raw_shared_cache_size_half): Likewise.
22971 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22972 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22973 and __x86_64_raw_shared_cache_size_half. Round
22974 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22975 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22976 to multiple of 256 bytes.
22977
0e516e0e
MS
229782010-11-03 Ulrich Drepper <drepper@gmail.com>
22979
22980 [BZ #12167]
22981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22982 of inacessible symlinks. Verify result of symlink before returning it.
22983 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22984 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22985
0e012e87
ER
229862010-10-28 Erich Ritz <erichritz@gmail.com>
22987
22988 * math/math.h (isinf): Fix typo in comment.
22989
de0ff7bc
UD
229902010-11-01 Ulrich Drepper <drepper@gmail.com>
22991
22992 * po/da.po: Update from translation team.
22993
fa41c84d
UD
229942010-10-26 Ulrich Drepper <drepper@gmail.com>
22995
22996 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22997 is added to the list.
22998
f0967738
AK
229992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23000 Ulrich Drepper <drepper@gmail.com>
23001
23002 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23003 the global list here. Move code to...
23004 (_dl_add_to_namespace_list): ...here. New function.
23005 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23006 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23007 * elf/dl-load.c (lose): Don't remove the element from the list.
23008 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23009 (_dl_map_object): Likewise.
23010
230112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23012
23013 [BZ #12159]
23014 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23015 into all bytes of SSE register.
23016 Patch by Richard Li <richardpku@gmail.com>.
23017
f0967738 230182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23019
23020 [BZ #12140]
23021 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23022 perturbing.
23023
d0b9e94f
MB
230242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23025
23026 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23027 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23031 submachine.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23033
8e9f92e9
AS
230342010-10-22 Andreas Schwab <schwab@redhat.com>
23035
23036 * include/dlfcn.h (__RTLD_SECURE): Define.
23037 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23038 mode & __RTLD_SECURE instead.
23039 (open_path): Rename preloaded parameter to secure.
23040 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23041 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23042 * elf/dl-deps.c (openaux): Likewise.
23043 * elf/rtld.c (struct map_args): Remove is_preloaded.
23044 (map_doit): Don't use it.
23045 (dl_main): Likewise.
23046 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23047 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23048
bc96fbda
AS
230492010-09-09 Andreas Schwab <schwab@redhat.com>
23050
23051 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23052 (sysd-rules-targets): Remove duplicates.
23053 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23054 rtld-%.$o dependency.
23055
22cd1c9b
AS
230562010-10-18 Andreas Schwab <schwab@redhat.com>
23057
23058 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23059 _dl_map_object do it.
23060
18edac48
UD
230612010-10-19 Ulrich Drepper <drepper@gmail.com>
23062
23063 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23064 fast fma builtins, define the macros in the C99 standard.
23065 (FP_FAST_FMAF): Likewise.
23066 (FP_FAST_FMAL): Likewise.
23067 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23068
23069 * bits/mathdef.h: Update copyright year.
23070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23071
d2050124
MM
230722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23073
23074 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23075 builtins, define the macros in the C99 standard.
23076 (FP_FAST_FMAF): Likewise.
23077 (FP_FAST_FMAL): Likewise.
23078 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23079 multiply/add.
23080 (FP_FAST_FMAF): Likewise.
23081
475facd1
JJ
230822010-10-15 Jakub Jelinek <jakub@redhat.com>
23083
23084 [BZ #3268]
23085 * math/libm-test.inc (fma_test): Some new testcases.
23086 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23088 y and infinite z. Do multiplication by C already in long double.
23089 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23091 y and infinite z. Do bitwise or of inexact bit into u.d.
23092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23093 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23094 * sysdeps/i386/fpu/s_fma.S: Removed.
23095 * sysdeps/i386/fpu/s_fmal.S: Removed.
23096
7c08a05c
JJ
230972010-10-16 Jakub Jelinek <jakub@redhat.com>
23098
23099 [BZ #3268]
23100 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23102 computation is not scheduled after fetestexcept. Fix value
23103 of minimum denormal long double.
23104
f3f7372d
JJ
231052010-10-14 Jakub Jelinek <jakub@redhat.com>
23106
23107 [BZ #3268]
23108 * math/libm-test.inc (fma_test): Add some more tests.
23109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23110 correctly.
23111
14d43591
AS
231122010-10-15 Andreas Schwab <schwab@redhat.com>
23113
23114 * scripts/data/localplt-s390-linux-gnu.data: New file.
23115 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23116
5e908464
JJ
231172010-10-13 Jakub Jelinek <jakub@redhat.com>
23118
23119 [BZ #3268]
23120 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23121 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23122 instead of dbl-64.
23123 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23124 inlines.
23125 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23127 if one of x and y is very large and the other is subnormal.
23128 * sysdeps/s390/fpu/s_fmaf.c: New file.
23129 * sysdeps/s390/fpu/s_fma.c: New file.
23130 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23131 * sysdeps/powerpc/fpu/s_fma.S: New file.
23132 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23133 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23134 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23135
231362010-10-12 Jakub Jelinek <jakub@redhat.com>
23137
23138 [BZ #3268]
23139 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23140 fma tests.
23141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23142 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23143 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23144 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23145 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23148
b833d51f
UD
231492010-10-12 Ulrich Drepper <drepper@redhat.com>
23150
23151 [BZ #12078]
23152 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23153 * posix/bug-regex31.input: Add test case.
23154
1751705d
UD
231552010-10-11 Ulrich Drepper <drepper@gmail.com>
23156
e9b9cbf5
UD
23157 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23158 * posix/bug-regex31.input: New file.
23159
23160 [BZ #12078]
23161 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23162 (parse_sub_exp): Fix last change, use postorder.
23163
ef06edbe
UD
23164 * posix/bug-regex31.c: New file.
23165 * posix/Makefile: Add rules to build and run bug-regex31.
23166
a129c80d
UD
23167 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23168
23169 [BZ #12078]
23170 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23171
b76b818e
UD
23172 [BZ #12108]
23173 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23174 to have entries in sys_siglist.
23175
1751705d
UD
23176 [BZ #12093]
23177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23178 be NULL.
23179
9ff8d36f
JJ
231802010-10-07 Jakub Jelinek <jakub@redhat.com>
23181
23182 [BZ #3268]
23183 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23184 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23186 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23188 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23189 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23190 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23191 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23192 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23193 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23195 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23196 * math/ftestexcept.c (fetestexcept): Likewise.
23197 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23198 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23199 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23200 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23201 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23202 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23204
af325969
UD
232052010-10-11 Ulrich Drepper <drepper@gmail.com>
23206
c579b202 23207 [BZ #12107]
af325969
UD
23208 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23209 newline.
23210
67a67b95
UD
232112010-10-06 Ulrich Drepper <drepper@gmail.com>
23212
23213 * string/bug-strstr1.c: New file.
23214 * string/Makefile: Add rules to build and run bug-strstr1.
23215
5fb308bc
EB
232162010-10-05 Eric Blake <eblake@redhat.com>
23217
23218 [BZ #12092]
23219 * string/str-two-way.h (two_way_long_needle): Always clear memory
23220 when skipping input due to the shift table.
23221
45db99c7
UD
232222010-10-03 Ulrich Drepper <drepper@gmail.com>
23223
3b111893
UD
23224 [BZ #12005]
23225 * malloc/mcheck.c: Handle large requests.
23226
45db99c7
UD
23227 [BZ #12077]
23228 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23229 for strncmp and strncasecmp.
23230 * string/stratcliff.c: Add tests for strcmp and strncmp.
23231 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23232
cf7a1eb8
NI
232332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23234
23235 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23236 __set_fpscr.
23237
6484ba5e
AJ
232382010-09-30 Andreas Jaeger <aj@suse.de>
23239
23240 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23241 (CGROUP_SUPER_MAGIC): Define.
23242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23243 Handle btrfs and cgroup file systems.
23244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23245 Likewise.
23246
91c42559
LM
232472010-09-27 Luis Machado <luisgpm@br.ibm.com>
23248
23249 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23250 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23251
87a97932
AK
232522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23253
23254 [BZ #12067]
23255 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23256 trying to locate the ELF header.
23257
c21cc9bc
AS
232582010-09-27 Andreas Schwab <schwab@redhat.com>
23259
23260 [BZ #11611]
23261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23262 Mask out sign-bit copies when constructing f_fsid.
23263
315970f6
PB
232642010-09-24 Petr Baudis <pasky@suse.cz>
23265
23266 * debug/stack_chk_fail_local.c: Add missing licence exception.
23267 * debug/warning-nop.c: Likewise.
23268
1ac7a2c7
JM
232692010-09-15 Joseph Myers <joseph@codesourcery.com>
23270
23271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23272 implementing getdents64 using getdents syscall, set d_type if
23273 __ASSUME_GETDENTS32_D_TYPE.
23274
56801c50
AS
232752010-09-16 Andreas Schwab <schwab@redhat.com>
23276
23277 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23278 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23279
dda51327
UD
232802010-09-21 Ulrich Drepper <drepper@redhat.com>
23281
23282 [BZ #12037]
23283 * posix/unistd.h: Undo change of feature selection for ftruncate from
23284 2010-01-11.
23285
8ffcee4a
UD
232862010-09-20 Ulrich Drepper <drepper@redhat.com>
23287
a545ecd9 23288 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23289 detection.
23290
e24f0a8b
AS
232912010-09-20 Andreas Schwab <schwab@redhat.com>
23292
23293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23294 fanotify_mark.
23295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23296
7291c56f
AS
232972010-09-14 Andreas Schwab <schwab@redhat.com>
23298
23299 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23300 variables after CHECK_SP call.
23301 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23302
bc5fb037
AS
233032010-09-13 Andreas Schwab <schwab@redhat.com>
23304 Ulrich Drepper <drepper@redhat.com>
23305
23306 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23307 re-relocationg ld.so.
23308 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23309 _dl_init_paths call.
23310 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23311 here anymore.
23312
e66e7419
UD
233132010-09-14 Ulrich Drepper <drepper@redhat.com>
23314
23315 * resolv/res_init.c (__res_vinit): Count the default server we added.
23316
c044aa75
CLT
233172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23318 Ulrich Drepper <drepper@redhat.com>
23319
23320 [BZ #11968]
23321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23322 (____longjmp_chk): Use %ebx for saving value across system call.
23323 Add unwind info.
23324
32cf4069
AS
233252010-09-06 Andreas Schwab <schwab@redhat.com>
23326
23327 * manual/Makefile: Don't mix pattern rules with normal rules.
23328
817328ee
AS
233292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23330
23331 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23332 operation.
23333 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23334 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23336 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23338 Likewise.
23339
29fddf61
UD
233402010-09-04 Ulrich Drepper <drepper@redhat.com>
23341
23342 [BZ #11979]
23343 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23344 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23345
0959ffc9
UD
233462010-09-02 Ulrich Drepper <drepper@redhat.com>
23347
23348 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23349 * sysdeps/x86_64/addmul_1.S: Likewise.
23350 * sysdeps/x86_64/lshift.S: Likewise.
23351 * sysdeps/x86_64/mul_1.S: Likewise.
23352 * sysdeps/x86_64/rshift.S: Likewise.
23353 * sysdeps/x86_64/sub_n.S: Likewise.
23354 * sysdeps/x86_64/submul_1.S: Likewise.
23355
ece29840
ST
233562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23357
0959ffc9
UD
23358 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23359 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23360 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23361 * bits/sched.h [__need_schedparam]
ece29840 23362 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23363 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23364 (__defined_schedparam): Define to 1.
ece29840
ST
23365 (__sched_param): New structure, identical to sched_param.
23366 (__need_schedparam): Undefine.
23367
e53a31fe
MF
233682010-08-31 Mike Frysinger <vapier@gentoo.org>
23369
fdc0c10d
MF
23370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23371 (epoll_create1): Declare.
23372
e53a31fe
MF
23373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23374
a726d796
AS
233752010-08-31 Andreas Schwab <schwab@redhat.com>
23376
23377 [BZ #7066]
23378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23379 shifting retval into place.
23380
2f3e3dc7
UD
233812010-09-01 Ulrich Drepper <drepper@redhat.com>
23382
f2933da9
UD
23383 * nis/rpcsvc/nis.h: Update copyright notice.
23384 * nis/rpcsvc/nis.x: Likewise.
23385 * nis/rpcsvc/nis_callback.h: Likewise.
23386 * nis/rpcsvc/nis_callback.x: Likewise.
23387 * nis/rpcsvc/nis_object.x: Likewise.
23388 * nis/rpcsvc/nis_tags.h: Likewise.
23389 * nis/rpcsvc/yp.h: Likewise.
23390 * nis/rpcsvc/yp.x: Likewise.
23391 * nis/rpcsvc/ypupd.h: Likewise.
23392 * nis/yp_xdr.c: Likewise.
23393 * nis/ypupdate_xdr.c: Likewise.
23394
2f3e3dc7
UD
23395 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23396 mainly the body of pmap_getport. Add parameters to specify timeouts.
23397 (pmap_getport): Use __libc_rpc_getport.
23398 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23399 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23400 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23401
f3dcc2f9
AS
234022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23403
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23405 fanotify_mark.
23406
6d34eb5b
RM
234072010-08-27 Roland McGrath <roland@redhat.com>
23408
23409 * sysdeps/i386/i686/multiarch/Makefile
23410 (CFLAGS-varshift.c): New variable.
23411
9ea3de11
UD
234122010-08-27 Ulrich Drepper <drepper@redhat.com>
23413
c96d23fc
UD
23414 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23415 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23416
9ea3de11
UD
23417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23418
23419 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23420
623aac7f
L
234212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23422
23423 * sysdeps/x86_64/strlen.S: Unroll the loop.
23424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23425 strlen-sse2 strlen-sse2-bsf.
23426 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23427 __strlen_no_bsf if bit_Slow_BSF is set.
23428 (__strlen_sse42): Removed.
23429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23430 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23431
8b2b7715
RM
234322010-08-25 Roland McGrath <roland@redhat.com>
23433
23434 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23435 * sysdeps/x86_64/multiarch/varshift.c: New file.
23436 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23437 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23438 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23440
e73015f2
L
234412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23442
23443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23444 strlen-sse2 strlen-sse2-bsf.
23445 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23446 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23447 (__strlen_sse2): Removed.
23448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23451 bit_Slow_BSF for Atom.
23452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23453 (index_Slow_BSF): Define.
23454 (HAS_SLOW_BSF): Define.
23455
df24a73e
UD
234562010-08-25 Ulrich Drepper <drepper@redhat.com>
23457
23458 [BZ #10851]
23459 * resolv/res_init.c (__res_vinit): When no server address at all
23460 is given default to loopback.
23461
f2ac4868
RM
234622010-08-24 Roland McGrath <roland@redhat.com>
23463
09055553
RM
23464 * configure.in: Remove config-name.h generation.
23465 * configure: Regenerated.
23466 * config-name.in: File removed.
23467 * scripts/config-uname.sh: New file.
23468 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23469 ($(objdir)config-name.h): New target.
23470
f2ac4868
RM
23471 * sunrpc/rpc_parse.h: Avoid nested comment.
23472
73f27d5e
RH
234732010-08-24 Richard Henderson <rth@redhat.com>
23474 Ulrich Drepper <drepper@redhat.com>
23475 H.J. Lu <hongjiu.lu@intel.com>
23476
23477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23479 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23480 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23481 _mm_alignr_epi8 with _mm_loadu_si128.
23482 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23483 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23484 (__m128i_shift_right): Removed.
23485 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23486 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23487 * sysdeps/x86_64/multiarch/varshift.h: New file.
23488 * sysdeps/x86_64/multiarch/varshift.S: New file.
23489
84b9230c
MF
234902010-08-21 Mike Frysinger <vapier@gentoo.org>
23491
23492 * configure.in: Move assembler checks to before sysdep dir checking.
23493
9bbd0ddc
PB
234942010-08-20 Petr Baudis <pasky@suse.cz>
23495
23496 * LICENSES: Sync the sunrpc license.
23497
9da4bb31
UD
234982010-08-19 Ulrich Drepper <drepper@redhat.com>
23499
a7ab6ec8
UD
23500 * sunrpc/auth_des.c: Update copyright notice once again.
23501 * sunrpc/auth_none.c: Likewise.
23502 * sunrpc/auth_unix.c: Likewise.
23503 * sunrpc/authdes_prot.c: Likewise.
23504 * sunrpc/authuxprot.c: Likewise.
23505 * sunrpc/bindrsvprt.c: Likewise.
23506 * sunrpc/clnt_gen.c: Likewise.
23507 * sunrpc/clnt_perr.c: Likewise.
23508 * sunrpc/clnt_raw.c: Likewise.
23509 * sunrpc/clnt_simp.c: Likewise.
23510 * sunrpc/clnt_tcp.c: Likewise.
23511 * sunrpc/clnt_udp.c: Likewise.
23512 * sunrpc/clnt_unix.c: Likewise.
23513 * sunrpc/des_crypt.c: Likewise.
23514 * sunrpc/des_soft.c: Likewise.
23515 * sunrpc/get_myaddr.c: Likewise.
23516 * sunrpc/getrpcport.c: Likewise.
23517 * sunrpc/key_call.c: Likewise.
23518 * sunrpc/key_prot.c: Likewise.
23519 * sunrpc/openchild.c: Likewise.
23520 * sunrpc/pm_getmaps.c: Likewise.
23521 * sunrpc/pm_getport.c: Likewise.
23522 * sunrpc/pmap_clnt.c: Likewise.
23523 * sunrpc/pmap_prot.c: Likewise.
23524 * sunrpc/pmap_prot2.c: Likewise.
23525 * sunrpc/pmap_rmt.c: Likewise.
23526 * sunrpc/rpc/auth.h: Likewise.
23527 * sunrpc/rpc/auth_unix.h: Likewise.
23528 * sunrpc/rpc/clnt.h: Likewise.
23529 * sunrpc/rpc/des_crypt.h: Likewise.
23530 * sunrpc/rpc/key_prot.h: Likewise.
23531 * sunrpc/rpc/netdb.h: Likewise.
23532 * sunrpc/rpc/pmap_clnt.h: Likewise.
23533 * sunrpc/rpc/pmap_prot.h: Likewise.
23534 * sunrpc/rpc/pmap_rmt.h: Likewise.
23535 * sunrpc/rpc/rpc.h: Likewise.
23536 * sunrpc/rpc/rpc_des.h: Likewise.
23537 * sunrpc/rpc/rpc_msg.h: Likewise.
23538 * sunrpc/rpc/svc.h: Likewise.
23539 * sunrpc/rpc/svc_auth.h: Likewise.
23540 * sunrpc/rpc/types.h: Likewise.
23541 * sunrpc/rpc/xdr.h: Likewise.
23542 * sunrpc/rpc_clntout.c: Likewise.
23543 * sunrpc/rpc_cmsg.c: Likewise.
23544 * sunrpc/rpc_common.c: Likewise.
23545 * sunrpc/rpc_cout.c: Likewise.
23546 * sunrpc/rpc_dtable.c: Likewise.
23547 * sunrpc/rpc_hout.c: Likewise.
23548 * sunrpc/rpc_main.c: Likewise.
23549 * sunrpc/rpc_parse.c: Likewise.
23550 * sunrpc/rpc_parse.h: Likewise.
23551 * sunrpc/rpc_prot.c: Likewise.
23552 * sunrpc/rpc_sample.c: Likewise.
23553 * sunrpc/rpc_scan.c: Likewise.
23554 * sunrpc/rpc_scan.h: Likewise.
23555 * sunrpc/rpc_svcout.c: Likewise.
23556 * sunrpc/rpc_tblout.c: Likewise.
23557 * sunrpc/rpc_util.c: Likewise.
23558 * sunrpc/rpc_util.h: Likewise.
23559 * sunrpc/rpcinfo.c: Likewise.
23560 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23561 * sunrpc/rpcsvc/key_prot.x: Likewise.
23562 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23563 * sunrpc/rpcsvc/mount.x: Likewise.
23564 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23565 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23566 * sunrpc/rpcsvc/rex.x: Likewise.
23567 * sunrpc/rpcsvc/rstat.x: Likewise.
23568 * sunrpc/rpcsvc/rusers.x: Likewise.
23569 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23570 * sunrpc/rpcsvc/spray.x: Likewise.
23571 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23572 * sunrpc/rtime.c: Likewise.
23573 * sunrpc/svc.c: Likewise.
23574 * sunrpc/svc_auth.c: Likewise.
23575 * sunrpc/svc_authux.c: Likewise.
23576 * sunrpc/svc_raw.c: Likewise.
23577 * sunrpc/svc_run.c: Likewise.
23578 * sunrpc/svc_simple.c: Likewise.
23579 * sunrpc/svc_tcp.c: Likewise.
23580 * sunrpc/svc_udp.c: Likewise.
23581 * sunrpc/svc_unix.c: Likewise.
23582 * sunrpc/svcauth_des.c: Likewise.
23583 * sunrpc/xcrypt.c: Likewise.
23584 * sunrpc/xdr.c: Likewise.
23585 * sunrpc/xdr_array.c: Likewise.
23586 * sunrpc/xdr_float.c: Likewise.
23587 * sunrpc/xdr_mem.c: Likewise.
23588 * sunrpc/xdr_rec.c: Likewise.
23589 * sunrpc/xdr_ref.c: Likewise.
23590 * sunrpc/xdr_sizeof.c: Likewise.
23591 * sunrpc/xdr_stdio.c: Likewise.
23592
9da4bb31
UD
23593 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23594 handling.
23595
bdaa77bc
AS
235962010-08-19 Andreas Schwab <schwab@redhat.com>
23597
23598 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23599
fe2f79db
LM
236002010-08-19 Luis Machado <luisgpm@br.ibm.com>
23601
23602 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23605 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23607 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23609 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23612 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23614 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23616
b9b42ee0
AB
236172010-07-26 Anton Blanchard <anton@samba.org>
23618
23619 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23620 * malloc/arena.c (heap_trim): Likewise.
23621
1c06ba31
UD
236222010-08-16 Ulrich Drepper <drepper@redhat.com>
23623
23624 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23625 here. Not...
23626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23627 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23628
f8392f40
L
236292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * sysdeps/i386/elf/Makefile: New file.
23632
3162f12e
AS
236332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23634
23635 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23636 from fanotify_init.
23637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23639
28c90b2c
UD
236402010-08-15 Ulrich Drepper <drepper@redhat.com>
23641
23642 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23643 of strncasecmp_l.
1feccb6c 23644 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23645
ca6bb004
UD
236462010-08-14 Ulrich Drepper <drepper@redhat.com>
23647
e9f82e0d
UD
23648 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23649 strncase_l-nonascii.
23650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23651 Add strncase_l-ssse3.
23652 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23653 * sysdeps/x86_64/strcmp.S: Likewise.
23654 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23655 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23656 * sysdeps/x86_64/strncase.S: New file.
23657 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23658 * sysdeps/x86_64/strncase_l.S: New file.
23659 * string/Makefile (strop-tests): Add strncasecmp.
23660 * string/test-strncasecmp.c: New file.
23661
23662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23663 warning.
23664
ca6bb004
UD
23665 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23667
052fa7b3
AS
236682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23669
23670 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23671
962dba78
UD
236722010-08-12 Ulrich Drepper <drepper@redhat.com>
23673
23674 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23677
bebff237
AM
236782010-05-01 Alan Modra <amodra@gmail.com>
23679
23680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23681 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23682 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23683 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23684 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23685 tidying. Don't tail-call __sigjmp_save for static lib.
23686 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23687 save location.
23688 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23689 (CALL_MCOUNT): Add eh info, and nop after bl.
23690 (TAIL_CALL_SYSCALL_ERROR): New macro.
23691 (PSEUDO_RET): Use it.
23692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23693 Correct save location of integer regs and cr.
23694 (_dl_profile_resolve): Correct cr save location. Delete nops
23695 after bl when SHARED. Reduce cfi size a little by better
23696 placement of cfi directives.
23697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23698 make a stack frame. Instead use parm save area as a temp.
23699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23700 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23702 Don't make a stack frame for parent, use parm save area.
23703 Increase child stack frame to 112 bytes. Don't save unused reg,
23704 and adjust reg usage. Set up cfi on error recovery and
23705 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23707 (__makecontext): Add dummy nop after jump to exit.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23709 Use correct parm save area and cr save, reduce stack frame.
23710 Correct cfi for possible PSEUDO_RET frame setup.
23711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23712 Branch to local label emitted by PSEUDO_RET rather than
23713 __syscall_error.
23714
02637374
AS
237152010-08-12 Andreas Schwab <schwab@redhat.com>
23716
23717 [BZ #11904]
23718 * locale/programs/locale.c (print_assignment): New function.
23719 (show_locale_vars): Use it.
23720
c3e2f19b
UD
237212010-08-11 Ulrich Drepper <drepper@redhat.com>
23722
3cdaa6ad
UD
23723 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23724 field.
23725 (struct statfs64): Likewise.
23726 (_STATFS_F_FLAGS): Define.
23727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23729 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23730 (ST_VALID): Define locally.
23731 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23732 __statvfs_getflags, use the provided value.
23733 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23734 __ASSUME_STATFS_F_FLAGS.
23735
754f7da3
UD
23736 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23737
10b3bedc
UD
23738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23739 Add sys/fanotify.h.
23740 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23741 fanotify_mask for GLIBC_2.13.
23742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23743 fanotify_init and fanotify_mark.
23744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23745 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23746
c08fb0d7
UD
23747 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23748 Add prlimit.
23749 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23750 prlimit64 for GLIBC_2.13.
23751 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23752 prlimit64.
23753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23754 syscall.
23755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23760 add prlimit alias.
23761 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23762
15bac72b
UD
23763 [BZ #11903]
23764 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23765 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23766
c3e2f19b
UD
23767 * nss/Makefile: Add rules to build and run tst-nss-test1.
23768 * shlib-versions: Add entry for libnss_test1.
23769 * nss/nss_test1.c: New file.
23770 * nss/tst-nss-test1.c: New file.
23771
23772 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23773 (__nss_configure_lookup): Set appropriate entry in
23774 __nss_configure_lookup to true.
23775 * nss/nsswitch.h: Define enum with indeces of databases in
23776 databases and __nss_database_custom arrays. Declare
23777 __nss_database_custom.
23778 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23779 to avoid using nscd when custom rules are installed.
23780 * nss/getXXbyYY_r.c: Likewise.
23781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23782
23783 * nss/nss_files/files-parse.c: Whitespace fixes.
23784
f15ce4d8
UD
237852010-08-09 Ulrich Drepper <drepper@redhat.com>
23786
23787 [BZ #11883]
23788 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23789 * posix/fnmatch_loop.c: Likewise.
23790
d22e4cc9
AK
237912010-07-17 Andi Kleen <ak@linux.intel.com>
23792
23793 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23794 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23795 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23796 * Versions.def [GLIBC_2.13]: Add.
23797
805bc17d
UD
237982010-08-06 Ulrich Drepper <drepper@redhat.com>
23799
23800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23801 Also fail if tpwd after pwuid call is NULL.
23802
5a42321d
ST
238032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23804
23805 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23806 when converting to ms.
23807
fd3ebeda
ST
238082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23809
23810 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23811 EOPNOTSUPP errors with ENOTTY.
23812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23813 EOPNOTSUPP errors with ENOTTY.
23814
73507d3a
UD
238152010-07-31 Ulrich Drepper <drepper@redhat.com>
23816
23817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23818 Add strcasecmp_l-ssse3.
23819 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23820 strcasecmp.
23821 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23824
fe36dd02
UD
238252010-07-30 Ulrich Drepper <drepper@redhat.com>
23826
66f6765a
UD
23827 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23828
42e08a54
UD
23829 * string/Makefile (strop-tests): Add strcasecmp.
23830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23831 strcasecmp_l-nonascii.
23832 (gen-as-const-headers): Add locale-defines.sym.
23833 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23834 * sysdeps/x86_64/strcasecmp.S: New file.
23835 * sysdeps/x86_64/strcasecmp_l.S: New file.
23836 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23837 * sysdeps/x86_64/locale-defines.sym: New file.
23838 * string/test-strcasecmp.c: New file.
23839
fe36dd02
UD
23840 * string/test-strcasestr.c: Test both ends of the range of characters.
23841 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23842
48cbc0d6
RM
238432010-07-29 Roland McGrath <roland@redhat.com>
23844
76e6d6bc 23845 [BZ #11856]
48cbc0d6
RM
23846 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23847
880113d9
UD
238482010-07-27 Ulrich Drepper <drepper@redhat.com>
23849
23850 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23851 for ld.so.
23852
deb9cabb
AS
238532010-07-27 Andreas Schwab <schwab@redhat.com>
23854
23855 * manual/memory.texi (Malloc Tunable Parameters): Document
23856 M_PERTURB.
23857
1c7570ff
RM
238582010-07-26 Roland McGrath <roland@redhat.com>
23859
23860 [BZ #11840]
23861 * configure.in (-fgnu89-inline check): Set and substitute
23862 gnu89_inline, not libc_cv_gnu89_inline.
23863 * configure: Regenerated.
23864 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23865
24fb0f88
UD
238662010-07-26 Ulrich Drepper <drepper@redhat.com>
23867
23868 * string/test-strnlen.c: New file.
23869 * string/Makefile (strop-tests): Add strnlen.
23870 * string/tester.c (test_strnlen): Add a few more test cases.
23871 * string/tst-strlen.c: Better error reporting.
23872
23873 * sysdeps/x86_64/strnlen.S: New file.
23874
8e96b93a
UD
238752010-07-24 Ulrich Drepper <drepper@redhat.com>
23876
23877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23878 lower-latency instructions.
23879
dbc676d4
UD
238802010-07-23 Ulrich Drepper <drepper@redhat.com>
23881
23882 * string/test-strcasestr.c: New file.
23883 * string/test-strstr.c: New file.
23884 * string/Makefile (strop-tests): Add strstr and strcasestr.
23885 * string/str-two-way.h: Don't undefine MAX.
23886 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23887
f6a31e0e
AS
238882010-07-21 Andreas Schwab <schwab@redhat.com>
23889
23890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23891 strcasestr-nonascii.
23892 (CFLAGS-strcasestr-nonascii.c): Define.
23893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23895 Remove unused attribute.
23896
5dbc3b6c
RM
238972010-07-20 Roland McGrath <roland@redhat.com>
23898
23899 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23900 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23901 ld.so.cache was broken. With it, there is no way to disable dsocaps
23902 like LD_HWCAP_MASK can disable hwcaps.
23903
23d101d8
EPM
239042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23905
23906 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23907
cc9f2e47
UD
239082010-07-16 Ulrich Drepper <drepper@redhat.com>
23909
23910 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23911 call in strcasestr.
23912 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23913 __strcasestr_sse42_nonascii.
23914 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23915 strcasestr-nonascii.c.
23916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23917
77c1b069
LM
239182010-06-15 Luis Machado <luisgpm@br.ibm.com>
23919
23920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23924
440566c3
UD
239252010-07-09 Ulrich Drepper <drepper@redhat.com>
23926
23927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23928 fcntl.
23929
5be9d05d
AS
239302010-07-06 Andreas Schwab <schwab@redhat.com>
23931
c30b7ee2 23932 [BZ #11577]
5be9d05d
AS
23933 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23934 dl_signal_cerror.
23935
8a492a67
UD
239362010-07-06 Ulrich Drepper <drepper@redhat.com>
23937
23938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23939 _PC_PIPE_BUF using F_GETPIPE_SZ.
23940
713df3d5
RM
239412010-07-05 Roland McGrath <roland@redhat.com>
23942
23943 * manual/arith.texi (Rounding Functions): Fix rint description
23944 implicit in round description.
23945
702e8f14
UD
239462010-07-02 Ulrich Drepper <drepper@redhat.com>
23947
23948 * elf/Makefile: Fix linking for a few tests to make recent linker
23949 happy.
23950
52ed8be9
AS
239512010-06-30 Andreas Schwab <schwab@redhat.com>
23952
23953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23954 $(common-objpfx)libc_nonshared.a.
23955
f47c9a11
LM
239562010-06-21 Luis Machado <luisgpm@br.ibm.com>
23957
23958 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23959 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23960 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23962 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23963 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23965 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23980 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23981 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23982 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23983 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23984 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23985 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23986 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23987 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23988 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23989 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23990 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23991 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24006
6fb8cbcb
L
240072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24010 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24011 * string/memmove.c (memmove): Renamed to ...
24012 (MEMMOVE): ...this. Default to memmove.
24013 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24014 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24015 (END_CHK): Define.
24016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24017 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24018 mempcpy-ssse3-back memmove-ssse3-back.
24019 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24022 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24023 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24024 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24025 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24026 * sysdeps/x86_64/multiarch/memmove.c: New file.
24027 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24028 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24029 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24030 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24033 Define.
24034 (index_Fast_Copy_Backward): Define.
24035 (HAS_ARCH_FEATURE): Define.
24036 (HAS_FAST_REP_STRING): Define.
24037 (HAS_FAST_COPY_BACKWARD): Define.
24038
4e733bac 240392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24040
24041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24042 Restore proper fallback handling.
24043
63c4ed22
UD
240442010-06-19 Ulrich Drepper <drepper@redhat.com>
24045
ac2b484c
UD
24046 [BZ #11701]
24047 * posix/group_member.c (__group_member): Correct checking loop.
24048
63c4ed22
UD
24049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24050 OOM in getpwuid_r correctly. Return error number when the caller
24051 should return, otherwise -1.
24052 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24053 call returning > 0 value.
24054 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24055
765ade4b
AS
240562010-06-07 Andreas Schwab <schwab@redhat.com>
24057
24058 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24059 libc_nonshared.a from targets in modules-names.
24060
80da2e09
KS
240612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24062
24063 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24064 requires it.
24065
158db122
LM
240662010-06-10 Luis Machado <luisgpm@br.ibm.com>
24067
24068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24072
caa78cf8
AS
240732010-06-02 Andreas Schwab <schwab@redhat.com>
24074
24075 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24076
b2ef2c01
UD
240772010-06-14 Ulrich Drepper <drepper@redhat.com>
24078
24079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24080 and F_GETPIPE_SZ.
24081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24087
fbd643b6
RM
240882010-06-14 Roland McGrath <roland@redhat.com>
24089
24090 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24091
f32f2869
JJ
240922010-06-07 Jakub Jelinek <jakub@redhat.com>
24093
24094 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24095 __REDIRECT followed by __THROW.
24096 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24097 * posix/getopt.h (getopt): Likewise.
24098
2a50c078
EPM
240992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24100
24101 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24102 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24103 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24104 in AT_FLAGS.
24105 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24106 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24107
eb5ad2eb
LM
241082010-05-28 Luis Machado <luisgpm@br.ibm.com>
24109
24110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24111
3c88fe1e
L
241122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24113
24114 [BZ #11640]
24115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24116 Properly check family and model.
24117
d2f73151
TY
241182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24119
24120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24121
ebd2e13d
LM
241222010-05-24 Luis Machado <luisgpm@br.ibm.com>
24123
24124 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24125
b32b8b45
UD
241262010-05-21 Ulrich Drepper <drepper@redhat.com>
24127
24128 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24129 symbol reference.
24130
9acbe24d
AS
241312010-05-19 Andreas Schwab <schwab@redhat.com>
24132
24133 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24134 symbol reference.
24135
f0ccf6ea
AS
241362010-05-21 Andreas Schwab <schwab@redhat.com>
24137
3d04ff3a
AS
24138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24139 and internal_recvmmsg.
24140 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24143 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24144
f0ccf6ea
AS
24145 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24148
5b08ac57
AS
241492010-05-20 Andreas Schwab <schwab@redhat.com>
24150
24151 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24152
4828935d
LM
241532010-05-17 Luis Machado <luisgpm@br.ibm.com>
24154
24155 POWER7 optimizations.
24156 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24157 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24158
373d545e
UD
241592010-05-19 Ulrich Drepper <drepper@redhat.com>
24160
24161 * version.h: Update for 2.13 development version.
24162
21a2b1ae
AS
241632010-05-12 Andrew Stubbs <ams@codesourcery.com>
24164
24165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24166 exceptions. Return 0.
24167
3f7dcb2b
RM
241682010-05-07 Roland McGrath <roland@redhat.com>
24169
24170 * elf/ldconfig.c (main): Add a const.
24171
5f24d53a 241722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24173
a160f8d8
UD
24174 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24175 (args_options): Add no-idn option.
24176 (ahosts_keys_int): Add idn_flags to ai_flags.
24177 (parse_option): Handle 'i' option to clear idn_flags.
24178
5f24d53a
UD
24179 * malloc/malloc.c (_int_free): Possible race in the most recently
24180 added check. Only act on the data if no current modification
24181 happened.
265bb1ce
UD
24182
24183See ChangeLog.17 for earlier changes.