]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add --enable-hardcoded-path-in-tests configure option
[thirdparty/glibc.git] / ChangeLog
CommitLineData
740b3dbe
L
12013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2
3 * Makeconfig (+link-pie-before-libc): New.
4 (+link-pie-after-libc): Likewise.
5 (+link-pie-tests): Likewise.
6 (+link-pie): Rewritten.
7 (link-before-libc): Remove $(config-LDFLAGS).
8 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10 (config-LDFLAGS): Renamed to ...
11 (rtld-LDFLAGS): This.
12 (rtld-tests-LDFLAGS): New macro.
13 (link-libc-rpath-link): Likewise.
14 (link-libc-tests-rpath-link): Likewise.
15 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16 (link-libc): Prepand $(link-libc-rpath-link).
17 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18 (test-program-prefix): New macro.
19 (test-via-rtld-prefix): Likewise.
20 (test-program-cmd): Likewise.
21 (host-test-program-cmd): Likewise.
22 * Makefile ($(common-objpfx)testrun.sh): Replace
23 $(run-program-prefix) with $(test-program-prefix).
24 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25 $(rtld-LDFLAGS).
26 ($(common-objpfx)shlib.lds): Likewise.
27 (build-module-helper): Likewise.
28 ($(common-objpfx)format.lds): Likewise.
29 * Rules (binaries-pie-tests): New.
30 (binaries-pie-notests): Likewise.
31 (binaries-pie): Rewritten.
32 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35 (make-test-out): Replace $(host-built-program-cmd) with
36 $(host-test-program-cmd).
37 * config.make.in (build-hardcoded-path-in-tests): New variable.
38 * configure.in (--enable-hardcoded-path-in-tests): New configure
39 option.
40 (hardcoded_path_in_tests): New AC_SUBST.
41 * configure: Regenerated.
42 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
43 $(built-program-cmd) with $(test-program-cmd).
44 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45 (test_program_cmd): This.
46 * elf/Makefile ($(objpfx)order.out): Run test with
47 $(test-program-prefix).
48 ($(objpfx)order2.out): Likewise.
49 ($(objpfx)tst-initorder.out): Likewise.
50 ($(objpfx)tst-initorder2.out): Likewise.
51 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52 $(test-program-cmd).
53 ($(objpfx)tst-array1-static.out): Likewise.
54 ($(objpfx)tst-array2.out): Likewise.
55 ($(objpfx)tst-array3.out): Likewise.
56 ($(objpfx)tst-array4.out): Likewise.
57 ($(objpfx)tst-array5.out): Likewise.
58 ($(objpfx)tst-array5-static.out): Likewise.
59 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
60 $(test-program-cmd).
61 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
62 $(run-program-prefix) with $(test-program-prefix).
63 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64 (test_program_prefix): This.
65 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66 $(run-program-prefix) with $(test-program-prefix).
67 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68 (test_program_prefix): This.
69 * iconvdata/tst-tables.sh: Likewise.
70 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71 $(run-program-prefix) with $(test-program-prefix).
72 ($(objpfx)tst-translit.out): Likewise.
73 ($(objpfx)tst-gettext2.out): Likewise.
74 ($(objpfx)tst-gettext4.out): Likewise.
75 ($(objpfx)tst-gettext6.out): Likewise.
76 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
77 (test_program_prefix): This.
78 * intl/tst-gettext2.sh: Likewise.
79 * intl/tst-gettext4.sh Likewise.
80 * intl/tst-gettext6.sh: Likewise.
81 * intl/tst-translit.sh: Likewise.
82 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
83 with $(test-program-cmd).
84 * libio/Makefile ($(objpfx)test-freopen.out): Replace
85 $(run-program-prefix) with $(test-program-prefix).
86 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
87 (test_program_prefix): This.
88 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
89 $(run-program-prefix) with $(test-program-prefix).
90 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
91 (test_program_prefix): This.
92 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
93 * posix/Makefile ($(objpfx)globtest.out): Replace
94 $(run-via-rtld-prefix) and $(test-wrapper) with
95 $(test-program-prefix) and $(test-via-rtld-prefix).
96 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
97 $(test-program-prefix).
98 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
99 $(host-test-program-cmd).
100 (tst-spawn-ARGS): Likewise.
101 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
102 $(test-program-prefix).
103 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
104 (test_via_rtld_prefix): This.
105 (test_wrapper): Renamed to ...
106 (test_program_prefix): This.
107 (run_program_prefix): Replaced by test_program_prefix.
108 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
109 (test_program_prefix): This.
110 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
111 with $(host-test-program-cmd).
112 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
113 $(run-program-prefix) with $(test-program-prefix).
114 ($(objpfx)tst-printf.out): Likewise.
115 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
116 $(test-program-cmd).
117 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
118 (test_program_prefix): This.
119 * stdio-common/tst-unbputc.sh: Likewise.
120 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
121 $(run-program-prefix) with $(test-program-prefix).
122 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
123 (test_program_prefix): This.
124 * string/Makefile ($(objpfx)tst-svc.out): Replace
125 $(built-program-cmd) with $(test-program-cmd).
126
c6fe55cf
AJ
1272013-01-11 Andreas Jaeger <aj@suse.de>
128
129 [BZ #15003]
130 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
131 value. Sync with Linux 3.7.
132
9e6919c8
DM
1332013-01-10 David S. Miller <davem@davemloft.net>
134
135 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
138
1c9f1a02
RM
1392013-01-10 Roland McGrath <roland@hack.frob.com>
140
141 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
142 never set.
143 * configure: Regenerated.
144
b9de2dde
DM
1452013-01-10 David S. Miller <davem@davemloft.net>
146
147 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
148 sparc V9 rather than using V8 code.
149 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
150 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
151
e7f68ef4
RM
1522013-01-10 Roland McGrath <roland@hack.frob.com>
153
154 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
155 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
156 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
157 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
158 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
159 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
160 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
161 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
162 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
163 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
164 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
165 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
166 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
167 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
168 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
169 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
170 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
171 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
172 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
173 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
174 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
175 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
176 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
177 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
178 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
179 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
180 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
181
5a47cc9c
DM
1822013-01-10 David S. Miller <davem@davemloft.net>
183
184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
185
4cf8f209
L
1862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
187
188 * posix/Makefile (tests-static): New variable.
189 (tests): Add $(tests-static).
190 (tst-exec-static-ARGS): New variable.
191 (tst-spawn-static-ARGS): Likewise.
192 * posix/tst-exec-static.c: New file.
193 * posix/tst-spawn-static.c: Likewise.
194 * posix/tst-exec.c: Support run directly.
195 * posix/tst-spawn.c: Likewise.
196
fed0faa1
JM
1972013-01-10 Joseph Myers <joseph@codesourcery.com>
198
828beb13
JM
199 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
200 long.
201 * math/bits/mathcalls.h (llrint): Likewise.
202 (llround): Likewise.
203 * stdlib/stdlib.h (struct drand48_data): Likewise.
204 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
205 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
206 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
207 Likewise.
208 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
209 Likewise.
210 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
211 (elf_greg_t): Likewise.
212 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
213 (__jmp_buf): Likewise.
214 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
215 definitions.
216 (llrint): Likewise, for all definitions.
217 (llrintl): Likewise.
218
fed0faa1
JM
219 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
220 Remove [__GNUC__] condition.
221 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
222 condition to just [__USE_ISOC99].
223 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
224
1a20cb20
L
2252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
226
227 [BZ #14200]
228 * sysdeps/unix/sysv/linux/x86/bits/environments.h
229 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
230 defined.
231 (_POSIX_V6_ILP32_OFF32): Likewise.
232 (_XBS5_ILP32_OFF32): Likewise.
233 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
234 (__ILP32_OFFBIG_LDFLAGS): Likewise.
235
751b85f7
SP
2362013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
237
7490eb81
SP
238 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
239
751b85f7
SP
240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
241 doubles __mpexp_twomm1. Adjust usage.
242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
243 Remove.
244
988197f0
AS
2452013-01-10 Andreas Schwab <schwab@suse.de>
246
247 [BZ #14964]
248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
249 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
250
e83d7298
DM
2512013-01-09 David S. Miller <davem@davemloft.net>
252
034ed64b 253 [BZ #15003]
e83d7298
DM
254 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
255 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
256 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
257 TCP_FASTOPEN): Define.
258 (tcp_repair_opt): New structure.
259 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
260 enum values.
261 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
262 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
263 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
264 (tcp_cookie_transactions): New structure.
265
d5e0b9bd
AB
2662013-01-09 Anton Blanchard <anton@samba.org>
267
268 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
269 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
271 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
272
0c07e3ea
JM
2732013-01-09 Joseph Myers <joseph@codesourcery.com>
274
275 * include/features.h (__USE_ANSI): Remove.
276
232f7002
RM
2772013-01-09 Roland McGrath <roland@hack.frob.com>
278
ad98e30c
RM
279 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
280
232f7002
RM
281 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
282
950c99ca
SP
2832013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
284
b5792741
SP
285 * sysdeps/s390/fpu/libm-test-ulps: Update.
286
47cf2278
SP
287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
288
950c99ca
SP
289 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
290 (__acr): Likewise.
291 (__cpy): Likewise.
292 (norm): Likewise.
293 (denorm): Likewise.
294 (__mp_dbl): Likewise.
295 (__dbl_mp): Likewise.
296 (add_magnitudes): Likewise.
297 (sub_magnitudes): Likewise.
298 (__add): Likewise.
299 (__sub): Likewise.
300 (__mul): Likewise.
301 (__inv): Likewise.
302 (__dvd): Likewise.
303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
304 (__acr): Likewise.
305 (__cpy): Likewise.
306 (norm): Likewise.
307 (denorm): Likewise.
308 (__mp_dbl): Likewise.
309 (__dbl_mp): Likewise.
310 (add_magnitudes): Likewise.
311 (sub_magnitudes): Likewise.
312 (__add): Likewise.
313 (__sub): Likewise.
314 (__mul): Likewise.
315 (__inv): Likewise.
316 (__dvd): Likewise.
317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
318 (__acr): Likewise.
319 (__cpy): Likewise.
320 (norm): Likewise.
321 (denorm): Likewise.
322 (__mp_dbl): Likewise.
323 (__dbl_mp): Likewise.
324 (add_magnitudes): Likewise.
325 (sub_magnitudes): Likewise.
326 (__add): Likewise.
327 (__sub): Likewise.
328 (__mul): Likewise.
329 (__inv): Likewise.
330 (__dvd): Likewise.
331
eede9df9
JM
3322013-01-08 Joseph Myers <joseph@codesourcery.com>
333
334 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
335 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
336 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
337 2 && __USE_EXTERN_INLINES]: Likewise.
338
c40ea3d9
AJ
3392013-01-08 Andreas Jaeger <aj@suse.de>
340
341 [BZ# 14985]
342 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
343 Remove.
344 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
345 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
346
2ccdea26
AB
3472013-01-07 Anton Blanchard <anton@samba.org>
348
349 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
350 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
351 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
352 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
353 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
354 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
355 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
356 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
358 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
360 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
361 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
364 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
367 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
368 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
369 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
372 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
373 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
374 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
375 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
376 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
377 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
378 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
379 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
381 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
382 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
383 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
385 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
388 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
389 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
391 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
392
a9708fed
JM
3932013-01-07 Joseph Myers <joseph@codesourcery.com>
394
375607b9
JM
395 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
396 (__MALLOC_PMT): Likewise.
397 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
398 [__GNUC__], only on [_LIBC].
399 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
400 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
401 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
402 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
403 forward declaration.
404 (realloc_hook_ini): Likewise.
405 (memalign_hook_ini): Likewise.
406 (__libc_memalign): Do not use __MALLOC_PMT in variable
407 declaration.
408 (__libc_valloc): Likewise.
409 (__libc_pvalloc): Likewise.
410 (__libc_calloc): Likewise.
411 (__posix_memalign): Likewise.
412
a9708fed
JM
413 [BZ #14996]
414 * math/s_casinh.c: Include <float.h>.
415 (__casinh): Do not do computation with squaring and square root
416 for large arguments.
417 * math/s_casinhf.c: Include <float.h>.
418 (__casinhf): Do not do computation with squaring and square root
419 for large arguments.
420 * math/s_casinhl.c: Include <float.h>.
421 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
422 (__casinhl): Do not do computation with squaring and square root
423 for large arguments.
424 * math/libm-test.inc (casin_test): Add more tests.
425 (casinh_test): Likewise.
426 * sysdeps/i386/fpu/libm-test-ulps: Update.
427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
428
afec409a
L
4292013-01-04 H.J. Lu <hongjiu.lu@intel.com>
430
431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
432 (__x86_64_raw_data_cache_size): Likewise.
433 (__x86_64_data_cache_size_half): Likewise.
434 (__x86_64_raw_data_cache_size_half): Likewise.
435 (__x86_64_shared_cache_size): Likewise.
436 (__x86_64_raw_shared_cache_size): Likewise.
437 (__x86_64_shared_cache_size_half): Likewise.
438 (__x86_64_raw_shared_cache_size_half): Likewise.
439 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
440 to ...
441 (__x86_data_cache_size): This.
442 (__x86_64_raw_data_cache_size): Renamed to ...
443 (__x86_raw_data_cache_size): This.
444 (__x86_64_data_cache_size_half): Renamed to ...
445 (__x86_data_cache_size_half): This.
446 (__x86_64_raw_data_cache_size_half): Renamed to ...
447 (__x86_raw_data_cache_size_half): This.
448 (__x86_64_shared_cache_size): Renamed to ...
449 (__x86_shared_cache_size): This.
450 (__x86_64_raw_shared_cache_size): Renamed to ...
451 (__x86_raw_shared_cache_size): This.
452 (__x86_64_shared_cache_size_half): Renamed to ...
453 (__x86_shared_cache_size_half): This.
454 (__x86_64_raw_shared_cache_size_half): Renamed to ...
455 (__x86_raw_shared_cache_size_half): This.
456 * sysdeps/x86_64/memcpy.S: Updated.
457 * sysdeps/x86_64/memset.S: Likewise.
458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
459 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
461
0b3986d0
DM
4622013-01-04 David S. Miller <davem@davemloft.net>
463
464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
465
e47686e9
AS
4662013-01-04 Andreas Schwab <schwab@linux-m68k.org>
467
d643bac1
AS
468 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
469 1 to avoid redefinition warning.
470 (__USE_GNU): Don't define.
471 (init_signaling_nan): Protoize.
472
e47686e9
AS
473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
474
b18decba
SP
4752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
476
fffb407f
SP
477 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
479 (__cpymn): Likewise.
480 (norm): Remove commented code.
481 (denorm): Likewise.
482 (__mp_dbl): Likewise.
483 (__inv): Likewise.
484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
485 (__cpymn): Likewise.
486 (norm): Remove commented code.
487 (denorm): Likewise.
488 (__mp_dbl): Likewise.
489 (__inv): Likewise.
490
b18decba
SP
491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
492 mp_no value for 1.0 and 2.0.
493 (norm): Use RADIXI instead of radixi.d.
494 (denorm): Likewise.
495 (__mul): Use 0.0 instead of zero.d.
496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
497 mp_no value for 1.0 and 2.0.
498 (norm): Use RADIXI instead of radixi.d.
499 (denorm): Likewise.
500 (__mul): Use 0.0 instead of zero.d.
501
cdc1c96f
JM
5022013-01-04 Joseph Myers <joseph@codesourcery.com>
503
504 [BZ #14994]
505 * math/s_casinh.c (__casinh): Reduce finite argument to first
506 quadrant then set signs of results at the end.
507 * math/s_casinhf.c (__casinhf): Likewise.
508 * math/s_casinhl.c (__casinhl): Likewise.
509 * math/libm-test.inc (casin_test): Add more tests.
510 (casinh_test): Likewise.
511 * sysdeps/i386/fpu/libm-test-ulps: Update.
512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
513
302913e1
SP
5142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
515
6420d207
SP
516 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
517
a9e48ab4
SP
518 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
519
b7837264
SP
520 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
521 declarations.
522 (denorm): Likewise.
523 (__mp_dbl): Likewise.
524 (__inv): Likewise.
525
f8af25d2
SP
526 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
527 and adjust the header comment.
528
302913e1
SP
529 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
530 variable name from declaration.
531
5d7dd1ca
L
5322013-01-03 H.J. Lu <hongjiu.lu@intel.com>
533
534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
535 Initialize COMMON_CPUID_INDEX_7 element.
536 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
537 (CPUID_RTM): Likewise.
538 (HAS_RTM): Likewise.
539 (COMMON_CPUID_INDEX_7): New enum.
540
2f5f40f4
AS
5412013-01-03 Andreas Schwab <schwab@linux-m68k.org>
542
543 [BZ #14981]
544 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
545 size is zero, record memory as freed.
546
4056f4a0
AJ
5472013-01-03 Andreas Jaeger <aj@suse.de>
548
549 * po/ia.po: Add new Interlingua translation.
550
ab15736f 5512012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
552
553 * locale/programs/localedef.c: Fix description of '--posix' flag.
554
568035b7
JM
5552013-01-02 Joseph Myers <joseph@codesourcery.com>
556
e6898b8d
JM
557 * NEWS: Update dates in second copyright notice.
558 * README: Update copyright dates in example.
559 * manual/libc.texinfo: Update copyright dates.
560 * scripts/test-installation.pl: Update copyright date in --version
561 output.
562
0e2f9562
JM
563 * hurd/ctty-input.c: Fix copyright notice formatting.
564 * hurd/ctty-output.c: Likewise.
565 * hurd/dtable.c: Likewise.
566 * hurd/hurd-raise.c: Likewise.
567 * hurd/hurdprio.c: Likewise.
568 * hurd/msgportdemux.c: Likewise.
569 * misc/sys/file.h: Likewise.
570 * misc/sys/ioctl.h: Likewise.
571 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
572 * sysdeps/mach/hurd/chdir.c: Likewise.
573 * sysdeps/mach/hurd/fchdir.c: Likewise.
574 * sysdeps/mach/hurd/rename.c: Likewise.
575 * sysdeps/mach/hurd/rmdir.c: Likewise.
576 * sysdeps/mach/hurd/seekdir.c: Likewise.
577 * sysdeps/mach/hurd/setsid.c: Likewise.
578 * sysdeps/posix/wait3.c: Likewise.
579
568035b7
JM
580 * All files with FSF copyright notices: Update copyright dates
581 using scripts/update-copyrights.
582 * intl/plural.c: Regenerated.
583 * locale/programs/charmap-kw.h: Likewise.
584 * locale/programs/locfile-kw.h: Likewise.
585
da08f647
SP
5862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
587
0f5477af
SP
588 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
589 four values.
590
44e0d4c2
SP
591 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
592 calculation loop and add branch prediction.
593
4d55b4e5
SP
594 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
595 check access beyond bounds of m1np.
596
da08f647
SP
597 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
598 MPTWO.
599 (__inv): Remove local variable MPTWO to use the global
600 constant.
601 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
603 variable MPTWO.
604 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
605 MP3HALFS static const.
606
8e051029
DM
6072013-01-01 David S. Miller <davem@davemloft.net>
608
609 * po/ca.po: Update from translation team.
610
f4cf5f2d
JM
6112013-01-01 Joseph Myers <joseph@codesourcery.com>
612
613 * scripts/update-copyrights: New file.
614 * Makeconfig: Reformat copyright notice.
615 * ctype/ctype.h: Likewise.
616 * debug/swprintf_chk.c: Likewise.
617 * elf/dl-cache.c: Likewise.
618 * elf/dl-debug.c: Likewise.
619 * elf/dl-object.c: Likewise.
620 * grp/initgroups.c: Likewise.
621 * hurd/Makefile: Likewise.
622 * hurd/hurd/signal.h: Likewise.
623 * hurd/hurdfault.c: Likewise.
624 * hurd/hurdioctl.c: Likewise.
625 * hurd/hurdlookup.c: Likewise.
626 * hurd/intr-msg.c: Likewise.
627 * iconv/gconv_open.c: Likewise.
628 * libio/swprintf.c: Likewise.
629 * locale/lc-ctype.c: Likewise.
630 * locale/nl_langinfo.c: Likewise.
631 * mach/Machrules: Likewise.
632 * mach/Makefile: Likewise.
633 * malloc/obstack.h: Likewise.
634 * manual/Makefile: Likewise.
635 * manual/tsort.awk: Likewise.
636 * misc/bits/stab.def: Likewise.
637 * nis/nis_print_group_entry.c: Likewise.
638 * nis/nis_table.c: Likewise.
639 * nis/nss_compat/compat-pwd.c: Likewise.
640 * nis/nss_compat/compat-spwd.c: Likewise.
641 * po/Makefile: Likewise.
642 * posix/fnmatch.c: Likewise.
643 * posix/regex.h: Likewise.
644 * resolv/Makefile: Likewise.
645 * resolv/nss_dns/dns-network.c: Likewise.
646 * resolv/res_hconf.c: Likewise.
647 * scripts/gen-sorted.awk: Likewise.
648 * soft-fp/soft-fp.h: Likewise.
649 * stdio-common/printf.h: Likewise.
650 * stdlib/monetary.h: Likewise.
651 * stdlib/random.c: Likewise.
652 * stdlib/random_r.c: Likewise.
653 * sysdeps/generic/Makefile: Likewise.
654 * sysdeps/gnu/Makefile: Likewise.
655 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
657 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
659 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
662 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
663 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
665 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
667 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
668 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
669 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
671 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
675 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
676 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
677 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
678 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
679 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
681 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
682 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
683 * sysdeps/mach/hurd/errnos.awk: Likewise.
684 * sysdeps/mach/hurd/fork.c: Likewise.
685 * sysdeps/mach/hurd/getcwd.c: Likewise.
686 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
687 * sysdeps/mach/hurd/mmap.c: Likewise.
688 * sysdeps/mach/hurd/utimes.c: Likewise.
689 * sysdeps/mach/hurd/xmknod.c: Likewise.
690 * sysdeps/posix/profil.c: Likewise.
691 * sysdeps/posix/readdir_r.c: Likewise.
692 * sysdeps/powerpc/bits/mathdef.h: Likewise.
693 * sysdeps/powerpc/bits/setjmp.h: Likewise.
694 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
695 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
697 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
698 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
699 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
701 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
702 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
703 * sysdeps/pthread/lio_listio.c: Likewise.
704 * sysdeps/sparc/dl-procinfo.h: Likewise.
705 * sysdeps/unix/i386/sysdep.S: Likewise.
706 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
707 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
708 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
709 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
711 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
712 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
713 * sysdeps/unix/sysv/linux/speed.c: Likewise.
714 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
715 * sysdeps/wordsize-32/divdi3.c: Likewise.
716 * time/sys/time.h: Likewise.
717 * wcsmbs/Makefile: Likewise.
718
0549fbba
DM
7192013-01-01 David S. Miller <davem@davemloft.net>
720
a141f1a7
DM
721 * po/fr.po: Update from translation team.
722
0549fbba
DM
723 * catgets/gencat.c: Update copyright year.
724 * csu/version.c: Likewise.
725 * debug/catchsegv.sh: Likewise.
726 * debug/pcprofiledump.c: Likewise.
727 * debug/xtrace.sh: Likewise.
728 * elf/ldconfig.c: Likewise.
729 * elf/ldd.bash.in: Likewise.
730 * elf/pldd.c: Likewise.
731 * elf/sotruss.ksh: Likewise.
732 * elf/sprof.c: Likewise.
733 * iconv/iconv_prog.c: Likewise.
734 * iconv/iconvconfig.c: Likewise.
735 * locale/programs/locale.c: Likewise.
736 * locale/programs/localedef.c: Likewise.
737 * login/programs/pt_chown.c: Likewise.
738 * malloc/memusage.sh: Likewise.
739 * malloc/memusagestat.c: Likewise.
740 * malloc/mtrace.pl: Likewise.
741 * nscd/nscd.c: Likewise.
742 * nss/getent.c: Likewise.
743 * nss/makedb.c: Likewise.
744 * posix/getconf.c: Likewise.
745
18ea052c
SP
7462012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
747
748 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
749 numbers.
750
9c89fca6
MF
7512012-12-30 Mike Frysinger <vapier@gentoo.org>
752
753 * math/bits/mathcalls.h (modf): Use __nonnull.
754
085ec079
SP
7552012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
756
757 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
758 (split): Use macro CN instead of the bare value.
759 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
760 could be used.
761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
762 instead of the bare value.
763 (power1): Likewise.
764
6d9f97e1
SP
7652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
766
d63f73be
SP
767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
768 __ATAN_TWOM.
769 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
770
6d9f97e1
SP
771 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
772 their values.
773 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
774 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
775 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
776 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
777
4c4febf5
AJ
7782012-12-28 Andreas Jaeger <aj@suse.de>
779
af5843ef
AJ
780 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
781 values are from Linux 3.7.
782
4c4febf5
AJ
783 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
784 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
785
99136f82
SP
7862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
787
2f216c3c 788 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
789 TRUE case.
790
99136f82
SP
791 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
792 (norm): Likewise.
793 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
794 variables with preprocessor constants.
795 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
796 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
798
7fffbdff
BH
7992012-12-27 Bruno Haible <bruno@clisp.org>
800
801 [BZ #14317]
802 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
803 only if needed.
804
b76eb5f0
SP
8052012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
806
31a7fe5c
SP
807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
808 and use variable directly.
809 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
810
b76eb5f0
SP
811 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
812 MPONE.
813 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
815 variable MPONE.
816 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
818 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
819 include directive. Remove local variable MPONE.
820 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
821 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
822 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
823
2c8bfe7d
DM
8242012-12-25 David S. Miller <davem@davemloft.net>
825
826 * version.h (RELEASE): Set to "development".
827 (VERSION): Set to "2.17.90".
828 * NEWS: Add 2.18 section.
829
147d03b0
DM
8302012-12-21 David S. Miller <davem@davemloft.net>
831
832 * po/hr.po: Update from translation team.
833
a8ebb2b9
AK
8342012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
835
836 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
837
95b4f1b6
SE
8382012-12-19 Steve Ellcey <sellcey@mips.com>
839
b2d94007 840 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 841
cedb2a90
MS
8422012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
843
844 * manual/contrib.texi (Contributors): Spelling correction.
845
bbf527d6
DM
8462012-12-15 David S. Miller <davem@davemloft.net>
847
848 * po/ru.po: Update from translation team.
849
bc38c906
DM
8502012-12-13 David S. Miller <davem@davemloft.net>
851
85429b1a
DM
852 * NEWS: Mention IFUNC testsuite enhancements.
853
d283e353
DM
854 * po/pl.po: Update from translation team.
855 * po/bg.po: Likewise.
856
bc38c906
DM
857 * manual/contrib.texi (Contributors): Update entries for Hongjiu
858 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
859
a181b0d7
DM
8602012-12-11 David S. Miller <davem@davemloft.net>
861
4641d57e
DM
862 * po/sv.po: Update from translation team.
863
f7bc6495
DM
864 * po/vi.po: Update from translation team.
865
6fc9048f
DM
866 * po/cs.po: Update from translation team.
867
a181b0d7
DM
868 * po/de.po: Update from translation team.
869 * po/eo.po: Likewise.
870 * po/nl.po: Likewise.
871
f70bfe80
SP
8722012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
873
3c8b4190
SP
874 [BZ #14246]
875 * manual/argp.texi (Argp Helper Functions): Move node to follow
876 Argp Parsing State.
877
f70bfe80
SP
878 [BZ #14872]
879 * manual/conf.texi (Limits on File System Capacity): Mention if
880 terminating null is included in the max size.
881
188f0adf
AJ
8822012-12-10 Andreas Jaeger <aj@suse.de>
883
884 * po/cs.po: Update from translation team.
885
56e7d3ad
SP
8862012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
887
888 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
889 void pointer and cast to uintptr_t.
890 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
891 path.
892 * sysdeps/s390/s390-64/memcpy.S: Likewise.
893 * sysdeps/s390/s390-64/memset.S: Likewise.
894
76f2d2ea 8952012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
896
897 [BZ #14833]
898 * menual/message.texi (Message Translation): Fix typos.
899 (Helper programs for gettext): Likewise.
900
67cbf9a2
AS
9012012-12-07 Andreas Schwab <schwab@linux-m68k.org>
902
903 [BZ #14898]
904 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
905 Change to -1.
906
682d0e9a
DM
9072012-12-07 David S. Miller <davem@davemloft.net>
908
909 * po/libc.pot: Update.
910
573cd484
RH
9112012-12-07 Richard Henderson <rth@redhat.com>
912
7e9da188 913 [BZ #10114]
573cd484
RH
914 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
915 normal/normal case to before the switch.
916 (_FP_DIV): Likewise.
917
e933a943
MF
9182012-12-06 Carlos O'Donell <carlos@systemhalted.org>
919 Mike Frysinger <vapier@gentoo.org>
920
921 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
922 check for __NR_fadvise64_64.
923
82123268
CM
9242012-12-06 Chris Metcalf <cmetcalf@tilera.com>
925
926 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
927 0, not just to plain "0" as a statement.
928 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
929 with cw.
930
d9814526
JM
9312012-12-06 Joseph Myers <joseph@codesourcery.com>
932
933 * NEWS: Use sourceware.org in Bugzilla URL.
934
7728c574
SP
9352012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
936
f16946dd
SP
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
938 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
939
5704bbcb
SP
940 * stdio-common/tst-put-error.c (do_test): Add newline to the
941 padded test to ensure flush.
942
17aa0516
JL
9432012-12-05 Jeff Law <law@redhat.com>
944
945 * sunrpc/etc.rpc (fedfs_admin): Add entry.
946
363313b5
JM
9472012-12-05 Joseph Myers <joseph@codesourcery.com>
948
effbd42a
JM
949 * README: Don't refer to ports add-on as distributed separately.
950 Mention AArch64 in list of systems supported in the ports add-on.
951
87600365
JM
952 * LICENSES: Add more non-FSF copyright and license notices.
953
a0d7066a
JM
954 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
955 ((unused)).
956
66ca5a5b
JM
957 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
958
363313b5
JM
959 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
960 10000 as width of padded output.
961
b37984ad
JM
9622012-12-04 Joseph Myers <joseph@codesourcery.com>
963
9003570a
JM
964 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
965
b37984ad
JM
966 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
967 variable LX with __attribute__ ((unused)).
968 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
969 Likewise.
970 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
971 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
972 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
973 with __attribute__ ((unused)).
974
c8df52ec
DM
9752012-12-04 David S. Miller <davem@abraco.davemloft.net>
976
977 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
978
b3b099af
JM
9792012-12-04 Joseph Myers <joseph@codesourcery.com>
980
c33aa6e3
JM
981 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
982 (CFLAGS-nldbl-acos.c): New variable.
983 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
984 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
985 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
986 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
987 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
988 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
989 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
990 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
991 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
992 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
993 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
994 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
995 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
996 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
997 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
998 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
999 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1000 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1001 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1002 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1003 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1004 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1005 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1006 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1007 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1008 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1009 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1010 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1011 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1012 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1013 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1014 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1015 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1016 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1017 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1018 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1019 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1020 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1021 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1022 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1023 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1024 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1025 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1026 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1027 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1028 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1029 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1030 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1031 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1032 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1033 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1034 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1035 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1036 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1037 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1038 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1039 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1040 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1041 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1042 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1043 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1044 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1045 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1046 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1047 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1048 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1049 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1050 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1051 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1052 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1053 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1054 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1055 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1056 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1057 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1058 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1059 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1060 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1061 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1062 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1063 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1064 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1065 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1066 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1067 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1068 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1069 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1070 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1071 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1072 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1073 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1074 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1075 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1076 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1077 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1078 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1079 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1080
20f0018d
JM
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1082 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1083
b3b099af
JM
1084 [BZ #14914]
1085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1086 whole low double instead of just low 47 bits when splitting values
1087 into two parts.
1088
029264d1
AM
10892012-12-03 Allan McRae <allan@archlinux.org>
1090
1091 * manual/stdio.texi (Predefined Printf Handlers): Remove
1092 @hsep and @vsep usage.
1093
c9d6789e
MF
10942012-12-03 Mike Frysinger <vapier@gentoo.org>
1095
1096 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1097 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1098
4b7634a5
JL
10992012-12-03 Jeff Law <law@redhat.com>
1100
1101 * time/sys/time.h (settimeofday): Do not mark TV argument
1102 as __nonnull.
1103
eb6cbd24
MF
11042012-12-01 Mike Frysinger <vapier@gentoo.org>
1105
1106 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1107 when currently writing and seek to current position when not.
1108 * libio/Makefile (tests): Remove bug-fclose1.
1109 * libio/bug-fclose1.c: Delete.
1110
f638872a
JM
11112012-12-01 Joseph Myers <joseph@codesourcery.com>
1112
1113 * manual/arith.texi (feenableexcept): Fix typo.
1114 (fedisableexcept): Likewise.
1115
48085d14
RM
11162012-11-30 Roland McGrath <roland@hack.frob.com>
1117
1118 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1119 second, differently-typed declaration, rather than a cast.
1120
1a538b9f
SP
11212012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
1123 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1124 * include/rpc/svc.h: ... here.
1125
d07f2ff1 11262012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1127
1128 [BZ #13013]
1129 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1130 depending n and resplen2 to catch cases where answer
1131 equals answerp2.
1132
c93ec1f0
CD
11332012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1134
1135 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1136 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1137
37db69de
MF
11382012-11-29 Mike Frysinger <vapier@gentoo.org>
1139
1140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1141
e10c4e4f
RM
11422012-11-29 Roland McGrath <roland@hack.frob.com>
1143
1144 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1145
2af1b328
JL
11462012-11-28 Jeff Law <law@redhat.com>
1147
1148 [BZ #13761]
1149 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1150 dataset_temporary. Track alloca usage into alloca_used.
1151 If dataset is large allocate and release it via malloc/free.
1152
111db5b1
FW
11532012-06-04 Florian Weimer <fweimer@redhat.com>
1154
f06cc227 1155 [BZ #14197]
111db5b1
FW
1156 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1157
dd694abd
DM
11582012-11-28 David S. Miller <davem@davemloft.net>
1159
1160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1161
9984dd01
JM
11622012-11-28 Joseph Myers <joseph@codesourcery.com>
1163
1164 [BZ #14803]
1165 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1166 of pi/2 rounded to nearest to 64 bits.
1167 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1168 nearest to 64 bits.
1169 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1170 bits.
1171
14bc93a9
JL
11722012-11-28 Jeff Law <law@redhat.com>
1173 Martin Osvald <mosvald@redhat.com>
1174
1175 [BZ #14889]
1176 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1177 * sunrpc/svc.c: Include time.h.
1178 (__svc_accept_failed): New function.
1179 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1180 any reason other than EINTR, call __svc_accept_failed.
1181 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1182 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1183
e3c6aa3a
AS
11842012-11-28 Andreas Schwab <schwab@suse.de>
1185
1186 * scripts/abilist.awk: Also handle indirect functions in .opd
1187 section.
1188
1bead169
JM
11892012-11-28 Joseph Myers <joseph@codesourcery.com>
1190
1191 [BZ #13881]
1192 * sysdeps/x86/fpu/powl_helper.c: New file.
1193 * sysdeps/x86/fpu/Makefile: Likewise.
1194 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1195 (p3): New object.
1196 (__ieee754_powl): Use __powl_helper for finite arguments except
1197 integer exponents below 8.
1198 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1199 (p3): New object.
1200 (__ieee754_powl): Use __powl_helper for finite arguments except
1201 integer exponents below 8.
1202 * math/libm-test.inc (pow_test): Add more tests and enable some
1203 previously disabled tests.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1206
0817d63d
SP
12072012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1208 Carlos O'Donell <carlos_odonell@mentor.com>
1209
1210 * nss/makedb.c (is_prime): Assert that input is odd and greater
1211 than 4. Note that fact in a comment too.
1212 (next_prime): Add 4 to input.
1213
de2fd463
SP
12142012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1215
1216 [BZ #11741]
1217 * libio/Makefile (tests): Add test case tst-fwrite-error.
1218 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1219 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1220 * libio/tst-fwrite-error.c: New test case.
1221
c515fb51
L
12222012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1223
1224 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1225 before casting to void *.
1226 * include/libc-internal.h (__pointer_type): New macro.
1227 (__integer_if_pointer_type_sub): Likewise.
1228 (__integer_if_pointer_type): Likewise.
1229 (cast_to_integer): Likewise.
1230 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1231 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1232 before casting to atomic64_t.
1233 (atomic_exchange_acq): Likewise.
1234 (__arch_exchange_and_add_body): Likewise.
1235 (__arch_add_body): Likewise.
1236 (atomic_add_negative): Likewise.
1237 (atomic_add_zero): Likewise.
1238
4cf77aa9
JM
12392012-11-26 Joseph Myers <joseph@codesourcery.com>
1240
1241 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1242 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1243 (add_fdes): Likewise.
1244 (linear_search_fdes): Likewise.
1245 (binary_search_unencoded_fdes): Likewise.
1246
d260b3b4
AS
12472012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1248
1249 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1250
67060746
AC
12512012-11-24 Adam Conrad <adconrad@0c3.net>
1252
1253 * configure.in: Autodetect C++ header directories.
1254 * configure: Regenerated.
1255
800938a1
MF
12562012-11-23 Mike Frysinger <vapier@gentoo.org>
1257
1258 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1259
4e6e34e6
AS
12602012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1261
1262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1263
7c7feb47
JM
12642012-11-22 Joseph Myers <joseph@codesourcery.com>
1265
7184dcdf
JM
1266 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1267 LDBL_MANT_DIG == 106]: Disable some tests.
1268 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1269 Likewise.
1270 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1271 Likewise.
1272
0a42601f
JM
1273 [BZ #14871]
1274 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1275 input for small inputs. Return +/- pi/2 for large inputs.
1276 * math/libm-test.inc (atan_test): Add more tests.
1277
79c9b9fe
JM
1278 * sysdeps/generic/unwind-dw2-fde-glibc.c
1279 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1280 __attribute__ ((unused)).
1281
c60d3bf2
JM
1282 [BZ #14645]
1283 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1284 x * y if x and y are nonzero and z is zero.
1285
ef1e0867
JM
1286 [BZ #14811]
1287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1288 nonzero exponents with absolute value below 0x1p-117 to +/-
1289 0x1p-117.
1290
1468ded3
JM
1291 [BZ #14869]
1292 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1293 up arguments below 2**-450, not just those below 2**-500.
1294 * math/libm-test.inc (hypot_test): Add another test.
1295
8e27e3cc
JM
1296 [BZ #14868]
1297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1298 Return a+b for ratio over 2**120, not 2**60.
1299 * math/libm-test.inc (hypot_test): Add another test.
1300
c9c0279b
JM
1301 * math/libm-test.inc (clog_test): Use
1302 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1303 (clog10_test): Likewise.
1304
7c7feb47
JM
1305 [BZ #6778]
1306 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1307
fff1530e
AS
13082012-11-22 Andreas Schwab <schwab@suse.de>
1309
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311
94558d30
PT
13122012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1313
1314 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1315 printf output with newline.
1316
7e1be741
L
13172012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1318
6bfea974
L
1319 [BZ #14865]
1320 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1321 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1322 -z nodlopen, -z initfirst and -z execstack support.
1323 * configure: Regenerated.
1324
7e1be741
L
1325 * elf/elf.h (DF_1_NODIRECT): New macro.
1326 (DF_1_IGNMULDEF): Likewise.
1327 (DF_1_NOKSYMS): Likewise.
1328 (DF_1_NOHDR): Likewise.
1329 (DF_1_EDITED): Likewise.
1330 (DF_1_NORELOC): Likewise.
1331 (DF_1_SYMINTPOSE): Likewise.
1332 (DF_1_GLOBAUDIT): Likewise.
1333 (DF_1_SINGLETON): Likewise.
1334 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1335 DT_1_SUPPORTED_MASK bits.
1336 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1337
105ce2ce
CD
13382012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1339
1340 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1341
123be9de
TS
13422012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1343
d072f3f7
TS
1344 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1345 macro.
1346
123be9de
TS
1347 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1348 (sendmmsg): Move declarations...
1349 * socket/sys/socket.h: ... here.
1350 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1351 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1352 include it from...
1353 * socket/recvmmsg.c: ... this new file.
1354 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1355 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1356 definition of __sendmmsg hidden.
1357 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1358 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1359 Move ENOSYS stub into and include it from...
1360 * socket/sendmmsg.c: ... this new file.
1361 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1362 (sysdep_routines): Move recvmmsg and sendmmsg...
1363 * socket/Makefile (routines): ... here.
1364 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1365 (GLIBC_PRIVATE): Add __sendmmsg.
1366 * include/sys/socket.h (__sendmmsg): Add declarations.
1367 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1368 sendmmsg.
1369
cf9a5d18
JM
13702012-11-20 Joseph Myers <joseph@codesourcery.com>
1371
1372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1373 variable I1 with __attribute__ ((unused)).
1374 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1375
ecd4caf9
JM
13762012-11-19 Joseph Myers <joseph@codesourcery.com>
1377
be14d48f
JM
1378 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1379 DUMMY variables with __attribute__ ((unused)).
1380
ecd4caf9
JM
1381 * bits/byteswap.h: Include <bits/types.h>.
1382 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1383
986cab95
PT
13842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1385
1386 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1387 string_t. Do not manually set errno.
1388 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1389 length with __strnlen. Make sure to both set errno and return it on
1390 failure.
1391
6d33cc9d
DM
13922012-11-19 David S. Miller <davem@davemloft.net>
1393
1394 With help from Joseph Myers.
1395 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1396 very large arguments properly.
1397 * math/libm-test.inc (atan_test): New tests.
1398 (atan2_test): New tests.
1399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1401
ee663277
JM
14022012-11-19 Joseph Myers <joseph@codesourcery.com>
1403
877f2d8e
JM
1404 [BZ #14856]
1405 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1406 Define to 3.
1407
116fc08a
JM
1408 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1409 [POSIX] (EADDRNOTAVAIL): Likewise.
1410 [POSIX] (EAFNOSUPPORT): Likewise.
1411 [POSIX] (EALREADY): Likewise.
1412 [POSIX] (ECONNABORTED): Likewise.
1413 [POSIX] (ECONNREFUSED): Likewise.
1414 [POSIX] (ECONNRESET): Likewise.
1415 [POSIX] (EDESTADDRREQ): Likewise.
1416 [POSIX] (EDQUOT): Likewise.
1417 [POSIX] (EHOSTUNREACH): Likewise.
1418 [POSIX] (EIDRM): Likewise.
1419 [POSIX] (EISCONN): Likewise.
1420 [POSIX] (ELOOP): Likewise.
1421 [POSIX] (EMULTIHOP): Likewise.
1422 [POSIX] (ENETDOWN): Likewise.
1423 [POSIX] (ENETUNREACH): Likewise.
1424 [POSIX] (ENOBUFS): Likewise.
1425 [POSIX] (ENODATA): Likewise.
1426 [POSIX] (ENOLINK): Likewise.
1427 [POSIX] (ENOMSG): Likewise.
1428 [POSIX] (ENOPROTOOPT): Likewise.
1429 [POSIX] (ENOSR): Likewise.
1430 [POSIX] (ENOSTR): Likewise.
1431 [POSIX] (ENOTCONN): Likewise.
1432 [POSIX] (ENOTSOCK): Likewise.
1433 [POSIX] (EOPNOTSUPP): Likewise.
1434 [POSIX] (EOVERFLOW): Likewise.
1435 [POSIX] (EPROTO): Likewise.
1436 [POSIX] (EPROTONOSUPPORT): Likewise.
1437 [POSIX] (EPROTOTYPE): Likewise.
1438 [POSIX] (ESTALE): Likewise.
1439 [POSIX] (ETIME): Likewise.
1440 [POSIX] (ETXTBSY): Likewise.
1441 [POSIX] (EWOULDBLOCK): Likewise.
1442 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1443 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1444 [POSIX] (SEEK_CUR): Likewise.
1445 [POSIX] (SEEK_END): Likewise.
1446 [POSIX || UNIX98] (mode_t): Do not require.
1447 [POSIX] (off_t): Likewise.
1448 [POSIX] (pid_t): Likewise.
1449 [POSIX] (sys/stat.h): Do not allow header.
1450 [POSIX] (unistd.h): Likewise.
1451 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1452 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1453 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1454 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1455 require.
1456 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1457 sigevent): Specify elements.
1458 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1459 entry.
1460 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1461 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1462
a483863f
JM
1463 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1464 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1465 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1466 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1467 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1468 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1469 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1470 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1471 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1472 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1473 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1474 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1475 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1477 Likewise.
1478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1479 Likewise.
1480 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1481 Likewise.
1482 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1483 Likewise.
1484 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1485 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1486 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1487 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1489 Specify lower bound on value.
1490 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1491 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1496 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1497 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1498 value.
1499 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1500 as optional.
1501 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1503 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1508 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1509 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1510 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1511 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1512 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1513 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1514 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1517 entry.
1518 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1519 optional.
1520 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1521 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1522 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1523 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1524 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1525 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1526 Likewise.
1527 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1528 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1529 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1530 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1531 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1532 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1534 as optional.
1535 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1536 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1537 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1539 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1540 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1541 specify as optional.
1542 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1543 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1544 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1545 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1546 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1547 [XPG3] (NL_LANGMAX): Likewise.
1548 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1549 [POSIX || XPG3] (NL_NMAX): Likewise.
1550 [POSIX || XPG3] (NL_SETMAX): Likewise.
1551 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1552 [XPG3] (NZERO): Likewise.
1553 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1554 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1555 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1556 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1557 (REG_ERANGE): Expect.
1558 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1559 optional-constant.
1560 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1561 Use (void) in prototype.
1562 [POSIX] (*_t): Allow.
1563 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1564 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1565 (WRDE_BADVAL): Expect.
1566
5ba924e3
JM
1567 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1568 expect.
1569 [XPG3 || XPG4] (O_RSYNC): Likewise.
1570 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1571 Likewise.
1572 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1573 [XPG3 || XPG4] (sigqueue): Likewise.
1574 [XPG3 || XPG4] (sigtimedwait): Likewise.
1575 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1576 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1577 [XPG3 || XPG4] (vsnprintf): Likewise.
1578 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1579 Likewise.
1580 [XPG3 || XPG4] (blksize_t): Likewise.
1581 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1582 Likewise.
1583 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1584 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1585 [XPG3 || XPG4] (struct itimerspec): Likewise.
1586 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1587 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1588 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1589 [XPG3 || XPG4] (clockid_t): Likewise.
1590 [XPG3 || XPG4] (timer_t): Likewise.
1591 [XPG3 || XPG4] (clock_getres): Likewise.
1592 [XPG3 || XPG4] (clock_gettime): Likewise.
1593 [XPG3 || XPG4] (clock_settime): Likewise.
1594 [XPG3 || XPG4] (nanosleep): Likewise.
1595 [XPG3 || XPG4] (timer_create): Likewise.
1596 [XPG3 || XPG4] (timer_delete): Likewise.
1597 [XPG3 || XPG4] (timer_gettime): Likewise.
1598 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1599 [XPG3 || XPG4] (timer_settime): Likewise.
1600 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1601 [XPG3 || XPG4] (getlogin_r): Likewise.
1602 [XPG3 || XPG4] (pread): Likewise.
1603 [XPG3 || XPG4] (pthread_atfork): Likewise.
1604 [XPG3 || XPG4] (pwrite): Likewise.
1605
ee663277
JM
1606 [BZ #14835]
1607 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1608 <bits/siginfo.h>.
1609
942caa16
PT
16102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1611
e19af380
PT
1612 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1613 finalizing MALLSTREAM.
1614
942caa16
PT
1615 * sysdeps/mach/hurd/syncfs.c: New file.
1616
cfde9b46
SP
16172012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1618
1619 [BZ #14719]
1620 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1621 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1623 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1624 (_nss_dns_gethostbyname4_r): Likewise.
1625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1626 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1627
f6da27e5
PH
16282012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1629
1630 [BZ #13763]
1631 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1632
6665d4a2
SM
16332012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1634
1f51ee92
SM
1635 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1636 * elf/cache.c (print_entry): Print ",AArch64" for
1637 FLAG_AARCH64_LIB64
1638
6665d4a2
SM
1639 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1640 * elf/cache.c (print_entry): Print ",hard-float" for
1641 FLAG_ARM_LIBHF.
1642
05b227bd
DM
16432012-11-18 David S. Miller <davem@davemloft.net>
1644
1645 With help from Joseph Myers.
1646 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1647 cutoff to 2**-13.
1648 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1649 cutoff to 2**-25.
1650 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1651 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1652 small.
1653 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1654 * math/libm-test.inc (y0_test): New tests.
1655 (y1_test): New tests.
1656 * sysdeps/i386/fpu/libm-test-ulps: Update.
1657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1659
786b0b67
AS
16602012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1661
1662 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1663 64-bit targets.
1664 * configure: Regenerated.
1665
8e18b86d
DM
16662012-11-17 David S. Miller <davem@davemloft.net>
1667
1668 [BZ #14811]
1669 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1670 nonzero exponents with absolute value below 0x1p-128 to +/-
1671 0x1p-128.
1672
531f1ae0
JM
16732012-11-17 Joseph Myers <joseph@codesourcery.com>
1674
12df29e2
JM
1675 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1676
150dc1a0
JM
1677 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1678
531f1ae0
JM
1679 * posix/getconf-speclist.c: New file.
1680 * posix/posix-envs.def: Likewise.
1681 * posix/confstr.c (START_ENV_GROUP): New macro.
1682 (END_ENV_GROUP): Likewise.
1683 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1684 (KNOWN_PRESENT_ENV_STRING): Likewise.
1685 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1686 (UNKNOWN_ENVIRONMENT): Likewise.
1687 (confstr): Include posix-envs.def instead of handling
1688 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1689 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1690 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1691 (END_ENV_GROUP): Likewise.
1692 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1693 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1694 (UNKNOWN_ENVIRONMENT): Likewise.
1695 (__sysconf): Include posix-envs.def instead of handling associated
1696 cases directly here.
1697 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1698 preprocessing getconf-speclist.c rather than running getconf or
1699 generating empty file.
1700
a93f9cbc
PT
17012012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1702
1703 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1704
d64d9f87
AL
17052012-11-16 Andrej Lajovic <natrij@gmail.com>
1706
1707 [BZ #14672]
1708 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1709
447885eb
DM
17102012-11-16 David S. Miller <davem@davemloft.net>
1711
1712 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1713 smaller than LDBL_EPSILON/2.0L, just return xm1.
1714
bcbf9830
L
17152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * elf/tst-array1.c (init): Set constructor priority to 1000.
1718 (fini): Set destructor priority to 1000.
1719 * elf/tst-array2dep.c: Likewise.
1720
2b766585
SP
17212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1722
1723 [BZ #11741]
1724 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1725 (_IO_new_file_xsputn): Also return EOF if none of the input
1726 data was written when overflow failed.
1727 * libio/iopadn.c (_IO_padn): Likewise.
1728 * libio/iowpadn.c (_IO_wpadn): Likewise.
1729 * stdio-common/tst-put-error.c: Add copyright notice.
1730 (do_test): Add case for printing padded string.
1731 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1732 _IO_padn returned error.
1733 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1734 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1735 return EOF.
1736
b1848fde
SP
17372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1738
1739 * libio/libioP.h: Add comment note that the references to C++
1740 bits are now obsolete.
1741
2fd89785
MS
17422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1743
1744 * math/libm-test.inc (check_complex): Use asprintf.
1745
e3ea5409
JM
17462012-11-14 Joseph Myers <joseph@codesourcery.com>
1747
1748 * debug/pcprofiledump.c (print_version): Update copyright year.
1749 * malloc/memusagestat.c (print_version): Likewise.
1750
2e64d265
L
17512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1752
1753 [BZ #14831]
1754 * elf/Makefile (tests): Add tst-audit8.
1755 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1756 ($(objpfx)tst-audit8.out): New target.
1757 (tst-audit8-ENV): New variable.
1758 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1759 audit if l_reloc_result is NULL.
1760 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1761 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1762 * elf/tst-audit8.c: New file.
1763
c485e4d2
MS
17642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1765
1766 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1767 * misc/Makefile (CFLAGS-select.c): Define.
1768 * posix/Makefile (CFLAGS-pause.c): Define.
1769
3a0d900a
DM
17702012-11-13 David S. Miller <davem@davemloft.net>
1771
1772 * crypt/Makefile: Move test targets after toplevel Rules
1773 inclusion. Grab any necessary sysdep routines when linking.
1774 * crypt/md5.c (md5_process_block): Remove define, we will always
1775 name it __md5_process_block.
1776 (md5_finish_ctx): Update md5_process_block call.
1777 (md5_stream): Likewise.
1778 (md5_process_bytes): Likewise.
1779 (md5_process_block): Rename to __md5_process_block and move to ...
1780 * crypt/md5-block.c: ... here.
1781 * crypt/sha256.c (sha256_process_block): Move to ...
1782 * crypt/sha256-block.c: ... here.
1783 * crypt/sha512.c (sha512_process_block): Move to ...
1784 * crypt/sha512-block.c: ... here.
1785 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1786 path.
1787 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1788 * sysdeps/sparc/sparc64/multiarch/Makefile
1789 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1790 crypt subdir.
1791 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1792 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1793 multiarch changes.
1794 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1795 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1796 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1797 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1798 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1799 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1800 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1801 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1802 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1803 file.
1804 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1805 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1806 file.
1807 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1808
8ca89318
JM
18092012-11-13 Joseph Myers <joseph@codesourcery.com>
1810
e27d476a
JM
1811 * timezone/tzselect.ksh: Update from tzcode git revision
1812 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1813 * timezone/zdump.c: Likewise.
1814 * timezone/zic.c: Likewise.
1815 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1816 in TZVERSION setting, not $(PKGVERSION).
1817 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1818 REPORT_BUGS_TO settings.
1819
8ca89318
JM
1820 [BZ #14838]
1821 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1822 macro.
1823
47594329
MS
18242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1825
1826 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1827 detection to immediately after _FP_ROUND().
1828 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1829 bits are 0.
1830
640ac3f1
DM
18312012-11-11 David S. Miller <davem@davemloft.net>
1832
1833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1834 inttypes.h
1835 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1836 __close rather than their public counterparts.
1837
3d2577bb
JM
18382012-11-10 Joseph Myers <joseph@codesourcery.com>
1839
1840 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1841 file.
1842 [UNIX98] (sem_timedwait): Do not expect.
1843 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1844 [XPG4 || UNIX98] (sockatmark): Do not expect.
1845 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1846 (clock_getcpuclockid): Do not expect.
1847 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1848 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1849 Do not expect.
1850 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1851 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1852 [UNIX98] (vwscanf): Likewise.
1853 [UNIX98] (vswscanf): Likewise.
1854
fb1ae1ee
JM
18552012-11-09 Joseph Myers <joseph@codesourcery.com>
1856
9ec6f8bd
JM
1857 * timezone/version.h: Remove file.
1858 * timezone/README: Do not refer to version.h.
1859 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1860 $(objpfx)version.h.
1861 ($(objpfx)zdump.o): Likewise.
c3f81911 1862 ($(objpfx)version.h): New target.
9ec6f8bd 1863
0aa8f8a1
JM
1864 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1865 2012i.
1866 * timezone/README: Don't mention modification to tzselect.ksh.
1867 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1868 work on unmodified tzselect.ksh. Substitute version numbers in
1869 tzselect.ksh.
1870
4e87147f
JM
1871 * Makefile (format-me): Remove.
1872 (INSTALL): Adjust indentation. Use commands directly instead of
1873 using $(format-me).
1874
8b748aed
JM
1875 * aclocal.m4 (ACX_PKGVERSION): New macro.
1876 (ACX_BUGURL): Likewise.
1877 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1878 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1879 (REPORT_BUGS_TO): Likewise.
1880 * configure: Regenerated.
1881 * config.h.in (PKGVERSION): New macro.
1882 (REPORT_BUGS_TO): Likewise.
1883 * config.make.in (PKGVERSION): New variable.
1884 (PKGVERSION_TEXI): Likewise.
1885 (REPORT_BUGS_TO): Likewise.
1886 (REPORT_BUGS_TEXI): Likewise.
1887 * Makefile (format-me): Use -I$(common-objpfx)manual.
1888 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1889 ($(common-objpfx)manual/%): New target.
1890 (manual/%): Remove target.
1891 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1892 (print_version): Use PKGVERSION.
1893 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1894 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1895 and REPORT_BUGS_TO.
1896 ($(objpfx)xtrace): Likewise.
1897 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1898 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1899 (print_version): Use PKGVERSION.
1900 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1901 (do_version): Use PKGVERSION.
1902 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1903 REPORT_BUGS_TO.
1904 (common-ldd-rewrite): Likewise.
1905 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1906 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1907 (print_version): Use PKGVERSION.
1908 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1909 * elf/pldd.c (argp_program_bug_address): Remove variable.
1910 (more_help): New function.
1911 (argp): Use more_help.
1912 (print_version): Use PKGVERSION.
1913 * elf/sln.c (main): Use PKGVERSION.
1914 (usage): Use REPORT_BUGS_TO.
1915 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1916 (top level): Use PKGVERSION.
1917 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1918 (print_version): Use PKGVERSION.
1919 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1920 (print_version): Use PKGVERSION.
1921 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1922 (print_version): Use PKGVERSION.
1923 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1924 (print_version): Use PKGVERSION.
1925 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1926 (print_version): Use PKGVERSION.
1927 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1928 (print_version): Use PKGVERSION.
1929 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1930 and BUGURL.
1931 ($(objpfx)memusage): Likewise.
1932 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1933 (do_version): Use PKGVERSION.
1934 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1935 (print_version): Use PKGVERSION.
1936 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1937 ($PKGVERSION): New variable.
1938 ($REPORT_BUGS_TO): Likewise.
1939 (usage): Use $REPORT_BUGS_TO.
1940 (top level): Use $PKGVERSION.
1941 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1942 ($(objpfx)pkgvers.texi): New rule.
1943 ($(objpfx)stamp-pkgvers): Likewise.
1944 * manual/install.texi: Include pkgvers.texi.
1945 (--with-pkgversion): Document new configure option.
1946 (--with-bugurl): Likewise.
1947 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1948 than necessarily for this particular distribution. Use
1949 REPORT_BUGS_TO for where to report bugs.
1950 * INSTALL: Regenerated.
1951 * manual/libc.texinfo: Include pkgvers.texi.
1952 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1953 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1954 (print_version): Use PKGVERSION.
1955 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1956 (print_version): Use PKGVERSION.
1957 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1958 (print_version): Use PKGVERSION.
1959 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1960 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1961 macro.
1962 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1963 (print_version): Use PKGVERSION.
1964 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1965 (print_version): Use PKGVERSION.
1966 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1967 and PKGVERSION.
1968
92e4b6a9
JM
1969 * timezone/checktab.awk: Update from tzcode 2012i.
1970 * timezone/ialloc.c: Likewise.
1971 * timezone/private.h: Likewise.
1972 * timezone/scheck.c: Likewise.
1973 * timezone/tzfile.h: Likewise.
1974 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1975 (TZVERSION): Hardcode tzcode version number.
1976 * timezone/zdump.c: Update from tzcode 2012i.
1977 * timezone/zic.c: Likewise.
1978 * timezone/version.h: New file.
1979 * timezone/README: Describe version.h. Update upstream location.
1980
9bde902c
JM
1981 [BZ #14824]
1982 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1983 (mktemp): Enable declaration.
1984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1988 Likewise.
1989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1990 Likewise.
1991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1992 Likewise.
1993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1994 Likewise.
1995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1996 Likewise.
1997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1998 Likewise.
1999
fb1ae1ee
JM
2000 [BZ #14821]
2001 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2002 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2003 for copies of such integer values.
2004 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2005 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2006
2c1adbcb
AJ
20072012-11-09 Andreas Jaeger <aj@suse.de>
2008
2009 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2010 definitions and declarations that are provided by
2011 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012
d0f8457e
AK
20132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2014
3a235abb 2015 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2016 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2017 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2018 definition.
2019
57241e26
MS
20202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2021
2022 * elf/elf.h: Update comment before AArch64 relocations.
2023
60e8270d
DM
20242012-11-07 David S. Miller <davem@davemloft.net>
2025
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2027 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2028 (__start_context): Declare.
2029 (__makecontext_ret): Delete.
2030 (__makecontext): Hook up __start_context instead of
2031 __makecontext_ret.
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2033 (sysdep_routines): Add __start_context when in stdlib.
2034
0fbb0fbc
JM
20352012-11-07 Joseph Myers <joseph@codesourcery.com>
2036
2037 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2038 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2039 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2040 hardcoded "nm".
2041 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2042 (READELF): New variable. Use it instead of hardcoded "readelf".
2043
eb48db7e
L
20442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2047 * sysdeps/x86/Makefile: Here.
2048 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2049 * sysdeps/x86/tst-xmmymm.sh: This.
2050
05bcf62a
JM
20512012-11-07 Joseph Myers <joseph@codesourcery.com>
2052
c4b6cf53
JM
2053 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2054 expectations.
2055 [UNIX98] (pthread_barrier_t): Do not expect.
2056 [UNIX98] (pthread_barrierattr_t): Likewise.
2057 [UNIX98] (pthread_spinlock_t): Likewise.
2058 [UNIX98] (pthread_barrier_destroy): Likewise.
2059 [UNIX98] (pthread_barrier_init): Likewise.
2060 [UNIX98] (pthread_barrier_wait): Likewise.
2061 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2062 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2063 [UNIX98] (pthread_barrierattr_init): Likewise.
2064 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2065 [UNIX98] (pthread_getcpuclockid): Likewise.
2066 [UNIX98] (pthread_mutex_timedlock): Likewise.
2067 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2068 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2069 [UNIX98] (pthread_sigmask): Likewise.
2070 [UNIX98] (pthread_spin_destroy): Likewise.
2071 [UNIX98] (pthread_spin_init): Likewise.
2072 [UNIX98] (pthread_spin_lock): Likewise.
2073 [UNIX98] (pthread_spin_trylock): Likewise.
2074 [UNIX98] (pthread_spin_unlock): Likewise.
2075 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2076 Do not expect.
2077 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2079 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2080 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2081 [XPG3 || XPG4] (pthread_key_t): Likewise.
2082 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2083 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2084 [XPG3 || XPG4] (pthread_once_t): Likewise.
2085 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2086 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2088 [XPG3 || XPG4] (pthread_t): Likewise.
2089
cbe6e120
JM
2090 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2091 not expect.
2092 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2093
1b126443
JM
2094 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2095 Change function return type to int.
2096
b961a573
JM
2097 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2098 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2099 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2100 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2101 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2102 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2103 [!POSIX] (posix_madvise): Likewise.
2104 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2105 && !UNIX98].
2106 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2107 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2108 (mode_t): Likewise.
2109 (posix_mem_offset): Likewise.
2110 (posix_typed_mem_get_info): Likewise.
2111 (posix_typed_mem_open): Likewise.
2112
9e188909
JM
2113 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2114 Change condition to [XOPEN2K8].
2115
05bcf62a
JM
2116 * conform/conformtest.pl: Preprocess allow-header data with -x c
2117 instead of from stdin.
2118 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2119 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2120 [C99-based standards] (cerfc): Likewise.
2121 [C99-based standards] (cexp2): Likewise.
2122 [C99-based standards] (cexpm1): Likewise.
2123 [C99-based standards] (clog10): Likewise.
2124 [C99-based standards] (clog1p): Likewise.
2125 [C99-based standards] (clog2): Likewise.
2126 [C99-based standards] (clgamma): Likewise.
2127 [C99-based standards] (ctgamma): Likewise.
2128 [C99-based standards] (cerff): Likewise.
2129 [C99-based standards] (cerfcf): Likewise.
2130 [C99-based standards] (cexp2f): Likewise.
2131 [C99-based standards] (cexpm1f): Likewise.
2132 [C99-based standards] (clog10f): Likewise.
2133 [C99-based standards] (clog1pf): Likewise.
2134 [C99-based standards] (clog2f): Likewise.
2135 [C99-based standards] (clgammaf): Likewise.
2136 [C99-based standards] (ctgammaf): Likewise.
2137 [C99-based standards] (cerfl): Likewise.
2138 [C99-based standards] (cerfcl): Likewise.
2139 [C99-based standards] (cexp2l): Likewise.
2140 [C99-based standards] (cexpm1l): Likewise.
2141 [C99-based standards] (clog10l): Likewise.
2142 [C99-based standards] (clog1pl): Likewise.
2143 [C99-based standards] (clog2l): Likewise.
2144 [C99-based standards] (clgammal): Likewise.
2145 [C99-based standards] (ctgammal): Likewise.
2146 * conform/data/inttypes.h-data [C99-based standards]: Include
2147 stdint.h-data. Remove all expectations for stdint.h contents.
2148 [C99-based standards] (PRI*): Do not allow.
2149 [C99-based standards] (SCN*): Likewise.
2150 [C99-based standards] (*_t): Likewise.
2151 [C99-based-standards] (PRId8): Expect macro.
2152 [C99-based-standards] (PRIi8): Likewise.
2153 [C99-based-standards] (PRIo8): Likewise.
2154 [C99-based-standards] (PRIu8): Likewise.
2155 [C99-based-standards] (PRIx8): Likewise.
2156 [C99-based-standards] (PRIX8): Likewise.
2157 [C99-based-standards] (SCNd8): Likewise.
2158 [C99-based-standards] (SCNi8): Likewise.
2159 [C99-based-standards] (SCNo8): Likewise.
2160 [C99-based-standards] (SCNu8): Likewise.
2161 [C99-based-standards] (SCNx8): Likewise.
2162 [C99-based-standards] (PRIdLEAST8): Likewise.
2163 [C99-based-standards] (PRIiLEAST8): Likewise.
2164 [C99-based-standards] (PRIoLEAST8): Likewise.
2165 [C99-based-standards] (PRIuLEAST8): Likewise.
2166 [C99-based-standards] (PRIxLEAST8): Likewise.
2167 [C99-based-standards] (PRIXLEAST8): Likewise.
2168 [C99-based-standards] (SCNdLEAST8): Likewise.
2169 [C99-based-standards] (SCNiLEAST8): Likewise.
2170 [C99-based-standards] (SCNoLEAST8): Likewise.
2171 [C99-based-standards] (SCNuLEAST8): Likewise.
2172 [C99-based-standards] (SCNxLEAST8): Likewise.
2173 [C99-based-standards] (PRIdFAST8): Likewise.
2174 [C99-based-standards] (PRIiFAST8): Likewise.
2175 [C99-based-standards] (PRIoFAST8): Likewise.
2176 [C99-based-standards] (PRIuFAST8): Likewise.
2177 [C99-based-standards] (PRIxFAST8): Likewise.
2178 [C99-based-standards] (PRIXFAST8): Likewise.
2179 [C99-based-standards] (SCNdFAST8): Likewise.
2180 [C99-based-standards] (SCNiFAST8): Likewise.
2181 [C99-based-standards] (SCNoFAST8): Likewise.
2182 [C99-based-standards] (SCNuFAST8): Likewise.
2183 [C99-based-standards] (SCNxFAST8): Likewise.
2184 [C99-based-standards] (PRId16): Likewise.
2185 [C99-based-standards] (PRIi16): Likewise.
2186 [C99-based-standards] (PRIo16): Likewise.
2187 [C99-based-standards] (PRIu16): Likewise.
2188 [C99-based-standards] (PRIx16): Likewise.
2189 [C99-based-standards] (PRIX16): Likewise.
2190 [C99-based-standards] (SCNd16): Likewise.
2191 [C99-based-standards] (SCNi16): Likewise.
2192 [C99-based-standards] (SCNo16): Likewise.
2193 [C99-based-standards] (SCNu16): Likewise.
2194 [C99-based-standards] (SCNx16): Likewise.
2195 [C99-based-standards] (PRIdLEAST16): Likewise.
2196 [C99-based-standards] (PRIiLEAST16): Likewise.
2197 [C99-based-standards] (PRIoLEAST16): Likewise.
2198 [C99-based-standards] (PRIuLEAST16): Likewise.
2199 [C99-based-standards] (PRIxLEAST16): Likewise.
2200 [C99-based-standards] (PRIXLEAST16): Likewise.
2201 [C99-based-standards] (SCNdLEAST16): Likewise.
2202 [C99-based-standards] (SCNiLEAST16): Likewise.
2203 [C99-based-standards] (SCNoLEAST16): Likewise.
2204 [C99-based-standards] (SCNuLEAST16): Likewise.
2205 [C99-based-standards] (SCNxLEAST16): Likewise.
2206 [C99-based-standards] (PRIdFAST16): Likewise.
2207 [C99-based-standards] (PRIiFAST16): Likewise.
2208 [C99-based-standards] (PRIoFAST16): Likewise.
2209 [C99-based-standards] (PRIuFAST16): Likewise.
2210 [C99-based-standards] (PRIxFAST16): Likewise.
2211 [C99-based-standards] (PRIXFAST16): Likewise.
2212 [C99-based-standards] (SCNdFAST16): Likewise.
2213 [C99-based-standards] (SCNiFAST16): Likewise.
2214 [C99-based-standards] (SCNoFAST16): Likewise.
2215 [C99-based-standards] (SCNuFAST16): Likewise.
2216 [C99-based-standards] (SCNxFAST16): Likewise.
2217 [C99-based-standards] (PRId32): Likewise.
2218 [C99-based-standards] (PRIi32): Likewise.
2219 [C99-based-standards] (PRIo32): Likewise.
2220 [C99-based-standards] (PRIu32): Likewise.
2221 [C99-based-standards] (PRIx32): Likewise.
2222 [C99-based-standards] (PRIX32): Likewise.
2223 [C99-based-standards] (SCNd32): Likewise.
2224 [C99-based-standards] (SCNi32): Likewise.
2225 [C99-based-standards] (SCNo32): Likewise.
2226 [C99-based-standards] (SCNu32): Likewise.
2227 [C99-based-standards] (SCNx32): Likewise.
2228 [C99-based-standards] (PRIdLEAST32): Likewise.
2229 [C99-based-standards] (PRIiLEAST32): Likewise.
2230 [C99-based-standards] (PRIoLEAST32): Likewise.
2231 [C99-based-standards] (PRIuLEAST32): Likewise.
2232 [C99-based-standards] (PRIxLEAST32): Likewise.
2233 [C99-based-standards] (PRIXLEAST32): Likewise.
2234 [C99-based-standards] (SCNdLEAST32): Likewise.
2235 [C99-based-standards] (SCNiLEAST32): Likewise.
2236 [C99-based-standards] (SCNoLEAST32): Likewise.
2237 [C99-based-standards] (SCNuLEAST32): Likewise.
2238 [C99-based-standards] (SCNxLEAST32): Likewise.
2239 [C99-based-standards] (PRIdFAST32): Likewise.
2240 [C99-based-standards] (PRIiFAST32): Likewise.
2241 [C99-based-standards] (PRIoFAST32): Likewise.
2242 [C99-based-standards] (PRIuFAST32): Likewise.
2243 [C99-based-standards] (PRIxFAST32): Likewise.
2244 [C99-based-standards] (PRIXFAST32): Likewise.
2245 [C99-based-standards] (SCNdFAST32): Likewise.
2246 [C99-based-standards] (SCNiFAST32): Likewise.
2247 [C99-based-standards] (SCNoFAST32): Likewise.
2248 [C99-based-standards] (SCNuFAST32): Likewise.
2249 [C99-based-standards] (SCNxFAST32): Likewise.
2250 [C99-based-standards] (PRId64): Likewise.
2251 [C99-based-standards] (PRIi64): Likewise.
2252 [C99-based-standards] (PRIo64): Likewise.
2253 [C99-based-standards] (PRIu64): Likewise.
2254 [C99-based-standards] (PRIx64): Likewise.
2255 [C99-based-standards] (PRIX64): Likewise.
2256 [C99-based-standards] (SCNd64): Likewise.
2257 [C99-based-standards] (SCNi64): Likewise.
2258 [C99-based-standards] (SCNo64): Likewise.
2259 [C99-based-standards] (SCNu64): Likewise.
2260 [C99-based-standards] (SCNx64): Likewise.
2261 [C99-based-standards] (PRIdLEAST64): Likewise.
2262 [C99-based-standards] (PRIiLEAST64): Likewise.
2263 [C99-based-standards] (PRIoLEAST64): Likewise.
2264 [C99-based-standards] (PRIuLEAST64): Likewise.
2265 [C99-based-standards] (PRIxLEAST64): Likewise.
2266 [C99-based-standards] (PRIXLEAST64): Likewise.
2267 [C99-based-standards] (SCNdLEAST64): Likewise.
2268 [C99-based-standards] (SCNiLEAST64): Likewise.
2269 [C99-based-standards] (SCNoLEAST64): Likewise.
2270 [C99-based-standards] (SCNuLEAST64): Likewise.
2271 [C99-based-standards] (SCNxLEAST64): Likewise.
2272 [C99-based-standards] (PRIdFAST64): Likewise.
2273 [C99-based-standards] (PRIiFAST64): Likewise.
2274 [C99-based-standards] (PRIoFAST64): Likewise.
2275 [C99-based-standards] (PRIuFAST64): Likewise.
2276 [C99-based-standards] (PRIxFAST64): Likewise.
2277 [C99-based-standards] (PRIXFAST64): Likewise.
2278 [C99-based-standards] (SCNdFAST64): Likewise.
2279 [C99-based-standards] (SCNiFAST64): Likewise.
2280 [C99-based-standards] (SCNoFAST64): Likewise.
2281 [C99-based-standards] (SCNuFAST64): Likewise.
2282 [C99-based-standards] (SCNxFAST64): Likewise.
2283 [C99-based-standards] (PRIdMAX): Likewise.
2284 [C99-based-standards] (PRIiMAX): Likewise.
2285 [C99-based-standards] (PRIoMAX): Likewise.
2286 [C99-based-standards] (PRIuMAX): Likewise.
2287 [C99-based-standards] (PRIxMAX): Likewise.
2288 [C99-based-standards] (PRIXMAX): Likewise.
2289 [C99-based-standards] (SCNdMAX): Likewise.
2290 [C99-based-standards] (SCNiMAX): Likewise.
2291 [C99-based-standards] (SCNoMAX): Likewise.
2292 [C99-based-standards] (SCNuMAX): Likewise.
2293 [C99-based-standards] (SCNxMAX): Likewise.
2294 [C99-based-standards] (PRIdPTR): Likewise.
2295 [C99-based-standards] (PRIiPTR): Likewise.
2296 [C99-based-standards] (PRIoPTR): Likewise.
2297 [C99-based-standards] (PRIuPTR): Likewise.
2298 [C99-based-standards] (PRIxPTR): Likewise.
2299 [C99-based-standards] (PRIXPTR): Likewise.
2300 [C99-based-standards] (SCNdPTR): Likewise.
2301 [C99-based-standards] (SCNiPTR): Likewise.
2302 [C99-based-standards] (SCNoPTR): Likewise.
2303 [C99-based-standards] (SCNuPTR): Likewise.
2304 [C99-based-standards] (SCNxPTR): Likewise.
2305 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2306 allow.
2307 * conform/data/stdint.h-data: Update comments to clarify
2308 requirements.
2309 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2310 type.
2311 [C99-based standards] (INT8_MAX): Likewise.
2312 [C99-based standards] (INT16_MIN): Likewise.
2313 [C99-based standards] (INT16_MAX): Likewise.
2314 [C99-based standards] (INT32_MIN): Likewise.
2315 [C99-based standards] (INT32_MAX): Likewise.
2316 [C99-based standards] (INT64_MIN): Likewise.
2317 [C99-based standards] (INT64_MAX): Likewise.
2318 [C99-based standards] (UINT8_MAX): Likewise.
2319 [C99-based standards] (UINT16_MAX): Likewise.
2320 [C99-based standards] (UINT32_MAX): Likewise.
2321 [C99-based standards] (UINT64_MAX): Likewise.
2322 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2323 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2324 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2325 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2326 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2327 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2328 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2329 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2330 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2331 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2332 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2333 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2334 [C99-based standards] (INT_FAST8_MIN): Likewise.
2335 [C99-based standards] (INT_FAST8_MAX): Likewise.
2336 [C99-based standards] (INT_FAST16_MIN): Likewise.
2337 [C99-based standards] (INT_FAST16_MAX): Likewise.
2338 [C99-based standards] (INT_FAST32_MIN): Likewise.
2339 [C99-based standards] (INT_FAST32_MAX): Likewise.
2340 [C99-based standards] (INT_FAST64_MIN): Likewise.
2341 [C99-based standards] (INT_FAST64_MAX): Likewise.
2342 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2343 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2344 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2345 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2346 [C99-based standards] (INTPTR_MIN): Likewise.
2347 [C99-based standards] (INTPTR_MAX): Likewise.
2348 [C99-based standards] (UINTPTR_MAX): Likewise.
2349 [C99-based standards] (INTMAX_MIN): Likewise.
2350 [C99-based standards] (INTMAX_MAX): Likewise.
2351 [C99-based standards] (UINTMAX_MAX): Likewise.
2352 [C99-based standards] (PTRDIFF_MIN): Likewise.
2353 [C99-based standards] (PTRDIFF_MAX): Likewise.
2354 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2355 [C99-based standards] (SIZE_MAX): Likewise.
2356 [C99-based standards] (WCHAR_MAX): Likewise.
2357 [C99-based standards] (WINT_MAX): Likewise.
2358 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2359 constraint on value.
2360 [C99-based standards] (WCHAR_MIN): Likewise.
2361 [C99-based standards] (WINT_MIN): Likewise.
2362 [C99-based standards] (*_t): Allow.
2363 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2364 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2365 Include math.h-data and complex.h-data. Remove all expectations
2366 of math.h and complex.h contents.
2367 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2368 at end of line.
2369 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2370 (struct tm): Expect tag.
2371 [C99-based-standards] (wcstof): Expect function.
2372 [C99-based-standards] (wcstold): Likewise.
2373 [C99-based-standards] (wcstoll): Likewise.
2374 [C99-based-standards] (wcstoull): Likewise.
2375 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2376 macro-int-constant. Specify type.
2377 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2378 constraint on value.
2379 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2380 Specify type.
2381 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2382 Specify value.
2383 [ISO C standards]: Do not allow headers.
2384 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2385 wcs[abcdefghijklmnopqrstuvwxyz]*.
2386 [ISO C standards] (*_t): Do not allow.
2387 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2388 Expect function.
2389 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2390 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2391 Specify type.
2392 [ISO C standards]: Do not allow headers.
2393 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2394 is[abcdefghijklmnopqrstuvwxyz]*.
2395 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2396 to[abcdefghijklmnopqrstuvwxyz]*.
2397 [ISO C standards] (*_t): Do not allow.
2398 * conform/data/stdalign.h-data: New file.
2399 * conform/data/stdbool.h-data: Likewise.
2400 * conform/data/stdnoreturn.h-data: Likewise.
2401
7514feb8
RM
24022012-11-07 Roland McGrath <roland@hack.frob.com>
2403
2404 [BZ #14815]
2405 * manual/filesys.texi (Directory Entries): Typo fix.
2406 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2407
19b2ecfc
MS
24082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2409
2410 * elf/elf.h (EM_AARCH64): New macro.
2411 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2412 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2413 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2414 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2415 (R_AARCH64_TLSDESC): Likewise.
2416 (NT_ARM_TLS): Likewise.
2417 (NT_ARM_HW_BREAK): Likewise.
2418 (NT_ARM_HW_WATCH): Likewise.
2419
60e235ee
JM
24202012-11-07 Joseph Myers <joseph@codesourcery.com>
2421
2422 [BZ #14811]
2423 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2424 (__ieee754_powl): Saturate nonzero exponents with absolute value
2425 below 0x1p-79 to +/- 0x1p-79.
2426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2427 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2428 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2429 nonzero exponents with absolute value below 0x1p-32 to +/-
2430 0x1p-32.
2431 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2432 (__ieee754_powl): Saturate nonzero exponents with absolute value
2433 below 0x1p-79 to +/- 0x1p-79.
2434 * math/libm-test.inc (pow_test): Add more tests.
2435
0ab234b7
AK
24362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2437
2438 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2439 _dl_s390_cap_flags with kernel. Increase string length.
2440 (_dl_s390_platforms): Add z196 and zEC12.
2441
45832f74
JM
24422012-11-07 Joseph Myers <joseph@codesourcery.com>
2443
2444 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2445 Change XOPEN21K to XOPEN2K.
2446
19218757
MK
24472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2448
2449 * string/memmove.c: Use memcpy when possible.
2450
c5f45721
AJ
24512012-11-06 Andreas Jaeger <aj@suse.de>
2452
2453 * po/eo.po: Update from translation team.
2454
82477c28
JM
24552012-11-06 Joseph Myers <joseph@codesourcery.com>
2456
2457 [BZ #14793]
2458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2459 exponent and small x and y exponents, scale x or y up. Increase
2460 by 2 the exponent used in scaling up.
2461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2463 * math/libm-test.inc (fma_test): Add more tests.
2464 (fma_test_towardzero): Likewise.
2465 (fma_test_downward): Likewise.
2466 (fma_test_upward): Likewise.
2467
99252c8c
JM
24682012-11-05 Joseph Myers <joseph@codesourcery.com>
2469
acfa885f
JM
2470 [BZ #14805]
2471 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2472 fenv_t *.
2473
99252c8c
JM
2474 [BZ #14801]
2475 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2476 namespace for names of struct fields.
2477 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2478 fenv_t fields.
2479 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2480 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2481
d6d98dea
ST
24822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2483
2484 [BZ #3665]
2485 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2486
e10bb107
TS
24872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2488
2489 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2490 PTR_DEMANGLE.
2491
2492 [BZ #5246]
2493 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2494 PTR_DEMANGLE.
2495
a0c2940d
JM
24962012-11-04 Joseph Myers <joseph@codesourcery.com>
2497
2498 [BZ #14797]
2499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2500 definitely overflow as x * y not x * y + z.
2501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2503 * math/libm-test.inc (fma_test): Add more tests.
2504 (fma_test_towardzero): Likewise.
2505 (fma_test_downward): Likewise.
2506 (fma_test_upward): Likewise.
2507
b830319d
TS
25082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2509
2510 [BZ #157]
2511
2512 * include/stub-tag.h: Remove file.
2513 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2514 '#include' of it.
2515 * manual/maint.texi (Porting): Don't reference it.
2516 * Makerules ($(objpfx)stubs): Likewise.
2517 * dirent/closedir.c: Don't include <stub-tag.h>.
2518 * dirent/dirfd.c: Likewise.
2519 * dirent/fdopendir.c: Likewise.
2520 * dirent/getdents.c: Likewise.
2521 * dirent/getdents64.c: Likewise.
2522 * dirent/opendir.c: Likewise.
2523 * dirent/readdir.c: Likewise.
2524 * dirent/readdir64.c: Likewise.
2525 * dirent/readdir64_r.c: Likewise.
2526 * dirent/readdir_r.c: Likewise.
2527 * dirent/rewinddir.c: Likewise.
2528 * dirent/seekdir.c: Likewise.
2529 * dirent/telldir.c: Likewise.
2530 * gmon/profil.c: Likewise.
2531 * grp/setgroups.c: Likewise.
2532 * inet/if_index.c: Likewise.
2533 * io/access.c: Likewise.
2534 * io/chdir.c: Likewise.
2535 * io/chmod.c: Likewise.
2536 * io/chown.c: Likewise.
2537 * io/close.c: Likewise.
2538 * io/dup.c: Likewise.
2539 * io/dup2.c: Likewise.
2540 * io/dup3.c: Likewise.
2541 * io/euidaccess.c: Likewise.
2542 * io/faccessat.c: Likewise.
2543 * io/fchdir.c: Likewise.
2544 * io/fchmod.c: Likewise.
2545 * io/fchmodat.c: Likewise.
2546 * io/fchown.c: Likewise.
2547 * io/fchownat.c: Likewise.
2548 * io/fcntl.c: Likewise.
2549 * io/flock.c: Likewise.
2550 * io/fstatfs.c: Likewise.
2551 * io/fstatfs64.c: Likewise.
2552 * io/fstatvfs.c: Likewise.
2553 * io/fstatvfs64.c: Likewise.
2554 * io/futimens.c: Likewise.
2555 * io/fxstat.c: Likewise.
2556 * io/fxstat64.c: Likewise.
2557 * io/fxstatat.c: Likewise.
2558 * io/fxstatat64.c: Likewise.
2559 * io/getcwd.c: Likewise.
2560 * io/isatty.c: Likewise.
2561 * io/lchmod.c: Likewise.
2562 * io/lchown.c: Likewise.
2563 * io/link.c: Likewise.
2564 * io/linkat.c: Likewise.
2565 * io/lseek.c: Likewise.
2566 * io/lseek64.c: Likewise.
2567 * io/lxstat64.c: Likewise.
2568 * io/mkdir.c: Likewise.
2569 * io/mkdirat.c: Likewise.
2570 * io/mkfifo.c: Likewise.
2571 * io/mkfifoat.c: Likewise.
2572 * io/open.c: Likewise.
2573 * io/open64.c: Likewise.
2574 * io/openat.c: Likewise.
2575 * io/openat64.c: Likewise.
2576 * io/pipe.c: Likewise.
2577 * io/pipe2.c: Likewise.
2578 * io/poll.c: Likewise.
2579 * io/posix_fadvise.c: Likewise.
2580 * io/posix_fadvise64.c: Likewise.
2581 * io/posix_fallocate.c: Likewise.
2582 * io/posix_fallocate64.c: Likewise.
2583 * io/read.c: Likewise.
2584 * io/readlink.c: Likewise.
2585 * io/readlinkat.c: Likewise.
2586 * io/rmdir.c: Likewise.
2587 * io/sendfile.c: Likewise.
2588 * io/sendfile64.c: Likewise.
2589 * io/statfs.c: Likewise.
2590 * io/statfs64.c: Likewise.
2591 * io/statvfs.c: Likewise.
2592 * io/statvfs64.c: Likewise.
2593 * io/symlink.c: Likewise.
2594 * io/symlinkat.c: Likewise.
2595 * io/ttyname.c: Likewise.
2596 * io/ttyname_r.c: Likewise.
2597 * io/umask.c: Likewise.
2598 * io/unlink.c: Likewise.
2599 * io/unlinkat.c: Likewise.
2600 * io/utime.c: Likewise.
2601 * io/utimensat.c: Likewise.
2602 * io/write.c: Likewise.
2603 * io/xmknod.c: Likewise.
2604 * io/xmknodat.c: Likewise.
2605 * io/xstat.c: Likewise.
2606 * io/xstat64.c: Likewise.
2607 * login/getpt.c: Likewise.
2608 * login/grantpt.c: Likewise.
2609 * login/unlockpt.c: Likewise.
2610 * math/e_acoshl.c: Likewise.
2611 * math/e_acosl.c: Likewise.
2612 * math/e_asinl.c: Likewise.
2613 * math/e_atan2l.c: Likewise.
2614 * math/e_atanhl.c: Likewise.
2615 * math/e_coshl.c: Likewise.
2616 * math/e_expl.c: Likewise.
2617 * math/e_fmodl.c: Likewise.
2618 * math/e_gammal_r.c: Likewise.
2619 * math/e_hypotl.c: Likewise.
2620 * math/e_j0l.c: Likewise.
2621 * math/e_j1l.c: Likewise.
2622 * math/e_jnl.c: Likewise.
2623 * math/e_lgammal_r.c: Likewise.
2624 * math/e_log10l.c: Likewise.
2625 * math/e_log2l.c: Likewise.
2626 * math/e_logl.c: Likewise.
2627 * math/e_powl.c: Likewise.
2628 * math/e_rem_pio2l.c: Likewise.
2629 * math/e_sinhl.c: Likewise.
2630 * math/e_sqrtl.c: Likewise.
2631 * math/fclrexcpt.c: Likewise.
2632 * math/fedisblxcpt.c: Likewise.
2633 * math/feenablxcpt.c: Likewise.
2634 * math/fegetenv.c: Likewise.
2635 * math/fegetexcept.c: Likewise.
2636 * math/fegetround.c: Likewise.
2637 * math/feholdexcpt.c: Likewise.
2638 * math/fesetenv.c: Likewise.
2639 * math/fesetround.c: Likewise.
2640 * math/feupdateenv.c: Likewise.
2641 * math/fgetexcptflg.c: Likewise.
2642 * math/fraiseexcpt.c: Likewise.
2643 * math/fsetexcptflg.c: Likewise.
2644 * math/ftestexcept.c: Likewise.
2645 * math/k_cosl.c: Likewise.
2646 * math/k_rem_pio2l.c: Likewise.
2647 * math/k_sinl.c: Likewise.
2648 * math/k_tanl.c: Likewise.
2649 * math/s_asinhl.c: Likewise.
2650 * math/s_atanl.c: Likewise.
2651 * math/s_cbrtl.c: Likewise.
2652 * math/s_erfl.c: Likewise.
2653 * math/s_expm1l.c: Likewise.
2654 * math/s_log1pl.c: Likewise.
2655 * math/s_tanhl.c: Likewise.
2656 * misc/acct.c: Likewise.
2657 * misc/brk.c: Likewise.
2658 * misc/chflags.c: Likewise.
2659 * misc/chroot.c: Likewise.
2660 * misc/fchflags.c: Likewise.
2661 * misc/fgetxattr.c: Likewise.
2662 * misc/flistxattr.c: Likewise.
2663 * misc/fremovexattr.c: Likewise.
2664 * misc/fsetxattr.c: Likewise.
2665 * misc/fsync.c: Likewise.
2666 * misc/ftruncate.c: Likewise.
2667 * misc/futimes.c: Likewise.
2668 * misc/futimesat.c: Likewise.
2669 * misc/getdomain.c: Likewise.
2670 * misc/getdtsz.c: Likewise.
2671 * misc/gethostid.c: Likewise.
2672 * misc/gethostname.c: Likewise.
2673 * misc/getloadavg.c: Likewise.
2674 * misc/getpagesize.c: Likewise.
2675 * misc/getsysstats.c: Likewise.
2676 * misc/getxattr.c: Likewise.
2677 * misc/gtty.c: Likewise.
2678 * misc/ioctl.c: Likewise.
2679 * misc/lgetxattr.c: Likewise.
2680 * misc/listxattr.c: Likewise.
2681 * misc/llistxattr.c: Likewise.
2682 * misc/lremovexattr.c: Likewise.
2683 * misc/lsetxattr.c: Likewise.
2684 * misc/lutimes.c: Likewise.
2685 * misc/madvise.c: Likewise.
2686 * misc/mincore.c: Likewise.
2687 * misc/mlock.c: Likewise.
2688 * misc/mlockall.c: Likewise.
2689 * misc/mmap.c: Likewise.
2690 * misc/mprotect.c: Likewise.
2691 * misc/msync.c: Likewise.
2692 * misc/munlock.c: Likewise.
2693 * misc/munlockall.c: Likewise.
2694 * misc/munmap.c: Likewise.
2695 * misc/preadv.c: Likewise.
2696 * misc/preadv64.c: Likewise.
2697 * misc/ptrace.c: Likewise.
2698 * misc/pwritev.c: Likewise.
2699 * misc/pwritev64.c: Likewise.
2700 * misc/readv.c: Likewise.
2701 * misc/reboot.c: Likewise.
2702 * misc/remap_file_pages.c: Likewise.
2703 * misc/removexattr.c: Likewise.
2704 * misc/revoke.c: Likewise.
2705 * misc/select.c: Likewise.
2706 * misc/setdomain.c: Likewise.
2707 * misc/setegid.c: Likewise.
2708 * misc/seteuid.c: Likewise.
2709 * misc/sethostid.c: Likewise.
2710 * misc/sethostname.c: Likewise.
2711 * misc/setregid.c: Likewise.
2712 * misc/setreuid.c: Likewise.
2713 * misc/setxattr.c: Likewise.
2714 * misc/sstk.c: Likewise.
2715 * misc/stty.c: Likewise.
2716 * misc/swapoff.c: Likewise.
2717 * misc/swapon.c: Likewise.
2718 * misc/sync.c: Likewise.
2719 * misc/syncfs.c: Likewise.
2720 * misc/syscall.c: Likewise.
2721 * misc/truncate.c: Likewise.
2722 * misc/ualarm.c: Likewise.
2723 * misc/usleep.c: Likewise.
2724 * misc/ustat.c: Likewise.
2725 * misc/utimes.c: Likewise.
2726 * misc/vhangup.c: Likewise.
2727 * misc/writev.c: Likewise.
2728 * posix/_exit.c: Likewise.
2729 * posix/alarm.c: Likewise.
2730 * posix/execve.c: Likewise.
2731 * posix/fexecve.c: Likewise.
2732 * posix/fork.c: Likewise.
2733 * posix/fpathconf.c: Likewise.
2734 * posix/getaddrinfo.c: Likewise.
2735 * posix/getegid.c: Likewise.
2736 * posix/geteuid.c: Likewise.
2737 * posix/getgid.c: Likewise.
2738 * posix/getgroups.c: Likewise.
2739 * posix/getlogin.c: Likewise.
2740 * posix/getlogin_r.c: Likewise.
2741 * posix/getpgid.c: Likewise.
2742 * posix/getpid.c: Likewise.
2743 * posix/getppid.c: Likewise.
2744 * posix/getresgid.c: Likewise.
2745 * posix/getresuid.c: Likewise.
2746 * posix/getsid.c: Likewise.
2747 * posix/getuid.c: Likewise.
2748 * posix/glob64.c: Likewise.
2749 * posix/nanosleep.c: Likewise.
2750 * posix/pathconf.c: Likewise.
2751 * posix/pause.c: Likewise.
2752 * posix/posix_madvise.c: Likewise.
2753 * posix/pread.c: Likewise.
2754 * posix/pread64.c: Likewise.
2755 * posix/pwrite.c: Likewise.
2756 * posix/pwrite64.c: Likewise.
2757 * posix/sched_getaffinity.c: Likewise.
2758 * posix/sched_getp.c: Likewise.
2759 * posix/sched_gets.c: Likewise.
2760 * posix/sched_primax.c: Likewise.
2761 * posix/sched_primin.c: Likewise.
2762 * posix/sched_rr_gi.c: Likewise.
2763 * posix/sched_setaffinity.c: Likewise.
2764 * posix/sched_setp.c: Likewise.
2765 * posix/sched_sets.c: Likewise.
2766 * posix/sched_yield.c: Likewise.
2767 * posix/setgid.c: Likewise.
2768 * posix/setlogin.c: Likewise.
2769 * posix/setpgid.c: Likewise.
2770 * posix/setresgid.c: Likewise.
2771 * posix/setresuid.c: Likewise.
2772 * posix/setsid.c: Likewise.
2773 * posix/setuid.c: Likewise.
2774 * posix/sleep.c: Likewise.
2775 * posix/spawni.c: Likewise.
2776 * posix/sysconf.c: Likewise.
2777 * posix/times.c: Likewise.
2778 * posix/wait.c: Likewise.
2779 * posix/wait3.c: Likewise.
2780 * posix/wait4.c: Likewise.
2781 * posix/waitpid.c: Likewise.
2782 * resolv/gai_sigqueue.c: Likewise.
2783 * resource/getpriority.c: Likewise.
2784 * resource/getrlimit.c: Likewise.
2785 * resource/getrusage.c: Likewise.
2786 * resource/nice.c: Likewise.
2787 * resource/setpriority.c: Likewise.
2788 * resource/setrlimit.c: Likewise.
2789 * resource/ulimit.c: Likewise.
2790 * rt/aio_cancel.c: Likewise.
2791 * rt/aio_fsync.c: Likewise.
2792 * rt/aio_read.c: Likewise.
2793 * rt/aio_sigqueue.c: Likewise.
2794 * rt/aio_suspend.c: Likewise.
2795 * rt/aio_write.c: Likewise.
2796 * rt/clock_getres.c: Likewise.
2797 * rt/clock_gettime.c: Likewise.
2798 * rt/clock_nanosleep.c: Likewise.
2799 * rt/clock_settime.c: Likewise.
2800 * rt/lio_listio.c: Likewise.
2801 * rt/mq_close.c: Likewise.
2802 * rt/mq_getattr.c: Likewise.
2803 * rt/mq_notify.c: Likewise.
2804 * rt/mq_open.c: Likewise.
2805 * rt/mq_receive.c: Likewise.
2806 * rt/mq_send.c: Likewise.
2807 * rt/mq_setattr.c: Likewise.
2808 * rt/mq_timedreceive.c: Likewise.
2809 * rt/mq_timedsend.c: Likewise.
2810 * rt/mq_unlink.c: Likewise.
2811 * rt/shm_open.c: Likewise.
2812 * rt/shm_unlink.c: Likewise.
2813 * rt/timer_create.c: Likewise.
2814 * rt/timer_delete.c: Likewise.
2815 * rt/timer_getoverr.c: Likewise.
2816 * rt/timer_gettime.c: Likewise.
2817 * rt/timer_settime.c: Likewise.
2818 * setjmp/__longjmp.c: Likewise.
2819 * setjmp/setjmp.c: Likewise.
2820 * signal/kill.c: Likewise.
2821 * signal/killpg.c: Likewise.
2822 * signal/raise.c: Likewise.
2823 * signal/sigaction.c: Likewise.
2824 * signal/sigaltstack.c: Likewise.
2825 * signal/sigblock.c: Likewise.
2826 * signal/sigignore.c: Likewise.
2827 * signal/sigintr.c: Likewise.
2828 * signal/signal.c: Likewise.
2829 * signal/sigpause.c: Likewise.
2830 * signal/sigpending.c: Likewise.
2831 * signal/sigqueue.c: Likewise.
2832 * signal/sigreturn.c: Likewise.
2833 * signal/sigset.c: Likewise.
2834 * signal/sigsetmask.c: Likewise.
2835 * signal/sigstack.c: Likewise.
2836 * signal/sigsuspend.c: Likewise.
2837 * signal/sigtimedwait.c: Likewise.
2838 * signal/sigvec.c: Likewise.
2839 * signal/sigwait.c: Likewise.
2840 * signal/sigwaitinfo.c: Likewise.
2841 * signal/sysv_signal.c: Likewise.
2842 * socket/accept.c: Likewise.
2843 * socket/accept4.c: Likewise.
2844 * socket/bind.c: Likewise.
2845 * socket/connect.c: Likewise.
2846 * socket/getpeername.c: Likewise.
2847 * socket/getsockname.c: Likewise.
2848 * socket/getsockopt.c: Likewise.
2849 * socket/isfdtype.c: Likewise.
2850 * socket/listen.c: Likewise.
2851 * socket/recv.c: Likewise.
2852 * socket/recvfrom.c: Likewise.
2853 * socket/recvmsg.c: Likewise.
2854 * socket/send.c: Likewise.
2855 * socket/sendmsg.c: Likewise.
2856 * socket/sendto.c: Likewise.
2857 * socket/setsockopt.c: Likewise.
2858 * socket/shutdown.c: Likewise.
2859 * socket/sockatmark.c: Likewise.
2860 * socket/socket.c: Likewise.
2861 * socket/socketpair.c: Likewise.
2862 * stdio-common/ctermid.c: Likewise.
2863 * stdio-common/cuserid.c: Likewise.
2864 * stdio-common/remove.c: Likewise.
2865 * stdio-common/rename.c: Likewise.
2866 * stdio-common/renameat.c: Likewise.
2867 * stdio-common/tempname.c: Likewise.
2868 * stdlib/getcontext.c: Likewise.
2869 * stdlib/makecontext.c: Likewise.
2870 * stdlib/setcontext.c: Likewise.
2871 * stdlib/swapcontext.c: Likewise.
2872 * stdlib/system.c: Likewise.
2873 * streams/fattach.c: Likewise.
2874 * streams/fdetach.c: Likewise.
2875 * streams/getmsg.c: Likewise.
2876 * streams/getpmsg.c: Likewise.
2877 * streams/putmsg.c: Likewise.
2878 * streams/putpmsg.c: Likewise.
2879 * sysdeps/unix/bsd/getpt.c: Likewise.
2880 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2881 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2882 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2884 Likewise.
2885 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2886 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2887 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2888 * sysvipc/msgctl.c: Likewise.
2889 * sysvipc/msgget.c: Likewise.
2890 * sysvipc/msgrcv.c: Likewise.
2891 * sysvipc/msgsnd.c: Likewise.
2892 * sysvipc/semctl.c: Likewise.
2893 * sysvipc/semget.c: Likewise.
2894 * sysvipc/semop.c: Likewise.
2895 * sysvipc/semtimedop.c: Likewise.
2896 * sysvipc/shmat.c: Likewise.
2897 * sysvipc/shmctl.c: Likewise.
2898 * sysvipc/shmdt.c: Likewise.
2899 * sysvipc/shmget.c: Likewise.
2900 * termios/tcdrain.c: Likewise.
2901 * termios/tcflow.c: Likewise.
2902 * termios/tcflush.c: Likewise.
2903 * termios/tcgetattr.c: Likewise.
2904 * termios/tcgetpgrp.c: Likewise.
2905 * termios/tcsendbrk.c: Likewise.
2906 * termios/tcsetattr.c: Likewise.
2907 * termios/tcsetpgrp.c: Likewise.
2908 * time/adjtime.c: Likewise.
2909 * time/clock.c: Likewise.
2910 * time/getitimer.c: Likewise.
2911 * time/gettimeofday.c: Likewise.
2912 * time/setitimer.c: Likewise.
2913 * time/settimeofday.c: Likewise.
2914 * time/stime.c: Likewise.
2915 * time/time.c: Likewise.
2916
29172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2918
a20492cf
PT
2919 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2920 /usr/old/bin.
2921
72e182e3
PT
2922 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2923 instead of spaces.
2924 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2925
fbeafede
JM
29262012-11-03 Joseph Myers <joseph@codesourcery.com>
2927
5b5b04d6
JM
2928 [BZ #14796]
2929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2930 FE_TONEAREST before applying Dekker multiplication and Knuth
2931 addition. Clear inexact exceptions and check for exact zero
2932 results afterwards.
2933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2934 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2936 * math/libm-test.inc (fma_test): Add more tests.
2937 (fma_test_towardzero): Likewise.
2938 (fma_test_downward): Likewise.
2939 (fma_test_upward): Likewise.
2940 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2941 function.
2942 (libc_fesetround): New macro.
2943 (libc_fesetroundf): Likewise.
2944 (libc_fesetroundl): Likewise.
2945 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2946 function.
2947 (libc_fesetround_387): Likewise.
2948 (libc_fesetroundf): New macro.
2949 (libc_fesetround): Likewise.
2950 (libc_fesetroundl): Likewise.
2951 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2952 function.
2953 (libc_fesetroundf): New macro.
2954 (libc_fesetround): Likewise.
2955 (libc_fesetroundl): Likewise.
2956 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2957 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2958 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2959 libm_hidden_ver.
2960 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2961 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2962 libm_hidden_def.
2963 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2964 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2965 libm_hidden_ver.
2966 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2967 libm_hidden_def.
2968
fbeafede
JM
2969 [BZ #3439]
2970 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2971 integer constant usable in #if and use that to give value to enum
2972 constant.
2973 (FE_DIVBYZERO): Likewise.
2974 (FE_UNDERFLOW): Likewise.
2975 (FE_OVERFLOW): Likewise.
2976 (FE_INVALID): Likewise.
2977 (FE_INVALID_SNAN): Likewise.
2978 (FE_INVALID_ISI): Likewise.
2979 (FE_INVALID_IDI): Likewise.
2980 (FE_INVALID_ZDZ): Likewise.
2981 (FE_INVALID_IMZ): Likewise.
2982 (FE_INVALID_COMPARE): Likewise.
2983 (FE_INVALID_SOFTWARE): Likewise.
2984 (FE_INVALID_SQRT): Likewise.
2985 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2986 (FE_TONEAREST): Likewise.
2987 (FE_TOWARDZERO): Likewise.
2988 (FE_UPWARD): Likewise.
2989 (FE_DOWNWARD): Likewise.
2990 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2991 (FE_DIVBYZERO): Likewise.
2992 (FE_OVERFLOW): Likewise.
2993 (FE_UNDERFLOW): Likewise.
2994 (FE_INEXACT): Likewise.
2995 (FE_TONEAREST): Likewise.
2996 (FE_DOWNWARD): Likewise.
2997 (FE_UPWARD): Likewise.
2998 (FE_TOWARDZERO): Likewise.
2999 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3000 (FE_UNDERFLOW): Likewise.
3001 (FE_OVERFLOW): Likewise.
3002 (FE_DIVBYZERO): Likewise.
3003 (FE_INVALID): Likewise.
3004 (FE_TONEAREST): Likewise.
3005 (FE_TOWARDZERO): Likewise.
3006 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3007 (FE_OVERFLOW): Likewise.
3008 (FE_UNDERFLOW): Likewise.
3009 (FE_DIVBYZERO): Likewise.
3010 (FE_INEXACT): Likewise.
3011 (FE_TONEAREST): Likewise.
3012 (FE_TOWARDZERO): Likewise.
3013 (FE_UPWARD): Likewise.
3014 (FE_DOWNWARD): Likewise.
3015 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3016 (FE_DIVBYZERO): Likewise.
3017 (FE_OVERFLOW): Likewise.
3018 (FE_UNDERFLOW): Likewise.
3019 (FE_INEXACT): Likewise.
3020 (FE_TONEAREST): Likewise.
3021 (FE_DOWNWARD): Likewise.
3022 (FE_UPWARD): Likewise.
3023 (FE_TOWARDZERO): Likewise.
3024
105ca950
CM
30252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3026
3027 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3028
a542b389
AS
30292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3030
3031 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3032 commands. Quote $PWD.
3033 (blacklist_exports): Don't use remove_newlines. Replace "declare
3034 -x" by "export".
3035 (remove_newlines): Remove.
3036
f62c8abc
L
30372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3040 * stdlib/stdlib.h (atof): Moved to ...
3041 * include/bits/stdlib-float.h: Here. New file.
3042 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3043 * stdlib/bits/stdlib-float.h: New file.
3044 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3045 -mno-sse -mno-mmx.
3046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3047 <xmmintrin.h>.
3048
0155d5b2
JM
30492012-11-02 Joseph Myers <joseph@codesourcery.com>
3050
a68d0680
JM
3051 * conform/conformtest.pl (@headers): Add fenv.h.
3052 * conform/data/fenv.h-data: New file.
3053 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3054 include of <math/fenv.h>.
3055
caf7f573
JM
3056 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3057 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3058 && !UNIX98]. Enables tests for XOPEN2K8.
3059 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3060 POSIX2008]: Likewise.
3061
6c073ad6
JM
3062 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3063 (struct rusage): Do not expect type or its members.
3064
0155d5b2
JM
3065 [BZ #3439]
3066 * math/math.h (FP_NAN): Define macro to integer constant usable in
3067 #if and use that to give value to enum constant.
3068 (FP_INFINITE): Likewise.
3069 (FP_ZERO): Likewise.
3070 (FP_SUBNORMAL): Likewise.
3071 (FP_NORMAL): Likewise.
3072
b5dcacb4
AS
30732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3074
3075 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3076 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3077 arguments.
3078
f7934be8
RM
30792012-11-02 Roland McGrath <roland@hack.frob.com>
3080
3081 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3082 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3083 autoconf-time if not.
3084 * configure.in: Remove AC_PREREQ.
3085
d7d08bde
TMQMF
30862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3087
3088 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3089 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3090 of the internal implementation.
3091
dcdae19a
JM
30922012-11-02 Joseph Myers <joseph@codesourcery.com>
3093
3094 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3095 except include of <misc/sys/syslog.h>.
3096
d6cffd3e
AS
30972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3098
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3100 function returns with a NULL context exit with zero.
3101
b3563932
TMQMF
31022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3103
3104 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3105
b288a93d
L
31062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3109 (run_program_cmd): This.
3110 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3111 (tst_langinfo): New variable. Use it.
3112
a2421a68
SAS
31132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3114
3115 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3116 floating point opcodes.
3117
6f796e1b
TS
31182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3119
7402596b
TS
3120 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3121 variable.
3122
d0d4f868
TS
3123 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3124
6f796e1b
TS
3125 * sysdeps/mach/hurd/powerpc: Remove directory.
3126 * sysdeps/mach/powerpc: Likewise.
3127
4da224a2
AS
31282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3129
3130 * scripts/check-local-headers.sh: Ignore c++ headers.
3131
341dd673
TS
31322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3133
3134 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3135 __libc_cleanup_region_start argument.
3136
473611b2
JM
31372012-11-01 Joseph Myers <joseph@codesourcery.com>
3138
3139 [BZ #14784]
3140 [BZ #14785]
3141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3142 x * y using scaling, not as x * y + z.
3143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3145 * math/libm-test.inc (fma_test): Add more tests.
3146 (fma_test_towardzero): Likewise.
3147 (fma_test_downward): Likewise.
3148 (fma_test_upward): Likewise.
3149
4078da3d
TS
31502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3151
3152 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3153
903252aa
JM
31542012-10-31 Joseph Myers <joseph@codesourcery.com>
3155
3156 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3157 New variable.
3158
cbc818d0
TS
31592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3160
3161 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3162
5a03cb1e
AS
31632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3164
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3166 Fix sort order.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3168 Likewise.
3169
90aff2ff
TMQMF
31702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3171
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3173 Fix the order of the list for glibc 2.17.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3175 Likewise.
3176
1818fcb7
AS
31772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3178
3179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3180
ef82f4da
JM
31812012-10-31 Joseph Myers <joseph@codesourcery.com>
3182
16a0e2ec
JM
3183 [BZ #14610]
3184 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3185 for low part of x being zero before using __atanl (y).
3186 * math/libm-test.inc (atan2_test): Add another test.
3187
0eb69512
JM
3188 * manual/install.texi (Configuring and compiling): Document
3189 general use of test-wrapper and test-wrapper-env.
3190 * INSTALL: Regenerated.
3191
ef82f4da
JM
3192 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3193 (__fma): Do not extract and scale down low bits on after-rounding
3194 systems when result rounded to normal precision would have normal
3195 exponent.
3196 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3197 (__fmal): Do not extract and scale down low bits on after-rounding
3198 systems when result rounded to normal precision would have normal
3199 exponent.
3200 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3201 (__fmal): Do not extract and scale down low bits on after-rounding
3202 systems when result rounded to normal precision would have normal
3203 exponent.
3204 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3205 macro.
3206 (fma_test): Add more tests.
3207 (fma_test_towardzero): Likewise.
3208 (fma_test_downward): Likewise.
3209 (fma_test_upward): Likewise.
3210
954ef0d9
L
32112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3212
3213 * sysdeps/i386/tininess.h: Renamed to ...
3214 * sysdeps/x86/tininess.h: This.
3215 * sysdeps/x86_64/tininess.h: Removed.
3216
df61ffb2
JM
32172012-10-30 Joseph Myers <joseph@codesourcery.com>
3218
3219 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3220 input. Use $(build-program-cmd).
3221 ($(objpfx)tst-array1-static.out): Likewise.
3222 ($(objpfx)tst-array2.out): Likewise.
3223 ($(objpfx)tst-array3.out): Likewise.
3224 ($(objpfx)tst-array4.out): Likewise.
3225 ($(objpfx)tst-array5.out): Likewise.
3226 ($(objpfx)tst-array5-static.out): Likewise.
3227
01767843
CM
32282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3229
47cc1490
CM
3230 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3231 if defined.
3232
01767843
CM
3233 * nss/nsswitch.h (nss_interface_function): Provide new
3234 macro for use with NSS functions.
3235 * grp/initgroups.c: Use new macro.
3236 * nss/getXXbyYY.c: Likewise.
3237 * nss/getXXbyYY_r.c: Likewise.
3238 * nss/getXXent.c: Likewise.
3239 * nss/getXXent_r.c: Likewise.
3240 * sysdeps/posix/getaddrinfo.c: Likewise.
3241
8321aa97
AJ
32422012-10-30 Andreas Jaeger <aj@suse.de>
3243
3244 * po/ru.po: Update Russion translation from translation project.
3245
2a27fd6d
JM
32462012-10-30 Joseph Myers <joseph@codesourcery.com>
3247
8627a232
JM
3248 [BZ #14152]
3249 [BZ #14783]
3250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3251 result and shift together with sticky bit instead of replicating
3252 round-to-nearest rounding.
3253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3255 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3256 missing underflow exceptions.
3257 (fma_test_towardzero): Add more tests.
3258 (fma_test_downward): Likewise.
3259 (fma_test_upward): Likewise.
3260
2a27fd6d
JM
3261 [BZ #14047]
3262 * sysdeps/generic/tininess.h: New file.
3263 * sysdeps/i386/tininess.h: Likewise.
3264 * sysdeps/sh/tininess.h: Likewise.
3265 * sysdeps/x86_64/tininess.h: Likewise.
3266 * stdlib/tst-strtod-underflow.c: Likewise.
3267 * stdlib/tst-tininess.c: Likewise.
3268 * stdlib/strtod_l.c: Include <tininess.h>.
3269 (round_and_return): Do not set errno for exact underflow cases.
3270 Force an underflow exception when setting errno for underflow.
3271 Determine underflow based on rounding to normal precision if
3272 TININESS_AFTER_ROUNDING.
3273 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3274 ERANGE for exact underflow cases.
3275 * stdlib/Makefile (tests): Add tst-tininess and
3276 tst-strtod-underflow.
3277 ($(objpfx)tst-tininess): Use $(link-libm).
3278 ($(objpfx)tst-strtod-underflow): Likewise.
3279
e7170363
AJ
32802012-10-30 Andreas Jaeger <aj@suse.de>
3281
e5088dc6
AJ
3282 [BZ#14767]
3283 * elf/Makefile (tests): Remove conditional for have-initfini-array
3284 since this is now always required and the variable does not exist
3285 anymore.
3286 (tests-static): Likewise.
3287 (modules-names): Likewise.
3288
e7170363 3289 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3290
3291 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3292 merged with constructor/destructor.
3293 (init_array): Likewise.
3294 * elf/tst-array2dep.c (fini_array): Likewise.
3295 (init_array): Likewise.
3296
60457d8a
MF
32972012-10-29 Mike Frysinger <vapier@gentoo.org>
3298
3299 * manual/message.texi: Delete @cartouche tags.
3300
8bece752
PT
33012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3302
94ce799f
PT
3303 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3304 EOPNOTSUPP.
3305 * sysdeps/mach/hurd/fsync.c: Likewise.
3306
8bece752
PT
3307 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3308 [_POSIX_REALTIME_SIGNALS]: Change condition to
3309 [_POSIX_REALTIME_SIGNALS > 0].
3310
86ebe6b1
AJ
33112012-10-27 Andreas Jaeger <aj@suse.de>
3312
3313 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3314 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3316 [__WORDSIZE != 64]: Likewise.
3317
54399c08
L
33182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3319
3320 * iconvdata/tst-table.sh: Remove ${SHELL}.
3321 * iconvdata/tst-tables.sh: Likewise.
3322
e2211bed
DM
33232012-10-25 David S. Miller <davem@davemloft.net>
3324
3325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3326 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3327 of strtoull.
3328
f303f97c
DM
3329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3330 ifunc-impl-list.c
3331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3332 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3333 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3334 file.
3335
1e9d84cd
RM
33362012-10-25 Roland McGrath <roland@hack.frob.com>
3337
3338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3339 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3340 __getdirentries.
3341
df381762
JM
33422012-10-25 Joseph Myers <joseph@codesourcery.com>
3343 Jim Blandy <jimb@codesourcery.com>
3344
3345 * scripts/cross-test-ssh.sh: New file.
3346 * manual/install.texi (Configuring and compiling): Document use of
3347 cross-test-ssh.sh.
3348 * INSTALL: Regenerated.
3349
bff64913
PT
33502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3351
3352 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3353 EOPNOTSUPP.
3354
25fe8932
JM
33552012-10-25 Joseph Myers <joseph@codesourcery.com>
3356
3357 * Makeconfig (run-program-prefix): Fix comment.
3358
cc1290d0
JM
33592012-10-24 Joseph Myers <joseph@codesourcery.com>
3360 Jim Blandy <jimb@codesourcery.com>
3361
3362 * Makeconfig (test-wrapper): New variable,
3363 (test-wrapper-env): Likewise.
3364 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3365 (run-built-tests): Define to yes.
3366 (run-program-prefix): Use $(test-wrapper).
3367 (built-program-cmd): Likewise.
3368 * Rules (make-test-out): Use $(test-wrapper-env) and
3369 $(host-built-program-cmd).
3370 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3371 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3372 tst-pathopt.sh.
3373 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3374 $(test-wrapper-env) to tst-rtld-load-self.sh.
3375 ($(objpfx)order2.out): Use $(test-wrapper).
3376 ($(objpfx)tst-initorder.out): Likewise.
3377 ($(objpfx)tst-initorder2.out): Likewise.
3378 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3379 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3380 (test_wrapper_env): New variable. Use it to run ld.so.
3381 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3382 Use it to run ld.so.
3383 (test_wrapper_env): Likewise.
3384 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3385 $(test-wrapper) to run-iconv-test.sh.
3386 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3387 (ICONV): Use $test_wrapper.
3388 * posix/Makefile ($(objpfx)globtest.out): Pass
3389 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3390 globtest.sh, not $(run-program-prefix).
3391 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3392 (test_wrapper): Likewise.
3393 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3394 set together with run_via_rtld_prefix.
3395 (run_program_prefix): Define in terms of test_wrapper and
3396 run_via_rtld_prefix.
3397
6e6249d0
RM
33982012-10-24 Roland McGrath <roland@hack.frob.com>
3399
3400 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3401 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3402 Targets removed.
3403
3404 [BZ #14743]
3405 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3406 Declare __clock_getres, __clock_gettime, __clock_settime,
3407 __clock_nanosleep, and __clock_getcpuclockid.
3408 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3409 Remove librt_hidden_def (clock_gettime).
3410 * sysdeps/unix/clock_gettime.c: Likewise.
3411 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3413 * rt/clock_getres.c: Define __clock_getres as an alias.
3414 * sysdeps/posix/clock_getres.c: Likewise.
3415 * rt/clock_settime.c: Define __clock_settime as an alias.
3416 * sysdeps/unix/clock_settime.c: Likewise.
3417 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3418 * sysdeps/unix/clock_nanosleep.c: Likewise.
3419 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3420 * rt/clock-compat.c: New file.
3421 * rt/Makefile (librt-routines): Add clock-compat and move
3422 $(clock-routines) to ...
3423 (routines): ... here, new variable.
3424 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3425 Don't add get_clockfreq here.
3426 * rt/Versions (libc: GLIBC_2.17): New version set.
3427 Add clock_* symbols here.
3428 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3430 (GLIBC_2.17): Add clock_* symbols.
3431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3435 Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3437 Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3442 * NEWS: Mention the move.
3443
3444 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3445 Use __open, __read, __close rather than their public counterparts.
3446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3447 (__get_clockfreq_via_cpuinfo): Likewise.
3448 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3449 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3450
3451 * config.h.in (HAVE_IFUNC): New #undef.
3452 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3453 was successful.
3454 * configure: Regenerated.
3455
0cae3f4b
MF
34562012-10-24 Mike Frysinger <vapier@gentoo.org>
3457
3458 * configure.in: Move READELF check to start of file.
3459 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3460 libc_cv_asm_gnu_indirect_function in the process.
3461 * configure: Regenerated.
3462
8175a253
MF
34632012-10-24 Mike Frysinger <vapier@gentoo.org>
3464
3465 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3466 send the output to /dev/null.
3467 (libc_cv_cc_with_libunwind): Likewise.
3468 (libc_cv_as_noexecstack): Likewise.
3469 * configure: Regenerate.
3470
0708a7d1
JM
34712012-10-24 Joseph Myers <joseph@codesourcery.com>
3472
10b40d85
JM
3473 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3474
0708a7d1
JM
3475 * posix/globtest.sh (TMPDIR): Do not set.
3476 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3477 (testout): Likewise.
3478
9fddec1a
AJ
34792012-10-24 Andreas Jaeger <aj@suse.de>
3480
3a8db22f
AJ
3481 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3482 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3483 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3484 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3485 posix_fadvise64, posix_fallocate64.
3486
9fddec1a
AJ
3487 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3488 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3489 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3490 Likewise.
3491 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3492 Likewise.
3493 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3494
3495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3496 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3497 <bits/fcntl-linux.h>.
3498 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3499
3500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3501 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3502 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3503 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3504 [__WORDSIZE != 64]: Likewise.
3505
ebfd1bbd
JM
35062012-10-23 Joseph Myers <joseph@codesourcery.com>
3507
03ac099f
JM
3508 * Makeconfig (run-built-tests): New variable.
3509 * Rules [$(cross-compiling) = yes]: Change condition to
3510 [$(run-built-tests) = no].
3511 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3512 to [$(run-built-tests) = yes].
3513 * elf/Makefile [$(cross-compiling) = no]: Likewise
3514 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3515 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3516 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3517 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3518 * io/Makefile [$(cross-compiling) = no]: Likewise.
3519 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3520 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3521 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3522 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3523 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3524 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3525 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3526 * string/Makefile [$(cross-compiling) = no]: Likewise.
3527
ebfd1bbd
JM
3528 * posix/Makefile ($(objpfx)globtest.out): Pass
3529 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3530 $(rtld-installed-name).
3531 * posix/globtest.sh (elf_objpfx): Remove variable.
3532 (rtld_installed_name): Likewise.
3533 (library_path): Likewise.
3534 (run_program_prefix): New variable. Use for running globtest
3535 binary.
3536
166bca24
JB
35372012-10-23 Jim Blandy <jimb@codesourcery.com>
3538 Joseph Myers <joseph@codesourcery.com>
3539
3540 * Makeconfig (host-built-program-cmd): New variable.
3541 * elf/Makefile (tst-stackguard1-ARGS): Use
3542 $(host-built-program-cmd).
3543 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3544 (tst-spawn-ARGS): Likewise.
3545 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3546
88866099
JM
35472012-10-23 Joseph Myers <joseph@codesourcery.com>
3548 Jim Blandy <jimb@codesourcery.com>
3549
3550 * Makeconfig (run-via-rtld-prefix): New variable.
3551 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3552 (built-program-cmd): Likewise.
3553
b4b4c296
AJ
35542012-10-22 Andreas Jaeger <aj@suse.de>
3555
3556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3557 __O_RSYNC if it exists, otherwise to O_SYNC.
3558
6fb54a22
JB
35592012-10-22 Jim Blandy <jimb@codesourcery.com>
3560 Joseph Myers <joseph@codesourcery.com>
3561
3562 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3563 /dev/null.
3564 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3565 from /dev/null
3566 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3567 /dev/null.
3568
481b90b9
AJ
35692012-10-22 Andreas Jaeger <aj@suse.de>
3570
2a0e2669
AJ
3571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3572 Define always.
3573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3574
76e38f9a
AJ
3575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3576 bits/fcntl-linux.h.
3577
7cd37b43
AJ
3578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3579 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3580
481b90b9
AJ
3581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3582 to __O_LARGEFILE.
3583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3584 to __O_LARGEFILE.
3585
aba75984
JB
35862012-10-21 Jim Blandy <jimb@codesourcery.com>
3587 Joseph Myers <joseph@codesourcery.com>
3588
3589 * config.make.in (NM): New variable.
3590
88d4247f
AJ
35912012-10-21 Andreas Jaeger <aj@suse.de>
3592
3593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3594 definitions and declarations that are provided by
3595 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3596
f2eed205
L
35972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3598
3599 [BZ #14683]
3600 * elf/Makefile (tests-static): Add tst-leaks1-static.
3601 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3602 ($(objpfx)tst-leaks1-static): New rule.
3603 ($(objpfx)tst-leaks1-static-mem): Likewise.
3604 (tst-leaks1-static-ENV): New macro.
3605 * elf/dl-open.c (dl_open_worker): Check the main application
3606 only if SHARED is defined.
3607 * elf/tst-leaks1-static.c: New file.
3608
335e6931
AJ
36092012-10-20 Andreas Jaeger <aj@suse.de>
3610
3611 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3612 generic values for Linux.
3613 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3614 and declarations that are provided by <bits/fcntl-linux.h> and
3615 include <bits/fcntl-linux.h>.
3616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3618
ac5c94d3
RM
36192012-10-20 Roland McGrath <roland@hack.frob.com>
3620
3621 * io/fcntl.h: Move include of <bits/types.h> to the top and
3622 include it unconditionally.
3623
de54b33a
L
36242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3625
228cfb01
L
3626 * wcsmbs/Makefile (tests-ifunc): New variable.
3627 (tests): Add $(tests-ifunc).
3628 * wcsmbs/test-wcschr-ifunc.c: New file.
3629 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3630 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3631 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3632 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3633 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3634
69f07e5f
L
3635 * string/Makefile (tests-ifunc): New variable.
3636 (tests): Add $(tests-ifunc).
3637 * string/test-memccpy.c (TEST_NAME): New macro.
3638 * string/test-memchr.c (TEST_NAME): Likewise.
3639 * string/test-memcmp.c (TEST_NAME): Likewise.
3640 * string/test-memcpy.c (TEST_NAME): Likewise.
3641 * string/test-memmem.c (TEST_NAME): Likewise.
3642 * string/test-memmove.c (TEST_NAME): Likewise.
3643 * string/test-memset.c (TEST_NAME): Likewise.
3644 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3645 * string/test-stpcpy.c (TEST_NAME): Likewise.
3646 * string/test-stpncpy.c (TEST_NAME): Likewise.
3647 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3648 * string/test-strcasestr.c (TEST_NAME): Likewise.
3649 * string/test-strcat.c (TEST_NAME): Likewise.
3650 * string/test-strchr.c (TEST_NAME): Likewise.
3651 * string/test-strcmp.c(TEST_NAME): Likewise.
3652 * string/test-strcpy.c (TEST_NAME): Likewise.
3653 * string/test-strcspn.c (TEST_NAME): Likewise.
3654 * string/test-strlen.c (TEST_NAME): Likewise.
3655 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3656 * string/test-strncmp.c (TEST_NAME): Likewise.
3657 * string/test-strncpy.c (TEST_NAME): Likewise.
3658 * string/test-strnlen.c (TEST_NAME): Likewise.
3659 * string/test-strpbrk.c (TEST_NAME): Likewise.
3660 * string/test-strrchr.c (TEST_NAME): Likewise.
3661 * string/test-strspn.c (TEST_NAME): Likewise.
3662 * string/test-strstr.c (TEST_NAME): Likewise.
3663 * string/test-bcopy-ifunc.c: New file.
3664 * string/test-bzero-ifunc.c: Likewise.
3665 * string/test-memccpy-ifunc.c: Likewise.
3666 * string/test-memchr-ifunc.c: Likewise.
3667 * string/test-memcmp-ifunc.c: Likewise.
3668 * string/test-memcpy-ifunc.c: Likewise.
3669 * string/test-memmem-ifunc.c: Likewise.
3670 * string/test-memmove-ifunc.c: Likewise.
3671 * string/test-mempcpy-ifunc.c: Likewise.
3672 * string/test-memset-ifunc.c: Likewise.
3673 * string/test-rawmemchr-ifunc.c: Likewise.
3674 * string/test-stpcpy-ifunc.c: Likewise.
3675 * string/test-stpncpy-ifunc.c: Likewise.
3676 * string/test-strcasecmp-ifunc.c: Likewise.
3677 * string/test-strcasestr-ifunc.c: Likewise.
3678 * string/test-strcat-ifunc.c: Likewise.
3679 * string/test-strchr-ifunc.c: Likewise.
3680 * string/test-strchrnul-ifunc.c: Likewise.
3681 * string/test-strcmp-ifunc.c: Likewise.
3682 * string/test-strcpy-ifunc.c: Likewise.
3683 * string/test-strcspn-ifunc.c: Likewise.
3684 * string/test-strlen-ifunc.c: Likewise.
3685 * string/test-strncasecmp-ifunc.c: Likewise.
3686 * string/test-strncat-ifunc.c: Likewise.
3687 * string/test-strncmp-ifunc.c: Likewise.
3688 * string/test-strncpy-ifunc.c: Likewise.
3689 * string/test-strnlen-ifunc.c: Likewise.
3690 * string/test-strpbrk-ifunc.c: Likewise.
3691 * string/test-strrchr-ifunc.c: Likewise.
3692 * string/test-strspn-ifunc.c: Likewise.
3693 * string/test-strstr-ifunc.c: Likewise.
3694
de54b33a
L
3695 * debug/Makefile (tests-ifunc): New variable.
3696 (tests): Add $(tests-ifunc).
3697 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3698 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3699 * debug/test-stpcpy_chk-ifunc.c: New file.
3700 * debug/test-strcpy_chk-ifunc.c: Likewise.
3701
88481c16
SP
37022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3703
3704 [BZ #13601]
3705 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3706 header is not read in.
3707
135948bd
JM
37082012-10-19 Joseph Myers <joseph@codesourcery.com>
3709
89f1c388
JM
3710 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3711 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3712 directly. Pass built executable to script as
3713 $(built-program-cmd).
3714 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3715 $testprogram without using LD_LIBRARY_PATH and $ldso.
3716
e40a0d21
JM
3717 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3718 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3719 $(rtld-installed-name).
3720 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3721 (rtld_installed_name): Likewise.
3722 (library_path): Likewise.
3723 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3724 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3725 $(run-program-prefix) to tst-tables.sh.
3726 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3727 it to run tst-table-from and tst-table-to.
3728 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3729 Pass it to tst-table.sh.
3730 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3731 $(run-program-prefix) to tst-gettext.sh.
3732 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3733 tst-translit.sh.
3734 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3735 tst-gettext2.sh.
3736 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3737 to run tst-gettext.
3738 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3739 to run tst-gettext2.
3740 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3741 to run tst-translit.
3742 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3743 $(run-program-prefix) to tst-mtrace.sh.
3744 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3745 to run tst-mtrace.
3746 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3747 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3748 $(rtld-installed-name).
3749 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3750 (rtld_installed_name): Likewise.
3751 (run_program_prefix): New variable. Use it to run wordexp-test.
3752
728e272a
JM
3753 * Makeconfig (ARCH): Remove all definitions.
3754 (machine): Likewise.
3755 [ARCH]: Remove conditional code.
3756 [!objdir]: Give error.
3757 [!objdir] (objpfx): Remove.
3758 [!objdir] (common-objpfx): Likewise.
3759 [!objdir] (common-objdir): Likewise.
3760 * configure.in (config_makefile): Remove. Hardcode Makefile in
3761 AC_CONFIG_FILES call.
3762 * configure: Regenerated.
3763
d528cdcf
JM
3764 [BZ #13888]
3765 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3766 or TMPDIR.
3767 (testout): Likewise.
3768
135948bd
JM
3769 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3770 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3771 $(rtld-installed-name).
3772 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3773 (rtld_installed_name): Likwise.
3774 (runit): Remove function.
3775 (run_getconf): New variable, Use it for running getconf binary.
3776
38c78296
L
37772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3778
3779 [BZ #14716]
3780 * string/test-memmem.c (check_result): New function.
3781 (do_one_test): Use it.
3782 (check1): New function.
3783 (test_main): Use it.
3784
d077f65f
MT
37852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3786
3787 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3788
ced52c71
JM
37892012-10-18 Joseph Myers <joseph@codesourcery.com>
3790
3791 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3792 (_G_LSEEK64): Likewise.
3793 (_G_MMAP64): Likewise.
3794 (_G_FSTAT64): Likewise.
3795 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3796 (_G_LSEEK64): Likewise.
3797 (_G_MMAP64): Likewise.
3798 (_G_FSTAT64): Likewise.
3799 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3800 unconditional. Call __mmap64 directly.
3801 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3802 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3803 __lseek64 directly.
3804 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3805 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3806 __mmap64 directly.
3807 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3808 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3809 __lseek64 directly.
3810 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3811 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3812 __lseek64 directly.
3813 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3814 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3815 __lseek64 directly.
3816 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3817 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3818 __fxstat64 directly.
3819 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3820 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3821 unconditional.
3822 (freopen64) [!_G_OPEN64]: Remove conditional code.
3823 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3824 unconditional.
3825 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3826 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3827 unconditional.
3828 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3829 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3830 unconditional.
3831 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3832 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3833 unconditional.
3834 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3835 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3836 unconditional.
3837 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3838 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3839 unconditional.
3840 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3841 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3842 unconditional.
3843 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3844
b741de23
SP
38452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3846
3847 [BZ #12140]
3848 * manual/memory.texi (Malloc Tunable Parameters): Add note
3849 about free list pointers overwriting some perturb bytes.
3850 Wording suggested by Roland McGrath.
3851
f9b9d9c9
JM
38522012-10-17 Joseph Myers <joseph@codesourcery.com>
3853
3854 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3855 (lgamma_test): Likewise.
3856 (tgamma_test): Likewise.
3857
172a631a
FW
38582012-10-16 Florian Weimer <fweimer@redhat.com>
3859
3860 [BZ #14700]
3861 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3862 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3863
e9f37252
MK
38642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3865
3866 * NEWS: Mention BZ #14716.
3867 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3868 when removing AVAILABLE1_USES_J macro.
3869
d394eb74
L
38702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3873 (__bswap_64): __uint64_t for unsigned 64-bit int.
3874
ca38dc17
AS
38752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3876
3877 * include/string.h (memmem): Declare libc hidden alias.
3878 * string/memmem.c (memmem): Define libc hidden alias.
3879 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3880 __read, __close instead of open, read, close.
3881
9a387d1f
L
38822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3883
ac49ecaf
L
3884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3885 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3886 global and hidden.
3887 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3888 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3889 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3890 Likewise.
3891 (__rawmemchr_sse2): Likewise.
3892 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3893 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3894 (__strchr_sse2): Likewise.
3895 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3896 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3897 (__strcasecmp_sse2): Likewise.
3898 (__strncasecmp_sse2): Likewise.
3899 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3900 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3901 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3902 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3903 (__strrchr_sse2): Likewise.
3904 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3905 ifunc-impl-list.c.
3906 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3907 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3908 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3909 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3910 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3911 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3912 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3913 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3914 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3915 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3916 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3917 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3918 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3919 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3920 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3921 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3922 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3923 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3924 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3925 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3926 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3927 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3928 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3929 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3930 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3931 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3932 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3933 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3934 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3935 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3936
b090e8ea
L
3937 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3938 global and hidden.
3939 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3940 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3941 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3942 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3943 Likewise.
3944 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3945 Likewise.
3946 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3947 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3948 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3949 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3950 ifunc-impl-list.c.
3951 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3952 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3953 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3954 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3955 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3956 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3957 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3958 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3959 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3961 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3962 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3963 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3964 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3965 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3967 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3968 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3969 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3970 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3976 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3980 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3982 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3985 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3986 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3991 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3992
11dd4af6
L
3993 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3994 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3995 * include/ifunc-impl-list.h: New file.
3996 * misc/ifunc-impl-list.c: Likewise.
3997 * misc/Makefile (routines): Add ifunc-impl-list.
3998 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3999 * string/test-string.h: Include <ifunc-impl-list.h>.
4000 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4001 impl_array): New variables.
4002 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4003 are defined.
4004 (test_init): Call __libc_ifunc_impl_list to initialize
4005 func_list if TEST_IFUNC and TEST_NAME are defined.
4006
9a387d1f
L
4007 * string/Makefile (strop-tests): Add bcopy and bzero.
4008 * string/test-bcopy.c: New file.
4009 * string/test-bzero.c: Likewise.
4010 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4011 defined.
4012 * string/test-memset.c: Support bzero test if TEST_BZERO is
4013 defined.
4014 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4015 __libc_memmove.
4016 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4017 __libc_memset.
4018 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4019 of memset.
4020
472371b9
JM
40212012-10-10 Joseph Myers <joseph@codesourcery.com>
4022
1e4a9536
JM
4023 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4024 * configure: Regenerated.
4025
d173d12e
JM
4026 * Makeconfig (+link-static-before-libc): Don't include
4027 $(link-static-libc).
4028
472371b9
JM
4029 * libio/libio.h (_IO_pos_t): Remove.
4030
89a3ad0b
AO
40312012-10-10 Alexandre Oliva <aoliva@redhat.com>
4032
4033 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4034 McGrath.
4035
e7451425
AO
40362012-10-10 Alexandre Oliva <aoliva@redhat.com>
4037
4038 * crypt/crypt-entry.c: Include fips-private.h.
4039 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4040 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4041 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4042 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4043
4ba74a35
AO
40442012-10-10 Alexandre Oliva <aoliva@redhat.com>
4045
4046 * crypt/crypt-private.h: Include stdbool.h.
4047 (_ufc_setup_salt_r): Return bool.
4048 * crypt/crypt-entry.c: Include errno.h.
4049 (__crypt_r): Return NULL with EINVAL for bad salt.
4050 * crypt/crypt_util.c (bad_for_salt): New.
4051 (_ufc_setup_salt_r): Check that salt is long enough and within
4052 the specified alphabet.
4053 * crypt/badsalttest.c: New file.
4054 * crypt/Makefile (tests): Add it.
4055 ($(objpfx)badsalttest): New.
4056
f96f1242
MK
40572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4058
4059 * NEWS: Add entry for BZ #14602.
4060
0e8e0c1c
JM
40612012-10-09 Joseph Myers <joseph@codesourcery.com>
4062
4063 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4064 type-generic.
4065 * math/libm-test.inc: Update comment listing what functions and
4066 macros are tested.
4067 (isgreater_test): New function.
4068 (isgreaterequal_test): Likewise.
4069 (isless_test): Likewise.
4070 (islessequal_test): Likewise.
4071 (islessgreater_test): Likewise.
4072 (isunordered_test): Likewise.
4073 (main): Call the new functions.
4074
273edc5e
RM
40752012-10-09 Roland McGrath <roland@hack.frob.com>
4076
b8493de0
RM
4077 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4078 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4079 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4080 * sysdeps/i386/configure: Regenerated.
4081 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4082 * sysdeps/mach/configure: Regenerated.
4083 * sysdeps/mach/hurd/configure: Regenerated.
4084 * sysdeps/powerpc/configure: Regenerated.
4085 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4086 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4087 * sysdeps/s390/s390-32/configure: Regenerated.
4088 * sysdeps/s390/s390-64/configure: Regenerated.
4089 * sysdeps/sh/configure: Regenerated.
4090 * sysdeps/sparc/configure: Regenerated.
4091 * sysdeps/unix/sysv/linux/configure: Regenerated.
4092 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4093 * sysdeps/x86_64/configure: Regenerated.
4094
273edc5e
RM
4095 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4096 defined. Don't check if MAP is NULL.
4097
c8450f70
JM
40982012-10-09 Joseph Myers <joseph@codesourcery.com>
4099
4100 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4101 (_G_stat64): Likewise.
4102 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4103 (_G_stat64): Likewise.
4104 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4105 instead of struct _G_stat64.
4106 * libio/fileops.c (mmap_remap_check): Likewise.
4107 (decide_maybe_mmap): Likewise.
4108 (_IO_new_file_seekoff): Likewise.
4109 (_IO_file_stat): Likewise.
4110 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4111 _G_off64_t.
4112 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4113 instead of struct _G_stat64.
4114 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4115
57e605ba
MK
41162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4117
4118 [BZ #14602]
4119 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4120 Replace with ...
4121 (CHECK_EOL): New macro.
4122 (two_way_short_needle): Check beginning of haystack for EOL. Use
4123 CHECK_EOL.
4124 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4125 Replace with CHECK_EOL.
4126 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4127 Replace with CHECK_EOL.
4128
ef1bb361
JM
41292012-10-08 Joseph Myers <joseph@codesourcery.com>
4130
4131 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4132 type-generic.
4133 * math/libm-test.inc: Update comment listing what functions and
4134 macros are tested.
4135 (finite_test): New function.
4136 (isinf_test): Likewise.
4137 (isnan_test): Likewise.
4138 (fpclassify_test): Test subnormal input.
4139 (isfinite_test): Likewise.
4140 (isnormal_test): Likewise.
4141 (main): Call the new functions.
4142
55f11534
JN
41432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4144
4145 [BZ #14660]
4146 * Makerules (%.dynsym): Force C locale when running
4147 $(OBJDUMP) --dynamic-syms.
4148
1ab29350
AS
41492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4150
4151 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4152 <stdint.h>.
4153
f1ecb7ef
DM
41542012-10-06 David S. Miller <davem@davemloft.net>
4155
4156 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4157 upper 32-bits of the length value in %o2 since we use branch-on-register
4158 tests which consider the entire 64-bit register.
4159
5d41d91a
L
41602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 * string/test-strstr.c (check2): Add a test for page boundary.
4163
3baddb72
DM
41642012-10-05 David S. Miller <davem@davemloft.net>
4165
4166 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4167 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4168 file.
4169 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4170 sysdep_routines.
4171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4172 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4173 and bzero when HWCAP_SPARC_CRYPTO is present.
4174
9cee5585
L
41752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4176
d7e0dab9
L
4177 [BZ #14602]
4178 * string/test-strstr.c (check2): New function.
4179 (test_main): Call check2.
4180
03759f47
L
4181 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4182 and bug-strchr1.
4183 * string/bug-strcasestr1.c (do_test): Moved to ...
4184 * string/test-strcasestr.c (check1): Here. New function.
4185 (do_one_test): Break out result checking code into ...
4186 (check_result): This. New function.
4187 (do_one_test): Call check_result.
4188 (test_main): Call check1.
4189 * string/bug-strchr1.c (do_test): Moved to ...
4190 * string/test-strchr.c (check1): Here. New function.
4191 (do_one_test): Break out result checking code into ...
4192 (check_result): This. New function.
4193 (do_one_test): Call check_result.
4194 (test_main): Call check1.
4195 * string/bug-strstr1.c (main): Moved to ...
4196 * string/test-strchr.c (check1): Here. New function.
4197 (do_one_test): Break out result checking code into ...
4198 (check_result): This. New function.
4199 (do_one_test): Call check_result.
4200 (test_main): Call check1.
4201 * string/bug-strcasestr1.c: Removed.
4202 * string/bug-strchr1.c: Likewise.
4203 * string/bug-strstr1.c: Likewise.
4204
53cea63e
L
4205 * elf/Makefile (dl-routines): Add hwcaps.
4206 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4207 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4208 (_dl_important_hwcaps): Moved to ...
4209 * elf/dl-hwcaps.c: Here. New file.
4210 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4211
9cee5585 4212 [BZ #14557]
bb859b06
L
4213 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4214 if IS_IN_rtld isn't defined.
4215
9cee5585
L
4216 * elf/dl-support.c (_dl_sysinfo_map): New.
4217 Include "get-dynamic-info.h" and "setup-vdso.h".
4218 (_dl_non_dynamic_init): Call setup_vdso.
4219 * elf/dynamic-link.h: Don't include <assert.h>.
4220 (elf_get_dynamic_info): Moved to ...
4221 * elf/get-dynamic-info.h: Here. New file.
4222 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4223 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4224 * elf/setup-vdso.h: Here. New file.
4225 * elf/rtld.c: Include "setup-vdso.h".
4226 (dl_main): Call setup_vdso.
4227
23c31b76
JM
42282012-10-05 Joseph Myers <joseph@codesourcery.com>
4229
28234b07
JM
4230 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4231 creal in comment listing functions tested. List finite, isinf,
4232 isnan, isless, islessequal, isgreater, isgreaterequal,
4233 islessgreater, isunordered, lgamma_r and pow10 as functions and
4234 macros not tested. Mention which functions not tested are aliases
4235 for other functions. Fix typo. Note that signs of NaNs are not
4236 tested.
4237
23c31b76
JM
4238 * scripts/config.guess: Update from config.git.
4239 * scripts/config.sub: Likewise.
4240
9043e228
RM
42412012-10-04 Roland McGrath <roland@hack.frob.com>
4242
4243 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4244 * misc/madvise.c (madvise): Renamed to __madvise.
4245 Make madvise a weak alias.
4246 * include/sys/mman.h: Declare __madvise.
4247 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4248 * sysdeps/unix/syscalls.list
4249 (madvise): Make __madvise the strong name, and madvise a weak alias.
4250 * sysdeps/unix/sysv/linux/syscalls.list
4251 (madvise, mmap): Remove redundant entries.
4252 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4253 * malloc/malloc.c (mtrim): Likewise.
4254 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4255
f57f8055
RM
42562012-10-03 Roland McGrath <roland@hack.frob.com>
4257
4258 * sysdeps/mach/hurd/dl-cache.c: File removed.
4259 * config.h.in (USE_LDCONFIG): New #undef.
4260 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4261 * configure: Regenerated.
4262 * elf/Makefile (dl-routines): Add dl-cache only under
4263 [$(use-ldconfig) = yes].
4264 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4265 cache on [USE_LDCONFIG].
4266 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4267 [USE_LDCONFIG].
4268 * elf/rtld.c (dl_main): Likewise.
4269
5bb0c10a
PT
42702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4271
4272 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4273 _SC_LEVEL4_CACHE_LINESIZE.
4274
010188c6
RM
42752012-10-03 Roland McGrath <roland@hack.frob.com>
4276
4277 * sysdeps/unix/bsd/confstr.h: File removed.
4278
b6c5ec07
AO
42792012-10-02 Alexandre Oliva <aoliva@redhat.com>
4280
4281 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4282 sys/sdt-config.h.
4283
408223d4
RM
42842012-10-02 Roland McGrath <roland@hack.frob.com>
4285
4286 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4287 Make 'mapoff' field ElfW(Off) rather than off_t.
4288
bb9510dc
DL
42892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4290
fc997c6e
DL
4291 * nscd/Makefile: Remove nscd-cflags and all its users.
4292 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4293 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4294
bb9510dc
DL
4295 [BZ #10631]
4296 * malloc.c (malloc_printerr): Clarify error message.
4297
05699367
L
42982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 [BZ #14648]
4301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4302 Set bit_FMA_Usable if FMA is supported.
4303 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4304 macro.
4305 (bit_FMA4_Usable): Updated.
4306 (index_FMA_Usable): New macro.
4307 (CPUID_FMA): Likewise
4308 (HAS_FMA): Defined with bit_FMA_Usable.
4309
51367701
RM
43102012-10-01 Roland McGrath <roland@hack.frob.com>
4311
4312 * bits/types.h (__swblk_t): Type removed.
4313 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4314 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4316 (__SWBLK_T_TYPE): Likewise.
4317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4318 (__SWBLK_T_TYPE): Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4320 (__SWBLK_T_TYPE): Likewise.
4321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4322 (__SWBLK_T_TYPE): Likewise.
4323
4d57bf63 43242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4325 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4326
4327 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4328 (xdr_mapname): Use YPMAXMAP as maxsize.
4329 (xdr_peername): Use YPMAXPEER as maxsize.
4330 (xdr_keydat): Use YPAXRECORD as maxsize.
4331 (xdr_valdat): Use YPMAXRECORD as maxsize.
4332
93c65d43
RM
43332012-10-01 Roland McGrath <roland@hack.frob.com>
4334
497a03d6
RM
4335 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4336
93c65d43
RM
4337 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4338 * csu/init-first.c: ... here.
4339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4340 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4341 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4342 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4343 * sysdeps/i386/init-first.c: File removed.
4344 * sysdeps/sh/init-first.c: File removed.
4345
bec749fd
JM
43462012-10-01 Joseph Myers <joseph@codesourcery.com>
4347
4348 [BZ #14645]
4349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4350 if x * y might underflow to zero and z is zero.
4351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4353 * math/libm-test.inc (min_subnorm_value): New variable.
4354 (fma_test): Add more tests.
4355 (fma_test_towardzero): Likewise.
4356 (fma_test_downward): Likewise
4357 (fma_test_upward): Likewise.
4358 (initialize): Set min_subnorm_value.
4359
8ec5b013
JM
43602012-09-29 Joseph Myers <joseph@codesourcery.com>
4361
4362 [BZ #14638]
4363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4364 0 + 0.
4365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4366 mode for addition resulting in exact zero.
4367 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4369 exact 0 + 0.
4370 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4372 * math/libm-test.inc (fma_test): Add more tests.
4373 (fma_test_towardzero): New function.
4374 (fma_test_downward): Likewise.
4375 (fma_test_upward): Likewise.
4376 (main): Call the new functions.
4377
b1fa802e
DM
43782012-09-28 David S. Miller <davem@davemloft.net>
4379
4380 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4381
d3b9fd9e
RM
43822012-09-28 Roland McGrath <roland@hack.frob.com>
4383
ea4d37b3
RM
4384 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4385 instead of SIGALRM.
4386
ac51c949
RM
4387 * sysdeps/gnu/_G_config.h: Moved to ...
4388 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4389 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4390 * sysdeps/generic/_G_config.h: ... here.
4391
28c195f7
RM
4392 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4393
848917f9
RM
4394 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4395
6bacf05b
RM
4396 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4397 Conditionalize target on [libnss_test1.so-version].
4398
91363dbb
RM
4399 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4400
cc87f7d8
RM
4401 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4402 (elfobjdir): Move out of conditionals.
4403
b1c608fe
RM
4404 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4405 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4406 (__nss_lookup_function): Conditionalize label remove_from_tree on
4407 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4408
1d9a6d96
DM
44092012-09-28 David S. Miller <davem@davemloft.net>
4410
4411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4412 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4413 file.
4414 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4415 sysdep_routines.
4416 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4418 when HWCAP_SPARC_CRYPTO is present.
4419
72581615
PT
44202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4421
4422 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4423
715a900c
JL
44242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4425
4426 [BZ #6530]
4427 * stdio-common/vfprintf.c (process_string_arg): Revert
4428 2000-07-22 change.
4429
44302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4431
4432 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4433 for testcase.
4434 * stdio-common/tst-sprintf.c: Include <locale.h>
4435 (main): Test sprintf's handling of incomplete multibyte
4436 characters.
4437
9bac1d86
L
44382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 * elf/dl-runtime.c (VERSYMIDX): Removed.
4441 * elf/dl-version.c (VERSYMIDX): Likewise.
4442 * elf/do-rel.h (VERSYMIDX): Likewise.
4443 (VALIDX): Likewise.
4444 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4445 * elf/rtld.c (VALIDX): Likewise.
4446 (ADDRIDX): Likewise.
9bac1d86
L
4447 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4448 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4449 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4450 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4451 (VALIDX): Likewise.
4452 (ADDRIDX): Likewise.
9bac1d86 4453
b31606c0
PT
44542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4455
4456 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4457
11541177
JL
44582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4459
4460 [BZ #11438]
4461 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4462 to global scope.
4463 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4464 addresses are in the same scope as 192.0.2/24.
4465 * posix/gai.conf: Document new scope table defaults.
4466
adb26fae
SP
44672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4468
4469 [BZ #5298]
4470 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4471 for ftell. Compute offsets from write pointers instead.
4472 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4473
4573c6b0
SP
44742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4475
4476 [BZ #14543]
4477 * libio/Makefile (tests): New test case tst-fseek.
4478 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4479 combination works in wide mode.
4480 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4481 state when the external buffer state changes.
4482
aa9bbfe6
DM
44832012-09-27 David S. Miller <davem@davemloft.net>
4484
4485 [BZ #14376]
4486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4487 pass reloc->r_addend in as the 'high' argument to
4488 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4489
784421e7
DM
4490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4491
c39bc8b8
PT
44922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4493
4494 * rt/tst-aio2.c: Include <pthread.h>.
4495 * rt/tst-aio3.c: Likewise.
4496
1ccc2399
SE
44972012-09-27 Steve Ellcey <sellcey@mips.com>
4498
4499 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4500
31ed4153
L
45012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4502
25f5f885
L
4503 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4504 contents on [SHARED].
31ed4153 4505
b7bfe116
MP
45062012-09-26 Marek Polacek <polacek@redhat.com>
4507
4508 [BZ #14530]
4509 [BZ #13741]
4510 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4511 for C++ and GCC <4.3 as well as for non GCC compilers.
4512
43c4edba
MT
45132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4514
4515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4516
6a1bf82f
RM
45172012-09-25 Roland McGrath <roland@hack.frob.com>
4518
4519 * Makefile.in (all, install): Declare with .PHONY.
4520 Reported by Michael Hope <michael.hope@linaro.org>.
4521
8ad11b9a
TMQMF
45222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4523
4524 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4525 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4526 system header.
4527 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4528 Likewise.
4529 (sydep_routines): Add the new and the internal functions.
4530 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4531 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4533 (GLIBC_2.17): Add the new function.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4535 (GLIBC_2.17): Likewise.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4537 (GLIBC_2.17): Likewise.
4538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4539 (GLIBC_2.17): Likewise.
4540 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4541
7e2fca8d
AM
45422012-09-25 Alan Modra <amodra@gmail.com>
4543
4544 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4545 Add release barrier before setting once_control to say
4546 initialisation is done. Add hints on lwarx. Use macro in
4547 place of isync.
4548 (clear_once_control): Add release barrier.
4549
b87c4b24
JM
45502012-09-25 Joseph Myers <joseph@codesourcery.com>
4551
d032e0d2
JM
4552 [BZ #13629]
4553 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4554 specially.
4555 * math/s_clog10.c (__clog10): Likewise.
4556 * math/s_clog10f.c (__clog10f): Likewise.
4557 * math/s_clog10l.c (__clog10l): Likewise.
4558 * math/s_clogf.c (__clogf): Likewise.
4559 * math/s_clogl.c (__clogl): Likewise.
4560 * math/Makefile (libm-calls): Add x2y2m1.
4561 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4562 (__x2y2m1): Likewise.
4563 (__x2y2m1l): Likewise.
4564 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4565 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4566 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4567 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4568 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4569 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4570 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4571 * sysdeps/i386/fpu/libm-test-ulps: Update.
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573
b87c4b24
JM
4574 [BZ #14621]
4575 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4576 int as type of variable DEPTH.
4577 (glob): Use size_t instead of int as type of variables NEWCOUNT
4578 and OLD_PATHC.
4579
6d3bf199
LD
45802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4581
22bf5c17
LD
4582 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4583 Add s_sincosf-sse2.
4584 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4585 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4586 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4587 macros for using routine as __sincosf_ia32.
4588 Use macro for function declaration and weak_alias.
4589 * sysdeps/i386/fpu/libm-test-ulps: Update.
4590
4591 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4593
4594 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4595 subnormal argument.
4596 * math/s_cexpf.c (__cexpf): Likewise.
4597 * math/s_csinf.c (__csinf): Likewise.
4598 * math/s_csinhf.c (__csinhf): Likewise.
4599 * math/s_ctanf.c (__ctanf): Likewise.
4600 * math/s_ctanhf.c (__ctanhf): Likewise.
4601 * math/s_ccosh.c (__ccoshf): Likewise.
4602 * math/s_cexp.c (__cexpl): Likewise.
4603 * math/s_csin.c (__csin): Likewise.
4604 * math/s_csinh.c (__csinh): Likewise.
4605 * math/s_ctan.c (__ctan): Likewise.
4606 * math/s_ctanh.c (ctanh): Likewise.
4607 * math/s_ccoshl.c (__ccoshl): Likewise.
4608 * math/s_cexpl.c (__cexpl): Likewise.
4609 * math/s_csinl.c (__csinl): Likewise.
4610 * math/s_csinhl.c (__csinhl): Likewise.
4611 * math/s_ctanl.c (__ctanl): Likewise.
4612 * math/s_ctanhl.c (__ctanhl): Likewise.
4613
203e5603
JM
46142012-09-25 Joseph Myers <joseph@codesourcery.com>
4615
4616 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4617 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4618 (_IO_off_t): Define to __off_t, not _G_off_t.
4619 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4620 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4621 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4622 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4623 type of __dummy and __dummy2 fields.
4624 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4625 (_G_ssize_t): Likewise.
4626 (_G_off_t): Likewise.
4627 (_G_pid_t): Likewise.
4628 (_G_uid_t): Likewise.
4629 (_G_wchar_t): Likewise.
4630 (_G_wint_t): Likewise.
4631 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4632 (_G_ssize_t): Likewise.
4633 (_G_off_t): Likewise.
4634 (_G_pid_t): Likewise.
4635 (_G_uid_t): Likewise.
4636 (_G_wchar_t): Likewise.
4637 (_G_wint_t): Likewise.
4638 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4639 (_G_ssize_t): Likewise.
4640 (_G_off_t): Likewise.
4641 (_G_pid_t): Likewise.
4642 (_G_uid_t): Likewise.
4643 (_G_wchar_t): Likewise.
4644 (_G_wint_t): Likewise.
4645
9fab36eb
SP
46462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4647
4648 * malloc/arena.c: Include malloc-sysdep.h.
4649 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4650 is sufficient to shrink the heap or an unmap is needed.
4651 * sysdeps/generic/malloc-sysdep.h: New file. Define
4652 new function check_may_shrink_heap.
4653 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4654 new function check_may_shrink_heap.
4655
2b4f00d1
SP
46562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4657
4658 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4659 comments.
4660
9a9028b1
DL
46612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4662
57c69bef
DL
4663 * catgets/test-gencat.sh: Add "set -e".
4664 * elf/tst-pathopt.sh: Likewise.
4665 * grp/tst_fgetgrent.sh: Likewise.
4666 * iconvdata/run-iconv-test.sh: Likewise.
4667 * intl/tst-gettext.sh: Likewise.
4668 * intl/tst-gettext2.sh: Likewise.
4669 * intl/tst-gettext4.sh: Likewise.
4670 * intl/tst-gettext6.sh: Likewise.
4671 * intl/tst-translit.sh: Likewise.
4672 * io/ftwtest-sh: Likewise.
4673 * libio/test-freopen.sh: Likewise.
4674 * malloc/tst-mtrace.sh: Likewise.
4675 * posix/globtest.sh: Likewise.
4676 * posix/tst-getconf.sh: Likewise.
4677 * posix/wordexp-tst.sh: Likewise.
4678 * stdio-common/tst-printf.sh: Likewise.
4679 * stdio-common/tst-unbputc.sh: Likewise.
4680 * stdlib/tst-fmtmsg.sh: Likewise.
4681 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4682 * catgets/Makefile: Do not specify -e option when running
4683 testsuite shell scripts.
4684 * elf/Makefile: Likewise.
4685 * grp/Makefile: Likewise.
4686 * iconvdata/Makefile: Likewise.
4687 * intl/Makefile: Likewise.
4688 * io/Makefile: Likewise.
4689 * libio/Makefile: Likewise.
4690 * malloc/Makefile: Likewise.
4691 * posix/Makefile: Likewise.
4692 * stdio-common/Makefile: Likewise.
4693 * stdlib/Makefile: Likewise.
4694 * sysdeps/x86_64/Makefile: Likewise.
4695
9a9028b1
DL
4696 * io/ftwtest-sh: Add copyright header.
4697 * posix/globtest.sh: Likewise.
4698 * posix/tst-getconf.sh: Likewise.
4699 * posix/wordexp-tst.sh: Likewise.
4700 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4701
ced6f16e
L
47022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4703
94b32c39
L
4704 [BZ #13679]
4705 * Makeconfig (+link): Defined as $(+link-static) if
4706 $(build-shared) isn't yes.
4707 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4708 isn't yes.
4709 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4710
189e935b
L
4711 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4712
ced6f16e
L
4713 [BZ #14562]
4714 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4715 new chunk size with MALLOC_ALIGN_MASK.
4716
a9f8e53a
JM
47172012-09-24 Joseph Myers <joseph@codesourcery.com>
4718
4719 [BZ #5044]
4720 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4721 <rounding-mode.h>.
4722 (__printf_fphex): Determine rounding using get_rounding_mode and
4723 round_away.
4724 * stdio-common/tst-printf-round.c (struct hex_test): New
4725 structure.
4726 (hex_tests): New variable.
4727 (test_hex_in_one_mode): New function.
4728 (do_test): Also run tests for hex float output.
4729
43153109
JM
47302012-09-21 Joseph Myers <joseph@codesourcery.com>
4731
4732 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4733 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4734 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4735 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4736 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4737 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4738 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4739 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4740
8a26625d
JM
47412012-09-20 Joseph Myers <joseph@codesourcery.com>
4742
4743 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4744 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4745 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4746 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4747
f3fd569c
DL
47482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4749
4750 [BZ #14579]
4751 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4752 mode only.
4753 * elf/tst-rtld-load-self.sh: New test.
4754 * elf/Makefile: Run it.
4755
63bbedd4
JM
47562012-09-18 Joseph Myers <joseph@codesourcery.com>
4757
4758 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4759 (tst-writev-ENV): Remove.
4760 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4761
626f8b6a
CM
47622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4763
4764 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4765
b7aaa4d6
JM
47662012-09-17 Joseph Myers <joseph@codesourcery.com>
4767
4768 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4769 unconditional.
4770 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4771 Likewise.
4772 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4773 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4774 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4775 Likewise.
4776
65513990
L
47772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4778
4779 [BZ #14587]
4780 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4781 * config.make.in (have-cpp-asm-debuginfo): Removed.
4782 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4783 * configure: Regenerated.
4784
784761be
JM
47852012-09-14 Joseph Myers <joseph@codesourcery.com>
4786
4787 [BZ #5044]
4788 * stdio-common/printf_fp.c: Include <stdbool.h> and
4789 <rounding-mode.h>.
4790 (___printf_fp): Determine rounding using get_rounding_mode and
4791 round_away.
4792 * stdio-common/tst-printf-round.c: New file.
4793 * stdio-common/Makefile (tests): Add tst-printf-round.
4794 (link-libm): New variable.
4795 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4796
9503345f
L
47972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4798
4799 [BZ #14576]
4800 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4801 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4802 Likewise.
4803 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4804 Likewise.
4805
ad35fc00
JM
48062012-09-13 Joseph Myers <joseph@codesourcery.com>
4807
4808 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4809 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4810 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4811 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4812
6c9b0f68
JM
48132012-09-12 Joseph Myers <joseph@codesourcery.com>
4814
4815 [BZ #14518]
4816 * include/rounding-mode.h: New file.
4817 * sysdeps/generic/get-rounding-mode.h: Likewise.
4818 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4819 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4820 (MAX_VALUE): New macro.
4821 (MIN_VALUE): Likewise.
4822 (overflow_value): New function.
4823 (underflow_value): Likewise.
4824 (round_and_return): Use overflow_value and underflow_value to
4825 determine return values in overflow and underflow cases. Use
4826 round_away to determine rounding depending on rounding mode.
4827 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4828 determine return values in overflow and underflow cases.
4829 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4830 (struct test_results): New structure.
4831 (struct test): Use struct test_results to store expected results
4832 for all rounding modes.
4833 (TEST): Include expected results for all rounding modes.
4834 (test_in_one_mode): New function.
4835 (do_test): Use test_in_one_mode to compute and check results.
4836 Check results for all rounding modes.
4837 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4838 $(link-libm).
4839
19fcedd5
AM
48402012-12-09 Allan McRae <allan@archlinux.org>
4841
1e9d84cd 4842 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4843
8bbfd2f1
JM
48442012-09-11 Joseph Myers <joseph@codesourcery.com>
4845
4846 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4847 (_G_int32_t): Likewise.
4848 (_G_uint16_t): Likewise.
4849 (_G_uint32_t): Likewise.
4850 (_G_HAVE_BOOL): Likewise.
4851 (_G_HAVE_ATEXIT): Likewise.
4852 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4853 (_G_HAVE_IO_FILE_OPEN): Likewise.
4854 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4855 (_G_int32_t): Likewise.
4856 (_G_uint16_t): Likewise.
4857 (_G_uint32_t): Likewise.
4858 (_G_HAVE_BOOL): Likewise.
4859 (_G_HAVE_ATEXIT): Likewise.
4860 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4861 (_G_HAVE_IO_FILE_OPEN): Likewise.
4862 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4863 (_G_int32_t): Likewise.
4864 (_G_uint16_t): Likewise.
4865 (_G_uint32_t): Likewise.
4866 (_G_HAVE_BOOL): Likewise.
4867 (_G_HAVE_ATEXIT): Likewise.
4868 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4869 (_G_HAVE_IO_FILE_OPEN): Likewise.
4870
b1dc5912
L
48712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4872
4873 * csu/libc-tls.c: Update copyright years.
4874
0e886ef9
JM
48752012-09-10 Joseph Myers <joseph@codesourcery.com>
4876
28361c5e
JM
4877 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4878 [!_G_USING_THUNKS]: Remove conditional code.
4879 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4880 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4881
0e886ef9
JM
4882 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4883 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4884 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4885 (_G_VTABLE_LABEL_PREFIX): Likewise.
4886 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4887 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4889 (_G_VTABLE_LABEL_PREFIX): Likewise.
4890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4891 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4892 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4893 (_G_VTABLE_LABEL_PREFIX): Likewise.
4894 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4895
bcba7aa2
L
48962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4897
4898 * libio/Makefile: Include ../Makeconfig before tests.
4899 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4900 only if $(build-shared) is yes.
4901
06585ee8
L
4902 * iconv/gconv_db.c: Update copyright years.
4903
80ccd52c
LD
49042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4905
4906 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4907 unwind info if defined PIC. Fix special cases description.
4908 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4909
4910 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4911 DP_HI_MASK entry.
4912 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4913
691bc9c1
L
49142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4915
3d9b46b3
L
4916 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4917
de2139a9
L
4918 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4919 is NULL.
4920
5ca78dd0
L
4921 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4922 (LDLIBS-tst-chk4): This.
4923 (LDFLAGS-tst-chk5): Renamed to ...
4924 (LDLIBS-tst-chk5): This.
4925 (LDFLAGS-tst-chk6): Renamed to ...
4926 (LDLIBS-tst-chk6): This.
4927 (LDFLAGS-tst-lfschk4): Renamed to ...
4928 (LDLIBS-tst-lfschk4): This.
4929 (LDFLAGS-tst-lfschk5): Renamed to ...
4930 (LDLIBS-tst-lfschk5): This.
4931 (LDFLAGS-tst-lfschk6): Renamed to ...
4932 (LDLIBS-tst-lfschk6): This.
4933
691bc9c1
L
4934 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4935 on $(common-objpfx)soversions.mk.
4936
65cafb1c
JM
49372012-09-07 Joseph Myers <joseph@codesourcery.com>
4938
4939 [BZ #10014]
4940 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4941 example host name.
4942
c78ab094
SP
49432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4944
4945 * malloc/arena.c (arena_get_retry): New function that gets
4946 another arena for the caller to try its request on.
4947 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4948 current arena cannot fulfill the request.
4949 (__libc_memalign): Likewise.
4950 (__libc_memalign): Likewise.
4951 (__libc_pvalloc): Likewise.
4952 (__libc_calloc): Likewise.
4953
01f49f59
JT
49542012-09-05 John Tobey <john.tobey@gmail.com>
4955
4956 [BZ #13542]
4957 * manual/arith.texi (Operations on Complex): Fix description
4958 of carg branch cut.
4959
4c23fed5
JM
49602012-09-06 Joseph Myers <joseph@codesourcery.com>
4961
1d3c8572
JM
4962 [BZ #10014]
4963 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4964 host name.
4965
4c23fed5
JM
4966 [BZ #10038]
4967 * manual/memory.texi (Memory): Make order of menu items match
4968 order of sections.
4969
04570aaa
L
49702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4971
4972 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4973 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4974 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4975
b80af2f4
L
49762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4977
4978 * csu/libc-tls.c (static_dtv): Renamed to ...
4979 (_dl_static_dtv): This. Make it global.
4980 (_dl_initial_dtv): Removed.
4981 (__libc_setup_tls): Updated.
4982 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4983 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4984 DL_INITIAL_DTV.
4985
2abe9f15
PM
49862012-09-06 Petr Machata <pmachata@redhat.com>
4987
4988 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4989 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4990 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4991 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4992
0948c3af
L
49932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4994
4995 [BZ #14545]
4996 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4997 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4998 freeing dtv[-1].
4999
a5055ad1
L
50002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5001
5002 [BZ #14544]
5003 * Makeconfig (link-static-before-libc): Replace $(+prector)
5004 with $(+prectorT).
5005 (link-static-after-libc): Replace $(+postctor) with
5006 $(+postctorT).
5007 (link-bounded): Replace $(+prector)/$(+postctor) with
5008 $(+prectorT)/$(+postctorT).
5009 (+prectorT): New macro.
5010 (+postctorT): Likewise.
5011
ed8c2ecd
JM
50122012-09-06 Joseph Myers <joseph@codesourcery.com>
5013
5014 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5015 (round_str): Handle values above the maximum for IBM long double
5016 as inexact.
5017 * stdlib/tst-strtod-round.c (tests): Regenerated.
5018
14c996c8
AK
50192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5020
5021 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5022 assembler flag.
5023 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5024 zarch_nohighgprs around the zarch optimized routines.
5025 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5026 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5027 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5028 for zarch.
5029
430d6ce6
DM
50302012-09-05 David S. Miller <davem@davemloft.net>
5031
5032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5033
ff04dda4
DM
5034 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5035 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5036 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5037 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5038 entries.
5039
24d4e01b
AO
50402012-09-05 Alexandre Oliva <aoliva@redhat.com>
5041
5042 * malloc/arena.c: Fold copyright years.
5043 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5044
61d58174
AO
50452012-09-05 Alexandre Oliva <aoliva@redhat.com>
5046
5047 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5048
20196a5e
AO
50492012-09-05 Alexandre Oliva <aoliva@redhat.com>
5050
5051 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5052
5c447383
AO
50532012-09-05 Alexandre Oliva <aoliva@redhat.com>
5054
5055 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5056 change internal state upon failure.
5057
fad64255
AO
50582012-09-05 Alexandre Oliva <aoliva@redhat.com>
5059
5060 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5061 * malloc/memusage.c (mmap): Likewise.
5062 (mmap64, mremap): Likewise. Adjust name in comment.
5063
1ffb8c90
SP
50642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5065
5066 * libio/fileops.c: Fix typos in comments.
5067 * libio/oldfileops.c: Likewise.
5068 * libio/wfileops.c: Likewise.
5069
6ef9cc37
SP
50702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5071
5072 [BZ #1349]
5073 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5074 (tst-malloc-usable-ENV): Set environment for test case.
5075 * malloc/hooks.c (malloc_check_get_size): New function to get
5076 requested size.
5077 * malloc/malloc.c (musable): Use malloc_check_get_size.
5078 * malloc/tst-malloc-usable.c: New test case.
5079
4d038ae3
AS
50802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5081
5082 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5083
c4e85184
AM
50842012-09-05 Allan McRae <allan@archlinux.org>
5085
b9dafc56 5086 [BZ #13966]
c4e85184
AM
5087 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5088 determine header location.
5089 * configure: Regenerated.
5090
e1343020
AS
50912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5092
5093 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5094 float format.
5095 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5096 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5097 format.
e1343020
AS
5098 (test): Regenerate.
5099
0a9f1987
DM
51002012-09-04 David S. Miller <davem@davemloft.net>
5101
5102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5105
29237804
FW
51062012-09-04 Florian Weimer <fweimer@redhat.com>
5107
5108 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5109 failures.
5110
edb3cb88
FW
5111 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5112
60160d83
JM
51132012-09-04 Joseph Myers <joseph@codesourcery.com>
5114
5115 [BZ #9914]
5116 * libio/iogetdelim.c: Include <limits.h>.
5117 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5118 + len + 1 would overflow.
5119
bcd6c8dc
AJ
51202012-09-03 Andreas Jaeger <aj@suse.de>
5121
5122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5123 * sysdeps/i386/fpu/libm-test-ulps: Update.
5124
4ffffbd2
LD
51252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5126
5127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5128 Add s_sinf-sse2, s_conf-sse2.
5129
5130 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5131 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5132 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5133 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5134
5135 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5136 for using routine as __sinf_ia32.
5137 Use macro for function declaration and weak_alias.
5138 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5139 for using routine as __cosf_ia32.
5140 Use macro for function declaration and weak_alias.
5141
5142 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5143 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5144
5145 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5146 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5148
5149 * math/libm-test.inc (cos_test): Add more test cases.
5150 (sin_test): Likewise.
5151 (sincos_test): Likewise.
5152
511fa286
AK
51532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5154
5155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5156 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5157 hidden.
5158 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5159
5f30cfec
L
51602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 [BZ #14538]
5163 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5164 first element of the GOT.
5165 (elf_machine_load_address): Return the difference between
5166 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5167
0786794f
AM
51682012-09-01 Allan McRae <allan@archlinux.org>
5169
5f30cfec
L
5170 [BZ #13412]
5171 * configure.in (AWK): Require gawk version 3.0 or later.
5172 * configure: Regenerated.
0786794f 5173
26889eac
JM
51742012-09-01 Joseph Myers <joseph@codesourcery.com>
5175
5176 * sysdeps/unix/sysv/linux/kernel-features.h
5177 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5178 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5179 [__NR_clock_getres]: Make code unconditional.
5180 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5181 (clock_getcpuclockid): Remove code left unreachable by removal of
5182 conditionals.
5183 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5184 code unconditional.
5185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5187 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5188 Make code unconditional.
5189 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5190 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5191 * sysdeps/unix/sysv/linux/clock_settime.c
5192 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5193 conditional code.
5194 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5195 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5196
d22e28b0
L
51972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5198
5199 [BZ #14476]
5200 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5201 scripts/test-installation.pl.
5202
5203 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5204 and $ld_so_version if it is set.
5205
050af9c4
SP
52062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
5208 [BZ #14516]
5209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5210 failure if reading from procfs failed.
5211 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5212
ad845c0b
JM
52132012-08-27 Joseph Myers <joseph@codesourcery.com>
5214
5215 * sysdeps/unix/sysv/linux/kernel-features.h
5216 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5217 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5218 Remove conditional code.
5219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5220 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5221 Remove conditional code.
5222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5223 * sysdeps/unix/sysv/linux/i386/fxstat.c
5224 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5226 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5227 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5228 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5229 * sysdeps/unix/sysv/linux/i386/lxstat.c
5230 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5232 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5233 Remove conditional code.
5234 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5235 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5236 Remove conditional code.
5237 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5238 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5239 <kernel-features.h>.
5240 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5241 Remove.
5242 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5243 Remove conditional code.
5244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5245 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5246 Remove conditional.
5247
5dbf56af
MF
52482012-08-27 Mike Frysinger <vapier@gentoo.org>
5249
5250 [BZ #5400]
5251 * NEWS: Add fixed bug number.
5252
d6e70f43
JM
52532012-08-27 Joseph Myers <joseph@codesourcery.com>
5254
7efb4737
JM
5255 [BZ #14519]
5256 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5257 underflowing exponent in case of negative sign.
5258 * stdlib/tst-strtod-round-data: Add more tests.
5259 * stdlib/tst-strtod-round.c (tests): Regenerated.
5260
af92131a
JM
5261 [BZ #3479]
5262 * stdlib/strtod_l.c (NDIG): Remove.
5263 (HEXNDIG): Likewise.
5264 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5265 smallest representable value.
5266 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5267 lie within an exact representation of 1/2 ulp of the result.
5268 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5269 unconditionally.
5270 (TENS_P9_IDX): Define unconditionally.
5271 (TENS_P9_SIZE): Likewise.
5272 (TENS_P10_IDX): Likewise.
5273 (TENS_P10_SIZE): Likewise.
5274 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5275 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5276 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5277 entries for 10^2^13 and 10^2^14.
5278 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5279 (TENS_P13_IDX): Define.
5280 (TENS_P13_SIZE): Likewise.
5281 (TENS_P14_IDX): Likewise.
5282 (TENS_P14_SIZE): Likewise.
5283 (_fpioconst_pow10): Change array size to
5284 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5285 unconditional.
5286 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5287 1024]: Add entries for 10^2^13 and 10^2^14.
5288 [LAST_POW10 > _LAST_POW10]: Remove #error.
5289 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5290 (_fpioconst_pow10): Change array size to
5291 FPIOCONST_POW10_ARRAY_SIZE.
5292 * stdlib/gen-fpioconst.c: New file.
5293 * stdlib/gen-tst-strtod-round.c: Likewise.
5294 * stdlib/tst-strtod-round-data: Likewise.
5295 * stdlib/tst-strtod-round.c: Likewise.
5296 * stdlib/Makefile (tests): Add tst-strtod-round.
5297
d6e70f43
JM
5298 [BZ #14459]
5299 * stdlib/strtod_l.c: Include <stdint.h>.
5300 (NDEBUG): Do not define.
5301 (round_and_return): Change EXPONENT parameter to type intmax_t.
5302 Rearrange calculations to avoid internal overflow possibilities.
5303 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5304 Rearrange calculations to avoid internal overflow possibilities.
5305 Assert that number fits inside MPNSIZE limbs.
5306 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5307 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5308 calculations and add assertions to avoid internal overflow
5309 possibilities. Add casts to avoid signed/unsigned operations.
5310 * stdlib/tst-strtod-overflow.c: New file.
5311 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5312
1f529f7d
MP
53132012-08-25 Marek Polacek <polacek@redhat.com>
5314
5315 * time/time.h: Fix some typos in comments.
5316
59a629f1
RM
53172012-08-23 Roland McGrath <roland@hack.frob.com>
5318
5319 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5320 * posix/tst-rfc3484-2.c: Likewise.
5321 * posix/tst-rfc3484-3.c: Likewise.
5322
d3bafbc9
SM
53232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5324
5325 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5326 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5327
4efcc022
JM
53282012-08-23 Joseph Myers <joseph@codesourcery.com>
5329
5330 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5331 #include of fxstatat64.c.
5332
3cc3ef96
RM
53332012-08-22 Roland McGrath <roland@hack.frob.com>
5334
f04e2132
RM
5335 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5336 * shadow/getspent_r.c: Likewise.
5337 * shadow/getspnam.c: Likewise.
5338 * shadow/getspnam_r.c: Likewise.
5339 * gshadow/getsgent.c: Likewise.
5340 * gshadow/getsgent_r.c: Likewise.
5341 * gshadow/getsgnam.c: Likewise.
5342 * gshadow/getsgnam_r.c: Likewise.
5343 * inet/getnetbyad.c: Likewise.
5344 * inet/getnetbyad_r.c: Likewise.
5345 * inet/getnetbynm.c: Likewise.
5346 * inet/getnetbynm_r.c: Likewise.
5347 * inet/getnetent.c: Likewise.
5348 * inet/getnetent_r.c: Likewise.
5349 * inet/getproto.c: Likewise.
5350 * inet/getproto_r.c: Likewise.
5351 * inet/getprtent.c: Likewise.
5352 * inet/getprtent_r.c: Likewise.
5353 * inet/getprtname.c: Likewise.
5354 * inet/getprtname_r.c: Likewise.
5355 * inet/getrpcbyname.c: Likewise.
5356 * inet/getrpcbyname_r.c: Likewise.
5357 * inet/getrpcbynumber.c: Likewise.
5358 * inet/getrpcbynumber_r.c: Likewise.
5359 * inet/getrpcent.c: Likewise.
5360 * inet/getrpcent_r.c: Likewise.
5361 * inet/getaliasent.c: Likewise.
5362 * inet/getaliasent_r.c: Likewise.
5363 * inet/getaliasname.c: Likewise.
5364 * inet/getaliasname_r.c: Likewise.
5365 * nscd/getgrgid_r.c: Likewise.
5366 * nscd/getgrnam_r.c: Likewise.
5367 * nscd/gethstbyad_r.c: Likewise.
5368 * nscd/gethstbynm3_r.c: Likewise.
5369 * nscd/getpwnam_r.c: Likewise.
5370 * nscd/getpwuid_r.c: Likewise.
5371 * nscd/getsrvbynm_r.c: Likewise.
5372 * nscd/getsrvbypt_r.c: Likewise.
5373 * nscd/gai.c: Likewise.
5374
c53d909c
RM
5375 * configure.in (build_nscd): New substituted variable, set
5376 by --disable-build-nscd and defaults to $use_nscd.
5377 * configure: Regenerated.
5378 * config.make.in (build-nscd): New substituted variable.
5379 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5380 Change conditional to require [$(build-nscd) = yes] as well.
5381 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5382
3cc3ef96
RM
5383 [BZ# 13696]
5384 * configure.in (use_nscd): New substituted variable, set by
5385 --disable-nscd. If enabled, define USE_NSCD.
5386 * configure: Regenerated.
5387 * config.h.in: Add USE_NSCD.
5388 * config.make.in (use-nscd): New substituted variable.
5389 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5390 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5391 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5392 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5393 (CFLAGS-getgrnam_r.c): Likewise.
5394 (CFLAGS-initgroups.c): Likewise.
5395 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5396 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5397 Variables removed.
5398 * inet/getnetgrent_r.c
5399 (nscd_setnetgrent): New function, broken out of ...
5400 (setnetgrent): ... here. Call it.
5401 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5402 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5403 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5404 * nscd/Makefile (routines, aux): Move definitions after include of
5405 Makeconfig. Conditionalize on [$(use-nscd) != no].
5406 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5407 Conditionalize on [USE_NSCD].
5408 (is_nscd, nscd_init_cb): Likewise.
5409 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5410 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5411 * nss/nss_db/db-init.c: Likewise.
5412 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5413 [USE_NSCD].
5414 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5415 (make_request): Use it.
5416 (cache_valid_p): New function.
5417 (__check_pf): Use it.
5418 * NEWS: Add item for --disable-nscd.
5419
07e51550
DL
54202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5421
5422 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5423 to support sed >= 4.2.1-20-ga9bf076.
5424 * configure: Regenerated.
5425
35a5b08b
RM
54262012-08-22 Roland McGrath <roland@hack.frob.com>
5427
5428 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5429 Conditionalize whole body on [IREL].
5430
8479f23a
JL
54312012-08-22 Jeff Law <law@redhat.com>
5432
5433 [BZ #14505]
5434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5435 if the family is PF_UNSPEC.
5436
48da0b21
MF
54372012-08-22 Mike Frysinger <vapier@gentoo.org>
5438
5439 * Makerules (lib-version): Rename from V.
5440 (install-lib-nosubdir): Change V to lib-version.
5441
15d0da8c
WS
54422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5443
5444 [BZ #14252]
5445 * powerpc32/power6/wcschr.c: New file.
5446 * powerpc32/power6/wcscpy.c: New file.
5447 * powerpc32/power6/wcsrchr.c: New file.
5448 * powerpc64/power6/wcschr.c: New file.
5449 * powerpc64/power6/wcscpy.c: New file.
5450 * powerpc64/power6/wcsrchr.c: New file.
5451
bcca0895
MK
54522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5453
5454 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5455 (two_way_short_needle): Use it.
5a4aaa33
RM
5456 * string/strstr.c (AVAILABLE1_USES_J): Define.
5457 * string/strcasestr.c: Likewise.
99677e57
MK
5458
5459 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5460 array references.
5461 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5462
400726de
MK
5463 [BZ #11607]
5464 * NEWS: Add an entry.
5465 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5466 define their defaults.
5467 (two_way_short_needle): Detect end-of-string on-the-fly.
5468 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5469 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5470 * string/bug-strcasestr1.c: New test.
5471 * string/Makefile: Run it.
5472
20a71f2c
MK
54732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5474
5475 [BZ #11607]
5476 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5477 the first character.
5478
21ad0558
RM
54792012-08-21 Roland McGrath <roland@hack.frob.com>
5480
5481 * csu/elf-init.c (__libc_csu_irel): Function removed.
5482 * csu/libc-start.c (apply_irel): New function.
5483 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5484
0e1d9911
JM
54852012-08-21 Joseph Myers <joseph@codesourcery.com>
5486
5487 * sysdeps/unix/sysv/linux/kernel-features.h
5488 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5489 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5490 <kernel-features.h>.
5491 [__NR_fadvise64_64]: Make code unconditional.
5492 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5493 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5494 !__NR_fadvise64_64)]: Likewise.
5495 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5496 !__NR_fadvise64_64))]: Likewise.
5497 [__NR_fadvise64]: Make code unconditional.
5498 [!__NR_fadvise64]: Remove conditional code.
5499 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5500 <kernel-features.h>.
5501 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5502 unconditional.
5503 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5504 conditional code.
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5506 not include <kernel-features.h>.
5507 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5508 unconditional.
5509 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5510 conditional code.
5511 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5512 include <kernel-features.h>.
5513 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5514 unconditional.
5515 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5516 conditional code.
5517
14a50c9d
WS
55182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5519
5520 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5521 slight instruction rearrangements per scrollpipe analysis.
5522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5523
c0f4faf0
RM
55242012-08-20 Roland McGrath <roland@hack.frob.com>
5525
696da859
RM
5526 * manual/syslog.texi (syslog; vsyslog, closelog):
5527 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5528 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5529
c0f4faf0
RM
5530 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5531 DSOCAPS to match condition on defining it.
5532
348363b2
JM
55332012-08-20 Joseph Myers <joseph@codesourcery.com>
5534
a35cbf28
JM
5535 * sysdeps/unix/sysv/linux/kernel-features.h
5536 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5538 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5539 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5541 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5542 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5544 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5545 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5546
445f7ecd
JM
5547 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5548 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5549
348363b2
JM
5550 * sysdeps/unix/sysv/linux/kernel-features.h
5551 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5552 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5553 unconditional.
5554 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5555 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5556 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5557 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5558 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5559 Make code unconditional.
5560 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5561 (__mmap64) [!__NR_mmap2]: Likewise.
5562 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5563 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5564 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5565 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5566 [__NR_mmap2]: Make code unconditional.
5567 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5568 (__mmap64) [!__NR_mmap2]: Likewise.
5569
bc5bc0e5
AK
55702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5571
5572 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5573
88d506de
AJ
55742012-08-18 Andreas Jaeger <aj@suse.de>
5575
5576 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5577
493387d2
MF
55782012-08-18 Mike Frysinger <vapier@gentoo.org>
5579
5580 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5581 * include/unistd.h (__have_sock_cloexec): Likewise.
5582 (__have_pipe2): Likewise.
5583 (__have_dup3): Likewise.
5584
a277af22
MF
55852012-08-18 Mike Frysinger <vapier@gentoo.org>
5586
5587 [BZ #9685]
5588 * include/unistd.h (__have_pipe2): Change define into an extern int.
5589 (__have_dup3): Likewise.
5590 * socket/have_sock_cloexec.c: Include fcntl.h.
5591 (__have_pipe2): New variable.
5592 (__have_dup3): Likewise.
5593
fdab8fd3
MF
55942012-08-17 Mike Frysinger <vapier@gentoo.org>
5595
5596 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5597
31035e80
MP
55982012-08-17 Marek Polacek <polacek@redhat.com>
5599
5600 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5601 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5602
3bd9e993
RM
56032012-08-17 Roland McGrath <roland@hack.frob.com>
5604
c91c505f
RM
5605 * configure.in: Add AC_SUBST for sysheaders.
5606 * configure: Regenerated.
5607 * config.make.in (sysheaders): New substituted variable.
5608
7c6f9d53
RM
5609 * sysdeps/unix/mkfifo.c: Moved ...
5610 * sysdeps/posix/mkfifo.c: ... here.
5611 * sysdeps/unix/mkfifoat.c: Moved ...
5612 * sysdeps/posix/mkfifoat.c: ... here.
5613
5614 * sysdeps/unix/utime.c: Moved ...
5615 * sysdeps/posix/utime.c: ... here.
5616
5617 * sysdeps/unix/time.c: Moved ...
5618 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5619 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5620 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5621
5622 * sysdeps/unix/nice.c: Moved ...
5623 * sysdeps/posix/nice.c: ... here.
5624
5625 * sysdeps/unix/alarm.c: Moved ...
5626 * sysdeps/posix/alarm.c: ... here.
5627
3bd9e993
RM
5628 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5629
d1f09384
JL
56302012-08-17 Jeff Law <law@redhat.com>
5631
5632 * intl/Makefile (codeset_mo): New variable.
5633 ($(codeset_mo)): New target.
5634 (tst-codeset.out): Depend on that. Remove explicit rule.
5635 (tst-gettext3.out, tst-gettext5.out): Likewise.
5636 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5637 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5638 * intl/tst-codeset.sh: Remove.
5639 * intl/tst-gettext3.sh: Likewise.
5640 * intl/tst-gettext5.sh: Likewise.
5641
2ae1ae5c
RM
56422012-08-17 Roland McGrath <roland@hack.frob.com>
5643
c31fdb83
RM
5644 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5645 * sysdeps/unix/syscalls.list: ... here.
5646
a0844057
RM
5647 * sysdeps/posix/getaddrinfo.c
5648 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5649 (gaiconf_init, gaiconf_reload): Use them.
5650 [!_STATBUF_ST_NSEC]
5651 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5652 Define using time_t rather than struct timespec.
5653
750c1f2a
RM
5654 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5655 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5656 Macros removed.
5657 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5658 [!NO_THREADS].
5659 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5660 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5661 Likewise.
5662
2ae1ae5c
RM
5663 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5664 __libc_cleanup_push argument.
5665
e66a42f5
RM
5666 * bits/param.h: New file.
5667 * misc/sys/param.h: New file.
5668 * include/sys/param.h: New file.
5669 * misc/Makefile (headers): Add bits/param.h.
5670 * sysdeps/generic/sys/param.h: File removed.
5671 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5672 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5673 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5674 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5675
b7c08a66
RM
5676 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5677 last change.
5678
b2e1c562
RM
5679 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5680 [_IO_MTSAFE_IO].
5681 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5682 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5683 New macros.
5684
c75ccd4c
RM
5685 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5686 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5687 rather than -D_IO_MTSAFE_IO conditionally.
5688 * stdio-common/Makefile (CPPFLAGS): Likewise.
5689 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5690 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5691 Use $(libio-mtsafe).
5692 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5693 of -D_IO_MTSAFE_IO.
5694 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5695 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5696 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5697 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5698 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5699 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5700 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5701 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5702 (CFLAGS-fread_u_chk.c): Likewise.
5703 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5704 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5705 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5706 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5707 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5708 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5709 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5710 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5711 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5712
5713 * libio/Makefile: Test [$(libc-reentrant) = yes]
5714 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5715
5716 * Makeconfig
5717 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5718 * sysdeps/pthread/configure: File removed.
5719 * sysdeps/pthread/Makeconfig: New file.
5720 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5721 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5722
d9195db8
GB
57232012-08-16 Gary Benson <gbenson@redhat.com>
5724
5725 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5726 unmapping the first object in a namespace.
5727
86466cd9
RM
57282012-08-16 Roland McGrath <roland@hack.frob.com>
5729
5730 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5731 (__internal_setnetgrent): ... this. Add internal_function to
5732 definition. Add libc_hidden_def.
5733 (setnetgrent): Update caller.
5734 (internal_endnetgrent): Renamed to ...
5735 (__internal_endnetgrent): ... this. Add internal_function to
5736 definition. Add libc_hidden_def.
5737 (endnetgrent): Update caller.
5738 (internal_getnetgrent_r): Renamed to ...
5739 (__internal_getnetgrent_r): ... this. Add internal_function to
5740 definition. Add libc_hidden_def.
5741 (__getnetgrent_r): Update caller.
5742 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5743
c3c8283c
JM
57442012-08-16 Joseph Myers <joseph@codesourcery.com>
5745
5746 * stdlib/longlong.h: Update from GCC.
5747
db1ee0a8
RM
57482012-08-16 Roland McGrath <roland@hack.frob.com>
5749
5750 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5751 on _QL, which is set by umul_ppmm but never used.
5752 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5753 variables, which are set by GMP macros but never used.
5754 * stdio-common/_itowa.c (_itowa): Likewise.
5755 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5756 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5757
30f69637
CD
57582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5759
5760 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5761 struct La_sh_regs is not constant.
5762 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5763 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5764 and struct La_sparc64_regs are not constant.
5765
93a78ac4
JM
57662012-08-16 Joseph Myers <joseph@codesourcery.com>
5767
5768 * sysdeps/unix/sysv/linux/kernel-features.h
5769 (__ASSUME_POSIX_TIMERS): Remove.
5770 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5771 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5772 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5773 Make code unconditional.
5774 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5775 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5776 Make code unconditional.
5777 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5778 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5779 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5780 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5781 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5782 Make code unconditional.
5783 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5784 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5785 (__libc_missing_posix_timers): Remove.
5786
dd924cd7
RM
57872012-08-15 Roland McGrath <roland@hack.frob.com>
5788
4b4f2771
RM
5789 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5790 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5791
601c888b
RM
5792 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5793
176790a7
RM
5794 * elf/dl-sym.c: Include <stdlib.h>.
5795
329bc018
RM
5796 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5797 constants, which avoids warnings in 32-bit builds.
5798
e04e272d
RM
5799 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5800 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5801
952bf94a
RM
5802 * misc/lseek.c: File moved to ...
5803 * io/lseek.c: ... here.
5804
7c99b50a
RM
5805 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5806
dd924cd7
RM
5807 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5808 shifting LEN more than 31 bits at once.
5809
b3f479a8
LD
58102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5811
5812 [BZ #14195]
8c4ae0d4
RM
5813 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5814 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5815 * string/test-strncasecmp.c (check1): Renamed to...
5816 (bz12205): ...this.
5817 (bz14195): Add new testcase for two empty input strings and N > 0.
5818 (test_main): Call new testcase, adapt for renamed function.
5819
9c55864e
AJ
58202012-08-15 Andreas Jaeger <aj@suse.de>
5821
5822 [BZ #14090]
5823 * crypt/md5test2.c: New test, based on test supplied by Serge
5824 Belyshev <belyshev@depni.sinp.msu.ru>.
5825 * crypt/Makefile (xtests): Add md5test-giant..
5826 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5827
02dcb6c5
PE
58282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5829
5830 [BZ #14090]
5831 * crypt/md5.c (md5_process_block): Don't assume the buffer
5832 length is less than 2**32.
5833 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5834 length is less than 2**64.
5835
a3f95dcc
RM
58362012-08-15 Roland McGrath <roland@hack.frob.com>
5837
be75d758
RM
5838 * string/str-two-way.h: Include <sys/param.h>.
5839 (MAX): Macro removed.
5840
7312ca90
RM
5841 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5842 Move #define and #undef of memmove to just before and after
5843 including <string.h>.
5844
9a0a5486
RM
5845 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5846 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5847 and after including <string.h>. Move declarations of
5848 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5849 to before #include "string/memmove.c".
5850
67cc348d
RM
5851 * include/dirent.h: Declare __getdirentries.
5852
a3f95dcc
RM
5853 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5854 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5855
ca98e171
MF
58562012-08-14 Mike Frysinger <vapier@gentoo.org>
5857
5858 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5859 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5860 * sysdeps/i386/configure: Regenerated.
5861 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5862 STABS_CURRENT_FILE, and STABS_FUN.
5863 (END): Remove call to STABS_FUN_END.
5864 (STABS_CURRENT_FILE1): Delete.
5865 (STABS_CURRENT_FILE): Likewise.
5866 (STABS_FUN): Likewise.
5867 (STABS_FUN_END): Likewise.
5868 (STABS_FUN2): Likewise.
5869 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5870 * sysdeps/x86_64/configure: Regenerated.
5871
5908bf46
RM
58722012-08-14 Roland McGrath <roland@hack.frob.com>
5873
5874 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5875 * elf/dl-lookup.c: Likewise.
5908bf46 5876
f2c05b9e
JM
58772012-08-14 Joseph Myers <joseph@codesourcery.com>
5878
5879 * sysdeps/unix/sysv/linux/kernel-features.h
5880 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5881 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5882 unconditionally.
5883 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5884 unconditionally.
5885 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5886 condition on __ASSUME_CLONE_THREAD_FLAGS.
5887
e11f5155
AJ
58882012-08-14 Andreas Jaeger <aj@suse.de>
5889
5890 * sysdeps/i386/fpu/libm-test-ulps: Update.
5891
51a9ba86
MK
58922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5893
2fdd4f78
AJ
5894 * include/atomic.h (atomic_exchange_and_add): Split into ...
5895 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5896 New atomic macros.
51a9ba86 5897
ba6cba9e
MT
58982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5899
5900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5901
42443a47
JL
59022012-08-13 Jeff Law <law@redhat.com>
5903
5904 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5905 null byte in the output string.
5906
121dce05
JM
59072012-08-10 Joseph Myers <joseph@codesourcery.com>
5908
5909 * sysdeps/unix/sysv/linux/kernel-features.h
5910 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5911 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5912 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5914 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5915 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5916 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5917
bf51f568
JL
59182012-08-09 Jeff Law <law@redhat.com>
5919
5920 [BZ #13939]
5921 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5922 When avoid_arena is set, don't retry in the that arena. Pick the
5923 next one, whatever it might be.
5924 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5925 (arena_lock): Pass in new parameter to arena_get2.
5926 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5927 arena_get2.
5928 (__libc_malloc): Unify retrying after main arena failure with
5929 __libc_memalign version.
5930 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5931
f85fa270
L
59322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 [BZ #14166]
5935 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5936 to __redirect_strstr.
5937 (__strstr_sse42): Use typeof __redirect_strstr.
5938 (__strstr_ia32): Likewise.
5939 (__libc_strstr): New prototype.
5940 (strstr): Renamed to ...
5941 (__libc_strstr): This.
5942 (strstr): New strong alias of __libc_strstr.
5943 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5944 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5945 __redirect_time.
5946 Include <time.h>.
5947 (__libc_time): New prototype.
5948 (time_ifunc): Replace time with __libc_time.
5949 (time): New strong alias and hidden definition of __libc_time.
5950 (__GI_time): Remove strong alias.
5951 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5952 Include <stddef.h>.
5953 (memmove): Redefined to __redirect_memmove.
5954 (__memmove_sse2): Use typeof __redirect_memmove.
5955 (__memmove_ssse3): Likewise.
5956 (__memmove_ssse3_back): Likewise.
5957 (__libc_memmove): New prototype.
5958 (memmove): Renamed to ...
5959 (__libc_memmove): This.
5960 (memmove): New strong alias of __libc_memmove.
5961
33b4a91e
MS
59622012-08-08 Mark Salter <msalter@redhat.com>
5963
5964 * elf/elf.h
5965 (R_MN10300_TLS_GD): Define.
5966 (R_MN10300_TLS_LD): Likewise.
5967 (R_MN10300_TLS_LDO): Likewise.
5968 (R_MN10300_TLS_GOTIE): Likewise.
5969 (R_MN10300_TLS_IE): Likewise.
5970 (R_MN10300_TLS_LE): Likewise.
5971 (R_MN10300_TLS_DTPMOD): Likewise.
5972 (R_MN10300_TLS_DTPOFF): Likewise.
5973 (R_MN10300_TLS_TPOFF): Likewise.
5974 (R_MN10300_SYM_DIFF): Likewise.
5975 (R_MN10300_ALIGN): Likewise.
5976 (R_MN10300_NUM): Update.
5977
b36137f1
JM
59782012-08-08 Joseph Myers <joseph@codesourcery.com>
5979
5980 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5981 Remove.
5982
cdd915fd
RM
59832012-08-08 Roland McGrath <roland@hack.frob.com>
5984
a2433aac
RM
5985 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5986
cdd915fd
RM
5987 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5988 sysdeps/unix -> sysdeps/posix move.
5989 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5990
bf9b740a
AM
59912012-08-07 Allan McRae <allan@archlinux.org>
5992
5993 [BZ #14303]
5994 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5995 (SUNOS_CPP): Likewise.
5996 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5997 not found.
5998 (open_input): Call CPP using execvp.
5999
93df14ee
JM
60002012-08-07 Joseph Myers <joseph@codesourcery.com>
6001
6002 * sysdeps/unix/sysv/linux/kernel-features.h
6003 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6004 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6005 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6006 (__ASSUME_WAITID_SYSCALL): Likewise.
6007 * sysdeps/unix/sysv/linux/dl-execstack.c
6008 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6009 code unconditional.
6010 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6011 conditional code.
6012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6013 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6014 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6015 code.
6016 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6017 unconditional.
6018 [__ASSUME_WAITID_SYSCALL]: Likewise.
6019 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6020
d34689de
RM
60212012-08-07 Roland McGrath <roland@hack.frob.com>
6022
a281decc
RM
6023 * sysdeps/unix/closedir.c: Renamed to ...
6024 * sysdeps/posix/closedir.c: ... here.
6025 * sysdeps/unix/dirfd.c: Renamed to ...
6026 * sysdeps/posix/dirfd.c: ... here.
6027 * sysdeps/unix/dirstream.h: Renamed to ...
6028 * sysdeps/posix/dirstream.h: ... here.
6029 * sysdeps/unix/fdopendir.c: Renamed to ...
6030 * sysdeps/posix/fdopendir.c: ... here.
6031 * sysdeps/unix/opendir.c: Renamed to ...
6032 * sysdeps/posix/opendir.c: ... here.
6033 * sysdeps/unix/readdir.c: Renamed to ...
6034 * sysdeps/posix/readdir.c: ... here.
6035 * sysdeps/unix/readdir_r.c: Renamed to ...
6036 * sysdeps/posix/readdir_r.c: ... here.
6037 * sysdeps/unix/rewinddir.c: Renamed to ...
6038 * sysdeps/posix/rewinddir.c: ... here.
6039 * sysdeps/unix/seekdir.c: Renamed to ...
6040 * sysdeps/posix/seekdir.c: ... here.
6041 * sysdeps/unix/telldir.c: Renamed to ...
6042 * sysdeps/posix/telldir.c: ... here.
6043 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6044 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6045 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6046 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6047
22895b47
RM
6048 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6049 * bits/fcntl.h: ... here.
6050
707a53b6
RM
6051 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6052 not 0.
6053 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6054 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6055 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6056 (struct flock): Move l_start, l_len to the beginning.
6057 Use __pid_t for l_pid.
6058 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6059 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6060 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6061 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6062 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6063 [__USE_LARGEFILE64] (struct flock64): New type.
6064 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6065
f0bd3e25
RM
6066 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6067 * bits/dirent.h: ... here.
6068
d34689de
RM
6069 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6070 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6071
6dad2c06
JM
60722012-08-07 Joseph Myers <joseph@codesourcery.com>
6073
6074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6075 Change from 2.6.0 to 2.6.16.
6076 * sysdeps/unix/sysv/linux/configure: Regenerated.
6077 * sysdeps/unix/sysv/linux/kernel-features.h
6078 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6079 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6080 version.
6081 (__ASSUME_UTIMES): Likewise.
6082 (__ASSUME_CLONE_STOPPED): Remove.
6083 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6084 architectures, not kernel version.
6085 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6086 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6087 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6088 (__ASSUME_WAITID_SYSCALL): Likewise.
6089 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6090 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6091 * README: State 2.6.16 as minimum Linux kernel version. Do not
6092 refer to older versions.
6093
03af9520
RM
60942012-08-06 Roland McGrath <roland@hack.frob.com>
6095
8e49df1d
RM
6096 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6097 Define alphasort64 as an alias.
6098 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6099 Define versionsort64 as an alias.
6100 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6101 Define scandir64 as an alias.
6102 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6103 Define scandirat64 as an alias.
6104 * dirent/alphasort64.c (alphasort64):
6105 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6106 * dirent/versionsort64.c: Likewise.
6107 * dirent/scandir64.c: Likewise.
6108 * dirent/scandirat64.c: Likewise.
6109 * sysdeps/wordsize-64/alphasort.c: File removed.
6110 * sysdeps/wordsize-64/alphasort64.c: File removed.
6111 * sysdeps/wordsize-64/scandir.c: File removed.
6112 * sysdeps/wordsize-64/scandir64.c: File removed.
6113 * sysdeps/wordsize-64/scandirat.c: File removed.
6114 * sysdeps/wordsize-64/scandirat64.c: File removed.
6115 * sysdeps/wordsize-64/versionsort.c: File removed.
6116 * sysdeps/wordsize-64/versionsort64.c: File removed.
6117 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6119 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6120 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6121 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6122 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6124 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6125
6126 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6128 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6130 [defined __arch64__ || defined __sparcv9]
6131 (__INO_T_MATCHES_INO64_T): New macro.
6132 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6133 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6134 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6135 * sysdeps/unix/sysv/linux/bits/dirent.h
6136 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6137 (_DIRENT_MATCHES_DIRENT64): New macro.
6138
03af9520
RM
6139 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6140 Define lockf64 as an alias.
6141 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6142 Define fseeko64 as an alias.
6143 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6144 Define ftello64 as an alias.
6145 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6146 Define _IO_fgetpos64 and fgetpos64 as aliases.
6147 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6148 Define _IO_fsetpos64 and fsetpos64 as aliases.
6149 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6150 Conditionalize body on this.
6151 * libio/fseeko64.c: Likewise.
6152 * libio/ftello64.c: Likewise.
6153 * libio/iofgetpos64.c: Likewise.
6154 * libio/iofsetpos64.c: Likewise.
6155 * sysdeps/wordsize-64/lockf.c: File removed.
6156 * sysdeps/wordsize-64/lockf64.c: File removed.
6157 * sysdeps/wordsize-64/fseeko.c: File removed.
6158 * sysdeps/wordsize-64/fseeko64.c: File removed.
6159 * sysdeps/wordsize-64/ftello.c: File removed.
6160 * sysdeps/wordsize-64/ftello64.c: File removed.
6161 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6162 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6163 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6164 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6165 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6166 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6168 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6169 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6170 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6172 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6175
6176 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6178 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6180 [defined __arch64__ || defined __sparcv9]
6181 (__OFF_T_MATCHES_OFF64_T): New macro.
6182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6183 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6185 (__OFF_T_MATCHES_OFF64_T): New macro.
6186
c5757acd
L
61872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 * stdlib/secure-getenv.c (__secure_getenv): Replace
6190 GLIBC_2_16 with GLIBC_2_17.
6191
3a31811e
L
61922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6193
6194 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6195 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6196
faa2bccb
DM
61972012-08-03 David S. Miller <davem@davemloft.net>
6198
6199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6200
85fe1997
JM
62012012-08-03 Joseph Myers <joseph@codesourcery.com>
6202
6203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6204 Remove.
6205 (__ASSUME_CORRECT_SI_PID): Likewise.
6206 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6207 (__ASSUME_TMPFS_NAME): Likewise.
6208 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6209 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6210 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6211 (HAVE_AUX_SECURE): Make definition unconditional.
6212 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6213 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6214
4f75b7a0
RM
62152012-08-03 Roland McGrath <roland@hack.frob.com>
6216
6217 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6218 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6219 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6221 __eloop_threshold instead of SYMLOOP_MAX.
6222
6223 * sysdeps/generic/eloop-threshold.h: New file.
6224 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6225 of MAXSYMLINKS.
6226 * elf/chroot_canon.c (chroot_canon): Likewise.
6227
7aab07e4
JM
62282012-08-03 Joseph Myers <joseph@codesourcery.com>
6229
6230 [BZ #13717]
6231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6232 Change to 2.6.0 everywhere.
6233 * sysdeps/unix/sysv/linux/configure: Regenerated.
6234 * sysdeps/unix/sysv/linux/kernel-features.h
6235 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6236 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6237 kernel versions.
6238 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6239 (__ASSUME_FUTEX_REQUEUE): Remove.
6240 (__ASSUME_STATFS64): Define unconditionally.
6241 (__ASSUME_AT_SECURE): Likewise.
6242 (__ASSUME_CORRECT_SI_PID): Likewise.
6243 (__ASSUME_TGKILL): Define without depending on kernel version for
6244 i386.
6245 (__ASSUME_UTIMES): Likewise.
6246 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6247 kernel version.
6248 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6249 (__ASSUME_TMPFS_NAME): Likewise.
6250 * README: Update reference to Linux kernel versions.
6251
b67e9372
MP
62522012-08-02 Marek Polacek <polacek@redhat.com>
6253
1f529f7d 6254 [BZ# 14150]
b67e9372
MP
6255 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6256 libc_cv_asm_type_prefix with %.
6257 * configure: Regenerated.
d2441631
RM
6258 * include/libc-symbols.h: Remove comment about
6259 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6260 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6261 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6262 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6263 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6264 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6265 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6266 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6267 * elf/tst-unique2mod1.c: Likewise.
6268 * elf/tst-unique1mod2.c: Likewise.
6269 * elf/tst-unique1mod1.c: Likewise.
6270 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6271 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6272 Replace ASM_TYPE_DIRECTIVE with .type.
6273 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6274 * sysdeps/i386/sysdep.h: Likewise.
6275 * sysdeps/x86_64/sysdep.h: Likewise.
6276 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6278 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6279 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6280 * sysdeps/powerpc/powerpc32/sysdep.h:
6281 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6282 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6283 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6284 * sysdeps/i386/fpu/e_powf.S: Likewise.
6285 * sysdeps/i386/fpu/e_expl.S: Likewise.
6286 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6287 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6288 * sysdeps/i386/fpu/e_pow.S: Likewise.
6289 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6290 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6291 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6292 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6293 * sysdeps/i386/fpu/e_log2.S: Likewise.
6294 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6295 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6296 * sysdeps/i386/fpu/e_powl.S: Likewise.
6297 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6298 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6299 * sysdeps/i386/fpu/e_logl.S: Likewise.
6300 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6301 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6302 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6303 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6304 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6305 * sysdeps/i386/fpu/e_log.S: Likewise.
6306 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6307 * sysdeps/i386/fpu/e_logf.S: Likewise.
6308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6310 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6311 * sysdeps/i386/fpu/e_log10.S: Likewise.
6312 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6313 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6314 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6315 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6316 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6318 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6319 * sysdeps/i386/i686/strtok.S: Likewise.
6320 * sysdeps/i386/i386-mcount.S: Likewise.
6321 * sysdeps/i386/strtok.S: Likewise.
6322 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6323 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6325 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6326 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6327 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6328 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6329 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6331 * sysdeps/x86_64/_mcount.S: Likewise.
6332 * sysdeps/x86_64/strtok.S: Likewise.
6333 * sysdeps/sh/_mcount.S: Likewise.
6334
2747bf9a
RM
63352012-08-01 Roland McGrath <roland@hack.frob.com>
6336
6337 * libio/iofopen.c: Include <fcntl.h>.
6338 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6339 (_IO_fopen64, fopen64): Define as aliases.
6340 * libio/iofopen64.c: Include <fcntl.h>.
6341 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6342 Conditionalize body on this.
6343 * sysdeps/wordsize-64/iofopen.c: File removed.
6344 * sysdeps/wordsize-64/iofopen64.c: File removed.
6345
3fb791b8
MP
63462012-08-01 Marek Polacek <polacek@redhat.com>
6347
6348 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6349 Use dlfcn directly instead of a variable.
6350 (binfmt-subdir): Do not define.
6351 (dlfcn): Likewise.
6352
a9f1039f
JM
63532012-08-01 Joseph Myers <joseph@codesourcery.com>
6354
23bddc06
JM
6355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6356 Remove all definitions.
6357 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6358 <kernel-features.h>.
6359 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6360 (miss_F_GETOWN_EX): Remove all definitions.
6361 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6362 macro definition.
6363 [!__ASSUME_FCNTL64]: Remove conditional code.
6364 [__ASSUME_FCNTL64]: Make code unconditional.
6365 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6366 <kernel-features.h>.
6367 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6368 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6369 (lockf64) [__NR_fcntl64]: Make code unconditional.
6370 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6371
a9f1039f
JM
6372 * sysdeps/unix/sysv/linux/kernel-features.h
6373 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6374 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6375 Make code unconditional.
6376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6379 [__NR_vfork]: Make code unconditional.
6380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6383 [__NR_vfork]: Make code unconditional.
6384 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6385 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6386
09c0ee5f
RM
63872012-08-01 Roland McGrath <roland@hack.frob.com>
6388
48aec5b9
RM
6389 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6390 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6391
cd97c966
RM
6392 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6393 Define mkstemp64 as an alias.
3f55550c
RM
6394 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6395 Define mkstemps64 as an alias.
cd97c966
RM
6396 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6397 Define mkostemp64 as an alias.
b8625cfc
RM
6398 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6399 Define mkostemps64 as an alias.
cd97c966
RM
6400 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6401 Conditionalize body on this.
6402 * misc/mkostemp64.c: Likewise.
b8625cfc 6403 * misc/mkostemps64.c: Likewise.
3f55550c 6404 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6405 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6406 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6407 * sysdeps/wordsize-64/mkostemp.c: File removed.
6408 * sysdeps/wordsize-64/mkstemp.c: File removed.
6409 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6410 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6411 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6412 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6413
09c0ee5f
RM
6414 [BZ #14138]
6415 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6416 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6417 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6418 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6419
6420 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6421 compat_symbol macros from <shlib-compat.h> rather than the underlying
6422 default_symbol_version and symbol_version macros, so that DEFAULT
6423 lines in shlib-versions are respected.
6424 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6425
7e66ee51
FW
64262012-08-01 Florian Weimer <fweimer@redhat.com>
6427
6428 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6429 Declare with warn_unused_result.
6430 (setgid, setregid, setegid, setresgid): Likewise.
6431 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6432 Likewise.
6433 * WUR-REPORT: Remove set*id functions.
6434
d2a54255
PT
64352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6436
6437 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6438
7ecdb005
RM
64392012-07-31 Roland McGrath <roland@hack.frob.com>
6440
789bd351
RM
6441 * include/sys/socket.h (__libc_accept, __libc_accept4):
6442 Add attribute_hidden.
6443 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6444
40ce302d
RM
6445 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6446 use of PTR_MANGLE.
6447 * inet/getnetgrent_r.c (setup): Likewise.
6448
7ecdb005
RM
6449 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6450
e2eabb2c
DM
64512012-07-31 David S. Miller <davem@davemloft.net>
6452
6453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6454
d0419dbf
JM
64552012-07-31 Joseph Myers <joseph@codesourcery.com>
6456
6457 [BZ #13629]
6458 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6459 value between 1.0 and 2.0 and smaller part has absolute value less
6460 than 1.0.
6461 * math/s_clog10.c (__clog10): Likewise.
6462 * math/s_clog10f.c (__clog10f): Likewise.
6463 * math/s_clog10l.c (__clog10l): Likewise.
6464 * math/s_clogf.c (__clogf): Likewise.
6465 * math/s_clogl.c (__clogl): Likewise.
6466 * math/libm-test.inc (clog_test): Add more tests.
6467 (clog10_test): Likewise.
6468 * sysdeps/i386/fpu/libm-test-ulps: Update.
6469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6470
2bc13872
FW
64712012-07-31 Florian Weimer <fweimer@redhat.com>
6472
6473 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6474 Exit with zero in case no suitable GID is found, and write a
6475 message to standard error.
6476
bea9b193
RM
64772012-07-30 Roland McGrath <roland@hack.frob.com>
6478
6479 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6480 rather than to 1.
6481 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6482 (MAXPATHLEN): Removed.
6483 (NOGROUP, NODEV): New macros.
6484 (setbit, clrbit, isset, isclr): New macros.
6485 (howmany, roundup, powerof2): New macros.
6486 (DEV_BSIZE): New macro.
6487
6488 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6489 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6490
6491 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6492 definition on [!__NO_LONG_DOUBLE_MATH].
6493
6494 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6495 PTR_MANGLE and PTR_DEMANGLE.
6496
6497 * socket/accept4.c (accept4): Rename to __libc_accept4.
6498 Define accept4 as a weak alias.
6499
6500 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6501 on [_DIRENT_HAVE_D_TYPE].
6502 * io/ftw.c (ftw_dir): Likewise.
6503
6504 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6505
6506 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6507
6508 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6509 Use the BSD numbers rather than the arbitrary ones we had.
6510 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6511 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6512 (SIGXCPU, SIGXFSZ): New macros.
6513 (_NSIG): Now 32.
6514
6515 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6516 initializer on [_LIBC_REENTRANT].
6517
6518 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6519 definitions inside [_POSIX_MAPPED_FILES].
6520
6521 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6522
6523 * dirent/opendir.c: Include <fcntl.h>.
6524
6525 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6526 (__libc_getspecific): Likewise.
6527 (__libc_key_create): Likewise.
6528
6529 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6530 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6531 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6532 (tmpfile64): Define as alias.
6533 * sysdeps/wordsize-64/tmpfile.c: File removed.
6534 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6535 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6537
6538 * stdio-common/vfscanf.c: Include <stdbool.h>.
6539 * nss/makedb.c: Likewise.
6540 * stdio-common/_i18n_number.h: Likewise.
6541 * argp/argp-help.c: Likewise.
6542 * posix/wordexp.c: Likewise.
6543 * sysdeps/posix/spawni.c: Likewise.
6544 * nss/nss_files/files-initgroups.c: Likewise.
6545 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6546 * nss/nss_files/files-initgroups.c: Likewise.
6547 * nss/nss_db/db-netgrp.c: Likewise.
6548 * nss/nss_db/db-initgroups.c: Likewise.
6549 * io/fchmodat.c: Include <sys/stat.h>.
6550
6551 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6552 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6553
6554 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6555 [HAVE_MMAP].
6556
6557 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6558 Add multiple inclusion protection.
6559
e5abc686
DM
65602012-07-27 David S. Miller <davem@davemloft.net>
6561
6562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6563
815e6fa3
GB
65642012-07-27 Gary Benson <gbenson@redhat.com>
6565
6566 [BZ #14298]
6567 * elf/rtld.c: Include <stap-probe.h>.
6568 (dl_main): Added static probes "init_start" and "init_complete".
6569 * elf/dl-load.c: Include <stap-probe.h>.
6570 (lose): Take new parameter "nsid".
6571 Added static probe "map_failed".
6572 (_dl_map_object_from_fd): Pass namespace id to lose.
6573 Added static probe "map_start".
6574 (open_verify): Pass namespace id to lose.
6575 * elf/dl-open.c: Include <stap-probe.h>.
6576 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6577 and "reloc_complete".
6578 * elf/dl-close.c: Include <stap-probe.h>.
6579 (_dl_close_worker): Added static probes "unmap_start" and
6580 "unmap_complete".
6581 * elf/rtld-debugger-interface.txt: New file documenting the above.
6582
9f98c16c
RM
65832012-07-26 Roland McGrath <roland@hack.frob.com>
6584
6585 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6586 rather than a string variable.
6587 * sunrpc/rpc_main.c (h_output): Likewise.
6588 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6589
f3c22df3
PT
65902012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6591
6592 * inet/check_native.c: New file.
6593
3129cfc6
JM
65942012-07-26 Joseph Myers <joseph@codesourcery.com>
6595
da865e95
JM
6596 [BZ #13629]
6597 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6598 if larger part has absolute value 1.0.
6599 * math/s_clog10.c (__clog10): Likewise.
6600 * math/s_clog10f.c (__clog10f): Likewise.
6601 * math/s_clog10l.c (__clog10l): Likewise.
6602 * math/s_clogf.c (__clogf): Likewise.
6603 * math/s_clogl.c (__clogl): Likewise.
6604 * math/libm-test.inc (clog_test): Add more tests.
6605 (clog10_test): Likewise.
6606 * sysdeps/i386/fpu/libm-test-ulps: Update.
6607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6608
3129cfc6
JM
6609 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6610 (pltexit): Likewise.
6611 (La_regs): Likewise.
6612 (La_retval): Likewise.
6613 (int_retval): Likewise.
6614 Update #error for removed macros to refer only to definitions in
6615 tst-audit.h.
6616 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6617 macro.
6618 (pltexit): Likewise.
6619 (La_regs): Likewise.
6620 (La_retval): Likewise.
6621 (int_retval): Likewise.
6622 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6623 macro.
6624 (pltexit): Likewise.
6625 (La_regs): Likewise.
6626 (La_retval): Likewise.
6627 (int_retval): Likewise.
6628 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6629 macro.
6630 (pltexit): Likewise.
6631 (La_regs): Likewise.
6632 (La_retval): Likewise.
6633 (int_retval): Likewise.
6634 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6635 macro.
6636 (pltexit): Likewise.
6637 (La_regs): Likewise.
6638 (La_retval): Likewise.
6639 (int_retval): Likewise.
6640 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6641 macro.
6642 (pltexit): Likewise.
6643 (La_regs): Likewise.
6644 (La_retval): Likewise.
6645 (int_retval): Likewise.
6646 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6647 macro.
6648 (pltexit): Likewise.
6649 (La_regs): Likewise.
6650 (La_retval): Likewise.
6651 (int_retval): Likewise.
6652 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6653 macro definitions in tst-audit.h.
6654 * sysdeps/i386/tst-audit.h: New file.
6655 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6656 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6657 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6658 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6659 * sysdeps/sh/tst-audit.h: Likewise.
6660 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6661 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6662 * sysdeps/x86_64/tst-audit.h: Likewise.
6663
bfc07087
AJ
66642012-07-26 Andreas Jaeger <aj@suse.de>
6665
b1b2aaf8
AJ
6666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6667 ptrace.
6668
6669 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6670 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6671 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6672 PTRACE_O_MASK.
6673 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6674 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6676
bfc07087
AJ
6677 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6678 value.
6679
6680 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6681 _sigsys.
6682 (si_call_addr, si_syscall, si_arch): Define new macro.
6683 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6684 _sigsys.
6685 (si_call_addr, si_syscall, si_arch): Define new marcro.
6686 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6687 _sigsys.
6688 (si_call_addr, si_syscall, si_arch): Define new macro.
6689 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6690 _sigsys.
6691 (si_call_addr, si_syscall, si_arch): Define new macro.
6692
89b4b02f
JM
66932012-07-25 Joseph Myers <joseph@codesourcery.com>
6694
6695 [BZ #13717]
6696 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6697 Change to 2.4.21 where previously 2.4.1.
6698 * sysdeps/unix/sysv/linux/configure: Regenerated.
6699 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6700 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6701 Linux kernel version.
6702 (__ASSUME_STD_AUXV): Remove.
6703 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6704 kernel version.
6705 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6706 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6707 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6708 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6709 (__ASSUME_NETLINK_SUPPORT): Likewise.
6710 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6711 (__no_netlink_support): Remove conditional definition.
6712 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6713 Remove.
6714 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6715 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6716 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6717 (if_nameindex_ioctl): Remove.
6718 (if_nameindex_netlink): Do not handle __no_netlink_support.
6719 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6720 code.
6721 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6722 Remove conditional code.
6723 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6724 code.
6725 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6726 unconditional.
6727 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6728 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6729 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6730 Remove.
6731 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6732 [!__ASSUME_STD_AUXV]: Remove conditional code.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6734 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6735 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6737 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6738 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6739 code.
6740 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6742 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6743 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6744 conditional code.
6745 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6747 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6748 code.
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6750 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6751 conditional code.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6753 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6754 code unconditional.
6755 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6756 conditional code.
6757 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6758 unconditional.
6759 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6760 conditional code.
6761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6762 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6763 unconditional.
6764 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6765 conditional code.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6767 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6768 code unconditional.
6769 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6770 conditional code.
6771 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6772 unconditional.
6773 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6774 conditional code.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6776 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6777 code unconditional.
6778 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6779 conditional code.
6780 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6781 unconditional.
6782 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6783 conditional code.
6784
842a39cd
AS
67852012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6786
6787 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6788 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6789 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6790 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6791 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6792 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6793 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6794 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6795 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6796 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6797 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6798 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6799 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6800 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6801 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6802 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6803 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6805 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6807 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6808 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6809 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6810
84b3fd84
FW
68112012-07-25 Florian Weimer <fweimer@redhat.com>
6812
6813 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6814 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6815 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6816 Introduce __libc_secure_getenv.
0c7936d5
FW
6817 * stdlib/Versions (2.17): Add secure_getenv
6818 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6819 * stdlib/secure-getenv.c: Rename __secure_getenv to
6820 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6821 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6822 * stdlib/tst-secure-getenv.c: New.
6823 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6824 * manual/startup.texi (Environment Access): Document
6825 secure_getenv.
84b3fd84
FW
6826 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6827 __libc_secure_getenv.
6828 * inet/ruserpass.c (ruserpass): Likewise.
6829 * malloc/mtrace.c (mtrace): Likewise.
6830 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6831 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6832 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6833 * sysdeps/posix/tempname.c: Likewise. Evaluate
6834 HAVE_SECURE_GETENV.
6835 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6836 __secure_getenv to __libc_secure_getenv.
84b3fd84 6837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6839 Likewise.
6840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6841 Likewise.
6842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6849
56e49b71
JM
68502012-07-25 Joseph Myers <joseph@codesourcery.com>
6851
6852 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6853 (struct La_i86_retval): Likewise.
6854 (struct La_x86_64_regs): Likewise.
6855 (struct La_x86_64_retval): Likewise.
6856 (struct La_x32_regs): Likewise.
6857 (struct La_x32_retval): Likewise.
6858 (struct La_ppc32_regs): Likewise.
6859 (struct La_ppc32_retval): Likewise.
6860 (struct La_ppc64_regs): Likewise.
6861 (struct La_ppc64_retval): Likewise.
6862 (struct La_sh_regs): Likewise.
6863 (struct La_sh_retval): Likewise.
6864 (struct La_s390_32_regs): Likewise.
6865 (struct La_s390_32_retval): Likewise.
6866 (struct La_s390_64_regs): Likewise.
6867 (struct La_s390_64_retval): Likewise.
6868 (struct La_sparc32_regs): Likewise.
6869 (struct La_sparc32_retval): Likewise.
6870 (struct La_sparc64_regs): Likewise.
6871 (struct La_sparc64_retval): Likewise.
6872 (struct audit_ifaces): Remove architecture-specific pltenter and
6873 pltexit members.
6874 * sysdeps/i386/ldsodefs.h: New file.
6875 * sysdeps/powerpc/ldsodefs.h: Likewise.
6876 * sysdeps/s390/ldsodefs.h: Likewise.
6877 * sysdeps/sh/ldsodefs.h: Likewise.
6878 * sysdeps/sparc/ldsodefs.h: Likewise.
6879 * sysdeps/x86_64/ldsodefs.h: Likewise.
6880
354691b7
MP
68812012-07-25 Marek Polacek <polacek@redhat.com>
6882
6883 [BZ #6808]
6884 * math/libm-test.inc (yn_test): Add another test.
6885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6886 to ERANGE when the result is +-Inf.
6887 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6888 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6890 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6891
bf9e2071
JM
68922012-07-24 Joseph Myers <joseph@codesourcery.com>
6893
6894 * conform/data/time.h-data (NULL): Use macro-constant. Require
6895 equal to 0.
6896 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6897 clock_t.
6898 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6899
57633811
TS
69002012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6901
6902 * configure.in <sysdeps resolving>: Correct printing
6903 Implies_before.
6904 * configure: Regenerate.
6905
c23c33b0
TS
69062012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6907
6908 * math/w_ilogb.c: Include <limits.h>.
6909 * math/w_ilogbl.c: Likewise.
6910
b5982523
JM
69112012-07-20 Joseph Myers <joseph@codesourcery.com>
6912
6913 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6914 va_copy. Document allowing for unavailable va_copy only as
6915 pre-C99 compatibility.
6916 * manual/string.texi (Copying and Concatenation): Use va_copy
6917 instead of __va_copy in concat example.
6918
ac4ea442
PT
69192012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6920
6921 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6922 (__sendto): Use create_address_port. Initialize APORT and deallocate
6923 it if not null.
6924
f98eafbd
PT
6925 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6926 with O_NOLINK passed to __file_name_lookup.
6927
898c7aab
PT
6928 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6929 with O_NOLINK passed to __file_name_lookup.
6930
0ced335a
PT
6931 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6932 negative N or less than NGIDS.
6933
b3404dbd
PT
6934 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6935 type to string_t. Set ERANGE as errno and return it if NAME is not big
6936 enough. Use memcpy instead of strncpy.
6937
0f48659e
JM
69382012-07-20 Joseph Myers <joseph@codesourcery.com>
6939
6940 * elf/Makefile (check-data): Remove.
6941 (localplt.data): New vpath directive.
6942 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6943 instead of $(check-data).
6944 * scripts/data/localplt-generic.data: Move to ...
6945 * sysdeps/generic/localplt.data: ... here.
6946 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6947 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6948 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6950 ... here.
6951 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6953 ... here.
6954 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6956 ... here.
6957 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6959 ... here.
6960 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6962 ... here.
6963 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6965 ... here.
6966
d37cbdaa
AZ
69672012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6968
6969 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6970 PPC32 and PPC64 files.
6971 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6972 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6973
46f85fc2
AK
69742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6975
6976 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6977 __makecontext_ret to ...
6978 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6979 ... here and call exit if uc_link is NULL. New file.
6980 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6981 __makecontext_ret.S.
6982 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6983 __makecontext_ret to ...
6984 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6985 ... here and call exit if uc_link is NULL. New file.
6986 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6987 __makecontext_ret.S.
6988
08f43f9b
AK
69892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6990
6991 * elf/elf.h (R_390_IRELATIVE): New definition.
6992 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6993 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6994 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6995 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6996 (elf_machine_lazy_rel): Likewise.
6997 * sysdeps/s390/dl-irel.h: New file.
6998 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6999 * sysdeps/s390/s390-64/memset.S: New asm code.
7000 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7001 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7003 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7004 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7005 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7007 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7008 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7009 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7010 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7011 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7012 * sysdeps/s390/s390-32/memset.S: New asm code.
7013 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7014
3b05db33
MP
70152012-07-17 Marek Polacek <polacek@redhat.com>
7016
7017 [BZ #14349]
7018 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7019 * sysdeps/s390/s390-64/configure.in: Likewise.
7020 * sysdeps/sparc/configure.in: Likewise.
7021 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7022 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7023 * sysdeps/i386/configure.in: Likewise.
7024 * sysdeps/x86_64/configure.in: Likewise.
7025 * sysdeps/sh/configure.in: Likewise.
7026 * sysdeps/s390/s390-32/configure: Regenerated.
7027 * sysdeps/s390/s390-64/configure: Likewise.
7028 * sysdeps/x86_64/configure: Likewise.
7029 * sysdeps/sh/configure: Likewise.
7030 * sysdeps/powerpc/powerpc64/configure: Likewise.
7031 * sysdeps/powerpc/powerpc32/configure: Likewise.
7032 * sysdeps/sparc/configure: Likwise.
7033 * sysdeps/i386/configure: Likewise.
7034
a66877c6
MP
7035 * elf/dl-open.c: Comment fixes.
7036
cfc82fd8
JM
70372012-07-17 Joseph Myers <joseph@codesourcery.com>
7038
bd29910a
JM
7039 * Makefile [CXX] (check-data): Remove.
7040 [CXX] (c++-types.data): New vpath directive.
7041 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7042 vpath. Do not allow for C++ type data being missing.
7043 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7044 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7045 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7046 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7047 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7048 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7049 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7051 ... here.
7052 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7054 ... here.
7055 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7057 ... here.
7058 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7060 ... here.
7061 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7063 ... here.
7064 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7066 ... here.
7067 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7069 ... here.
7070 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7072
cfc82fd8
JM
7073 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7074 definitions to architecture-specific files.
7075 (TLS_IE): Likewise.
7076 (TLS_LD): Likewise.
7077 (TLS_GD): Likewise.
7078 * sysdeps/i386/tls-macros.h: New file.
7079 * sysdeps/powerpc/tls-macros.h: Likewise.
7080 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7081 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7082 * sysdeps/sh/tls-macros.h: Likewise.
7083 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7084 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7085 * sysdeps/x86_64/tls-macros.h: Likewise.
7086
f7db3170
TS
70872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7088
07cbfc23
TS
7089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7090 zero value for regular exit case.
7091
f7db3170
TS
7092 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7093 (__start_context): Preserve zero value for regular exit case.
7094
dc97c227
TS
70952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7096 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7097
7098 * manual/setjmp.texi (setcontext): Clarify normal process
7099 termination when uc_link is the null pointer.
7100 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7101 exit call.
7102
d0cd7d02
AS
71032012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7104
7105 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7106 preprocessor. Test for each exception mask separately.
7107
dd318934
AJ
71082012-07-16 Andreas Jaeger <aj@suse.de>
7109
7110 * po/ru.po: Update from translation team.
7111
8048311a
JM
71122012-07-15 Joseph Myers <joseph@codesourcery.com>
7113
7114 * conform/data/string.h-data (NULL): Use macro-constant. Require
7115 equal to 0.
7116 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7118 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7119 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7121
b637d46e
AJ
71222012-07-13 Andreas Jaeger <aj@suse.de>
7123
7124 * po/fr.po: Update from translation team.
7125
541428fe
MP
71262012-07-12 Marek Polacek <polacek@redhat.com>
7127
7128 [BZ #14173]
7129 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7131 loop condition.
7132
ec332e94
JM
71332012-07-12 Joseph Myers <joseph@codesourcery.com>
7134
7135 [BZ #13717]
7136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7137 Change to 2.4.1 where previously 2.4.0.
7138 * sysdeps/unix/sysv/linux/configure: Regenerated.
7139 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7140 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7141 version.
7142 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7143 (__ASSUME_AT_CLKTCK): Remove.
7144 (__ASSUME_AT_PAGESIZE): Likewise.
7145 (__ASSUME_AT_XID): Likewise.
7146 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7147 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7148 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7149 unconditionally.
7150 (HAVE_AUX_PAGESIZE): Likewise.
7151 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7152 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7153 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7154
7b6e99be
JB
71552012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7156
7157 [BZ #14307]
7158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7159 the temporary buffer used to invoke __gethostbyname2_r,
7160 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7161 host_data / struct gaih_addrtuple.
7162 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7163 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7164 header file nss/nsswitch.h.
7165 * nss/nsswitch.h (global scope): Add definition of implementation
7166 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7167 resolv/nss_dns/dns-host.c).
7168
608404eb
AJ
71692012-07-11 Andreas Jaeger <aj@suse.de>
7170
7171 * po/fr.po: Update from translation team.
7172
71220aca
AJ
7173 * po/sv.po: Update from translation team
7174 * po/fr.po: Another update from translation team.
7175
28cfe843
AZ
71762012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7177
7178 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7179 for subnormals or multiply small sinh result by itself.
7180 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7182
6b90f981
DM
71832012-07-11 David S. Miller <davem@davemloft.net>
7184
7185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7186
c6825772
AS
71872012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7188
7189 [BZ #14347]
7190 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7191 (INTERNAL_MARK): Shift it here.
7192
7b8e0d49
MP
71932012-07-10 Marek Polacek <polacek@redhat.com>
7194
7195 [BZ #14151]
7196 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7197 libc_cv_asm_global_directive with .globl.
7198 * configure: Regenerated.
7199 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7200 with .globl.
7201 * sysdeps/i386/configure: Regenerated.
7202 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7203 with .globl.
7204 * sysdeps/x86_64/configure: Regenerated.
7205 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7206 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7207 * elf/tst-unique2mod2.c: Likewise.
7208 * elf/tst-unique2mod1.c: Likewise.
7209 * elf/tst-unique1mod2.c: Likewise.
7210 * elf/tst-unique1mod1.c: Likewise.
7211 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7212 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7214 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7215 * sysdeps/mach/sysdep.h: Likewise.
7216 * sysdeps/i386/sysdep.h: Likewise.
7217 * sysdeps/i386/i386-mcount.S: Likewise.
7218 * sysdeps/x86_64/_mcount.S: Likewise.
7219 * sysdeps/x86_64/sysdep.h: Likewise.
7220 * sysdeps/sh/_mcount.S: Likewise.
7221 * sysdeps/sh/sysdep.h: Likewise.
7222 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7223 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7224 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7225 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7226 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7227 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7228 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7229 * locale/localeinfo.h: Likewise.
7230 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7231 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7232
6c55cda3
RM
72332012-07-09 Roland McGrath <roland@hack.frob.com>
7234
7235 [BZ #14336]
7236 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7237 system".
7238 * manual/message.texi (The Uniforum approach): Likewise.
7239 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7240 (glibc iconv Implementation): Likewise.
7241
638a572e
JM
72422012-07-09 Joseph Myers <joseph@codesourcery.com>
7243
7244 [BZ #14337]
7245 * math/s_clog.c (__clog): Avoid scaling a value down where that
7246 could result in underflow.
7247 * math/s_clog10.c (__clog10): Likewise.
7248 * math/s_clog10f.c (__clog10f): Likewise.
7249 * math/s_clog10l.c (__clog10l): Likewise.
7250 * math/s_clogf.c (__clogf): Likewise.
7251 * math/s_clogl.c (__clogl): Likewise.
7252 * math/libm-test.inc (clog_test): Add more tests.
7253 (clog10_test): Likewise.
7254 * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7256
261f4859
AS
72572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7258
0abaf3e4
AS
7259 [BZ #14283]
7260 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7261 by 7 not 8 to examine high bit of fractional part.
7262
261f4859
AS
7263 [BZ #14042]
7264 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7265 for call to __mcount_internal.
7266 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7267 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7268 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7269
f17ac40d
JM
72702012-07-06 Joseph Myers <joseph@codesourcery.com>
7271
9ad63c23
JM
7272 [BZ #14154]
7273 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7274 approximation for values within 0x1p-13f of an odd multiple of
7275 pi/4.
7276 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7277 exception. Add more tests.
7278 * sysdeps/i386/fpu/libm-test-ulps: Update.
7279
f17ac40d
JM
7280 [BZ #6778]
7281 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7282 inputs and return -1 for them. Do not check for +Inf in case not
7283 reachable for +Inf.
7284 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7285 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7286 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7287 and return -1 for them. Do not check for +Inf in case not
7288 reachable for +Inf.
7289 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7290 define.
7291 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7292 and return -1 for them. Do not check for +Inf in case not
7293 reachable for +Inf.
7294 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7295 spurious underflow.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7298
fb21f89b
MF
72992012-07-06 Mike Frysinger <vapier@gentoo.org>
7300
7301 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7302
cdfe2c5e
JM
73032012-07-05 Joseph Myers <joseph@codesourcery.com>
7304
7305 [BZ #14157]
7306 [BZ #14331]
7307 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7308 could result in spurious underflow. Scale down values above
7309 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7310 * math/s_csqrtf.c (__csqrtf): Likewise.
7311 * math/s_csqrtl.c (__csqrtl): Likewise.
7312 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7313 spurious underflow.
7314 * sysdeps/i386/fpu/libm-test-ulps: Update.
7315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7316
70d35b67
AS
73172012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7318
704bc459
AS
7319 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7320 xopen-msg.sed.
7321 * catgets/xopen-msg.awk: New file.
7322 * catgets/xopen-msg.sed: Removed.
7323
70d35b67
AS
7324 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7325 po2text.sed.
7326 * intl/po2test.awk: New file.
7327 * intl/po2test.sed: Removed.
7328
ca61cf32
JM
73292012-07-04 Joseph Myers <joseph@codesourcery.com>
7330
7331 [BZ #14328]
7332 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7333 or multiply small sinh result by itself.
7334 * math/s_ctanf.c (__ctanf): Likewise.
7335 * math/s_ctanh.c (__ctanh): Likewise.
7336 * math/s_ctanhf.c (__ctanhf): Likewise.
7337 * math/s_ctanhl.c (__ctanhl): Likewise.
7338 * math/s_ctanl.c (__ctanl): Likewise.
7339 * math/libm-test.inc (ctan_test_tonearest): New function.
7340 (ctan_test_towardzero): Likewise.
7341 (ctan_test_downward): Likewise.
7342 (ctan_test_upward): Likewise.
7343 (ctanh_test_tonearest): Likewise.
7344 (ctanh_test_towardzero): Likewise.
7345 (ctanh_test_downward): Likewise.
7346 (ctanh_test_upward): Likewise.
7347 (main): Call these new functions.
7348 * sysdeps/i386/fpu/libm-test-ulps: Update.
7349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7350
ca48a46a
MF
73512012-07-03 Mike Frysinger <vapier@gentoo.org>
7352
7353 * .gitignore: Delete /ports entry.
7354
9d63d37d
AJ
73552012-07-03 Andreas Jaeger <aj@suse.de>
7356
7357 * po/bg.po: Update from translation team.
7358 * po/cs.po: Likewise.
7359 * po/de.po: Likewise.
7360 * po/hr.po: Likewise.
7361 * po/nl.pl: Likewise.
7362 * po/pl.po: Likewise.
7363 * po/vi.po: Likewise.
7364
370ca3d2
JM
73652012-07-03 Joseph Myers <joseph@codesourcery.com>
7366
95f5a9a8
JM
7367 * Makeconfig [!+link] (+link-before-libc): New variable.
7368 [!+link] (+link-after-libc): Likewise.
7369 [!+link] (+link-tests): Likewise.
7370 [!+link] (+link): Define in terms of $(+link-before-libc) and
7371 $(+link-after-libc).
7372 [!+link-static] (+link-static-before-libc): New variable.
7373 [!+link-static] (+link-static-after-libc): Likewise.
7374 [!+link-static] (+link-static-tests): Likewise.
7375 [!+link-static] (+link-static): Define in terms of
7376 $(+link-static-before-libc) and $(+link-static-after-libc).
7377 [build-shared] (link-libc-before-gnulib): New variable.
7378 [build-shared] (link-libc-tests): Likewise.
7379 [build-shared] (link-libc): Define in terms of
7380 $(link-libc-before-gnulib).
7381 [!build-shared] (link-libc-tests): New variable.
7382 (link-libc-static-tests): New variable.
7383 [!gnulib] (gnulib-arch): New variable.
7384 [!gnulib] (gnulib-tests): Likewise.
7385 [!gnulib] (static-gnulib-arch): Likewise.
7386 [!gnulib] (static-gnulib-tests): Likewise.
7387 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7388 Define with "=" instead of ":=".
7389 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7390 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7391 * Rules (binaries-all-notests): New variable.
7392 (binaries-all-tests): Likewise.
7393 (binaries-static-notests): Likewise.
7394 (binaries-static-tests): Likewise.
7395 (binaries-all): Define using $(binaries-all-notests) and
7396 $(binaries-all-tests).
7397 (binaries-static): Define using $(binaries-static-notests) and
7398 $(binaries-static-tests).
7399 (binaries-shared-tests): New variable.
7400 (binaries-shared-notests): Likewise.
7401 (binaries-shared): Remove variable.
7402 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7403 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7404 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7405 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7406 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7407 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7408 * elf/Makefile (sln-modules): New variable.
7409 (extra-objs): Add $(sln-modules:=.o).
7410 (ldconfig-modules): Add static-stubs.
7411 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7412 * elf/static-stubs.c: New file.
7413
7a845b2c
JM
7414 [BZ #14283]
7415 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7416 by 7 not 8 to examine high bit of fractional part. Use volatile
7417 variables when splitting into final array of floats if
7418 __FLT_EVAL_METHOD__ != 0.
7419 * math/libm-test.inc (cos_test): Add another test.
7420 (sin_test): Likewise.
7421 * sysdeps/i386/fpu/libm-test-ulps: Update.
7422
e2283f38
JM
7423 [BZ #14273]
7424 * math/libm-test.inc (cosh_test): Add more tests.
7425
370ca3d2
JM
7426 * version.h (RELEASE): Set to "development".
7427 (VERSION): Set to "2.16.90".
7428
ee9247c3
CD
74292012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7430
7431 * NEWS: Update copyright. Remove last-updated date.
7432 Mention math library bug fixes and timezone data changes.
7433 * README: Mention GNU/Hurd, x32, and HPPA support status.
7434
4648c381
TS
74352012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7436
7437 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7438
aac78a43
AJ
74392012-06-27 Andreas Jaeger <aj@suse.de>
7440
7441 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7442
ed3dbfad
AJ
74432012-06-25 Andreas Jaeger <aj@suse.de>
7444
7445 * sysdeps/s390/fpu/libm-test-ulps: Update.
7446
4d0ee855
AS
74472012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7448 Thomas Schwinge <thomas@codesourcery.com>
7449
7450 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7451 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7453 fanotify_mark.
7454
af1bce34
TS
74552012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7456
a9fa33ba
TS
7457 * sysdeps/mach/start.c: Remove file.
7458 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7459 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7460 * sysdeps/sh/init-first.c: Likewise.
7461
58f902b8
TS
7462 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7463 registers for frame unwinding purposes, add CFI directives.
7464 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7465 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7466 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7467 Likewise.
7468
1518f58b
TS
7469 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7470 __fortify_fail returning.
7471 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7472
db9b5059
TS
7473 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7474 sysdeps/sh/____longjmp_chk.S.
7475 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7476 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7477 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7478 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7479
967705fe
TS
7480 * sysdeps/sh/abort-instr.h: New file.
7481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7482 process in case exit returns.
7483
a9def8c4
TS
7484 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7485 initialize the GOT register before use.
7486
2a649725
TS
7487 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7488 calculation of ARGC > 4.
7489
af1bce34
TS
7490 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7491 meaningful names to some local labels.
7492
d230f50a
KK
74932012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7494 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7495
7496 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7497 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7498 (__arch_compare_and_exchange_val_16_acq): Likewise.
7499 (__arch_compare_and_exchange_val_32_acq): Likewise.
7500 (atomic_exchange_and_add): Fix gUSA sequence.
7501 (atomic_add): Likewise.
7502 (atomic_add_negative): Likewise.
7503 (atomic_add_zero): Likewise.
7504 (atomic_bit_test_set): Likewise.
7505
0479b305
AS
75062012-06-22 Andreas Schwab <schwab@redhat.com>
7507
7508 [BZ #13579]
7509 * include/link.h (struct link_map): Add l_free_initfini.
7510 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7511 l_initfini.
7512 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7513 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7514 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7515 set.
7516
0e3933b9
CD
75172012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7518
7519 * configure.in: Use AC_LANG_SOURCE.
7520 * configure: Regenerate.
7521
4248b1b1
RM
75222012-06-22 Roland McGrath <roland@hack.frob.com>
7523
7524 * configure.in (libc_cv_localstatedir): New substituted variable.
7525 * configure: Regenerated.
7526 * config.make.in (localstatedir): New variable, substituted from
7527 libc_cv_localstatedir.
7528 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7529 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7530 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7531 * sysdeps/gnu/configure: Regenerated.
7532
006dd861
JL
75332012-06-21 Jeff Law <law@redhat.com>
7534
7535 [BZ #14277]
7536 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7537 free. Simplify list management for _LIBC case.
7538
79662d42
JM
75392012-06-21 Joseph Myers <joseph@codesourcery.com>
7540
b7abb4bf
JM
7541 [BZ #14273]
7542 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7543 Clear sign bit of 64-bit integer value before comparing against
7544 overflow value.
7545
79662d42
JM
7546 * sysdeps/mach/configure: Regenerated.
7547
1f150908
L
75482012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7549
7550 [BZ #14278]
7551 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7552
28363bbf
JL
75532012-06-21 Jeff Law <law@redhat.com>
7554
7555 [BZ #13882]
7556 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7557 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7558 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7559 * elf/dl-open.c (dl_open_worker): Likewise.
7560
09615db4
CD
75612012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7562
7563 * scripts/list-sources.sh: Scan PORTS for translations.
7564 * po/libc.pot: Regenerated.
7565
2174c6dd
AJ
75662012-06-21 Andreas Jaeger <aj@suse.de>
7567
7568 [BZ #12194]
7569 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7570 warning.
7571 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7572 * bits/byteswap-16.h (__bswap_16): Likewise.
7573 * bits/byteswap.h (__bswap_constant_16): Likewise.
7574
3ee947b1
L
75752012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7576
7577 [BZ #14117]
a2f34833
L
7578 * sysdeps/i386/fpu_control.h: Removed.
7579 * sysdeps/x86_64/fpu_control.h: Moved to ...
7580 * sysdeps/x86/fpu_control.h: Here.
7581
3ee947b1
L
7582 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7583 (_FPU_SETCW): Likewise.
7584
ed1825f8
L
75852012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7586
25f1282a
L
7587 [BZ #14117]
7588 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7589 * sysdeps/x86/fpu/bits/mathinline.h: This.
7590 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7591
ed1825f8
L
7592 [BZ #14050]
7593 [BZ #14117]
7594 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7595 functions if __x86_64__ is defined.
7596
36d54b74
CLT
75972012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7598
7599 * string/endian.h: Add !__ASSEMBLER__ condition for including
7600 conversion interfaces.
7601
10285c21
JM
76022012-06-15 Joseph Myers <joseph@codesourcery.com>
7603
7604 [BZ #14241]
7605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7606 of ABS(x) in calculating zero to negative powers other than odd
7607 integers.
7608 * math/libm-test.inc (pow_test): Add more tests.
7609
06c5abbd
AJ
76102012-06-15 Andreas Jaeger <aj@suse.de>
7611
7612 * manual/contrib.texi (Contributors): Update entry of Liubov
7613 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7614 Machado Filho.
7615
a3aeac40
CH
76162012-06-15 Cyril Hrubis <metan@ucw.cz>
7617
7618 * string/string.h: Add __wur to GNU version of strerror_r.
7619
49bdf4c1
L
76202012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 [BZ #14229]
7623 * string/Makefile (tests): Add tst-strtok_r.
7624 * string/tst-strtok_r.c: New file.
7625 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7626 RAX_LP/RDX_LP on SAVE_PTR.
7627
834f9b8d
RM
76282012-06-14 Roland McGrath <roland@hack.frob.com>
7629
7630 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7631
75fa1921
JM
76322012-06-14 Joseph Myers <joseph@codesourcery.com>
7633
7634 * libm_test.inc (csqrt_test): Allow more spurious underflow
7635 exceptions.
7636 (j0_test): Likewise.
7637 (j1_test): Likewise.
7638 (y0_test): Likewise.
7639 (y1_test): Likewise.
7640
771766df
CD
76412012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7642
7643 * po/Makefile (libc.pot): Use UTF-8 charset.
7644
ceb9e56b
PP
76452012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7646
7647 [BZ #14210]
7648 Suppress sign-conversion warning from FD_SET.
7649 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7650 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7651 not unsigned long int.
7652 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7653
ddb28975
L
76542012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7655
7656 [BZ #14050]
7657 [BZ #14117]
7658 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7659 __extern_always_inline instead of __extern_inline.
7660 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7661 (__signbit): Likewise.
7662 (__signbitl): Support C++ namespace.
7663 (lrintf): New inline function.
7664 (lrint): Likewise.
7665 (llrintf): Likewise.
7666 (llrint): Likewise.
7667 (fmaxf): Likewise.
7668 (fmax): Likewise.
7669 (fminf): Likewise.
7670 (fmin): Likewise.
7671 (rint): Likewise.
7672 (rintf): Likewise.
7673 (ceil): Likewise.
7674 (ceilf): Likewise.
7675 (floor): Likewise.
7676 (floorf): Likewise.
7677 (nearbyint): Likewise.
7678 (nearbyintf): Likewise.
7679
d7b4fb26
TS
76802012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7681
7682 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7683 non-default versions.
7684
eb55f5c2
RM
76852012-06-11 Roland McGrath <roland@hack.frob.com>
7686
7687 [BZ #14218]
7688 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7689
366af02c
TS
76902012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7691
99ff6e5c
TS
7692 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7693 (FE_UPWARD, FE_DOWNWARD): Don't define.
7694 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7695 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7696
366af02c
TS
7697 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7698 reading it.
7699 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7700 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7701
793ea851
KK
77022012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7703
7704 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7706 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7707 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7708
a728a38f
L
77092012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7710
7711 [BZ #14117]
c08010c7
L
7712 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7713 * sysdeps/i386/fpu/Implies: New file.
7714 * sysdeps/x86_64/fpu/Implies: Likewise.
7715 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7716 * sysdeps/x86/fpu/bits/fenv.h: This.
7717
a728a38f
L
7718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7719 __SSE_MATH__.
7720
6e230d11
SP
77212012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7722
7723 [BZ #14134]
7724 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7725 character 0xffff that matches the last element of the
7726 conversion table.
7727
1b671feb
AZ
77282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7729
7730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7731 fmodl commit.
7732
6043738b
AZ
77332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734
7735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7736 values higher than 25.6283.
7737
34ae0b32
AZ
77382012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7739
7740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7741 subnormal exponent extraction and add some __builtin_expect.
7742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7743 Fix for subnormal mantissa calculation.
7744
1214ec8f
MF
77452012-06-04 Mike Frysinger <vapier@gentoo.org>
7746
7747 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7748 cpu2 is -1 and errno is not ENOSYS.
7749
f3d1f93c
L
77502012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7751
7752 [BZ #14117]
0e4a3cd7
L
7753 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7754 * sysdeps/x86/bits/string.h: This.
7755 * sysdeps/x86_64/bits/string.h: Removed.
7756
6704c645
L
7757 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7758 if not compiling for x86-64, but compiling for >= i486.
7759
48495318
L
7760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7761 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7762
14adcbfc
L
7763 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7764 New macro from Linux kernel 3.4.0.
7765 (FP_XSTATE_MAGIC2): Likewise.
7766 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7767 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7768 (struct _fpx_sw_bytes): New struct.
7769 (struct _xsave_hdr): Likewise.
7770 (struct _ymmh_state): Likewise.
7771 (struct _xstate): Likewise.
7772
68e408ab
L
7773 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7774 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7776 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7777 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7778 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7779
f3d1f93c
L
7780 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7781 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7782 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7783 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7784 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7785 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7786
d9dc34cd
TMQMF
77872012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7788
7789 [BZ #13743]
7790 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7791 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7792 (sysdep_headers): Include sys/platform/ppc.h.
7793 * sysdeps/powerpc/test-gettimebase.c: Test for
7794 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7795 * manual/Makefile (appendices): Include platform.texi.
7796 * manual/contrib.texi (Contributors): Update @node pointers.
7797 * manual/maint.texi (Maintenance): Likewise.
7798 (Platform): New node.
7799 * manual/platform.texi: New file. Document the new features.
7800
4af3879c
SP
78012012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7802 Jakub Jelinek <jakub@redhat.com>
7803
7804 [BZ #14188]
7805 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7806 where __builtin_expect is unavailable.
7807
2fd6ff13
DM
78082012-06-03 David S. Miller <davem@davemloft.net>
7809
7810 * stdlib/longlong.h: Updated from GCC.
7811
173f7220
AS
78122012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7813
7814 [BZ #14042]
7815 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7816 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7817 __mcount_internal.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7819 (GLIBC_2.16): Likewise.
7820
f34a1c6f
L
78212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7824
88a4576f
JM
78252012-06-01 Joseph Myers <joseph@codesourcery.com>
7826
ea32bcdd
JM
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7828 (default-abi): New variable.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7830 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7831 variable.
7832 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7833 Likewise.
7834 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7835 Likewise.
7836 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7837 Likewise.
7838
88a4576f
JM
7839 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7840 definition. Document in comment.
7841
402fe938
DM
78422012-06-01 David S. Miller <davem@davemloft.net>
7843
7844 * stdlib/longlong.h: Updated from GCC.
7845
3553723f
L
78462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7847
7848 [BZ #14117]
3bd872c4
L
7849 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7850 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7851 sys/debugreg.h sys/io.h here.
7852 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7853 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7854 sys/io.h.
7855 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7856 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7857 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7858 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7859 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7860 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7861
3553723f
L
7862 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7863 Define only if __x86_64__ is defined.
7864
4842e4fe
JM
78652012-06-01 Joseph Myers <joseph@codesourcery.com>
7866
c5bfe3d5
JM
7867 [BZ #14048]
7868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7869 Use int64_t for variable i.
7870 * math/libm-test.inc (fmod_test): Add more tests.
7871
4842e4fe
JM
7872 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7873 z computation is not scheduled after fetestexcept.
7874 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7875 Use math_force_eval instead of asm to ensure calculation scheduled
7876 before exception test.
7877 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7878 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7879
efb73488
AJ
78802012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7881
7882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7883 computation is not scheduled after fetestexcept.
7884
29bcce7c
L
78852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7886
7887 [BZ #14117]
7888 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7889 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7890
73a68f94
AZ
78912012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892
7893 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7894 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7895
67b6df78
L
78962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7897
edf2933a 7898 [BZ #14117]
ebc64a18
L
7899 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7900 <bits/wordsize.h>.
7901 (__WCHAR_MIN): Support __WORDSIZE == 64.
7902 (__WCHAR_MAX): Likewise.
7903
edf2933a
L
7904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7905 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7906
57c6cf40
L
7907 [BZ #14183]
7908 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7909 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7910
67b6df78 7911 [BZ #14117]
8eb6281e
L
7912 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7913 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7914
aac639f4
L
7915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7916 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7917
67b6df78
L
7918 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7919 Defined to 1 if __x86_64__ isn't defined.
7920 (_STAT_VER_LINUX_OLD): New.
7921 (st_atime): Remove duplicate.
7922 (st_mtime): Likewise.
7923 (st_ctime): Likewise.
7924
1c2cfe81
DM
79252012-05-31 David S. Miller <davem@davemloft.net>
7926
7927 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7928 entries.
7929
5be8418c
AS
79302012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7931
e7725326
AS
7932 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7933 gen-libm-test.pl.
7934
5be8418c
AS
7935 [BZ #14132]
7936 * elf/dl-reloc.c: Include <_itoa.h>.
7937 (_dl_reloc_bad_type): Remove use of INTUSE.
7938 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7939 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7940 * stdio-common/psiginfo.c (psiginfo): Likewise.
7941 * stdio-common/psignal.c (psignal): Likewise.
7942 * string/strsignal.c (strsignal): Likewise.
7943 * include/signal.h (_sys_siglist): Declare hidden proto.
7944 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7945 INTVARDEF with libc_hidden_data_def.
7946 * stdio-common/itoa-udigits.c: Likewise.
7947 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7948 (_itoa_lower_digits_internal): Remove declaration.
7949 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7950 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7951 (_sys_sigabbrev_internal): Remove aliases.
7952 (_sys_siglist): Define hidden alias.
7953
507352f1
MT
79542012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7955
7956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7957 bits/sysctl.h.
7958
42bbb1c3
L
79592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 [BZ #14117]
6bd784b6
L
7962 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7963 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7964
8bca20f0
L
7965 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7966 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7967 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7968 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7970 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7971
f9e890a9
L
7972 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7973 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7974 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7975
471101a1
L
7976 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7977 with __addr.
7978 (insw): Likewise.
7979 (insl): Likewise.
7980 (outsb): Likewise.
7981 (outsw): Likewise.
7982 (outsl): Likewise.
7983
6451c862
L
7984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7986 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7987
a254b8c9
L
7988 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7989 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7990 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7991 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7992 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7993 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7994
b8dfdd92
L
7995 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7996 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7997
578cd270
L
7998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7999 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8000
de662f5f
L
8001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8003 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8004
25653439
L
8005 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8006 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8007 to ...
8008 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8009
6bad24a0
L
8010 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8011 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8012 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8013
42bbb1c3
L
8014 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8015 for x86-64.
8016 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8017
2d10d547
JM
80182012-05-31 Joseph Myers <joseph@codesourcery.com>
8019
8020 * math/math.h (M_El): Use two more decimal places.
8021 (M_LOG2El): Likewise.
8022 (M_LOG10El): Likewise.
8023 (M_LN2l): Likewise.
8024 (M_LN10l): Likewise.
8025 (M_PIl): Likewise.
8026 (M_PI_2l): Likewise.
8027 (M_PI_4l): Likewise.
8028 (M_1_PIl): Likewise.
8029 (M_2_PIl): Likewise.
8030 (M_2_SQRTPIl): Likewise.
8031 (M_SQRT2l): Likewise.
8032 (M_SQRT1_2l): Likewise.
8033
f230c29b
DM
80342012-05-31 David S. Miller <davem@davemloft.net>
8035
8036 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8037 values between float registers.
8038 * sysdeps/sparc/sparc64/memset.S: Likewise.
8039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8040
fed806c3
MF
80412012-05-31 Mike Frysinger <vapier@gentoo.org>
8042
8043 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8044 -D_FORTIFY_SOURCE=1.
8045 (CPPFLAGS-tst-longjmp_chk.c): Define.
8046 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8047 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8048 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8049 CFLAGS-tst-wchar-h.c.
8050
30917259
MP
80512012-05-31 Marek Polacek <polacek@redhat.com>
8052
8053 [BZ #14132]
8054 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8055 __endmntent_internal): Remove declaration.
8056 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8057 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8058 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8059
1c58d5dc
DM
80602012-05-30 David S. Miller <davem@davemloft.net>
8061
8062 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8063 (___Q_simulate_exceptions): Use real FP ops rather than writing
8064 into the %fsr.
8065 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8066 Likewise.
8067
7dc00e0d
L
80682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8069
8070 [BZ #14117]
0bd53985
L
8071 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8072 * sysdeps/x86/bits/xtitypes.h: This.
8073
3a257e66
L
8074 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8075 * sysdeps/x86/bits/wordsize.h: This.
8076
62f62904
L
8077 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8078 * sysdeps/x86/bits/huge_vall.h: This.
8079
404fe9d9
L
8080 * sysdeps/i386/bits/select.h: Removed.
8081 * sysdeps/x86_64/bits/select.h: Renamed to ...
8082 * sysdeps/x86/bits/select.h: This.
8083
d48d0446
L
8084 * sysdeps/i386/bits/setjmp.h: Removed.
8085 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8086 * sysdeps/x86/bits/setjmp.h: This.
8087
7dc00e0d
L
8088 * sysdeps/i386/bits/mathdef.h: Removed.
8089 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8090 * sysdeps/x86/bits/mathdef.h: This.
8091
03277f8f
AS
80922012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8093
8094 [BZ #14132]
8095 * include/sys/socket.h (__connect_internal)
8096 (__libc_sa_len_internal): Remove declaration.
8097 (__connect, __libc_sa_len): Declare hidden_proto.
8098 (SA_LEN): Remove use of INTUSE.
8099 * socket/connect.c: Add libc_hidden_def.
8100 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8101 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8102 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8103 alias.
8104 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8105 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8106 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8107 of adding _internal alias.
8108
13764867
L
81092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8110
8111 [BZ #14117]
6bd97696
L
8112 * sysdeps/i386/bits/link.h: Removed.
8113 * sysdeps/i386/bits/linkmap.h: Likewise.
8114 * sysdeps/x86_64/bits/link.h: Renamed to ...
8115 * sysdeps/x86/bits/link.h: This.
8116 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8117 * sysdeps/x86/bits/linkmap.h: This.
8118
f726f0bb
L
8119 * sysdeps/i386/bits/endian.h: Removed.
8120 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8121 * sysdeps/x86/bits/endian.h: This.
8122
13764867
L
8123 * sysdeps/i386/bits/byteswap.h: Removed.
8124 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8125 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8126 * sysdeps/x86/bits/byteswap.h: This.
8127 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8128 * sysdeps/x86/bits/byteswap-16.h: This.
8129 * sysdeps/i386/Implies: Add x86.
8130 * sysdeps/x86_64/Implies: Likewise.
8131
ae251b0b
DM
81322012-05-30 David S. Miller <davem@davemloft.net>
8133
8134 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8135 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8136 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8137 (FP_TRAPPING_EXCEPTIONS): Define.
8138 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8139 (FP_TRAPPING_EXCEPTIONS): Define.
8140 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8141 subnormals only when inexact has been signalled or underflow
8142 exceptions are enabled.
8143 (_FP_PACK_CANONICAL): Likewise.
8144
d5c90867
L
81452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8146
8147 [BZ #14183]
8148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8149 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8150
63f1549e
RH
81512012-05-30 Richard Henderson <rth@twiddle.net>
8152
8d8f2279
RH
8153 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8154 with #ifndef NOT_IN_libc.
8155
63f1549e
RH
8156 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8157 marked to avoid plt entry.
8158
0ab0291b
L
81592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8160
8161 [BZ #14112]
8162 * Makeconfig (default-abi): New macro.
8163 (abi-includes): Likewise.
8164 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8165 $(abi-$(default-abi)-lib-soname) for soname if defined.
8166 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8167 abi-variants.
8168 * Makefile (installed-stubs): Likewise.
8169 * include/stubs-biarch.h: Removed.
8170 * scripts/lib-names.awk: Only handle one library at a time.
8171 * scripts/soversions.awk: Remove WORDSIZE support.
8172 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8173 entries.
8174 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8175 Removed.
8176 (syscall-list-default-condition): Likewise.
8177 (syscall-list-default-condition): Likewise.
8178 (syscall-list-includes): Likewise.
8179 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8180 syscall-list-* with abi-*. Handle undefined abi-variants.
8181 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8182 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8183 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8184 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8185 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8186 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8187 Removed.
8188 (syscall-list-32-options): Likewise.
8189 (syscall-list-32-condition): Likewise.
8190 (syscall-list-64-options): Likewise.
8191 (syscall-list-64-condition): Likewise.
8192 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8193 macro.
8194 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8195 Renamed to ...
8196 (abi-*): This.
8197 (abi-64-ld-soname): New macro.
8198 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8200 Renamed to ...
8201 (abi-*): This.
8202 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8203 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8204
4da0431d
JM
82052012-05-30 Joseph Myers <joseph@codesourcery.com>
8206
3a85279c
JM
8207 * sysdeps/unix/sysv/linux/kernel-features.h
8208 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8209 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8210 include <kernel-features.h>.
8211 [!__NR_ftruncate64]: Remove conditional code.
8212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8213 [__NR_ftruncate64]: Make code unconditional.
8214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8215 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8216 include <kernel-features.h>.
8217 [!__NR_ftruncate64]: Remove conditional code.
8218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8219 [__NR_ftruncate64]: Make code unconditional.
8220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8222 include <kernel-features.h>.
8223 [!__NR_ftruncate64]: Remove conditional code.
8224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8225 [__NR_ftruncate64]: Make code unconditional.
8226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8228 include <kernel-features.h>.
8229 [!__NR_ftruncate64]: Remove conditional code.
8230 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8231 [__NR_ftruncate64]: Make code unconditional.
8232 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8233
4da0431d
JM
8234 * configure.in (libc_cv_fpie): Weaken to a compile test using
8235 LIBC_TRY_CC_OPTION.
8236 * configure: Regenerated.
8237
11ef492c
AK
82382012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8239
8240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8244 Refreshed.
8245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8251 Refreshed.
8252
d66ef399
DM
82532012-05-27 David S. Miller <davem@davemloft.net>
8254
8255 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8256 (___Q_zero): New.
8257 (__Q_simulate_exceptions): Return void. Change to simulate
8258 exceptions by writing into the %fsr.
8259 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8260 (__Qp_handle_exceptions): Likewise.
8261 (numbers): Delete.
8262 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8263 __Qp_handle_exceptions.
8264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8265 __Qp_handle_exceptions.
8266 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8267 as unused and give dummy FP_RND_NEAREST initializer.
8268 (FP_INHIBIT_RESULTS): Define.
8269 (___Q_simulate_exceptions): Update declaration.
8270 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8271 formatting.
8272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8273 as unused and give dummy FP_RND_NEAREST initializer.
8274 (__Qp_handle_exceptions): Update declaration.
8275 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8276 formatting.
8277
04fb54b5
TS
82782012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8279
8280 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8281 the temporary FPU control word.
8282 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8283 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8285 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8286 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8287 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8288 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8290 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8291 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8292 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8293
3f99608f
KK
82942012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8295
8296 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8297 fields.
8298
65a4de4e
CLT
82992012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8300
8301 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8302 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8303 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8304 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8305 Likewise.
8306 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8307 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8308 Likewise.
8309
15749d40
UD
83102012-05-27 Ulrich Drepper <drepper@gmail.com>
8311
8312 * po/h.po: Update from translation team.
8313
25dbcb27
AS
83142012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8315
3d3f8e55
AS
8316 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8317
25dbcb27
AS
8318 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8319 handling of denormals.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8321 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8323 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8325 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8327 Likewise.
8328
7ad47a80 83292012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8330
8331 [BZ #14152]
8332 * math/libm-test.inc (fma_test): Don't always expect underflow
8333 exception.
8334
9c6ea9fa
SP
83352012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8336
8337 [BZ #12416]
8338 * elf/tst-execstack.c: Include stackinfo.h.
8339 (do_test): Adjust test case to ensure that pthread_getattr_np
8340 behaviour remains the same after marking stack executable.
8341
a8239222
JM
83422012-05-25 Joseph Myers <joseph@codesourcery.com>
8343
8344 * sysdeps/unix/sysv/linux/kernel-features.h
8345 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8346 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8347 kernel-features.h.
8348 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8349 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8350 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8351 kernel-features.h.
8352 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8353 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8354
918b5606
L
83552012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 * configure.in: Define the default includes to being none.
8358 * configure: Regenerated.
8359
3a097cc7
RM
83602012-05-25 Roland McGrath <roland@hack.frob.com>
8361
8422c9a5
RM
8362 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8363 * sysdeps/x86_64/setjmp.S: Likewise.
8364 * sysdeps/i386/bsd-setjmp.S: Likewise.
8365 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8366 * sysdeps/i386/setjmp.S: Likewise.
8367 * sysdeps/i386/__longjmp.S: Likewise.
8368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8369 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8370
3a097cc7
RM
8371 * include/stap-probe.h: New file.
8372 * configure.in: Handle --enable-systemtap.
8373 * configure: Regenerated.
8374 * config.h.in (USE_STAP_PROBE): New #undef.
8375 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8376 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8377 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8378
21708942
JM
83792012-05-25 Joseph Myers <joseph@codesourcery.com>
8380
8381 [BZ #13717]
8382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8383 to 2.4.0 where earlier.
8384 * sysdeps/unix/sysv/linux/configure: Regenerated.
8385 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8386 <kernel-features.h>.
8387 [__ASSUME_32BITUIDS]: Make code unconditional.
8388 [!__ASSUME_32BITUIDS]: Remove conditional code.
8389 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8390 <kernel-features.h>.
8391 [__ASSUME_32BITUIDS]: Make code unconditional.
8392 [!__ASSUME_32BITUIDS]: Remove conditional code.
8393 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8394 [__ASSUME_32BITUIDS]: Make code unconditional.
8395 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8397 <kernel-features.h>.
8398 [__ASSUME_32BITUIDS]: Make code unconditional.
8399 [!__ASSUME_32BITUIDS]: Remove conditional code.
8400 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8401 <kernel-features.h>.
8402 [__ASSUME_32BITUIDS]: Make code unconditional.
8403 [!__ASSUME_32BITUIDS]: Remove conditional code.
8404 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8405 <kernel-features.h>.
8406 [__ASSUME_32BITUIDS]: Make code unconditional.
8407 [!__ASSUME_32BITUIDS]: Remove conditional code.
8408 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8409 <kernel-features.h>.
8410 [__ASSUME_32BITUIDS]: Make code unconditional.
8411 [!__ASSUME_32BITUIDS]: Remove conditional code.
8412 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8413 <kernel-features.h>.
8414 [__ASSUME_32BITUIDS]: Make code unconditional.
8415 [!__ASSUME_32BITUIDS]: Remove conditional code.
8416 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8417 <kernel-features.h>.
8418 [__ASSUME_32BITUIDS]: Make code unconditional.
8419 [!__ASSUME_32BITUIDS]: Remove conditional code.
8420 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8421 <kernel-features.h>.
8422 [__ASSUME_32BITUIDS]: Make code unconditional.
8423 [!__ASSUME_32BITUIDS]: Remove conditional code.
8424 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8425 <kernel-features.h>.
8426 [__ASSUME_32BITUIDS]: Make code unconditional.
8427 [!__ASSUME_32BITUIDS]: Remove conditional code.
8428 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8429 <kernel-features.h>.
8430 [__ASSUME_32BITUIDS]: Make code unconditional.
8431 [!__ASSUME_32BITUIDS]: Remove conditional code.
8432 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
8437 <kernel-features.h>.
8438 [__NR_setresgid] (__setresgid): Do not declare.
8439 [__ASSUME_32BITUIDS]: Make code unconditional.
8440 [!__ASSUME_32BITUIDS]: Remove conditional code.
8441 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8442 <kernel-features.h>.
8443 [__NR_setresuid] (__setresuid): Do not declare.
8444 [__ASSUME_32BITUIDS]: Make code unconditional.
8445 [!__ASSUME_32BITUIDS]: Remove conditional code.
8446 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8447 <kernel-features.h>.
8448 [__ASSUME_32BITUIDS]: Make code unconditional.
8449 [!__ASSUME_32BITUIDS]: Remove conditional code.
8450 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8451 <kernel-features.h>.
8452 [__ASSUME_32BITUIDS]: Make code unconditional.
8453 [!__ASSUME_32BITUIDS]: Remove conditional code.
8454 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8455 <kernel-features.h>.
8456 [__ASSUME_32BITUIDS]: Make code unconditional.
8457 [!__ASSUME_32BITUIDS]: Remove conditional code.
8458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8459 <kernel-features.h>.
8460 [__ASSUME_32BITUIDS]: Make code unconditional.
8461 [!__ASSUME_32BITUIDS]: Remove conditional code.
8462 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8463 <kernel-features.h>.
8464 [__ASSUME_32BITUIDS]: Make code unconditional.
8465 [!__ASSUME_32BITUIDS]: Remove conditional code.
8466 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8467 <kernel-features.h>.
8468 [__ASSUME_32BITUIDS]: Make code unconditional.
8469 [!__ASSUME_32BITUIDS]: Remove conditional code.
8470 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8471 <kernel-features.h>.
8472 [__ASSUME_32BITUIDS]: Make code unconditional.
8473 [!__ASSUME_32BITUIDS]: Remove conditional code.
8474 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8475 <kernel-features.h>.
8476 [__ASSUME_32BITUIDS]: Make code unconditional.
8477 [!__ASSUME_32BITUIDS]: Remove conditional code.
8478 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8479 <kernel-features.h>.
8480 [__ASSUME_32BITUIDS]: Make code unconditional.
8481 [!__ASSUME_32BITUIDS]: Remove conditional code.
8482 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8483 <kernel-features.h>.
8484 [__ASSUME_32BITUIDS]: Make code unconditional.
8485 [!__ASSUME_32BITUIDS]: Remove conditional code.
8486 * sysdeps/unix/sysv/linux/kernel-features.h
8487 (__ASSUME_SETRESUID_SYSCALL): Remove.
8488 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8489 (__ASSUME_32BITUIDS): Likewise.
8490 (__ASSUME_LDT_WORKS): Likewise.
8491 (__ASSUME_O_DIRECTORY): Likewise.
8492 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8493 architecture but not kernel version.
8494 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8495 (__ASSUME_MMAP2_SYSCALL): Likewise.
8496 (__ASSUME_STAT64_SYSCALL): Likewise.
8497 (__ASSUME_IPC64): Likewise.
8498 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8499 <kernel-features.h>.
8500 [__ASSUME_32BITUIDS]: Make code unconditional.
8501 [!__ASSUME_32BITUIDS]: Remove conditional code.
8502 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8503 <kernel-features.h>.
8504 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8505 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8506 132096]: Remove conditional code.
8507 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8508 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8509 <kernel-features.h>.
8510 [__ASSUME_32BITUIDS]: Make code unconditional.
8511 [!__ASSUME_32BITUIDS]: Remove conditional code.
8512 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8513 <kernel-features.h>.
8514 [__ASSUME_32BITUIDS]: Make code unconditional.
8515 [!__ASSUME_32BITUIDS]: Remove conditional code.
8516 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8517 <kernel-features.h>.
8518 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8519 unconditional.
8520 (__setresgid): Do not declare.
8521 [__ASSUME_32BITUIDS]: Make code unconditional.
8522 [!__ASSUME_32BITUIDS]: Remove conditional code.
8523 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8524 <kernel-features.h>.
8525 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8526 unconditional.
8527 (__setresuid): Do not declare.
8528 [__ASSUME_32BITUIDS]: Make code unconditional.
8529 [!__ASSUME_32BITUIDS]: Remove conditional code.
8530 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8531 <kernel-features.h>.
8532 [__ASSUME_32BITUIDS]: Make code unconditional.
8533 [!__ASSUME_32BITUIDS]: Remove conditional code.
8534 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8535 <kernel-features.h>.
8536 [__ASSUME_32BITUIDS]: Make code unconditional.
8537 [!__ASSUME_32BITUIDS]: Remove conditional code.
8538
a386f1cc
RH
85392012-05-25 Richard Henderson <rth@twiddle.net>
8540
8541 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8542 dl_hwcap to ifunc resolver.
8543 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8544 elf_ifunc_invoke.
8545 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8546 dl_hwcap to ifunc resolver.
8547 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8548
b6550497
JM
85492012-05-24 Joseph Myers <joseph@codesourcery.com>
8550
8551 [BZ #14153]
8552 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8553 for |x| <= 2**-26, not 2**-57.
8554 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8555 exception.
8556
b0bc23a1
JL
85572012-05-24 Jeff Law <law@redhat.com>
8558
8559 * stdio-common/Makefile (tests): Add bug25.
8560 * stdio-common/bug25.c: New test.
8561
347c92e9
L
85622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8563
8564 [BZ #13576]
8565 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8566 multiple of MALLOC_ALIGNMENT in size.
8567 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8568
6bcc8b3f
JM
85692012-05-24 Joseph Myers <joseph@codesourcery.com>
8570
8571 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8572 Require >= 256.
8573 (FILENAME_MAX): Use macro-int-constant.
8574 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8575 (_IOFBF): Use macro-int-constant.
8576 (_IOLBF): Likewise.
8577 (_IONBF): Likewise.
8578 (SEEK_CUR): Likewise.
8579 (SEEK_END): Likewise.
8580 (SEEK_SET): Likewise.
8581 (TMP_MAX): Likewise.
8582 (EOF): Use macro-int-constant. Require < 0.
8583 (NULL): Use macro-constant. Require == 0.
8584 (stdin): Require type to be FILE *.
8585 (stdout): Likewise.
8586 (stderr): Likewise.
8587 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8588 macro-int-constant.
8589 (EXIT_SUCCESS): Likewise.
8590 (NULL): Use macro-constant. Require == 0.
8591 (RAND_MAX): Use macro-int-constant.
8592 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8593 [C99-based standards] (strtof): Require function.
8594 [C99-based standards] (strtold): Likewise.
8595 [C99-based standards] (strtoll): Likewise.
8596 [C99-based standards] (strtoull): Likewise.
8597 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8598 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8599 [ISO || ISO99 || ISO11] (math.h): Likewise.
8600 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8601 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8603
d18ea0c5
AS
86042012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8605
8606 [BZ #14132]
56d25bb8
AS
8607 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8608 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8609 * intl/dgettext.c (DCGETTEXT): Likewise.
8610 * intl/gettext.c (DCGETTEXT): Likewise.
8611 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8612 * posix/regex_internal.h (gettext): Likewise.
8613 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8614 Remove declaration.
8615 * include/argz.h (__argz_count_internal)
8616 (__argz_stringify_internal): Remove declaration.
8617 (__argz_count, __argz_stringify): Declare hidden proto.
8618 * intl/dcgettext.c: Remove use of INTDEF.
8619 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8620 * string/argz-stringify.c: Likewise.
8621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8623 Declare hidden proto.
d18ea0c5
AS
8624 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8625 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8626 Declare hidden proto.
8627 * include/stdio.h (__asprintf_internal): Don't declare.
8628 (__asprintf): Don't define as macro. Declare hidden proto.
8629 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8630 (__fsetlocking): Declare hidden proto.
8631 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8632 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8633 hidden proto.
8634 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8635 (_IO_setlinebuf): Remove use of INTUSE.
8636 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8637 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8638 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8639 Remove declaration.
8640 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8641 (_IO_do_flush): Remove use of INTUSE.
8642 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8643 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8644 (_IO_adjust_column, _IO_least_wmarker)
8645 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8646 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8647 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8648 (_IO_default_doallocate, _IO_wdefault_doallocate)
8649 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8650 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8651 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8652 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8653 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8654 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8655 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8656 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8657 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8658 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8659 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8660 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8661 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8662 proto.
8663 (_IO_flush_all_internal, _IO_adjust_column_internal)
8664 (_IO_default_uflow_internal, _IO_default_finish_internal)
8665 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8666 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8667 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8668 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8669 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8670 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8671 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8672 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8673 (_IO_file_close_internal, _IO_file_close_it_internal)
8674 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8675 (_IO_file_init_internal, _IO_file_attach_internal)
8676 (_IO_file_fopen_internal, _IO_file_read_internal)
8677 (_IO_file_sync_internal, _IO_file_seek_internal)
8678 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8679 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8680 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8681 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8682 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8683 (_IO_list_all_internal, _IO_link_in_internal)
8684 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8685 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8686 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8687 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8688 (_IO_do_write_internal, _IO_padn_internal)
8689 (_IO_getline_info_internal, _IO_getline_internal)
8690 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8691 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8692 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8693 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8694 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8695 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8696 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8697 with libc_hidden_ver, remove use of INTUSE.
8698 * libio/genops.c: Likewise.
8699 * libio/freopen.c: Likewise.
8700 * libio/freopen64.c: Likewise.
8701 * libio/iofclose.c: Likewise.
8702 * libio/iofdopen.c: Likewise.
8703 * libio/iofflush.c: Likewise.
8704 * libio/iofflush_u.c: Likewise.
8705 * libio/iofgets.c: Likewise.
8706 * libio/iofgets_u.c: Likewise.
8707 * libio/iofopen.c: Likewise.
8708 * libio/iofopncook.c: Likewise.
8709 * libio/iofread.c: Likewise.
8710 * libio/iofread_u.c: Likewise.
8711 * libio/ioftell.c: Likewise.
8712 * libio/iofwrite.c: Likewise.
8713 * libio/iogetline.c: Likewise.
8714 * libio/iogets.c: Likewise.
8715 * libio/iogetwline.c: Likewise.
8716 * libio/iopadn.c: Likewise.
8717 * libio/iopopen.c: Likewise.
8718 * libio/ioseekoff.c: Likewise.
8719 * libio/ioseekpos.c: Likewise.
8720 * libio/iosetbuffer.c: Likewise.
8721 * libio/iosetvbuf.c: Likewise.
8722 * libio/ioungetc.c: Likewise.
8723 * libio/ioungetwc.c: Likewise.
8724 * libio/iovdprintf.c: Likewise.
8725 * libio/iovsprintf.c: Likewise.
8726 * libio/iovsscanf.c: Likewise.
8727 * libio/memstream.c: Likewise.
8728 * libio/obprintf.c: Likewise.
8729 * libio/oldfileops.c: Likewise.
8730 * libio/oldiofclose.c: Likewise.
8731 * libio/oldiofdopen.c: Likewise.
8732 * libio/oldiofopen.c: Likewise.
8733 * libio/oldiopopen.c: Likewise.
8734 * libio/oldstdfiles.c: Likewise.
8735 * libio/putc.c: Likewise.
8736 * libio/setbuf.c: Likewise.
8737 * libio/setlinebuf.c: Likewise.
8738 * libio/stdfiles.c: Likewise.
8739 * libio/strops.c: Likewise.
8740 * libio/vasprintf.c: Likewise.
8741 * libio/vscanf.c: Likewise.
8742 * libio/vsnprintf.c: Likewise.
8743 * libio/vswprintf.c: Likewise.
8744 * libio/wfiledoalloc.c: Likewise.
8745 * libio/wfileops.c: Likewise.
8746 * libio/wgenops.c: Likewise.
8747 * libio/wmemstream.c: Likewise.
8748 * libio/wstrops.c: Likewise.
8749 * libio/__fpurge.c: Likewise.
8750 * libio/__fsetlocking.c: Likewise.
8751 * assert/assert.c: Likewise.
8752 * debug/fgets_chk.c: Likewise.
8753 * debug/fgets_u_chk.c: Likewise.
8754 * debug/fread_chk.c: Likewise.
8755 * debug/fread_u_chk.c: Likewise.
8756 * debug/gets_chk.c: Likewise.
8757 * debug/obprintf_chk.c: Likewise.
8758 * debug/vasprintf_chk.c: Likewise.
8759 * debug/vdprintf_chk.c: Likewise.
8760 * debug/vsnprintf_chk.c: Likewise.
8761 * debug/vsprintf_chk.c: Likewise.
8762 * malloc/mtrace.c: Likewise.
8763 * misc/error.c: Likewise.
8764 * misc/syslog.c: Likewise.
8765 * stdio-common/asprintf.c: Likewise.
8766 * stdio-common/fxprintf.c: Likewise.
8767 * stdio-common/getw.c: Likewise.
8768 * stdio-common/isoc99_fscanf.c: Likewise.
8769 * stdio-common/isoc99_scanf.c: Likewise.
8770 * stdio-common/isoc99_vfscanf.c: Likewise.
8771 * stdio-common/isoc99_vscanf.c: Likewise.
8772 * stdio-common/isoc99_vsscanf.c: Likewise.
8773 * stdio-common/printf-prs.c: Likewise.
8774 * stdio-common/printf_fp.c: Likewise.
8775 * stdio-common/printf_fphex.c: Likewise.
8776 * stdio-common/printf_size.c: Likewise.
8777 * stdio-common/putw.c: Likewise.
8778 * stdio-common/scanf.c: Likewise.
8779 * stdio-common/sprintf.c: Likewise.
8780 * stdio-common/tmpfile.c: Likewise.
8781 * stdio-common/vfprintf.c: Likewise.
8782 * stdio-common/vfscanf.c: Likewise.
8783 * stdlib/strfmon_l.c: Likewise.
8784 * sunrpc/openchild.c: Likewise.
8785 * sunrpc/xdr_stdio.c: Likewise.
8786 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8787 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8788
d6c33fda
RM
87892012-05-24 Roland McGrath <roland@hack.frob.com>
8790
c1487492
RM
8791 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8792
8793 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8794 in the third column, to generate for the shared library an IFUNC
8795 that uses _dl_vdso_vsym.
8796 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8797 * Makeconfig (object-suffixes-noshared): New variable.
8798
8799 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8800 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8801 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8802 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8803
d6c33fda
RM
8804 [BZ #14132]
8805 * include/sys/time.h (__gettimeofday): Remove macro.
8806 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8807 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8808 Remove INTDEF.
8809 (__gettimeofday): Add libc_hidden_def.
8810 (gettimeofday): Add libc_hidden_weak.
8811 * sysdeps/mach/gettimeofday.c: Likewise.
8812 * sysdeps/posix/gettimeofday.c: Likewise.
8813 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8814 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8816 (__gettimeofday_internal): Remove strong_alias.
8817 (__gettimeofday): Add libc_hidden_def.
8818 (gettimeofday): Add libc_hidden_weak.
8819 * sysdeps/unix/syscalls.list (gettimeofday):
8820 Remove __gettimeofday_internal alias.
8821
b5a2bbe6
L
88222012-05-24 Daniel Jacobowitz <drow@false.org>
8823 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 [BZ #12495]
8826 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8827 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8828 (largebin_index_32_big): New.
8829 (largebin_index): Use it for 16-byte alignment.
8830 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8831 correction with front_misalign.
8832
cfba4fda
L
88332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8834
7f907421
L
8835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8837 Likewise.
8838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8839 Likewise.
8840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8841 Likewise.
8842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8843 Likewise.
8844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8845 Likewise.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8847 Likewise.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8849 Likewise.
8850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8851 Likewise.
8852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8853 Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8855 Likewise.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8857 Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8859 Likewise.
8860
cfba4fda
L
8861 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8862 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8863
80bad0cc
JM
88642012-05-24 Joseph Myers <joseph@codesourcery.com>
8865
7a25eb06
JM
8866 [BZ #10846]
8867 [BZ #14036]
8868 * math/libm-test.inc (exp_test): Add test from bug 14036.
8869 (pow_test): Add test from bug 10846.
8870
795405f9
JM
8871 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8872 and other flags.
8873 (special_function): Do not include flags in test name.
8874 (parse_args): Likewise.
8875 * sysdeps/i386/fpu/libm-test-ulps: Update.
8876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8877 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8878 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8880
80bad0cc
JM
8881 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8882 exceptions.
8883 * math/libm-test.inc ("Philosophy"): Update comment about
8884 exception testing.
8885 (UNDERFLOW_EXCEPTION): New macro.
8886 (UNDERFLOW_EXCEPTION_OK): Likewise.
8887 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8888 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8889 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8890 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8891 (INVALID_EXCEPTION_OK): Update value.
8892 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8893 (OVERFLOW_EXCEPTION_OK): Likewise.
8894 (IGNORE_ZERO_INF_SIGN): Likewise.
8895 (test_exceptions): Handle underflow exceptions.
8896 (acos_test): Update for underflow exception expectations.
8897 (cexp_test): Likewise.
8898 (clog_test): Likewise.
8899 (clog10_test): Likewise.
8900 (csqrt_test): Likewise.
8901 (ctan_test): Likewise.
8902 (ctanh_test): Likewise.
8903 (exp_test): Likewise.
8904 (exp10_test): Likewise.
8905 (exp2_test): Likewise.
8906 (expm1_test): Likewise.
8907 (fma_test): Likewise.
8908 (j0_test): Likewise.
8909 (jn_test): Likewise.
8910 (nexttoward_test): Likewise.
8911 (pow_test): Likewise.
8912 (scalbn_test): Likewise.
8913 (scalbln_test): Likewise.
8914 (tan_test): Likewise.
8915 (y1_test): Likewise.
8916 * sysdeps/i386/fpu/libm-test-ulps: Update.
8917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8918
9e0e3d0b
DM
89192012-05-23 David S. Miller <davem@davemloft.net>
8920
8921 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8922 (__libc_sigaction): Remove unused local variables.
8923
ccd0a08f
L
89242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8927
62bdf9a6
PE
89282012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8929
f8591f80
PE
8930 mktime: avoid signed integer overflow
8931 * time/mktime.c (__mktime_internal): Do not mishandle the case
8932 where diff == INT_MIN.
8933
94c7d826
PE
8934 mktime: simplify computation of average
8935 * time/mktime.c (ranged_convert): Use new time_t_avg function
8936 instead of rolling our own (probably-slower) code.
8937
ce73d683
PE
8938 mktime: do not assume signed right shift propagates sign bit
8939 * time/mktime.c (isdst_differ): New static function.
8940 (__mktime_internal): No need to normalize tm_isdst now.
8941 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8942 tm_isdst values.
8943
72a22e59
PE
8944 mktime: merge another wrapv change from gnulib
8945 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8946 from some compilers.
8947
68605433
PE
8948 mktime: remove incorrect attempt at unusual arithmetics
8949 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8950 The code didn't really work on such machines anyway.
8951 (TYPE_MINIMUM): Assume two's complement.
8952 (twos_complement_arithmetic): Verify that long_int and time_t
8953 are two's complement (or unsigned, in the latter case).
8954
03cf7fe3
PE
8955 mktime: check signed shifts on long_int and time_t, too
8956 * time/mktime.c (SHR): Check that shifts work as desired
8957 on the types long_int and time_t too, as SHR is used on
8958 such types.
8959
f04dfbc2
PE
8960 mktime: do not assume 'long' is wide enough
8961 * time/mktime.c (verify): Move decl up.
8962 (long_int): New type.
8963 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8964 to remove assumption in the code that 'long' is wide enough to
8965 store year values. This assumption is not true on x32 and on
8966 some non-glibc platforms.
8967
62bdf9a6
PE
8968 mktime: merge wrapv change from gnulib
8969 * time/mktime.c (WRAPV): New macro.
8970 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8971 (guess_time_tm, __mktime_internal): Do not assume that signed
8972 integer overflow wraps around; modern compilers generate code
8973 where this assumption is no longer valid.
8974
5e292e4f
L
89752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8978 Replace "jmp L(pseudo_end)" with "ret".
8979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8980 Likewise.
8981
8caf8c87
AJ
89822012-05-23 Andreas Jaeger <aj@suse.de>
8983
8984 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8985 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8986
1a09dc56
AJ
89872012-05-23 Andreas Jaeger <aj@suse.de>
8988 Maximilian Attems <max@stro.at>
8989
8990 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8991 New macros.
8992
1c87aba0
L
89932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8994
8995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8996 code so that pseudo_end is just ret and the stack pointer is
8997 correct also for static library in error case.
8998
40e45bd5
JM
89992012-05-23 Joseph Myers <joseph@codesourcery.com>
9000
c2670533
JM
9001 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9002 move to syscalls.list.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9007
40e45bd5
JM
9008 * manual/install.texi (Running make install): Do not mention Linux
9009 kernel version for which pt_chown is not needed.
9010 (Linux): Do not mention problems with nscd with 2.0 kernels.
9011 * INSTALL: Regenerated.
9012
be08eda5
AJ
90132012-05-23 Andreas Jaeger <aj@suse.de>
9014
9015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9016 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9017 macro.
9018 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9020 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9022 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9028 * sysdeps/unix/sysv/linux/bits/in.h
9029 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9030
a6a056bb
RM
90312012-05-22 Roland McGrath <roland@hack.frob.com>
9032
9033 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9034 (PREPARE_VERSION): Just use assert instead, it will be elided
9035 under [NDEBUG] anyway.
9036
c9009328
L
90372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * sysdeps/unix/sysv/linux/Makefile: Include
9040 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9041 (sysdep_routines): Remove sysctl.
c9009328
L
9042 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9043 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9044 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9045 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9046 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9047
73338355
AJ
90482012-05-22 Andreas Jaeger <aj@suse.de>
9049
9050 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9051 that pseudo_end is just ret and the stack pointer is correct also
9052 for static library in error case.
9053
d44638b0
PP
90542012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9055
9056 [BZ #14122]
9057 * nss/nsswitch.c (defconfig_entries): New variable.
9058 (__nss_database_lookup): Don't leak defconfig entries.
9059 (nss_parse_service_list): Don't leak on error paths.
9060 (free_database_entries): New function.
9061 (free_defconfig): New function.
9062 (free_mem): Move common code to free_database_entries.
9063
31a39bd8
L
90642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9065
da0331a8
L
9066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9067 Add arch_prctl.
9068 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9069
31a39bd8
L
9070 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9071 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9073 New macro.
9074 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9075 (INTERNAL_SYSCALL_TYPES): Likewise.
9076 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9077 (LOAD_REGS_TYPES_[1-6]): Likewise.
9078 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9079 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9080
45470df3
AZ
90812012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9082
9083 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9084 copysignl for GLIBC_2_0.
9085 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9086 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9088 logbl for GLIBC_2_0.
9089 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9090 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9091
98a61bcb
L
90922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9093
a4f6e481
L
9094 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9095 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9096
f63d5db6
L
9097 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9098 Use "neg %eax".
9099
98a61bcb
L
9100 * time/mktime.c: Update copyright years.
9101
95770f14
PE
91022012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9103
6226efbd
PE
9104 mktime: merge comment-quoting-style change from gnulib
9105 * time/mktime.c: Quote 'like this' in comments.
9106 The GNU coding standards suggest that we no longer quote `like this',
9107 as "`" and "'" are typically rendered asymmetrically nowadays.
9108 The typical gnulib style is to quote 'like this' when quoting
9109 code, and "like this" when quoting English.
9110
b99e4f78
PE
9111 * time/mktime.c (compile-command): Add "-I.".
9112
643e01e6
PE
9113 mktime: merge mktime-internal.h change from gnulib
9114 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9115
2554247d
PE
9116 mktime: merge time_r change from gnulib
9117 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9118
826dd0ab
PE
9119 mktime: merge DEBUG change from gnulib
9120 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9121 case system <time.h> has a #define.
9122
bd83aabe
PE
9123 mktime: merge <sys/types.h> change from gnulib
9124 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9125 since <time.t> is now guaranteed to define time_t.
9126
95770f14
PE
9127 mktime: merge HAVE_CONFIG_H change from gnulib
9128 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9129
5e1a27a9
L
91302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9131
0e44a77e
L
9132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9133 Use "neg %eax".
9134
5e1a27a9
L
9135 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9136 __rlim_t cast.
9137 (struct rusage): Use anonymous union to pad each field to
9138 __syscall_slong_t.
9139
46259bec
DM
91402012-05-21 David S. Miller <davem@davemloft.net>
9141
9142 * Makefules (o-iterator): Remove .s cases.
9143 (compile-command.s): Delete.
9144 (COMPILE.s): Delete.
9145 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9146
59f0c22e
JM
91472012-05-21 Joseph Myers <joseph@codesourcery.com>
9148
9149 * configure.in (libc_cv_predef_stack_protector): Only consider
9150 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9151 * configure: Regenerated.
9152
20c07380
L
91532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9154
bbb3154b
L
9155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9156 New macro. Use R*LP on int and pointer.
9157 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9158 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9160 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9161
20c07380
L
9162 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9163 [__WORDSIZE_TIME64_COMPAT32] instead of
9164 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9165 (struct utmp): Likewise.
9166 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9167 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9168 Renamed to ...
9169 (__WORDSIZE_TIME64_COMPAT32): This.
9170 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9171 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9172 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9173 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9174 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9175 (__WORDSIZE_TIME64_COMPAT32): New macro.
9176
d8d1017e
AJ
91772012-05-21 Andreas Jaeger <aj@suse.de>
9178
9179 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9180 only if [SHARED]. Add prototype for __wcschr_ia32.
9181
6c7fb145
RM
91822012-05-21 Roland McGrath <roland@hack.frob.com>
9183
9184 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9185 of %rbp unmolested in the jmp_buf while mangling the low bits.
9186 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9187 unmolested high bits of %rbp while demangling the low bits.
9188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9189
66274218
AJ
91902012-05-21 Andreas Jaeger <aj@suse.de>
9191
07c58f8f
AJ
9192 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9193 * sunrpc/svc_simple.c: Use it for registerrpc.
9194 * sunrpc/xcrypt.c: Use it for passwd2des.
9195
66274218
AJ
9196 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9197
61f65140
L
91982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9201 Don't define if [__SYSCALL_WORDSIZE != 32].
9202 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9203 New macro.
9204
5fefb436
AJ
92052012-05-21 Bruno Haible <bruno@clisp.org>
9206 Andreas Jaeger <aj@suse.de>
9207
9208 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9209 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9210 inptr and inend for must_buffer_ch.
9211 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9212 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9213 * stdio-common/Makefile (tests): Remove bug15.
9214 (bug15-ENV): Remove macro.
9215 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9216 anymore.
9217
d8e272ab
AJ
92182012-05-19 Andreas Jaeger <aj@suse.de>
9219 Roland McGrath <roland@hack.frob.com>
9220
9221 * manual/contrib.texi: Completely rewritten. It contains now an
9222 alphabetical list of contributors and their contributions.
9223
4a56a162
RH
92242012-05-21 Richard Henderson <rth@twiddle.net>
9225
9226 * misc/getauxval.c (__getauxval): Use unsigned long int.
9227 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9228 (getauxval): Use unsigned long int.
9229
d024d23c
L
92302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9231
9232 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9233
cbc00a03
RM
92342012-05-21 Roland McGrath <roland@hack.frob.com>
9235
9236 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9237 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9238 __alignof__ (long double).
9239
478143fa
AZ
92402012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9241
9242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9243
c7683a6d
RH
92442012-05-20 Richard Henderson <rth@twiddle.net>
9245
9246 * misc/getauxval.c: New file.
9247 * misc/sys/auxv.h: New file.
9248 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9249 (routines): Add getauxval.
9250 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9251 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9252 * elf/dl-sysdep.c (_dl_auxv): Remove.
9253 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9254 * elf/dl-support.c (_dl_auxv): New variable.
9255 (_dl_aux_init): Initialize it.
9256 * manual/startup.texi (Auxiliary Vector): New node.
9257 * sysdeps/generic/bits/hwcap.h: New file.
9258 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9259 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9260 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9261 * sysdeps/sparc/sysdep.h: ... here. Include it.
9262 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9263 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9265 Update.
c7683a6d
RH
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9269 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9274
a6f1845d
AZ
92752012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9276
9277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9278
cbcbe830
DM
92792012-05-19 David S. Miller <davem@davemloft.net>
9280
9281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9282
e0b16cc2
JM
92832012-05-19 Joseph Myers <joseph@codesourcery.com>
9284
9285 [BZ #14123]
9286 * math/s_ccosh.c: Include <float.h>
9287 (__ccosh): Avoid internal overflow calculating sinh and cosh
9288 values before multiplying by sin and cos values.
9289 * math/s_ccoshf.c: Likewise.
9290 * math/s_ccoshl.c: Likewise.
9291 * math/s_csin.c: Likewise.
9292 * math/s_csinf.c: Likewise.
9293 * math/s_csinl.c: Likewise.
9294 * math/s_csinh.c: Likewise.
9295 * math/s_csinhf.c: Likewise.
9296 * math/s_csinhl.c: Likewise.
9297 * math/libm-test.inc (ccos_test): Add more tests.
9298 (ccosh_test): Likewise.
9299 (csin_test): Likewise.
9300 (csinh_test): Likewise.
9301 * sysdeps/i386/fpu/libm-test-ulps: Update.
9302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9303
6ad13e08
L
93042012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9305
f66f0ce8
L
9306 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9307 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9308
6ad13e08
L
9309 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9310
b1d072a7
JM
93112012-05-19 Joseph Myers <joseph@codesourcery.com>
9312
9313 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9314 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9315 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9316 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9317 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9318 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9319 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9320 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9321 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9322 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9323 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9324 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9325 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9326 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9327 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9328 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9329 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9330 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9331 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9332 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9333 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9334 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9335 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9336 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9337 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9338 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9339 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9340 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9341 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9342 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9343 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9344
9eae47cb
AJ
93452012-05-18 Andreas Jaeger <aj@suse.de>
9346
9347 * csu/.gitignore: Delete.
9348
bb07f69f
L
93492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9350
9351 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9352 (timex): Use __syscall_slong_t.
9353
e6bdb741
AJ
93542012-05-18 Andreas Jaeger <aj@suse.de>
9355 Carlos O'Donell <carlos_odonell@mentor.com>
9356
9357 * manual/install.texi (Configuring and compiling): Update
9358 description about files modified in the source directory.
d6c33fda 9359 * INSTALL: Regenerated.
e6bdb741 9360
1b74487e
L
93612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9362
9363 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9364 value. Use "or" to set return value to -1.
9365 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9366 negate return value.
9367
a88b64b9
TMQMF
93682012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9369
9370 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9371 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9372 failure if the compiler has Graphite support disabled.
9373 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9374 Likewise.
9375 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9376 CFLAGS-memmove.c): Likewise.
9377 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9378 Likewise.
9379
3707636e
L
93802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9381
610b8622
L
9382 * sysdeps/x86_64/x32/_itoa.h: New file.
9383
7cd195df
L
9384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9385 getdents system call only if kernel and user dirents have the
9386 same d_ino and d_off.
9387
94b07d20
L
9388 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9389 LLONG_MAX != LONG_MAX.
9390 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9391 (_fitoa_word): Likewise.
9392
18298070
L
9393 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9394 years.
9395 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9397 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9398
553c7ea4
L
9399 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9400 include <bits/wordsize.h>. Check __x86_64__ instead of
9401 __WORDSIZE.
9402 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9403 if __x86_64__ is defined. Use anonymous union on fpstate.
9404
3707636e
L
9405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9406 anonymous union.
9407
b53ef01a
AS
94082012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9409
37fb1dc0
AS
9410 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9411 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9412 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9413 Refer to _rtld_local_ro instead of _rtld_global_ro.
9414 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9415 Likewise.
9416 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9417 Likewise.
9418 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9419 Likewise.
9420 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9421 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9422 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9423
b53ef01a
AS
9424 * sysdeps/powerpc/powerpc32/dl-machine.c
9425 (__elf_machine_runtime_setup) [PROF]: Don't reference
9426 _dl_prof_resolve.
9427
7a185db2
AJ
94282012-05-18 Andreas Jaeger <aj@suse.de>
9429
9430 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9431 function only available for GCCs before 3.4 since GCC 3.4
9432 introduced a builtin.
9433 (lrint): Likewise.
9434 (llrintf): Likewise.
9435 (llrint): Likewise.
9436 (fmaxf): Likewise.
9437 (fmax): Likewise.
9438 (fminf): Likewise.
9439 (fmin): Likewise.
9440 (rint): Likewise.
9441 (rintf): Likewise.
9442 (nearbyint): Likewise.
9443 (nearbyintf): Likewise.
9444 (ceil): Likewise.
9445 (ceilf): Likewise.
9446 (floor): Likewise.
9447 (floorf): Likewise.
9448
3e5aef87
L
94492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9450
428bd707
L
9451 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9452 on both fields and cast pointer to __syscall_ulong_t.
9453
3e5aef87
L
9454 * bits/types.h (__fsword_t): New type.
9455 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9456 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9458 (__FSWORD_T_TYPE): Likewise.
9459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9460 (__FSWORD_T_TYPE): Likewise.
9461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9462 (__FSWORD_T_TYPE): Likewise.
9463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9464 (__FSWORD_T_TYPE): Likewise.
9465 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9466 __SWORD_TYPE with __fsword_t.
9467 (statfs64): Likewise.
9468
1ba7c3dc
DM
94692012-05-17 David S. Miller <davem@davemloft.net>
9470
9471 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9472
59910343
AJ
94732012-05-17 Andreas Jaeger <aj@suse.de>
9474
9475 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9476 warning.
9477
2e4c1e9e
L
94782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9481
de7f5ce7
AJ
94822012-05-17 Andreas Jaeger <aj@suse.de>
9483
9484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9485 when it is used.
9486
286abc3d
CM
94872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9488
9489 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9490
477cc68e
L
94912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9492
9493 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9494 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9495
1a0994f5
CD
94962012-05-17 Andreas Jaeger <aj@suse.de>
9497 Carlos O'Donell <carlos_odonell@mentor.com>
9498
9499 [BZ #14059]
9500 * sysdeps/x86_64/multiarch/init-arch.h
9501 (bit_YMM_Usable): Rename to...
9502 (bit_AVX_Usable): ... this.
9503 (bit_FMA4_Usable): New macro.
9504 (bit_XMM_state): New macro.
9505 (bit_YMM_state): New macro.
9506 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9507 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9508 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9509 (CPUID_OSXSAVE): New macro.
9510 (CPUID_AVX): New macro.
9511 (CPUID_FMA4): New macro.
9512 (index_YMM_Usable): Rename to...
9513 (index_AVX_Usable): ... this.
9514 (HAS_AVX): Use HAS_ARCH_FEATURE.
9515 (HAS_FMA4): Likewise.
9516 (HAS_YMM_USABLE): Remove.
9517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9518 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9519 are present.
9520 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9521 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9522 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9523 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9524 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9525
0af797de
CM
95262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9527
9528 * math/libm-test.c: Support platforms without multiple rounding modes.
9529 * math/bug-nextafter.c: Support platforms without FP exceptions.
9530 * math/bug-nexttoward.c: Likewise.
9531 * math/test-fenv.c: Likewise.
9532 * math/test-misc.c: Likewise.
9533 * stdlib/bug-getcontext.c: Likewise.
9534
e39745ff
AJ
95352012-05-17 Andreas Jaeger <aj@suse.de>
9536
9537 * manual/examples/search.c (critter_cmp): Change signature to
9538 avoid warnings.
9539 * manual/string.texi (Collation Functions): Likewise.
9540
48970aba
L
95412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9542
9543 * bits/types.h: Fold copyright years.
9544 * bits/typesizes.h: Likewise.
9545 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9549 * time/time.h: Likewise.
9550
bedee953
PP
95512012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9552
9553 [BZ #208]
9554 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9555 in instead of returning them. Return void.
9556 (__libc_mallinfo): Accumulate over all arenas.
9557 (__malloc_stats): Adjust for change in int_mallinfo interface.
9558
61653dfb
RM
95592012-05-16 Roland McGrath <roland@hack.frob.com>
9560
30b99d79
RM
9561 [BZ #10375]
9562 * configure.in (NM): Add AC_CHECK_TOOL for it.
9563 (libc_extra_cflags): New substituted variable.
9564 Check for -fstack-protector being used implicitly.
9565 * configure: Regenerated.
9566 * config.make.in (config-extra-cflags): New variable,
9567 gets @libc_extra_cflags@.
9568 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9569
61653dfb
RM
9570 [BZ #10375]
9571 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9572 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9573 * configure: Regenerated.
9574 * config.make.in (CPPUNDEFS): New substituted variable.
9575 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9576 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9577 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9578
661768bb
L
95792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9580
9581 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9582 (mq_attr): Use __syscall_slong_t.
9583
d4261567
L
95842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9585
9586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9587 Check __x86_64__ instead of __WORDSIZE.
9588 (_STAT_VER_LINUX): Likewise.
9589 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9590 __syscall_ulong_t and __syscall_slong_t.
9591 (stat64): Likewise.
9592
cf3ff365
L
95932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9594
9595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9596
76cf3e4d
L
95972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9598
9599 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9600
a637753a
L
96012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9602
9603 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9604 __syscall_ulong_t.
9605
d5e05119
L
9606 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9607 include <bits/wordsize.h>. Check __x86_64__ instead of
9608 __WORDSIZE.
9609 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9610 defined.
9611 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9612
f62ee380
L
9613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9614 include <bits/wordsize.h>. Check __x86_64__ instead of
9615 __WORDSIZE.
9616 (user_regs_struct): Use "__extension__ unsigned long long"
9617 instead of "unsigned long" if __x86_64__ is defined.
9618 (user): Likewise. Pad after pointer field if __ILP32__ is
9619 defined.
9620
4e124ced
JM
96212012-05-16 Joseph Myers <joseph@codesourcery.com>
9622
6a3951a0
JM
9623 * configure.in (makeinfo): Require version 4.5 or later. Allow
9624 versions 5 to 9.
9625 * configure: Regenerated.
9626 * manual/install.texi (texinfo): Increase version requirement to
9627 4.5 or later.
9628 * INSTALL: Regenerated.
9629
4e124ced
JM
9630 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9631
953ca31a
L
96322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9635
617aca05
L
9636 * sysdeps/x86_64/x32/ffs.c: New file.
9637
5762f7ae
L
9638 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9639 __syscall_ulong_t.
9640 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9641 defined. Use __syscall_ulong_t.
9642 (shminfo): Use __syscall_ulong_t.
9643 (shm_info): Likewise.
9644
a26b6856
L
9645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9646 __syscall_ulong_t.
9647
cb2b9ef7
L
9648 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9649 <bits/wordsize.h>.
9650 (msgqnum_t): Use __syscall_ulong_t.
9651 (msglen_t): Likewise.
9652 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9653 __syscall_ulong_t.
9654
34683bb0
L
9655 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9656 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9657
84a68786
L
9658 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9659
48baa5f1
L
9660 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9661 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9662
180be88b
L
9663 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9664 __syscall_slong_t.
9665
5e90c8ad
L
9666 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9667 include <bits/wordsize.h>. Check __x86_64__ instead of
9668 __WORDSIZE.
9669
23dfb58b
L
9670 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9671 "unsigned long long int" if __x86_64__ is defined.
9672 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9673
ce5d54b0
L
9674 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9675 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9676 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9677
13dc9eac
L
9678 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9679 <stdint.h>.
9680 (GET_PC): Cast to uintptr_t first.
9681 (GET_FRAME): Likewise.
9682 (GET_STACK): Likewise.
9683
a7895d15
L
9684 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9686 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9687 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9688 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9689 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9690 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9691 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9692 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9693 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9695 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9697 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9699 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9701 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9702 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9703 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9705 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9706 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9707 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9708 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9709 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9710 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9711 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9713
656416c9
AS
97142012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9715
5bd66283
AS
9716 * Makerules (+depfiles): Also collect depfiles from .oS in
9717 $(extra-objs).
9718 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9719 .oS, $(libnldbl-routines)).
9720
656416c9
AS
9721 * Makerules (native-compile-mkdep-flags): Define.
9722 * sunrpc/Makefile (extra-objs): Add $(addprefix
9723 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9724 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9725 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9726 calling $(make-target-directory).
9727
a46f2169
L
97282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9729
9730 * bits/types.h (__snseconds_t): Removed.
9731 * time/time.h (struct timespec): Replace __snseconds_t with
9732 __syscall_slong_t.
9733 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9734 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9735 Likewise.
9736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9737 (__SNSECONDS_T_TYPE): Likewise.
9738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9739 (__SNSECONDS_T_TYPE): Likewise.
9740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9741 (__SNSECONDS_T_TYPE): Likewise.
9742
6af6528b
L
97432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9744
9745 * sysdeps/mach/hurd/bits/typesizes.h
9746 (__SYSCALL_SLONG_TYPE): New macro.
9747 (__SYSCALL_ULONG_TYPE): Likewise.
9748
de986b56
L
97492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * bits/types.h (__syscall_slong_t): New type.
9752 (__syscall_ulong_t): Likewise.
9753
9754 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9755 (__SYSCALL_ULONG_TYPE): Likewise.
9756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9757 (__SYSCALL_SLONG_TYPE): Likewise.
9758 (__SYSCALL_ULONG_TYPE): Likewise.
9759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9760 (__SYSCALL_SLONG_TYPE): Likewise.
9761 (__SYSCALL_ULONG_TYPE): Likewise.
9762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9763 (__SYSCALL_SLONG_TYPE): Likewise.
9764 (__SYSCALL_ULONG_TYPE): Likewise.
9765
85736dc7
L
97662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9769 Add sigaltstack-offsets.sym.
9770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9771 <sigaltstack-offsets.h>.
9772 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9773 longjmp_msg pointer.
9774 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9775 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9776 signal stack.
9777 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9778
cc03b296
JM
97792012-05-15 Joseph Myers <joseph@codesourcery.com>
9780
a9538892
JM
9781 * elf/stackguard-macros.h: Remove file.
9782 * sysdeps/generic/stackguard-macros.h: New file.
9783 * sysdeps/i386/stackguard-macros.h: Likewise.
9784 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9785 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9786 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9787 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9788 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9789 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9790 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9791 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9792 <elf/stackguard-macros.h>.
9793
cc03b296
JM
9794 [BZ #14109]
9795 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9796 __aligned__ in attribute.
9797 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9798 (gregset_t): Likewise.
9799
93171016
L
98002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9801
9802 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9803 * sysdeps/x86_64/64/Implies-after: Here. New file.
9804 * sysdeps/x86_64/x32/Implies-after: New file.
9805
d86813a0
L
98062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9809 and access return value for _dl_profile_fixup. Use R10_LP to
9810 load frame size.
9811
2953ec75
L
98122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9813
9814 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9815
3b550e9e
L
98162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9819 * sysdeps/x86_64/x32/sysdep.h: New file.
9820
eda41706
L
98212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9824 * sysdeps/x86_64/setjmp.S: Likewise.
9825
9ea01d93
AZ
98262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9827
9828 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9830 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9831 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9832 remove unused global constant.
9833
02a91938
CM
98342012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9835
9836 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9837 include of <not-cancel.h>.
9838
6540185f
RM
98392012-05-15 Roland McGrath <roland@hack.frob.com>
9840
9841 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9842
509072a0
AJ
98432012-05-15 Jeff Law <law@redhat.com>
9844 Andreas Jaeger <aj@suse.de>
9845
9846 [BZ #13594]
9847 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9848 out from...
9849 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9850 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9851 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9852 code changing __hst_map_handle.map.
9853
ba75122d
RM
98542012-05-15 Roland McGrath <roland@hack.frob.com>
9855
9856 * configure.in (sysnames): Look for Implies-before and Implies-after
9857 files.
9858 * configure: Regenerated.
9859
890d8bd8
L
98602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9861
9862 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9863 8-byte data alignment with LP_SIZE alignment.
9864
f6ee6623
L
98652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9868 into R10_LP.
9869
ea2626f6
L
98702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9871
9872 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9873
085f715e
L
98742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9875
9876 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9877 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9879 Likewise.
9880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9881
be8498fc
L
98822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9883
9884 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9885 (stackinfo_sub_sp): Likewise.
9886
70bc83b9
L
98872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9888
9889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9890 RAX_LP.
9891
9bc0b730
L
98922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9895 into R*_LP.
9896
6d2850e7
L
98972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9898
9899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9900 sizes into R*_LP.
9901
3cb84561
L
99022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9905
54e2ed81
L
99062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9909 into R11_LP and load __x86_64_shared_cache_size_half into
9910 R8_LP.
9911
8a17f349
L
99122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9913
9914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9915 R8_LP.
9916
777b1eea
AZ
99172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9918
9919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9920 logb for POWER7.
9921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9922 logbf for POWER7.
9923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9924 logbl for POWER7.
9925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9926 powerpc32/power7/fpu/s_logb.c via #include.
9927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9928 powerpc32/power7/fpu/s_logbf.c via #include.
9929 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9930 powerpc32/power7/fpu/s_logbl.c via #include.
9931
d20d4ac2
JM
99322012-05-15 Joseph Myers <joseph@codesourcery.com>
9933
9934 * README.libm: Remove file.
9935
6cdef1ab
L
99362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9937
9938 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9939 count for x32. Use R*_LP and omit operand-size suffix.
9940
0b254d8f
L
99412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9942
9943 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9944 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9945 * sysdeps/x86_64/x32/shlib-versions: New file.
9946
ceb809dc
RM
99472012-05-14 Roland McGrath <roland@hack.frob.com>
9948
9949 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9950 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9951 Use _dl_fatal_printf instead.
9952
37f1abd4
JM
99532012-05-14 Joseph Myers <joseph@codesourcery.com>
9954
9955 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9956 set if not set by the user. Do not allow for being unset.
9957 * sysdeps/unix/sysv/linux/configure: Regenerated.
9958
11de3a33
L
99592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9960
9961 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9962 the `q' suffix from lea and replace .quad with ASM_ADDR.
9963
e02f153a
L
99642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9967 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9968 instead of $17.
9969 (PTR_DEMANGLE): Likewise.
9970
520ae0fd
L
99712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9972
9973 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9974 (LP_OP): Likewise.
9975 (ASM_ADDR): Likewise.
9976 (RAX_LP): Likewise.
9977 (RBP_LP): Likewise.
9978 (RBX_LP): Likewise.
9979 (RCX_LP): Likewise.
9980 (RDI_LP): Likewise.
9981 (RSI_LP): Likewise.
9982 (RSP_LP): Likewise.
9983 (R8_LP): Likewise.
9984 (R9_LP): Likewise.
9985 (R10_LP): Likewise.
9986 (R10_LP): Likewise.
9987 (R11_LP): Likewise.
9988 (R12_LP): Likewise.
9989 (R13_LP): Likewise.
9990 (R14_LP): Likewise.
9991 (R15_LP): Likewise.
9992
b985be81
L
99932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9994
9995 * sysdeps/x86_64/x32/dl-machine.h: New file.
9996
6a4888ff
AJ
99972012-05-14 Andreas Jaeger <aj@suse.de>
9998
9999 * manual/Makefile (subdir): Remove export of subdir.
10000 (all): Remove target.
10001 (.PHONY): Remove all from list.
10002 (mkinstalldirs): Remove.
10003 (.PHONY): Remove installdirs from list.
10004 ($(inst_infodir)/libc.info): Use make-target-directory.
10005 (installdirs): Remove.
10006 (subdir_%): Remove.
10007 (glibc-targets): Remove.
10008 (lib): Remove.
10009 (stubs): Remove.
10010 ($(objpfx)stubs ../po/manual.pot): Remove.
10011 ($(objpfx)stamp%): Remove.
10012 (make-target-directory): Remove.
10013 (subdir_install): Remove.
10014 (routines): Remove.
10015 (aux): Remove.
10016 (sources): Remove.
10017 (objects): Remove.
10018 (headers): Remove.
10019
10020 [BZ #13750]
10021 * manual/.gitignore: Remove, it's not needed anymore.
10022 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10023 all files in it.
10024 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10025 directory.
10026 (texis): Renamed to $(objpfx)texis.
10027 (texis-path): New, contains path to generated files.
10028 (chapters.%): Use texis-path for complete path, add extra argument
10029 libc-texinfo.sh.
10030 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10031 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10032 (summary,texi, stamp-summary): Use complete path of
10033 files. Generate files in build dir.
10034 (dir-add.texi): Build in build dir.
10035 (libm-err.texi,stamp-libm-err): Likewise.
10036 (version.texi, stamp-version): Likewise.
10037 (.%c.texi): Likewise.
10038 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10039 (mostlyclean): Remove target.
10040 (realclean): Remove target.
10041 (generated): Add new variable with contents from mostlyclean and
10042 realclean, remove entries duplicated in common-mostlyclean, add
10043 stamp-libm-err and stamp-version.
10044 (generated-dirs): Add libc directory.
10045 ($(inst_infodir)/libc.info): Install files from build dir.
10046
10047 * manual/install.texi (Configuring and compiling): Adjust since
10048 the info files are not part of the tar ball anymore.
10049
7ac77294
AJ
100502012-05-14 Andreas Jaeger <aj@suse.de>
10051
10052 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10053 variable.
10054
ffb7875d
JM
100552012-05-14 Joseph Myers <joseph@codesourcery.com>
10056
10057 [BZ #13717]
10058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10059 to 2.2.0 where earlier.
10060 * sysdeps/unix/sysv/linux/configure: Regenerated.
10061 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10062 Remove conditional code.
10063 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10064 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10065 Remove conditional code.
10066 [!__NR_lchown]: Likewise.
10067 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10068 [__NR_lchown]: Likewise.
10069 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10070 comment referencing __ASSUME_LCHOWN_SYSCALL.
10071 * sysdeps/unix/sysv/linux/i386/sigaction.c
10072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10074 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10075 Remove conditional code.
10076 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10077 (__protocol_available): Remove #if 0 code.
10078 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10079 conditional code.
10080 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10081 * sysdeps/unix/sysv/linux/kernel-features.h
10082 (__ASSUME_GETCWD_SYSCALL): Don't define.
10083 (__ASSUME_REALTIME_SIGNALS): Likewise.
10084 (__ASSUME_PREAD_SYSCALL): Likewise.
10085 (__ASSUME_PWRITE_SYSCALL): Likewise.
10086 (__ASSUME_POLL_SYSCALL): Likewise.
10087 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10088 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10089 non-SPARC.
10090 (__ASSUME_SIOCGIFNAME): Don't define.
10091 (__ASSUME_MSG_NOSIGNAL): Likewise.
10092 (__ASSUME_SENDFILE): Define unconditionally.
10093 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10094 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10095 conditional code.
10096 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10097 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10098 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10099 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10100 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10101 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10102 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10119 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10125 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10127 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10128 Remove conditional code.
10129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10130 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10131 Remove conditional code.
10132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10133 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10134 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10135 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10136 Remove conditional code.
10137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10138 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10139 Remove conditional code.
10140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10141 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10142 Remove conditional code.
10143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10144 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10145 Remove conditional code.
10146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10147 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10148 Remove conditional code.
10149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10150 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10153 * sysdeps/unix/sysv/linux/sigaction.c
10154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10156 * sysdeps/unix/sysv/linux/sigpending.c
10157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10159 * sysdeps/unix/sysv/linux/sigprocmask.c
10160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10162 * sysdeps/unix/sysv/linux/sigsuspend.c
10163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10166 (__libc_missing_rt_sigs): Remove.
10167 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10168 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10169 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10170 Remove conditional code.
10171 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10172 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10173 return 1.
10174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10175 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10177 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10178
1bfb7291
AJ
101792012-05-14 Andreas Jaeger <aj@suse.de>
10180
caae5a81
AJ
10181 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10182 it's not used in glibc.
10183 (__coshm1): Likewise.
10184 (__acosh1p): Likewise.
10185 (__sgn): Likewise.
10186
1bfb7291
AJ
10187 * manual/string.texi (Copying and Concatenation): Add missing
10188 variable in concat example.
10189 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10190
c044d724
L
101912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10192
144c5467 10193 [BZ #14103]
c044d724
L
10194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10195 __builtin_clzl with __builtin_clzll.
10196
2523c62b
L
101972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 [BZ #14104]
10200 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10201 libc_freeres_ptr.
10202
d7bb4c42
LD
102032012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10204
10205 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10206 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10207 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10209
9dc4e1fb
MF
102102012-05-14 Mike Frysinger <vapier@gentoo.org>
10211
10212 * NEWS: Update ia64 info.
10213
c7df0112
AS
102142012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10215
10216 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10217 used as bcopy.
10218
dc70356c
TS
102192012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10220
10221 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10222 * sysdeps/unix/syscalls.list (dup3): Likewise.
10223 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10224 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10225
9fb1a21f
L
102262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10227
10228 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10229 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10230
4822a2a5
L
102312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10234 thread pointer.
10235 (TLS_IE): Use mov/add instead of movq/addq to load thread
10236 pointer.
10237 (TLS_GD_PREFIX): New.
10238 (TLS_GD): Use it.
10239
842b81d6
DM
102402012-05-11 David S. Miller <davem@davemloft.net>
10241
10242 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10243 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10244 (_FPU_SETCW): Likewise.
10245
1cf463cd
L
102462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10249 is 32-byte aligned.
10250
60cc4a18
AS
102512012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10252
10253 [BZ #11837]
10254 * iconvdata/gb18030.c: Update tables.
10255 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10256 characters specially.
10257 (BODY for TO_LOOP): Add encoding of missing ranges.
10258
febb44a4
TS
102592012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10260
10261 [BZ #13673]
10262 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10263 * sysdeps/mach/hurd/dup3.c: Likewise.
10264 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10265 * sysdeps/powerpc/memmove.c:: Likewise.
10266
0a10fb9e
L
102672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10270 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10271
df8a552f
L
102722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10273
10274 * elf/elf.h (R_X86_64_RELATIVE64): New.
10275 (R_X86_64_NUM): Updated.
10276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10277 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10278 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10279 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10280 tst-quad1pie tst-quad2pie
10281 (modules-names): Add tst-quadmod1 tst-quadmod2.
10282 ($(objpfx)tst-quad1): New dependency.
10283 ($(objpfx)tst-quad2): Likewise.
10284 ($(objpfx)tst-quad1pie): Likewise.
10285 ($(objpfx)tst-quad2pie): Likewise.
10286 * sysdeps/x86_64/tst-quad1.c: New file.
10287 * sysdeps/x86_64/tst-quad1pie.c: New file.
10288 * sysdeps/x86_64/tst-quad2.c: Likewise.
10289 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10290 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10291 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10292 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10293 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10294
f34d6f84
ST
102952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10296
f42d41d1
ST
10297 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10298 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10299 * streams/stropts.h (t_scalar_t): Define type.
10300
3c3571fc
ST
10301 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10302 (_PATH_PRESERVE): Set to "/var/lib".
10303 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10304
61f06bd3
ST
10305 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10306 instead of int.
10307
918d4d71
ST
10308 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10309 if __dir_mkfile succeeded.
10310
f34d6f84
ST
10311 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10312 checking for _hurd_dtablesize. Unlock it right after having
10313 finished _hurd_dtable allocation.
10314
10589b4a
TS
103152012-05-10 Thomas Schwinge <thomas@schwinge.name>
10316
674cdbc7
TS
10317 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10318 * sysdeps/mach/hurd/configure: Regenerated.
10319 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10320 special-casing to...
10321 * sysdeps/gnu/configure.in: ... this new file.
10322 * sysdeps/unix/sysv/linux/configure: Regenerated.
10323 * sysdeps/gnu/configure: New generated file.
10324
8e41b99f
TS
10325 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10326 for Linux: use nsec instead of usec, as well as:
10327 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10328 members of type struct timespec.
10329 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10330 New macros.
10331 (struct stat64): Likewise.
10332 (_STATBUF_ST_NSEC): New macro.
10333 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10334
10589b4a
TS
10335 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10336 __strtoul_internal rather than strtoul.
10337
63643c85
PT
103382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10339
10340 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10341 and reject them.
10342
3faebe6a
ST
103432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10344
10345 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10346 which preserves existing values.
10347 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10348
c6474b07
PT
103492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10350
10351 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10352 TIMEOUT values. Return EINVAL for NFDS values either negative or
10353 greater than FD_SETSIZE.
10354
1043890b
ST
103552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10356
10357 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10358 allocated, call __vm_protect to finish enabling the existing space, and
10359 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10360 allocate the remainder.
10361
37ed8b9b
PT
103622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10363
10364 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10365 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10366
db653660
ST
103672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10368
37ed8b9b
PT
10369 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10370 sysdeps/mach/hurd/readlink.c.
b29d4053 10371
db653660
ST
10372 * posix/tst-sysconf.c (posix_options): Only use
10373 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10374 _POSIX_SYNCHRONIZED_IO when they are defined
10375 * sysdeps/mach/hurd/bits/posix_opt.h:
10376 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10377 (_XOPEN_REALTIME): Undefine macro.
10378 (_XOPEN_REALTIME_THREADS): Undefine macro.
10379 (_XOPEN_SHM): Undefine macro.
10380 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10381 macro to -1.
10382 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10383 macro to -1.
10384 (_POSIX_ASYNC_IO): Undefine macro.
10385 (_POSIX_PRIORITIZED_IO): Undefine macro.
10386 (_POSIX_SPIN_LOCKS): Define macro to -1.
10387
ee16e894
ST
10388 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10389 SA_NODEFER, SA_RESETHAND.
10390 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10391 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10392 F_DUPFD_CLOEXEC.
10393
6103ae3b
TS
103942012-05-10 Thomas Schwinge <thomas@schwinge.name>
10395
10396 * elf/Makefile (pldd-modules): Define unconditionally.
10397
80b4e5f3
TS
103982012-05-10 Thomas Schwinge <thomas@schwinge.name>
10399
10400 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10401
edadcbd6
ST
104022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10403
10404 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10405 Return ENOENT when name is empty.
10406 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10407
80694780
TS
104082012-05-10 Thomas Schwinge <thomas@schwinge.name>
10409
1792c087
TS
10410 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10411
80694780
TS
10412 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10413
6b645f0d
ST
104142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10415
80694780
TS
10416 Fix mlock in all cases except non-readable pages.
10417 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10418 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10419
6b645f0d
ST
10420 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10421 (__mkdir): When path is `/', just fail with EEXIST.
10422 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10423
e468f8a3
TS
104242012-05-10 Thomas Schwinge <thomas@schwinge.name>
10425
10426 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10427 <sys/uio.h> (for writev).
10428 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10429 and <sys/param.h> (for MIN).
10430
a4186cff
PT
104312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10432
10433 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10434 REQUESTED_TIME. Properly set the remaining time and return EINTR
10435 if interrupted.
10436
510bbf14
TS
104372012-05-10 Thomas Schwinge <thomas@schwinge.name>
10438
10439 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10440 Depend on against $(link-rpcuserlibs).
10441
5d5722e8
ST
104422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10443
a4186cff
PT
10444 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10445 (__libc_stack_end): Do not use attribute_relro.
10446 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10447 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10448 to libthread-provided value.
a4186cff
PT
10449 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10450 attribute_relro.
5d5722e8 10451
37233df9
TS
104522012-05-10 Thomas Schwinge <thomas@schwinge.name>
10453
be971a2b
TS
10454 [BZ #3748]
10455 * bits/libc-lock.h (__libc_once_get): New macro.
10456 * sysdeps/mach/bits/libc-lock.h: Likewise.
10457 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10459 instead of using implementation details.
10460
37233df9
TS
10461 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10462 * libio/freopen.c: Likewise.
10463 * libio/freopen64.c: Likewise.
10464 * misc/syslog.c: Likewise.
10465 * nscd/connections.c: Likewise.
10466 * nscd/netgroupcache.c: Likewise.
10467 * sysdeps/posix/getcwd.c: Likewise.
10468
38de94a5
RM
104692012-05-10 Roland McGrath <roland@hack.frob.com>
10470
10471 * math/w_ilogbf.c: Add #include <limits.h>.
10472
67530489
ST
104732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10474
a4186cff 10475 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10476 path instead of returning without unlocking.
10477
67530489
ST
10478 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10479 immediate-write ioctls.
10480 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10481
5aa3a74a
TS
104822012-05-10 Thomas Schwinge <thomas@schwinge.name>
10483
18bad2ae
TS
10484 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10485 __builtin_frame_address instead of making assumptions about the
10486 location of the return address relative to DATA. Force early load of
10487 the return address.
10488 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10489 __builtin_frame_address.
10490
5aa3a74a
TS
10491 dup3 for GNU Hurd.
10492 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10493 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10494 implement dup3 and do some further code clean-ups.
10495 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10496 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10497
ecd0de9a
ST
104982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10499
cd9fa985
ST
10500 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10501
a4186cff
PT
10502 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10503 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10504 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10505 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10506 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10507 d->port.lock.
802ca5a5 10508
a4186cff
PT
10509 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10510 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10511 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10512
bcf55240
TS
105132012-05-10 Thomas Schwinge <thomas@schwinge.name>
10514
6960eb42
TS
10515 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10516 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10517 definitions.
10518
eb43375f
TS
10519 accept4 for GNU Hurd.
10520 * include/sys/socket.h (__libc_accept4): New prototype.
10521 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10522 to implement __libc_accept4.
10523 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10524 __libc_accept4.
10525 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10526
bcf55240
TS
10527 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10528 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10529 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10530 signal-defines.sym.
10531
6178c55b
ST
105322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10533
a4186cff 10534 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10535
6f080c2f
TS
105362012-05-10 Thomas Schwinge <thomas@schwinge.name>
10537
10538 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10539 assertion on O_CLOEXEC flag.
10540 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10541 * hurd/intern-fd.c: Likewise.
10542 * hurd/port2fd.c: Likewise.
10543
bcfe3a54
ST
105442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10545
10546 [BZ #3906]
10547 * bits/in.h (IPV6_PKTINFO): Define new macro.
10548 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10549
89c9aa49
AZ
105502012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551
10552 [BZ #13954]
10553 [BZ #13955]
10554 [BZ #13956]
10555 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10557 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10558 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10560 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10561 * math/libm-test.inc (logb_test) : Additional logb tests.
10562
021db4be
AJ
105632012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10564 Andreas Jaeger <aj@suse.de>
10565
10566 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10567 * configure: Regenerated.
10568 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10569 * config.make.in (link-obsolete-rpc): New substituted variable.
10570 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10571 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10572 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10573 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10574 so that libc.a contains the symbols.
10575 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10576 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10577 * sunrpc/auth_none.c: Likewise.
10578 * sunrpc/auth_unix.c: Likewise.
10579 * sunrpc/authdes_prot.c: Likewise.
10580 * sunrpc/authuxprot.c: Likewise.
10581 * sunrpc/clnt_gen.c: Likewise.
10582 * sunrpc/clnt_perr.c: Likewise.
10583 * sunrpc/clnt_raw.c: Likewise.
10584 * sunrpc/clnt_simp.c: Likewise.
10585 * sunrpc/clnt_tcp.c: Likewise.
10586 * sunrpc/clnt_udp.c: Likewise.
10587 * sunrpc/clnt_unix.c: Likewise.
10588 * sunrpc/des_crypt.c: Likewise.
10589 * sunrpc/des_soft.c: Likewise.
10590 * sunrpc/get_myaddr.c: Likewise.
10591 * sunrpc/key_call.c: Likewise.
10592 * sunrpc/key_prot.c: Likewise.
10593 * sunrpc/netname.c: Likewise.
10594 * sunrpc/pm_getmaps.c: Likewise.
10595 * sunrpc/pm_getport.c: Likewise.
10596 * sunrpc/pmap_clnt.c: Likewise.
10597 * sunrpc/pmap_prot.c: Likewise.
10598 * sunrpc/pmap_prot2.c: Likewise.
10599 * sunrpc/pmap_rmt.c: Likewise.
10600 * sunrpc/publickey.c: Likewise.
10601 * sunrpc/rpc_cmsg.c: Likewise.
10602 * sunrpc/rpc_common.c: Likewise.
10603 * sunrpc/rpc_dtable.c: Likewise.
10604 * sunrpc/rpc_prot.c: Likewise.
10605 * sunrpc/rpc_thread.c: Likewise.
10606 * sunrpc/rtime.c: Likewise.
10607 * sunrpc/svc.c: Likewise.
10608 * sunrpc/svc_auth.c: Likewise.
10609 * sunrpc/svc_raw.c: Likewise.
10610 * sunrpc/svc_run.c: Likewise.
10611 * sunrpc/svc_tcp.c: Likewise.
10612 * sunrpc/svc_udp.c: Likewise.
10613 * sunrpc/svc_unix.c: Likewise.
10614 * sunrpc/svcauth_des.c: Likewise.
10615 * sunrpc/xcrypt.c: Likewise.
10616 * sunrpc/xdr.c: Likewise.
10617 * sunrpc/xdr_array.c: Likewise.
10618 * sunrpc/xdr_float.c: Likewise.
10619 * sunrpc/xdr_intXX_t.c: Likewise.
10620 * sunrpc/xdr_mem.c: Likewise.
10621 * sunrpc/xdr_rec.c: Likewise.
10622 * sunrpc/xdr_ref.c: Likewise.
10623 * sunrpc/xdr_sizeof.c: Likewise.
10624 * sunrpc/xdr_stdio.c: Likewise.
10625
b5c086a2
RM
106262012-05-10 Roland McGrath <roland@hack.frob.com>
10627
10628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10629 change. Update copyright years.
10630
6d74dd09
JM
106312012-05-10 Joseph Myers <joseph@codesourcery.com>
10632
10633 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10634
28e72501
MK
106352012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10636 Joseph Myers <joseph@codesourcery.com>
10637 Paul Pluzhnikov <ppluzhnikov@google.com>
10638
10639 [BZ #14012]
10640 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10641 requiring rpcgen.
10642 [cross-compiling] (extra-libs): Likewise.
10643 [cross-compiling] (extra-libs-others): Likewise.
10644 [cross-compiling] (librpcsvc-routines): Likewise.
10645 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10646 [cross-compiling] (omit-deps): Likewise.
10647 (sunrpc-CPPFLAGS): New variable.
10648 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10649 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10650 (cross-rpcgen-objs): New variable.
10651 (extra-objs): Append $(cross-rpcgen-objs).
10652 ($(cross-rpcgen-objs)): New rule.
10653 ($(objpfx)cross-rpcgen): Likewise.
10654 (rpcgen-cmd): Define to use $(built-program-file). Expand
10655 comment.
10656 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10657 ($(objpfx)x%.stmp): Likewise.
10658 * sunrpc/proto.h [IS_IN_build] (_): Define.
10659 [IS_IN_build] (_libc_intl_domainname): Likewise.
10660
c8c59454
L
106612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10662
10663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10664 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10665 and R_X86_64_TPOFF64.
10666
6f27cd16
JM
106672012-05-10 Joseph Myers <joseph@codesourcery.com>
10668
10669 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10670 sysdeps/unix/sysv/syscalls.list.
10671 (stime): Likewise.
10672 (utime): Likewise.
10673 * sysdeps/unix/sysv/syscalls.list: Remove file.
10674
02467e1c
PE
106752012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10676
10677 [BZ #3440]
10678 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10679 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10680 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10681 (__LC_IDENTIFICATION): Make these macros useful in #if
10682 expressions, as required by C99.
10683
da392631
AS
106842012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10685
10686 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10687 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10688 after this.
10689
8115f29b
L
106902012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10691
10692 * stdlib/longlong.h: Updated from GCC.
10693
bdd74070
AJ
106942012-05-09 Andreas Jaeger <aj@suse.de>
10695
edfe0dbe
AJ
10696 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10697 default is first entry.
10698 (run_mode): Set type.
10699 (main): Remove informal message about syslog.
10700 (options): Fix typo.
10701
bcfe3a54
ST
10702 [BZ #14053]
10703 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10704 to asm.
bcfe3a54
ST
10705 (lrint): Likewise.
10706 (llrintf): Likewise.
10707 (llrint): Likewise.
10708 (rint): Likewise.
10709 (rintf): Likewise.
10710 (nearbyint): Likewise.
10711 (nearbyintf): Likewise.
bdd74070 10712
91d8d69e
AJ
107132012-05-09 Andreas Jaeger <aj@suse.de>
10714 Pedro Alves <palves@redhat.com>
10715
10716 * nscd/nscd.c (run_mode): Use enum.
10717 (main): Cleanup coding style issue.
10718
bb90b80b
AJ
107192012-05-09 Alexandre Oliva <aoliva@redhat.com>
10720 Andreas Jaeger <aj@suse.de>
10721
bcfe3a54
ST
10722 * nscd/nscd.c (go_background): Replaced with...
10723 (run_mode): ... this.
bb90b80b 10724 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10725 (options): Add -F --foreground.
10726 (main): Implement it.
10727 (parse_opt): Parse it.
bb90b80b 10728
1a4b75a1
AJ
107292012-05-09 Andreas Jaeger <aj@suse.de>
10730
10731 [BZ #14083]
10732 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10733 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10734 -Wconversion warning.
10735 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10736 Likewise.
10737
b1cc2472
JM
107382012-05-09 Joseph Myers <joseph@codesourcery.com>
10739
10740 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10741 == 0.
10742 (LC_ALL): Use macro-int-constant.
10743 (LC_COLLATE): Likewise.
10744 (LC_CTYPE): Likewise.
10745 (LC_MESSAGES): Likewise.
10746 (LC_MONETARY): Likewise.
10747 (LC_NUMERIC): Likewise.
10748 (LC_TIME): Likewise.
10749 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10750 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10752 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10753 Specify type.
10754 [C99-based standards] (float_t): Expect type.
10755 [C99-based standards] (double_t): Expect type.
10756 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10757 type.
10758 [C99-based standards] (HUGE_VALL): Likewise.
10759 [C99-based standards] (INFINITY): Likewise.
10760 [C99-based standards] (NAN): Likewise.
10761 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10762 [C99-based standards] (FP_NAN): Likewise.
10763 [C99-based standards] (FP_NORMAL): Likewise.
10764 [C99-based standards] (FP_SUBNORMAL): Likewise.
10765 [C99-based standards] (FP_ZERO): Likewise.
10766 [C99-based standards] (FP_FAST_FMA): Use
10767 optional-macro-int-constant. Specify type. Require == 1.
10768 [C99-based standards] (FP_FAST_FMAF): Likewise.
10769 [C99-based standards] (FP_FAST_FMAL): Likewise.
10770 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10771 [C99-based standards] (FP_ILOGBNAN): Likewise.
10772 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10773 Specify type.
10774 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10775 [C99-based standards] (math_errhandling): Specify type.
10776 [ISO99 || ISO11] (signgam): Do not allow.
10777 [non-C99-based standards] (copysignf): Do not allow.
10778 [non-C99-based standards] (exp2f): Likewise.
10779 [non-C99-based standards] (log2f): Likewise.
10780 [non-C99-based standards] (modff): Allow.
10781 [non-C99-based standards] (erff): Do not allow.
10782 [non-C99-based standards] (erfcf): Likewise.
10783 [non-C99-based standards] (gammaf): Likewise.
10784 [non-C99-based standards] (hypotf): Likewise.
10785 [non-C99-based standards] (j0f): Likewise.
10786 [non-C99-based standards] (j1f): Likewise.
10787 [non-C99-based standards] (jnf): Likewise.
10788 [non-C99-based standards] (lgammaf): Likewise.
10789 [non-C99-based standards] (tgammaf): Likewise.
10790 [non-C99-based standards] (y0f): Likewise.
10791 [non-C99-based standards] (y1f): Likewise.
10792 [non-C99-based standards] (ynf): Likewise.
10793 [non-C99-based standards] (isnanf): Likewise.
10794 [non-C99-based standards] (acoshf): Likewise.
10795 [non-C99-based standards] (asinhf): Likewise.
10796 [non-C99-based standards] (atanhf): Likewise.
10797 [non-C99-based standards] (cbrtf): Likewise.
10798 [non-C99-based standards] (expm1f): Likewise.
10799 [non-C99-based standards] (ilogbf): Likewise.
10800 [non-C99-based standards] (log1pf): Likewise.
10801 [non-C99-based standards] (logbf): Likewise.
10802 [non-C99-based standards] (nextafterf): Likewise.
10803 [non-C99-based standards] (remainderf): Likewise.
10804 [non-C99-based standards] (rintf): Likewise.
10805 [non-C99-based standards] (scalbf): Likewise.
10806 [non-C99-based standards] (copysignl): Likewise.
10807 [non-C99-based standards] (exp2l): Likewise.
10808 [non-C99-based standards] (log2l): Likewise.
10809 [non-C99-based standards] (modfl): Allow.
10810 [non-C99-based standards] (erfl): Do not allow.
10811 [non-C99-based standards] (erfcl): Likewise.
10812 [non-C99-based standards] (gammal): Likewise.
10813 [non-C99-based standards] (hypotl): Likewise.
10814 [non-C99-based standards] (j0l): Likewise.
10815 [non-C99-based standards] (j1l): Likewise.
10816 [non-C99-based standards] (jnl): Likewise.
10817 [non-C99-based standards] (lgammal): Likewise.
10818 [non-C99-based standards] (tgammal): Likewise.
10819 [non-C99-based standards] (y0l): Likewise.
10820 [non-C99-based standards] (y1l): Likewise.
10821 [non-C99-based standards] (ynl): Likewise.
10822 [non-C99-based standards] (isnanl): Likewise.
10823 [non-C99-based standards] (acoshl): Likewise.
10824 [non-C99-based standards] (asinhl): Likewise.
10825 [non-C99-based standards] (atanhl): Likewise.
10826 [non-C99-based standards] (cbrtl): Likewise.
10827 [non-C99-based standards] (expm1l): Likewise.
10828 [non-C99-based standards] (ilogbl): Likewise.
10829 [non-C99-based standards] (log1pl): Likewise.
10830 [non-C99-based standards] (logbl): Likewise.
10831 [non-C99-based standards] (nextafterl): Likewise.
10832 [non-C99-based standards] (remainderl): Likewise.
10833 [non-C99-based standards] (rintl): Likewise.
10834 [non-C99-based standards] (scalbl): Likewise.
10835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10836 [non-C99-based standards] (FP_*): Do not allow.
10837 [C99-based standards] (FP_*): Change to
10838 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10839 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10840 allow.
10841 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10842 (SIG_ERR): Likewise.
10843 [X/Open-based standards] (SIG_HOLD): Likewise.
10844 (SIG_IGN): Likewise.
10845 (SIGABRT): Use macro-int-constant. Specify type. Require
10846 positive value.
10847 (SIGFPE): Likewise.
10848 (SIGILL): Likewise.
10849 (SIGINT): Likewise.
10850 (SIGSEGV): Likewise.
10851 (SIGTER): Likewise.
10852 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10853 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10854 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10855 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10856 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10857 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10858 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10859 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10860 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10861 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10862 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10863 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10864 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10865 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10866 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10867 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10868 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10869 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10870 [X/Open-based standards] (SIGTRAP): Likewise.
10871 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10872 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10873 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10874 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10875 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10876 allow.
10877
b9f1922d
IW
108782012-05-08 Ian Wienand <ianw@vmware.com>
10879
10880 [BZ #14080]
10881 * time/tzset.c (__tzset_parse_tz): Update default rules for
10882 daylight time changes in the Energy Policy Act of 2005.
10883
1db86e88
AJ
108842012-05-09 Andreas Jaeger <aj@suse.de>
10885
10886 [BZ #13983]
10887 * elf/ldconfig.c (parse_conf): Change string to make clear that
10888 ldconfig only issued a warning if ld.so.conf does not exist.
10889
dee4a4e3
DM
108902012-05-08 David S. Miller <davem@davemloft.net>
10891
ee0db190
DM
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10893 movxtod instead of popping the value on the stack.
10894
dee4a4e3
DM
10895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10896
6a43ec98
CD
108972012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10898
10899 * config.h.in: Add HAVE_ARM_PCS_VFP.
10900
05c2c961
RMG
109012012-05-08 Roland Mc Grath <roland@hack.frob.com>
10902
bcfe3a54
ST
10903 [BZ #13979]
10904 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10905 checking but the checks are disabled for any reason.
05c2c961 10906
4b30f61a
L
109072012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10910 and ELF64_R_TYPE with ELFW(R_TYPE).
10911
eee2bc67
JM
109122012-05-08 Joseph Myers <joseph@codesourcery.com>
10913
7ea5391a
JM
10914 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10915 (ulimit): Likewise.
10916
eee2bc67
JM
10917 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10918 (settimeofday): Likewise.
10919
abb66a67
MF
109202012-05-08 Mike Frysinger <vapier@gentoo.org>
10921
10922 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10923 a struct th_u2 inside the union, and move tu_block/tu_code into
10924 a new th_u3 union of tu_block/tu_code inside of that. Move
10925 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10926 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10927 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10928 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10929 (th_stuff): Change to th_u1.tu_stuff.
10930 (th_data): Define.
10931 (th_msg): Change to th_u1.th_u2.tu_data.
10932
7f18b530
DM
109332012-05-07 David S. Miller <davem@davemloft.net>
10934
05760585
DM
10935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10936
7f18b530
DM
10937 [BZ #14074]
10938 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10939 (SETUP_PIC_REG): Use it.
10940 (SETUP_PIC_REG_LEAF): Use it.
10941
495fd99f
JM
109422012-05-07 Joseph Myers <joseph@codesourcery.com>
10943
10944 [BZ #13885]
10945 [BZ #13923]
10946 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10947 USE_AS_EXPM1L.
10948 (EXPL_FINITE): Likewise.
10949 (FLDLOG): Likewise.
10950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10951 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10952 e_expl.S.
10953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10954 USE_AS_EXPM1L.
10955 (EXPL_FINITE): Likewise.
10956 (FLDLOG): Likewise.
10957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10958 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10959 e_expl.S.
10960 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10961 test of -max_value argument for long double.
10962 * sysdeps/i386/fpu/libm-test-ulps: Update.
10963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10964
6693d694
DM
109652012-05-06 David S. Miller <davem@davemloft.net>
10966
10967 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10968 quad soft-float symbols whose references which are compiler
10969 generated.
10970 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10971
6c23e11c
JM
109722012-05-06 Joseph Myers <joseph@codesourcery.com>
10973
d8b82cad
JM
10974 [BZ #13884]
10975 [BZ #13914]
10976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10977 USE_AS_EXP10L.
10978 (EXPL_FINITE): Likewise.
10979 (FLDLOG): Likewise.
10980 (c0): Likewise.
10981 (c1): Likewise.
10982 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10983 Adjust comments for base varying.
10984 (__expl_finite): Change alias to EXPL_FINITE.
10985 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10986 e_expl.S.
10987 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10988 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10990 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10991 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10992 USE_AS_EXP10L.
10993 (EXPL_FINITE): Likewise.
10994 (FLDLOG): Likewise.
10995 (c0): Likewise.
10996 (c1): Likewise.
10997 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10998 Adjust comments for base varying.
10999 (__expl_finite): Change alias to EXPL_FINITE.
11000 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11001 tests for bugs.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11003
6c23e11c
JM
11004 [BZ #14064]
11005 * math/libm-test.inc (check_float_internal): Correct ulp
11006 calculation for subnormal expected results.
11007
29ba805c
AJ
110082012-05-06 Andreas Jaeger <aj@suse.de>
11009
11010 * Makeconfig (+math-flags): New, set to -frounding-math.
11011 (+cflags): Add +math-flags so that all of glibc gets compiled with
11012 it.
11013
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11015
7b17aeda
JM
110162012-05-05 Joseph Myers <joseph@codesourcery.com>
11017
5779f134
JM
11018 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11019 Disable one test.
11020
41498f4d
JM
11021 [BZ #13787]
11022 [BZ #13922]
11023 [BZ #14036]
11024 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11025 (__ieee754_expl): Allow for and saturate large arguments.
11026 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11027 (u_threshold): Likewise.
11028 (__exp): Call __ieee754_exp before checking for overflow and
11029 underflow.
11030 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11031 (u_threshold): Likewise.
11032 (__expf): Call __ieee754_expf before checking for overflow and
11033 underflow.
11034 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11035 (u_threshold): Likewise.
11036 (__expl): Call __ieee754_expl before checking for overflow and
11037 underflow.
11038 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11039 (__ieee754_expl): Allow for and saturate large arguments.
11040 * math/libm-test.inc (exp_test): Add another test. Do not allow
11041 missing overflow exception on overflow.
11042 (expm1_test): Do not allow missing overflow exception on overflow.
11043
6698b8bf
JM
11044 * sysdeps/i386/fpu/e_expl.c: Move to ...
11045 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11046 rather than using inline asm.
11047 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11048 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11049 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11050
7b17aeda
JM
11051 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11052 (nice): Likewise.
11053 (poll): Likewise.
11054 (signal): Likewise.
11055 (time): Likewise.
11056 (times): Likewise.
11057
f7c85819
JM
110582012-05-04 Joseph Myers <joseph@codesourcery.com>
11059
11060 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11061 sysdeps/unix/common/syscalls.list.
11062 (fchmod): Likewise.
11063 (fchown): Likewise.
11064 (ftruncate): Likewise.
11065 (getrusage): Likewise.
11066 (gettimeofday): Likewise.
11067 (setpgid): Likewise.
11068 (setregid): Likewise.
11069 (setreuid): Likewise.
11070 (sigaction): Likewise.
11071 (truncate): Likewise.
11072 (vhangup): Likewise.
11073 * sysdeps/unix/common/syscalls.list: Remove file.
11074 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11075 * sysdeps/unix/sysv/linux/Implies: Likewise.
11076
336270d0
L
110772012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11078
11079 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11081 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11082 Moved to ...
11083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11084 Here.
11085 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11086 to ...
11087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11088 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11089 to ...
11090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11091 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11092 to ...
11093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11094 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11095 to ...
11096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11097 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11098 to ...
11099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11100 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11101 to ...
11102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11103 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11104 to ...
11105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11106 Here.
11107 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11108 to ...
11109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11110 Here.
11111 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11112 to ...
11113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11114 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11115 Moved to ...
11116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11117 Here.
11118 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11119 to ...
11120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11121
d128e450
JM
111222012-05-04 Joseph Myers <joseph@codesourcery.com>
11123
fa8ee516
JM
11124 * sysdeps/unix/common/bits/dirent.h: Remove file.
11125 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11126
d128e450
JM
11127 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11128 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11129 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11130 * sysdeps/unix/bsd/isatty.c: Likewise.
11131 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11132 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11133 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11134
ff8faaf0 111352012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11136
62881be4 11137 [BZ #13563]
31dc8730
AZ
11138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11139 long double comparison inaccuracies.
11140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11142
6fef930c
AS
111432012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11144
11145 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11147
8f203e6c
JM
111482012-05-04 Joseph Myers <joseph@codesourcery.com>
11149
11150 [BZ #14049]
11151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11152 nonzero digits before rounding a hex value.
11153 * stdlib/tst-strtod.c (tests): Add another test.
11154
5197d9c2
AK
111552012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11156
11157 * sysdeps/s390/fpu/libm-test-ulps: Update.
11158
f0c1dedf
AJ
111592012-05-03 Andreas Jaeger <aj@suse.de>
11160
11161 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11162 does not get optimized out.
11163 (malloc_opt_barrier): New.
11164
a65ef2ae 111652012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11166 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11167
2b942cb7 11168 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11169 intermediate file deletion.
2b942cb7 11170 (generated): Add .symlist files.
a65ef2ae 11171
54b71e02
JM
111722012-05-03 Joseph Myers <joseph@codesourcery.com>
11173
11174 [BZ #13775]
11175 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11176 Redirect under this condition.
11177 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11178 [__USE_GNU] (__dprintf_chk): Not under this condition.
11179 [__USE_GNU] (__vdprintf_chk): Likewise.
11180 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11181 under this condition.
11182 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11183 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11184 [__USE_XOPEN2K8] (vdprintf): Likewise.
11185 [__USE_GNU] (__dprintf_chk): Not under this condition.
11186 [__USE_GNU] (__vdprintf_chk): Likewise.
11187 [__USE_GNU] (dprintf): Likewise.
11188 [__USE_GNU] (vdprintf): Likewise.
11189
d3dfcc41
RM
111902012-05-03 Roland McGrath <roland@hack.frob.com>
11191
11192 * elf/Makefile (common-generated): Set this instead of generated for
11193 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11194 $(all-built-dso)-derived lists.
11195
7ac30cc5
AJ
111962012-05-03 Andreas Jaeger <aj@suse.de>
11197
0c51e550
AJ
11198 * sysdeps/i386/fpu/libm-test-ulps: Update.
11199
7ac30cc5
AJ
11200 * FAQ: Removed.
11201 * FAQ.in: Likewise.
11202 * scripts/gen-FAQ.pl: Likewise.
11203 * manual/install.texi (Installation): Point to online location of
11204 FAQ.
11205 * Makefile (files-for-dist): Remove FAQ.
11206 (FAQ): Remove.
11207
d4c2917f
AM
112082012-05-02 Allan McRae <allan@archlinux.org>
11209
11210 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11211 (LDFLAGS-reldepmod5.so): Likewise.
11212 (LDFLAGS-reldep6mod1.so): Likewise.
11213 (LDFLAGS-reldep6mod4.so): Likewise.
11214 (LDFLAGS-reldep8mod3.so): Likewise.
11215 (LDFLAGS-unload4mod1.so): Likewise.
11216 (LDFLAGS-unload4mod2.so): Likewise.
11217 (LDFLAGS-tst-initorder): Likewise.
11218 (LDFLAGS-tst-initordera2.so): Likewise.
11219 (LDFLAGS-tst-initordera3.so): Likewise.
11220 (LDFLAGS-tst-initordera4.so): Likewise.
11221 (LDFLAGS-tst-initorderb2.so): Likewise.
11222 (LDFLAGS-noload): Likewise.
11223 (LDFLAGS-next): Likewise.
11224 (LDFLAGS-order2mod1.so): Likewise.
11225 (LDFLAGS-order2mod2.so): Likewise.
11226 (LDFLAGS-tst-initorder2): Likewise.
11227 (LDFLAGS-tst-initorder2a.so): Likewise.
11228 (LDFLAGS-tst-initorder2b.so): Likewise.
11229 (LDFLAGS-tst-initorder2c.so): Likewise.
11230 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11231
d77f993f
DM
112322012-05-02 David S. Miller <davem@davemloft.net>
11233
11234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11235
171a70b4
PP
112362012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11237
11238 [BZ #14055]
11239 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11240
0be196ad
AJ
112412012-05-02 Andreas Jaeger <aj@suse.de>
11242
11243 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11244 since we manipulate rounding mode.
11245 (CPPFLAGS-test-idouble.c): Likewise.
11246 (CPPFLAGS-test-ifloat.c): Likewise.
11247 (CFLAGS-test-ldouble.c): Likewise.
11248 (CFLAGS-test-double.c): Likewise.
11249 (CFLAGS-test-float.c): Likewise.
11250 (CFLAGS-test-misc.c): Likewise.
11251 (CFLAGS-test-test-fenv.c): Likewise.
11252
4f9d04aa
AZ
112532012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11254
2b942cb7
RM
11255 [BZ #2550]
11256 [BZ #2570]
11257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11258 comparisons to determine direction to adjust input.
4f9d04aa 11259
82a79e7d
RM
112602012-05-01 Roland McGrath <roland@hack.frob.com>
11261
f5a01ca9
RM
11262 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11263 output to the target.
11264
90fe4186
RM
11265 * scripts/localplt.awk: New file.
11266 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11267 (check-localplt-CFLAGS): Variable removed.
11268 ($(all-built-dso:=.jmprel)): New static pattern rule.
11269 (generated): Add those targets.
11270 (localplt-built-dso): New variable.
11271 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11272
11273 * elf/check-localplt.c: File removed.
11274
82397ed6
RM
11275 * scripts/check-execstack.awk: New file.
11276 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11277 (check-execstack-CFLAGS): Variable removed.
11278 ($(objpfx)check-execstack.h): Target removed.
11279 ($(objpfx)execstack-default): New target.
11280 (generated): Add that instead of check-execstack.h.
11281 ($(all-built-dso:=.phdr)): New static pattern rule.
11282 (generated): Add those targets.
11283 * elf/check-execstack.c: File removed.
11284
82a79e7d
RM
11285 * scripts/check-textrel.awk: New file.
11286 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11287 (check-textrel-CFLAGS): Variable removed.
11288 (all-built-dso): Use := to define.o
11289 ($(all-built-dso:=.dyn)): New static pattern rule.
11290 (generated): Add those targets.
11291 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11292 * config.make.in (READELF): New substituted variable.
11293 * elf/check-textrel.c: File removed.
11294
62fde54f 112952012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11296
615605c9
JM
11297 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11298 allow.
11299 * conform/data/ctype.h-data [C99-based standards] (isblank):
11300 Expect function.
11301 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11302 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11304 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11305 Specify type. Require positive value.
11306 (EILSEQ): Likewise.
11307 (ERANGE): Likewise.
11308 [ISO || POSIX] (EILSEQ): Do not expect.
11309 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11310 Specify type. Require positive value.
11311 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11312 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11313 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11314 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11315 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11316 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11317 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11318 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11319 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11320 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11321 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11322 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11323 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11324 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11325 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11326 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11327 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11328 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11329 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11330 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11331 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11332 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11333 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11334 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11335 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11336 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11337 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11338 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11339 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11340 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11341 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11342 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11343 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11344 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11345 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11346 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11347 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11348 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11349 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11350 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11351 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11352 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11353 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11354 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11355 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11356 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11357 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11358 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11359 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11360 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11361 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11362 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11363 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11364 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11365 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11366 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11367 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11368 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11369 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11370 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11371 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11372 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11373 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11374 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11376 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11377 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11378 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11379 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11380 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11381 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11382 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11383 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11385 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11386 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11387 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11388 Require >= 2.
11389 (FLT_ROUNDS): Expect as macro, not constant.
11390 (FLT_MANT_DIG): Use macro-int-constant.
11391 (DBL_MANT_DIG): Likewise.
11392 (LDBL_MANT_DIG): Likewise.
11393 (FLT_DIG): Likewise.
11394 (DBL_DIG): Likewise.
11395 (LDBL_DIG): Likewise.
11396 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11397 (DBL_MIN_EXP): Likewise.
11398 (LDBL_MIN_EXP): Likewise.
11399 (FLT_MAX_EXP): Use macro-int-constant.
11400 (DBL_MAX_EXP): Likewise.
11401 (LDBL_MAX_EXP): Likewise.
11402 (FLT_MAX_10_EXP): Likewise.
11403 (DBL_MAX_10_EXP): Likewise.
11404 (LDBL_MAX_10_EXP): Likewise.
11405 (FLT_MAX): Use macro-constant.
11406 (DBL_MAX): Likewise.
11407 (LDBL_MAX): Likewise.
11408 (FLT_EPSILON): Use macro-constant. Give upper bound.
11409 (DBL_EPSILON): Likewise.
11410 (LDBL_EPSILON): Likewise.
11411 (FLT_MIN): Likewise.
11412 (DBL_MIN): Likewise.
11413 (LDBL_MIN): Likewise.
11414 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11415 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11416 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11417 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11418 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11419 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11420 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11421 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11422 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11423 [ISO11] (FLT_TRUE_MIN): Likewise.
11424 [ISO11] (LDBL_TRUE_MIN): Likewise.
11425 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11426 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11427 (SCHAR_MIN): Use macro-int-constant. Specify type.
11428 (SCHAR_MAX): Likewise.
11429 (UCHAR_MAX): Likewise.
11430 (CHAR_MIN): Likewise.
11431 (CHAR_MAX): Likewise.
11432 (MB_LEN_MAX): Use macro-int-constant.
11433 (SHRT_MIN): Use macro-int-constant. Specify type.
11434 (SHRT_MAX): Likewise.
11435 (USHRT_MAX): Likewise.
11436 (INT_MAX): Likewise.
11437 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11438 bound negative.
11439 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11440 bound with "U".
11441 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11442 bound with "L".
11443 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11444 bound negative. Suffix upper bound with "L".
11445 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11446 bound with "UL".
11447 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11448 Specify type.
11449 [C99-based standards] (LLONG_MAX): Likewise.
11450 [C99-based standards] (ULLONG_MAX): Likewise.
11451 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11452 == 0.
11453 [ISO11] (max_align_t): Require type.
11454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11455
c9140a62
JM
11456 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11457 from $CFLAGS, without defining away __attribute__ calls.
11458 (checknamespace): Use $CFLAGS_namespace.
11459
9af0bf29
JM
11460 * conform/conformtest.pl (@keywords): Only include C99 keywords
11461 for standards based on C99 or C11.
11462
343222a2
JM
11463 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11464 Disable tests.
11465 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11466 UNIX98]: Likewise.
11467
661f8cf0
JM
11468 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11469 usability of symbols in #if.
11470
ee74b9cb
JM
11471 * conform/conformtest.pl: If macro or constant types start
11472 "promoted:", expect the symbol to be of the following type
11473 promoted by the integer promotions.
62fde54f 11474
aafc49b3
JM
11475 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11476 in one place. Also handle "macro-constant".
11477
fefdf574
JM
11478 * conform/conformtest.pl: Only accept expected macro values with
11479 "==". Parse all "macro" lines in one place.
11480 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11481
f2d922fe
JM
11482 * conform/conformtest.pl: Handle braced types on "constant" lines
11483 instead of handling "typed-constant".
11484 * conform/data/signal.h-data: Use "constant" instead of
11485 "typed-constant".
11486
d22956c9
JM
11487 * conform/conformtest.pl: Handle "optional-" at start of lines in
11488 one place rather than duplicating several cases. Handle each
11489 format of "macro" line with initial "optional-".
11490
028e2e38
JM
11491 * conform/conformtest.pl: Only accept expected constant or
11492 optional-constant values with "==". Parse all "constant" lines in
11493 one place. Parse all "optional-constant" lines in one place.
11494 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11495 * conform/data/fmtmsg.h-data: Likewise.
11496 * conform/data/netinet/in.h-data: Likewise.
11497 * conform/data/tar.h-data: Likewise.
11498 * conform/data/limits.h-data: Use "==" form on "constant" and
11499 "optional-constant" lines.
11500
1b8f2850
JM
11501 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11502 Use -std=c99 for XOPEN2K.
11503 (@knownproblems): Remove.
11504 (newtoken): Don't check %isknown.
11505
a05a144b
JM
11506 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11507 Do not expect macro.
11508 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11509 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11510 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11511 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11512 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11513 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11514 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11515 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11516 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11517 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11518 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11519 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11520 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11521 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11522 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11523 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11524 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11525 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11526 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11527 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11528 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11529 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11530 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11531 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11532 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11533 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11534 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11535 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11536 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11537 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11538 [XPG3] (acosh): Likewise.
11539 [XPG3] (asinh): Likewise.
11540 [XPG3] (atanh): Likewise.
11541 [XPG3] (cbrt): Likewise.
11542 [XPG3] (expm1): Likewise.
11543 [XPG3] (ilogb): Likewise.
11544 [XPG3] (log1p): Likewise.
11545 [XPG3] (logb): Likewise.
11546 [XPG3] (nextafter): Likewise.
11547 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11548 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11549 [XPG3] (remainder): Likewise.
11550 [XPG3] (rint): Likewise.
11551 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11552 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11553 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11554 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11555 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11556 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11557 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11558 [UNIX98 || XOPEN2K] (scalb): Expect.
11559 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11560 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11561 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11562 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11563 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11564 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11565 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11566 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11567 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11568 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11569 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11570 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11571 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11572 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11573 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11574 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11575 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11576 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11577 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11578 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11579 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11580 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11581 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11582 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11583 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11584 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11585 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11586 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11587 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11588 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11589 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11590 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11591 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11592 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11593 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11594 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11595 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11596 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11597 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11598 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11599 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11600 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11601 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11602 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11603 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11604 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11605 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11606 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11607 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11608 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11609 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11610 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11611 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11612 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11613 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11614 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11615 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11616 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11617 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11618 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11619 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11620 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11621 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11622 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11623 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11624 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11625 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11626 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11627 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11628 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11629 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11630 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11631 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11632 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11633 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11634 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11635 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11636 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11637 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11638 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11639 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11640 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11641 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11642 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11643 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11644 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11645 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11646 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11647 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11648 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11649 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11650 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11651 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11652 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11653 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11654 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11655 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11656 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11657 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11658 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11659 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11660 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11661 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11662 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11663 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11664 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11665 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11666 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11667 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11668 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11669 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11670 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11671 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11672 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11673 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11674 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11675 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11676 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11677 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11678 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11679 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11680 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11681 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11682 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11683 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11684 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11685 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11686 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11687 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11688 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11689 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11690 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11691 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11692 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11693 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11694 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11695 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11696
73c5ebe3
JM
11697 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11698 _XOPEN_SOURCE_EXTENDED for XPG4.
11699
39c33b6c
JM
11700 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11701
62fde54f
JM
11702 * Makeconfig (localtime): Remove variable.
11703 (inst_localtime-file): Likewise.
11704
0741d64c
AS
117052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11706
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11708 Update.
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11710 Update.
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11712 Update.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11714 Update.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11716 Update.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11718 Update.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11720 Update.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11722 Update.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11724 Update.
11725
7cb029ee
JM
117262012-05-01 Joseph Myers <joseph@codesourcery.com>
11727
11728 [BZ #2550]
11729 [BZ #2570]
11730 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11731 comparisons to determine direction to adjust input.
11732 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11733 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11735 Likewise.
11736 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11737 Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11739 Likewise.
11740 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11741 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11742 Likewise.
11743 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11744 Likewise.
11745 * math/libm-test.inc (nexttoward_test): Add more tests.
11746
412bd966
AS
117472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11748
11749 [BZ #14040]
11750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11751 in version GLIBC_2.1, not GLIBC_2.0.
11752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11753 Likewise.
11754
9568c0c2
JM
117552012-04-30 Joseph Myers <joseph@codesourcery.com>
11756
adfbc8ac
JM
11757 [BZ #13942]
11758 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11759 (1 - x) * (1 + x).
11760 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11761 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11762 * math/libm-test.inc (acos_test): Add more tests.
11763 (asin_test): Likewise.
11764 * sysdeps/i386/fpu/libm-test-ulps: Update.
11765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11766
5ba3cc69
JM
11767 [BZ #14034]
11768 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11769 of square root.
11770 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11771 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11772 * math/libm-test.inc (acos_test_tonearest): New function.
11773 (acos_test_towardzero): Likewise.
11774 (acos_test_downward): Likewise.
11775 (acos_test_upward): Likewise.
11776 (asin_test_tonearest): Likewise.
11777 (asin_test_towardzero): Likewise.
11778 (asin_test_downward): Likewise.
11779 (asin_test_upward): Likewise.
11780 (main): Call the new functions.
11781 * sysdeps/i386/fpu/libm-test-ulps: Update.
11782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11783
9568c0c2
JM
11784 [BZ #13884]
11785 [BZ #13924]
11786 * math/e_exp10.c: Include <float.h>.
11787 (__ieee754_exp10): Handle underflow here rather than multiplying
11788 large negative argument by M_LN10.
11789 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11790 of __ieee754_expf.
11791 * math/e_exp10l.c: Include <float.h>.
11792 (__ieee754_exp10l): Handle underflow here rather than multiplying
11793 large negative argument by M_LN10l.
11794 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11795 spurious overflow exception on underflow.
11796
5ac3ea17
MP
117972012-04-29 Marek Polacek <polacek@redhat.com>
11798
11799 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11800 (__fortify_function): New macro.
11801 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11802 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11803 __extern_always_inline.
11804 * libio/bits/stdio2.h: Likewise.
11805 * libio/bits/stdio.h: Likewise.
11806 * string/string.h: Likewise.
11807 * string/bits/string3.h: Likewise.
11808 * include/stdio.h: Likewise.
11809 * stdlib/bits/stdlib.h: Likewise.
11810 * stdlib/stdlib.h: Likewise.
11811 * rt/bits/mqueue2.h: Likewise.
11812 * rt/mqueue.h: Likewise.
11813 * posix/bits/unistd.h: Likewise.
11814 * posix/unistd.h: Likewise.
11815 * io/bits/poll2.h: Likewise.
11816 * io/bits/fcntl2.h: Likewise.
11817 * io/fcntl.h: Likewise.
11818 * io/sys/poll.h: Likewise.
11819 * misc/bits/syslog.h: Likewise.
11820 * misc/bits/syslog-ldbl.h: Likewise.
11821 * misc/sys/syslog.h: Likewise.
11822 * socket/bits/socket2.h: Likewise.
11823 * socket/sys/socket.h: Likewise.
11824 * debug/tst-chk1.c: Likewise.
11825 * wcsmbs/bits/wchar2.h: Likewise.
11826 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11827 * wcsmbs/wchar.h: Likewise.
11828
ecf0ebfb
AJ
118292012-04-29 Andreas Jaeger <aj@suse.de>
11830
11831 * Makerules (tests): Remove enable-check-abi protection.
11832 (check-abi-warn): Remove.
11833 (check-abi-%): Remove check-abi-warn usage.
11834
11835 * configure.in: Remove check-abi configure option.
11836 * configure: Regenerated.
11837 * config.make.in (enable-check-abi): Remove.
11838
6d5c57fa
AS
118392012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11840
24c5d07e 11841 [BZ #14033]
ded5180a
AS
11842 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11843 double functions to double *_finite functions.
11844
7e0d315d
AS
11845 [BZ #13941]
11846 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11847 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11848 LDBL_MIN_EXP.
11849 * stdio-common/Makefile (tests): Add tst-sprintf3.
11850 * stdio-common/tst-sprintf3.c: New file.
11851
6d5c57fa
AS
11852 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11853 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11854
0749ff8b
JM
118552012-04-28 Joseph Myers <joseph@codesourcery.com>
11856
11857 * conform/conformtest.pl: Remove duplicate typed-constant
11858 handling.
11859
8dbd5d7b
DM
118602012-04-28 David S. Miller <davem@davemloft.net>
11861
11862 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11863 (check-abi-%): Remove AWK script prerequisite and explicit
11864 abilist directory.
11865 (check-abi): Rewrite to just diff the symlist with the abilist.
11866 (config-tls, config-abi-config): Delete, no longer used.
11867 (update-abi-%): Remove AWK script and explicit abilist directory.
11868 (update-abi): Rewrite to simply compare and conditionally copy the
11869 symlist and the sysdep abilist file. Remove update-abi-config
11870 checks.
11871 * abilist/ld.abilist: Remove.
11872 * abilist/libBrokenLocale.abilist: Remove.
11873 * abilist/libanl.abilist: Remove.
11874 * abilist/libcrypt.abilist: Remove.
11875 * abilist/libdl.abilist: Remove.
11876 * abilist/librt.abilist: Remove.
11877 * abilist/libthread_db.abilist: Remove.
11878 * abilist/libutil.abilist: Remove.
11879 * scripts/extract-abilist.awk: Remove.
11880 * scripts/merge-abilist.awk: Remove.
11881 * sysdeps/generic/libcidn.abilist: New file.
11882 * sysdeps/generic/libnss_compat.abilist: New file.
11883 * sysdeps/generic/libnss_db.abilist: New file.
11884 * sysdeps/generic/libnss_dns.abilist: New file.
11885 * sysdeps/generic/libnss_files.abilist: New file.
11886 * sysdeps/generic/libnss_hesiod.abilist: New file.
11887 * sysdeps/generic/libnss_nis.abilist: New file.
11888 * sysdeps/generic/libnss_nisplus.abilist: New file.
11889 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11890 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11891 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11892 file.
11893 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11894 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11895 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11896 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11897 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11898 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11899 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11900 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11901 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11902 file.
11903 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11904 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11905 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11906 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11907 file.
11908 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11909 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11910 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11911 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11912 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11913 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11914 file.
11915 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11916 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11917 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11918 file.
11919 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11921 New file.
11922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11923 New file.
11924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11925 New file.
11926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11927 New file.
11928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11929 New file.
11930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11931 New file.
11932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11933 New file.
11934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11935 New file.
11936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11937 New file.
11938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11939 New file.
11940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11941 New file.
11942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11943 New file.
11944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11945 New file.
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11947 file.
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11949 New file.
11950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11951 New file.
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11953 file.
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11955 New file.
11956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11957 New file.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11959 file.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11961 New file.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11963 New file.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11965 New file.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11967 New file.
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11969 New file.
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11971 New file.
11972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11974 file.
11975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11976 New file.
11977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11978 file.
11979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11980 file.
11981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11982 file.
11983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11984 file.
11985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11986 file.
11987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11988 New file.
11989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11990 file.
11991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11992 file.
11993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11994 New file.
11995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11996 file.
11997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11999 file.
12000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12001 New file.
12002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12003 file.
12004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12005 file.
12006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12007 file.
12008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12009 file.
12010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12011 file.
12012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12013 New file.
12014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12015 file.
12016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12017 file.
12018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12019 New file.
12020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12021 file.
12022 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12023 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12024 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12025 file.
12026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12027 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12028 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12029 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12030 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12031 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12032 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12033 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12034 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12035 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12038 file.
12039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12040 New file.
12041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12042 file.
12043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12044 file.
12045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12046 file.
12047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12048 file.
12049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12050 file.
12051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12052 New file.
12053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12054 New file.
12055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12056 file.
12057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12058 New file.
12059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12060 file.
12061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12063 file.
12064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12065 New file.
12066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12067 file.
12068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12069 file.
12070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12071 file.
12072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12073 file.
12074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12075 file.
12076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12077 New file.
12078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12079 New file.
12080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12081 file.
12082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12083 New file.
12084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12085 file.
12086
41d73a1b
JM
120872012-04-28 Joseph Myers <joseph@codesourcery.com>
12088
12089 * conform/conformtest.pl: Fix typo in handling typed-constant from
12090 allow-header.
12091
28aeeda4
JM
120922012-04-27 Joseph Myers <joseph@codesourcery.com>
12093
adae8f5e
JM
12094 * README: Cut down references to pre-2.6 Linux kernels and
12095 Linuxthreads. Update lists of configurations in libc and ports
12096 and sort alphabetically. Say "or newer" with Linux kernel version
12097 requirements.
12098
28aeeda4
JM
12099 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12100
a462cb63
RA
121012012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12102
12103 [BZ #887]
12104 * math/libm-test.inc (logb_test_downward): New test to expose
12105 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12106 rounding mode.
12107
6ad3493e
JM
121082012-04-27 Joseph Myers <joseph@codesourcery.com>
12109
12110 [BZ #14027]
12111 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12112 to be done.
12113 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12114 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12115
2ce4f015
JM
121162012-04-26 Joseph Myers <joseph@codesourcery.com>
12117
5aeb141a
JM
12118 * sysdeps/unix/i386/brk.S: Remove file.
12119 * sysdeps/unix/i386/dl-brk.S: Likewise.
12120 * sysdeps/unix/i386/pipe.S: Likewise.
12121 * sysdeps/unix/i386/sigreturn.S: Likewise.
12122 * sysdeps/unix/i386/syscall.S: Likewise.
12123 * sysdeps/unix/i386/vfork.S: Likewise.
12124 * sysdeps/unix/i386/wait.S: Likewise.
12125
7143acae
JM
12126 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12127 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12128
2ce4f015
JM
12129 * configure.in (arm*-none*): Do not allow without
12130 --enable-hacker-mode.
12131 (netbsd*): Remove case setting base_os.
12132 (386bsd*): Likewise.
12133 (freebsd*): Likewise.
12134 (bsdi*): Likewise.
12135 (osf*): Likewise.
12136 (sunos*): Likewise.
12137 (ultrix*): Likewise.
12138 (newsos*): Likewise.
12139 (dynix*): Likewise.
12140 (*bsd*): Likewise.
12141 (sysv*): Likewise.
12142 (isc*): Likewise.
12143 (esix*): Likewise.
12144 (sco*): Likewise.
12145 (minix*): Likewise.
12146 (irix4*): Likewise.
12147 (irix6*): Likewise.
12148 (solaris[2-9]*): Likewise.
12149 (none): Likewise.
12150 * configure: Regenerated.
12151
0ac229c8
AZ
121522012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12153
12154 [BZ #11521]
12155 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12156 overflow or cancellation in calculating denominator.
12157 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12159 down expression to avoid unexpected rounding in newer GCCs.
12160 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12161
33f244f4
DM
121622012-04-26 David S. Miller <davem@davemloft.net>
12163
12164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12165 long-double compat symbols.
12166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12179
cfa1f3e8
DM
121802012-04-25 David S. Miller <davem@davemloft.net>
12181
12182 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12183 HWCAP_* values only after the memory barriers have been defined.
12184 (atomic_full_barrier): Define.
12185 (atomic_read_barrier): Define.
12186 (atomic_write_barrier): Define.
12187
6e236b92
SP
121882012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12189
12190 * shlib-versions: Add libgcc_s version information.
12191 * sysdeps/generic/libgcc_s.h: Remove.
12192 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12193 libgcc_s.h.
12194 * sysdeps/gnu/unwind-resume.c: Likewise.
12195 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12196
aab39a09
DM
121972012-04-25 David S. Miller <davem@davemloft.net>
12198
12199 * sysdeps/unix/sparc/brk.S: Delete.
12200 * sysdeps/unix/sparc/dl-brk.S: Delete.
12201 * sysdeps/unix/sparc/pipe.S: Delete.
12202 * sysdeps/unix/sparc/sysdep.S: Delete.
12203 * sysdeps/unix/sparc/sysdep.h: Delete.
12204 * sysdeps/unix/sparc/vfork.S: Delete.
12205 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12206 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12208 ret_ERRVAL, r0, r1, MOVE): Define.
12209 (JUMPTARGET): Remove.
12210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12211 sysdeps/unix/sparc/sysdep.h
12212 (ENTRY, END): Remove.
12213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12214
a3cc4f48
JM
122152012-04-25 Joseph Myers <joseph@codesourcery.com>
12216
2ed8cda2
JM
12217 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12218 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12219 -DIS_IN_build.
12220
35d76d59
JM
12221 * timezone/README: Update upstream location and email address for
12222 tzcode and tzdata.
12223 * timezone/zdump.c: Update from tzcode 2012b.
12224 * timezone/zic.c: Likewise.
12225
a3cc4f48
JM
12226 * configure.in (libc_cv_as_needed): Remove test.
12227 * configure: Regenerated.
12228 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12229 conditional definition.
12230 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12231 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12232 * config.make.in (have-as-needed): Remove variable.
12233
ceab42c3
SP
122342012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12235 Paul Pluzhnikov <ppluzhnikov@google.com>
12236
12237 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12238 strings correctly.
12239
3ce2865f
CLT
122402012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12241
12242 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12243 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12244 * sysdeps/sh/strlen.S: Likewise.
12245
f37e0d68
JM
122462012-04-24 Joseph Myers <joseph@codesourcery.com>
12247
ae186e9a
JM
12248 * sysdeps/unix/fork.S: Remove file.
12249 * sysdeps/unix/i386/fork.S: Likewise.
12250 * sysdeps/unix/sparc/fork.S: Likewise.
12251
b96914af
JM
12252 * sysdeps/unix/system.c: Remove file.
12253 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12254
f37e0d68
JM
12255 * sysdeps/unix/getegid.S: Remove file.
12256 * sysdeps/unix/geteuid.S: Likewise.
12257
87ef29ca
RM
122582012-04-24 Roland McGrath <roland@hack.frob.com>
12259
83bcd236
RM
12260 * scripts/check-localplt.awk: New file.
12261 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12262 of diff.
12263 * scripts/data/localplt-generic.data: Add a comment.
12264
87ef29ca
RM
12265 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12266 NODE when __dir_mkfile failed.
12267 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12268 Reported by Ludovic Courtès <ludo@gnu.org>.
12269
e5a6e567
AJ
122702012-04-24 Andreas Jaeger <aj@suse.de>
12271
12272 * Makerules (common-clean): Also remove gen-as-const-headers
12273 files.
12274
c1820385
JM
122752012-04-24 Joseph Myers <joseph@codesourcery.com>
12276
12277 * Makerules (native-compile): Do not change working directory for
12278 build. Use $(OUTPUT_OPTION) in command.
12279 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12280
94e02fc4
AZ
122812012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12282
12283 [BZ #13886]
12284 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12285 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12286 * math/libm-test.inc (floor_test): Add more tests.
12287 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12288
3a533ca3
JM
122892012-04-24 Joseph Myers <joseph@codesourcery.com>
12290
940ab4b3
JM
12291 * sysdeps/unix/getdents.c: Remove file.
12292 * sysdeps/unix/sysv/getdents.c: Likewise.
12293 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12294
90e037bd
JM
12295 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12296 sysdeps/unix/mman/syscalls.list.
12297 (mmap): Likewise.
12298 (mprotect): Likewise.
12299 (msync): Likewise.
12300 (munmap): Likewise.
12301 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12302 * sysdeps/unix/mman/syscalls.list: Remove.
12303 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12304
3a533ca3
JM
12305 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12306 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12307 * configure: Regenerated.
12308 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12309 $(libgcc_s_suffix).
12310 * config.make.in (libgcc_s_suffix): Remove variable.
12311
1ad743de
JM
123122012-04-23 Joseph Myers <joseph@codesourcery.com>
12313
4ad451e2
JM
12314 * sysdeps/unix/sysv/gethostname.c: Move to ...
12315 * sysdeps/posix/gethostname.c: ... here.
12316
5e37ce39
JM
12317 * sysdeps/unix/execve.S: Remove file.
12318
1ad743de
JM
12319 * sysdeps/unix/_exit.S: Remove file.
12320
4e681b5b
AJ
123212012-04-23 Andreas Jaeger <aj@suse.de>
12322
12323 [BZ #13739]
12324 * manual/Makefile: Remove make dist support, there's no
12325 need for a stand-alone documentation tar ball.
12326 (TEXI2DVI): Define always, it's not in Makeconfig.
12327 (dist): Removed.
12328 (tar-it): Removed.
12329 (edition): Removed.
12330 (glibc-doc-$(edition).tar): Removed
12331 (%.Z): Removed.
12332 (%.gz): Removed.
12333 (%.uu): Removed.
12334 (ETAGS): Remove, it's in Makeconfig.
12335 (move-if-change): Remove, it's in Makeconfig.
12336
38686a03 123372012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12338
12339 [BZ #13970]
12340 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12341 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12342 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12343 (strtod_l, strtof_l, strtold_l): Remove __wur.
12344 It is not necessarily an error to ignore strtol's return value.
12345 One can reliably look at the stored endptr to decide whether
12346 the number had valid syntax.
12347
7c0616fa
AJ
123482012-04-21 Andreas Jaeger <aj@suse.de>
12349
803cb6b7 12350 [BZ #13739]
7c0616fa
AJ
12351 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12352
b0fe253f
JM
123532012-04-21 Joseph Myers <joseph@codesourcery.com>
12354
12355 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12356 * sysdeps/unix/sysv/Versions: Remove file.
12357
8280f22d
MT
123582012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12359
12360 [BZ #13927]
12361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12362
75ce411f 123632012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12364
12365 [BZ #7064]
12366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12367 version from __vm86.
12368
097d59fa
JM
123692012-04-20 Joseph Myers <joseph@codesourcery.com>
12370
a90f3bcb
JM
12371 * sysdeps/unix/common/lxstat.c: Remove file.
12372 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12373
edc7ea78
JM
12374 * sysdeps/unix/sysv/Makefile: Remove file.
12375
cb78c221
JM
12376 * sysdeps/unix/sysv/direct.h: Remove file.
12377
efa6a45f
JM
12378 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12379 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12380 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12381 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12382 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12383 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12384 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12385
9c9f2d0c
JM
12386 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12387
4541c83b
JM
12388 * sysdeps/unix/xmknod.c: Remove file.
12389 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12390
f5d153a0
JM
12391 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12392
aa746595
JM
12393 * sysdeps/unix/sysv/i386/time.S: Remove file.
12394
cce5905e
JM
12395 * sysdeps/unix/fxstat.c: Remove file.
12396 * sysdeps/unix/xstat.c: Likewise.
12397 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12398
37fa3841
JM
12399 * sysdeps/unix/sysv/sigaction.c: Remove file.
12400
ff1962a3
JM
12401 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12402 (sysdep_headers): Remove variable.
12403 [termio.h not in sysdep_headers] (generated): Likewise.
12404 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12405 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12406 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12407 * sysdeps/unix/sysv/tcflow.c: Likewise.
12408 * sysdeps/unix/sysv/tcflush.c: Likewise.
12409 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12410 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12411 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12412 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12413 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12414
e7740d31
JM
12415 * sysdeps/unix/siglist.c: Remove file.
12416
ee06f18b
JM
12417 * sysdeps/unix/getppid.S: Remove file.
12418
097d59fa
JM
12419 * sysdeps/unix/mkdir.c: Remove file.
12420 * sysdeps/unix/rmdir.c: Likewise.
12421
ff3d51ec
AS
124222012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12423
12424 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12425 ERR_MAX value.
12426 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12427 errlist-compat value.
12428
50f81fd7
DM
124292012-04-18 David S. Miller <davem@davemloft.net>
12430
12431 * sysdeps/generic/memcopy.h (reg_char): Delete.
12432 * debug/strcat_chk.c: Use char, not reg_char.
12433 * debug/strcpy_chk.c: Likewise.
12434 * debug/strncat_chk.c: Likewise.
12435 * debug/strncpy_chk.c: Likewise.
12436 * string/memchr.c: Likewise.
12437 * string/memrchr.c: Likewise.
12438 * string/rawmemchr.c: Likewise.
12439 * string/strcat.c: Likewise.
12440 * string/strchr.c: Likewise.
12441 * string/strchrnul.c: Likewise.
12442 * string/strcmp.c: Likewise.
12443 * string/strcpy.c: Likewise.
12444 * string/strncat.c: Likewise.
12445 * string/strncmp.c: Likewise.
12446 * string/strncpy.c: Likewise.
12447
8ff41c46
WS
124482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12449
12450 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12451 __builtin_memcopy is called when src and dest ranges are known to not
12452 overlap.
12453
6b652f46
WS
124542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12455
12456 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12457 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12458 fwd_align_merge macro call.
12459 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12460 bwd_align_merge macro call.
12461 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12462
b282631e
WS
124632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12464
12465 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12466 bwd_align_merge macros.
12467 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12468 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12470
95aa737c
DM
124712012-04-18 David S. Miller <davem@davemloft.net>
12472
12473 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12474
7a99a614
AJ
124752012-04-18 Andreas Jaeger <aj@suse.de>
12476
12477 [BZ# 6794]
12478 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12479 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12481
12482 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12483 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12484 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12485
12486 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12487 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12488 Adjust for changed ldbl-128 files.
12489
12490 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12491 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12492 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12493
e5270c23
DM
124942012-04-17 David S. Miller <davem@davemloft.net>
12495
12496 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12497
fb5e92c9
AS
124982012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12499
12500 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12501 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12502 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12503 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12504 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12505 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12506
76da7265
AZ
125072012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12508
12509 [BZ #6794]
12510 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12511 * math/libm-test.inc: Add ilogb errno and exception tests.
12512 * math/w_ilogb.c: New file: ilogb wrapper.
12513 * math/w_ilogbf.c: New file: ilogbf wrapper.
12514 * math/w_ilogbl.c: New file: ilogbl wrapper.
12515 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12516 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12517 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12518 exception being thrown with 0.0 as argument.
12519 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12520 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12521 exception being thrown with 0.0 as argument.
12522 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12523 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12524 exception being thrown with 0.0 as argument.
12525 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12526 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12527 exception being thrown with 0.0 as argument.
12528 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12529 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12531 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12532 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12533 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12534 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12535 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12536 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12537
0396e69d
PB
125382012-04-17 Petr Baudis <pasky@ucw.cz>
12539
12540 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12541 with altivec.
12542
750b5926
MP
125432012-04-16 Marek Polacek <polacek@redhat.com>
12544
12545 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12546
751728a1
MP
125472012-04-16 Marek Polacek <polacek@redhat.com>
12548
12549 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12550 operands of fdivp instruction.
12551
34a27407
L
125522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12553
12554 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12555 * elf/tst-auditmod3b.c: Likewise.
12556 * elf/tst-auditmod4b.c: Likewise.
12557 * elf/tst-auditmod5b.c: Likewise.
12558 * elf/tst-auditmod6b.c: Likewise.
12559 * elf/tst-auditmod6c.c: Likewise.
12560 * elf/tst-auditmod7b.c: Likewise.
12561 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12562 * sysdeps/x86_64/preconfigure.in: Likewise.
12563 * sysdeps/x86_64/preconfigure: Regenerated.
12564
7e73e17d
L
125652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12568 __ILP32__.
12569
c7a6ab72
AB
125702012-04-13 Antoine Balestrat <merkil33@gmail.com>
12571
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12573 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12574
a9e8e0e0
CL
125752012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12576
12577 [BZ #13973]
12578 * locale/iso-639.def: Fix gl language name. Spotted by
12579 Yaron Shahrabani.
12580
ec98af7d
RM
125812012-04-12 Roland McGrath <roland@hack.frob.com>
12582
12583 [BZ #2074]
12584 * libio/libio.h (__io_write_fn): Update comment.
12585
247c3ede
PB
125862012-04-12 Petr Baudis <pasky@ucw.cz>
12587
12588 [BZ #2074]
12589 * stdio.texi (Hook Functions): The user provided writer function
12590 is not allowed to return -1.
12591
55939d6d
DM
125922012-04-11 David S. Miller <davem@davemloft.net>
12593
12594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12595
90020f5a
MF
125962012-04-11 Mike Frysinger <vapier@gentoo.org>
12597
12598 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12599 Add a leading slash to rtkaio.
12600
288f9098
JM
126012012-04-11 Jim Meyering <meyering@redhat.com>
12602
90020f5a
MF
12603 [BZ #11959]
12604 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12605 It is not necessarily an error to ignore fwrite's return
12606 value. One can reliably use ferror to test for errors after
12607 the fact.
288f9098 12608
4be2b570
L
126092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 * bits/types.h (__snseconds_t): New type.
12612 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12613
12614 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12616 (__SNSECONDS_T_TYPE): Likewise.
12617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12618 (__SNSECONDS_T_TYPE): Likewise.
12619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12620 (__SNSECONDS_T_TYPE): Likewise.
12621
288f9098 126222012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12623
12624 [BZ #2636]
12625 * manual/time.texi (Processor Time): Return type of times is
12626 elapsed real time since an arbitrary point in the past.
12627 (CPU Time): Move CLK_TCK from here...
12628 (Processor Time): ...to here. Correct description.
12629 * manual/conf.texi (Constants for Sysconf): Correct description of
12630 _SC_CLK_TCK.
12631
d7dd4413
DM
126322012-04-10 David S. Miller <davem@davemloft.net>
12633
12634 [BZ #13967]
12635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12636 where the is a gap between DT_REL(A) and DT_JMPREL.
12637
b46068fc
L
126382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12641 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12642 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12643
73d65cc3
SP
126442012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12645
12646 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12647 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12648 (dl_main): Handle --inhibit-cache.
12649 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12650 _dl_inhibit_cache.
12651 * elf/dl-load.c (_dl_map_object): Use it.
12652 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12653
bcc8d661
JM
126542012-04-09 Joseph Myers <joseph@codesourcery.com>
12655
8f9a2fae
JM
12656 [BZ #13872]
12657 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12658 (__ieee754_powl): Saturate large exponents rather than testing for
12659 overflow of y*log2(x).
12660 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12661 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12662 exceptions.
12663
bcc8d661
JM
12664 [BZ #11521]
12665 * math/s_ctan.c: Include <float.h>.
12666 (__ctan): Avoid internal overflow or cancellation in calculating
12667 denominator.
12668 * math/s_ctanf.c: Likewise.
12669 * math/s_ctanl.c: Likewise.
12670 * math/s_ctanh.c: Likewise.
12671 * math/s_ctanhf.c: Likewise.
12672 * math/s_ctanhl.c: Likewise.
12673 * math/libm-test.inc (ctan_test): Add more tests.
12674 (ctanh_test): Likewise.
12675 * sysdeps/i386/fpu/libm-test-ulps: Update.
12676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12677
823fbbb4
AJ
126782012-04-09 Andreas Jaeger <aj@suse.de>
12679
03879793
AJ
12680 [BZ #6894]
12681 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12682 is an optional BSD extension.
12683
823fbbb4
AJ
12684 [BZ #10254]
12685 * manual/stdio.texi (Opening Streams): Document additional fopen
12686 parameters.
12687
8de131cb
RM
126882012-04-09 Roland McGrath <roland@hack.frob.com>
12689
12690 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12691 %eax without telling the compiler.
12692
c0ed9d7d
CD
126932012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12694
12695 [BZ # 13963]
12696 * manual/install.texi: Use sourceware.org.
12697
c483f6b4
JM
126982012-04-09 Joseph Myers <joseph@codesourcery.com>
12699
d7dd9453
JM
12700 [BZ #13873]
12701 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12702 (__ieee754_pow): Generate overflow and underflow using huge*huge
12703 and tiny*tiny rather than just returning constant infinity or zero
12704 for large exponents.
12705 * math/libm-test.inc (pow_test): Require overflow exceptions for
12706 applicable cases of large exponents.
12707
c483f6b4
JM
12708 [BZ #706]
12709 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12710 (__ieee754_pow): Use iterative multiplication algorithm only for
12711 integer exponents with absolute value below 1024. Check for odd
12712 integer exponents when using algorithm for real exponents.
12713 * math/libm-test.inc (pow_test): Add more tests.
12714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12715
d2de7579
JM
127162012-04-08 Joseph Myers <joseph@codesourcery.com>
12717
12718 [BZ #13705]
12719 * math/libm-test.inc (exp_test): Do not allow overflow exception
12720 on underflow test.
12721
f77f1232
AJ
127222012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12723
12724 [BZ #13705]
12725 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12726 instead of __kernel_standard_f.
12727
3884932b
MF
127282012-04-08 Mike Frysinger <vapier@gentoo.org>
12729
12730 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12731 * sysdeps/x86_64/memset_chk.S: Likewise.
12732
54472e9c
AJ
127332012-04-08 Andreas Jaeger <aj@suse.de>
12734
6ab0fbfc
AJ
12735 [BZ #10153]
12736 * manual/startup.texi (Environment Access): Describe return value
12737 for putenv and setenv.
12738
61efba8c
AJ
12739 [BZ #6895]
12740 * manual/filesys.texi (Directory Entries): Add description for
12741 DT_LNK.
12742
95c3f29a
AJ
12743 [BZ #6890]
12744 * manual/filesys.texi (Directory Entries): Clarify that it's file
12745 system not operating system in the description of DT_UNKNOWN.
12746
54472e9c
AJ
12747 [BZ #6578]
12748 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12749
624254b1
SC
127502012-04-08 Stephen Compall <s11@member.fsf.org>
12751
12752 [BZ #6649]
12753 * manual/llio.texi (Opening and Closing Files): Add cross
12754 reference to explain mode argument.
12755
1e4920e0
MF
127562012-04-07 Mike Frysinger <vapier@gentoo.org>
12757
12758 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12759 * sysdeps/x86_64/memset_chk.S: Likewise.
12760
5ed848f3
DM
127612012-04-07 David S. Miller <davem@davemloft.net>
12762
12763 * elf/elf.h (R_SPARC_WDISP10): Define.
12764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12765 R_SPARC_SIZE32.
12766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12767 R_SPARC_SIZE64 and R_SPARC_H34.
12768
96154cd8
CD
127692012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12770
12771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12772 conditions and remove no longer applicable assertion.
12773
9904dc47
L
127742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 * bits/byteswap.h: Include <features.h>.
12777 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12778 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12779
f8887d0a
L
127802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12781
12782 * bits/byteswap.h (__bswap_16): Removed.
12783 Include <bits/byteswap-16.h> to get __bswap_16.
12784 * sysdeps/i386/bits/byteswap.h: Likewise.
12785 * sysdeps/s390/bits/byteswap.h: Likewise.
12786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12787 * bits/byteswap-16.h: New file.
12788 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12789 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12790 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12791 * string/Makefile (headers): Add bits/byteswap-16.h.
12792
62470f60
PP
127932012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12794
12795 [BZ #13895]
12796 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12797 extra indirection.
12798 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12799 * nss/tst-nss-static.c: New.
12800
4dad7bab
RM
128012012-04-06 Robert Millan <rmh@gnu.org>
12802
12803 [BZ #6486]
12804 * manual/llio.texi (File Position Primitive): lseek
12805 refers to WHENCE when it really means OFFSET.
12806
e9142a17
AJ
128072012-04-06 Andreas Jaeger <aj@suse.de>
12808
2c040eff
AJ
12809 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12810 strncmp declarations.
12811
e9142a17
AJ
12812 * abilist/libc.abilist: Add __poll and __ppoll.
12813
ff9f1c5f
DM
128142012-04-05 David S. Miller <davem@davemloft.net>
12815
dcd2ae90
DM
12816 * scripts/check-local-headers.sh: Accept a host triplet in the
12817 path matched by the exclude regexp.
12818
993eb054
DM
12819 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12820 definition.
12821 * sysdeps/powerpc/powerpc32/dl-machine.h
12822 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12823 * sysdeps/s390/s390-32/dl-machine.h
12824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12825 * sysdeps/sparc/sparc32/dl-machine.h
12826 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12827 * sysdeps/sparc/sparc64/dl-machine.h
12828 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12829
ff9f1c5f
DM
12830 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12831 lazy binding.
48e2e132 12832 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12833 undefined symbol errors.
12834
48e2e132 12835 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12836 DT_NEEDED entries.
12837
e80d6f94
MM
128382012-04-05 Michael Matz <matz@suse.de>
12839
12840 [BZ #13592]
12841 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12842
349fa79f
AJ
128432012-04-05 Andreas Jaeger <aj@suse.de>
12844
12845 [BZ #13908]
12846 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12847 comment.
12848
f402708f
KK
128492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12850
12851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12852 which ROUND is no valid rounding mode.
12853
2ecccfc9
KK
128542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12855
12856 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12857 read again.
12858 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12859
8a53f50f
KK
128602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12861
12862 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12863 an exception using FPU order intentionally.
12864
128652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12866
12867 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12868 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12869 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12870 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12871
d653abb7
SJ
128722012-04-05 Simon Josefsson <simon@josefsson.org>
12873
12874 [BZ #12340]
12875 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12876 EINVAL when BUFLEN is too smal.
12877
c3b1bf7d
TS
128782012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12879
12880 [BZ #13553]
12881 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12882 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12883
b1aa60f3
AJ
128842012-04-03 Andreas Jaeger <aj@suse.de>
12885
c3b1bf7d 12886 [BZ #13938]
67f60a26
AJ
12887 * manual/setjmp.texi (System V contexts): Fix sentence.
12888
b1aa60f3
AJ
12889 [BZ #13926]
12890 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12891 New macro for this case.
12892 [!__GNUC__] (__bswap_64): New inline function for this case.
12893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12894 * bits/byteswap.h: Likewise.
12895 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12896 ull, guard with __GLIBC_HAVE_LONG_LONG.
12897
12898 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12899 __GLIBC_HAVE_LONG_LONG.
12900
12901 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12902 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12903
39c59c35
TMQMF
129042012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12905
12906 [BZ #13691]
12907 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12908 inptr and inend, rather than using last_ch.
12909
135ffda8
DM
129102012-04-02 David S. Miller <davem@davemloft.net>
12911
12912 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12913 * stdio-common/printf-parse.h (read_int): Change return type to
12914 'int', return -1 on INT_MAX overflow.
12915 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12916 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12917 overflows INT_MAX. Check for overflow of in-format-string precision
12918 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12919 SIZE_MAX not INT_MAX for integer overflow test.
12920 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12921 skip the construct in the format string but do not record anything.
12922 * stdio-common/bug22.c: Adjust to test both width/prevision
12923 INT_MAX overflow as well as total length INT_MAX overflow. Check
12924 explicitly for proper errno values.
12925
228c019e
TS
129262012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12927
302cadd3
TS
12928 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12929 CHAR_MAX.
12930 * string/test-strcmp.c [! WIDE]: Likewise.
12931 * time/tst-mktime2.c: Likewise for INT_MAX.
12932 * string/test-string.h: #include <sys/param.h> for MIN.
12933
228c019e
TS
12934 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12935 * sysdeps/i386/init-first.c (init): Likewise.
12936 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12937 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12938 * sysdeps/sh/init-first.c (init): Likewise.
12939
cfa633f5
UD
129402012-04-01 Ulrich Drepper <drepper@gmail.com>
12941
12942 * po/ru.po: Update from translation team.
d1635ef8 12943 * po/vi.po: Likewise.
cfa633f5 12944
6cd0a5ea
SP
129452012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12946
12947 * resolv/nss_dns/dns-host.c: Merge copyright years.
12948
4b43400f
LD
129492012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12950
12951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12952 Optimize memcpy with prefetch if
12953 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12954 src, dst pointers have unequal 16 byte alignments.
12955
48c41d04
SP
129562012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12957
12958 [BZ #13928]
12959 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12960 from a CNAME entry and return the minimum ttl for the query.
12961 (gaih_getanswer_slice): Likewise.
12962
b8dc394d
JL
129632012-03-30 Jeff Law <law@redhat.com>
12964
12965 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12966 due to long keys.
12967 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12968 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12969
2f5a5ed0
JL
12970 * resolv/nss_dns/dns-host.c: Update copyright year.
12971
1d39e359
UD
129722012-03-30 Ulrich Drepper <drepper@gmail.com>
12973
c030f70c 12974 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12975 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12976
1d39e359
UD
12977 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12978 comments for sendmmsg.
12979
129802012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12981
12982 [BZ #13691]
12983 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12984 with only 1 character between 0x0041 and 0x01b0.
12985 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12986 * wcsmbs/tst-mbsnrtowcs.c: New file.
12987
20fde227
DM
129882012-03-29 David S. Miller <davem@davemloft.net>
12989
12990 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12991 small copies by hand.
12992
984a4237
JL
129932012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12994
12995 [BZ #13761]
12996 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12997 _nss_compat_initgroups_dyn): Fall back to malloc/free
12998 for large group memberships.
12999
18c9d62b
DM
130002012-03-28 David S. Miller <davem@davemloft.net>
13001
88d85d4f
DM
13002 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13003 that branches into memcpy.
13004 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13005 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13007 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13009 bits.
13010 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13011 implementation too.
13012 * sysdeps/sparc/mempcpy.S: New file.
13013
e5aa83e1
DM
13014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13015 the IFUNC routine in the libc case.
13016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13017
88570753
DM
13018 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13019 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13020 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13021 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13022 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13023 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13024 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13025 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13026
249d7567
DM
13027 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13028 loop to 256 bytes instead of 64 bytes and fix test signedness.
13029
18c9d62b
DM
13030 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13031 * sysdeps/sparc/sparc32/Makefile: rather than here...
13032 * sysdeps/sparc/sparc64/Makefile: and here.
13033
05f3d1f6
UD
130342012-03-28 Ulrich Drepper <drepper@gmail.com>
13035
13036 * malloc/mallocbug.c: Avoid warnings about unused variables.
13037
86ae07a8
JL
130382012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13039
13040 [BZ #13760]
13041 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13042 in the right place. Discard and retry query if response is
13043 larger than input buffer size.
13044
41bf21a1
JM
130452012-03-28 Joseph Myers <joseph@codesourcery.com>
13046
d6270972
JM
13047 [BZ #369]
13048 [BZ #2678]
13049 [BZ #3866]
13050 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13051 x for large integer exponent.
13052 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13053 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13054 sign of result as needed afterwards.
13055 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13056 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13057 result for underflowing pow the same as for overflow.
13058 (__kernel_standard_l): Handle powl overflow and underflow here
13059 rather than calling __kernel_standard.
13060 * math/libm-test.inc (pow_test): Add more tests.
13061
414fca03 13062 [BZ #3868]
41bf21a1
JM
13063 [BZ #13879]
13064 [BZ #13910]
13065 [BZ #13911]
13066 [BZ #13912]
13067 [BZ #13913]
13068 [BZ #13915]
13069 [BZ #13916]
13070 [BZ #13917]
13071 [BZ #13918]
13072 [BZ #13919]
13073 [BZ #13920]
13074 [BZ #13921]
13075 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13076 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13077 (__kernel_standard_l): New function.
13078 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13079 __kernel_standard.
13080 * math/w_acosl.c (__acosl): Likewise.
13081 * math/w_asinl.c (__asinl): Likewise.
13082 * math/w_atan2l.c (__atan2l): Likewise.
13083 * math/w_atanhl.c (__atanhl): Likewise.
13084 * math/w_coshl.c (__coshl): Likewise.
13085 * math/w_exp10l.c (__exp10l): Likewise.
13086 * math/w_exp2l.c (__exp2l): Likewise.
13087 * math/w_fmodl.c (__fmodl): Likewise.
13088 * math/w_hypotl.c (__hypotl): Likewise.
13089 * math/w_j0l.c (__j0l, __y0l): Likewise.
13090 * math/w_j1l.c (__j1l, __y1l): Likewise.
13091 * math/w_jnl.c (__jnl, __ynl): Likewise.
13092 * math/w_lgammal.c (__lgammal): Likewise.
13093 * math/w_log10l.c (__log10l): Likewise.
13094 * math/w_log2l.c (__log2l): Likewise.
13095 * math/w_logl.c (__logl): Likewise.
13096 * math/w_powl.c (__powl): Likewise.
13097 * math/w_remainderl.c (__remainderl): Likewise.
13098 * math/w_scalbl.c (sysv_scalbl): Likewise.
13099 * math/w_sinhl.c (__sinhl): Likewise.
13100 * math/w_sqrtl.c (__sqrtl): Likewise.
13101 * math/w_tgammal.c (__tgammal): Likewise.
13102 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13103 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13104 * math/libm-test.inc (acos_test): Add more tests.
13105 (acosh_test): Likewise.
13106 (asin_test): Likewise.
13107 (atanh_test): Likewise.
13108 (exp_test): Likewise.
13109 (exp10_test): Likewise.
13110 (exp2_test): Likewise.
13111 (expm1_test): Likewise.
13112 (lgamma_test): Likewise.
13113 (log_test): Likewise.
13114 (log10_test): Likewise.
13115 (log1p_test): Likewise.
13116 (log2_test): Likewise.
13117 (pow_test): Do not allow some spurious overflow exceptions.
13118 (sqrt_test): Add more tests.
13119 (tgamma_test): Likewise.
13120 (y0_test): Likewise.
13121 (y1_test): Likewise.
13122 (yn_test): Likewise.
13123
dd62fda6
AB
131242012-03-27 Anton Blanchard <anton@samba.org>
13125
13126 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13127 MAP_HUGETLB.
13128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13129 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13131
1e3cdfda
AJ
131322012-03-27 David S. Miller <davem@davemloft.net>
13133
b855ab85
DM
13134 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13135
1e3cdfda
AJ
13136 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13137 have-as-vis3 check.
13138
131392012-03-27 Andreas Jaeger <aj@suse.de>
13140
13141 * sysdeps/x86_64/elf/configure.in: Moved to ...
13142 * sysdeps/x86_64/configure.in: ... here.
13143 * sysdeps/x86_64/elf/start.S: Moved to ...
13144 * sysdeps/x86_64/start.S: ... here.
13145 * sysdeps/x86_64/elf/configure: Delete.
13146
13147 * sysdeps/x86_64/configure.in: Merge contents from
13148 sysdeps/i386/configure.in (without i686 check).
13149
13150 * sysdeps/i386/elf/Versions: Merge into ...
13151 * sysdeps/i386/Versions: ... this.
13152 * sysdeps/i386/elf/Versions: Delete file.
13153 * sysdeps/i386/elf/start.S: Moved to ...
13154 * sysdeps/i386/start.S: ...here.
13155 * sysdeps/i386/elf/configure.in: Merge into...
13156 * sysdeps/i386/configure.in: ...here.
13157 * sysdeps/i386/elf/configure.in: Delete file.
13158 * sysdeps/i386/elf/configure: Delete file.
13159
13160 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13161 * debug/backtracesyms.c: ... here.
13162 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13163 * debug/backtracesymsfd.c: ... here.
13164 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13165 * sysdeps/generic/ifunc-sel.h: ... here.
13166
13167 * sysdeps/unix/i386/start.c: Delete file.
13168 * sysdeps/unix/sparc/start.c: Delete file.
13169 * sysdeps/unix/start.c: Delete file.
13170
13171 * sysdeps/sh/elf/configure.in: Moved to ...
13172 * sysdeps/sh/configure.in: ... here.
13173 * sysdeps/sh/elf/start.S: Moved to ...
13174 * sysdeps/sh/start.S: ... here.
13175 * sysdeps/sh/elf/configure: Delete file.
13176
13177 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13178 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13179 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13180 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13181 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13182 * sysdeps/powerpc/powerpc64/start.S: here.
13183 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13184 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13185 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13186 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13187 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13188
13189 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13190 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13191 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13192 * sysdeps/powerpc/powerpc32/start.S: ... here.
13193 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13194 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13195 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13196
13197 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13198 * sysdeps/powerpc/ifunc-sel.h: ... here.
13199 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13200 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13201
13202 * sysdeps/sparc/elf/configure.in: Moved to ...
13203 * sysdeps/sparc/configure.in: ... here.
13204 * sysdeps/sparc/elf/configure: Delete file.
13205 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13206 * sysdeps/sparc/sparc32/start.S: ... here.
13207 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13208 * sysdeps/sparc/sparc64/start.S: ... here.
13209 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13210 * sysdeps/sparc/sparc32/Makefile: ... this.
13211 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13212 * sysdeps/sparc/sparc64/Makefile: ... this.
13213
13214 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13215 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13216 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13217 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13218 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13219 * sysdeps/s390/s390-32/setjmp.S: ... here.
13220 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13221 * sysdeps/s390/s390-32/configure.in: ... here.
13222 * sysdeps/s390/s390-32/elf/configure: Delete file.
13223 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13224 * sysdeps/s390/s390-32/start.S: ... here.
13225
13226 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13227 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13228 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13229 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13230 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13231 * sysdeps/s390/s390-64/setjmp.S: ... here.
13232 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13233 * sysdeps/s390/s390-64/configure.in: ... here
13234 * sysdeps/s390/s390-64/elf/configure: Delete file.
13235 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13236 * sysdeps/s390/s390-64/start.S: ... here.
13237 * sysdeps/s390/s390-64/elf/configure: Delete.
13238
13239 * configure.in: Remove support for elf directories in sysdeps.
13240
13241 * configure: Regenerated.
13242 * sysdeps/i386/configure: Regenerated.
13243 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13244 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13245 * sysdeps/s390/s390-32/configure: Regenerated.
13246 * sysdeps/s390/s390-64/configure: Regenerated.
13247 * sysdeps/sh/configure: Regenerated.
13248 * sysdeps/sparc/configure: Regenerated.
13249 * sysdeps/x86_64/configure: Regenerated.
13250
a3f61311
AS
132512012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13252
c876e002
AS
13253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13254
a3f61311
AS
13255 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13256 denormal result into account.
13257
ac4c54f0
RM
132582012-03-25 Roland McGrath <roland@hack.frob.com>
13259
13260 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13261 Reported by Allan McRae <allan@archlinux.org>.
13262
6a9b9c02
JL
132632012-03-23 Jeff Law <law@redhat.com>
13264
13265 * nss/getnssent.c (__nss_getent): Fix typo.
13266
4c42a0c1
DM
132672012-03-23 David S. Miller <davem@davemloft.net>
13268
13269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13270
1532c7ac
L
132712012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13272
13273 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13274 to pad to uint64_t for each field.
13275 (dl_tls_index): Replace unsigned long with uint64_t.
13276
3ff42526
PP
132772012-03-23 Daniel Jacobowitz <dmj@google.com>
13278 Paul Pluzhnikov <ppluzhnikov@google.com>
13279
13280 [BZ #6528]
13281 * grp/Makefile (otherlibs): Don't set it.
13282 * inet/Makefile (otherlibs): Likewise.
13283 * login/Makefile (otherlibs): Likewise.
13284 * nscd/Makefile (otherlibs): Likewise.
13285 * posix/Makefile (otherlibs): Likewise.
13286 * pwd/Makefile (otherlibs): Likewise.
13287 * rt/Makefile (otherlibs): Likewise.
13288 * sunrpc/Makefile (otherlibs): Likewise.
13289 * nss/Makefile (otherlibs): Likewise.
13290 Add libnss_files to routines and static-only-routines.
13291 ($(objpfx)getent): Remove rule.
13292 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13293 static-only-routines.
13294
7c69cd14
JM
132952012-03-22 Joseph Myers <joseph@codesourcery.com>
13296
13297 [BZ #13892]
13298 * math/s_cexp.c: Include <float.h>.
13299 (__cexp): Handle exp result overflowing not necessarily
13300 overflowing both real and imaginary parts of result.
13301 * math/s_cexpf.c: Likewise.
13302 * math/s_cexpl.c: Likewise.
13303 * math/libm-test.inc (cexp_test): Add more tests.
13304 * sysdeps/i386/fpu/libm-test-ulps: Update.
13305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13306
81b035fe
L
133072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13308
13309 * include/link.h (ELFW): New macro.
13310 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13311 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13312
1da7940c
L
133132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13314
13315 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13316 with uint64_t.
13317
b749dbb9
L
133182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13319
13320 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13321 declaration.
13322 (struct La_x32_retval): Likewise.
13323
2ff87f3f
L
133242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * sysdeps/x86_64/preconfigure.in: New file.
13327 * sysdeps/x86_64/preconfigure: New generated file.
13328
c0df8e69
JM
133292012-03-22 Joseph Myers <joseph@codesourcery.com>
13330
48e44791
JM
13331 [BZ #13824]
13332 * math/e_exp2l.c: Include <float.h>.
13333 (__ieee754_exp2l): Handle overflow and underflow cases
13334 separately. Only pass fractional part of argument to
13335 __ieee754_expl.
13336 * math/libm-test.inc (exp2_test): Add more tests.
13337
c0df8e69
JM
13338 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13339 negating x to take absolute value.
13340 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13341 Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13344 Likewise.
13345 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13346 computing low part if x was negated.
13347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13348
c8e43ba7
L
133492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13350
13351 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13352 la_x32_gnu_pltexit.
13353 (pltexit): Cast int_retval to ptrdiff_t.
13354 * elf/tst-auditmod3b.c: Likewise.
13355 * elf/tst-auditmod4b.c: Likewise.
13356 * elf/tst-auditmod5b.c: Likewise.
13357 * elf/tst-auditmod6b.c: Likewise.
13358 * elf/tst-auditmod6c.c: Likewise.
13359 * elf/tst-auditmod7b.c: Likewise.
13360
13361 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13362 and x32_gnu_pltexit.
13363
13364 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13365 __ELF_NATIVE_CLASS.
13366 (La_x32_regs): New macro.
13367 (La_x32_retval): Likewise.
13368 (la_x32_gnu_pltenter): New function prototype.
13369 (la_x32_gnu_pltexit): Likewise.
13370
7998fa78
AS
133712012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13372
dcb33988
AS
13373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13374 exponent.
13375
233fc563
AS
13376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13377
7998fa78
AS
13378 * configure.in (libc_cv_cc_nofma): Check for option to disable
13379 generation of FMA instructions.
13380 * configure: Regenerate.
13381 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13382 * sysdeps/ieee754/dbl-64/Makefile: New file.
13383 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13384 Remove brandred-fma4.
13385 (CFLAGS-brandred-fma4.c): Remove.
13386 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13388 define.
13389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13390 define.
13391
8e95c99a
L
133922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13393
13394 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13395 LLONG_MAX != LONG_MAX.
13396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13397 (_fitoa_word): Likewise.
13398 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13399 LLONG_MAX != LONG_MAX.
13400 * stdio-common/_itowa.h: Include <_itoa.h>.
13401 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13402 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13403 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13404 only if not defined.
13405 (_ITOA_WORD_TYPE): Likewise.
13406 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13407 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13408
6f4db457
DM
134092012-03-21 David S. Miller <davem@davemloft.net>
13410
13411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13412
7785fe5a
L
134132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13416 of x86_64 when setting libc_cv_slibdir, libdir and
13417 libc_cv_localedir.
13418 * sysdeps/unix/sysv/linux/configure: Regenerated.
13419
4535cd55
JM
134202012-03-21 Joseph Myers <joseph@codesourcery.com>
13421
13422 * manual/lang.texi (Old Varargs): Remove section.
13423 (How Variadic): Update menu.
13424 (va_start): Do not mention varargs.h.
13425
17228132
TS
134262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13427 Joseph Myers <joseph@codesourcery.com>
13428
13429 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13430 link test.
13431 * configure: Regenerated.
13432
8149f976
TS
134332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13434
05f3d1f6
UD
13435 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13436 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13437 conformtest.pl
8149f976 13438
1a4ac776
JM
134392012-03-21 Joseph Myers <joseph@codesourcery.com>
13440
be22ce65
JM
13441 * NOTES: Remove.
13442 * Makefile (files-for-dist): Remove NOTES.
13443 (NOTES): Remove rule.
13444 * README: Don't refer to NOTES.
13445 * manual/creature.texi: Don't include macros.texi.
13446 * manual/intro.texi (creature.texi): Remove comment referring to
13447 NOTES.
13448
40b601fb
JM
13449 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13450 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13451 * configure: Regenerated.
13452 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13453 LIBC_TRY_CC_OPTION.
13454 (libc_cv_as_i686): Likewise.
13455 (libc_cv_cc_avx): Likewise.
13456 (libc_cv_cc_sse2avx): Likewise.
13457 (libc_cv_cc_fma4): Likewise.
13458 (libc_cv_cc_novzeroupper): Likewise.
13459 * sysdeps/i386/configure: Regenerated.
13460
1a4ac776
JM
13461 [BZ #13883]
13462 * sysdeps/i386/fpu/s_cexp.S: Remove.
13463 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13464 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13465 * math/libm-test.inc (cexp_test): Add more tests.
13466 * sysdeps/i386/fpu/libm-test-ulps: Update.
13467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468
a458e7fe
AM
134692012-03-21 Allan McRae <allan@archlinux.org>
13470
13471 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13472
0cb7efc5
JM
134732012-03-21 Joseph Myers <joseph@codesourcery.com>
13474
13475 [BZ #13871]
13476 * math/w_exp2.c: Do not include <float.h>.
13477 (o_threshold, u_threshold): Remove.
13478 (__exp2): Calculate result before checking finiteness and calling
13479 __kernel_standard.
13480 * math/w_exp2f.c: Likewise.
13481 * math/w_exp2l.c: Likewise.
13482 * math/libm-test.inc (exp2_test): Require overflow exception for
13483 1e6 input.
2460d3aa
JM
13484
13485 [BZ #3866]
13486 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13487 range of signed 64-bit integers before using fistpll. Remove
13488 checks for whether integers fit in mantissa bits.
13489 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13490 the range of signed 32-bit integers before using fistpl. Remove
13491 checks for whether integers fit in mantissa bits.
13492 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13493 (__ieee754_powl): Test for y outside the range of signed 64-bit
13494 integers before using fistpll. Reduce 64-bit values to 63-bit
13495 ones as needed.
13496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13497 divide-by-zero is raised for zero to large negative powers.
13498 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13499 (__ieee754_powl): Test for y outside the range of signed 64-bit
13500 integers before using fistpll. Reduce 64-bit values to 63-bit
13501 ones as needed.
13502 * math/libm-test.inc (pow_test): Add more tests.
13503
eb96ffb0
L
135042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13507 <stdio-common/_itoa.h>.
13508 * debug/segfault.c: Likewise.
13509 * elf/dl-cache.c: Likewise.
13510 * elf/dl-minimal.c: Likewise.
13511 * elf/dl-misc.c: Likewise.
13512 * elf/dl-sysdep.c: Likewise.
13513 * elf/dl-version.c: Likewise.
13514 * elf/rtld.c: Likewise.
13515 * hurd/hurdsock.c: Likewise.
13516 * hurd/lookup-retry.c: Likewise.
13517 * malloc/malloc.c: Likewise.
13518 * malloc/mtrace.c: Likewise.
13519 * nscd/nscd_getgr_r.c: Likewise.
13520 * nscd/nscd_getpw_r.c: Likewise.
13521 * nscd/nscd_getserv_r.c: Likewise.
13522 * posix/getopt_init.c: Likewise.
13523 * posix/wordexp.c: Likewise.
13524 * stdio-common/_itoa.c: Likewise.
13525 * stdio-common/printf_fphex.c: Likewise.
13526 * stdio-common/vfprintf.c: Likewise.
13527 * string/_strerror.c: Likewise.
13528 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13529 * sysdeps/i386/i686/hp-timing.h: Likewise.
13530 * sysdeps/mach/_strerror.c: Likewise.
13531 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13532 * sysdeps/mach/hurd/sethostid.c: Likewise.
13533 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13534 * sysdeps/mach/xpg-strerror.c: Likewise.
13535 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13536 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13537 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13538 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13539 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13540 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13541 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13542 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13543 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13544 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13545 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13546 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13547 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13548 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13549 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13551 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13552 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13553 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13554 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13555 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13556
13557 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13558
13559 * stdio-common/_itoa.h: Moved to ...
13560 * sysdeps/generic/_itoa.h: Here.
13561
13562 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13563
13564 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13565 instead of "_itoa.h" and "_itowa.h".
13566 * stdio-common/vfprintf.: Likewise.
13567
d1af992d
L
135682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13569
13570 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13571 <bits/wordsize.h>.
13572 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13573 (__signbit): Likwise.
13574 (llrintf): Likwise.
13575 (llrint): Likwise.
13576
114883e0
L
135772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13578
13579 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13580 __WORDSIZE != 64.
13581
c135cc1b
JM
135822012-03-20 Joseph Myers <joseph@codesourcery.com>
13583
13584 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13585 OVERFLOW_EXCEPTION_OK.
13586 * math/libm-test.inc ("Philosophy"): Update comment about
13587 exception testing.
13588 (OVERFLOW_EXCEPTION): Define.
13589 (OVERFLOW_EXCEPTION_OK): Likewise.
13590 (INVALID_EXCEPTION_OK): Renumber.
13591 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13592 (IGNORE_ZERO_INF_SIGN): Likewise.
13593 (test_exceptions): Handle FE_OVERFLOW.
13594 (exp10_test): Expect overflow exceptions.
13595 (exp2_test): Likewise.
13596 (expm1_test): Likewise.
13597 (nextafter_test): Likewise.
13598 (pow_test): Likewise.
13599 (scalbn_test): Likewise.
13600 (scalbln_test): Likewise.
13601
95443d88
L
136022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13603
13604 * sysdeps/x86_64/bits/atomic.h
13605 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13606 64bit integer.
13607 (atomic_exchange_acq): Likewise.
13608 (__arch_exchange_and_add_body): Likewise.
13609 (__arch_add_body): Likewise.
13610 (atomic_add_negative): Likewise.
13611 (atomic_add_zero): Likewise.
13612
490df6c4
L
136132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13614
c2722551 13615 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13616 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13617
5e52b189
L
136182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13619
13620 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13621 Check __x86_64__ instead of __WORDSIZE.
13622
a9879d4c
L
136232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13624
13625 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13626
5df98260
DM
136272012-03-19 David S. Miller <davem@davemloft.net>
13628
e1497744
DM
13629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13630
5df98260
DM
13631 * sysdeps/sparc/fpu/fenv_private.h: New file.
13632 * sysdeps/sparc/fpu/math_private.h: Use it.
13633 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13634 Remove.
13635 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13636 (libc_feholdexcept_setroundl): Remove.
13637 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13638 Remove.
13639 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13640 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13641
b4c35121
L
136422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13643
13644 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13645 int64_t instead of long int.
13646 (INSERT_WORDS64): Likwise.
13647
56965fd7
L
136482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13649
13650 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13651 _Unwind_GetCFA return to _Unwind_Ptr first.
13652
83d1aec8
JM
136532012-03-19 Joseph Myers <joseph@codesourcery.com>
13654
1897ad44
JM
13655 [BZ #13629]
13656 * math/s_clog.c: Include <float.h>.
13657 (__clog): Scale large or subnormal inputs.
13658 * math/s_clogf.c: Likewise.
13659 * math/s_clogl.c: Likewise.
13660 * math/s_clog10.c: Include <float.h>.
13661 (M_LOG10_2): Define.
13662 (__clog10): Scale large or subnormal inputs.
13663 * math/s_clog10f.c: Likewise.
13664 * math/s_clog10l.c: Likewise.
13665 * math/libm-test.inc (clog_test): Add more tests.
13666 (clog10_test): Likewise.
13667 * sysdeps/i386/fpu/libm-test-ulps: Update.
13668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13669
7726d6a9
JM
13670 [BZ #11451]
13671 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13672 x and y.
13673 * math/libm-test.inc (atan2_test): Add another test.
13674
83d1aec8
JM
13675 * Makerules (common-objdir-compile): Remove.
13676 * sysdeps/unix/Makefile (config-generated): Do not add
13677 $(unix-generated) to variable.
13678 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13679 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13680 Remove rule.
13681 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13682 Likewise.
13683 [generic bits/local_lim.h] (before-compile): Do not append to
13684 variable.
13685 [generic bits/local_lim.h] (common-generated): Likewise.
13686 [generic sys/param.h] (before-compile): Do not append to variable.
13687 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13688 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13689 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13690 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13691 include.
13692 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13693 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13694 [generic sys/param.h] ($(addprefix
13695 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13696 [generic sys/param.h] (common-generated): Do not append to
13697 variable.
13698 [generic sys/param.h] (sysdep_headers): Likewise.
13699 [generic bits/errno.h] (before-compile): Do not append to
13700 variable.
13701 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13702 rule.
13703 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13704 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13705 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13706 [generic bits/errno.h] (common-generated): Do not append to
13707 variable.
13708 [generic bits/ioctls.h] (before-compile): Do not append to
13709 variable.
13710 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13711 rule.
13712 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13713 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13714 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13715 rule.
13716 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13717 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13718 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13719 [generic bits/ioctls.h] (common-generated): Do not append to
13720 variable.
13721 [generic sys/syscall.h] (syscall.h): Remove variable.
13722 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13723 rule.
13724 [generic sys/syscall.h] (before-compile): Do not append to
13725 variable.
13726 [generic sys/syscall.h] (common-generated): Likewise.
13727 * sysdeps/unix/errnos-tmpl.c: Remove file.
13728 * sysdeps/unix/errnos.awk: Likewise.
13729 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13730 * sysdeps/unix/ioctls.awk: Likewise.
13731 * sysdeps/unix/mk-local_lim.c: Likewise.
13732 * sysdeps/unix/snarf-ioctls: Likewise.
13733
4851a949
RH
137342012-03-19 Richard Henderson <rth@twiddle.net>
13735
bd37f2ee
RH
13736 * sysdeps/i386/fpu/fenv_private.h: New file.
13737 * sysdeps/i386/fpu/math_private.h: Use it.
13738 (math_opt_barrier, math_force_eval): Remove.
13739 (libc_feholdexcept_setround_53bit): Remove.
13740 (libc_feupdateenv_53bit): Remove.
13741 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13742 (math_opt_barrier, math_force_eval): Remove.
13743 (libc_feholdexcept): Remove.
13744 (libc_feholdexcept_setround): Remove.
13745 (libc_fetestexcept, libc_fesetenv): Remove.
13746 (libc_feupdateenv_test): Remove.
13747 (libc_feupdateenv, libc_feholdsetround): Remove.
13748 (libc_feresetround): Remove.
13749
d0adc922
RH
13750 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13751 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13752
0fe0f1f8
RH
13753 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13754 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13755 (libc_feupdateenv_testl): New.
13756 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13757 (libc_feupdateenv_testf): New.
13758 (libc_feupdateenv): Use libc_feupdateenv_test.
13759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13761
eb92c487
RH
13762 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13763 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13764 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13765 (libc_feresetround_noex): New.
13766 (libc_feresetround_noexf): New.
13767 (libc_feresetround_noexl): New.
13768 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13769 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13770 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13771 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13772 SET_RESTORE_ROUND.
13773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13775 (__cos): Likewise.
13776 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13777 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13778 SET_RESTORE_ROUND_NOEX.
13779 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13780 SET_RESTORE_ROUND_NOEXF.
13781 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13782 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13783 (libc_feholdsetroundf): New.
13784 (libc_feresetround, libc_feresetroundf): New.
13785
7d2e8012
RH
13786 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13787 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13788 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13789
b4dabbb4
RH
13790 * sysdeps/generic/math_private.h: Include <fenv.h>.
13791 (default_libc_feholdexcept): New.
13792 (default_libc_feholdexcept_setround): New.
13793 (default_libc_fesetenv, default_libc_feupdateenv): New.
13794 (libc_feholdexcept): Only define if undefined.
13795 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13796 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13797 (libc_feholdexcept_setroundl): Likewise.
13798 (libc_feholdexcept_setround_53bit): Likewise.
13799 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13800 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13801 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13802 (libc_feupdateenv_53bit): Likewise.
13803 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13804 (libc_feholdexcept): Convert from macro to inline function.
13805 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13806 (libc_fesetenv, libc_feupdateenv): Likewise.
13807
4851a949
RH
13808 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13809 not previously defined.
13810 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13811 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13812 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13813 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13814 * sysdeps/ieee754/flt-32/math_private.h: New file.
13815 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13816 math_private.h below SET_FLOAT_WORD.
13817 (__isnan, __isinf_ns, __finite): Remove.
13818 (__isnanf, __isinf_nsf, __finitef): Remove.
13819
e79d442e
AS
138202012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13821
13822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13823
90b80344
DM
138242012-03-17 David S. Miller <davem@davemloft.net>
13825
13826 [BZ #6471]
13827 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13828 for 2.16.
13829
edc21804
DM
138302012-03-16 David S. Miller <davem@davemloft.net>
13831
77e927af
DM
13832 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13833 warnings.
13834
374976dd
DM
13835 [BZ #6471]
13836 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13837 properly.
13838 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13839 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13840 sysdep_routines when subdir is sysvipc.
13841 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13842 __getshmlba helper.
13843
edc21804
DM
13844 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13845
473c3ef3
L
138462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13847
13848 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13849 [__LP64__].
13850
eb0f39b6
L
138512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13852
13853 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13854 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13855 (__lround): Renamed to ...
13856 (__llround): This. Replace long int with long long int.
13857 Define lround functions as aliases of llround functions.
13858 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13859
6b6cd74b
L
138602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13861
13862 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13863 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13864 adresses to uintptr_t. Replace "long int" and "unsigned long
13865 int" with "greg_t" on va_arg.
13866
f1a77b01
L
138672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13870 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13871
13872 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13873 Move e_machine check before EI_CLASS check. Handle x32
13874 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13875 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13876 SKIP_EM_IA_64 and include
13877 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13878
13879 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13880 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13881 (add_system_dir): New macro.
13882
13883 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13884 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13885
11b90b9f
JM
138862012-03-16 Joseph Myers <joseph@codesourcery.com>
13887
c36e1d23
JM
13888 [BZ #2551]
13889 [BZ #2552]
13890 [BZ #2553]
13891 [BZ #2554]
13892 [BZ #2562]
13893 [BZ #2563]
13894 [BZ #2565]
13895 [BZ #2566]
13896 [BZ #2576]
13897 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13898 (y0): Likewise.
13899 * math/w_j0f.c (j0f): Likewise.
13900 (y0f): Likewise.
13901 * math/w_j0l.c (__j0l): Likewise.
13902 (__y0l): Likewise.
13903 * math/w_j1.c (j1): Likewise.
13904 (y1): Likewise.
13905 * math/w_j1f.c (j1f): Likewise.
13906 (y1f): Likewise.
13907 * math/w_j1l.c (__j1l): Likewise.
13908 (__y1l): Likewise.
13909 * math/w_jn.c (jn): Likewise.
13910 (yn): Likewise.
13911 * math/w_jnf.c (jnf): Likewise.
13912 (ynf): Likewise.
13913 * math/w_jnl.c (__jnl): Likewise.
13914 (__ynl): Likewise.
13915 * math/libm-test.inc (j0_test): Add more tests.
13916 (j1_test): Likewise.
13917 (jn_test): Likewise. Add trailing semicolon to existing test.
13918 (y0_test): Likewise.
13919 (y1_test): Likewise.
13920 * sysdeps/i386/fpu/libm-test-ulps: Update.
13921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13922
11b90b9f
JM
13923 [BZ #13851]
13924 [BZ #13854]
13925 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13926 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13927 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13928 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13929 (__tanl): Set errno for infinite argument.
13930 * sysdeps/i386/fpu/mptan.c: Remove.
13931 * sysdeps/i386/fpu/s_tan.S: Likewise.
13932 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13933 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13934 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13935 * math/libm-test.inc (tan_test): Add more tests and enable more
13936 tests for double and long double.
13937 * sysdeps/i386/fpu/libm-test-ulps: Update.
13938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13939
6a1bd2a1
JK
139402012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13941
13942 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13943 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13944
10a803e0
RM
139452012-03-16 Roland McGrath <roland@hack.frob.com>
13946
13947 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13948 * configure.in: Use it for both main tree and add-ons.
13949 * configure: Regenerated.
13950
f196c7f7
L
139512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13952
13953 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13954
8848d99d
JM
139552012-03-16 Joseph Myers <joseph@codesourcery.com>
13956
96cbe7f4
JM
13957 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13958 in comment.
13959
8848d99d
JM
13960 [BZ #13851]
13961 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13962 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13966 infinite argument.
13967 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13968 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13969 != 0 for prec == 2.
13970 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13971 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13972 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13973 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13974 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13975 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13976 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13977 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13978 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13979 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13980 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13981 * math/libm-test.inc (cos_test): Add more tests and enable more
13982 tests for long double.
13983 (sin_test): Likewise.
13984 (sincos_test): Likewise.
13985 * sysdeps/i386/fpu/libm-test-ulps: Update.
13986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13987
dd7f4703
DM
139882012-03-16 David S. Miller <davem@davemloft.net>
13989
13990 * sysdeps/sparc/fpu/math_private.h: New file.
13991
006f1daa
DM
139922012-03-15 David S. Miller <davem@davemloft.net>
13993
c0c83bc8
DM
13994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13995 file.
e6a62e18 13996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13998 file.
e6a62e18
DM
13999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14005 sysdep routines.
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14007
88cb87d9
DM
14008 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14009 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14010
006f1daa 14011 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14013 sparc-ifunc.h
006f1daa 14014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14016 Likewise.
14017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14018 Likewise.
006f1daa
DM
14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14023 Likewise.
006f1daa
DM
14024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14029 Likewise.
14030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14031 Likewise.
006f1daa
DM
14032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14050 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14052 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14056
11e0098e
AS
140572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14058
14059 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14060 scaling.
14061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14062
e85b09d0
AJ
140632012-03-15 Andreas Jaeger <aj@suse.de>
14064
14065 [BZ #13852]
14066 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14067 ieee754/flt-32 implementation for sin, cos and sincos.
14068 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14069 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14070 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14071 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14072 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14073 ieee754/flt-32 implementation for tan.
14074
14075 * math/libm-test.inc (cos_test): Enable some large input tests for
14076 float as well
14077 (sin_test): Likewise.
14078 (sincos_test): Likewise.
14079 (tan_test): Add tests for large input.
14080
14081 * sysdeps/i386/fpu/libm-test-ulps: Update.
14082
81c64153
AJ
140832012-03-15 Andreas Jaeger <aj@suse.de>
14084
14085 [BZ #13658]
14086 * math/libm-test.inc (cos_test): Add more test cases.
14087 (sin_test): Likewise.
14088 (sincos_test): Likewise.
14089
7bbfa5c6
AJ
140902012-03-15 Andreas Jaeger <aj@suse.de>
14091
14092 [BZ #13837]
14093 * math/libm-test.inc (cos_test): Add a test case for large input
14094 value.
14095 (sin_test): Likewise.
14096 (sincos_test): Likewise.
14097
140982012-03-15 Andreas Jaeger <aj@suse.de>,
14099 Joseph Myers <joseph@codesourcery.com>
14100
14101 [BZ #13658]
0671f479 14102 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14103 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14104 * sysdeps/i386/fpu/branred.c: Likewise.
14105 * sysdeps/i386/fpu/dosincos.c: Likewise.
14106 * sysdeps/i386/fpu/mpa.c: Likewise.
14107 * sysdeps/i386/fpu/s_cos.S: Likewise.
14108 * sysdeps/i386/fpu/s_sin.S: Likewise.
14109 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14110 * sysdeps/i386/fpu/sincos32.c: Likewise.
14111
14112 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14113 Define.
14114 (libc_feupdateenv_53bit): Define.
14115 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14116 Define.
14117 (libc_feupdateenv_53bit): Define.
14118
14119 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14120 53 bit (without extend i386 double precision).
14121
14122 * math/libm-test.inc (sincos_test): Add tests for large input.
14123 (sin): Likewise.
14124 (cos): Likewise.
14125
14126 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14127
9cad04ea
AS
141282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14129
14130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131
f7062b9a
DM
141322012-03-15 David S. Miller <davem@davemloft.net>
14133
14134 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14135 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14136 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14137 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14150 file.
f7062b9a 14151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14153 file.
f7062b9a 14154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14156 file.
f7062b9a 14157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14159 file.
f7062b9a
DM
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14162 fmin/fmax sysdep routines.
14163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14164
7bd951ff
DM
141652012-03-14 David S. Miller <davem@davemloft.net>
14166
559398ab
DM
14167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14196 routines.
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14198 file.
559398ab 14199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14201 file.
559398ab 14202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14204 file.
559398ab 14205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14207 file.
559398ab 14208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14210 file.
559398ab 14211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14213 file.
14214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14215 file.
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14217 file.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14219 file.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14221 New file.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14223 file.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14225 file.
559398ab 14226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14228 file.
559398ab 14229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14231 file.
559398ab 14232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14234 file.
559398ab 14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14237 VIS3 routines.
559398ab
DM
14238
14239 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14240 New file.
14241
5a1c1e32
DM
14242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14243
eae47a36
DM
14244 * sysdeps/sparc/configure.in: New file.
14245 * sysdeps/sparc/configure: Generate.
14246 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14247 * configure: Regenerate.
14248 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14249 * config.make.in (have-as-vis3): New.
14250 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14251 available use -Av9d instead of -Av9a.
14252 * sysdeps/sparc/sparc64/Makefile: Likewise.
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14255 New file.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14257 file.
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14259 New file.
14260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14261 file.
eae47a36
DM
14262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14267
c0c83bc8
DM
14268 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14269 fzeros/fnegs to load 0x80000000 into a float register instead of
14270 using the stack.
7bd951ff
DM
14271 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14272
bd951ccb
JM
142732012-03-14 Joseph Myers <joseph@codesourcery.com>
14274
14275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14276 bits/syscall.h.
14277 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14278 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14279 ($(inst_includedir)/bits/syscall.h): Remove rule.
14280 ($(objpfx)bits/syscall.d): Include instead of
14281 $(objpfx)syscall-list.d.
14282 (generated): Change syscall-list.h and syscall-list.d to
14283 bits/syscall.h and bits/syscall.d.
14284
bb4e6db2
RM
142852012-03-14 Roland McGrath <roland@hack.frob.com>
14286
14287 [BZ #13846]
14288 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14289
aa4a2ae1
JM
142902012-03-14 Joseph Myers <joseph@codesourcery.com>
14291
e456826d
JM
14292 [BZ #13841]
14293 * math/s_csqrt.c: Include <float.h>.
14294 (__csqrt): Scale large or subnormal inputs.
14295 * math/s_csqrtf.c: Likewise.
14296 * math/s_csqrtl.c: Likewise.
14297 * math/libm-test.inc (csqrt_test): Add more tests.
14298 * sysdeps/i386/fpu/libm-test-ulps: Update.
14299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14300
aa4a2ae1
JM
14301 [BZ #13840]
14302 * math/libm-test.inc (hypot_test): Add more tests.
14303
7c10fd35
DM
143042012-03-13 David S. Miller <davem@davemloft.net>
14305
14306 [BZ #13840]
14307 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14308 double-precision for the calculation instead of scaling.
14309
f453b98b
JM
143102012-03-13 Joseph Myers <joseph@codesourcery.com>
14311
14312 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14313 manipulate bits before adding and subtracting TWO52[sx].
14314 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14315 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14316 Likewise.
14317 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14318
09a3453f
DM
143192012-03-13 David S. Miller <davem@davemloft.net>
14320
8e59da90
DM
14321 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14322 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14324 rtld-global-offsets.h
14325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14326
2a8ab7f2
DM
14327 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14328 large parameters.
14329
10f62770
DM
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14331
5f0bdb18
DM
14332 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14333 'err' in the ifdef scope in which it is actually used.
14334
09a3453f
DM
14335 * nss/nss_db/db-init.c: Include string.h
14336
b4b2eb5e
DM
143372012-03-12 David S. Miller <davem@davemloft.net>
14338
98bb2f1c
DM
14339 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14340 masking out of the most significant byte of random value used.
14341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14342 Fix coding style in previous change.
14343
b4b2eb5e
DM
14344 * sysdeps/unix/sysv/linux/kernel-features.h
14345 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14346 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14347 expression.
14348 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14349 later.
14350
6e226b09
DM
143512012-03-11 David S. Miller <davem@davemloft.net>
14352
a1bcbd40
DM
14353 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14354 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14356 for 'resultvar' otherwise things get truncated on 64-bit.
14357
cb9d6174
DM
14358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14359 Fix masking out of the most significant byte of random value used.
14360
6e226b09
DM
14361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14362
058c132d
AS
143632012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14364
14365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14366
2d2cd515
DM
143672012-03-09 David S. Miller <davem@davemloft.net>
14368
14369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14370 variables with appropriate CPP guards.
14371 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14372 frame pointer, not the stack pointer. Correct layout comments. Fix test
14373 on resulting framesize and the management of the outregs buffer for pltexit.
14374 Preserve floating point return values across _dl_call_pltexit call.
14375 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14376 framesize and the management of the outregs buffer for pltexit.
14377 Preserve floating point return values across _dl_call_pltexit
14378 call.
14379 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14380 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14381 (print_exit): Fix format string for return register value.
14382
9a07f9d0
JM
143832012-03-10 Joseph Myers <joseph@codesourcery.com>
14384
14385 * sunrpc/Makefile (others): Add rpcgen.
14386 ($(objpfx)rpcgen): Remove special build rule and dependency on
14387 libc.
14388 * sunrpc/rpcgen.c: New file.
14389
547b5e30
PE
143902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14391
c524201a
PE
14392 [BZ #13673]
14393 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14394 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14395 * sysdeps/i386/crti.S: Likewise.
14396 * sysdeps/i386/crtn.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14398 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14399 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14400 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14401 * sysdeps/sh/crti.S: Likewise.
14402 * sysdeps/sh/crtn.S: Likewise.
14403 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14404
7b6235f2
PE
14405 [BZ #13673]
14406 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14407 with URL.
14408 * locale/programs/locfile-kw.gperf: Likewise.
14409 * locale/programs/charmap-kw.h: Regenerated.
14410 * locale/programs/locfile-kw.h: Likewise.
14411
547b5e30
PE
14412 [BZ #13673]
14413 * intl/plural.y: Replace FSF snail mail address with URL.
14414 * intl/plural.c: Regenerated.
14415
5f0a5dae
RH
144162012-03-09 Richard Henderson <rth@twiddle.net>
14417
14418 * include/math_private.h: Remove file.
14419 * math/math_private.h: Move file ...
14420 * sysdeps/generic/math_private.h: ... here.
14421
b8c03620
RH
14422 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14423 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14424 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14425
4e234f5d 14426 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14427 and <math_private.h>.
14428 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14429 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14430 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14431 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14432 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14433 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14434 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14436 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14450 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14454 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14458 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14460 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14468 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14469 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14471 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14478 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14508 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14516 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14519 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14521 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14522 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14523 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14524 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14525 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14526 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14527 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14528 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14529 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14530 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14531 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14532 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14533 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14535 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14540 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14541 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14542 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14547 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14551 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14555 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14557 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14558 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14560 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14561 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14562 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14563 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14564 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14565 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14566 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14567 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14568 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14570 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14571 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14572 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14573 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14574 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14575 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14576 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14577 * sysdeps/ieee754/k_standard.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14588 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14590 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14591 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14613 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14616 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14617 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14618 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14697 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14698 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14700 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14727 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14728 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14738 * sysdeps/ieee754/s_lib_version.c: Likewise.
14739 * sysdeps/ieee754/s_matherr.c: Likewise.
14740 * sysdeps/ieee754/s_signgam.c: Likewise.
14741 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14742 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14744 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14745 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14746 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14747 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14748 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14749 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14750 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14751 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14752 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14753 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14754 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14755 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14756 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14758 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14759 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14762
1991fa03
JM
147632012-03-09 Joseph Myers <joseph@codesourcery.com>
14764
14765 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14766 * sunrpc/rpc_main.c: Likewise.
14767 * sunrpc/rpc_svcout.c: Likewise.
14768
60d6f5a6
DM
147692012-03-09 David S. Miller <davem@davemloft.net>
14770
14771 * include/math_private.h: New file.
14772
4962050e
JM
147732012-03-09 Joseph Myers <joseph@codesourcery.com>
14774
02a6f887
JM
14775 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14776 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14777 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14778 from <bits/socket_type.h>.
14779 (enum __socket_type): Don't define here.
14780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14782 bits/socket_type.h.
14783
c6e013c1
JM
14784 [BZ #13566]
14785 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14786 checking __USE_GNU.
14787
4962050e
JM
14788 * Makerules ($(inst_includedir)/%.h): New rule.
14789 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14790 (install-others): Remove variable setting.
14791 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14792
38842f45
RH
147932012-03-08 Richard Henderson <rth@twiddle.net>
14794
67bb6da6
RH
14795 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14796 from macro to inline function; merge with the
14797 !__LIBC_INTERNAL_MATH_INLINES version.
14798 (__ieee754_sqrtf): Likewise.
14799
15194b4b
RH
14800 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14801 to inline function.
14802 (__rintf, __floor, __floorf): Likewise.
14803
64e21ede
RH
14804 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14805 macro to inline function.
14806 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14807
38842f45
RH
14808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14809 not <math/math_private.h>.
14810
c64bf5fe
DM
148112012-03-08 David S. Miller <davem@davemloft.net>
14812
14813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14814 copyright year.
14815 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14816
82d86f28
TS
148172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14818
14819 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14820 normalization.
14821 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14822 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14823
aea5d727
UD
148242012-03-08 Ulrich Drepper <drepper@gmail.com>
14825
14826 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14827 be defined individually, they must be defined as a block. Define
14828 S for printing a string instead of hidint the different by using a
14829 macro for adding the 'l'.
14830 * stdio-common/tst-fphex-wide.c: Adjust.
14831
70bca0a3
MP
148322012-03-07 Marek Polacek <polacek@redhat.com>
14833
14834 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14835
65b81130
MP
148362012-03-08 Marek Polacek <polacek@redhat.com>
14837
14838 [BZ #13806]
14839 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14840 * stdio-common/tst-fphex.c: Define a few macros to make the
14841 test reusable. Use them.
14842 * stdio-common/tst-fphex-wide.c: New file.
14843
07037eeb
JM
148442012-03-08 Joseph Myers <joseph@codesourcery.com>
14845
a7a93d50
JM
14846 [BZ #6911]
14847 * manual/macros.texi (gnusystems): New macro.
14848 (nongnusystems): Likewise.
14849 (gnulinuxhurdsystems): Likewise.
14850 (gnuhurdsystems): Likewise..
14851 (gnulinuxsystems): Likewise.
14852 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14853 variants of the GNU system, not "GNU system".
14854 * manual/conf.texi: Likewise.
14855 * manual/errno.texi: Likewise. Update example of errno macro
14856 expansion.
14857 * manual/filesys.texi: Likewise.
14858 (getumask): Document as specific to GNU/Hurd.
14859 * manual/install.texi: Likewise. Reword some references to
14860 GNU/Linux.
14861 * manual/intro.texi: Likewise.
14862 * manual/io.texi: Likewise.
14863 (File Name Portability): Detail which constraints are inapplicable
14864 to all GNU systems and which are only inapplicable to GNU/Hurd.
14865 * manual/job.texi: Likewise.
14866 * manual/llio.texi: Likewise.
14867 (O_NOCTTY): Document as present on GNU/Linux.
14868 * manual/maint.texi: Likewise.
14869 * manual/memory.texi: Likewise.
14870 * manual/pattern.texi: Likewise.
14871 * manual/pipe.texi: Likewise.
14872 * manual/process.texi: Likewise.
14873 * manual/resource.texi: Likewise.
14874 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14875 child on GNU/Hurd.
14876 * manual/setjmp.texi: Likewise.
14877 * manual/signal.texi: Likewise.
14878 * manual/startup.texi: Likewise.
14879 * manual/stdio.texi: Likewise.
14880 * manual/terminal.texi: Likewise.
14881 (ONLCR): Document as POSIX.
14882 (OXTABS): Document availability on GNU/Linux as XTABS.
14883 (ONOEOT): Document availability separately from other bits.
14884 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14885 * manual/time.texi: Likewise.
14886 * manual/users.texi: Likewise.
14887 * INSTALL: Regenerated.
14888 * sysdeps/gnu/errlist.c: Regenerated.
14889
07037eeb
JM
14890 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14891 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14892 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14893 puts.
14894 * configure: Regenerated.
14895
d1d3431a
JM
148962012-03-07 Joseph Myers <joseph@codesourcery.com>
14897
af6a1e37
JM
14898 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14899 default includes instead of AC_HEADER_CHECK.
14900 * sysdeps/i386/configure: Regenerated.
14901
d1d3431a
JM
14902 [BZ #10716]
14903 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14904 * math/s_cacoshf.c (__cacoshf): Likewise.
14905 * math/s_cacoshl.c (__cacoshl): Likewise.
14906 * math/s_casinh.c (__casinh): Set signs of result from argument.
14907 * math/s_casinhf.c (__casinhf): Likewise.
14908 * math/s_casinhl.c (__casinhl): Likewise.
14909 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14910 (casinh_test): Add more tests.
14911 * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14913
482ff4da
UD
149142012-03-07 Ulrich Drepper <drepper@gmail.com>
14915
872fda05
UD
14916 * po/zh_TW.po: Update from translation team.
14917
a4300c7a
UD
14918 * login/Makefile (distribute): Remove variable.
14919 * catgets/Makefile: Likewise.
14920 * mach/Makefile: Likewise.
14921 * malloc/Makefile: Likewise.
14922 * misc/Makefile: Likewise.
14923 * iconv/Makefile: Likewise.
14924 * nscd/Makefile: Likewise.
14925 * hurd/Makefile: Likewise.
14926 * manual/Makefile: Likewise.
14927 * locale/Makefile: Likewise.
14928 * intl/Makefile: Likewise.
14929 * conform/Makefile: Likewise.
14930 * nss/Makefile: Likewise.
14931 * time/Makefile: Likewise.
14932 * soft-fp/Makefile: Likewise.
14933 * dirent/Makefile: Likewise.
14934 * gmon/Makefile: Likewise.
14935 * po/Makefile: Likewise.
14936 * rt/Makefile: Likewise.
14937 * socket/Makefile: Likewise.
14938 * math/Makefile: Likewise.
14939 * signal/Makefile: Likewise.
14940 * debug/Makefile: Likewise.
14941 * elf/Makefile: Likewise.
14942 * timezone/Makefile: Likewise.
14943 * stdlib/Makefile: Likewise.
14944 * iconvdata/Makefile: Likewise.
14945 * sunrpc/Makefile: Likewise.
14946 * io/Makefile: Likewise.
14947 * argp/Makefile: Likewise.
14948 * inet/Makefile: Likewise.
14949 * hesiod/Makefile: Likewise.
14950 * grp/Makefile: Likewise.
14951 * csu/Makefile: Likewise.
14952 * wctype/Makefile: Likewise.
14953 * crypt/Makefile: Likewise.
14954 * libio/Makefile: Likewise.
14955 * string/Makefile: Likewise.
14956 * nis/Makefile: Likewise.
14957 * resolv/Makefile: Likewise.
14958 * stdio-common/Makefile: Likewise.
14959 * wcsmbs/Makefile: Likewise.
14960 * dlfcn/Makefile: Likewise.
14961 * posix/Makefile: Likewise.
14962
3b7c4e74 14963 [BZ #6959]
482ff4da
UD
14964 * timezone/Makefile: Don't install timezone files, just the programs
14965 and scripts.
14966
f72ed77d
UD
149672012-03-06 Ulrich Drepper <drepper@gmail.com>
14968
a000466f
UD
14969 * nss/databases.def: Add missing gshadow entry.
14970
f72ed77d
UD
14971 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14972
a53b7a4e
MP
149732012-03-06 Marek Polacek <polacek@redhat.com>
14974
14975 [BZ #13726]
14976 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14977 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14978 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14979 * stdio-common/tst-long-dbl-fphex.c: New file.
14980
e9258400
DM
149812012-03-06 David S. Miller <davem@davemloft.net>
14982
14983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14984 (set_obp_int): New function.
14985 (get_obp_int): New function.
14986 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14988 Avoid unused variable warnings on 'val' and use builtin_expect.
14989 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14990 __builtin_expect.
e9258400
DM
14991 (INLINE_CLONE_SYSCALL): Likewise.
14992
3bd2c723
DM
149932012-03-05 David S. Miller <davem@davemloft.net>
14994
14995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14996
bbb78d03
AS
149972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14998
884c5db4
AS
14999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15000
bbb78d03
AS
15001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15002 only for |x| >= 40.
15003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15004
1c9f702a 150052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15006
15007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15008 Replace gettimeofday with __vdso_gettimeofday.
15009
7be16f82
RM
15010 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15011 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15012 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15013
15014 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15015 time with __vdso_time.
15016
ed58a00f
JM
150172012-03-05 Joseph Myers <joseph@codesourcery.com>
15018
15019 * manual/lang.texi (size_t): Note types to which size_t may be
15020 equivalent with the GNU C Library, but do not describe when
15021 differences between them are significant.
15022
30ee4ced
AJ
150232012-03-05 Andreas Jaeger <aj@suse.de>
15024
15025 * sysdeps/i386/fpu/libm-test-ulps: Update.
15026
b7cd39e8
JM
150272012-03-05 Joseph Myers <joseph@codesourcery.com>
15028
15029 [BZ #3976]
15030 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15031 (__ieee754_pow): Save and restore rounding mode and use
15032 round-to-nearest for main computations.
15033 * math/libm-test.inc (pow_test_tonearest): New function.
15034 (pow_test_towardzero): Likewise.
15035 (pow_test_downward): Likewise.
15036 (pow_test_upward): Likewise.
15037 (main): Call the new functions.
15038 * sysdeps/i386/fpu/libm-test-ulps: Update.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15040
15041 [BZ #3976]
15042 * math/libm-test.inc (cosh_test_tonearest): New function.
15043 (cosh_test_towardzero): Likewise.
15044 (cosh_test_downward): Likewise.
15045 (cosh_test_upward): Likewise.
15046 (sinh_test_tonearest): Likewise.
15047 (sinh_test_towardzero): Likewise.
15048 (sinh_test_downward): Likewise.
15049 (sinh_test_upward): Likewise.
15050 (main): Call the new functions.
15051 * sysdeps/i386/fpu/libm-test-ulps: Update.
15052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15053
6c6a98c9
TV
150542012-03-05 Tom de Vries <tom@codesourcery.com>
15055
15056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15057 default stack guard is set in last bytes.
15058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15059
21bb2d2e 150602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15061
21bb2d2e 15062 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15063
21bb2d2e
AJ
15064 [BZ #13656]
15065 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15066 possibly allocate from heap instead of stack.
15067 * stdio-common/bug-vfprintf-nargs.c: New file.
15068 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15069
c6922934
AS
150702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15071
15072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15073
bc957d53
MP
150742012-03-03 Marek Polacek <polacek@redhat.com>
15075
15076 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15077 * math/math_private.h: Likewise.
15078 * stdlib/tst-strtod.c: Likewise.
15079 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15080 * sysdeps/x86_64/bits/atomic.h: Likewise.
15081
6358490d
DM
150822012-03-02 David S. Miller <davem@davemloft.net>
15083
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15089 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15090 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15091 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15092
01ae168d
RM
150932012-03-02 Roland McGrath <roland@hack.frob.com>
15094
d9a17c07
RM
15095 [BZ #13792]
15096 * manual/examples/README: New file, says the example source files
15097 can be used under GPL>=2.
15098 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15099 line containing just "*/".
15100 * manual/examples/add.c: Add copyright header (GPL>=2).
15101 * manual/examples/argp-ex1.c: Likewise.
15102 * manual/examples/argp-ex2.c: Likewise.
15103 * manual/examples/argp-ex3.c: Likewise.
15104 * manual/examples/argp-ex4.c: Likewise.
15105 * manual/examples/atexit.c: Likewise.
15106 * manual/examples/db.c: Likewise.
15107 * manual/examples/dir.c: Likewise.
15108 * manual/examples/dir2.c: Likewise.
15109 * manual/examples/execinfo.c: Likewise.
15110 * manual/examples/filecli.c: Likewise.
15111 * manual/examples/filesrv.c: Likewise.
15112 * manual/examples/fmtmsgexpl.c: Likewise.
15113 * manual/examples/genpass.c: Likewise.
15114 * manual/examples/inetcli.c: Likewise.
15115 * manual/examples/inetsrv.c: Likewise.
15116 * manual/examples/isockad.c: Likewise.
15117 * manual/examples/longopt.c: Likewise.
15118 * manual/examples/memopen.c: Likewise.
15119 * manual/examples/memstrm.c: Likewise.
15120 * manual/examples/mkfsock.c: Likewise.
15121 * manual/examples/mkisock.c: Likewise.
15122 * manual/examples/mygetpass.c: Likewise.
15123 * manual/examples/pipe.c: Likewise.
15124 * manual/examples/popen.c: Likewise.
15125 * manual/examples/rprintf.c: Likewise.
15126 * manual/examples/search.c: Likewise.
15127 * manual/examples/select.c: Likewise.
15128 * manual/examples/setjmp.c: Likewise.
15129 * manual/examples/sigh1.c: Likewise.
15130 * manual/examples/sigusr.c: Likewise.
15131 * manual/examples/stpcpy.c: Likewise.
15132 * manual/examples/strdupa.c: Likewise.
15133 * manual/examples/strftim.c: Likewise.
15134 * manual/examples/strncat.c: Likewise.
15135 * manual/examples/subopt.c: Likewise.
15136 * manual/examples/swapcontext.c: Likewise.
15137 * manual/examples/termios.c: Likewise.
15138 * manual/examples/testopt.c: Likewise.
15139 * manual/examples/testpass.c: Likewise.
15140 * manual/examples/timeval_subtract.c: Likewise.
15141
01ae168d
RM
15142 [BZ #13792]
15143 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15144 function to ...
15145 * manual/timeval_subtract.c.texi: ... here, new file.
15146
49efa33d
DM
151472012-03-02 David S. Miller <davem@davemloft.net>
15148
15149 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15150
28afd92d
JM
151512012-03-02 Joseph Myers <joseph@codesourcery.com>
15152
804360ed
JM
15153 [BZ #3976]
15154 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15155 (__sin): Save and restore rounding mode and use round-to-nearest
15156 for all computations.
15157 (__cos): Save and restore rounding mode and use round-to-nearest
15158 for all computations.
15159 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15160 <fenv.h>.
15161 (tan): Save and restore rounding mode and use round-to-nearest for
15162 all computations.
15163 * math/libm-test.inc (cos_test_tonearest): New function.
15164 (cos_test_towardzero): Likewise.
15165 (cos_test_downward): Likewise.
15166 (cos_test_upward): Likewise.
15167 (sin_test_tonearest): Likewise.
15168 (sin_test_towardzero): Likewise.
15169 (sin_test_downward): Likewise.
15170 (sin_test_upward): Likewise.
15171 (tan_test_tonearest): Likewise.
15172 (tan_test_towardzero): Likewise.
15173 (tan_test_downward): Likewise.
15174 (tan_test_upward): Likewise.
15175 (main): Call the new functions.
15176 * sysdeps/i386/fpu/libm-test-ulps: Update.
15177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15178
a6d06d7b
JM
15179 [BZ #10135]
15180 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15181 small n, then large n, before computing and testing k+n.
15182 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15184 Likewise.
15185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15186 Likewise.
15187 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15188 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15189 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15190 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15195 * math/libm-test.inc (scalbn_test): Add more tests.
15196 (scalbln_test): Likewise.
15197
07e12bb3
JM
15198 * manual/filesys.texi (mode_t): Describe constraints on size and
15199 signedness, not exact equivalence to a particular type.
15200 (ino_t): Likewise.
15201 (ino64_t): Likewise.
15202 (dev_t): Likewise.
15203 (nlink_t): Likewise.
15204 (blkcnt_t): Likewise.
15205 (blkcnt64_t): Likewise.
15206 * manual/llio.texi (off_t): Likewise.
15207
28afd92d
JM
15208 [BZ #3976]
15209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15210 (__ieee754_exp): Save and restore rounding mode and use
15211 round-to-nearest for all computations.
15212 * math/libm-test.inc (exp_test_tonearest): New function.
15213 (exp_test_towardzero): Likewise.
15214 (exp_test_downward): Likewise.
15215 (exp_test_upward): Likewise.
15216 (main): Call the new functions.
15217 * sysdeps/i386/fpu/libm-test-ulps: Update.
15218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15219
b1eeb65d
CD
152202012-03-01 Chris Demetriou <cgd@google.com>
15221
15222 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15223 have predictable order.
15224
53362a4b
DM
152252012-03-01 David S. Miller <davem@davemloft.net>
15226
3c969083
DM
15227 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15228
759707de
DM
15229 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15230 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15231 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15232 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15233
dfdb8ff2
DM
15234 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15235 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15236 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15238 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15239 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15240 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15241 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15242 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15243
ead89f96
DM
15244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15245
7f66bd07
DM
15246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15247 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15249
53362a4b
DM
15250 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15251 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15253 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15254 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15257 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15266 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15267 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15268 * sysdeps/sparc/elf/configure: Regenerated.
15269
7b1902cb
JM
152702012-03-01 Joseph Myers <joseph@codesourcery.com>
15271
bec039bc
JM
15272 * configure.in (AS, LD): Require binutils 2.20 or later.
15273 * configure: Regenerated.
15274 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15275 as required minimum version.
15276 * INSTALL: Regenerated.
15277
7b1902cb
JM
15278 [BZ #2541]
15279 [BZ #4108]
15280 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15281 before squaring exponent.
15282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15283 bottom long double and 27 bits of top long double before squaring
15284 exponent.
15285 * math/libm-test.inc (erfc_test): Add more tests.
15286 * sysdeps/i386/fpu/libm-test-ulps: Update.
15287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15289
f775c276
KT
152902012-03-01 Kai Tietz <ktietz@redhat.com>
15291
15292 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15293 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15294 containing bit-fields.
15295 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15296 * soft-fp/single.h (_FP_UNION_S): Likewise.
15297 * soft-fp/double.h (_FP_UNION_D): Likewise.
15298
5b8a4d4a
JM
152992012-02-29 Joseph Myers <joseph@codesourcery.com>
15300
0bab47b6
JM
15301 [BZ #13786]
15302 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15303 not include ../strcmp.S.
15304 [USE_AS_STRNCASECMP_L]: Likewise.
15305 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15306 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15307 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15308 (__strncasecmp_l_ia32): Define as alias to
15309 __strncasecmp_l_nonascii.
15310
0fcad3e2
JM
15311 [BZ #5794]
15312 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15313 * sysdeps/i386/fpu/libm-test-ulps: Update.
15314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15315
5b8a4d4a
JM
15316 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15318
8fdceb2e
JL
153192012-02-29 Jeff Law <law@redhat.com>
15320
15321 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15322 out of bounds read.
15323
1f393a11
MP
153242012-02-29 Marek Polacek <polacek@redhat.com>
15325
15326 [BZ #13706]
15327 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15328 * elf/Makefile: Add rules to run tst-unused-dep.out.
15329
8847f037
DM
153302012-02-28 David S. Miller <davem@davemloft.net>
15331
15332 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15333 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15335 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15338
169d7f11
JM
153392012-02-29 Joseph Myers <joseph@codesourcery.com>
15340
15341 * math/libm-test.inc (llround_test): Move one test from
15342 lround_test. Use TEST_f_L in moved test.
15343 (lround_test): Move misplaced test to llround_test. Add testcase
15344 from bug 2561.
15345
39adf059
UD
153462012-02-28 Ulrich Drepper <drepper@gmail.com>
15347
15348 * sysdeps/x86_64/fpu/e_expf.S: New file.
15349 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15350
71b5d1c5
SB
153512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15352
15353 [BZ #13637]
15354 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15355 of remain_len that may cause incomplete multi-byte character and
15356 false match.
15357 * posix/bug-regex33.c: New file.
15358 * posix/Makefile (tests): Add bug-regex33.
15359
1f77f049
JM
153602012-02-28 Joseph Myers <joseph@codesourcery.com>
15361
15362 * manual/macros.texi: New file.
15363 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15364 * manual/libc.texinfo: Include macros.texi.
15365 * manual/creatute.texi: Likewise.
15366 * manual/install.texi: Likewise.
15367 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15368 @glibcadj{} in references to the GNU C Library.
15369 * manual/charset.texi: Likewise.
15370 * manual/conf.texi: Likewise.
15371 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15372 when not using those macros.
15373 * manual/creature.texi: Likewise.
15374 * manual/crypt.texi: Likewise.
15375 * manual/errno.texi: Likewise.
15376 * manual/filesys.texi: Likewise.
15377 * manual/header.texi: Likewise.
15378 * manual/install.texi: Likewise.
15379 * manual/intro.texi: Likewise.
15380 * manual/io.texi: Likewise.
15381 * manual/job.texi: Likewise.
15382 * manual/lang.texi: Likewise.
15383 * manual/libc.texiinfo: Likewise.
15384 * manual/llio.texi: Likewise.
15385 * manual/locale.texi: Likewise.
15386 * manual/maint.texi: Likewise.
15387 * manual/math.texi: Likewise.
15388 * manual/memory.texi: Likewise.
15389 * manual/message.texi: Likewise.
15390 * manual/nss.texi: Likewise.
15391 * manual/pattern.texi: Likewise.
15392 * manual/process.texi: Likewise.
15393 * manual/resource.texi: Likewise.
15394 * manual/search.texi: Likewise.
15395 * manual/setjmp.texi: Likewise.
15396 * manual/signal.texi: Likewise.
15397 * manual/socket.texi: Likewise.
15398 * manual/startup.texi: Likewise.
15399 * manual/stdio.texi: Likewise.
15400 * manual/string.texi: Likewise.
15401 * manual/sysinfo.texi: Likewise.
15402 * manual/syslog.texi: Likewise.
15403 * manual/terminal.texi: Likewise.
15404 * manual/time.texi: Likewise.
15405 * manual/users.texi: Likewise.
15406 * INSTALL: Regenerated.
15407 * NOTES: Regenerated.
d40c5d54 15408 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15409
450bf206
AS
154102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15411
15412 * include/dirent.h: Include <dirstream.h> before
15413 <dirent/dirent.h>.
15414
741a235b
DM
154152012-02-28 David S. Miller <davem@davemloft.net>
15416
15417 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15418 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15419 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15420 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15421
d6b5aa58
DM
154222012-02-27 David S. Miller <davem@davemloft.net>
15423
1aff59a3
DM
15424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15426 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15427 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15428
d6b5aa58
DM
15429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15430 frame pointer instead of stack pointer relative arg slot.
15431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15434
433f48bf
CD
154352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15436
15437 [BZ #3992]
15438 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15439
d674b76d
DM
154402012-02-27 David S. Miller <davem@davemloft.net>
15441
15442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15448 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15450
0e7727f7
JM
154512012-02-27 Joseph Myers <joseph@codesourcery.com>
15452
15453 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15454 later. Allow versions 5-9.
43be4ca2 15455 * configure: Regenerated.
0e7727f7
JM
15456 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15457 required minimum version and 4.6 as recommended version. Do not
15458 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15459 * INSTALL: Regenerated.
0e7727f7 15460
a78bc654
DM
154612012-02-27 David S. Miller <davem@davemloft.net>
15462
428d5830
DM
15463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15467 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15468 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15469 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15470 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15471
a78bc654
DM
15472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15473 manipulate bits before adding and subtracting TWO112[sx].
15474 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15475
4579f81c
RM
154762012-02-27 Roland McGrath <roland@hack.frob.com>
15477
36c8acb4
RM
15478 [BZ #13775]
15479 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15480 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15481 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15482 being in POSIX, because they are in 1003.1-2008.
15483
84ad622b
RM
15484 * rt/tst-aio.c: Include <fcntl.h>.
15485 * rt/tst-aio7.c: Likewise.
15486 * rt/tst-aio64.c: Likewise.
15487
4579f81c
RM
15488 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15489
abd923db
JM
154902012-02-27 Joseph Myers <joseph@codesourcery.com>
15491
15492 * manual/install.texi (--with-headers): Describe headers as
15493 interface headers, not private headers.
15494 (Specific advice for GNU/Linux systems): Describe use of headers
15495 from "make headers_install", not private headers from older
15496 kernels.
43be4ca2 15497 * INSTALL: Regenerated.
abd923db
JM
15498 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15499 Change to 2.6.19.
15500 * sysdeps/unix/sysv/linux/configure: Regenerated.
15501
6664049b
JM
15502 * manual/llio.texi (fclean): Remove documentation.
15503
bb8b6697
JM
15504 * manual/Makefile (libc-texi-generated): New variable. Include
15505 version.texi.
15506 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15507 $(libc-texi-generated), not duplicated list of files.
15508 (version.texi, stamp-version): New rules.
15509 (realclean): Remove $(libc-texi-generated), not individual files
15510 from that list. Do not remove dir-add.texinfo.
15511 * manual/libc.texinfo: Comment out uses of edition numbers and
15512 references to printed manual. Remove last-updated dates.
15513 (EDITION): Comment out.
15514 (ISBN): Likewise.
15515 (VERSION, UPDATED): Remove.
15516 (version.texi): Include.
15517
12e5c3b9
AS
155182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15519
15520 * sysdeps/posix/spawni.c: Include <signal.h>.
15521 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15522 * sysdeps/pthread/aio_fsync.c: Likewise.
15523
4efeffc1 155242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15525
ba63ba08
UD
15526 * conform/Makefile (tests): Run only when not cross-compiling and
15527 when fast-check is not defined.
15528
d94a4670
UD
15529 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15530 * conform/data/limits.h-data: Fixes for POSIX2008.
15531 * conform/run-conformtest.sh: Run all tests.
15532 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15533 headers.
15534 * include/bits/dlfcn.h: Likewise.
15535 * include/langinfo.h: Likewise.
15536 * include/monetary.h: Likewise.
15537 * include/sys/poll.h: Likewise.
15538
15539 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15540 for __USE_GNU.
15541 * posix/spawn.h: Define __need_sigset_t.
15542 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15543 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15544 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15545 to get sigevent_t only.
15546 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15547 only for __USE_GNU.
15548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15549 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15550 process_vm_writev only for __USE_GNU.
15551 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15552
15553 * conform/Makefile: For now ignore errors from run-conformtest.
15554 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15555 POSIX to avoid namespace pollution. Don't prepend headers.
15556 * conform/data/aio.h-data: Fixes for POSIX testing.
15557 * conform/data/fcntl.h-data: Likewise.
15558 * conform/data/glob.h-data: Likewise.
15559 * conform/data/grp.h-data: Likewise.
15560 * conform/data/pthread.h-data: Likewise.
15561 * conform/data/pwd.h-data: Likewise.
15562 * conform/data/signal.h-data: Likewise.
15563 * conform/data/spawn.h-data: Likewise.
15564 * conform/data/stdio.h-data: Likewise.
15565 * conform/data/stdlib.h-data: Likewise.
15566 * conform/data/stropts.h-data: Likewise.
15567 * conform/data/sys/mman.h-data: Likewise.
15568 * conform/data/sys/stat.h-data: Likewise.
15569 * conform/data/sys/types.h-data: Likewise.
15570 * conform/data/sys/wait.h-data: Likewise.
15571 * conform/data/time.h-data: Likewise.
15572 * conform/data/unistd.h-data: Likewise.
15573 * conform/data/utime.h-data: Likewise.
15574
15575 * io/sys/stat.h: fchmod was always in POSIX.
15576 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15577 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15578 * rt/aio.h: Define __need_timespec before including <time.h>.
15579 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15580 struct. Add forward declaration of pthread_attr_t and use it in
15581 sigevent.
15582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15584 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15585 always remove CLK_TCK definition.
15586
c20105c3
AS
155872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15588
15589 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15590
7a270350
UD
155912012-02-25 Ulrich Drepper <drepper@gmail.com>
15592
31341567
UD
15593 * conform/run-conformtest.sh: New file.
15594 * conform/Makefile: Run run-conformtest for tests.
15595 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15596 support.
15597
15598 * conform/data/uchar.h-data: New file.
15599 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15600 * conform/data/arpa/inet.h-data: Likewise.
15601 * conform/data/assert.h-data: Likewise.
15602 * conform/data/complex.h-data: Likewise.
15603 * conform/data/cpio.h-data: Likewise.
15604 * conform/data/ctype.h-data: Likewise.
15605 * conform/data/dirent.h-data: Likewise.
15606 * conform/data/dlfcn.h-data: Likewise.
15607 * conform/data/errno.h-data: Likewise.
15608 * conform/data/fcntl.h-data: Likewise.
15609 * conform/data/float.h-data: Likewise.
15610 * conform/data/fmtmsg.h-data: Likewise.
15611 * conform/data/fnmatch.h-data: Likewise.
15612 * conform/data/ftw.h-data: Likewise.
15613 * conform/data/glob.h-data: Likewise.
15614 * conform/data/grp.h-data: Likewise.
15615 * conform/data/iconv.h-data: Likewise.
15616 * conform/data/inttypes.h-data: Likewise.
15617 * conform/data/langinfo.h-data: Likewise.
15618 * conform/data/libgen.h-data: Likewise.
15619 * conform/data/limits.h-data: Likewise.
15620 * conform/data/locale.h-data: Likewise.
15621 * conform/data/math.h-data: Likewise.
15622 * conform/data/monetary.h-data: Likewise.
15623 * conform/data/mqueue.h-data: Likewise.
15624 * conform/data/ndbm.h-data: Likewise.
15625 * conform/data/net/if.h-data: Likewise.
15626 * conform/data/netdb.h-data: Likewise.
15627 * conform/data/netinet/in.h-data: Likewise.
15628 * conform/data/nl_types.h-data: Likewise.
15629 * conform/data/poll.h-data: Likewise.
15630 * conform/data/pthread.h-data: Likewise.
15631 * conform/data/pwd.h-data: Likewise.
15632 * conform/data/regex.h-data: Likewise.
15633 * conform/data/sched.h-data: Likewise.
15634 * conform/data/search.h-data: Likewise.
15635 * conform/data/semaphore.h-data: Likewise.
15636 * conform/data/setjmp.h-data: Likewise.
15637 * conform/data/signal.h-data: Likewise.
15638 * conform/data/spawn.h-data: Likewise.
15639 * conform/data/stdarg.h-data: Likewise.
15640 * conform/data/stdio.h-data: Likewise.
15641 * conform/data/stdlib.h-data: Likewise.
15642 * conform/data/string.h-data: Likewise.
15643 * conform/data/strings.h-data: Likewise.
15644 * conform/data/stropts.h-data: Likewise.
15645 * conform/data/sys/ipc.h-data: Likewise.
15646 * conform/data/sys/mman.h-data: Likewise.
15647 * conform/data/sys/msg.h-data: Likewise.
15648 * conform/data/sys/resource.h-data: Likewise.
15649 * conform/data/sys/select.h-data: Likewise.
15650 * conform/data/sys/sem.h-data: Likewise.
15651 * conform/data/sys/shm.h-data: Likewise.
15652 * conform/data/sys/socket.h-data: Likewise.
15653 * conform/data/sys/stat.h-data: Likewise.
15654 * conform/data/sys/statvfs.h-data: Likewise.
15655 * conform/data/sys/time.h-data: Likewise.
15656 * conform/data/sys/timeb.h-data: Likewise.
15657 * conform/data/sys/times.h-data: Likewise.
15658 * conform/data/sys/types.h-data: Likewise.
15659 * conform/data/sys/uio.h-data: Likewise.
15660 * conform/data/sys/un.h-data: Likewise.
15661 * conform/data/sys/utsname.h-data: Likewise.
15662 * conform/data/sys/wait.h-data: Likewise.
15663 * conform/data/syslog.h-data: Likewise.
15664 * conform/data/tar.h-data: Likewise.
15665 * conform/data/termios.h-data: Likewise.
15666 * conform/data/utime.h-data: Likewise.
15667 * conform/data/utmpx.h-data: Likewise.
15668 * conform/data/varargs.h-data: Likewise.
15669 * conform/data/wchar.h-data: Likewise.
15670 * conform/data/wctype.h-data: Likewise.
15671 * conform/data/wordexp.h-data: Likewise.
15672
15673 * include/stropts.h: New file.
15674 * include/uchar.h: New file.
15675 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15676 * include/assert.h: Likewise.
15677 * include/ctype.h: Likewise.
15678 * include/dirent.h: Likewise.
15679 * include/dlfcn.h: Likewise.
15680 * include/fcntl.h: Likewise.
15681 * include/fnmatch.h: Likewise.
15682 * include/glob.h: Likewise.
15683 * include/grp.h: Likewise.
15684 * include/libio.h: Likewise.
15685 * include/locale.h: Likewise.
15686 * include/math.h: Likewise.
15687 * include/net/if.h: Likewise.
15688 * include/netdb.h: Likewise.
15689 * include/netinet/in.h: Likewise.
15690 * include/pthread.h: Likewise.
15691 * include/pwd.h: Likewise.
15692 * include/regex.h: Likewise.
15693 * include/sched.h: Likewise.
15694 * include/search.h: Likewise.
15695 * include/setjmp.h: Likewise.
15696 * include/signal.h: Likewise.
15697 * include/stdio.h: Likewise.
15698 * include/stdlib.h: Likewise.
15699 * include/string.h: Likewise.
15700 * include/sys/cdefs.h: Likewise.
15701 * include/sys/mman.h: Likewise.
15702 * include/sys/msg.h: Likewise.
15703 * include/sys/resource.h: Likewise.
15704 * include/sys/select.h: Likewise.
15705 * include/sys/socket.h: Likewise.
15706 * include/sys/stat.h: Likewise.
15707 * include/sys/statvfs.h: Likewise.
15708 * include/sys/time.h: Likewise.
15709 * include/sys/times.h: Likewise.
15710 * include/sys/uio.h: Likewise.
15711 * include/sys/utsname.h: Likewise.
15712 * include/sys/wait.h: Likewise.
15713 * include/termios.h: Likewise.
15714 * include/time.h: Likewise.
15715 * include/ulimit.h: Likewise.
15716 * include/unistd.h: Likewise.
15717 * include/utime.h: Likewise.
15718 * include/wchar.h: Likewise.
15719 * include/wctype.h: Likewise.
15720 * include/wordexp.h: Likewise.
15721
15722 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15723
7a270350
UD
15724 * time/time.h: TIME_UTC must be a macro.
15725 Make timespec_get available for ISO C11 only as well.
15726
7724defc
UD
157272012-02-24 Ulrich Drepper <drepper@gmail.com>
15728
15729 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15730 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15731
6b1d1d46
JM
157322012-02-24 Joseph Myers <joseph@codesourcery.com>
15733
15734 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15735
0f8bbd69
JM
157362012-02-24 Joseph Myers <joseph@codesourcery.com>
15737
15738 * manual/texinfo.tex: Update to version 2012-01-19.16.
15739
66ab80bc
JM
157402012-02-24 Joseph Myers <joseph@codesourcery.com>
15741
15742 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15743
74981cc5
RM
157442012-02-24 Roland McGrath <roland@hack.frob.com>
15745
ee968201
RM
15746 [BZ #13738]
15747 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15748 * manual/fdl-1.3.texi: New file.
15749 * manual/fdl-1.1.texi: File removed.
15750
74981cc5
RM
15751 [BZ #13738]
15752 * manual/libc.texinfo (FDL_VERSION): New @set.
15753 Use it for mention of FDL in cover text.
15754 (Documentation License): Use it in @include file name.
15755
7bb764bc
JM
157562012-02-22 Joseph Myers <joseph@codesourcery.com>
15757 Roland McGrath <roland@hack.frob.com>
15758
15759 [BZ #5461]
15760 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15761 not LONG_LONG_MAX and LONG_LONG_MIN.
15762 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15763 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15764 name.
15765 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15766
6cbeae47
JM
157672012-02-22 Joseph Myers <joseph@codesourcery.com>
15768
15769 [BZ #2547]
15770 [BZ #11365]
15771 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15772 manipulate bits before adding and subtracting TWO23[sx].
15773 * math/libm-test.inc (nearbyint_test): Add more tests.
15774
fe45ce09
JM
157752012-02-22 Joseph Myers <joseph@codesourcery.com>
15776
15777 [BZ #2548]
15778 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15779 bits before adding and subtracting TWO23[sx].
15780 * math/libm-test.inc (rint_test): Add more tests.
15781 (rint_test_tonearest): Likewise.
15782 (rint_test_towardzero): Likewise.
15783 (rint_test_downward): Likewise.
15784 (rint_test_upward: Likewise.
15785
ff3b3d82
JM
157862012-02-22 Joseph Myers <joseph@codesourcery.com>
15787
15788 [BZ #10110]
15789 * include/stdc-predef.h: New file. Extracted from features.h.
15790 * include/features.h: Include stdc-predef.h.
15791 * Makefile (headers): Add stdc-predef.h.
15792 * CONFORMANCE (Compiler limitations): Update.
15793
ef0aab35
JM
157942012-02-22 Joseph Myers <joseph@codesourcery.com>
15795
15796 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15797
58639409
DM
157982012-02-21 David S. Miller <davem@davemloft.net>
15799
15800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15802
c0e70b25
DM
158032012-02-20 David S. Miller <davem@davemloft.net>
15804
15805 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15806 using a normal save/restore sequence, rather than allocating a
15807 dummy stack frame just to store a frame pointer and restore.
15808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15809
fb06851d
JM
158102012-02-21 Joseph Myers <joseph@codesourcery.com>
15811
15812 * manual/install.texi: Fix stray word in line-wrapped comment.
15813
7a8b71c3
DM
158142012-02-20 David S. Miller <davem@davemloft.net>
15815
d510c123
DM
15816 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15817 both binutils and gcc support GOTDATA.
15818
0722d7c2
DM
15819 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15820 "rd %pc" in the PIC register setup sequences.
15821
3d2b3019
DM
15822 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15823 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15824 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15825 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15826 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15828 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15831 (SYSCALL_ERROR_HANDLER): Likewise.
15832 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15833 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15835 (SYSCALL_ERROR_HANDLER): Likewise.
15836
c80098a9
DM
15837 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15838 (HAVE_GCC_GOTDATA): New.
15839 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15840 relocation support in both binutils and gcc.
15841 * sysdeps/sparc/elf/configure: Regenerate.
15842
3a2545a0
DM
15843 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15844 * sysdeps/sparc/sparc32/elf/configure: Delete.
15845 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15846 * sysdeps/sparc/sparc64/elf/configure: Delete.
15847 * sysdeps/sparc/elf/configure.in: New file.
15848 * sysdeps/sparc/elf/configure: Generate.
15849
7a8b71c3
DM
15850 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15851 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15852 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15853 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15854 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15855
f1e86fca
JM
158562012-02-21 Joseph Myers <joseph@codesourcery.com>
15857
15858 * manual/install.texi: Do not mention specific glibc version
15859 numbers.
15860 * manual/libc.texinfo (VERSION, UPDATED): Update.
15861 (@copying): Use @copyright{} and range of years.
15862
0e7dfaef
JM
158632012-02-21 Joseph Myers <joseph@codesourcery.com>
15864
15865 [BZ #13695]
15866 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15867 [crti.S not in sysdirs] (generated): Do not append.
15868 [crti.S not in sysdirs] (omit-deps): Likewise.
15869 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15870 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15871 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15872 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15873 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15874 Likewise.
15875 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15876 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15877 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15878 * csu/defs.awk: Remove file.
15879 * sysdeps/generic/initfini.c: Likewise.
15880 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15881 variable.
15882 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15883 Likewise.
15884
599af3ca
JM
158852012-02-20 Joseph Myers <joseph@codesourcery.com>
15886
15887 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15891 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15892 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15893 <bits/epoll.h>.
15894 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15895 (__EPOLL_PACKED): Define to empty if not defined by
15896 <bits/epoll.h>.
15897 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15899 bits/epoll.h.
15900
0e499750
JM
159012012-02-20 Joseph Myers <joseph@codesourcery.com>
15902
15903 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15904 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15905 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15906 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15907 <bits/timerfd.h>.
15908 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15910 bits/timerfd.h.
15911
5ad91f6e
JM
159122012-02-20 Joseph Myers <joseph@codesourcery.com>
15913
15914 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15915 in C locale.
15916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15917 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15920
06b99b02
AJ
159212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15922
15923 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15925
7638c0fd
AS
159262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15927
15928 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15929 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15930 defined.
15931 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15932 Likewise.
15933 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15934 entry for 2.16.
15935
92221550
AJ
159362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15937
15938 * math/w_acos.c: Use non-signaling floating-point comparisons.
15939 * math/w_acosf.c: Likewise.
15940 * math/w_acosh.c: Likewise.
15941 * math/w_acoshf.c: Likewise.
15942 * math/w_acoshl.c: Likewise.
15943 * math/w_acosl.c: Likewise.
15944 * math/w_asin.c: Likewise.
15945 * math/w_asinf.c: Likewise.
15946 * math/w_asinl.c: Likewise.
15947 * math/w_atanh.c: Likewise.
15948 * math/w_atanhf.c: Likewise.
15949 * math/w_atanhl.c: Likewise.
15950 * math/w_exp2.c: Likewise.
15951 * math/w_exp2f.c: Likewise.
15952 * math/w_exp2l.c: Likewise.
15953 * math/w_j0.c: Likewise.
15954 * math/w_j0f.c: Likewise.
15955 * math/w_j0l.c: Likewise.
15956 * math/w_j1.c: Likewise.
15957 * math/w_j1f.c: Likewise.
15958 * math/w_j1l.c: Likewise.
15959 * math/w_jn.c: Likewise.
15960 * math/w_jnf.c: Likewise.
15961 * math/w_log.c: Likewise.
15962 * math/w_log10.c: Likewise.
15963 * math/w_log10f.c: Likewise.
15964 * math/w_log10l.c: Likewise.
15965 * math/w_log2.c: Likewise.
15966 * math/w_log2f.c: Likewise.
15967 * math/w_log2l.c: Likewise.
15968 * math/w_logf.c: Likewise.
15969 * math/w_logl.c: Likewise.
15970 * math/w_sqrt.c: Likewise.
15971 * math/w_sqrtf.c: Likewise.
15972 * math/w_sqrtl.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15978
ebaf36eb
JM
159792012-02-19 Joseph Myers <joseph@codesourcery.com>
15980
15981 [BZ #9739]
15982 * manual/string.texi (strnlen): Use correct parameter name in
15983 equivalent expression.
15984
71c254a6
JM
159852012-02-19 Joseph Myers <joseph@codesourcery.com>
15986
15987 [BZ #11174]
15988 * manual/users.texi (seteuid): Consistently use neweuid for
15989 argument name.
15990
16d2c631
JM
159912012-02-19 Joseph Myers <joseph@codesourcery.com>
15992
15993 [BZ #13704]
15994 * manual/nss.texi (Services in the NSS configuration): Correct
15995 list of services in example configuration file.
15996
cd837b09
NB
159972012-02-19 Nick Bowler <nbowler@draconx.ca>
15998
15999 [BZ #11322]
16000 * manual/arith.texi: Remove statements about negative zero
16001 behaving identically to zero.
16002
02c4bbad
JM
160032012-02-18 Joseph Myers <joseph@codesourcery.com>
16004
16005 [BZ #5993]
16006 * manual/install.texi: Do not document upgrading from libc5.
16007
366842e7
JM
160082012-02-18 Joseph Myers <joseph@codesourcery.com>
16009
16010 [BZ #4596]
16011 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16012
dd54084d
DM
160132012-02-18 David S. Miller <davem@davemloft.net>
16014
16015 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16016 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16017 %o7 across the call.
16018 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16019 instead.
16020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16021 SETUP_PIC_REG_LEAF.
16022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16023 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16024 * sysdeps/sparc/crtn.S: Likewise.
16025
2bcc53a3
UD
160262012-02-17 Ulrich Drepper <drepper@gmail.com>
16027
16028 * aout/Makefile: Remove.
16029
09c093b5
RK
160302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16031
16032 [BZ #13058]
16033 * manual/examples/argp-ex1.c (main): Format definition in GNU
16034 style.
16035 * manual/examples/argp-ex2.c (main): Likewise.
16036 * manual/examples/argp-ex3.c (main): Likewise.
16037 * manual/examples/argp-ex4.c (main): Likewise.
16038 * manual/examples/longopt.c (main): Use new-style prototype
16039 definition.
16040 * manual/examples/strncat.c (main): Specify return type and use
16041 (void) for arguments.
16042 * manual/examples/subopt.c (main): Use char **argv argument.
16043
2ee633a2
JM
160442012-02-17 Joseph Myers <joseph@codesourcery.com>
16045
16046 [BZ #5077]
16047 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16048 rounding modes.
16049
0520adde
FB
160502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16051
16052 [BZ #6907]
16053 * manual/string.texi (strchr): Change when strchrnul is
16054 recommended.
16055
3f4081cd
DGM
160562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16057
16058 [BZ #174]
16059 * manual/locale.texi (setlocale): Document LOCPATH.
16060
d1b10e78
JM
160612012-02-17 Joseph Myers <joseph@codesourcery.com>
16062
16063 [BZ #10210]
16064 * manual/process.texi (execle): Move @dots{} before last argument.
16065
79c6869c
PB
160662012-02-17 Paul Bolle <pebolle@tiscali.nl>
16067
16068 [BZ #12047]
16069 * manual/charset.texi (Generic Charset Conversion): Fix typo
16070 (LC_TYPE -> LC_CTYPE).
16071
cc6e48bc
NB
160722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16073
16074 [BZ #5805]
16075 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16076 (scalbnf): Likewise.
16077 (scalbnl): Likewise.
16078 (scalbln): Likewise.
16079 (scalblnf): Likewise.
16080 (scalblnl): Likewise.
16081 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16082 (vwarnx): Likewise.
16083 (verr): Likewise.
16084 (verrx): Likewise.
16085 * manual/filesys.texi (telldir): Use braces around return type.
16086 * manual/llio.texi (mmap): Add space after comma.
16087 (mmap64): Likewise.
16088 * manual/math.texi (jn): Use @var{} on parameter names.
16089 (jnf): Likewise.
16090 (jnl): Likewise.
16091 (yn): Likewise.
16092 (ynf): Likewise.
16093 (ynl): Likewise.
16094 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16095 line.
16096 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16097 "...".
16098 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16099 (sched_get_priority_max): Likewise.
16100 * manual/signal.texi (sigvec): Add space after comma.
16101 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16102 names.
16103 (if_indextoname): Likewise.
16104 (if_freenameindex): Likewise.
16105 (sendto): Use ',' instead of '.' in prototype.
16106 * manual/startup.texi (syscall): Use @dots{} instead of literal
16107 "...".
16108 * manual/stdio.texi (__fpending): Separate initial words of
16109 paragraph from @deftypefun line.
16110 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16111 "...".
16112 (vsyslog): Use @var{} on parameter names.
16113 * manual/terminal.texi (stty): Use @var{} on parameter names.
16114 * manual/users.texi (getutmp): Use @var{} on parameter names.
16115 (getutmpx): Likewise.
16116
5b23062f
JM
161172012-02-17 Joseph Myers <joseph@codesourcery.com>
16118
16119 [BZ #6884]
16120 * manual/stdio.texi (fopen): Fix typos in description of
16121 ",ccs=STRING".
16122
8dee4833
AJ
161232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16124
16125 [BZ #4026]
16126 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16127 get clock_id definition.
16128
9078ce93
TS
161292012-02-17 Thomas Schwinge <thomas@schwinge.name>
16130
16131 [BZ #4822]
16132 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16133 (madvise): Cast every argument to void on its own.
16134
3835c55f
JM
161352012-02-17 Joseph Myers <joseph@codesourcery.com>
16136
16137 [BZ #9902]
16138 * manual/startup.texi (Exit Status): Fix typo.
16139
35c47e37
JM
161402012-02-17 Joseph Myers <joseph@codesourcery.com>
16141
16142 [BZ #10140]
16143 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16144 * manual/examples/argp-ex2.c: Likewise.
16145 * manual/examples/argp-ex3.c: Likewise.
16146
e3b69ca7
RH
161472012-02-16 Richard Henderson <rth@redhat.com>
16148
16149 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16150 * sysdeps/s390/s390-32/initfini.c: Remove.
16151 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16152 * sysdeps/s390/s390-64/initfini.c: Remove.
16153
df83af67
KK
161542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16155
16156 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16157 compiler output for sysdeps/generic/initfini.c.
16158 * sysdeps/sh/elf/initfini.c: Remove file.
16159
f63f3380
DM
161602012-02-16 David S. Miller <davem@davemloft.net>
16161
fb59b3a4
DM
16162 [BZ #11494]
16163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16164
f63f3380
DM
16165 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16166 * sysdeps/sparc/crti.S: New file.
16167 * sysdeps/sparc/crtn.S: New file.
16168 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16169 * sysdeps/sparc/sparc64/Makefile: Likewise.
16170
df6a4a4a
MF
161712012-02-15 Mike Frysinger <vapier@gentoo.org>
16172
6dd8f3dc 16173 [BZ #3335]
df6a4a4a
MF
16174 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16175
1cac7236
RM
161762012-02-15 Roland McGrath <roland@hack.frob.com>
16177
d2c736f8
RM
16178 [BZ #4822]
16179 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16180
1cac7236
RM
16181 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16182 (write, read, close): Likewise.
16183 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16184
8e475601
JM
161852012-02-15 Joseph Myers <joseph@codesourcery.com>
16186
16187 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16188 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16190 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16191 <bits/signalfd.h>.
16192 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16194 bits/signalfd.h.
16195
ed656b40
MP
161962012-02-14 Marek Polacek <polacek@redhat.com>
16197
16198 * sysdeps/x86_64/crti.S: New file.
16199 * sysdeps/x86_64/crtn.S: New file.
16200 * sysdeps/x86_64/elf/initfini.c: Remove file.
16201
2a979d3a
JM
162022012-02-13 Joseph Myers <joseph@codesourcery.com>
16203
16204 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16205 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16207 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16208 <bits/inotify.h>.
16209 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16211 bits/inotify.h.
16212
2a418ac3
JM
162132012-02-13 Joseph Myers <joseph@codesourcery.com>
16214
16215 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16216 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16217 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16218 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16219 <bits/eventfd.h>.
16220 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16222 bits/eventfd.h.
16223
fb779be7
TS
162242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16225
e19e83c5
RM
16226 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16227 __feraiseexcept instead of feraiseexcept.
7c35ffed 16228
fb779be7
TS
16229 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16230 nanosleep invocations.
16231 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16232 strings, and add error checking for a nanosleep invocations.
16233
59ba27a6
PE
162342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16235
16236 Replace FSF snail mail address with URLs, as per GNU coding standards.
16237 Most of the snail mail addresses were wrong anyway, and omitting
16238 them makes the source code easier to maintain. Almost all of the
16239 changes are to license notices and to locale LC_IDENTIFICATION
16240 addresses, except for this one:
16241 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16242 not its snail mail address.
16243
57b957eb
RH
162442012-02-09 Richard Henderson <rth@twiddle.net>
16245
af850b1c
RH
16246 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16247 of kernel-features.h.
16248
57b957eb
RH
16249 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16250
6b73181a
MP
162512012-02-08 Marek Polacek <polacek@redhat.com>
16252
16253 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16254 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16255 * sysdeps/gnu/_G_config.h: Likewise.
16256 * sysdeps/generic/_G_config.h: Likewise.
16257
26ecc33a
AS
162582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16259
6c6dbc63
AS
16260 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16261 tests.
16262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16263
e216c012
AS
16264 * sysdeps/powerpc/powerpc32/crti.S: New file.
16265 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16266 * sysdeps/powerpc/powerpc64/crti.S: New file.
16267 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16268
26ecc33a
AS
16269 * Makeconfig (have-initfini): Don't set.
16270 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16271 * configure.in (nopic_initfini): Don't substitute.
16272 * config.h.in (HAVE_INITFINI): Don't #undef.
16273 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16274 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16275
3add8e13
JM
162762012-02-08 Joseph Myers <joseph@codesourcery.com>
16277
16278 Support crti.S and crtn.S provided directly by architectures.
16279 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16280 [crti.S in sysdirs] (omit-deps): Likewise.
16281 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16282 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16283 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16284 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16285 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16286 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16287 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16288 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16289 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16290 compiler output for sysdeps/generic/initfini.c.
16291 * sysdeps/i386/elf/Makefile: Remove file.
16292 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16293
a22f12b4
MP
162942012-02-07 Marek Polacek <polacek@redhat.com>
16295
16296 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16297 * sysdeps/gnu/_G_config.h: Likewise.
16298 * sysdeps/mach/hurd/_G_config.h: Likewise.
16299
148cf100
MP
163002012-02-07 Marek Polacek <polacek@redhat.com>
16301
16302 * math/Makefile (tests): Add tst-CMPLX2.
16303 * math/tst-CMPLX2.c: New file.
16304
cfdc0dd7
AS
163052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16306
84ba42c4
AS
16307 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16308
cfdc0dd7
AS
16309 * math/libm-test.inc (jn_test): Add missing L suffix.
16310
622c86f4
MP
163112012-02-06 Marek Polacek <polacek@redhat.com>
16312
16313 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16314 * sysdeps/i386/fpu/e_powf.S: Likewise.
16315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16316 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16317 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16318 * sysdeps/i386/fpu/e_pow.S: Likewise.
16319 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16321 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16322 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16323 * sysdeps/i386/fpu/e_log2.S: Likewise.
16324 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16325 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16326 * sysdeps/i386/fpu/e_powl.S: Likewise.
16327 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16329 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16330 * sysdeps/i386/fpu/e_logl.S: Likewise.
16331 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16332 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16333 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16334 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16335 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16336 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16337 * sysdeps/i386/fpu/e_log.S: Likewise.
16338 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16339 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16340 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16341 * sysdeps/i386/fpu/e_logf.S: Likewise.
16342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16344 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16345 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16346 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16347 * sysdeps/i386/fpu/e_log10.S: Likewise.
16348 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16349 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16350 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16351 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16352 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16353 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16354 * sysdeps/i386/asm-syntax.h: Likewise.
16355 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16357 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16358 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16359 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16360 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16361 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16362 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16363 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16364 * sysdeps/powerpc/sysdep.h: Likewise.
16365 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16367
d4a54ac6
JM
163682012-02-06 Joseph Myers <joseph@codesourcery.com>
16369
16370 [BZ #411]
16371 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16372
314054ea
JM
163732012-02-06 Joseph Myers <joseph@codesourcery.com>
16374
16375 * sysdeps/i386/sysdep.h: Include <features.h>.
16376 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16377 version.
16378
d8e0ca50
JM
163792012-02-05 Joseph Myers <joseph@codesourcery.com>
16380
16381 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16382 Define.
16383 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16384 LOAD_PIC_REG_STR.
16385
b1da7dd9
JM
163862012-02-03 Joseph Myers <joseph@codesourcery.com>
16387
16388 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16389 (SETUP_PIC_REG): Use GET_PC_THUNK.
16390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16391 macro.
16392
9a1d9254
JM
163932012-02-03 Joseph Myers <joseph@codesourcery.com>
16394
16395 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16396 for non-PIC compilation.
16397 (SETUP_PIC_REG): Add .p2align directive.
16398 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16399 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16400 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16401 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16402 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16403 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16406 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16407 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16408 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16409 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16410 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16411 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16412 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16413 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16414 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16415 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16416 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16417 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16420 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16421 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16424 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16428 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16430 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16431 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16432 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16433 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16434 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16435 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16436 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16437 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16438 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16439
65dc3b75
JM
164402012-02-03 Joseph Myers <joseph@codesourcery.com>
16441
16442 * math/tst-CMPLX.c: Include <stdio.h>.
16443
d55bf177
JM
164442012-01-31 Joseph Myers <joseph@codesourcery.com>
16445
16446 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16447 float.
16448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16449 * sysdeps/sparc/bits/mathdef.h: Likewise.
16450
69db4f8f
MP
164512012-01-31 Marek Polacek <polacek@redhat.com>
16452
16453 * libio/libio.h: Don't define _PARAMS.
16454 * locale/programs/config.h: Don't define PARAMS.
16455 * stdlib/strtol_l.c: Likewise.
16456 (__strtol_l): Remove PARAMS from the prototype.
16457
41b81892
UD
164582012-01-31 Ulrich Drepper <drepper@gmail.com>
16459
3b49edc0
UD
16460 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16461 names. Just use the correct names. Remove unnecessary wrapper
16462 functions.
16463 * malloc/arena.c: Likewise.
16464 * malloc/hooks.c: Likewise.
16465
41b81892
UD
16466 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16467 ARENA_TEST says not to. Simplify test for creation of a new arena.
16468 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16469
27a25b6e
UD
164702012-01-30 Ulrich Drepper <drepper@gmail.com>
16471
16472 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16473 into tail calls.
16474 (update_get_addr): New function.
16475 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16476 GET_ADDR_MODULE parameter.
16477
c8a89e7d
JM
164782012-01-30 Joseph Myers <joseph@codesourcery.com>
16479
16480 * crypt/cert.c: Remove __STDC__ conditionals.
16481 * crypt/crypt-entry.c: Likewise.
16482 * crypt/crypt_util.c: Likewise.
16483 * libio/filedoalloc.c: Likewise.
16484 * libio/fileops.c: Likewise.
16485 * libio/genops.c: Likewise.
16486 * libio/iofclose.c: Likewise.
16487 * libio/iofdopen.c: Likewise.
16488 * libio/iofopen.c: Likewise.
16489 * libio/iofopen64.c: Likewise.
16490 * libio/iogetdelim.c: Likewise.
16491 * libio/iopopen.c: Likewise.
16492 * libio/obprintf.c: Likewise.
16493 * libio/oldfileops.c: Likewise.
16494 * libio/oldiofclose.c: Likewise.
16495 * libio/oldiofdopen.c: Likewise.
16496 * libio/oldiofopen.c: Likewise.
16497 * libio/oldiopopen.c: Likewise.
16498 * libio/wfiledoalloc.c: Likewise.
16499 * libio/wgenops.c: Likewise.
16500 * locale/programs/xmalloc.c: Likewise.
16501 * misc/syslog.c: Likewise.
16502 * stdio-common/xbug.c: Likewise.
16503 * string/memchr.c: Likewise.
16504 * string/memcmp.c: Likewise.
16505 * string/memrchr.c: Likewise.
16506 * string/rawmemchr.c: Likewise.
16507 * sysdeps/posix/getcwd.c: Likewise.
16508 * time/strftime_l.c: Likewise.
16509
3b100462
JM
165102012-01-30 Joseph Myers <joseph@codesourcery.com>
16511
16512 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16513 * config.make.in (config-cflags-sse2avx): Define.
16514 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16515 Fix typo.
16516
607998af
CM
165172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16518
16519 * scripts/config.guess: Update from upstream config git repository.
16520 * scripts/config.sub: Likewise.
16521
3601428f
CM
165222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16523
3ac8b282
CM
16524 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16525 (EM_NUM): Update.
16526 (R_TILEPRO_*, R_TILEGX_*): New macros.
16527
e034841e
CM
16528 * scripts/firstversions.awk: Fix bug in version range handling.
16529
540d7568
CM
16530 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16531
3601428f
CM
16532 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16533
463de862
CM
16534 * include/sys/epoll.h: New file.
16535 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16536 libc_hidden_def.
16537
73139a76
UD
165382012-01-28 Ulrich Drepper <drepper@gmail.com>
16539
96bc5b45
UD
16540 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16541 Avoid unnecessary __WORDSIZE == 64 test.
16542 (fmaxf): Use VEX format if possible.
16543 (fmax): Likewise.
16544 (fminf): Likewise.
16545 (fmin): Likewise.
16546
56f6f6a2
UD
16547 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16548 * math/math_private.h: Remove libc_fegetround* and
16549 libc_fesetround*.
16550 * sysdeps/i386/configure.in: Check for -msse2avx.
16551 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16552 also if SSE2AVX is defined.
16553 Remove libc_fegetround* and libc_fesetround*.
16554 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16555 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16557 of HAS_YMM_USABLE.
16558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16563
73139a76
UD
16564 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16565
d73f93a4
AZ
165662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16567
16568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16569 size is not set.
16570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16571
6ee65ed6
UD
165722012-01-27 Ulrich Drepper <drepper@gmail.com>
16573
16574 [BZ #13618]
16575 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16576 relocation.
16577 * Makeconfig (libm): Define.
16578 * elf/Makefile: Add rules to build and run tst-relsort1.
16579 * elf/tst-relsort1.c: New file.
16580 * elf/tst-relsort1mod1.c: New file.
16581 * elf/tst-relsort1mod2.c: New file.
16582
8db21882
JM
165832012-01-27 Joseph Myers <joseph@codesourcery.com>
16584
16585 * math/s_ldexp.c: Remove __STDC__ conditionals.
16586 * math/s_ldexpf.c: Likewise.
16587 * math/s_ldexpl.c: Likewise.
16588 * math/s_nextafter.c: Likewise.
16589 * math/s_nexttowardf.c: Likewise.
16590 * math/s_significand.c: Likewise.
16591 * math/s_significandf.c: Likewise.
16592 * math/s_significandl.c: Likewise.
16593 * math/w_jnl.c: Likewise.
16594 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16595 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16596 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16597 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16598 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16615 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16616 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16617 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16618 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16619 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16620 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16626 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16627 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16628 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16630 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16634 * sysdeps/ieee754/k_standard.c: Likewise.
16635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16637 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16638 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16640 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16642 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16643 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16644 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16645 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16647 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16648 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16657 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16658 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16659 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16660 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16696 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16701 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16709 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16714 * sysdeps/ieee754/s_matherr.c: Likewise.
16715 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16716 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16719
965a54a4
JM
167202012-01-26 Joseph Myers <joseph@codesourcery.com>
16721
16722 * crypt/md5.h: Remove __STDC__ conditionals.
16723 * libio/libioP.h: Likewise.
16724 * locale/programs/config.h: Likewise.
16725 * sysdeps/generic/sysdep.h: Likewise.
16726 * sysdeps/i386/asm-syntax.h: Likewise.
16727 * sysdeps/s390/asm-syntax.h: Likewise.
16728 * sysdeps/unix/sysdep.h: Likewise.
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16731
7071ad79
JM
167322012-01-26 Joseph Myers <joseph@codesourcery.com>
16733
16734 * libio/libio.h: Remove __STDC__ conditionals.
16735 * malloc/obstack.h: Likewise.
16736 * math/complex.h: Likewise.
16737 * math/math.h: Likewise.
16738 * sysdeps/generic/_G_config.h: Likewise.
16739 * sysdeps/gnu/_G_config.h: Likewise.
16740 * sysdeps/mach/hurd/_G_config.h: Likewise.
16741 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16742 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16743 * sysdeps/sparc/bits/mathdef.h: Likewise.
16744
afc5ed09
UD
167452012-01-26 Ulrich Drepper <drepper@gmail.com>
16746
16747 [BZ #13583]
16748 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16749 Clean up HAS_* macros.
afc5ed09 16750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16751 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16752 possible.
16753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16754 HAS_AVX.
16755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16760
bdb6de1d
JM
167612012-01-25 Joseph Myers <joseph@codesourcery.com>
16762
16763 * elf/tst-unique3.cc (gets): Remove declaration.
16764 * elf/tst-unique3lib.cc (gets): Likewise.
16765 * elf/tst-unique3lib2.cc (gets): Likewise.
16766 * elf/tst-unique4.cc (gets): Likewise.
16767
b15549e6
UD
167682012-01-24 Ulrich Drepper <drepper@gmail.com>
16769
16770 * include/stdio.h: Add C++ protection. Add gets declarations and
16771 definitions.
16772 * debug/tst-chk1.c: Don't declare gets here.
16773 * stdio-common/tst-gets.c: Likewise.
16774
a037381f
JM
167752012-01-24 Joseph Myers <joseph@codesourcery.com>
16776
16777 * posix/glob: Remove directory.
16778
f1d4aa75
JM
167792012-01-24 Joseph Myers <joseph@codesourcery.com>
16780
16781 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16782
81c0c964
PT
167832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16784
16785 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16786 of the non-standard EPFNOSUPPORT.
16787
0ea698ae
ST
167882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16789
16790 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16791 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16792 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16793
d220b117
UD
167942012-01-21 Ulrich Drepper <drepper@gmail.com>
16795
16796 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16797
3e1aa84e
UD
167982012-01-20 Ulrich Drepper <drepper@gmail.com>
16799
16800 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16801 transient errors.
16802 * nscd/grpcache.c (cache_addgr): Likewise.
16803 * nscd/hstcache.c (cache_addhst): Likewise.
16804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16805 * nscd/pwdcache.c (cache_addpw): Likewise.
16806 * nscd/servicescache.c (cache_addserv): Likewise.
16807
400aa020
UD
168082012-01-16 Ulrich Drepper <drepper@gmail.com>
16809
d77e7869
UD
16810 * malloc/malloc.c: Various cleanups.
16811 * malloc/hooks.c: Likewise.
16812
400aa020
UD
16813 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16814 * stdlib/bug-fmtmsg1.c: New file.
16815
16816 * stdlib/fmtmsg.c (init): Add missing unlock.
16817 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16818
e0a309cf
MP
168192012-01-12 Marek Polacek <polacek@redhat.com>
16820
16821 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16822 and _GNU_SOURCE.
16823
929d11c7
WS
168242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16825
16826 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16827 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16828 macro to ensure uniqueness of label name.
16829 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16830 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16831
41d0e869
UD
168322012-01-11 Ulrich Drepper <drepper@gmail.com>
16833
0cc5ed3b
UD
16834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16835
41d0e869
UD
16836 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16837 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16840
a47a831a
UD
168412012-01-10 Ulrich Drepper <drepper@gmail.com>
16842
daa891c0
UD
16843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16844
16845 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16846 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16848
e58ef0f2
UD
16849 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16850
a47a831a 16851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16855
16856 * math/bits/math-finite.h: Add ldexp support.
16857
a0bfc9c7
MP
168582012-01-10 Marek Polacek <polacek@redhat.com>
16859
16860 * locale/programs/localedef.h (show_archive_content): Add noreturn
16861 attribute.
16862
d6e97a1d
UD
168632012-01-09 Ulrich Drepper <drepper@gmail.com>
16864
16865 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16866
d5835c26
UD
168672012-01-08 Ulrich Drepper <drepper@gmail.com>
16868
e5f484c6
UD
16869 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16870
d5835c26
UD
16871 * io/Makefile (headers): Add bits/poll2.h.
16872
d1f741e9
WS
168732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16874
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16876 typo #include statement.
16877
ec09c1c4
UD
168782012-01-08 Ulrich Drepper <drepper@gmail.com>
16879
16880 * include/sys/cdefs.h: Define __attribute_alloc_size.
16881 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16882 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16883 * elf/pldd.c: Likewise.
16884 * iconv/iconv_charmap.c: Likewise.
16885 * iconv/iconvconfig.c: Likewise.
16886 * iconv/strtab.c: Likewise.
16887 * locale/programs/locale.c: Likewise.
16888 * locale/programs/localedef.h: Likewise.
16889 * locale/programs/simple-hash.c: Likewise.
16890 * nscd/nscd.h: Likewise.
16891 * nss/makedb.c: Likewise.
16892 * sysdeps/generic/ldconfig.h: Likewise.
16893 * locale/programs/localedef.c: Remove xmalloc prototype.
16894 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16895
20b38e03
PP
168962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16897
16898 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16899 appropriate.
16900
a0da5fe1
UD
169012012-01-08 Ulrich Drepper <drepper@gmail.com>
16902
1d5a644a 16903 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16904 * math/tst-CMPLX.c: New file.
1d5a644a 16905
8784a6db
UD
16906 * math/complex.h (CMPLXL): Fix typo.
16907
d9a216c0
UD
16908 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16909 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16910 GLIBC_2.16.
16911 * debug/tst-chk1.c: Add poll and ppoll tests.
16912 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16913 * include/sys/poll.h: Add hidden proto for ppoll.
16914 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16915 * sysdeps/mach/hurd/ppoll.c: Likewise.
16916 * io/ppoll.c: Likewise.
16917 * debug/poll_chk.c: New file.
16918 * debug/ppoll_chk.c: New file.
16919 * include/bits/poll2.h: New file.
16920 * io/bits/poll2.h: New file.
16921
ac097f5c
UD
16922 [BZ #1350]
16923 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16924
2119dcfa
UD
16925 * configure.in: static is always set to yes. Remove.
16926 * config.make.in: Don't set build-static.
16927 * Makeconfig: Remove use of build-static.
16928 * dlfcn/Makefile: Likewise.
16929 * elf/Makefile: Likewise.
16930 * math/Makefile: Likewise.
16931 * misc/Makefile: Likewise.
16932 * nptl/Makefile: Likewise.
16933 * sysdeps/mach/hurd/Makefile: Likewise.
16934
121766a9
UD
16935 * configure.in: PWD_P is not used anymore.
16936 * config.make.in: Remove PWD_P entry.
16937
51a1d39c 16938 * configure.in: Remove last remnants of RANLIB.
8720d066 16939 No need to check for signed size_t anymore.
215f4bdc
UD
16940 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16941 and IA-64.
3857022a 16942 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16943 * aclocal.m4: Likewise.
16944
d3ed7225
UD
16945 * wcsmbs/mbrtoc16.c: Implement using towc function.
16946 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16947 * wcsmbs/wcsmbsload.c: Likewise.
16948 * iconv/gconv_simple.c: Likewise.
16949 * iconv/gconv_int.h: Likewise.
16950 * iconv/gconv_builtin.h: Likewise.
16951 * iconv/iconv_prog.c: Remove CHAR16 handling.
16952
16953 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16954
16955 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16956
a0da5fe1
UD
16957 * configure.in: Remove --with-elf and --enable-bounded options.
16958 Dont set base_machine for ia64. More non-ELF conditions removed.
16959 Remove testing and setting of leading underscore information.
16960 * config.make.in (build-bounded): Set to no.
16961 * config.h.in: Remove NO_UNDERSCORES entry.
16962 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16963 them.
16964 * csu/start.c: Remove !NO_UNDERSCORE code.
16965 * locale/localeinfo.h: Likewise.
16966 * sysdeps/generic/machine-gmon.h: Likewise.
16967 * sysdeps/generic/sysdep.h: Likewise.
16968 * sysdeps/i386/sysdep.h: Likewise.
16969 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16970 * sysdeps/mach/sysdep.h: Likewise.
16971 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16973 * sysdeps/sh/sysdep.h: Likewise.
16974 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16975 * sysdeps/unix/i386/sysdep.S: Likewise.
16976 * sysdeps/unix/sparc/start.c: Likewise.
16977 * sysdeps/unix/sparc/sysdep.S: Likewise.
16978 * sysdeps/unix/sparc/sysdep.h: Likewise.
16979 * sysdeps/unix/start.c: Likewise.
16980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16981 * sysdeps/x86_64/sysdep.h: Likewise.
16982
df78418a
UD
169832012-01-07 Ulrich Drepper <drepper@gmail.com>
16984
a784e502
UD
16985 [BZ #13553]
16986 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16987 for non-gcc.
16988 * argp/argp-fmtstream.h: Use const instead __const.
16989 * argp/argp.h: Likewise.
16990 * assert/assert.h: Likewise.
16991 * bits/fenv.h: Likewise.
16992 * bits/sched.h: Likewise.
16993 * bits/sigset.h: Likewise.
16994 * bits/sigthread.h: Likewise.
16995 * catgets/nl_types.h: Likewise.
16996 * conform/data/pthread.h-data: Likewise.
16997 * crypt/crypt-private.h: Likewise.
16998 * crypt/crypt.h: Likewise.
16999 * crypt/crypt_util.c: Likewise.
17000 * ctype/ctype.h: Likewise.
17001 * debug/execinfo.h: Likewise.
17002 * debug/mbsnrtowcs_chk.c: Likewise.
17003 * debug/mbsrtowcs_chk.c: Likewise.
17004 * debug/wcsnrtombs_chk.c: Likewise.
17005 * debug/wcsrtombs_chk.c: Likewise.
17006 * debug/wcstombs_chk.c: Likewise.
17007 * dirent/dirent.h: Likewise.
17008 * dlfcn/dlfcn.h: Likewise.
17009 * elf/neededtest4.c: Likewise.
17010 * grp/grp.h: Likewise.
17011 * gshadow/gshadow.h: Likewise.
17012 * iconv/gconv.h: Likewise.
17013 * iconv/gconv_int.h: Likewise.
17014 * iconv/gconv_simple.c: Likewise.
17015 * iconv/iconv.h: Likewise.
17016 * iconv/loop.c: Likewise.
17017 * iconv/skeleton.c: Likewise.
17018 * include/aio.h: Likewise.
17019 * include/aliases.h: Likewise.
17020 * include/argz.h: Likewise.
17021 * include/arpa/inet.h: Likewise.
17022 * include/assert.h: Likewise.
17023 * include/dirent.h: Likewise.
17024 * include/dlfcn.h: Likewise.
17025 * include/execinfo.h: Likewise.
17026 * include/fcntl.h: Likewise.
17027 * include/fenv.h: Likewise.
17028 * include/glob.h: Likewise.
17029 * include/grp.h: Likewise.
17030 * include/libintl.h: Likewise.
17031 * include/mntent.h: Likewise.
17032 * include/netdb.h: Likewise.
17033 * include/pwd.h: Likewise.
17034 * include/rpc/netdb.h: Likewise.
17035 * include/sched.h: Likewise.
17036 * include/search.h: Likewise.
17037 * include/shadow.h: Likewise.
17038 * include/signal.h: Likewise.
17039 * include/stdio.h: Likewise.
17040 * include/stdlib.h: Likewise.
17041 * include/string.h: Likewise.
17042 * include/sys/socket.h: Likewise.
17043 * include/sys/stat.h: Likewise.
17044 * include/sys/statfs.h: Likewise.
17045 * include/sys/statvfs.h: Likewise.
17046 * include/sys/syslog.h: Likewise.
17047 * include/sys/time.h: Likewise.
17048 * include/sys/uio.h: Likewise.
17049 * include/time.h: Likewise.
17050 * include/unistd.h: Likewise.
17051 * include/utmp.h: Likewise.
17052 * include/wchar.h: Likewise.
17053 * include/wctype.h: Likewise.
17054 * inet/aliases.h: Likewise.
17055 * inet/arpa/inet.h: Likewise.
17056 * inet/netinet/ether.h: Likewise.
17057 * inet/netinet/in.h: Likewise.
17058 * intl/libintl.h: Likewise.
17059 * io/bits/fcntl2.h: Likewise.
17060 * io/fcntl.h: Likewise.
17061 * io/ftw.h: Likewise.
17062 * io/sys/poll.h: Likewise.
17063 * io/sys/stat.h: Likewise.
17064 * io/sys/statfs.h: Likewise.
17065 * io/sys/statvfs.h: Likewise.
17066 * io/utime.h: Likewise.
17067 * libio/bits/stdio.h: Likewise.
17068 * libio/bits/stdio2.h: Likewise.
17069 * libio/libio.h: Likewise.
17070 * libio/libioP.h: Likewise.
17071 * libio/stdio.h: Likewise.
17072 * locale/lc-ctype.c: Likewise.
17073 * locale/locale.h: Likewise.
17074 * login/utmp.h: Likewise.
17075 * malloc/arena.c: Likewise.
17076 * malloc/malloc.c: Likewise.
17077 * malloc/malloc.h: Likewise.
17078 * malloc/mcheck.c: Likewise.
17079 * malloc/mtrace.c: Likewise.
17080 * math/bits/mathcalls.h: Likewise.
17081 * math/fenv.h: Likewise.
17082 * math/math_private.h: Likewise.
17083 * misc/bits/error.h: Likewise.
17084 * misc/bits/syslog.h: Likewise.
17085 * misc/err.h: Likewise.
17086 * misc/error.h: Likewise.
17087 * misc/fstab.h: Likewise.
17088 * misc/mntent.h: Likewise.
17089 * misc/regexp.h: Likewise.
17090 * misc/search.h: Likewise.
17091 * misc/sgtty.h: Likewise.
17092 * misc/sys/mman.h: Likewise.
17093 * misc/sys/syslog.h: Likewise.
17094 * misc/sys/uio.h: Likewise.
17095 * misc/sys/xattr.h: Likewise.
17096 * misc/ttyent.h: Likewise.
17097 * nis/rpcsvc/ypclnt.h: Likewise.
17098 * nss/nss.h: Likewise.
17099 * posix/bits/unistd.h: Likewise.
17100 * posix/fnmatch.h: Likewise.
17101 * posix/glob.h: Likewise.
17102 * posix/sched.h: Likewise.
17103 * posix/spawn.h: Likewise.
17104 * posix/sys/wait.h: Likewise.
17105 * posix/unistd.h: Likewise.
17106 * posix/wordexp.h: Likewise.
17107 * pwd/pwd.h: Likewise.
17108 * resolv/netdb.h: Likewise.
17109 * resource/sys/resource.h: Likewise.
17110 * rt/aio.h: Likewise.
17111 * rt/bits/mqueue2.h: Likewise.
17112 * rt/mqueue.h: Likewise.
17113 * shadow/shadow.h: Likewise.
17114 * signal/signal.h: Likewise.
17115 * socket/send.c: Likewise.
17116 * socket/sendto.c: Likewise.
17117 * socket/sys/socket.h: Likewise.
17118 * stdio-common/printf.h: Likewise.
17119 * stdlib/bits/stdlib.h: Likewise.
17120 * stdlib/fmtmsg.h: Likewise.
17121 * stdlib/monetary.h: Likewise.
17122 * stdlib/stdlib.h: Likewise.
17123 * stdlib/ucontext.h: Likewise.
17124 * streams/stropts.h: Likewise.
17125 * string/argz.h: Likewise.
17126 * string/bits/string2.h: Likewise.
17127 * string/string.h: Likewise.
17128 * string/strings.h: Likewise.
17129 * sunrpc/rpc/auth.h: Likewise.
17130 * sunrpc/rpc/auth_des.h: Likewise.
17131 * sunrpc/rpc/clnt.h: Likewise.
17132 * sunrpc/rpc/netdb.h: Likewise.
17133 * sunrpc/rpc/pmap_clnt.h: Likewise.
17134 * sunrpc/rpc/xdr.h: Likewise.
17135 * sysdeps/generic/inttypes.h: Likewise.
17136 * sysdeps/generic/net/if.h: Likewise.
17137 * sysdeps/generic/sys/swap.h: Likewise.
17138 * sysdeps/gnu/net/if.h: Likewise.
17139 * sysdeps/gnu/utmpx.h: Likewise.
17140 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17141 * sysdeps/i386/i486/bits/string.h: Likewise.
17142 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17143 * sysdeps/s390/bits/string.h: Likewise.
17144 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17145 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17146 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17147 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17148 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17149 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17150 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17151 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17152 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17153 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17154 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17155 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17156 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17157 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17158 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17159 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17160 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17166 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17167 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17168 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17169 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17170 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17172 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17174 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17175 * sysvipc/sys/ipc.h: Likewise.
17176 * sysvipc/sys/msg.h: Likewise.
17177 * sysvipc/sys/sem.h: Likewise.
17178 * sysvipc/sys/shm.h: Likewise.
17179 * termios/termios.h: Likewise.
17180 * time/sys/time.h: Likewise.
17181 * time/time.h: Likewise.
17182 * wcsmbs/bits/wchar2.h: Likewise.
17183 * wcsmbs/uchar.h: Likewise.
17184 * wcsmbs/wchar.h: Likewise.
17185 * wctype/wctype.h: Likewise.
17186
0269750c
UD
17187 [BZ #13551]
17188 * Makeconfig: Remove all but ELF support including AIX support.
17189 * Makerules: Likewise.
17190 * config.h.in: Likewise.
17191 * config.make.in: Likewise.
17192 * configure: Likewise.
17193 * configure.in: Likewise.
17194 * csu/Makefile: Likewise.
17195 * csu/version.c: Likewise.
17196 * debug/Makefile: Likewise.
17197 * dlfcn/Makefile: Likewise.
17198 * elf/Makefile: Likewise.
17199 * extra-lib.mk: Likewise.
17200 * iconv/Makefile: Likewise.
17201 * include/libc-symbols.h: Likewise.
17202 * include/shlib-compat.h: Likewise.
17203 * resolv/Makefile: Likewise.
17204 * resolv/res_libc.c: Likewise.
17205 * rt/Makefile: Likewise.
17206 * sysdeps/i386/asm-syntax.h: Likewise.
17207 * sysdeps/i386/sysdep.h: Likewise.
17208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17209 * sysdeps/mach/sysdep.h: Likewise.
17210 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17211 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17212 * sysdeps/s390/asm-syntax.h: Likewise.
17213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17215 * sysdeps/sh/sysdep.h: Likewise.
17216 * sysdeps/unix/sparc/sysdep.h: Likewise.
17217 * sysdeps/wordsize-32/divdi3.c: Likewise.
17218 * sysdeps/x86_64/sysdep.h: Likewise.
17219
00bbd29b
UD
17220 * argp/Versions: Remove _argp_unlock_xxx.
17221
17222 [BZ #13559]
17223 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17224 * abilist/libBrokenLocale.abilist: Likewise.
17225 * abilist/libanl.abilist: Likewise.
17226 * abilist/libc.abilist: Likewise.
17227 * abilist/libcrypt.abilist: Likewise.
17228 * abilist/libdl.abilist: Likewise.
17229 * abilist/libm.abilist: Likewise.
17230 * abilist/libnsl.abilist: Likewise.
17231 * abilist/libpthread.abilist: Likewise.
17232 * abilist/libresolv.abilist: Likewise.
17233 * abilist/librt.abilist: Likewise.
17234 * abilist/libthread_db.abilist: Likewise.
17235 * abilist/libutil.abilist: Likewise.
17236 * abilist/libnss_db.abilist: New file.
17237
17238 * scripts/abilist.awk: Add support for indirect functions.
17239
a2693a0e
UD
17240 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17241
3f05895f
UD
17242 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17243
ecb6fb48
UD
17244 * shlib-versions: Remove entries for ports architectures.
17245
664f8cb9
UD
17246 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17247 files in ports.
17248 * elf/stackguard-macros.h: Remove support for IA-64.
17249 * elf/tst-auditmod1.c: Likewise.
17250 * sysdeps/generic/ldsodefs.h: Likewise.
17251
7ae81d88
UD
17252 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17253 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17254 configure files.
17255
bdeba135
UD
17256 [BZ #13552]
17257 * configure.in: Remove --enable-omitfp support.
17258 * FAQ.in: Adjust.
17259 * config.make.in: Likewise.
17260 * Makeconfig: Likewise.
17261 * manual/install.texi: Likewise.
17262
d75a0a62
UD
17263 In case anyone cares, the IA-64 architecture could move to ports.
17264 * sysdeps/ia64/*: Removed.
17265 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17266 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17267
dcc9756b
UD
17268 [BZ #13555]
17269 * configure.in: Remove entries for unsupported architectures.
17270
d3761ebc 17271 [BZ #13533]
9954432e
UD
17272 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17273 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17274 routines.
17275 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17276 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17277 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17278 fall back to using wcrtomb.
17279 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17280 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17281 renaming.
17282 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17283 * wcsmbs/tst-c16c32-1.c: New file.
17284
17285 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17286 local variable.
17287
c3a87236
UD
17288 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17289
28926a1b
UD
17290 * elf/tst-unique3.cc: Add explicit declaration of gets.
17291 * elf/tst-unique3lib.cc: Likewise.
17292 * elf/tst-unique3lib2.cc: Likewise.
17293 * elf/tst-unique4.cc: Likewise.
17294
df78418a
UD
17295 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17296
8ecd6b2a
JM
172972012-01-06 Joseph Myers <joseph@codesourcery.com>
17298
17299 [BZ #13566]
17300 * assert/assert.h (static_assert): Don't define for C++.
17301 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17302 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17303
9f115170
UD
173042012-01-03 Ulrich Drepper <drepper@gmail.com>
17305
5e0d0300
UD
17306 * iconv/loop.c (single loop): Fix assertion in storing of
17307 remaining bytes.
17308
9f115170
UD
17309 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17310
81fb02b0
UD
173112012-01-01 Ulrich Drepper <drepper@gmail.com>
17312
17313 * posix/getconf.c: Update copyright year.
17314 * nss/getent.c: Likewise.
a316c1f6 17315 * nss/makedb.c: Likewise.
81fb02b0
UD
17316 * iconv/iconvconfig.c: Likewise.
17317 * iconv/iconv_prog.c: Likewise.
17318 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17319 * elf/pldd.c: Likewise.
17320 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17321 * catgets/gencat.c: Likewise.
17322 * csu/version.c: Likewise.
17323 * elf/ldd.bash.in: Likewise.
17324 * elf/sprof.c (print_version): Likewise.
17325 * locale/programs/locale.c: Likewise.
17326 * locale/programs/localedef.c: Likewise.
a316c1f6 17327 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17328 * nscd/nscd.c (print_version): Likewise.
17329 * debug/xtrace.sh: Likewise.
17330 * malloc/memusage.sh: Likewise.
17331 * malloc/mtrace.pl: Likewise.
17332 * debug/catchsegv.sh: Likewise.
17333
2ba92745
JJ
173342011-12-30 Jakub Jelinek <jakub@redhat.com>
17335
17336 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17337 pure attribute.
17338
dadebdae
UD
173392011-12-24 Ulrich Drepper <drepper@gmail.com>
17340
d3761ebc 17341 [BZ #13533]
db6af3eb
UD
17342 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17343 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17344 transformations.
17345 * iconv/gconv_int.h: Likewise.
17346 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17347 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17348 from libc for GLIBC_2.16.
17349 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17350 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17351 * wcsmbs/uchar.h: Really define mbstate_t.
17352 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17353 * wcsmbs/c16rtomb.c: New file.
17354 * wcsmbs/mbrtoc16.c: New file.
17355 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17356 for C/POSIX locale.
17357 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17358 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17359
dadebdae
UD
17360 * wcsmbs/wchar.h: Add missing __restrict.
17361
67371b56
UD
173622011-12-23 Ulrich Drepper <drepper@gmail.com>
17363
74033a25
UD
17364 [BZ #13532]
17365 * time/Makefile (routines): Add timespec_get.
17366 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17367 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17368 timespec for ISO C11.
17369 * time/timespec_get.c: New file.
17370 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17371 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17372
380d7e87
UD
17373 [BZ #13531]
17374 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17375 * stdlib/stdlib.h: Declare aligned_alloc.
17376 * Versions.def: Add GLIBC_2.16 for libc.
17377 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17378
4e9e7a35
UD
17379 [BZ 13527]
17380 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17381 ISO C11.
17382
380d7e87 17383 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17384 code.
17385
03a71829
UD
17386 [BZ #13528]
17387 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17388
839e283e
UD
17389 [BZ #13529]
17390 * assert/assert.h (static_assert): Define.
17391
ce5294e2 17392 * version.h: Update for 2.16 development version.
90fa7312 17393
8d44e150 17394 [BZ #13526]
d7809905
UD
17395 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17396 _ISOC11_SOURCE.
17397
c0da14cd
UD
17398 * version.h (RELEASE): Bump for 2.15 release.
17399 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17400
530a3249
MP
17401 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17402 Patch by Marek Polacek <mpolacek@redhat.com>.
17403
67371b56
UD
17404 * bits/byteswap.h: Protect long long constants with __extension__.
17405 * sysdeps/i386/bits/byteswap.h: Likewise.
17406 * sysdeps/ia64/bits/byteswap.h: Likewise.
17407 * sysdeps/s390/bits/byteswap.h: Likewise.
17408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17409
15db4de1
LD
174102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17411
17412 [BZ #13540]
bbe315ea
LD
17413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17414 destination buffer.
15db4de1
LD
17415 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17416
2b2596b1
MP
174172011-12-23 Marek Polacek <polacek@redhat.com>
17418
17419 * elf/dl-addr.c (determine_info): Add inline keyword.
17420 * elf/tst-auditmod4b.c (check_avx): Likewise.
17421 * elf/tst-auditmod6b.c (check_avx): Likewise.
17422 * elf/tst-auditmod6c.c (check_avx): Likewise.
17423 * elf/tst-auditmod7b.c (check_avx): Likewise.
17424
70c6c246
UD
174252011-12-23 Ulrich Drepper <drepper@gmail.com>
17426
17427 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17428 !__SSE_MATH__.
17429
c044cf14
LD
174302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17431
15db4de1 17432 [BZ #13540]
c044cf14
LD
17433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17434 processing for last bytes.
17435
6b13d9d9
BH
174362011-08-06 Bruno Haible <bruno@clisp.org>
17437
d455f537
BH
17438 [BZ #13061]
17439 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17440 U+0385, not to U+1FEE.
17441
6b13d9d9
BH
17442 [BZ #13062]
17443 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17444 entry for U+00A5 U+0301.
17445
db910efd
UD
174462011-12-22 Ulrich Drepper <drepper@gmail.com>
17447
27deeafc
UD
17448 [BZ #13166]
17449 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17450 buffer for the output is too small.
17451
aed9d171
UD
17452 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17453 optimization.
17454
db910efd
UD
17455 [BZ #13185]
17456 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17457 SSE flags if possible.
17458
2bd779ae
LD
174592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17460
e7f9dac3 17461 [BZ #13540]
2bd779ae
LD
17462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17463 processing for last bytes.
17464
154bfc16
JM
174652011-12-22 Joseph Myers <joseph@codesourcery.com>
17466
17467 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17468 (syscall-list-default-options, syscall-list-default-condition)
17469 (syscall-list-includes): Define.
17470 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17471 list of ABIs and options and #if conditions for each ABI. Do not
17472 handle common syscalls between ABIs specially.
17473 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17474 Remove.
17475 (syscall-list-variants, syscall-list-32bit-options)
17476 (syscall-list-32bit-condition, syscall-list-64bit-options)
17477 (syscall-list-64bit-condition): Define.
17478 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17479 (syscall-list-variants, syscall-list-32bit-options)
17480 (syscall-list-32bit-condition, syscall-list-64bit-options)
17481 (syscall-list-64bit-condition): Define.
17482 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17483 Remove.
17484 (syscall-list-variants, syscall-list-32bit-options)
17485 (syscall-list-32bit-condition, syscall-list-64bit-options)
17486 (syscall-list-64bit-condition): Define.
17487 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17488 Remove.
17489 (syscall-list-variants, syscall-list-32bit-options)
17490 (syscall-list-32bit-condition, syscall-list-64bit-options)
17491 (syscall-list-64bit-condition): Define.
17492
21eaf3a5
UD
174932011-12-22 Ulrich Drepper <drepper@gmail.com>
17494
16c6f992
UD
17495 * locale/iso-639.def: Add brx entry.
17496
41043168
UD
17497 [BZ #13328]
17498 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17499 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17500
21eaf3a5
UD
17501 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17502 __feraiseexcept_renamed.
17503
e3a851a2
UD
175042011-12-21 Ulrich Drepper <drepper@gmail.com>
17505
4920765e
UD
17506 [BZ #13538]
17507 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17508 EPOLLET with unsigned values.
17509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17510 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17511
e3a851a2
UD
17512 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17513 to large cancellation.
17514 * math/s_cacoshf.c: Likewise.
17515 * math/s_cacoshl.c: Likewise.
17516
b27e24b8
RK
175172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17518
17519 [BZ #13305]
aebefeee 17520 [BZ #12786]
b27e24b8
RK
17521 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17522 * math/s_cacoshf.c: Likewise.
17523 * math/s_cacoshl.c: Likewise.
17524
ee190f67
UD
175252011-12-21 Ulrich Drepper <drepper@gmail.com>
17526
17527 [BZ #13439]
17528 * iconv/gconv.h: Define __GCONV_SWAP.
17529 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17530 * iconvdata/utf-16.c: Likewise.
17531 * iconvdata/utf-32.c: Likewise.
17532
707f25df
AS
175332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17534
17535 [BZ #13524]
17536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17537 numerator after shifting it by one limb.
17538
d2daaa1e
RÁE
175392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17540
17541 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17542 under [__USE_EXTERN_INLINES].
17543
a4647e72
UD
175442011-12-17 Ulrich Drepper <drepper@gmail.com>
17545
17546 [BZ #13446]
17547 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17548
f0b264f1
AZ
175492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17550
17551 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17552 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17553 optimized code.
17554 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17556 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17557 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17558 for strncasecmp/strncasecmp_l compilation.
17559 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17560 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17561
8ef4f244
MP
175622011-12-08 Marek Polacek <mpolacek@redhat.com>
17563
17564 [BZ #13484]
17565 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17566 of __asm__.
17567
97ac2654
UD
175682011-12-17 Ulrich Drepper <drepper@gmail.com>
17569
17570 [BZ #13506]
17571 * time/tzfile.c (__tzfile_read): Check values from file header.
17572
91d2a845
WS
175732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17574
17575 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17576 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17577 * powerpc/powerpc32/dl-start.S: Likewise.
17578 * powerpc/powerpc32/elf/start.S: Likewise.
17579 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17580 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17581 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17582 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17583 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17584 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17585 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17586 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17587 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17588 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17589 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17590 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17591 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17592 * powerpc/powerpc32/memset.S: Likewise.
17593 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17594 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17595 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17596 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17597 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17598 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17599 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17600 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17601 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17602 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17604 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17605 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17606
a1267ba1
AZ
176072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17608
17609 * math/libm-test.inc: Added more nearbyint tests.
17610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17611 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17614
ad8ac1bd
RL
176152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17616
17617 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17618 FD_CLOEXEC.
17619
1d3e4b61
UD
176202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17621
17622 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17623 Add wcscpy-ssse3 wcscpy-c.
17624 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17625 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17626 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17627 * sysdeps/x86_64/wcschr.S: New file.
17628 * sysdeps/x86_64/wcsrchr.S: New file.
17629 * string/test-strcmp.c: Remove checking of wcscmp function for
17630 wrong alignments.
17631 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17632 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17633 wcsrchr-sse2 wcsrchr-c.
17634 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17635 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17636 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17637 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17638 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17639 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17640 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17641 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17642 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17643 * wcsmbc/wcschr.c (WCSCHR): New macro.
17644
5b330a2d
UD
176452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17646
17647 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17648 * wcsmbs/test-wcsrchr.c: New file.
17649 * string/test-strrchr.c: Add wcsrchr support.
17650 (WIDE): New macro.
17651 * wcsmbs/test-wcscpy.c: New file.
17652 * string/test-strcpy.c: Add wcscpy support.
17653 (WIDE): New macro.
26428b7c 17654
f039c043
UD
176552011-12-10 Ulrich Drepper <drepper@gmail.com>
17656
17657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17658 the inner loop.
17659
850fb039
AS
176602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17661
17662 [BZ #13472]
17663 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17664
4efbd5cb
UD
176652011-12-04 Ulrich Drepper <drepper@gmail.com>
17666
52ff5dd0 17667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17668 Minor optimizations.
52ff5dd0 17669
4efbd5cb
UD
17670 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17671 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17672 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17673
8a426e12
UD
176742011-12-03 Ulrich Drepper <drepper@gmail.com>
17675
aff2453d
UD
17676 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17677 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17678 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17679 for gcc to avoid warnings.
17680 * inet/Makefile (tests): Add tst-checks.
17681 * inet/tst-checks.c: New file.
17682
17683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17684 warning.
17685
17686 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17687 __wmemcmp_sse2.
17688
17689 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17690 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17691
8a426e12
UD
17692 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17693
9bea3473
UD
176942011-12-02 Ulrich Drepper <drepper@gmail.com>
17695
3a965496
UD
17696 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17697 problem.
17698
9bea3473
UD
17699 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17700
f101631b
UD
177012011-11-29 Joseph Myers <joseph@codesourcery.com>
17702
17703 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17704 conditional on GCC version.
17705 (__arch_compare_and_exchange_val_8_acq)
17706 (__arch_compare_and_exchange_val_16_acq)
17707 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17708 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17709 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17710
a98275aa
UD
177112011-12-02 Joseph Myers <joseph@codesourcery.com>
17712
17713 * sysdeps/sh/backtrace.c: New file.
17714
d4cc29a2
AS
177152011-12-02 Andreas Schwab <schwab@redhat.com>
17716
17717 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17718 parenthesis.
17719
6257af2d
AS
177202011-12-01 Andreas Schwab <schwab@redhat.com>
17721
17722 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17723 falling back to utime.
17724
b5f44c1a
AS
177252011-11-30 Andreas Schwab <schwab@redhat.com>
17726
17727 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17728 expectations for float.
17729
f3a6cc0a
AS
177302011-11-29 Andreas Schwab <schwab@redhat.com>
17731
17732 * locale/weight.h (findidx): Add parameter len.
17733 * locale/weightwc.h (findidx): Likewise.
17734 * posix/fnmatch_loop.c (FCT): Adjust caller.
17735 * posix/regcomp.c (build_equiv_class): Likewise.
17736 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17737 * posix/regexec.c (check_node_accept_bytes): Likewise.
17738 * string/strcoll_l.c (STRCOLL): Likewise.
17739 * string/strxfrm_l.c (STRXFRM): Likewise.
17740
9d65ea3a
UD
177412011-11-17 Ulrich Drepper <drepper@gmail.com>
17742
17743 * Makefile.in: Remove CVSOPT handling.
17744 * configure.in: Remove use of AC_REVISION.
17745 * iconvdata/Makefile (distribute): No need to filter out CVS.
17746 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17747 handling.
17748
5583a086
AS
177492011-11-16 Andreas Schwab <schwab@redhat.com>
17750
17751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17752 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17753 [USE_AS_STRNCASECMP_L]: Likewise.
17754 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17755 NO_TLS_DIRECT_SEG_REFS.
17756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17757 Fix argument offsets for non-PIC.
17758 [USE_AS_STRNCASECMP_L]: Likewise.
17759 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17760 NO_TLS_DIRECT_SEG_REFS.
17761
d62a8200
UD
177622011-11-15 Ulrich Drepper <drepper@gmail.com>
17763
9d65ea3a 17764 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17765 O_CLOEXEC.
17766 * locale/loadlocale.c (_nl_load_locale): Likewise.
17767
09f93bd3
AS
177682011-11-15 Andreas Schwab <schwab@redhat.com>
17769
446514f9
AS
17770 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17771 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17773 (SYSCALL_GETTIME): Set errno on error.
17774
09f93bd3
AS
17775 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17776 count references to noai6ai_cached.
17777
312be3f9
UD
177782011-11-15 Ulrich Drepper <drepper@gmail.com>
17779
17780 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17781
17782 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17783 FD_CLOEXEC for /proc/self/maps.
17784
17785 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17786 FD_CLOEXEC for /proc/meminfo.
17787
17788 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17789 gai.conf.
17790
17791 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17792 FD_CLOEXEC for given file.
17793
17794 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17795
17796 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17797 FD_CLOEXEC for /etc/hosts.
17798 (_gethtent): Likewise.
17799
17800 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17801
17802 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17803 cancellation and set FD_CLOEXEC for /etc/netgroup.
17804
17805 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17806 reading /etc/publickey.
17807
17808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17809 allow cancellation when reading /etc/group.
17810
17811 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17812 cancellation.
17813 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17814
17815 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17816 when using data file.
17817
17818 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17819
17820 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17821 (write_nis_obj): Use "c" and "e" in fopen.
17822
17823 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17824
17825 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17826
17827 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17828
17829 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17830
17831 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17832 locale.alias.
17833
17834 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17835
17836 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17837
17838 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17839
17840 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17841 file parsing and set FD_CLOEXEC.
17842
82af0fa8
UD
178432011-11-14 Ulrich Drepper <drepper@gmail.com>
17844
17845 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17846
a5fb313c
AS
178472011-11-14 Andreas Schwab <schwab@redhat.com>
17848
17849 * malloc/arena.c (arena_get2): Don't call reused_arena when
17850 _int_new_arena failed.
17851
6abf3465
UD
178522011-11-14 Ulrich Drepper <drepper@gmail.com>
17853
17854 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17855 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17858 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17859 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17860 to compile strcasecmp and strncasecmp.
17861 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17862 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17863
17864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17865
76e3966e
UD
178662011-11-13 Ulrich Drepper <drepper@gmail.com>
17867
17868 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17869 locale-defines.sym to gen-as-const-headers.
17870 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17871 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17873 to compile strcasecmp and strncasecmp.
17874 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17875 strcasecmp_l and strncasecmp_l.
17876 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17877 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17878 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17879 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17880 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17881 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17882 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17883 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17884 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17885 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17886 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17887
ab26144e
UD
178882011-11-12 Ulrich Drepper <drepper@gmail.com>
17889
7edb22ef
UD
17890 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17891 result of SYSDEP_GETTIME_CPU to retval.
17892 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17893 parameter list to macro. Remove trailing semicolon. Adjust users.
17894
9694fc44
UD
17895 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17896 variable.
17897
8ad89ef8
UD
17898 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17899 mantissa words.
17900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17901
0c822ef9
UD
17902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17903 from unused variable.
17904
874e0564
UD
17905 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17906 DWARF definitions.
17907 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17908 for assembling.
17909
3a2edc79
UD
17910 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17911 over namespaces.
17912
f3c2577f
UD
17913 * sunrpc/rpc_prot.c (rejected): Fix case value.
17914
294ce126
UD
17915 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17916 unsigned long long int to avoid warnings in shift.
17917
5e2b63c6
UD
17918 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17919 of use of trans.
17920 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17921 variable tmp.
17922
e7f4b08e
UD
17923 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17924 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17925 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17926
ab26144e
UD
17927 * nis/nis_table.c (nis_list): Use variable of correct type for
17928 result of __follow_path call.
17929
8a6d5255
AZ
179302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17931
17932 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17933 of math functions ceil, trunc, floor, round, and sqrt, when
17934 avaliable on the platform.
17935 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17936 name clash.
17937 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17938 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17939 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17940
aaddc98c
MP
179412011-10-30 Marek Polacek <mpolacek@redhat.com>
17942
17943 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17944 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17945
95b7042b
RM
179462011-11-11 Roland McGrath <roland@hack.frob.com>
17947
17948 * include/unistd.h: Fix __readlink return type.
17949 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17950
57769839
UD
179512011-11-11 Ulrich Drepper <drepper@gmail.com>
17952
17953 * stdlib/ucontext.h: Undo last change for makecontext.
17954
edc5984d
AS
179552011-11-11 Andreas Schwab <schwab@redhat.com>
17956
98591e58
AS
17957 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17958
edc5984d
AS
17959 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17960 * setjmp/setjmp.h: Mark functions as non-leaf.
17961 * setjmp/bits/setjmp2.h: Likewise.
17962 * stdlib/ucontext.h: Likewise.
17963
77cdc054
AS
179642011-11-10 Andreas Schwab <schwab@redhat.com>
17965
17966 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17967 (reused_arena): Don't check arena limit.
17968 (arena_get2): Atomically check arena limit.
17969
fe72eebd
UD
179702011-11-08 Ulrich Drepper <drepper@gmail.com>
17971
5f078c32
UD
17972 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17973 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17974
fe72eebd
UD
17975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17976 instructions.
17977
ae1bc2fa
AS
179782011-11-07 Andreas Schwab <schwab@redhat.com>
17979
7583a88d
AS
17980 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17981 handler when locking.
17982
ae1bc2fa
AS
17983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17984 Fix size of allocated buffer.
17985
10fb0bfa
AS
179862011-11-04 Andreas Schwab <schwab@redhat.com>
17987
998832a4
AS
17988 [BZ #10103]
17989 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17990 declarations for long double functions.
17991 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17992
10fb0bfa
AS
17993 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17994
3d7ba52b
AS
179952011-11-03 Andreas Schwab <schwab@redhat.com>
17996
a9ae54a1
AS
17997 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17998 installed.
17999
3d7ba52b
AS
18000 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18001 is disabled.
18002
bc8db248
ST
180032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18004
18005 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18006
45b96dd6
AS
180072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18008
647776f6
AS
18009 * include/alloca.h (stackinfo_alloca_round): Define.
18010 (extend_alloca): Use it.
18011 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18012 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18013 here.
18014
d91a8b93
AS
18015 * scripts/check-local-headers.sh: Ignore libaudit.h.
18016
45b96dd6
AS
18017 * nscd/Makefile (extra-objs): Make recursively expanded.
18018
432d41ce
UD
180192011-11-01 Ulrich Drepper <drepper@gmail.com>
18020
34372fc6
UD
18021 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18022 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18023
fadb59f8
UD
18024 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18025 * posix/tst-rfc3484-2.c: Likewise.
18026 * posix/tst-rfc3484-3.c: Likewise.
18027
78239589
UD
18028 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18029 process_vm_writev.
18030 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18031 process_vm_writev.
18032 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18033 process_vm_writev from libc using GLIBC_2.15 version.
18034
432d41ce
UD
18035 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18036
02f9c6cf
PP
180372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18038
18039 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18040 stack usage.
18041
3a2c0242
UD
180422011-10-31 Ulrich Drepper <drepper@gmail.com>
18043
f4ec4833
UD
18044 [BZ #13367]
18045 * nss/getent.c (initgroups_keys): Show error message in case no group
18046 names are given.
18047
3a2c0242
UD
18048 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18049 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18050 __bump_nl_timestamp.
18051 * nscd/connections (nscd_init): When host database is served open
18052 netlink socket and request notification about configuration changes.
18053 (main_loop_poll): Track netlink file descriptor and bump timestamp
18054 in case data becomes available.
18055 (main_loop_epoll): Likewise.
18056 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18057 (database_pers_head): Add extra_data fileds.
18058 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18059 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18060 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18061 Adjust caller.
18062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18063 in6ai data, call __free_in6ai.
18064 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18065 Add -DHAVE_NETLINK.
18066 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18067 interface information. Reuse previous data if netlink timestamp
18068 is not changed.
18069 (__bump_nl_timestamp): New function.
18070 (__free_in6ai): New function.
18071
636064eb
UD
180722011-10-30 Ulrich Drepper <drepper@gmail.com>
18073
18074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18075 close_not_cancel_no_status here.
18076 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18077
9beb2334
UD
180782011-10-29 Ulrich Drepper <drepper@gmail.com>
18079
6ef76f3b
UD
18080 [BZ #13276]
18081 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18082 return value.
18083
0ffc4f3e 18084 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18085 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18086 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18087
cb95113e
UD
180882011-07-03 Andreas Jaeger <aj@suse.de>
18089
18090 [BZ #10709]
18091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18092 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18093 * math/libm-test.inc (sin_test): Add test case.
18094
a1b560ff
UD
180952011-10-29 Ulrich Drepper <drepper@gmail.com>
18096
c9aaface
UD
18097 [BZ #13337]
18098 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18099 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18100
d272e7f1
UD
18101 * elf/chroot_canon.c (chroot_canon): Cleanups.
18102
1bc33071
UD
18103 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18104
1760874d
TJ
18105 [BZ #13335]
18106 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18107 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18108
51d91b18
UD
18109 * string/test-strchr.c: Make usable for strchrnul testing.
18110 * string/test-strchrnul.c: New file.
18111 * string/Makefile (strop-tests): Add strchrnul.
18112
a1b560ff 18113 * po/it.po: Update from translation team.
b611fb81 18114 * po/es.po: Likewise.
a1b560ff 18115
a5b81e1f
UD
181162011-10-28 Ulrich Drepper <drepper@gmail.com>
18117
fd52bc6d
UD
18118 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18119 the three constants needed as parameters. Drop the others.
18120 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18121 __m128i_strloadu_tolower.
52e4b9eb
UD
18122 Create and initialize variable zero and use it in all the places
18123 where _mm_setzero_si128 was used.
fd52bc6d 18124
a5b81e1f
UD
18125 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18126 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18127 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18129 anymore.
18130 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18133 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18134 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18135 __mpranred, __mptan.
18136 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18137 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18138 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18139 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18144 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18145
b4343346
AS
181462011-10-28 Andreas Schwab <schwab@redhat.com>
18147
0c92d8a8
AS
18148 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18149 redefine if SHARED.
18150 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18151
b4343346
AS
18152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18153 wide char related routines to wcsmbs subdir.
18154
3871f58f
AS
181552011-10-27 Andreas Schwab <schwab@redhat.com>
18156
18157 [BZ #13344]
18158 * misc/sys/cdefs.h (__THROWNL): Define.
18159 * posix/unistd.h: Use __THREADNL instead of __THREAD
18160 for memory synchronization functions.
18161
94d44d9f
RM
181622011-10-26 Roland McGrath <roland@hack.frob.com>
18163
21b64b15 18164 [BZ #13349]
94d44d9f
RM
18165 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18166 doesn't exist.
18167 * manual/stdio.texi (Obstack Streams): Node removed.
18168
f6ce9294
AS
181692011-10-26 Andreas Schwab <schwab@redhat.com>
18170
80479147
AS
18171 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18174
f6ce9294
AS
18175 * math/math_private.h (math_force_eval): Allow non-addressable
18176 arguments.
18177 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18178
618280a1
UD
181792011-10-25 Ulrich Drepper <drepper@gmail.com>
18180
e0016b11
UD
18181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18182 file is not needed.
18183
18184 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18191 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18192 Add AVX variants.
18193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18197 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18198 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18199 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18200 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18203 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18204 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18205 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18206 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18209 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18211 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18212
18213 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18214 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18215
618280a1
UD
18216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18217 place. Use VEX encoding when compiling for AVX.
18218
37822576
AS
182192011-10-25 Andreas Schwab <schwab@redhat.com>
18220
1f1e1947
AS
18221 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18222 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18223
37822576
AS
18224 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18225
31ea014d
UD
182262011-10-25 Ulrich Drepper <drepper@gmail.com>
18227
d7826aa1 18228 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18229 useless if() expression.
d7826aa1
UD
18230 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18241 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18242 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18249
31ea014d
UD
18250 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18251
16437fec
AS
182522011-10-25 Andreas Schwab <schwab@redhat.com>
18253
18254 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18255 condition.
18256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18257
31d3cc00
UD
182582011-10-25 Ulrich Drepper <drepper@gmail.com>
18259
18260 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18261 .text section. Avoid duplicate constants.
18262 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18274 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18277 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18279 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18286 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18287 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18288 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18289 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18290 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18291 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18304 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18305 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18306 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18307
58985aa9
UD
183082011-10-24 Ulrich Drepper <drepper@gmail.com>
18309
202c9deb
UD
18310 * sysdeps/x86_64/dla.h: Move to ...
18311 * sysdeps/x86_64/fpu/dla.h: ...here.
18312 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18313 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18314
af968f62
UD
18315 * config.make.in: Add have-mfma4 entry.
18316 * configure.in: Substitute libc_cv_cc_fma4.
18317 * math/Makefile (dbl-only-routines): Add sincostab.
18318 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18319 Use __sincostab not sincos.
18320 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18321 name is a macro.
18322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18326 using __copysign.
18327 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18328 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18329 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18330 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18331 and __inv.
18332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18333 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18334 __copysign.
18335 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18336 define aliases when function name is a macro.
18337 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18338 sysdeps/ieee754/dbl-64/sincos.tbl.
18339 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18340 fma4-enabled routines.
18341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18342 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18343 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18344 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18350 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18351 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18353 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18366 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18368 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18369 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18370 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18371
58985aa9
UD
18372 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18373 rename.
18374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18382
a201fbcf
AS
183832011-10-24 Andreas Schwab <schwab@redhat.com>
18384
18385 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18386
fc2ee42a
LD
183872011-10-23 Ulrich Drepper <drepper@gmail.com>
18388
bb3129bd
UD
18389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18390
0275fff8
UD
18391 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18392 prediction.
18393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18394
2fa2ae85
UD
18395 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18396 Remove unused variable magic_bits.
18397 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18398
fc2ee42a
LD
18399 * string/strnlen.c: Define and use STRNLEN macro.
18400 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18401 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18403 * wcsmbs/wcslen.c: Define and use WCSLEN.
18404 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18405 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18406 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18407 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18408 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18409 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18410 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18411
ce7dd29f
LD
184122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18413
18414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18415 strnlen-sse2-no-bsf.
18416 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18418 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18419 Add strnlen support.
18420 (USE_AS_STRNLEN): New macro.
18421 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18422 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18423 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18424 * sysdeps/x86_64/wcslen.S: New file.
18425
979c70a3
MZ
184262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18427
18428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18429 XMM-moves are used for copying on small sizes.
18430
2d09f82f
LD
184312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18432
18433 * wcsmbs/Makefile (strop-tests): Add wcschr.
18434 * wcsmbs/test-wcschr.c: New file.
18435 * string/test-strchr.c: Update.
18436 Add wcschr support.
18437 (WIDE): New macro.
18438
619fccca
LD
184392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18440
2d09f82f 18441 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18442 * wcsmbs/test-wcslen.c: New file.
18443 * string/test-strlen.c: Update.
18444 Add wcslen support.
18445 (WIDE): New macro.
18446
09f699ea
UD
184472011-10-23 Ulrich Drepper <drepper@gmail.com>
18448
18449 * po/it.po: Update from translation team.
18450
95584d3b
LD
184512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18452
18453 * sysdeps/x86_64/wcscmp.S: Update.
18454 Fix wrong comparison semantics.
18455 wcscmp shall use signed comparison not unsigned.
18456 Don't use substraction to avoid overflow bug.
18457 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18458 * wcsmbc/wcscmp.c: Likewise.
18459 * string/test-strcmp.c: Likewise.
18460 Add new tests to check cases with negative values.
18461
c8b3296b
UD
184622011-10-23 Ulrich Drepper <drepper@gmail.com>
18463
18464 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18465 * sysdeps/x86_64/dla.h: ...here. New file.
18466 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18473 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18475
246ad57a
AS
184762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18477
18478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18479 __ynl_finite aliases.
18480
a1a87169
UD
184812011-10-22 Ulrich Drepper <drepper@gmail.com>
18482
0d355eb7
UD
18483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18484
a1a87169
UD
18485 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18486 define DLA_FMA.
18487 [DLA_FMA] (EMULV): Use DLA_FMA.
18488 [DLA_FMA] (MUL12): Use EMULV.
18489 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18490 that are not needed.
18491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18498
ee2aafe0
AS
184992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18500
18501 * math/s_nan.c: Undef __nan.
18502 * math/s_nanf.c: Undef __nanf.
18503 * math/s_nanl.c: Undef __nanl.
18504 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18505 "math_private.h".
18506
bc62c2fb
UD
185072011-10-22 Ulrich Drepper <drepper@gmail.com>
18508
77425c63
UD
18509 * math/s_catan.c: Add branch predictions.
18510 * math/s_catanf.c: Likewise.
18511 * math/s_catanh.c: Likewise.
18512 * math/s_catanhf.c: Likewise.
18513 * math/s_catanhl.c: Likewise.
18514 * math/s_catanl.c: Likewise.
18515 * math/s_cexp.c: Likewise.
18516 * math/s_cexpf.c: Likewise.
18517 * math/s_cexpl.c: Likewise.
18518 * math/s_clog.c: Likewise.
18519 * math/s_clog10.c: Likewise.
18520 * math/s_clog10f.c: Likewise.
18521 * math/s_clog10l.c: Likewise.
18522 * math/s_clogf.c: Likewise.
18523 * math/s_clogl.c: Likewise.
18524 * math/s_csqrt.c: Likewise.
18525 * math/s_csqrtf.c: Likewise.
18526 * math/s_csqrtl.c: Likewise.
18527 * math/s_ctanf.c: Likewise.
18528 * math/s_ctanh.c: Likewise.
18529 * math/s_ctanhf.c: Likewise.
18530 * math/s_ctanhl.c: Likewise.
18531 * math/s_ctanl.c: Likewise.
18532
bc62c2fb
UD
18533 * math/math_private.h: Define __nan, __nanf, __nanl.
18534 * math/s_cacosh.c: Include <math_private.h>.
18535 * math/s_cacoshl.c: Likewise.
18536 * math/s_casinh.c: Likewise.
18537 * math/s_casinhf.c: Likewise.
18538 * math/s_casinhl.c: Likewise.
18539 * math/s_ccos.c: Rely entire on ccosh.
18540 * math/s_ccosf.c: Rely entire on ccoshf.
18541 * math/s_ccosl.c: Rely entirely on ccoshl.
18542 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18543 Remove tests for FE_INVALID.
18544 * math/s_ccoshf.c: Likewise.
18545 * math/s_ccoshl.c: Likewise.
18546 * math/s_csin.c: Likewise.
18547 * math/s_csinf.c: Likewise.
18548 * math/s_csinh.c Likewise.
18549 * math/s_csinhf.c: Likewise.
18550 * math/s_csinhl.c: Likewise.
18551 * math/s_csinl.c: Likewise.
18552 * math/s_ctan.c: Likewise.
18553 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18554 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18555 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18556
8ec250a4
UD
185572011-10-21 Ulrich Drepper <drepper@gmail.com>
18558
c196fed8
UD
18559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18560 compilation problems.
18561
8ec250a4
UD
18562 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18563 __builtin_expect.
18564
8d4f46c6
UD
185652011-10-20 Ulrich Drepper <drepper@gmail.com>
18566
ed72b654
UD
18567 * sysdeps/i386/configure.in: Test for -mfma4 option.
18568 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18569 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18570 COMMON_CPUID_INDEX_80000001.
18571 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18572 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18573 use it if FMA3 is not supported.
18574 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18575
8d4f46c6
UD
18576 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18577 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18578
d45c60c2
AS
185792011-10-20 Andreas Schwab <schwab@redhat.com>
18580
18581 [BZ #12892]
18582 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18583 it would create a cycle with a link time dependency.
18584
d9a4d2ab
UD
185852011-10-19 Ulrich Drepper <drepper@gmail.com>
18586
855d1560
UD
18587 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18588 instruction.
18589 * string/Makefile (strop-tests): Add rawmemchr.
18590 * string/test-rawmemchr.c: New file.
18591
d9a4d2ab
UD
18592 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18594 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18595 when compiling str{,n}casecmp and when AVX is available. Hook up
18596 new optimized code in initializers.
18597
8f3b1ffe
AS
185982011-10-19 Andreas Schwab <schwab@redhat.com>
18599
18600 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18601 __feraiseexcept instead of feraiseexcept.
18602
d38f1dba
UD
186032011-10-18 Ulrich Drepper <drepper@gmail.com>
18604
d9a8d0ab
UD
18605 * math/math_private.h: Define defaults for libc_fetestexcept and
18606 libc_feupdateenv.
18607 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18610 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18612 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18613 libc_fetestexcept and libc_feupdateenv.
18614
4855e3dd
UD
18615 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18616 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18617 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18618 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18619 libc_feholdexcept_setround.
18620
581d30e3
UD
18621 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18622 Add s_nearbyint-c and s_nearbyintf-c.
18623 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18624 nearbyintf inlines.
18625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18626 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18628 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18629
d38f1dba
UD
18630 * math/math_private.h: Define defaults for libc_fegetround,
18631 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18632 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18633 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18635 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18636 standard functions.
18637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18638 Remove comments and hacks for old compiler versions.
18639 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18640 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18641 libc_feholdexceptl.
18642
caa6c9d8
AS
186432011-10-18 Andreas Schwab <schwab@redhat.com>
18644
18645 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18646 (__feraiseexcept_renamed): Add __NTH.
18647 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18648 namespace violations.
18649
97c066e6
UD
186502011-10-17 Ulrich Drepper <drepper@gmail.com>
18651
99ce7b04
UD
18652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18653
1004d182
UD
18654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18655
228a984d
UD
18656 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18657 recently added interfaces.
18658 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18659
c8553a6a
UD
18660 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18661 about macro parameter expansion.
18662
ed22dcf6
UD
18663 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18664 __NO_MATH_INLINES is defined. Cleanups.
18665
18666 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18667 and __floorf is target has SSE4.1.
18668 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18669 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18672
b171c137
UD
18673 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18674 name.
18675 (floorf): Likewise.
18676
97c066e6
UD
18677 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18678
629f62ef
AS
186792011-10-17 Andreas Schwab <schwab@redhat.com>
18680
49a43d80
AS
18681 * misc/sys/cdefs.h: Fix last change.
18682
629f62ef
AS
18683 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18684 database lookup.
18685
e453f6cd
UD
186862011-10-16 Ulrich Drepper <drepper@gmail.com>
18687
aa78043a
UD
18688 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18689
ad0f5cad
UD
18690 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18699 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18700 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18701 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18702 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18703 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18704 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18705 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18707 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18708 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18709 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18710 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18711 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18712
18713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18714 ceil, ceilf, floor, floorf.
18715
18716 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18717 Perform IRELATIVE relocations last.
18718
e453f6cd
UD
18719 * elf/do-rel.h: Add another parameter nrelative, replacing the
18720 local variable with the same name. Change name of the function
18721 to end in Rel or Rela (uppercase).
18722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18723 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18724 elf_dynamic_do_##reloc function.
18725
fd5bdc09
UD
187262011-10-15 Ulrich Drepper <drepper@gmail.com>
18727
79b195b5
UD
18728 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18729 is sufficient, at least on modern CPUs.
18730
d4a28569
UD
18731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18732
b61099b5
UD
18733 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18735
bcf01e6d
UD
18736 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18737 __expl_finite.
18738 * math/bits/math-finite.h: Add entries for exp.
18739 * math/e_expl.c: Add __*_finite alias.
18740 * sysdeps/i386/fpu/e_exp.S: Likewise.
18741 * sysdeps/i386/fpu/e_expf.S: Likewise.
18742 * sysdeps/i386/fpu/e_expl.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18748 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18749 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18750
ba1a0d59
UD
18751 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18752 is sufficient, at least on modern CPUs.
18753
fd5bdc09
UD
18754 * ctype/ctype-info.c (__ctype_init): Define.
18755 * include/ctype.h (__ctype_init): Declare.
18756 (__ctype_b_loc): The variable is always initialized.
18757 (__ctype_toupper_loc): Likewise.
18758 (__ctype_tolower_loc): Likewise.
18759 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18760 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18761
7872cfb0
AS
187622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18763
b468825a
AS
18764 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18765
7872cfb0
AS
18766 * configure.in: Also look in $cxxmachine/include for C++ system
18767 headers.
18768
be13f7bf
LD
187692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18770
18771 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18772 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18773 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18774 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18775 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18776 (USE_AS_WMEMCMP): New macro.
18777 Fixing indents.
18778 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18779 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18780 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18781 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18783 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18784 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18785 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18786 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18787 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18788 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18789 (USE_AS_WMEMCMP): New macro.
18790 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18791 * sysdeps/string/test-memcmp.c: Update.
18792 Fix simple_wmemcmp.
18793 Add new tests.
18794 * wcsmbs/wmemcmp.c: Update.
18795 (WMEMCMP): New macro.
18796 Fix overflow bug.
18797
556a2007
AJ
187982011-10-12 Andreas Jaeger <aj@suse.de>
18799
18800 [BZ #13268]
18801 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18802
538faaa7
UD
188032011-10-15 Ulrich Drepper <drepper@gmail.com>
18804
ab6737ff
UD
18805 * libio/iofwide.c (do_length): Avoid warning.
18806
538faaa7
UD
18807 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18808
396a21b1
UD
188092011-10-14 Ulrich Drepper <drepper@gmail.com>
18810
cdf2901f
UD
18811 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18812
38ad40ce
UD
18813 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18814 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18815 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18816 * sysdeps/i386/i686/fpu/e_log.S: New file.
18817 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18818 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18819
396a21b1
UD
18820 * ctype/ctype.h: Add support for inlined isXXX functions when
18821 compiling C++ code.
18822
6b1f68c9
AS
188232011-10-14 Andreas Schwab <schwab@redhat.com>
18824
349290c0
AS
18825 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18826
6b1f68c9
AS
18827 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18828
f2282d42
RM
188292011-10-13 Roland McGrath <roland@hack.frob.com>
18830
18831 [BZ #13291]
18832 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18833
5298ffa8
AS
188342011-10-13 Andreas Schwab <schwab@redhat.com>
18835
714fad23
AS
18836 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18837 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18838 feraiseexcept.
18839
81dcc7fb
AS
18840 * sysdeps/x86_64/memrchr.S: Check for zero size.
18841
5298ffa8
AS
18842 * string/stratcliff.c: Add memrchr tests.
18843
951fbcec
LD
188442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18845
18846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18847 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18848 rawmemchr-sse2 rawmemchr-sse2-bsf.
18849 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18850 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18851 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18852 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18853 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18854 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18855 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18856 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18858 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18859 * string/memrchr.c (MEMRCHR): New macro.
18860
0ac5ae23
UD
188612011-10-12 Ulrich Drepper <drepper@gmail.com>
18862
18863 Add integration with gcc's -ffinite-math-only and optimize wrapper
18864 functions in libm.
18865 * Versions.def: Define GLIBC_2.15 version for libm.
18866 * math/Makefile (headers): Add bits/math-finite.h.
18867 * math/bits/math-finite.h: New file.
18868 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18869 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18870 * math/e_acoshl.c: Add __*_finite alias.
18871 * math/e_acosl.c: Likewise.
18872 * math/e_asinl.c: Likewise.
18873 * math/e_atan2l.c: Likewise.
18874 * math/e_atanhl.c: Likewise.
18875 * math/e_coshl.c: Likewise.
18876 * math/e_exp10.c: Likewise.
18877 * math/e_exp10f.c: Likewise.
18878 * math/e_exp10l.c: Likewise.
18879 * math/e_exp2l.c: Likewise.
18880 * math/e_fmodl.c: Likewise.
18881 * math/e_gammal_r.c: Likewise.
18882 * math/e_hypotl.c: Likewise.
18883 * math/e_j0l.c: Likewise.
18884 * math/e_j1l.c: Likewise.
18885 * math/e_jnl.c: Likewise.
18886 * math/e_lgammal_r.c: Likewise.
18887 * math/e_log10l.c: Likewise.
18888 * math/e_log2l.c: Likewise.
18889 * math/e_logl.c: Likewise.
18890 * math/e_powl.c: Likewise.
18891 * math/e_sinhl.c: Likewise.
18892 * math/e_sqrtl.c: Likewise.
18893 * math/e_scalb.c: Completely rewritten and optimized.
18894 * math/e_scalbf.c: Likewise.
18895 * math/e_scalbl.c: Likewise.
18896 * math/w_acos.c: Likewise.
18897 * math/w_acosf.c: Likewise.
18898 * math/w_acosl.c: Likewise.
18899 * math/w_acosh.c: Likewise.
18900 * math/w_acoshf.c: Likewise.
18901 * math/w_acoshl.c: Likewise.
18902 * math/w_asin.c: Likewise.
18903 * math/w_asinf.c: Likewise.
18904 * math/w_asinl.c: Likewise.
18905 * math/w_atan2.c: Likewise.
18906 * math/w_atan2f.c: Likewise.
18907 * math/w_atan2l.c: Likewise.
18908 * math/w_atanh.c: Likewise.
18909 * math/w_atanhf.c: Likewise.
18910 * math/w_atanhl.c: Likewise.
18911 * math/w_exp10.c: Likewise.
18912 * math/w_exp10f.c: Likewise.
18913 * math/w_exp10l.c: Likewise.
18914 * math/w_fmod.c: Likewise.
18915 * math/w_fmodf.c: Likewise.
18916 * math/w_fmodl.c: Likewise.
18917 * math/w_j0.c: Likewise.
18918 * math/w_j0f.c: Likewise.
18919 * math/w_j0l.c: Likewise.
18920 * math/w_j1.c: Likewise.
18921 * math/w_j1f.c: Likewise.
18922 * math/w_j1l.c: Likewise.
18923 * math/w_jn.c: Likewise.
18924 * math/w_jnf.c: Likewise.
18925 * math/w_log.c: Likewise.
18926 * math/w_logf.c: Likewise.
18927 * math/w_logl.c: Likewise.
18928 * math/w_log10.c: Likewise.
18929 * math/w_log10f.c: Likewise.
18930 * math/w_log10l.c: Likewise.
18931 * math/w_log2.c: Likewise.
18932 * math/w_log2f.c: Likewise.
18933 * math/w_log2l.c: Likewise.
18934 * math/w_pow.c: Likewise.
18935 * math/w_powf.c: Likewise.
18936 * math/w_powl.c: Likewise.
18937 * math/w_remainder.c: Likewise.
18938 * math/w_remainderf.c: Likewise.
18939 * math/w_remainderl.c: Likewise.
18940 * math/w_scalb.c: Likewise.
18941 * math/w_scalbf.c: Likewise.
18942 * math/w_scalbl.c: Likewise.
18943 * math/w_sqrt.c: Likewise.
18944 * math/w_sqrtf.c: Likewise.
18945 * math/w_sqrtl.c: Likewise.
18946 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18947 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18948 used.
18949 * math/math_private.h: Declare __kernel_standard_f.
18950 * math/w_cosh.c: Remove cruft and optimize a bit.
18951 * math/w_coshf.c: Likewise.
18952 * math/w_coshl.c: Likewise.
18953 * math/w_exp2.c: Likewise.
18954 * math/w_exp2f.c: Likewise.
18955 * math/w_exp2l.c: Likewise.
18956 * math/w_hypot.c: Likewise.
18957 * math/w_hypotf.c: Likewise.
18958 * math/w_hypotl.c: Likewise.
18959 * math/w_lgamma.c: Likewise.
18960 * math/w_lgamma_r.c: Likewise.
18961 * math/w_lgammaf.c: Likewise.
18962 * math/w_lgammaf_r.c: Likewise.
18963 * math/w_lgammal.c: Likewise.
18964 * math/w_lgammal_r.c: Likewise.
18965 * math/w_sinh.c: Likewise.
18966 * math/w_sinhf.c: Likewise.
18967 * math/w_sinhl.c: Likewise.
18968 * math/w_tgamma.c: Likewise.
18969 * math/w_tgammaf.c: Likewise.
18970 * math/w_tgammal.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18973 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18974 Minor optimizations. Pretty printing. Remove cruft.
18975 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18976 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18979 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18980 * sysdeps/i386/fpu/e_asin.S: Likewise.
18981 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18982 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18983 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18984 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18988 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18989 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18990 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18991 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18992 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18993 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18994 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18995 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18996 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18997 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18998 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18999 * sysdeps/i386/fpu/e_log.S: Likewise.
19000 * sysdeps/i386/fpu/e_log10.S: Likewise.
19001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19002 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19003 * sysdeps/i386/fpu/e_log2.S: Likewise.
19004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19005 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19006 * sysdeps/i386/fpu/e_logf.S: Likewise.
19007 * sysdeps/i386/fpu/e_logl.S: Likewise.
19008 * sysdeps/i386/fpu/e_pow.S: Likewise.
19009 * sysdeps/i386/fpu/e_powf.S: Likewise.
19010 * sysdeps/i386/fpu/e_powl.S: Likewise.
19011 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19012 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19013 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19014 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19016 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19017 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19018 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19019 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19041 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19047 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19048 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19049 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19050 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19054 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19055 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19056 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19058 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19059 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19060 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19061 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19103 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19108 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19113 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19115 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19116 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19117 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19118 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19119 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19120 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19121 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19122 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19123 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19124 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19126 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19128 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19129 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19130 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19131 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19132 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19133 (__isnanf): Likewise.
19134 (__isinf_ns): Likewise.
19135 (__isinf_nsf): Likewise.
19136 (__finite): Likewise.
19137 (__finitef): Likewise.
19138 (__ieee754_sqrt): Define as macro.
19139 (__ieee754_sqrtf): Define as macro.
19140 (__ieee754_sqrtl): Define as macro.
19141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19142 inlined copy.
19143 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19144 __FINITE_MATH_ONLY__ consistent.
19145 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19146
12cc2fcd
AS
191472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19148
a843a204
AS
19149 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19150 of rawmemchr.
19151
12cc2fcd
AS
19152 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19153
c853acd5
UD
191542011-10-09 Ulrich Drepper <drepper@gmail.com>
19155
19156 * po/ja.po: Update from translation team.
19157
c658d255
RM
191582011-10-08 Roland McGrath <roland@hack.frob.com>
19159
110946e4
RM
19160 * locale/programs/locarchive.c (prepare_address_space): New function.
19161 (create_archive, enlarge_archive, open_archive): Use it.
19162
50604220
RM
19163 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19164 inside [SHARED], where it is used.
19165
c658d255
RM
19166 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19167
19168 * nss/getent.c (netgroup_keys): Remove unused variable.
19169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19170
6a621eb7
UD
191712011-10-08 Ulrich Drepper <drepper@gmail.com>
19172
7edb55ce
UD
19173 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19174 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19176 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19178 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19179 * math/Makefile (libm-calls): Add s_isinf_ns.
19180 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19181 * math/multc3.c: Likewise.
19182 * math/s_casin.c: Likewise.
19183 * math/s_casinf.c: Likewise.
19184 * math/s_casinl.c: Likewise.
19185 * math/s_ccos.c: Likewise.
19186 * math/s_ccosf.c: Likewise.
19187 * math/s_ccosl.c: Likewise.
19188 * math/s_ctan.c: Likewise.
19189 * math/s_ctanf.c: Likewise.
19190 * math/s_ctanh.c: Likewise.
19191 * math/s_ctanhf.c: Likewise.
19192 * math/s_ctanhl.c: Likewise.
19193 * math/s_ctanl.c: Likewise.
19194 * math/w_fmod.c: Likewise.
19195 * math/w_fmodf.c: Likewise.
19196 * math/w_fmodl.c: Likewise.
19197 * math/w_remainder.c: Likewise.
19198 * math/w_remainderf.c: Likewise.
19199 * math/w_remainderl.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19201 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19204 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19205 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19206 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19207 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19208
187da0ae
UD
19209 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19210 of the number.
19211 * stdio-common/printf_fphex.c: Likewise.
19212 * stdio-common/printf_size.c: Likewise.
19213
9277c064
UD
19214 * math/e_exp10.c: Include math_private.h using <...> not "...".
19215 * math/e_exp10f.c: Likewise.
19216 * math/e_exp10l.c: Likewise.
19217 * math/e_exp2l.c: Likewise.
19218 * math/e_j0l.c: Likewise.
19219 * math/e_j1l.c: Likewise.
19220 * math/e_jnl.c: Likewise.
19221 * math/e_lgammal_r.c: Likewise.
19222 * math/e_rem_pio2l.c: Likewise.
19223 * math/e_scalb.c: Likewise.
19224 * math/e_scalbf.c: Likewise.
19225 * math/e_scalbl.c: Likewise.
19226 * math/k_cosl.c: Likewise.
19227 * math/k_sinl.c: Likewise.
19228 * math/k_tanl.c: Likewise.
19229 * math/s_cacoshf.c: Likewise.
19230 * math/s_catan.c: Likewise.
19231 * math/s_catanf.c: Likewise.
19232 * math/s_catanh.c: Likewise.
19233 * math/s_catanhf.c: Likewise.
19234 * math/s_catanhl.c: Likewise.
19235 * math/s_catanl.c: Likewise.
19236 * math/s_ccosh.c: Likewise.
19237 * math/s_ccoshf.c: Likewise.
19238 * math/s_ccoshl.c: Likewise.
19239 * math/s_cexp.c: Likewise.
19240 * math/s_cexpf.c: Likewise.
19241 * math/s_cexpl.c: Likewise.
19242 * math/s_clog.c: Likewise.
19243 * math/s_clog10.c: Likewise.
19244 * math/s_clog10f.c: Likewise.
19245 * math/s_clog10l.c: Likewise.
19246 * math/s_clogf.c: Likewise.
19247 * math/s_clogl.c: Likewise.
19248 * math/s_csin.c: Likewise.
19249 * math/s_csinf.c: Likewise.
19250 * math/s_csinh.c: Likewise.
19251 * math/s_csinhf.c: Likewise.
19252 * math/s_csinhl.c: Likewise.
19253 * math/s_csinl.c: Likewise.
19254 * math/s_csqrt.c: Likewise.
19255 * math/s_csqrtf.c: Likewise.
19256 * math/s_csqrtl.c: Likewise.
19257 * math/s_ctan.c: Likewise.
19258 * math/s_ctanf.c: Likewise.
19259 * math/s_ctanh.c: Likewise.
19260 * math/s_ctanhf.c: Likewise.
19261 * math/s_ctanhl.c: Likewise.
19262 * math/s_ctanl.c: Likewise.
19263 * math/s_ldexp.c: Likewise.
19264 * math/s_ldexpf.c: Likewise.
19265 * math/s_ldexpl.c: Likewise.
19266 * math/s_significand.c: Likewise.
19267 * math/s_significandf.c: Likewise.
19268 * math/s_significandl.c: Likewise.
19269 * math/w_acos.c: Likewise.
19270 * math/w_acosf.c: Likewise.
19271 * math/w_acosh.c: Likewise.
19272 * math/w_acoshf.c: Likewise.
19273 * math/w_acoshl.c: Likewise.
19274 * math/w_acosl.c: Likewise.
19275 * math/w_asin.c: Likewise.
19276 * math/w_asinf.c: Likewise.
19277 * math/w_asinl.c: Likewise.
19278 * math/w_atan2.c: Likewise.
19279 * math/w_atan2f.c: Likewise.
19280 * math/w_atan2l.c: Likewise.
19281 * math/w_atanh.c: Likewise.
19282 * math/w_atanhf.c: Likewise.
19283 * math/w_atanhl.c: Likewise.
19284 * math/w_cosh.c: Likewise.
19285 * math/w_coshf.c: Likewise.
19286 * math/w_coshl.c: Likewise.
19287 * math/w_dremf.c: Likewise.
19288 * math/w_exp10.c: Likewise.
19289 * math/w_exp10f.c: Likewise.
19290 * math/w_exp10l.c: Likewise.
19291 * math/w_exp2.c: Likewise.
19292 * math/w_exp2f.c: Likewise.
19293 * math/w_fmod.c: Likewise.
19294 * math/w_fmodf.c: Likewise.
19295 * math/w_fmodl.c: Likewise.
19296 * math/w_hypot.c: Likewise.
19297 * math/w_hypotf.c: Likewise.
19298 * math/w_hypotl.c: Likewise.
19299 * math/w_j0.c: Likewise.
19300 * math/w_j0f.c: Likewise.
19301 * math/w_j0l.c: Likewise.
19302 * math/w_j1.c: Likewise.
19303 * math/w_j1f.c: Likewise.
19304 * math/w_j1l.c: Likewise.
19305 * math/w_jn.c: Likewise.
19306 * math/w_jnf.c: Likewise.
19307 * math/w_jnl.c: Likewise.
19308 * math/w_lgamma.c: Likewise.
19309 * math/w_lgamma_r.c: Likewise.
19310 * math/w_lgammaf.c: Likewise.
19311 * math/w_lgammaf_r.c: Likewise.
19312 * math/w_lgammal.c: Likewise.
19313 * math/w_lgammal_r.c: Likewise.
19314 * math/w_log.c: Likewise.
19315 * math/w_log10.c: Likewise.
19316 * math/w_log10f.c: Likewise.
19317 * math/w_log10l.c: Likewise.
19318 * math/w_log2.c: Likewise.
19319 * math/w_log2f.c: Likewise.
19320 * math/w_log2l.c: Likewise.
19321 * math/w_logf.c: Likewise.
19322 * math/w_logl.c: Likewise.
19323 * math/w_pow.c: Likewise.
19324 * math/w_powf.c: Likewise.
19325 * math/w_powl.c: Likewise.
19326 * math/w_remainder.c: Likewise.
19327 * math/w_remainderf.c: Likewise.
19328 * math/w_remainderl.c: Likewise.
19329 * math/w_scalb.c: Likewise.
19330 * math/w_scalbf.c: Likewise.
19331 * math/w_scalbl.c: Likewise.
19332 * math/w_sinh.c: Likewise.
19333 * math/w_sinhf.c: Likewise.
19334 * math/w_sinhl.c: Likewise.
19335 * math/w_sqrt.c: Likewise.
19336 * math/w_sqrtf.c: Likewise.
19337 * math/w_sqrtl.c: Likewise.
19338 * math/w_tgamma.c: Likewise.
19339 * math/w_tgammaf.c: Likewise.
19340 * math/w_tgammal.c: Likewise.
19341
6a621eb7
UD
19342 * po/ja.po: Update from translation team.
19343
bf582445
AJ
193442011-09-29 Andreas Jaeger <aj@suse.de>
19345
f9efbf3a
AJ
19346 [BZ #13179]
19347 * sunrpc/netname.c (netname2host): Fix logic.
19348
bf582445
AJ
19349 [BZ #6779]
19350 [BZ #6783]
19351 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19352 correctly.
19353 * math/w_remainder.c (__remainder): Likewise.
19354 * math/w_remainderf.c (__remainderf): Likewise.
19355 * math/libm-test.inc (remainder_test): Add test cases.
19356
48693bea
AK
193572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19358
19359 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19360 sdiv_qrnnd.
19361
42622229
LD
193622011-10-07 Ulrich Drepper <drepper@gmail.com>
19363
19364 * string/test-memcmp.c: Avoid unncessary #defines.
19365 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19366
093ecf92
LD
193672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19368
19369 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19370 Use new sse2 version for core i3 - i7 as it's faster
19371 than sse42 version.
19372 (bit_Prefer_PMINUB_for_stringop): New.
19373 * sysdeps/x86_64/rawmemchr.S: Update.
19374 Replace with faster SSE2 version.
19375 * sysdeps/x86_64/memrchr.S: New file.
19376 * sysdeps/x86_64/memchr.S: Update.
19377 Replace with faster SSE2 version.
19378
fde56e5c
MP
193792011-09-12 Marek Polacek <mpolacek@redhat.com>
19380
19381 * elf/dl-load.c (lose): Add cast to avoid warning.
19382
21fd49a9
UD
193832011-10-07 Ulrich Drepper <drepper@gmail.com>
19384
5a06e643
UD
19385 * po/ca.po: Update from translation team.
19386
684ae515
UD
19387 * inet/getnetgrent_r.c: Hook up nscd.
19388 * nscd/Makefile (routines): Add nscd_netgroup.
19389 (nscd-modules): Add netgroupcache.
19390 (CFLAGS-netgroupcache.c): Define.
19391 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19392 (cache_search): Add const to second parameter.
19393 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19394 INNETGR.
19395 (dbs): Add netgrdb entry.
19396 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19397 (verify_persistent_db): Handle netgrdb.
19398 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19399 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19400 GETFDNETGR.
19401 (netgroup_response_header): Define.
19402 (innetgroup_response_header): Define.
19403 (datahead): Add netgroup_response_header and innetgroup_response_header
19404 elements.
19405 * nscd/nscd.conf: Add entries for netgroup cache.
19406 * nscd/nscd.h (dbtype): Add netgrdb.
19407 (_PATH_NSCD_NETGROUP_DB): Define.
19408 (netgroup_iov_disabled): Declare.
19409 (xmalloc, xcalloc, xrealloc): Move declarations here.
19410 (cache_search): Adjust prototype.
19411 Add netgroup-related prototypes.
19412 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19413 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19414 (__nscd_innetgr): Declare.
19415 * nscd/selinux.c (perms): Use access_vector_t as element type and
19416 add netgroup-related initializers.
19417 * nscd/netgroupcache.c: New file.
19418 * nscd/nscd_netgroup.c: New file.
19419 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19420 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19421 For four parameters use innetgr.
19422 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19423 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19424 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19425 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19426
21fd49a9
UD
19427 * nscd/connections.c (register_traced_file): Don't register file
19428 for disabled databases.
19429
054c0457
UD
194302011-10-06 Ulrich Drepper <drepper@gmail.com>
19431
32b63198
UD
19432 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19433
054c0457
UD
19434 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19435 from tree and freeing node.
19436
64031225
JO
194372011-09-25 Jiri Olsa <jolsa@redhat.com>
19438
19439 * nss/nsswitch.c (__nss_database_lookup): Handle
19440 nss_parse_service_list out of memory case.
19441
0490345c
JO
194422011-09-15 Jiri Olsa <jolsa@redhat.com>
19443
19444 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19445 out of memory case.
19446
3a62d00d
AS
194472011-10-04 Andreas Schwab <schwab@redhat.com>
19448
19449 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19450 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19451 pass it down.
19452 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19453 elf_machine_rela, elf_machine_lazy_rel.
19454 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19455 (ELF_DYNAMIC_DO_REL): Likewise.
19456 (ELF_DYNAMIC_DO_RELA): Likewise.
19457 (ELF_DYNAMIC_RELOCATE): Likewise.
19458 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19459 to ELF_DYNAMIC_DO_REL.
19460 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19461 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19462 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19463 elf_machine_rela.
19464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19465 skip_ifunc, don't call ifunc function if non-zero.
19466 (elf_machine_rela): Likewise.
19467 (elf_machine_lazy_rel): Likewise.
19468 (elf_machine_lazy_rela): Likewise.
19469 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19470 (elf_machine_lazy_rel): Likewise.
19471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19472 Likewise.
19473 (elf_machine_lazy_rel): Likewise.
19474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19475 Likewise.
19476 (elf_machine_lazy_rel): Likewise.
19477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19478 (elf_machine_lazy_rel): Likewise.
19479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19480 (elf_machine_lazy_rel): Likewise.
19481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19482 (elf_machine_lazy_rel): Likewise.
19483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19484 (elf_machine_lazy_rel): Likewise.
19485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19486 (elf_machine_lazy_rel): Likewise.
19487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19488 (elf_machine_lazy_rel): Likewise.
19489
68577918
UD
194902011-09-28 Ulrich Drepper <drepper@gmail.com>
19491
19492 * nss/nss_files/files-init.c (_nss_files_init): Use static
19493 initialization for all the *_traced_file variables.
19494
68822d74
AS
194952011-09-28 Andreas Schwab <schwab@redhat.com>
19496
19497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19498
2056100b
RM
194992011-09-27 Roland McGrath <roland@hack.frob.com>
19500
19501 [BZ #13226]
19502 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19503
32c76b63
AS
195042011-09-27 Andreas Schwab <schwab@redhat.com>
19505
19506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19507 Reread the line before reparsing it.
19508
bf972c9d
AS
195092011-09-26 Andreas Schwab <schwab@redhat.com>
19510
19511 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19512
e057a1b5
JM
195132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19514 Maxim Kuvyrkov <maxim@codesourcery.com>
19515 Joseph Myers <joseph@codesourcery.com>
19516
19517 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19518 if needed for __stack_chk_guard.
19519
bc7e1c36
RM
195202011-09-19 Roland McGrath <roland@hack.frob.com>
19521
ecb1482f
RM
19522 * sysdeps/posix/spawni.c (script_execute): Always define it.
19523 It will be optimized away if unused.
19524 (maybe_script_execute): New function.
19525 (__spawni): Call it.
19526
bc7e1c36
RM
19527 * Makerules: Don't include tls.make.
19528 (config-tls): Always set to thread.
19529 * tls.make.c: File removed.
19530
1c3b002b
MF
195312011-09-19 Mike Frysinger <vapier@gentoo.org>
19532
19533 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19534 * config.make.in (CPPFLAGS-config): New substituted variable.
19535
2840865d
UD
195362011-09-15 Ulrich Drepper <drepper@gmail.com>
19537
88738eb6
UD
19538 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19539
cbf645a6 19540 [BZ #13192]
2840865d
UD
19541 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19542 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19543
b402e91a
RM
195442011-09-15 Roland McGrath <roland@hack.frob.com>
19545
19546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19547 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19549 (CALL_FAIL): Likewise.
19550 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19551 (CALL_FAIL): Macro removed.
19552 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19553
4c1a1f71
UD
195542011-09-15 Ulrich Drepper <drepper@gmail.com>
19555
19556 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19557 for __FINITE_MATH_ONLY__ == 1.
19558
edc121be
AS
195592011-09-15 Andreas Schwab <schwab@redhat.com>
19560
19561 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19562 __ieee754_sqrt instead of sqrt.
19563 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19564 __ieee754_sqrtf instead of sqrtf.
19565 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19566 __floorf instead of floorf.
19567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19568 __floorf, __truncf instead of floorf, truncf.
19569
cd205654
UD
195702011-09-14 Ulrich Drepper <drepper@gmail.com>
19571
ee4d0315
UD
19572 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19573
cd205654
UD
19574 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19575 __extern_always_inline.
19576 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19577 32-bit.
19578
48b67d71
AS
195792011-09-14 Andreas Schwab <schwab@redhat.com>
19580
19581 * elf/rtld.c (dl_main): Also relocate in dependency order when
19582 doing symbol dependency testing.
19583
1ae12c75
AS
195842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19585
19586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19587 Always define `refsym'.
19588
995a80df
AS
195892011-09-13 Andreas Schwab <schwab@redhat.com>
19590
e529793b
AS
19591 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19592 (__FD_ELT): Renamed from __FDELT.
19593 * misc/bits/select2.h (__FD_ELT): Likewise.
19594 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19595 __FD_MASK instead of __FDELT, __FDMASK.
19596 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19597 Likewise.
19598 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19599 Likewise.
19600
52d4fef8
AS
19601 * elf/Makefile (gen-ldd): Fix pattern.
19602
995a80df
AS
19603 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19604 (init_tls): Likewise.
19605
8682f8b0
UD
196062011-09-12 Ulrich Drepper <drepper@gmail.com>
19607
19608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19609
de82006d
AS
196102011-09-12 Andreas Schwab <schwab@redhat.com>
19611
a7c8e6a1
AS
19612 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19613 `struct cmsghdr *' instead of `void *'.
19614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19615 Likewise.
19616
0f31fe77
AS
196172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19618
19619 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19620 if non-absolute.
19621 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19622 ldd_rewrite_script.
0f31fe77 19623
32b4c839
UD
196242011-09-11 Ulrich Drepper <drepper@gmail.com>
19625
83cd1420
UD
19626 * configure.in: Remove --with-tls option.
19627 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19628 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19629 out in case it is missing.
19630 * sysdeps/ia64/elf/configure.in: Likewise.
19631 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19632 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19633 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19634 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19635 * sysdeps/sh/elf/configure.in: Likewise.
19636 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19637 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19638 * sysdeps/x86_64/elf/configure.in: Likewise.
19639 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19640 * sysdeps/mach/hurd/tls.h: Likewise.
19641
633f745d
UD
19642 [BZ #13067]
19643 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19644
f318beb8
UD
19645 [BZ #13090]
19646 * configure.in: Fix use of AC_INIT.
19647
32b4c839
UD
19648 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19649
3ce1f295
UD
196502011-09-10 Ulrich Drepper <drepper@gmail.com>
19651
bb016596
UD
19652 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19653 __set_errno.
8e58439c
UD
19654 * malloc/hooks.c: Likewise.
19655
aebae053 19656 [BZ #11929]
02d46fc4
UD
19657 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19658 variables statically.
19659 (narenas): Initialize.
19660 (list_lock): Initialize.
bb016596
UD
19661 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19662 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19663 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19664 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19665 Add initializers to main_arena and mp_.
19666 (malloc_state): Remove pagesize member. Change all users to use
19667 GLRO(dl_pagesize).
19668
19669 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19670 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19671 is always initialized.
19672
22a89187
UD
19673 * malloc/malloc.c: Removed unused configurations and dead code.
19674 * malloc/arena.c: Likewise.
19675 * malloc/hooks.c: Likewise.
02d46fc4 19676 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19677
d063d164
UD
19678 * include/tls.h: Removed. USE___THREAD must always be defined.
19679 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19680 * elf/dl-libc.c: Likewise.
19681 * elf/dl-tsd.c: Likewise.
19682 * include/errno.h: Likewise.
19683 * include/netdb.h: Likewise.
19684 * include/resolv.h: Likewise.
19685 * inet/herrno-loc.c: Likewise.
19686 * inet/herrno.c: Likewise.
19687 * malloc/arena.c: Likewise.
19688 * malloc/hooks.c: Likewise.
19689 * malloc/malloc.c: Likewise.
19690 * resolv/res-state.c: Likewise.
19691 * resolv/res_libc.c: Likewise.
19692 * sysdeps/i386/dl-machine.h: Likewise.
19693 * sysdeps/ia64/dl-machine.h: Likewise.
19694 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19695 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19696 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19697 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19698 * sysdeps/sh/dl-machine.h: Likewise.
19699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19700 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19701 * sysdeps/unix/i386/sysdep.S: Likewise.
19702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19703 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19708 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19713 * sysdeps/x86_64/dl-machine.h: Likewise.
19714 * tls.make.c: Likewise.
19715
3ce1f295
UD
19716 * configure.in: Remove --with-__thread option. Make tests for
19717 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19718 tls_model attribute fail if no support is available. Remove
19719 USE_IN_LIBIO.
19720 * Makeconfig: Adjust for dropped configure option. All features are
19721 now mandatory.
19722 * Makerules: Likewise.
19723 * Versions.def: Likewise.
19724 * argp/argp-fmtstream.c: Likewise.
19725 * argp/argp-fmtstream.h: Likewise.
19726 * argp/argp-help.c: Likewise.
19727 * assert/assert.c: Likewise.
19728 * config.h.in: Likewise.
19729 * config.make.in: Likewise.
19730 * configure: Likewise.
19731 * configure.in: Likewise.
19732 * csu/Versions: Likewise.
19733 * csu/init.c: Likewise.
19734 * elf/tst-audit2.c: Likewise.
19735 * elf/tst-tls10.c: Likewise.
19736 * elf/tst-tls10.h: Likewise.
19737 * elf/tst-tls11.c: Likewise.
19738 * elf/tst-tls12.c: Likewise.
19739 * elf/tst-tls14.c: Likewise.
19740 * elf/tst-tlsmod11.c: Likewise.
19741 * elf/tst-tlsmod12.c: Likewise.
19742 * elf/tst-tlsmod13.c: Likewise.
19743 * elf/tst-tlsmod13a.c: Likewise.
19744 * elf/tst-tlsmod14a.c: Likewise.
19745 * elf/tst-tlsmod15b.c: Likewise.
19746 * elf/tst-tlsmod16a.c: Likewise.
19747 * elf/tst-tlsmod16b.c: Likewise.
19748 * elf/tst-tlsmod7.c: Likewise.
19749 * elf/tst-tlsmod8.c: Likewise.
19750 * elf/tst-tlsmod9.c: Likewise.
19751 * gmon/gmon.c: Likewise.
19752 * grp/fgetgrent_r.c: Likewise.
19753 * grp/putgrent.c: Likewise.
19754 * hurd/fopenport.c: Likewise.
19755 * include/libc-symbols.h: Likewise.
19756 * include/tls.h: Likewise.
19757 * intl/gettextP.h: Likewise.
19758 * intl/loadinfo.h: Likewise.
19759 * locale/global-locale.c: Likewise.
19760 * locale/localeinfo.h: Likewise.
19761 * mach/devstream.c: Likewise.
19762 * malloc/arena.c: Likewise.
19763 * malloc/set-freeres.c: Likewise.
19764 * misc/err.c: Likewise.
19765 * misc/getttyent.c: Likewise.
19766 * misc/mntent_r.c: Likewise.
19767 * posix/getopt.c: Likewise.
19768 * posix/wordexp.c: Likewise.
19769 * pwd/fgetpwent_r.c: Likewise.
19770 * resolv/Versions: Likewise.
19771 * resolv/res_hconf.c: Likewise.
19772 * shadow/fgetspent_r.c: Likewise.
19773 * shadow/putspent.c: Likewise.
19774 * stdio-common/printf_fphex.c: Likewise.
19775 * stdio-common/tmpfile.c: Likewise.
19776 * stdlib/abort.c: Likewise.
19777 * stdlib/fmtmsg.c: Likewise.
19778 * sunrpc/auth_unix.c: Likewise.
19779 * sunrpc/clnt_perr.c: Likewise.
19780 * sunrpc/clnt_tcp.c: Likewise.
19781 * sunrpc/clnt_udp.c: Likewise.
19782 * sunrpc/clnt_unix.c: Likewise.
19783 * sunrpc/openchild.c: Likewise.
19784 * sunrpc/svc_simple.c: Likewise.
19785 * sunrpc/svc_tcp.c: Likewise.
19786 * sunrpc/svc_udp.c: Likewise.
19787 * sunrpc/svc_unix.c: Likewise.
19788 * sunrpc/xdr.c: Likewise.
19789 * sunrpc/xdr_array.c: Likewise.
19790 * sunrpc/xdr_rec.c: Likewise.
19791 * sunrpc/xdr_ref.c: Likewise.
19792 * sunrpc/xdr_stdio.c: Likewise.
19793
1248c1c4
PB
197942011-09-09 Ulrich Drepper <drepper@gmail.com>
19795
19796 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19797
197982011-07-03 Andreas Jaeger <aj@suse.de>
19799
19800 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19801 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19802 regenerate with gen-libm-tests.pl.
19803
198042010-05-12 Petr Baudis <pasky@suse.cz>
19805
19806 [BZ #11589]
19807 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19808 around j0() zero points by switching to j1().
19809 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19813
f22e1074
UD
198142011-09-09 Ulrich Drepper <drepper@gmail.com>
19815
f19009c1
UD
19816 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19817 instead of 0.
19818 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19819 instead of 0.
f19009c1
UD
19820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19821 Patch in part by Pavel Roskin <proski@gnu.org>.
19822
3f8cc204
UD
19823 [BZ #13138]
19824 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19825 realloc.
19826 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19827 Free memory block if necessary.
19828
f22e1074
UD
19829 [BZ #12847]
19830 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19831 be NULL. Don't lock in this case.
19832
0a2349f9
RM
198332011-09-09 Roland McGrath <roland@hack.frob.com>
19834
19835 * elf/elf.h (ELFOSABI_GNU): New macro.
19836 (ELFOSABI_LINUX): Define to that.
19837
f3cdd467
DZ
198382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19839
19840 * string/strncat.c (strncat): Undef the symbol in case it has been
19841 defined in bits/string.h.
19842
74718d13
UD
198432011-09-09 Ulrich Drepper <drepper@gmail.com>
19844
633e9e0f
UD
19845 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19846
0a2349f9 19847 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19848 link map.
19849
f9924780
AJ
198502011-08-17 Andreas Jaeger <aj@suse.de>
19851
19852 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19853
7f5517aa
PP
198542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19855 Ian Lance Taylor <iant@google.com>
19856
19857 * math/libm-test.inc (lround_test): New testcase.
19858 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19859
762011fe
UD
198602011-09-08 Ulrich Drepper <drepper@gmail.com>
19861
92963737
UD
19862 * Makefile: Remove support for automatic cvs check-ins.
19863 * Makerules: Likewise.
19864 * config.make.in: Likewise.
19865 * configure.in: Likewise.
19866 * intl/Makefile: Likewise.
19867 * locale/Makefile: Likewise.
19868 * po/Makefile: Likewise.
19869 * posix/Makefile: Likewise.
19870 * sysdeps/gnu/Makefile: Likewise.
19871 * sysdeps/mach/hurd/Makefile: Likewise.
19872 * sysdeps/sparc/sparc32/Makefile: Likewise.
19873
b0727fd8
JS
19874 [BZ #13118]
19875 * posix/Makefile (bug-regex32-ENV): Define.
19876 Patch by John Stanley <jpsinthemix@verizon.net>.
19877
a0f33f99
UD
19878 * misc/Makefile (headers): Add bits/select2.h.
19879 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19880 * misc/bits/select2.h: New file.
19881 * include/bits/select2.h: New file.
19882 * debug/Makefile (routines): Add fdelt_chk.
19883 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19884 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19885 FD_ISSET.
19886 * debug/fdelt_chk.c: New file.
19887
762011fe
UD
19888 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19889 * wcsmbs/test-wmemcmp.c: Likewise.
19890 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19891 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19892
198932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19894
19895 * string/Makefile (strop-tests): Add memcmp.
19896 * string/test-wmemcmp.c: New file.
19897 * string/test-memcmp.c: Add wmemcmp support.
19898
7f513ec8
RM
198992011-09-08 Roland McGrath <roland@hack.frob.com>
19900
0442afb4
RM
19901 [BZ #13153]
19902 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19903 2011-07-19 change.
19904
7f513ec8
RM
19905 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19906 garbage value in a __mach_port_mod_refs call in the cases of the
19907 task-self and thread-self ports.
19908
a12b2239
ST
199092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19910
19911 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19912
610f9ab4
AS
199132011-09-08 Andreas Schwab <schwab@redhat.com>
19914
7f513ec8 19915 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19916
48882a1a
LD
199172011-09-07 Ulrich Drepper <drepper@gmail.com>
19918
b49865be
UD
19919 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19920
fdc86bc9
UD
19921 * elf/dl-libc.c (dlerror_run): Pass back error code from
19922 dl_catch_error.
19923
c966526a
UD
19924 [BZ #13123]
19925 * elf/dl-load.c (lose): Free l_origin if it is valid.
19926
48882a1a
LD
19927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19928 names.
19929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19933 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19934 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19935
77a2a8b4
AZ
199362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19937
19938 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19939 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19940 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19941 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19942 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19943 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19944 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19945 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19946 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19947 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19948
24f579d8
AM
199492011-08-15 Alan Modra <amodra@gmail.com>
19950
19951 [BZ #13092]
19952 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19953 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19954 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19955 ppc_mcount to static-only-routines.
19956 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19957 __mcount_internal.
19958 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19959 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19960
3d4837df
UD
199612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19962
19963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19964 for finite and infinity parameters.
19965
22700377
WS
199662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19967
19968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19969 and add nop instructions for throughput optimization.
19970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19971
5025581e
WS
199722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19973
19974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19975 aligned copy for power7 with vector-scalar instructions.
19976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19977
08a300c9
L
199782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19979
19980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19981 AVX check.
19982
59178ef9
AS
199832011-09-07 Andreas Schwab <schwab@redhat.com>
19984
19985 [BZ #13144]
19986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19987 last change.
19988
e38ba7ab
UD
199892011-09-07 Ulrich Drepper <drepper@gmail.com>
19990
19991 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19992 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19993 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19995 clock_gettime.
19996
d53a73ac
UD
199972011-09-06 Ulrich Drepper <drepper@gmail.com>
19998
fc8bffcc
UD
19999 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20000 Forgot to demangle the pointer.
20001
ceaa0c5d
UD
20002 * sysdeps/i386/sysdep.h: Define atom_text_section.
20003 * sysdeps/x86_64/sysdep.h: Likewise.
20004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20005 section with atom_text_section.
20006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20010 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20011
a77d3c17
UD
20012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20013 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20014 already be defined. Change to take two parameters and don't assign
20015 result to variable. Adjust all users.
20016 Define INTERNAL_GETTIME if not already defined.
20017 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20018 call.
20019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20020 HAVE_CLOCK_GETTIME_VSYSCALL.
20021 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20022
d53a73ac
UD
20023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20024 gettimeofday vsyscall, just use time.
20025
a8f84144
AS
200262011-09-06 Andreas Schwab <schwab@redhat.com>
20027
20028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20029 <errno.h>.
20030
ef606249
UD
200312011-09-06 Ulrich Drepper <drepper@gmail.com>
20032
20033 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20034 syscall on x86-64.
20035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20036 syscall.
20037 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20039 syscall if possible.
20040
6585cb60
UD
200412011-09-05 Ulrich Drepper <drepper@gmail.com>
20042
20043 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20044 e_ident. Don't pass to find_mapsXX.
20045 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20046
a5f524e4
LD
200472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20048
20049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20050 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20051 * sysdeps/x86_64/multiarch/strchr.S: Update.
20052 Check bit_slow_BSF bit.
20053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20054 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20055 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20056
554881ef
UD
200572011-09-05 Ulrich Drepper <drepper@gmail.com>
20058
d96de963
UD
20059 [BZ #13134]
20060 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20061 before glibc 2.15.
20062 (tryshell): Define.
20063 (__spawni): Change last parameter to be flag. Test
20064 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20065 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20066 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20067 * posix/spawni.c: Likewise.
20068 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20069 * posix/spawnp.c: Likewise. Change normal version to use
20070 SPAWN_XFLAGS_USE_PATH.
20071 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20072 SPAWN_XFLAGS_TRY_SHELL.
20073
d48e5868
UD
20074 [BZ #13150]
20075 * posix/glob.h: Remove gcc 1.x support.
20076
554881ef
UD
20077 [BZ #13068]
20078 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20079
693fb948
LD
200802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20081
20082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20083 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20084 strrchr-sse2-bsf
20085 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20086 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20087 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20089 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20091
1b48c537
UD
200922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20093
49d42c37
UD
20094 * sysdeps/x86_64/wcscmp.S: New file.
20095
1b48c537
UD
20096 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20097 wcscmp-c wcscmp-sse2
20098 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20099 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20100 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20101 * wcsmbs/wcscmp.c: Allow renaming.
20102
15c95c5d
DM
201032011-09-05 David S. Miller <davem@davemloft.net>
20104
20105 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20106 stack slot, rather than the struct return pointer slot.
20107 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20108 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20110 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20111
2f0ad8f3
UD
201122011-09-05 Ulrich Drepper <drepper@gmail.com>
20113
d88ae418
UD
20114 * po/ja.po: Update from translation team.
20115
2f0ad8f3
UD
20116 [BZ #13144]
20117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20118 kernel in 64-bit binaries.
20119
5f4318d1
DM
201202011-09-01 David S. Miller <davem@davemloft.net>
20121
20122 * elf/elf.h (HWCAP_SPARC_*): Move to..
20123 * sysdeps/sparc/sysdep.h: this new file and add new values.
20124 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20125 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20126 _DL_HWCAP_COUNT to 24.
20127 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20128 entries.
20129 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20130 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20131 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20133 instead of magic constants.
20134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20135
3ba57516
DM
201362011-08-31 David S. Miller <davem@davemloft.net>
20137
20138 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20140 Reimplement to do errno handling inline.
20141 (SYSCALL_ERROR_HANDLER): New macro.
20142 (__SYSCALL_STRING): Do not do errno handling in asm.
20143 (__CLONE_SYSCALL_STRING): Delete.
20144 (__INTERNAL_SYSCALL_STRING): Delete.
20145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20146 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20147 (PSEUDO): Reimplement to do errno handling inline.
20148 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20149 (SYSCALL_ERROR_HANDLER): New macro.
20150 (__SYSCALL_STRING): Do not do errno handling in asm.
20151 (__CLONE_SYSCALL_STRING): Delete.
20152 (__INTERNAL_SYSCALL_STRING): Delete.
20153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20154 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20155 i386.
20156 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20157 (inline_syscall*): Add 'err' argument.
20158 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20159 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20160 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20161 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20162
20163 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20164 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20165
2bc17433
AS
201662011-08-30 Andreas Schwab <schwab@redhat.com>
20167
20168 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20169
fbeb5f4d
JO
201702011-08-29 Jiri Olsa <jolsa@redhat.com>
20171
20172 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20173 directive.
20174
ad69cc26
DM
201752011-08-24 David S. Miller <davem@davemloft.net>
20176
20177 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20178
39dd69df
AS
201792011-08-24 Andreas Schwab <schwab@redhat.com>
20180
20181 * elf/Makefile: Add rules to build and run unload8 test.
20182 * elf/unload8.c: New file.
20183 * elf/unload8mod1.c: New file.
20184 * elf/unload8mod1x.c: New file.
20185 * elf/unload8mod2.c: New file.
20186 * elf/unload8mod3.c: New file.
20187
20188 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20189 it wasn't used.
20190
2c0b250a
DM
201912011-08-23 David S. Miller <davem@davemloft.net>
20192
20193 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20194 subtract stack bias.
20195 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20196 %sp not %fp in calculations.
20197 (_JMPBUF_UNWINDS_ADJ): Likewise.
20198
22044b48
DM
20199 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20200 (aio_suspend): Call it to force an exception region around the
20201 AIO_MISC_WAIT() invocation.
20202
2cae4995
AS
202032011-08-23 Andreas Schwab <schwab@redhat.com>
20204
20205 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20206 backslash.
20207
873a772e
AJ
202082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20209
20210 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20211 protection macro.
20212 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20213 and <dl-machine.h>.
20214 (Elf64_FuncDesc): Remove.
20215
25ad0df1
DM
202162011-08-22 David S. Miller <davem@davemloft.net>
20217
20218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20219 sigaltstack check, add missing cfi directives.
20220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20221 missing cfi directives, and sigaltstack handling.
20222
e888bcbe
AS
202232011-08-16 Andreas Schwab <schwab@redhat.com>
20224
20225 [BZ #11724]
20226 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20227 object is seen twice.
20228 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20229
20230 * elf/Makefile (distribute): Add tst-initorder2.c.
20231 (tests): Add tst-initorder2.
20232 (modules-names): Add tst-initorder2a tst-initorder2b
20233 tst-initorder2c tst-initorder2d. Add rules to build them.
20234 ($(objpfx)tst-initorder2.out): New rule.
20235 * elf/tst-initorder2.c: New file.
20236 * elf/tst-initorder2.exp: New file.
20237
87162f46
AS
202382011-08-22 Andreas Schwab <schwab@redhat.com>
20239
70538b7f
AS
20240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20241
f55ffe58
AS
20242 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20243 dependencies back to end of function.
20244
87162f46
AS
20245 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20246 $(elfobjdir)/ld.so.
20247
91b392a4
UD
202482011-08-21 Ulrich Drepper <drepper@gmail.com>
20249
20250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20251 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20253 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20254 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20255 of __vdso_gettimeofday.
20256 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20257 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20258 attribute_hidden.
20259 (_libc_vdso_platform_setup): Remove initialization of
20260 __vdso_gettimeofday and __vdso_time.
20261
5c43483f
UD
202622011-08-20 Ulrich Drepper <drepper@gmail.com>
20263
775a77e7
UD
20264 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20265 and fgetc_unlocked.
20266 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20267 getc_unlocked.
89f447ed 20268
49c74ba9
UD
20269 * elf/dl-open.c (add_to_global): Report additions to the global scope
20270 for LD_DEBUG=scopes.
20271 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20272 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20273
5c43483f
UD
20274 [BZ #13114]
20275 * stdio-common/Makefile (tests): Add bug24.
20276 * stdio-common/bug24.c: New file.
20277
a101b025
AJ
202782011-08-19 Andreas Jaeger <aj@suse.de>
20279
20280 [BZ #13114]
20281 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20282 non-existant file when using close-on-exec mode.
20283
c88f1766
UD
202842011-08-20 Ulrich Drepper <drepper@gmail.com>
20285
0276a718
UD
20286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20287 the very first instruction.
20288
c88f1766
UD
20289 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20290 the CFI state in the end.
20291 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20292 inclusion of dl-trampoline.h.
20293 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20294
51ccffa0
AS
202952011-08-19 Andreas Schwab <schwab@redhat.com>
20296
94d7165f
AS
20297 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20298 expectations for long double.
20299
51ccffa0
AS
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20301 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20302
fd708658 203032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20304
20305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20306 artificual limit depends upon the system page size.
20307
44f0a71e
UD
203082011-08-17 Ulrich Drepper <drepper@gmail.com>
20309
20310 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20311 * resolv/Makefile: Define CFLAGS-libresolv.
20312
8de79a24
AS
203132011-08-17 Andreas Schwab <schwab@redhat.com>
20314
20315 * nss/makedb.c (compute_tables): Make variables used in nested
20316 function static.
20317
27724598
UD
203182011-08-17 Ulrich Drepper <drepper@gmail.com>
20319
c5305d88
UD
20320 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20321 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20322 if buffer was too small.
20323
27724598
UD
20324 * elf/pldd.c (main): Attach to all threads in the process.
20325 Rewrite /proc handling to use *at functions.
20326
076fe015
UD
203272011-08-16 Ulrich Drepper <drepper@gmail.com>
20328
174baab3
UD
20329 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20330 specifies first scope to show.
20331 (dl_open_worker): Update callers. Move printing scope of new
20332 object to before the relocation.
44f0a71e 20333 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20334 * sysdeps/generic/ldsodefs.h: Update declaration.
20335
076fe015
UD
20336 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20337 string for the scope number.
20338
a60df2c3
UD
203392011-08-14 Ulrich Drepper <drepper@gmail.com>
20340
20341 * nscd/servicescache.c (cache_addserv): Make sure written is always
20342 initialized.
20343
5e4287d1
RM
203442011-08-14 Roland McGrath <roland@hack.frob.com>
20345
85ae0589
RM
20346 * sysdeps/i386/i486/bits/atomic.h
20347 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20348 statement expression, so as to suppress "set but not used" warning.
20349 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20350
69f63097
RM
20351 * string/strncat.c (STRNCAT): Use prototype definition.
20352
675456ef
RM
20353 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20354 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20355 -Iprograms here.
20356 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20357 (localedef-modules): Add localedef.
20358 (locale-modules): Add locale.
20359
5e4287d1
RM
20360 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20361 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20362 to avoid a warning.
20363
9c96ff23
DM
203642011-08-14 David S. Miller <davem@davemloft.net>
20365
20366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20367 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20368
f9ddf089
UD
203692011-08-13 Ulrich Drepper <drepper@gmail.com>
20370
44f0a71e 20371 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20372 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20373 * elf/rtld.c (dl_main): Set l_name of vDSO.
20374 Call _dl_show_scope when DL_DEBUG_SCOPES.
20375 (process_dl_debug): Recognize scopes flag and also set it for all.
20376 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20377 Declare _dl_show_scope.
20378
1dc27704
UD
20379 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20380 (do_dlopen): Pass caller_dlopen to dl_open.
20381 (__libc_dlopen_mode): Initialize caller_dlopen.
20382
f9ddf089
UD
20383 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20384 of libc. Make tolower call locale-independent. Optimize a bit by
20385 using isdigit instead of isalnum.
20386 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20387
9ac533d3
UD
203882011-08-12 Ulrich Drepper <drepper@gmail.com>
20389
20390 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20391 was a dependency or dynamically loaded.
20392
89edf2e9
UD
203932011-08-11 Ulrich Drepper <drepper@gmail.com>
20394
8e999d29
UD
20395 * intl/l10nflist.c: Allow architecture-specific pop function.
20396 * sysdeps/x86_64/l10nflist.c: New file.
20397
89edf2e9
UD
20398 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20399 classification.
20400
14d96785
AS
204012011-08-10 Andreas Schwab <schwab@redhat.com>
20402
20403 * include/dirent.h: Add libc_hidden_proto for scandirat and
20404 scandirat64. Don't declare __scandirat64.
20405 * dirent/scandirat.c: Add libc_hidden_def.
20406 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20407 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20408
6761ac04
DM
204092011-08-10 David S. Miller <davem@davemloft.net>
20410
20411 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20412 enum.
20413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20415 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20416
c55fbd1e
UD
204172011-08-09 Ulrich Drepper <drepper@gmail.com>
20418
20419 * Versions.def [libc]: Add GLIBC_2.15.
20420 * dirent/Makefile (routines): Add scandirat and scandirat64.
20421 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20422 GLIBC_2.15.
20423 * dirent/dirent.h: Declare scandirat and scandirat64.
20424 * dirent/scandirat.c: New file.
20425 * dirent/scandirat64.c: New file.
20426 * sysdeps/wordsize-64/scandirat.c: New file.
20427 * sysdeps/wordsize-64/scandirat64.c: New file.
20428 * dirent/opendir.c: Define opendirat.
20429 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20430 using scandirat.
20431 * dirent/scandir64.c: Adjust for scandir.c change.
20432 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20433 __scandirat64, and __scandir_cancel_handler.
20434 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20435 additional parameter and use openat instead of open (outside of ld.so).
20436 Add new __opendir as wrapper around __opendirat.
20437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20438 here without requiring old scandirat implementation.
20439
879165f2
UD
204402011-08-08 Ulrich Drepper <drepper@gmail.com>
20441
20442 * dirent/scandir.c (cancel_handler): Renamed to
20443 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20444 defined. Adjust users.
20445 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20447
cb7e923b
UD
204482011-08-04 Ulrich Drepper <drepper@gmail.com>
20449
16292edd
UD
20450 * string/test-string.h (IMPL): Use __STRING to expand name and then
20451 stringify it.
20452
cb7e923b
UD
20453 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20454 of cleanups.
20455
cff82933
LD
204562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20457
20458 * string/Makefile: Update.
20459 (strop-tests): Append strncat.
20460 * string/test-wcscmp.c: New file.
20461 New comprehensive test for wcscmp.
20462 * string/test-strcmp.c: Update.
20463 (WIDE): New define.
20464
9be9bfcc
AS
204652011-07-22 Andreas Schwab <schwab@redhat.com>
20466
20467 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20468 line.
20469
2e96f1c7
AS
204702011-07-26 Andreas Schwab <schwab@redhat.com>
20471
20472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20473 encoding to ACE if AI_IDN.
20474
85188888
JJ
204752011-08-01 Jakub Jelinek <jakub@redhat.com>
20476
20477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20478 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20479
5fa16e9b
LD
204802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20481
20482 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20483 Fix overflow bug in strncat.
20484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20485
20486 * string/test-strncat.c: Update.
20487 Add new tests for checking overflow bugs.
20488
204892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20490
20491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20492 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20493 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20494 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20496 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20497 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20498 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20499 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20500
20501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20502 (USE_AS_STRCAT): Define.
20503 Add strcat and strncat support.
20504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20505
8c1a459f
AS
205062011-07-25 Andreas Schwab <schwab@redhat.com>
20507
20508 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20509 __n bigger than INT_MAX+1.
20510 (__strncmp_g): Likewise.
20511
bba33c28
UD
205122011-07-23 Ulrich Drepper <drepper@gmail.com>
20513
798be72d
UD
20514 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20515 * libio/stido.h: Likewise.
20516
8accd4dc
UD
20517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20518 (AF_NFC): Define.
20519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20520 (AF_NFC): Define.
20521
cbff0d96
UD
20522 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20527
9191c04a
UD
20528 [BZ #13021]
20529 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20530 installed.
20531
bba33c28
UD
20532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20533 typo.
20534 (_dl_x86_64_save_sse): Likewise.
20535
90f139dd
UD
205362011-07-22 Ulrich Drepper <drepper@gmail.com>
20537
1aae088a
UD
20538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20539 OSXSAVE.
20540 (_dl_x86_64_save_sse): Likewise.
20541
8e2045f5
UD
20542 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20543
90f139dd
UD
20544 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20545
1d002f25
AS
205462011-07-21 Andreas Schwab <schwab@redhat.com>
20547
20548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20549 change.
20550 (_dl_x86_64_save_sse): Use correct AVX check.
20551
21137f89
UD
205522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20553
20554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20555 bug in strncpy/strncat.
20556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20557
a65c0b7a
UD
205582011-07-21 Ulrich Drepper <drepper@gmail.com>
20559
20560 * string/tester.c (test_strcat): Add tests for different alignments
20561 of source and destination.
20562 (test_strncat): Likewise.
20563
6986b98a
UD
205642011-07-20 Ulrich Drepper <drepper@gmail.com>
20565
90bb2039
UD
20566 [BZ #12852]
20567 * posix/glob.c (glob): Check passed in values before using them in
20568 expressions to avoid some overflows.
20569 (glob_in_dir): Likewise.
20570
5644ef54
UD
20571 [BZ #13007]
20572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20573 check for AVX enablement so that we don't crash with old kernels and
20574 new hardware.
20575 * elf/tst-audit4.c: Add same checks here.
20576 * elf/tst-audit6.c: Likewise.
20577
20578 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20579
bfc9dc9b
AS
205802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20581
20582 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20583
702e64bb
UD
205842011-07-20 Ulrich Drepper <drepper@gmail.com>
20585
20586 * po/cs.po: Update from translation team.
20587 * po/bg.po: Likewise.
20588
295e904f
MP
205892011-07-12 Marek Polacek <mpolacek@redhat.com>
20590
20591 * misc/sys/cdefs.h: Add support for const attribute.
20592 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20593 to gnu_dev_{major,minor,makedev} functions.
20594
3ff94596
MP
205952011-07-20 Marek Polacek <mpolacek@redhat.com>
20596
20597 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20598
28b59fca
AS
205992011-07-20 Andreas Schwab <schwab@redhat.com>
20600
20601 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20602 strlen results.
20603
19df733e
AK
206042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20605
20606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20607 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20608 register in order to avoid conflicts with the soft frame pointer
20609 being held in r11 when necessary.
20610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20611 (INTERNAL_VSYSCALL_NCS): Likewise.
20612
c8835729
MP
206132011-07-14 Marek Polacek <mpolacek@redhat.com>
20614
20615 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20616 * elf/dl-fini.c (_dl_fini): Adjust caller.
20617 * elf/dl-close.c (_dl_close_worker): Likewise.
20618 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20619
b902330c
MP
206202011-07-15 Marek Polacek <mpolacek@redhat.com>
20621
8991e135
MP
20622 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20623 "aux_cache->nlibs < 0".
20624
b902330c
MP
20625 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20626 in the reload-count case.
20627
99710781
LD
206282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20629
20630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20631 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20632 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20633 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20634 * sysdeps/x86_64/multiarch/strcat.S: New file.
20635 * sysdeps/x86_64/multiarch/strncat.S: New file.
20636 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20638 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20639 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20641 (USE_AS_STRCAT): Define.
20642 Add strcat and strncat support.
20643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20645 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20646 * string/strncat.c: Update.
20647 (USE_AS_STRNCAT): Define.
20648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20649 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20650 and i7.
20651 * sysdeps/x86_64/multiarch/init-arch.h
20652 (bit_Prefer_PMINUB_for_stringop): New.
20653 (index_Prefer_PMINUB_for_stringop): Likewise.
20654 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20655 bit_Prefer_PMINUB_for_stringop.
20656
7dc6bd90
UD
206572011-07-19 Ulrich Drepper <drepper@gmail.com>
20658
20659 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20660 buffer64.
20661 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20662 of casting of buffer.
20663 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20664 buffer32 and buffer64.
20665 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20666 writes instead of casting of buffer.
20667 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20668 buffer32.
20669 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20670 casting of buffer.
20671
e0e72284
AS
206722011-07-19 Andreas Schwab <schwab@redhat.com>
20673
20674 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20675
feb1eb0b
UD
206762011-07-19 Ulrich Drepper <drepper@gmail.com>
20677
20678 * nscd/nscd.c (termination_handler): Don't do anything for a database
20679 if it has not yet been initialized.
20680
298711ff
UD
206812011-07-18 Ulrich Drepper <drepper@gmail.com>
20682
20683 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20684
206852011-07-15 Marek Polacek <mpolacek@redhat.com>
20686
20687 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20688
f9d68389
UD
206892011-07-18 Ulrich Drepper <drepper@gmail.com>
20690
20691 * po/nl.po: Update from translation team.
20692 * po/sv.po: Likewise.
20693
db290cf5
RM
206942011-07-16 Roland McGrath <roland@hack.frob.com>
20695
20696 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20697 now disallowed by GCC.
5c550700 20698
fd5e21c7
RM
20699 * configure.in (use-default-link): Default to yes if a test -shared
20700 link meets our qualifications.
20701 * configure: Regenerated.
20702
5c550700
RM
20703 * config.make.in (output-format): New variable.
20704 * configure.in: Check for ld --print-output-format support.
20705 * configure: Regenerated.
20706 * Makerules ($(common-objpfx)format.lds)
20707 [$(output-format) != unknown]: Just use $(output-format),
20708 instead of the linker-script munging.
20709
9fa2c032
RM
207102011-07-14 Roland McGrath <roland@hack.frob.com>
20711
a6928d51
RM
20712 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20713 of $(common-objpfx)shlib.lds.
20714 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20715
661607b3
RM
20716 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20717 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20718
9fa2c032
RM
20719 * configure.in (-z relro check): Adjust test code to add a large
20720 writable data section after it.
20721 * configure: Regenerated.
20722
defe9061
RM
207232011-07-11 Roland McGrath <roland@hack.frob.com>
20724
20725 * configure.in (-z relro check): Fix test code to make the variable
20726 truly const.
20727 * configure: Regenerated.
20728
319b9ad4
UD
207292011-07-11 Ulrich Drepper <drepper@gmail.com>
20730
20731 * nscd/nscd.h (struct traced_file): Define.
20732 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20733 elements. Add traced_files.
20734 (inotify_fd): Declare.
20735 (register_traced_file): Declare.
20736 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20737 (inotify_fd): Export.
20738 (resolv_conf_descr): Remove.
20739 (nscd_init): Move inotify descriptor creation to main.
20740 Don't register files for notification here.
20741 (register_traced_file): New function.
20742 (invalidate_cache): Don't use reset_res to determine whether to call
20743 res_init, go through the list of registered files.
20744 (main_loop_poll): The inotify descriptors are now stored in the
20745 structures for the traced files.
20746 (main_loop_epoll): Likewise
20747 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20748 to __nss_disable_nscd.
20749 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20750 for a database anymore. Check the records for all the registered
20751 files instead.
20752 * nss/Makefile (libnss_files-routines): Add files-init.
20753 (libnss_db-routines): Add db-init.
20754 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20755 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20756 * nss/nss_db/db-init.c: New file.
20757 * nss/nss_files/files-init.c: New file.
20758 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20759 __nss_lookup_function.
20760 (__nss_lookup_function): Call nss_load_library.
20761 (nss_load_all_libraries): New function.
20762 (__nss_disable_nscd): Take parameter with callback function for files
20763 to register. Set is_nscd. Load all the DSOs for the NSS modules
20764 used for the cached services.
20765 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20766 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20767 options for features to all the files in nscd.
20768
20769 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20770
23bee3e8
RM
207712011-07-10 Roland McGrath <roland@hack.frob.com>
20772
20773 * csu/elf-init.c (__libc_csu_init): Comment typo.
20774
46a5b7f0
UD
207752011-07-09 Ulrich Drepper <drepper@gmail.com>
20776
20777 * po/pl.po: Update from translation team.
20778 * po/ja.po: Likewise.
20779 * po/ru.po: Likewise.
20780 * po/ko.po: Likewise.
20781 * po/fr.po: Likewise.
20782
d30cf5bb
RM
207832011-07-09 Roland McGrath <roland@hack.frob.com>
20784
113ddea4
RM
20785 * configure.in (.ctors/.dtors header and trailer check):
20786 Use an empirical test on a built program.
20787 * configure: Regenerated.
20788
574920b4
RM
20789 * configure.in (-z relro check): Use an empirical test on a built DSO.
20790 Detect, but do not require, on ia64.
20791 * configure: Regenerated.
20792
d30cf5bb
RM
20793 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20794 Update tests that use readelf to use $READELF instead.
20795 * configure: Regenerated.
20796
8538fdb3
UD
207972011-07-08 Ulrich Drepper <drepper@gmail.com>
20798
20799 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20800 if the result is not used.
20801
04d08991
AJ
208022011-07-05 Andreas Jaeger <aj@suse.de>
20803
20804 [BZ#9696]
20805 * stdlib/tst-strtod.c: Add testcase.
20806
de283087
AD
208072011-07-07 Ulrich Drepper <drepper@gmail.com>
20808
4e5f31c8 20809 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20810 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20811 The latter has a higher limit. Take additional parameter to pass to
20812 the new function.
20813 (__pathconf): Pass file to __statfs_link_max.
20814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20815 __statfs_link_max.
20816 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20817 __statfs_link_max.
20818
de283087
AD
20819 [BZ #12868]
20820 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20822 Handle Lustre.
20823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20824 (__statfs_filesize_max): Likewise.
20825 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20826
c75fa153
AJ
208272011-07-05 Andreas Jaeger <aj@suse.de>
20828
20829 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20830
1a544854
UD
208312011-07-06 Marek Polacek <mpolacek@redhat.com>
20832
20833 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20834 `status' variable.
20835 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20836 Likewise.
20837
6f0eec67
UD
208382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20839
20840 * Makefile (strop-tests): Add strncat.
20841 * string/test-strncat.c: New file.
20842
aae30307
UD
208432011-06-30 Marek Polacek <mpolacek@redhat.com>
20844
20845 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20846
c0cfb5eb
UD
208472011-06-21 Andreas Jaeger <aj@suse.de>
20848
20849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20850 Copy rule from iconvdata/Makefile.
20851
01636b21
UD
208522011-07-06 Ulrich Drepper <drepper@gmail.com>
20853
20854 [BZ #12922]
20855 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20856 but no long options are defined, just return 'W'.
20857
9895c8bc
UD
208582011-06-22 Marek Polacek <mpolacek@redhat.com>
20859
20860 [BZ #9696]
20861 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20862
5d4cf042
UD
208632011-07-06 Ulrich Drepper <drepper@gmail.com>
20864
20865 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20866 netgroups to read.
960e5535 20867 (innetgr): Likewise.
5d4cf042 20868
751eb97e
RM
208692011-07-05 Roland McGrath <roland@hack.frob.com>
20870
20871 * config.make.in (install_root): Default to $(DESTDIR).
20872
f15f1e45
UD
208732011-07-05 Ulrich Drepper <drepper@gmail.com>
20874
20875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20876
4e34ac6a
RM
208772011-07-02 Roland McGrath <roland@hack.frob.com>
20878
5e9b6af4
RM
20879 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20880
84f9ea0f
RM
20881 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20882 containing directory rather than embedding absolute directory names.
20883
ea5ee9f7
RM
20884 * scripts/check-local-headers.sh: Rewritten using awk.
20885 Match by word, not by line. Print error messages for matches.
20886 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20887
1b74661a
RM
20888 * Makerules [shlib-lds-flags empty]:
20889 ($(common-objpfx)libc_pic.opts): New target.
20890 ($(common-objpfx)libc_pic.os.clean): New target.
20891 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20892
20893 * config.make.in (OBJCOPY): New variable.
20894 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20895 * configure: Regenerated.
20896
f781ef40
RM
20897 * config.make.in (use-default-link): New variable.
20898 * configure.in (use_default_link): Grok --with-default-link to set it.
20899 * configure: Regenerated.
20900 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20901 (shlib-lds, shlib-lds-flags): Define to empty.
20902
2d4fa81e
RM
20903 * Makerules (shlib-lds): New variable.
20904 (shlib-lds-flags): New variable.
20905 (build-shlib, build-moduile, build-module-asneeded): Use it.
20906 ($(common-objpfx)libc.so): Use $(shlib-lds).
20907 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20908 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20909
31fffa6b
RM
20910 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20911 DT_FLAGS/DT_FLAGS_1 with zero flags.
20912
4e34ac6a
RM
20913 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20914 linker script munging.
20915
fcfc776b
UD
209162011-07-02 Ulrich Drepper <drepper@gmail.com>
20917
20918 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20919 as 128-bit value.
20920 * crypt/sha512.c (sha512_process_block): Perform total addition using
20921 128-bit if possible.
20922 (__sha512_finish_ctx): Likewise.
20923 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20924 as 64-bit value.
20925 * crypt/sha256.c (SWAP64): Define.
20926 (sha256_process_block): Perform total addition using 64-bit if
20927 possible.
20928 (__sha256_finish_ctx): Likewise.
20929
99231d9a
UD
209302011-07-01 Ulrich Drepper <drepper@gmail.com>
20931
20932 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20934 * nscd/hstcache.c (cache_addhst): Likewise.
20935 * nscd/grpcache.c (cache_addgr): Likewise.
20936 * nscd/aicache.c (addhstaiX): Likewise
20937 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20938
445b4a53
TK
209392011-07-01 Thorsten Kukuk <kukuk@suse.de>
20940
20941 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20943 * nscd/hstcache.c (cache_addhst): Likewise.
20944 * nscd/grpcache.c (cache_addgr): Likewise.
20945 * nscd/aicache.c (addhstaiX): Likewise
20946
6d4d8e8e
AS
209472011-07-01 Andreas Schwab <schwab@redhat.com>
20948
20949 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20950 domain only when needed.
20951
89f654c5
AS
209522011-06-30 Andreas Schwab <schwab@redhat.com>
20953
20954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20955 is always restored.
20956
cf3b23ff
UD
209572011-06-29 Ulrich Drepper <drepper@gmail.com>
20958
20959 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20960 are re-adding the entry.
20961 * nscd/servicescache.c (cache_addserv): Likewise.
20962
751626f9
AJ
209632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20964
20965 * sysdeps/generic/dl-irel.h: fix protection against multiple
20966 inclusions.
20967 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20968
9113ea1f
UD
209692011-06-28 Ulrich Drepper <drepper@gmail.com>
20970
5c0b8d90
UD
20971 [BZ #12935]
20972 * malloc/memusage.sh: Fix quoting in message.
20973 * debug/xtrace.sh: Likewise.
20974
9113ea1f
UD
20975 * configure.in: Remove support for --experimental-malloc option, make
20976 it the default.
20977 * config.make.in: Likewise.
20978 * malloc/Makefile: Likewise.
20979
a4172181
AS
209802011-06-27 Andreas Schwab <schwab@redhat.com>
20981
20982 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20983 two-byte characters.
20984
78a7eee7
RM
209852011-06-27 Roland McGrath <roland@hack.frob.com>
20986
62bede13
RM
20987 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20988 AC_CACHE_CHECK invocation.
20989 * configure: Regenerated.
20990
78a7eee7
RM
20991 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20992
5ce33a62
UD
209932011-06-27 Ulrich Drepper <drepper@gmail.com>
20994
034807a9
UD
20995 [BZ #12350]
20996 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20997 bit from old_res_options.
20998
4902da17
UD
20999 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21000
5ce33a62
UD
21001 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21002 value type for setfct.
21003
c2344f56
L
210042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21005
21006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21007 __gettimeofday instead of gettimeofday.
21008
68468076
UD
210092011-06-26 Ulrich Drepper <drepper@gmail.com>
21010
21011 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21012
acb0d739
L
210132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21014
21015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21016
21017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21018 info.
21019
8912479f
L
210202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21023 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21024 strcpy-sse2-unaligned strncpy-sse2-unaligned
21025 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21026 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21027 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21028 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21029 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21032 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21033 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21034 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21035 (STRCPY): Support SSE2 and SSSE3 versions.
21036
d5495a11
UD
210372011-06-24 Ulrich Drepper <drepper@gmail.com>
21038
21039 [BZ #12874]
21040 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21041 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21042 kernels which artificially limit size of requests.
21043
0b1cbaae
L
210442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21045
21046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21047 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21048 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21049 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21050 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21051 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21052 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21053 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21056 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21057 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21058 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21059 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21060 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21062 Enable unaligned load optimization for Intel Core i3, i5 and i7
21063 processors.
21064 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21065 Define.
21066 (index_Fast_Unaligned_Load): Define.
21067 (HAS_FAST_UNALIGNED_LOAD): Define.
21068
07f494a0
MP
210692011-06-23 Marek Polacek <mpolacek@redhat.com>
21070
21071 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21072
fa3fc0fe
UD
210732011-06-22 Ulrich Drepper <drepper@gmail.com>
21074
21075 [BZ #12907]
21076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21077 until it is clear that the information is realy needed.
21078 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21079
e12df166
AS
210802011-06-22 Andreas Schwab <schwab@redhat.com>
21081
21082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21083
852eb34d
UD
210842011-06-22 Ulrich Drepper <drepper@gmail.com>
21085
84e2a551
UD
21086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21087 /sys/devices/system/cpu/online if it is usable.
21088
852eb34d
UD
21089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21090 reading the information from the /proc filesystem to once a second.
21091
6e502e19
UD
210922011-06-21 Andreas Jaeger <aj@suse.de>
21093
21094 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21095 NULL after inclusion of kernel headers.
21096
75d39ff2
UD
210972011-06-21 Ulrich Drepper <drepper@gmail.com>
21098
51f9aa6a
UD
21099 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21100 calls to internal_setent.
21101
c0244a9d
UD
21102 [BZ #12885]
21103 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21104 addresses using gethostbyname4_r ignore IPv4 addresses.
21105
c5e3c2ae
UD
21106 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21107 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21108
75d39ff2
UD
21109 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21110
42675c6f
DM
211112011-06-20 David S. Miller <davem@davemloft.net>
21112
21113 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21114 inclusions.
21115 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21116
21117 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21118 (elf_irel): Use it.
21119 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21120 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21121 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21122 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21123 * sysdeps/x86_64/dl-irel.h: Likewise.
21124
21125 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21126 * elf/dl-sym.c: Likewise.
21127
57912a71
UD
211282011-06-15 Ulrich Drepper <drepper@gmail.com>
21129
21130 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21131 need to dereference resplen2.
21132
ee22793d
AS
211332011-06-14 Andreas Schwab <schwab@redhat.com>
21134
21135 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21136
a9e836b0
UD
211372011-06-15 Ulrich Drepper <drepper@gmail.com>
21138
77fb9117
UD
21139 * Makeconfig: Define vardbdir and inst_vardbdir.
21140 * nss/Makefile: Add rules to install db-Makefile.
21141
40c1b22c
UD
21142 * nss/nss_db/db-XXX.c: Cleanup.
21143
9f2da732
UD
21144 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21145 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21146 GLIBC_PRIVATE.
21147 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21148 * nss/makedb.c: Implement -g option to specify that value strings
21149 are generated and should not be added to table iterated over for
21150 get*ent calls.
21151 * nss/nss_db/db-initgroups.c: New file.
21152
82e9a1f7
UD
21153 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21154 interface.
21155
c41af17e
UD
21156 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21157 (internal_getgrouplist): Adjust to name change.
21158 Update use_initgroups_entry if this is not the first call.
21159 * nss/databases.def: Add initgroups entry.
21160
a9e836b0
UD
21161 * nss/makedb.c (compute_tables): Check result of multiple hash table
21162 sizes to minimize maximum chain length.
21163
2666d441
UD
211642011-06-14 Ulrich Drepper <drepper@gmail.com>
21165
21166 * Versions.def: Add entry for libnss_db.
21167 * shlib-versions: Likewise.
21168 * nss/Makefile: Add rules to build libnss_db.
21169 * nss/Versions: Add libnss_db information. Organize libnss_files
21170 entries better.
21171 * nss/db-Makefile: Add gshadow support. Change rules for the new
21172 makedb progra. Some minor improvements to generate smaller files.
21173 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21174 here from...
21175 * nss/makedb.c: ...here.
21176 Improve database format to be smaller and require less memory at
21177 runtime.
21178 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21179 db anymore.
21180 * nss/nss_db/db-netgrp.c: Likewise.
21181 * nss/nss_db/db-open.c: Likewise.
21182 * nss/nss_files/flies-XXX.x: Adjust comments.
21183 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21184 * nss/nss_files/files-grp.c: Likewise.
21185 * nss/nss_files/files-hosts.c: Likewise.
21186 * nss/nss_files/files-network.c: Likewise.
21187 * nss/nss_files/files-proto.c: Likewise.
21188 * nss/nss_files/files-pwd.c: Likewise.
21189 * nss/nss_files/files-rpc.c: Likewise.
21190 * nss/nss_files/files-service.c: Likewise.
21191 * nss/nss_files/files-sgrp.c: Likewise.
21192 * nss/nss_files/files-spwd.c: Likewise.
21193 * nss/nss_db/db-alias.c: Removed.
21194 * nss/nss_db/dummy-db.h: Removed.
21195
9ee76b5a
UD
211962011-06-02 Ulrich Drepper <drepper@gmail.com>
21197
21198 * nss/makedb.c: Rewritten to not use database library.
21199 * nss/Makefile: Update to build new makedb program.
21200
c71ca1f8
AJ
212012011-06-14 Andreas Jaeger <aj@suse.de>
21202
21203 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21204 memset declaration.
21205
3154bfb8
UD
212062011-06-10 Andreas Schwab <schwab@redhat.com>
21207
21208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21209 tmpbuf.
21210
b350afab
RM
212112011-06-10 Roland McGrath <roland@hack.frob.com>
21212
decd4e50
RM
21213 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21214 * elf/Makefile ($(objpfx)ld.so): Likewise.
21215
5615eaf2
RM
21216 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21217 Don't list ld.so twice in dependencies.
21218
21219 * posix/bug-regex31.c: Include <stdlib.h>.
21220
21221 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21222
21223 * nis/nss_compat/compat-spwd.c
21224 (getspent_next_nss_netgr): Remove unused variable.
21225 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21226
21227 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21228 nonmembers" output to use the right array.
21229
21230 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21231
21232 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21233
21234 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21235 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21236 * catgets/gencat.c (read_input_file): Likewise.
21237 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21238
21239 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21240 variable definition inside #if's controlling its use.
21241
21242 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21243
21244 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21245
21246 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21247
21248 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21249 unreachable code.
21250
21251 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21252
b68e08db
RM
21253 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21254 * configure: Regenerated.
21255
b350afab
RM
21256 * Makerules: Revert last change.
21257 * elf/Makefile: Likewise.
21258
28368601
RM
212592011-06-09 Roland McGrath <roland@hack.frob.com>
21260
21261 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21262 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21263 (reloc-link): Likewise.
21264
11988f8f
UD
212652011-06-09 Ulrich Drepper <drepper@gmail.com>
21266
21267 * elf/Makefile: Add rules to build pldd.
21268 * elf/pldd.c: New file.
21269 * elf/pldd-xx.c: New file.
21270
e80fab37
UD
212712011-06-07 Ulrich Drepper <drepper@gmail.com>
21272
21273 * version.h: Update for 2.15 development version.
21274
9b849836
DM
212752011-06-07 David S. Miller <davem@davemloft.net>
21276
21277 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21278 ifuncs.
21279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21280 elf_machine_lazy_rel): Likewise.
21281 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21283 elf_machine_lazy_rel): Likewise.
21284 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21285 dl_hwcap via passed in argument.
21286 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21287 Likewise.
21288
5a31b283
AK
212892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21290
21291 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21292
069e52f8
RM
212932011-06-06 Roland McGrath <roland@hack.frob.com>
21294
21295 [BZ #12849]
21296 * manual/fdl-1.1.texi: New file, verbatim from:
21297 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21298 * manual/lgpl-2.1.texi: New file, verbatim from:
21299 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21300 * manual/Makefile (licenses): New variable, list those new file names.
21301 (texis): Use it.
21302 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21303
21304 * manual/fdl.texi: File removed.
21305 * manual/lesser.texi: File removed.
21306 * manual/libc.texinfo (Copying, Documentation License):
21307 Use new @include file names, put @appendix directive before @include.
21308
f16846a5
JJ
213092011-06-04 Jakub Jelinek <jakub@redhat.com>
21310
21311 [BZ #12841]
21312 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21313 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21314 (mq_open): Add __NTH.
21315
3d29045b
L
213162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21317
21318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21319 Assume Intel Core i3/i5/i7 processor if AVX is available.
21320
8c297311
UD
213212011-05-31 Ulrich Drepper <drepper@gmail.com>
21322
21323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21324 typo.
21325
c8fc0c91
UD
213262011-05-31 Andreas Schwab <schwab@redhat.com>
21327
21328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21329 memory. Use alloca_account. Fix memory leak when retrying.
21330
5b27a807
UD
213312011-05-31 Ulrich Drepper <drepper@gmail.com>
21332
356f8bc6
UD
21333 * version.h (RELEASE): Bump for 2.14 release.
21334 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21335
5b27a807
UD
21336 * config.make.in (RANLIB): Remove entry.
21337
01f16ab0
UD
213382011-05-30 Ulrich Drepper <drepper@gmail.com>
21339
41fce8bd
UD
21340 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21341 (libc.pot): Work around missing support for .ksh extension in xgettext.
21342
4769ae77
UD
21343 [BZ #12684]
21344 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21345 if both request failed.
21346 (send_dg): In case of server errors clear resplen or *resplen2.
21347
6b1e7d19
UD
21348 [BZ #12454]
21349 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21350 when there are multiple maps.
21351 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21352 (_dl_fini): Remove test here.
21353
01f16ab0
UD
21354 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21355
b1ebd700
UD
213562011-05-29 Ulrich Drepper <drepper@gmail.com>
21357
7ae22829
UD
21358 [BZ #12350]
21359 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21360 bit from old_res_options.
21361 (gaih_inet): Likewise.
21362
553149f6 21363 [BZ #11099]
18a84741 21364 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21365 as signed.
21366
652ffab1
UD
21367 * resolv/res_init.c (res_setoptions): Make the code more compact.
21368
16985fd0
UD
21369 [BZ #11558]
21370 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21371 set RES_USEVC.
21372
0464f746
UD
21373 [BZ #11634]
21374 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21375
7d17596c
UD
21376 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21377
cf6bbbd7
UD
21378 [BZ #11781]
21379 * malloc/malloc.h: Declare malloc hook variables as volatile.
21380
13f1ab36
UD
21381 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21382 in last patch.
21383
b1ebd700
UD
21384 [BZ #11799]
21385 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21386 raise in the comment.
80e2212d
UD
21387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21389 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21390
ce67228d
UD
213912011-05-28 Ulrich Drepper <drepper@gmail.com>
21392
8887a920
UD
21393 [BZ #12811]
21394 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21395 grow the buffers more if it already has to be sufficient.
21396 (build_wcs_upper_buffer): Likewise.
21397 * posix/regexec.c (check_matching): Likewise.
21398 (clean_state_log_if_needed): Likewise.
21399 (extend_buffers): Don't enlarge buffers beyond size of the input
21400 buffer.
21401 Patches mostly by Emil Wojak <emil@wojak.eu>.
21402 * posix/bug-regex32.c: New file.
21403 * posix/Makefile (tests): Add bug-regex32.
21404
4f031072
UD
21405 * locale/findlocale.c (_nl_find_locale): Return right away if
21406 _nl_explode_name failed.
21407 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21408
d0478f0c
UD
21409 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21410
de81b246
UD
21411 * debug/xtrace.sh: Unify messages.
21412 * malloc/memusage.sh: Likewise.
21413
c738465a
UD
21414 [BZ #12813]
21415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21416 time symbol from vDSO. Substitute with vsyscall if not available.
21417 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21418 __vdso_time.
21419
f1f929d7
UD
21420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21421 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21423 Add sendmmsg and internal_sendmmsg.
21424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21425 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21427
ce67228d
UD
21428 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21429 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21431
e57420c6
UD
214322011-05-27 Ulrich Drepper <drepper@gmail.com>
21433
a8509ca5
UD
21434 [BZ #12813]
21435 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21436 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21437 available.
21438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21439 __vdso_getcpu.
21440
e57420c6
UD
21441 [BZ #12814]
21442 * iconvdata/Makefile (tests): Add bug-iconv9.
21443 * iconvdata/bug-iconv9.c: New file.
21444
4d07db15
AS
214452011-05-27 Andreas Schwab <schwab@redhat.com>
21446
21447 [BZ #12814]
21448 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21449
ea486f69
JJ
214502011-05-25 Jakub Jelinek <jakub@redhat.com>
21451
21452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21453 (struct user_regs_struct): Change intcs field back to cs.
21454
6f038433
UD
214552011-05-25 Ulrich Drepper <drepper@gmail.com>
21456
21457 * po/ja.po: Update from translation team.
21458
67f86a25
UD
214592011-05-23 Ulrich Drepper <drepper@gmail.com>
21460
21461 [BZ #12795]
21462 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21463 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21464
def7fbd6
AS
214652011-05-20 Andreas Schwab <schwab@redhat.com>
21466
21467 * stdlib/longlong.h: Update from GCC.
21468
f50ef8f1
AS
214692011-05-23 Andreas Schwab <schwab@redhat.com>
21470
21471 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21472 parameter name.
21473 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21474 Add parameter name.
21475 (__sysconf): Pass it down.
21476
de7ce8f1
UD
214772011-05-22 Ulrich Drepper <drepper@gmail.com>
21478
f2962a71
UD
21479 [BZ #12671]
21480 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21481 some situations.
21482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21483 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21484 add in in __libc_use_alloca calls. Adjust callers.
21485 (glob): Use malloc in some situations.
21486
de7ce8f1
UD
21487 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21488 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21489 pltexit.
21490
aec84f53
UD
214912011-05-21 Ulrich Drepper <drepper@gmail.com>
21492
05bb4a68
UD
21493 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21494 and CLOCK_BOOTTIME_ALARM.
21495
7ea72f99
UD
21496 [BZ #12782]
21497 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21498 is returned.
21499
7e4afad5
UD
21500 * string/_strerror.c (__strerror_r): Print negative errors as signed
21501 numbers.
21502
8e211fec
UD
21503 [BZ #12777]
21504 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21505 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21506 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21507
f7d82dc9
UD
21508 * configure.in: Fix typo in redirection and correct removal of test
21509 files in two cases.
21510
cc9e536d
UD
21511 [BZ #12788]
21512 * locale/setlocale.c (new_composite_name): Fix test to check for
21513 identical name of all categories.
21514
aec84f53
UD
21515 [BZ #12792]
21516 * libio/filedoalloc.c (local_isatty): New function.
21517 (_IO_file_doallocate): Use local_isatty.
21518 * stdio-common/perror.c (perror): In case a new stream is used
21519 forward the stream error.
21520 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21521 error flag.
21522
78e64fdc
RT
215232011-05-20 Ulrich Drepper <drepper@gmail.com>
21524
34a9094f
UD
21525 [BZ #11869]
21526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21527 alloca.
21528 * include/alloca.h (extend_alloca_account): Define.
21529
78e64fdc
RT
21530 [BZ #11857]
21531 * posix/regex.h: Fix comments with documentation of user-accessible
21532 fields after compilation and describe correct free'ing of pattern
21533 after re_compile_pattern.
21534 Patch by Reuben Thomas <rrt@sc3d.org>.
21535
457bddfc
RA
215362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21537
21538 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21539 and -mno-altivec to prevent the compiler from using Altivec and/or
21540 VSX instructions when the corresponding registers are not available.
21541
a4527b51
AS
215422011-05-19 Andreas Schwab <schwab@redhat.com>
21543
21544 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21545
ed690b2f
UD
215462011-05-19 Ulrich Drepper <drepper@gmail.com>
21547
21548 * libio/freopen.c (freopen): Use __dup2, not dup2.
21549 * libio/freopen64.c (freopen64): Likewise.
21550
8db73634
L
215512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21552
21553 [BZ #12775]
21554 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21555 * math/Makefile (tests): Add test-powl.
21556 (CFLAGS-test-powl.c): Define.
21557 * math/test-powl.c: New file.
21558
0a197a9d
L
215592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21562
ee30c380
UD
215632011-05-17 Ulrich Drepper <drepper@gmail.com>
21564
21565 [BZ #11837]
21566 * iconvdata/gb18030.c: Update to GB18020-2005.
21567
6ce75379
UD
215682011-05-16 Ulrich Drepper <drepper@gmail.com>
21569
a4b89fd8
AR
21570 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21571 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21572 Patch by Aharon Robbins <arnold@skeeve.com>.
21573
ea389b12
UD
21574 [BZ #11892]
21575 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21576 on the stack.
21577
68a3f91f
UD
21578 [BZ #11895]
21579 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21580 through underflows.
21581
15cc7dd1
UD
21582 [BZ #12766]
21583 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21584 point to strings before performing equality test for error_one_per_line
21585 mode.
21586
f3799213
UD
21587 [BZ #11697]
21588 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21589
d79a9c94
UD
21590 [BZ #11820]
21591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21592 (struct user_fpregs_struct): Avoid __uint*_t types.
21593
56e5eb46
UD
21594 [BZ #6420]
21595 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21596 symbol info. Use it instead of calling _dl_addr locally.
21597 (lock_and_info): New function.
21598 (tr_freehook): Call lock_and_info and pass symbol info as additional
21599 parameter to tr_where.
21600 (tr_mallochook): Likewise.
21601 (tr_reallochook): Likewise.
21602 (tr_memalignhook): Likewise.
21603
6ce75379
UD
21604 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21605 used and couldn't be at all thread-safe.
21606
f8a3b5bf
UD
216072011-05-15 Ulrich Drepper <drepper@gmail.com>
21608
94b7cc37
UD
21609 * libio/freopen.c (freopen): Don't close old file descriptor
21610 before the new one is opened. Instead dup the new file descriptor
21611 to the old one after the new stream is created.
21612 * libio/freopen64.c (freopen64): Likewise.
21613 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21614 * libio/fileops.c (_IO_new_file_close_it): Handle new
21615 _IO_FLAGS2_NOCLOSE flag.
21616 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21617 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21618 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21619 _IO_FLAGS2_NOCLOSE flag.
21620 * include/unistd.h: Add hidden_proto for dup3.
21621 Define __have_dup3.
21622 * io/dup3.c: Define hidden symbol.
21623 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21624
bd25564e
UD
21625 [BZ #7101]
21626 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21627 when an incomplete long option is used.
21628 * posix/tst-getopt_long1.c: New file.
21629 * posix/Makefile (tests): Add tst-getopt_long1.
21630
c84cfef4
UD
21631 [BZ #10138]
21632 * scripts/config.guess: Update from autoconf-2.68.
21633 * scripts/config.sub: Likewise.
21634
3b85df27
UD
21635 [BZ #10157]
21636 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21637 tests into ...
21638 (has_cpuclock): ...this. New function.
21639 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21640 macro here based on has_cpuclock code.
21641
15a856b1
UD
21642 [BZ #10149]
21643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21644 First byte (not low byte) is now always NUL.
21645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21646
05f399e6
UD
21647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21648 Use non-cancelable interfaces.
21649
10a52685 21650 [BZ #9809]
94ecc67d
UD
21651 * locale/iso-639.def: Add entry for Sorani.
21652
f8a3b5bf
UD
21653 [BZ #11901]
21654 * include/stdlib.h: Move include protection to the right place.
21655 Define abort_msg_s. Declare __abort_msg with it.
21656 * stdlib/abort.c (__abort_msg): Adjust type.
21657 * assert/assert.c (__assert_fail_base): New function. Majority
21658 of code from __assert_fail. Allocate memory for __abort_msg with
21659 mmap.
21660 (__assert_fail): Now call __assert_fail_base.
21661 * assert/assert-perr.c: Remove bulk of implementation. Use
21662 __assert_fail_base.
21663 * include/assert.hL Declare __assert_fail_base.
21664 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21665 mmap.
21666 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21667
1af4e298
UD
216682011-05-14 Ulrich Drepper <drepper@gmail.com>
21669
f8a3b5bf 21670 [BZ #11952]
d26dfc60
MG
21671 [BZ #12453]
21672 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21673 until all modules are registered in the DTV.
21674 * elf/Makefile: Add rules to build and run tst-tls19.
21675 * elf/tst-tls19.c: New file.
21676 * elf/tst-tls19mod1.c: New file.
21677 * elf/tst-tls19mod2.c: New file.
21678 * elf/tst-tls19mod3.c: New file.
21679 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21680
2fc54d6f
UD
21681 [BZ #12083]
21682 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21683 correctly.
21684
98d76b46
UD
21685 [BZ #12601]
21686 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21687 two-byte sequence errors.
21688 * iconvdata/Makefile (tests): Add bug-iconv8.
21689 * iconvdata/bug-iconv8.c: New file.
21690
da3c19ef
UD
21691 [BZ #12626]
21692 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21693 buf2 definition.
21694
ca408c15
UD
21695 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21696
d6f67f7d
UD
21697 [BZ #12432]
21698 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21699 (dummy_getcfa): New function.
21700 (init): Get _Unwind_GetCFA address, use dummy if not found.
21701 (backtrace_helper): In recursion check, also check whether CFA changes.
21702 (__backtrace): Completely initialize arg.
21703
1af4e298 21704 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21705 storing incomplete byte sequence in state object. Avoid testing for
21706 guaranteed too small input if we know there is enough data available.
1af4e298 21707
da62f81b
AS
217082011-05-11 Andreas Schwab <schwab@redhat.com>
21709
21710 * Makeconfig (+link-pie): Indent.
21711 * Rules (binaries-pie): Define if $(have-fpie) and
21712 $(build-shared).
21713 (binaries-shared): Also filter out $(binaries-pie).
21714 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21715 * nscd/Makefile (others-pie): Add nscd.
21716 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21717 ($(objpfx)nscd): Remove command override.
21718 * login/Makefile (others-pie): Add pt_chown.
21719 ($(objpfx)pt_chown): Remove command override.
21720 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21721 remove command overrides.
21722
fcabc0f8
UD
217232011-05-13 Ulrich Drepper <drepper@gmail.com>
21724
20030ae6
UD
21725 * libio/tst_putwc.c: Fix error messages.
21726
fcabc0f8
UD
21727 [BZ #12724]
21728 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21729 currently writing and seek to current position when not.
21730 * libio/Makefile (tests): Add bug-fclose1.
21731 * libio/bug-fclose1.c: New file.
21732
320a5dc0
PB
217332011-05-12 Ulrich Drepper <drepper@gmail.com>
21734
21735 [BZ #12511]
21736 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21737 don't set DF_1_NODELETE here.
21738 (do_lookup_x): When entering new entry test for copy relocation
21739 and if necessary set DF_1_NODELETE flag.
21740 * elf/tst-unique4.cc: New file.
21741 * elf/tst-unique4.h: New file.
21742 * elf/tst-unique4lib.cc: New file.
21743 * elf/Makefile: Add rules to build and run tst-unique4.
21744 Patch by Piotr Bury <pbury@goahead.com>.
21745
22836f52
UD
217462011-05-11 Ulrich Drepper <drepper@gmail.com>
21747
f574184a
UD
21748 [BZ #12052]
21749 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21750
e1fb097f
UD
21751 [BZ #12625]
21752 * misc/mntent_r.c (addmntent): Flush the stream after the output
21753
22836f52
UD
21754 [BZ #12393]
21755 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21756 (is_trusted_path_normalize): Skip initial colon. Append slash
21757 to empty buffer. Duplicate is_trusted_path code but allow
21758 constructed patch to be prefix.
21759 (is_dst): Allow $ORIGIN followed by /.
21760 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21761 Correct testing of result of is_trusted_path_normalize
21762 (decompose_rpath): Fix warning.
21763
7b3b0b2a
UD
217642011-05-10 Ulrich Drepper <drepper@gmail.com>
21765
21766 [BZ #11257]
21767 * grp/initgroups.c (internal_getgrouplist): When we found the service
21768 list through the initgroups entry in nsswitch.conf do not always
21769 continue on a successful lookup. Don't always use the
eac80ce2 21770 __nss_group_database value if it is set.
7b3b0b2a
UD
21771 * nss/nsswitch.conf (initgroups): Change action for successful db
21772 lookup to continue for compatibility.
21773
2a81eaa5
UD
217742011-05-09 Ulrich Drepper <drepper@gmail.com>
21775
be97a69e
UD
21776 [BZ #11532]
21777 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21778 and CP774 modules.
21779 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21780 and CP774 modules.
21781 * iconvdata/tst-tables.sh: Likewise.
21782 * iconvdata/cp770.c: New file.
21783 * iconvdata/cp771.c: New file.
21784 * iconvdata/cp772.c: New file.
21785 * iconvdata/cp773.c: New file.
21786 * iconvdata/cp774.c: New file.
21787 * iconvdata/testdata/CP770: New file.
21788 * iconvdata/testdata/CP770..UTF8: New file.
21789 * iconvdata/testdata/CP771: New file.
21790 * iconvdata/testdata/CP771..UTF8: New file.
21791 * iconvdata/testdata/CP772: New file.
21792 * iconvdata/testdata/CP772..UTF8: New file.
21793 * iconvdata/testdata/CP773: New file.
21794 * iconvdata/testdata/CP773..UTF8: New file.
21795 * iconvdata/testdata/CP774: New file.
21796 * iconvdata/testdata/CP774..UTF8: New file.
21797
21798 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21799 END CHARMAP line.
21800 * iconvdata/gen-8bit-gap.sh: Likewise.
21801 * iconvdata/gen-8bit.sh: Likewise.
21802
c1e9e399
UD
21803 * locale/iso-639.def: Add ary entry.
21804
24c55fb3 21805 [BZ #11258]
96b4b1b0
UD
21806 * locale/C-translit.h.in: Add U20A1 transliteration.
21807
bdc2f971
KB
21808 [BZ #12178]
21809 * locale/iso-639.def: Add wae entry.
21810 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21811
2952b117
UD
21812 [BZ #12545]
21813 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21814 for n.
21815
2a81eaa5
UD
21816 [BZ #12711]
21817 * locale/C-translit.h.in: Add entry for U20B9.
21818 Patch by pravin.d.s@gmail.com.
21819
28377d1b
UD
218202011-05-08 Ulrich Drepper <drepper@gmail.com>
21821
7fb90fb8
UD
21822 [BZ #12713]
21823 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21824 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21825 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21826 in rtld. Use *stat64.
7fb90fb8 21827 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21828 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21829 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21830 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21831 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21832 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21833 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21834 __fstatat64 macros.
7fb90fb8
UD
21835 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21836 * dirent/rewinddir.c: Add libc_hidden_def.
21837 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21838 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21839
28377d1b
UD
21840 * include/dirent.h (__alloc_dir): Add flags parameter.
21841 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21842 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21843 __alloc_dir.
21844 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21845 from fdopendir if O_CLOEXEC is already set.
21846
66bdbaa4
AM
218472011-03-15 Alan Modra <amodra@gmail.com>
21848
21849 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21850 l_tls_firstbyte_offset non-zero. Save padding offset in
21851 l_tls_firstbyte_offset for later use.
21852 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21853 freeing static tls block.
21854
95721191
JN
218552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21856
21857 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21858 where #ifdef was intended. The intent is to prevent ARG_MAX from
21859 being defined by the kernel headers.
21860
f87dfb1f
UD
218612011-05-07 Ulrich Drepper <drepper@gmail.com>
21862
21863 [BZ #12734]
21864 * resolv/resolv.h: Define RES_NOTLDQUERY.
21865 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21866 no-tld-query and set RES_NOTLDQUERY.
21867 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21868 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21869 modern BIND to search name as TLD unless forbidden.
21870
47c3cd7a
UD
218712011-05-07 Petr Baudis <pasky@suse.cz>
21872 Ulrich Drepper <drepper@gmail.com>
21873
21874 [BZ #12393]
21875 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21876 (is_trusted_path): ...to here.
c1e9ea35 21877 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21878 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21879 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21880
8a35c912
PP
218812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21882
21883 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21884 __BEGIN/__END_DECLS.
21885
acd41f47
UD
218862011-05-06 Ulrich Drepper <drepper@gmail.com>
21887
21888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21889 NSS_STATUS_NOTFOUND if no record was found.
21890
597df647
AS
218912011-05-05 Andreas Schwab <schwab@redhat.com>
21892
21893 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21894 (headers-not-in-tirpc): Remove rpc/netdb.h
21895 * resolv/netdb.h: Revert last change.
21896
b9af1301
PP
218972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21898
21899 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21900 circular dependency between libgcc.a and libc.a.
21901
4e34d5f5
AS
219022011-05-05 Andreas Schwab <schwab@redhat.com>
21903
21904 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21905 * nis/Makefile: Don't install rpcsvc/*.
21906 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21907 instead of <rpc/types.h>.
21908 (MAXHOSTNAMELEN): Define.
21909
00ee369c
AS
219102011-05-03 Andreas Schwab <schwab@redhat.com>
21911
21912 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21913
0b592a30
MB
219142011-04-28 Maciej Babinski <mbabinski@google.com>
21915
21916 [BZ #12714]
21917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21918 gethostbyname4_r when IPv6 results are possible.
21919
6e04cbbe
UD
219202011-05-02 Ulrich Drepper <drepper@gmail.com>
21921
21922 [BZ #12723]
21923 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21924 _PC_PIPE_BUF handling.
21925
e4ecafe0
BH
219262011-04-30 Bruno Haible <bruno@clisp.org>
21927
21928 [BZ #12717]
21929 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21930 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21931 to 'int'.
21932 * inet/getnameinfo.c (getnameinfo): Likewise.
21933
125ee683
UD
219342011-04-29 Ulrich Drepper <drepper@gmail.com>
21935
21936 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21937 to groups setting in database lookup.
21938 * nss/nsswitch.conf: Add initgroups entry.
21939
b722481a
EB
219402011-04-22 Ulrich Drepper <drepper@gmail.com>
21941
21942 [BZ #12685]
21943 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21944 mode string.
21945 Patch by Eric Blake <eblake@redhat.com>.
21946
4df46dbd
L
219472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 * sunrpc/Makefile (need-export-routines): Add svc_run.
21950 (routines): Remove svc_run.
21951 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21952 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21953 * sunrpc/svc_run.c (svc_run): Likewise.
21954 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21955
e84142d2
UD
219562011-04-21 Ulrich Drepper <drepper@gmail.com>
21957
21958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21959 problem in reallocation in last patch.
21960
877175d8
UD
219612011-04-20 Ulrich Drepper <drepper@gmail.com>
21962
21963 * sunrpc/Makefile: Move inclusion of Rules.
21964
ab8eed78
UD
219652011-04-19 Ulrich Drepper <drepper@gmail.com>
21966
21967 * nss/nss_files/files-initgroups.c: New file.
21968 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21969 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21970 _nss_files_initgroups_dyn.
21971
e3d8f584
RS
219722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21973
21974 * elf/elf.h (R_ARM_IRELATIVE): Define.
21975
af190f45
UD
219762011-04-19 Ulrich Drepper <drepper@gmail.com>
21977
21978 * po/ru.po: Update from translation team.
21979
53cf59ef
UD
219802011-04-17 Ulrich Drepper <drepper@gmail.com>
21981
21982 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21983 dependencies.
21984
4c559bcd
MF
219852011-02-06 Mike Frysinger <vapier@gentoo.org>
21986
21987 [BZ #12653]
21988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21989 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21993
4420675c
AS
219942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21995
21996 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21997 differing bytes.
21998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22001
75ea32ab
UD
220022011-04-17 Ulrich Drepper <drepper@gmail.com>
22003
22004 [BZ #12420]
22005 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22006 storing it.
22007 * stdlib/bug-getcontext.c: New file.
22008 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22009
27390476
AK
220102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22011
22012 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22013 instructions into .machine "z9-109".
22014 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22015 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22016
10442705
AK
220172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22018
22019 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22020 between environment variables and auxiliary vector.
22021
7b57bfe5
UD
220222011-04-16 Ulrich Drepper <drepper@gmail.com>
22023
22024 * Makefile: Add rules to build linkobj/libc.so.
22025 * include/libc-symbols.h: Define libc_hidden_nolink.
22026 * include/rpc/auth.h: Mark functions which are to be hidden.
22027 * include/rpc/auth_des.h: Likewise.
22028 * include/rpc/auth_unix.h: Likewise.
22029 * include/rpc/clnt.h: Likewise.
22030 * include/rpc/des_crypt.h: Likewise.
22031 * include/rpc/key_prot.h: Likewise.
22032 * include/rpc/pmap_clnt.h: Likewise.
22033 * include/rpc/pmap_prot.h: Likewise.
22034 * include/rpc/pmap_rmt.h: Likewise.
22035 * include/rpc/rpc_msg.h: Likewise.
22036 * include/rpc/svc.h: Likewise.
22037 * include/rpc/svc_auth.h: Likewise.
22038 * include/rpc/xdr.h: Likewise.
22039 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22040 * nss/Makefile: Likewise.
22041 * sunrpc/Makefile: Don't install headers. Build library with normal
22042 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22043 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22044 for the compat linking library. Remove use of INTDEF/INTUSE.
22045 * sunrpc/auth_none.c: Likewise.
22046 * sunrpc/auth_unix.c: Likewise.
22047 * sunrpc/authdes_prot.c: Likewise.
22048 * sunrpc/authuxprot.c: Likewise.
22049 * sunrpc/clnt_gen.c: Likewise.
22050 * sunrpc/clnt_perr.c: Likewise.
22051 * sunrpc/clnt_raw.c: Likewise.
22052 * sunrpc/clnt_simp.c: Likewise.
22053 * sunrpc/clnt_tcp.c: Likewise.
22054 * sunrpc/clnt_udp.c: Likewise.
22055 * sunrpc/clnt_unix.c: Likewise.
22056 * sunrpc/des_crypt.c: Likewise.
22057 * sunrpc/des_soft.c: Likewise.
22058 * sunrpc/get_myaddr.c: Likewise.
22059 * sunrpc/key_call.c: Likewise.
22060 * sunrpc/key_prot.c: Likewise.
22061 * sunrpc/netname.c: Likewise.
22062 * sunrpc/pm_getmaps.c: Likewise.
22063 * sunrpc/pm_getport.c: Likewise.
22064 * sunrpc/pmap_clnt.c: Likewise.
22065 * sunrpc/pmap_prot.c: Likewise.
22066 * sunrpc/pmap_prot2.c: Likewise.
22067 * sunrpc/pmap_rmt.c: Likewise.
22068 * sunrpc/publickey.c: Likewise.
22069 * sunrpc/rpc_cmsg.c: Likewise.
22070 * sunrpc/rpc_common.c: Likewise.
22071 * sunrpc/rpc_dtable.c: Likewise.
22072 * sunrpc/rpc_prot.c: Likewise.
22073 * sunrpc/rpc_thread.c: Likewise.
22074 * sunrpc/rtime.c: Likewise.
22075 * sunrpc/svc.c: Likewise.
22076 * sunrpc/svc_auth.c: Likewise.
22077 * sunrpc/svc_authux.c: Likewise.
22078 * sunrpc/svc_raw.c: Likewise.
22079 * sunrpc/svc_run.c: Likewise.
22080 * sunrpc/svc_simple.c: Likewise.
22081 * sunrpc/svc_tcp.c: Likewise.
22082 * sunrpc/svc_udp.c: Likewise.
22083 * sunrpc/svc_unix.c: Likewise.
22084 * sunrpc/svcauth_des.c: Likewise.
22085 * sunrpc/xcrypt.c: Likewise.
22086 * sunrpc/xdr.c: Likewise.
22087 * sunrpc/xdr_array.c: Likewise.
22088 * sunrpc/xdr_float.c: Likewise.
22089 * sunrpc/xdr_intXX_t.c: Likewise.
22090 * sunrpc/xdr_mem.c: Likewise.
22091 * sunrpc/xdr_rec.c: Likewise.
22092 * sunrpc/xdr_ref.c: Likewise.
22093 * sunrpc/xdr_sizeof.c: Likewise.
22094 * sunrpc/xdr_stdio.c: Likewise.
22095
e6c61494
UD
220962011-04-10 Ulrich Drepper <drepper@gmail.com>
22097
22098 [BZ #12650]
22099 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22100 * sysdeps/ia64/dl-tls.h: Likewise.
22101 * sysdeps/powerpc/dl-tls.h: Likewise.
22102 * sysdeps/s390/dl-tls.h: Likewise.
22103 * sysdeps/sh/dl-tls.h: Likewise.
22104 * sysdeps/sparc/dl-tls.h: Likewise.
22105 * sysdeps/x86_64/dl-tls.h: Likewise.
22106 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22107
34fe483e
AS
221082011-03-14 Andreas Schwab <schwab@redhat.com>
22109
22110 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22111 rpath element also skip the following colon.
22112 (expand_dynamic_string_token): Add is_path parameter and pass
22113 down to DL_DST_REQUIRED and _dl_dst_substitute.
22114 (decompose_rpath): Call expand_dynamic_string_token with
22115 non-zero is_path. Ignore empty rpaths.
22116 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22117 with zero is_path.
22118
f12a32e6
AS
221192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22120
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22122 Make cancelable.
22123
38a7d692
UD
221242011-04-09 Ulrich Drepper <drepper@gmail.com>
22125
22126 [BZ #12655]
22127 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22128 Patch by Filipe David Manana <fdmanana@apache.org>.
22129
e451d22b
AS
221302011-04-07 Andreas Schwab <schwab@redhat.com>
22131
22132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22133 Maintain aligned stack.
22134 (CHECK_RSP): Remove unused macro.
22135
dedc7c7b
UD
221362011-04-03 Ulrich Drepper <drepper@gmail.com>
22137
22138 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22140
94521213
UD
221412011-04-02 Ulrich Drepper <drepper@gmail.com>
22142
22143 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22144
8cb700c0 22145 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22146
0354e355
L
221472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22148
22149 [BZ #12518]
22150 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22151 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22152 * sysdeps/x86_64/memmove.c: New file.
22153 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22154 (memcpy): Renamed to ...
22155 (__new_memcpy): This.
22156 (memcpy): Provide GLIBC_2_14 memcpy.
22157 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22158 (memcpy): Provide GLIBC_2_2_5 memcpy.
22159
8593482f
UD
221602011-04-01 Ulrich Drepper <drepper@gmail.com>
22161
22162 [BZ #12631]
22163 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22164
81a5726b
AS
221652011-03-30 Andreas Schwab <schwab@redhat.com>
22166
22167 * misc/syncfs.c: New file.
22168 * misc/Makefile (routines): Add syncfs.
22169 * posix/unistd.h: Declare syncfs.
22170 * sysdeps/unix/syscalls.list: Add syncfs.
22171
00e5419f
AS
221722011-04-01 Andreas Schwab <schwab@redhat.com>
22173
22174 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22175 open_by_handle_at.
22176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22181 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22183
748876bf
UD
221842011-04-01 Ulrich Drepper <drepper@gmail.com>
22185
658e451d
UD
22186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22188 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22193
748876bf
UD
22194 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22195 sync_file_range.c with -fexceptions.
22196 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22197 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22198 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22199 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22200 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22201 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22203 sync_file_range as cancellation point
22204 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22205 now a wrapper around __call_sync_file_range with cancellation handling.
22206 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22207 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22208 function name to __call_sync_file_range.
22209 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22210 Add call_sync_file_range.
748876bf 22211
6e63d5e1
AS
222122011-04-01 Andreas Schwab <schwab@redhat.com>
22213
22214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22215 bits/timex.h.
6e63d5e1 22216
46998f74
UD
222172011-04-01 Ulrich Drepper <drepper@gmail.com>
22218
4c1423ed
UD
22219 * iconv/iconv.h: Fix typo in comment.
22220 * io/fcntl.h: Likewise.
22221 * libio/stdio.h: Likewise.
22222 * posix/spawn.h: Likewise.
22223 * posix/unistd.h: Likewise.
22224 * stdlib/stdlib.h: Likewise.
22225 * time/time.h: Likewise.
22226 * wcsmbs/wchar.h: Likewise.
22227
158648c0
UD
22228 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22229 open_by_handle): Add.
22230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22231 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22232 Augment a few comments.
22233 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22238 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22239 open_by_handle.
22240
46998f74
UD
22241 * io/fcntl.h (AT_EMPTY_PATH): Define.
22242
83fe108b
UD
222432011-03-30 Ulrich Drepper <drepper@gmail.com>
22244
22245 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22246 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22247 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22248 to...
22249 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22250 * Versions.def: Add GLIBC_2.14.
22251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22252 Export.
83fe108b 22253
bb242059
UD
222542011-03-22 Ulrich Drepper <drepper@gmail.com>
22255
22256 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22257 round counter.
22258 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22259
c97a1282
L
222602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22261
22262 [BZ #12597]
22263 * string/test-strncmp.c (do_page_test): New function.
22264 (check2): Likewise.
22265 (test_main): Call check2.
22266 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22267
2a115601
UD
222682011-03-20 Ulrich Drepper <drepper@gmail.com>
22269
22270 [BZ #12587]
22271 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22272 Handle cache information in CPU leaf 4.
22273 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22274
8126d904
UD
222752011-03-18 Ulrich Drepper <drepper@gmail.com>
22276
042c49c6 22277 [BZ #12583]
8126d904
UD
22278 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22279 character representation.
22280 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22281
ccfe366e
RA
222822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22283
22284 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22285 END(__isnan) to END(__isnanf) to match function entry point/label
22286 EALIGN(__isnanf,...).
22287
c6e13027
JJ
222882011-03-10 Jakub Jelinek <jakub@redhat.com>
22289
22290 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22291
33f85a3f
UD
222922011-03-10 Ulrich Drepper <drepper@gmail.com>
22293
028478fa
UD
22294 [BZ #12510]
22295 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22296 copy from the symbol referenced in the relocation to initialize the
22297 used variable.
22298 Patch by Piotr Bury <pbury@goahead.com>.
22299 * elf/Makefile: Add rules to build and tst-unique3.
22300 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22301 * elf/tst-unique3.cc: New file.
22302 * elf/tst-unique3.h: New file.
22303 * elf/tst-unique3lib.cc: New file.
22304 * elf/tst-unique3lib2.cc: New file.
22305
33f85a3f
UD
22306 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22307
03592fc7
MF
223082011-03-10 Mike Frysinger <vapier@gentoo.org>
22309
22310 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22311 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22312 to _start.
03592fc7 22313
6a5ee102
UD
223142011-03-06 Ulrich Drepper <drepper@gmail.com>
22315
22316 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22317 to-be-loaded object along a path to loader is ld.so.
22318
7e4ba49c
HJ
223192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22320 Ulrich Drepper <drepper@gmail.com>
22321
22322 * sysdeps/x86_64/memset.S: After aligning destination, code
22323 branches to different locations depending on the value of
22324 misalignment, when multiarch is enabled. Fix this.
22325
223262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22327
22328 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22329 Set _x86_64_preferred_memory_instruction for AMD processsors.
22330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22331 Set bit_Prefer_SSE_for_memop for AMD processors.
22332
13a804de
UD
223332011-03-04 Ulrich Drepper <drepper@gmail.com>
22334
22335 * libio/fmemopen.c (fmemopen): Optimize a bit.
22336
9d25c392
AS
223372011-03-03 Andreas Schwab <schwab@redhat.com>
22338
22339 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22340
a5543c6a
RM
223412011-03-03 Roland McGrath <roland@redhat.com>
22342
22343 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22344
012d35f7
DM
223452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22346
7e4ba49c 22347 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22348 __bzero_ultra1 instead of __memset_ultra1.
22349
4bff6e01
AS
223502011-02-23 Andreas Schwab <schwab@redhat.com>
22351 Ulrich Drepper <drepper@gmail.com>
22352
22353 [BZ #12509]
22354 * include/link.h (struct link_map): Add l_orig_initfini.
22355 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22356 returning unsuccessfully.
22357 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22358 close of a file loaded at startup, restore the original l_initfini
22359 list.
22360 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22361 list, store the pointer.
22362 * elf/Makefile ($(objpfx)noload-mem): New rule.
22363 (noload-ENV): Define.
22364 (tests): Add $(objpfx)noload-mem.
22365 * elf/noload.c: Include <memcheck.h>.
22366 (main): Call mtrace. Close all opened handles.
22367
f2092faf
AS
223682011-02-17 Andreas Schwab <schwab@redhat.com>
22369
22370 [BZ #12454]
22371 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22372 dependencies are missing.
22373
6c8a2e88
ST
223742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22375
f2092faf 22376 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22377 Hurd needs munmap.
22378 * sysdeps/mach/hurd/ifreq.h: New file.
22379
84a42118
PB
223802011-01-27 Petr Baudis <pasky@suse.cz>
22381 Ulrich Drepper <drepper@gmail.com>
22382
071f805e 22383 [BZ 12445]#
84a42118
PB
22384 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22385 to extend_alloca().
22386 * stdio-common/bug23.c: New file.
22387 * stdio-common/Makefile (tests): Add bug23.
22388
e23fe25b
AS
223892010-09-28 Andreas Schwab <schwab@redhat.com>
22390 Ulrich Drepper <drepper@gmail.com>
22391
22392 [BZ #12489]
22393 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22394 before performing relro protection. At old place add assertion
22395 to make sure nothing changed.
22396
d3f02e10
NS
223972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22398 Glauber de Oliveira Costa <glommer@gmail.com>
22399
22400 * elf/elf.h: Add new ARM TLS relocs.
22401
d55fd7a5
RA
224022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22403
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22405 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22406 cast from r3.
22407 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22408 'tests' variable.
22409 * sysdeps/wordsize-64/tst-writev.c: New file.
22410
2206397e
RA
224112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22412
22413 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22414 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22415 insns in _dl_start to prevent a TOC reference before relocs are
22416 resolved.
22417
e9433893
UD
224182011-02-15 Ulrich Drepper <drepper@gmail.com>
22419
22420 [BZ #12469]
22421 * Makeconfig: Remove RANLIB definition.
22422 * Makerules: Don't use RANLIB.
22423 * aclocal.m4: Remove ranlib test.
22424 * configure.in: No need to check for ranlib.
22425 * elf/rtld-Rules: Don't use RANLIB.
22426
f75286c6
ST
224272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22428
8e31c82d
ST
22429 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22430 protection macro.
22431 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22432 inclusion protection macro.
22433
f75286c6
ST
22434 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22435 SIGRTMIN and SIGRTMAX and print information in that case only when
22436 SIGRTMIN is defined.
22437
c1d0e639
JJ
224382011-02-11 Jakub Jelinek <jakub@redhat.com>
22439
22440 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22441 arginfo fn returning -1.
22442
22443 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22444 and thousands string is zero terminated.
22445
edf9294e
AS
224462011-02-03 Andreas Schwab <schwab@redhat.com>
22447
22448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22449 sysdeps/unix/sysv/linux/bits/socket.h.
22450
2b7e92df
ST
224512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22452
edf9294e
AS
22453 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22454 (__CPU_COUNT): Remove old macros.
22455 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22456 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22457 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22458 (__sched_cpualloc, __sched_cpufree): Add declarations.
22459
a4c7ea7b
UD
224602011-02-05 Ulrich Drepper <drepper@gmail.com>
22461
22462 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22463 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22464 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22465 (readdhstai): Return value of addhstaiX call.
22466 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22467 (addgrbyX): Return value returned by cache_addgr.
22468 (readdgrbyname): Return value returned by addgrbyX.
22469 (readdgrbygid): Likewise.
22470 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22471 (addpwbyX): Return value returned by cache_addpw.
22472 (readdpwbyname): Return value returned by addhstbyX.
22473 (readdpwbyuid): Likewise.
22474 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22475 (addservbyX): Return value returned by cache_addserv.
22476 (readdservbyname): Return value returned by addservbyX:
22477 (readdservbyport): Likewise.
22478 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22479 (addhstbyX): Return value returned by cache_addhst.
22480 (readdhstbyname): Return value returned by addhstbyX.
22481 (readdhstbyaddr): Likewise.
22482 (readdhstbynamev6): Likewise.
22483 (readdhstbyaddrv6): Likewise.
22484 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22485 (readdinitgroups): Return value returned by addinitgroupsX.
22486 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22487 (prune_cache): Keep track of timeout value of re-added entries.
22488 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22489 * nscd/nscd.h: Adjust prototypes of readd* functions.
22490
a0bf67cc
RM
224912011-02-04 Roland McGrath <roland@redhat.com>
22492
22493 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22494 (nis_stats): Likewise.
22495 * nis/nis_modify.c (nis_modify): Likewise.
22496 * nis/nis_remove.c (nis_remove): Likewise.
22497 * nis/nis_add.c (nis_add): Likewise.
22498
22499 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22500
22501 * posix/fnmatch_loop.c: Add some consts.
22502
22503 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22504
435b95eb
L
225052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22506
22507 [BZ #12460]
22508 * config.make.in (config-cflags-novzeroupper): Define.
22509 * configure.in: Substitute libc_cv_cc_novzeroupper.
22510 * elf/Makefile (AVX-CFLAGS): Define.
22511 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22512 (CFLAGS-tst-auditmod4a.c): Likewise.
22513 (CFLAGS-tst-auditmod4b.c): Likewise.
22514 (CFLAGS-tst-auditmod6b.c): Likewise.
22515 (CFLAGS-tst-auditmod6c.c): Likewise.
22516 (CFLAGS-tst-auditmod7b.c): Likewise.
22517 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22518
8517b15e
UD
225192011-02-02 Ulrich Drepper <drepper@gmail.com>
22520
22521 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22522 function to the callback.
22523 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22524
10a656fe
AS
225252011-02-02 Andreas Schwab <schwab@redhat.com>
22526
22527 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22528 of errno.
22529
968dad0a
UD
225302011-01-19 Ulrich Drepper <drepper@gmail.com>
22531
9f94d2ea 22532 [BZ #11724]
968dad0a
UD
22533 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22534 of constructors.
22535 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22536 of destructors.
22537 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22538
22539 [BZ #11724]
22540 * elf/Makefile: Add rules to build and run new test.
22541 * elf/tst-initorder.c: New file.
22542 * elf/tst-initorder.exp: New file.
22543 * elf/tst-initordera1.c: New file.
22544 * elf/tst-initordera2.c: New file.
22545 * elf/tst-initordera3.c: New file.
22546 * elf/tst-initordera4.c: New file.
22547 * elf/tst-initorderb1.c: New file.
22548 * elf/tst-initorderb2.c: New file.
22549 * elf/tst-order-a1.c: New file.
22550 * elf/tst-order-a2.c: New file.
22551 * elf/tst-order-a3.c: New file.
22552 * elf/tst-order-a4.c: New file.
22553 * elf/tst-order-b1.c: New file.
22554 * elf/tst-order-b2.c: New file.
22555 * elf/tst-order-main.c: New file.
22556 New test case by George Gensure <werkt0@gmail.com>.
22557
86e92359
UD
225582010-10-01 Andreas Schwab <schwab@redhat.com>
22559
22560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22561 decoding ACE if AI_CANONIDN.
22562
5d5732b0
UD
225632011-01-18 Ulrich Drepper <drepper@gmail.com>
22564
22565 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22566
a77e8cbc
UD
225672011-01-17 Ulrich Drepper <drepper@gmail.com>
22568
6392473f
UD
22569 * version.h (RELEASE): Bump for 2.13 release.
22570 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22571
620a0529
UD
22572 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22573
18ba70a5
UD
22574 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22575 MADV_NOHUGEPAGE.
32465c3e
UD
22576 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22582
c0dafcf1
UD
22583 * posix/getconf.c: Update copyright year.
22584 * catgets/gencat.c: Likewise.
22585 * csu/version.c: Likewise.
22586 * debug/catchsegv.sh: Likewise.
22587 * debug/xtrace.sh: Likewise.
22588 * elf/ldconfig.c: Likewise.
22589 * elf/ldd.bash.in: Likewise.
22590 * elf/sprof.c (print_version): Likewise.
22591 * iconv/iconv_prog.c: Likewise.
22592 * iconv/iconvconfig.c: Likewise.
22593 * locale/programs/locale.c: Likewise.
22594 * locale/programs/localedef.c: Likewise.
22595 * malloc/memusage.sh: Likewise.
22596 * malloc/mtrace.pl: Likewise.
22597 * nscd/nscd.c (print_version): Likewise.
22598 * nss/getent.c: Likewise.
22599
a77e8cbc
UD
22600 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22601 PF_CAIF, and PF_ALG.
22602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22603
77e8bddf
AS
226042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22605
1f20b93a
AS
22606 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22607 (modules-names): Use them.
22608 (ifunc-test-modules, ifunc-pie-tests): Define.
22609 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22610 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22611 (test-extras): Likewise.
22612 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22613 $(compile-command.c).
22614 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22615 (all-built-dso): Define.
22616 (check-textrel.out, check-execstack.out): Depend on it.
22617
77e8bddf
AS
22618 * configure.in: Don't override --enable-multi-arch.
22619
bc425b33
UD
226202011-01-15 Ulrich Drepper <drepper@gmail.com>
22621
22622 [BZ #6812]
22623 * nscd/hstcache.c (tryagain): Define.
22624 (cache_addhst): Return tryagain not notfound for temporary errors.
22625 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22626 failed.
22627
794c3ad3
UD
226282011-01-14 Ulrich Drepper <drepper@gmail.com>
22629
70181fdd
UD
22630 [BZ #10563]
22631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22632 to make the syscall.
22633 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22634
794c3ad3
UD
22635 [BZ #12378]
22636 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22637 and fall back to matching as normal character if the string ends before
22638 the matching ']' is found. This is what POSIX requires.
22639 * posix/testfnm.c: Adjust test result.
22640 * posix/globtest.sh: Adjust test result. Add new test.
22641 * posix/tst-fnmatch.input: Likewise.
22642 * posix/tst-fnmatch2.c: Add new test.
22643
68dc9497
AS
226442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22645
22646 * elf/Makefile (check-execstack): Revert last change. Depend on
22647 check-execstack.h.
22648 (check-execstack.h): New target.
22649 (generated): Add check-execstack.h.
22650 * elf/check-execstack.c: Include "check-execstack.h".
22651 (main): Revert last change.
22652 (handle_file): Return zero if GNU_STACK is absent and
22653 DEFAULT_STACK_PERMS doesn't include PF_X.
22654
451f001b
UD
226552011-01-13 Ulrich Drepper <drepper@gmail.com>
22656
cfa28e56
UD
22657 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22658 in child fails because the descriptor is already closed.
8cf8ce17
UD
22659 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22660 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22662
1086d70d
UD
22663 [BZ #12397]
22664 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22665 syscall.
22666
451f001b
UD
22667 [BZ #10484]
22668 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22669 temporary buffer used to handle multi lookups locally.
a85b5cb4 22670 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22671
08769175
UD
226722011-01-12 Ulrich Drepper <drepper@gmail.com>
22673
22674 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22675 loader is ld.so.
22676
5e49c52e
UD
226772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22678
22679 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22680 alignment for SSE2.
22681
60522a5f
UD
226822011-01-12 Ulrich Drepper <drepper@gmail.com>
22683
22684 [BZ #12394]
22685 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22686 characters. When rounding increased number of integer digits recompute
22687 number of groups.
22688 * stdio-common/tst-grouping.c: New file.
22689 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22690
f257bbd7
UD
226912011-01-09 Ulrich Drepper <drepper@gmail.com>
22692
22693 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22694 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22695
22696 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22697 void.
22698 * bits/select.h: Likewise.
22699
fa9c15cb
UD
227002011-01-08 Ulrich Drepper <drepper@gmail.com>
22701
22702 * po/ja.po: Update from translation team.
22703
16c2895f
DM
227042011-01-04 David S. Miller <davem@sunset.davemloft.net>
22705
22706 [BZ #11155]
22707 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22708 implementation just like for lxstat, fxstatat, et al.
22709
2543fef2
JM
227102010-12-27 Jim Meyering <meyering@redhat.com>
22711
22712 [BZ #12348]
22713 * posix/regexec.c (build_trtable): Return failure indication upon
22714 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22715
98727dbe
UD
227162010-12-25 Ulrich Drepper <drepper@gmail.com>
22717
5bd6dc5c
UD
22718 [BZ #12201]
22719 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22720 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22723
97983464
UD
22724 [BZ #12207]
22725 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22726
98727dbe
UD
22727 [BZ #12204]
22728 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22729 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22730
4a531bb0
L
227312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22732
22733 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22734 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22735 script has SORT_BY_INIT_PRIORITY.
22736 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22737 NO_CTORS_DTORS_SECTIONS is defined.
22738 * elf/soinit.c: Likewise.
22739 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22740 NO_CTORS_DTORS_SECTIONS is defined.
22741 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22742 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22743 * sysdeps/sh/init-first.c: Likewise.
22744 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22745
07eb4b71
UD
227462010-12-24 Ulrich Drepper <drepper@gmail.com>
22747
22748 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22749 always use the slow path.
22750
30950a5f
RA
227512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22752
22753 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22754 similar rule which adds the sysdep directories to the header search in
22755 order to pick up the correct platform stackinfo.h.
22756 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22757 perform test if it is, otherwise return successfully without testing.
22758 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22759 DEFAULT_STACK_PERMS define in stackinfo.h.
22760 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22761 defined in stackinfo.h.
22762 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22763 DEFAULT_STACK_PERMS defined in stackinfo.h.
22764 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22765 * sysdeps/ia64/stackinfo.h: Likewise.
22766 * sysdeps/s390/stackinfo.h: Likewise.
22767 * sysdeps/sh/stackinfo.h: Likewise.
22768 * sysdeps/sparc/stackinfo.h: Likewise.
22769 * sysdeps/x86_64/stackinfo.h: Likewise.
22770 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22771 PF_X for powerpc64. Retain PF_X for powerpc32.
22772
db753e2c
UD
227732010-12-19 Ulrich Drepper <drepper@gmail.com>
22774
14b697f7
UD
22775 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22776 accurately.
db753e2c
UD
22777 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22778 GETDENTS_64BIT_ALIGNED.
22779
28300719
UD
227802010-12-14 Ulrich Drepper <dreper@gmail.com>
22781
14b697f7 22782 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22783
4f197237
AS
227842010-12-10 Andreas Schwab <schwab@redhat.com>
22785
dbb0472f
AS
22786 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22787 _GNU_SOURCE.
22788
4f197237
AS
22789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22790 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22791 Remove __restrict.
22792 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22793 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22794
fb88ac72
UD
227952010-12-09 Ulrich Drepper <drepper@gmail.com>
22796
22797 [BZ #11655]
22798 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22799 are initialized.
22800
42acbb92
JJ
228012010-12-09 Jakub Jelinek <jakub@redhat.com>
22802
22803 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22804
c038d98d
UD
228052010-12-03 Ulrich Drepper <drepper@gmail.com>
22806
22807 * po/it.po: Update from translation team.
22808
3a4a2499
L
228092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22810
22811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22812 unused codes.
22813
1e24cf6e
UD
228142010-11-30 Ulrich Drepper <drepper@gmail.com>
22815
22816 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22817
a7690819
AS
228182010-11-24 Andreas Schwab <schwab@redhat.com>
22819
22820 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22821 specially.
22822 (gaih_getanswer_slice): Likewise.
22823
3bf8d1b1
JJ
228242010-10-20 Jakub Jelinek <jakub@redhat.com>
22825
22826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22827
6db52fbb
PB
228282010-05-31 Petr Baudis <pasky@suse.cz>
22829
22830 [BZ #11149]
22831 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22832 silently even in the chroot mode.
22833
eaca7569
UD
228342010-11-22 Ulrich Drepper <drepper@gmail.com>
22835
22836 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22837 last patch a bit. Pretty printing
22838
3056dcdb
UD
228392010-05-31 Petr Baudis <pasky@suse.cz>
22840
22841 [BZ #10085]
22842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22843 initialization of skip_initgroups_dyn.
22844
cf7c9078
UD
228452010-11-19 Ulrich Drepper <drepper@gmail.com>
22846
22847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22848 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22849
a1fb5e3e
UD
228502010-11-16 Ulrich Drepper <drepper@gmail.com>
22851
22852 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22853
3540d66b
AS
228542010-11-11 Andreas Schwab <schwab@redhat.com>
22855
22856 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22857 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22858 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22859 ($(objpfx)tst-fnmatch-mem): New rule.
22860 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22861 * posix/tst-fnmatch.c (main): Call mtrace.
22862
13b69574
L
228632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22864
22865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22866 Support Intel processor model 6 and model 0x2c.
22867
da93d214
LM
228682010-11-10 Luis Machado <luisgpm@br.ibm.com>
22869
22870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22871 signed comparison.
22872
8ca52c6e
L
228732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22874
22875 [BZ #12205]
22876 * string/test-strncasecmp.c (check_result): New function.
22877 (do_one_test): Use it.
22878 (check1): New function.
22879 (test_main): Use it.
22880 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22881 Support strcasecmp and strncasecmp.
22882
69da074d
UD
228832010-11-08 Ulrich Drepper <drepper@gmail.com>
22884
22885 [BZ #12194]
22886 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22888
ff02d528
L
228892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22892 IFUNC support.
22893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22894 memset-x86-64.
22895 * sysdeps/x86_64/multiarch/bzero.S: New file.
22896 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22897 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22898 * sysdeps/x86_64/multiarch/memset.S: New file.
22899 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22901 Set bit_Prefer_SSE_for_memop for Intel processors.
22902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22903 Define.
22904 (index_Prefer_SSE_for_memop): Define.
22905 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22906
344d0b54
LM
229072010-11-04 Luis Machado <luisgpm@br.ibm.com>
22908
22909 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22910 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22911
c0dde15b
UD
229122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22913
22914 [BZ #12191]
22915 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22916 (__x86_64_raw_data_cache_size_half): Likewise.
22917 (__x86_64_raw_shared_cache_size): Likewise.
22918 (__x86_64_raw_shared_cache_size_half): Likewise.
22919
22920 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22921 (__x86_64_raw_data_cache_size_half): Likewise.
22922 (__x86_64_raw_shared_cache_size): Likewise.
22923 (__x86_64_raw_shared_cache_size_half): Likewise.
22924 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22925 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22926 and __x86_64_raw_shared_cache_size_half. Round
22927 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22928 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22929 to multiple of 256 bytes.
22930
0e516e0e
MS
229312010-11-03 Ulrich Drepper <drepper@gmail.com>
22932
22933 [BZ #12167]
22934 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22935 of inacessible symlinks. Verify result of symlink before returning it.
22936 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22937 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22938
0e012e87
ER
229392010-10-28 Erich Ritz <erichritz@gmail.com>
22940
22941 * math/math.h (isinf): Fix typo in comment.
22942
de0ff7bc
UD
229432010-11-01 Ulrich Drepper <drepper@gmail.com>
22944
22945 * po/da.po: Update from translation team.
22946
fa41c84d
UD
229472010-10-26 Ulrich Drepper <drepper@gmail.com>
22948
22949 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22950 is added to the list.
22951
f0967738
AK
229522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22953 Ulrich Drepper <drepper@gmail.com>
22954
22955 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22956 the global list here. Move code to...
22957 (_dl_add_to_namespace_list): ...here. New function.
22958 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22959 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22960 * elf/dl-load.c (lose): Don't remove the element from the list.
22961 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22962 (_dl_map_object): Likewise.
22963
229642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22965
22966 [BZ #12159]
22967 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22968 into all bytes of SSE register.
22969 Patch by Richard Li <richardpku@gmail.com>.
22970
f0967738 229712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22972
22973 [BZ #12140]
22974 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22975 perturbing.
22976
d0b9e94f
MB
229772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22978
22979 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22980 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22981 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22982 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22984 submachine.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22986
8e9f92e9
AS
229872010-10-22 Andreas Schwab <schwab@redhat.com>
22988
22989 * include/dlfcn.h (__RTLD_SECURE): Define.
22990 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22991 mode & __RTLD_SECURE instead.
22992 (open_path): Rename preloaded parameter to secure.
22993 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22994 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22995 * elf/dl-deps.c (openaux): Likewise.
22996 * elf/rtld.c (struct map_args): Remove is_preloaded.
22997 (map_doit): Don't use it.
22998 (dl_main): Likewise.
22999 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23000 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23001
bc96fbda
AS
230022010-09-09 Andreas Schwab <schwab@redhat.com>
23003
23004 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23005 (sysd-rules-targets): Remove duplicates.
23006 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23007 rtld-%.$o dependency.
23008
22cd1c9b
AS
230092010-10-18 Andreas Schwab <schwab@redhat.com>
23010
23011 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23012 _dl_map_object do it.
23013
18edac48
UD
230142010-10-19 Ulrich Drepper <drepper@gmail.com>
23015
23016 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23017 fast fma builtins, define the macros in the C99 standard.
23018 (FP_FAST_FMAF): Likewise.
23019 (FP_FAST_FMAL): Likewise.
23020 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23021
23022 * bits/mathdef.h: Update copyright year.
23023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23024
d2050124
MM
230252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23026
23027 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23028 builtins, define the macros in the C99 standard.
23029 (FP_FAST_FMAF): Likewise.
23030 (FP_FAST_FMAL): Likewise.
23031 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23032 multiply/add.
23033 (FP_FAST_FMAF): Likewise.
23034
475facd1
JJ
230352010-10-15 Jakub Jelinek <jakub@redhat.com>
23036
23037 [BZ #3268]
23038 * math/libm-test.inc (fma_test): Some new testcases.
23039 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23041 y and infinite z. Do multiplication by C already in long double.
23042 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23044 y and infinite z. Do bitwise or of inexact bit into u.d.
23045 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23046 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23047 * sysdeps/i386/fpu/s_fma.S: Removed.
23048 * sysdeps/i386/fpu/s_fmal.S: Removed.
23049
7c08a05c
JJ
230502010-10-16 Jakub Jelinek <jakub@redhat.com>
23051
23052 [BZ #3268]
23053 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23055 computation is not scheduled after fetestexcept. Fix value
23056 of minimum denormal long double.
23057
f3f7372d
JJ
230582010-10-14 Jakub Jelinek <jakub@redhat.com>
23059
23060 [BZ #3268]
23061 * math/libm-test.inc (fma_test): Add some more tests.
23062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23063 correctly.
23064
14d43591
AS
230652010-10-15 Andreas Schwab <schwab@redhat.com>
23066
23067 * scripts/data/localplt-s390-linux-gnu.data: New file.
23068 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23069
5e908464
JJ
230702010-10-13 Jakub Jelinek <jakub@redhat.com>
23071
23072 [BZ #3268]
23073 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23074 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23075 instead of dbl-64.
23076 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23077 inlines.
23078 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23080 if one of x and y is very large and the other is subnormal.
23081 * sysdeps/s390/fpu/s_fmaf.c: New file.
23082 * sysdeps/s390/fpu/s_fma.c: New file.
23083 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23084 * sysdeps/powerpc/fpu/s_fma.S: New file.
23085 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23086 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23087 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23088
230892010-10-12 Jakub Jelinek <jakub@redhat.com>
23090
23091 [BZ #3268]
23092 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23093 fma tests.
23094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23095 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23096 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23097 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23098 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23099 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23100 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23101
b833d51f
UD
231022010-10-12 Ulrich Drepper <drepper@redhat.com>
23103
23104 [BZ #12078]
23105 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23106 * posix/bug-regex31.input: Add test case.
23107
1751705d
UD
231082010-10-11 Ulrich Drepper <drepper@gmail.com>
23109
e9b9cbf5
UD
23110 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23111 * posix/bug-regex31.input: New file.
23112
23113 [BZ #12078]
23114 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23115 (parse_sub_exp): Fix last change, use postorder.
23116
ef06edbe
UD
23117 * posix/bug-regex31.c: New file.
23118 * posix/Makefile: Add rules to build and run bug-regex31.
23119
a129c80d
UD
23120 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23121
23122 [BZ #12078]
23123 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23124
b76b818e
UD
23125 [BZ #12108]
23126 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23127 to have entries in sys_siglist.
23128
1751705d
UD
23129 [BZ #12093]
23130 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23131 be NULL.
23132
9ff8d36f
JJ
231332010-10-07 Jakub Jelinek <jakub@redhat.com>
23134
23135 [BZ #3268]
23136 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23137 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23138 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23139 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23141 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23142 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23143 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23144 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23145 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23146 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23147 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23148 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23149 * math/ftestexcept.c (fetestexcept): Likewise.
23150 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23151 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23152 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23153 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23154 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23155 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23157
af325969
UD
231582010-10-11 Ulrich Drepper <drepper@gmail.com>
23159
c579b202 23160 [BZ #12107]
af325969
UD
23161 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23162 newline.
23163
67a67b95
UD
231642010-10-06 Ulrich Drepper <drepper@gmail.com>
23165
23166 * string/bug-strstr1.c: New file.
23167 * string/Makefile: Add rules to build and run bug-strstr1.
23168
5fb308bc
EB
231692010-10-05 Eric Blake <eblake@redhat.com>
23170
23171 [BZ #12092]
23172 * string/str-two-way.h (two_way_long_needle): Always clear memory
23173 when skipping input due to the shift table.
23174
45db99c7
UD
231752010-10-03 Ulrich Drepper <drepper@gmail.com>
23176
3b111893
UD
23177 [BZ #12005]
23178 * malloc/mcheck.c: Handle large requests.
23179
45db99c7
UD
23180 [BZ #12077]
23181 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23182 for strncmp and strncasecmp.
23183 * string/stratcliff.c: Add tests for strcmp and strncmp.
23184 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23185
cf7a1eb8
NI
231862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23187
23188 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23189 __set_fpscr.
23190
6484ba5e
AJ
231912010-09-30 Andreas Jaeger <aj@suse.de>
23192
23193 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23194 (CGROUP_SUPER_MAGIC): Define.
23195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23196 Handle btrfs and cgroup file systems.
23197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23198 Likewise.
23199
91c42559
LM
232002010-09-27 Luis Machado <luisgpm@br.ibm.com>
23201
23202 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23203 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23204
87a97932
AK
232052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23206
23207 [BZ #12067]
23208 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23209 trying to locate the ELF header.
23210
c21cc9bc
AS
232112010-09-27 Andreas Schwab <schwab@redhat.com>
23212
23213 [BZ #11611]
23214 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23215 Mask out sign-bit copies when constructing f_fsid.
23216
315970f6
PB
232172010-09-24 Petr Baudis <pasky@suse.cz>
23218
23219 * debug/stack_chk_fail_local.c: Add missing licence exception.
23220 * debug/warning-nop.c: Likewise.
23221
1ac7a2c7
JM
232222010-09-15 Joseph Myers <joseph@codesourcery.com>
23223
23224 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23225 implementing getdents64 using getdents syscall, set d_type if
23226 __ASSUME_GETDENTS32_D_TYPE.
23227
56801c50
AS
232282010-09-16 Andreas Schwab <schwab@redhat.com>
23229
23230 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23231 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23232
dda51327
UD
232332010-09-21 Ulrich Drepper <drepper@redhat.com>
23234
23235 [BZ #12037]
23236 * posix/unistd.h: Undo change of feature selection for ftruncate from
23237 2010-01-11.
23238
8ffcee4a
UD
232392010-09-20 Ulrich Drepper <drepper@redhat.com>
23240
a545ecd9 23241 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23242 detection.
23243
e24f0a8b
AS
232442010-09-20 Andreas Schwab <schwab@redhat.com>
23245
23246 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23247 fanotify_mark.
23248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23249
7291c56f
AS
232502010-09-14 Andreas Schwab <schwab@redhat.com>
23251
23252 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23253 variables after CHECK_SP call.
23254 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23255
bc5fb037
AS
232562010-09-13 Andreas Schwab <schwab@redhat.com>
23257 Ulrich Drepper <drepper@redhat.com>
23258
23259 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23260 re-relocationg ld.so.
23261 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23262 _dl_init_paths call.
23263 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23264 here anymore.
23265
e66e7419
UD
232662010-09-14 Ulrich Drepper <drepper@redhat.com>
23267
23268 * resolv/res_init.c (__res_vinit): Count the default server we added.
23269
c044aa75
CLT
232702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23271 Ulrich Drepper <drepper@redhat.com>
23272
23273 [BZ #11968]
23274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23275 (____longjmp_chk): Use %ebx for saving value across system call.
23276 Add unwind info.
23277
32cf4069
AS
232782010-09-06 Andreas Schwab <schwab@redhat.com>
23279
23280 * manual/Makefile: Don't mix pattern rules with normal rules.
23281
817328ee
AS
232822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23283
23284 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23285 operation.
23286 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23287 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23288 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23289 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23291 Likewise.
23292
29fddf61
UD
232932010-09-04 Ulrich Drepper <drepper@redhat.com>
23294
23295 [BZ #11979]
23296 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23297 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23298
0959ffc9
UD
232992010-09-02 Ulrich Drepper <drepper@redhat.com>
23300
23301 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23302 * sysdeps/x86_64/addmul_1.S: Likewise.
23303 * sysdeps/x86_64/lshift.S: Likewise.
23304 * sysdeps/x86_64/mul_1.S: Likewise.
23305 * sysdeps/x86_64/rshift.S: Likewise.
23306 * sysdeps/x86_64/sub_n.S: Likewise.
23307 * sysdeps/x86_64/submul_1.S: Likewise.
23308
ece29840
ST
233092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23310
0959ffc9
UD
23311 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23312 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23313 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23314 * bits/sched.h [__need_schedparam]
ece29840 23315 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23316 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23317 (__defined_schedparam): Define to 1.
ece29840
ST
23318 (__sched_param): New structure, identical to sched_param.
23319 (__need_schedparam): Undefine.
23320
e53a31fe
MF
233212010-08-31 Mike Frysinger <vapier@gentoo.org>
23322
fdc0c10d
MF
23323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23324 (epoll_create1): Declare.
23325
e53a31fe
MF
23326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23327
a726d796
AS
233282010-08-31 Andreas Schwab <schwab@redhat.com>
23329
23330 [BZ #7066]
23331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23332 shifting retval into place.
23333
2f3e3dc7
UD
233342010-09-01 Ulrich Drepper <drepper@redhat.com>
23335
f2933da9
UD
23336 * nis/rpcsvc/nis.h: Update copyright notice.
23337 * nis/rpcsvc/nis.x: Likewise.
23338 * nis/rpcsvc/nis_callback.h: Likewise.
23339 * nis/rpcsvc/nis_callback.x: Likewise.
23340 * nis/rpcsvc/nis_object.x: Likewise.
23341 * nis/rpcsvc/nis_tags.h: Likewise.
23342 * nis/rpcsvc/yp.h: Likewise.
23343 * nis/rpcsvc/yp.x: Likewise.
23344 * nis/rpcsvc/ypupd.h: Likewise.
23345 * nis/yp_xdr.c: Likewise.
23346 * nis/ypupdate_xdr.c: Likewise.
23347
2f3e3dc7
UD
23348 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23349 mainly the body of pmap_getport. Add parameters to specify timeouts.
23350 (pmap_getport): Use __libc_rpc_getport.
23351 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23352 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23353 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23354
f3dcc2f9
AS
233552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23356
23357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23358 fanotify_mark.
23359
6d34eb5b
RM
233602010-08-27 Roland McGrath <roland@redhat.com>
23361
23362 * sysdeps/i386/i686/multiarch/Makefile
23363 (CFLAGS-varshift.c): New variable.
23364
9ea3de11
UD
233652010-08-27 Ulrich Drepper <drepper@redhat.com>
23366
c96d23fc
UD
23367 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23368 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23369
9ea3de11
UD
23370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23371
23372 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23373
623aac7f
L
233742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23375
23376 * sysdeps/x86_64/strlen.S: Unroll the loop.
23377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23378 strlen-sse2 strlen-sse2-bsf.
23379 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23380 __strlen_no_bsf if bit_Slow_BSF is set.
23381 (__strlen_sse42): Removed.
23382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23383 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23384
8b2b7715
RM
233852010-08-25 Roland McGrath <roland@redhat.com>
23386
23387 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23388 * sysdeps/x86_64/multiarch/varshift.c: New file.
23389 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23390 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23391 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23392 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23393
e73015f2
L
233942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23395
23396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23397 strlen-sse2 strlen-sse2-bsf.
23398 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23399 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23400 (__strlen_sse2): Removed.
23401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23404 bit_Slow_BSF for Atom.
23405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23406 (index_Slow_BSF): Define.
23407 (HAS_SLOW_BSF): Define.
23408
df24a73e
UD
234092010-08-25 Ulrich Drepper <drepper@redhat.com>
23410
23411 [BZ #10851]
23412 * resolv/res_init.c (__res_vinit): When no server address at all
23413 is given default to loopback.
23414
f2ac4868
RM
234152010-08-24 Roland McGrath <roland@redhat.com>
23416
09055553
RM
23417 * configure.in: Remove config-name.h generation.
23418 * configure: Regenerated.
23419 * config-name.in: File removed.
23420 * scripts/config-uname.sh: New file.
23421 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23422 ($(objdir)config-name.h): New target.
23423
f2ac4868
RM
23424 * sunrpc/rpc_parse.h: Avoid nested comment.
23425
73f27d5e
RH
234262010-08-24 Richard Henderson <rth@redhat.com>
23427 Ulrich Drepper <drepper@redhat.com>
23428 H.J. Lu <hongjiu.lu@intel.com>
23429
23430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23432 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23433 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23434 _mm_alignr_epi8 with _mm_loadu_si128.
23435 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23436 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23437 (__m128i_shift_right): Removed.
23438 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23439 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23440 * sysdeps/x86_64/multiarch/varshift.h: New file.
23441 * sysdeps/x86_64/multiarch/varshift.S: New file.
23442
84b9230c
MF
234432010-08-21 Mike Frysinger <vapier@gentoo.org>
23444
23445 * configure.in: Move assembler checks to before sysdep dir checking.
23446
9bbd0ddc
PB
234472010-08-20 Petr Baudis <pasky@suse.cz>
23448
23449 * LICENSES: Sync the sunrpc license.
23450
9da4bb31
UD
234512010-08-19 Ulrich Drepper <drepper@redhat.com>
23452
a7ab6ec8
UD
23453 * sunrpc/auth_des.c: Update copyright notice once again.
23454 * sunrpc/auth_none.c: Likewise.
23455 * sunrpc/auth_unix.c: Likewise.
23456 * sunrpc/authdes_prot.c: Likewise.
23457 * sunrpc/authuxprot.c: Likewise.
23458 * sunrpc/bindrsvprt.c: Likewise.
23459 * sunrpc/clnt_gen.c: Likewise.
23460 * sunrpc/clnt_perr.c: Likewise.
23461 * sunrpc/clnt_raw.c: Likewise.
23462 * sunrpc/clnt_simp.c: Likewise.
23463 * sunrpc/clnt_tcp.c: Likewise.
23464 * sunrpc/clnt_udp.c: Likewise.
23465 * sunrpc/clnt_unix.c: Likewise.
23466 * sunrpc/des_crypt.c: Likewise.
23467 * sunrpc/des_soft.c: Likewise.
23468 * sunrpc/get_myaddr.c: Likewise.
23469 * sunrpc/getrpcport.c: Likewise.
23470 * sunrpc/key_call.c: Likewise.
23471 * sunrpc/key_prot.c: Likewise.
23472 * sunrpc/openchild.c: Likewise.
23473 * sunrpc/pm_getmaps.c: Likewise.
23474 * sunrpc/pm_getport.c: Likewise.
23475 * sunrpc/pmap_clnt.c: Likewise.
23476 * sunrpc/pmap_prot.c: Likewise.
23477 * sunrpc/pmap_prot2.c: Likewise.
23478 * sunrpc/pmap_rmt.c: Likewise.
23479 * sunrpc/rpc/auth.h: Likewise.
23480 * sunrpc/rpc/auth_unix.h: Likewise.
23481 * sunrpc/rpc/clnt.h: Likewise.
23482 * sunrpc/rpc/des_crypt.h: Likewise.
23483 * sunrpc/rpc/key_prot.h: Likewise.
23484 * sunrpc/rpc/netdb.h: Likewise.
23485 * sunrpc/rpc/pmap_clnt.h: Likewise.
23486 * sunrpc/rpc/pmap_prot.h: Likewise.
23487 * sunrpc/rpc/pmap_rmt.h: Likewise.
23488 * sunrpc/rpc/rpc.h: Likewise.
23489 * sunrpc/rpc/rpc_des.h: Likewise.
23490 * sunrpc/rpc/rpc_msg.h: Likewise.
23491 * sunrpc/rpc/svc.h: Likewise.
23492 * sunrpc/rpc/svc_auth.h: Likewise.
23493 * sunrpc/rpc/types.h: Likewise.
23494 * sunrpc/rpc/xdr.h: Likewise.
23495 * sunrpc/rpc_clntout.c: Likewise.
23496 * sunrpc/rpc_cmsg.c: Likewise.
23497 * sunrpc/rpc_common.c: Likewise.
23498 * sunrpc/rpc_cout.c: Likewise.
23499 * sunrpc/rpc_dtable.c: Likewise.
23500 * sunrpc/rpc_hout.c: Likewise.
23501 * sunrpc/rpc_main.c: Likewise.
23502 * sunrpc/rpc_parse.c: Likewise.
23503 * sunrpc/rpc_parse.h: Likewise.
23504 * sunrpc/rpc_prot.c: Likewise.
23505 * sunrpc/rpc_sample.c: Likewise.
23506 * sunrpc/rpc_scan.c: Likewise.
23507 * sunrpc/rpc_scan.h: Likewise.
23508 * sunrpc/rpc_svcout.c: Likewise.
23509 * sunrpc/rpc_tblout.c: Likewise.
23510 * sunrpc/rpc_util.c: Likewise.
23511 * sunrpc/rpc_util.h: Likewise.
23512 * sunrpc/rpcinfo.c: Likewise.
23513 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23514 * sunrpc/rpcsvc/key_prot.x: Likewise.
23515 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23516 * sunrpc/rpcsvc/mount.x: Likewise.
23517 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23518 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23519 * sunrpc/rpcsvc/rex.x: Likewise.
23520 * sunrpc/rpcsvc/rstat.x: Likewise.
23521 * sunrpc/rpcsvc/rusers.x: Likewise.
23522 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23523 * sunrpc/rpcsvc/spray.x: Likewise.
23524 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23525 * sunrpc/rtime.c: Likewise.
23526 * sunrpc/svc.c: Likewise.
23527 * sunrpc/svc_auth.c: Likewise.
23528 * sunrpc/svc_authux.c: Likewise.
23529 * sunrpc/svc_raw.c: Likewise.
23530 * sunrpc/svc_run.c: Likewise.
23531 * sunrpc/svc_simple.c: Likewise.
23532 * sunrpc/svc_tcp.c: Likewise.
23533 * sunrpc/svc_udp.c: Likewise.
23534 * sunrpc/svc_unix.c: Likewise.
23535 * sunrpc/svcauth_des.c: Likewise.
23536 * sunrpc/xcrypt.c: Likewise.
23537 * sunrpc/xdr.c: Likewise.
23538 * sunrpc/xdr_array.c: Likewise.
23539 * sunrpc/xdr_float.c: Likewise.
23540 * sunrpc/xdr_mem.c: Likewise.
23541 * sunrpc/xdr_rec.c: Likewise.
23542 * sunrpc/xdr_ref.c: Likewise.
23543 * sunrpc/xdr_sizeof.c: Likewise.
23544 * sunrpc/xdr_stdio.c: Likewise.
23545
9da4bb31
UD
23546 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23547 handling.
23548
bdaa77bc
AS
235492010-08-19 Andreas Schwab <schwab@redhat.com>
23550
23551 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23552
fe2f79db
LM
235532010-08-19 Luis Machado <luisgpm@br.ibm.com>
23554
23555 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23556 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23557 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23558 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23560 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23561 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23562 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23564 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23565 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23567 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23568 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23569
b9b42ee0
AB
235702010-07-26 Anton Blanchard <anton@samba.org>
23571
23572 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23573 * malloc/arena.c (heap_trim): Likewise.
23574
1c06ba31
UD
235752010-08-16 Ulrich Drepper <drepper@redhat.com>
23576
23577 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23578 here. Not...
23579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23580 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23581
f8392f40
L
235822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23583
23584 * sysdeps/i386/elf/Makefile: New file.
23585
3162f12e
AS
235862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23587
23588 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23589 from fanotify_init.
23590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23592
28c90b2c
UD
235932010-08-15 Ulrich Drepper <drepper@redhat.com>
23594
23595 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23596 of strncasecmp_l.
1feccb6c 23597 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23598
ca6bb004
UD
235992010-08-14 Ulrich Drepper <drepper@redhat.com>
23600
e9f82e0d
UD
23601 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23602 strncase_l-nonascii.
23603 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23604 Add strncase_l-ssse3.
23605 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23606 * sysdeps/x86_64/strcmp.S: Likewise.
23607 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23608 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23609 * sysdeps/x86_64/strncase.S: New file.
23610 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23611 * sysdeps/x86_64/strncase_l.S: New file.
23612 * string/Makefile (strop-tests): Add strncasecmp.
23613 * string/test-strncasecmp.c: New file.
23614
23615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23616 warning.
23617
ca6bb004
UD
23618 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23619 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23620
052fa7b3
AS
236212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23622
23623 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23624
962dba78
UD
236252010-08-12 Ulrich Drepper <drepper@redhat.com>
23626
23627 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23629 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23630
bebff237
AM
236312010-05-01 Alan Modra <amodra@gmail.com>
23632
23633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23634 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23635 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23636 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23637 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23638 tidying. Don't tail-call __sigjmp_save for static lib.
23639 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23640 save location.
23641 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23642 (CALL_MCOUNT): Add eh info, and nop after bl.
23643 (TAIL_CALL_SYSCALL_ERROR): New macro.
23644 (PSEUDO_RET): Use it.
23645 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23646 Correct save location of integer regs and cr.
23647 (_dl_profile_resolve): Correct cr save location. Delete nops
23648 after bl when SHARED. Reduce cfi size a little by better
23649 placement of cfi directives.
23650 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23651 make a stack frame. Instead use parm save area as a temp.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23653 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23655 Don't make a stack frame for parent, use parm save area.
23656 Increase child stack frame to 112 bytes. Don't save unused reg,
23657 and adjust reg usage. Set up cfi on error recovery and
23658 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23660 (__makecontext): Add dummy nop after jump to exit.
23661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23662 Use correct parm save area and cr save, reduce stack frame.
23663 Correct cfi for possible PSEUDO_RET frame setup.
23664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23665 Branch to local label emitted by PSEUDO_RET rather than
23666 __syscall_error.
23667
02637374
AS
236682010-08-12 Andreas Schwab <schwab@redhat.com>
23669
23670 [BZ #11904]
23671 * locale/programs/locale.c (print_assignment): New function.
23672 (show_locale_vars): Use it.
23673
c3e2f19b
UD
236742010-08-11 Ulrich Drepper <drepper@redhat.com>
23675
3cdaa6ad
UD
23676 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23677 field.
23678 (struct statfs64): Likewise.
23679 (_STATFS_F_FLAGS): Define.
23680 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23682 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23683 (ST_VALID): Define locally.
23684 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23685 __statvfs_getflags, use the provided value.
23686 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23687 __ASSUME_STATFS_F_FLAGS.
23688
754f7da3
UD
23689 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23690
10b3bedc
UD
23691 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23692 Add sys/fanotify.h.
23693 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23694 fanotify_mask for GLIBC_2.13.
23695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23696 fanotify_init and fanotify_mark.
23697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23698 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23699
c08fb0d7
UD
23700 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23701 Add prlimit.
23702 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23703 prlimit64 for GLIBC_2.13.
23704 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23705 prlimit64.
23706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23707 syscall.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23709 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23710 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23713 add prlimit alias.
23714 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23715
15bac72b
UD
23716 [BZ #11903]
23717 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23718 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23719
c3e2f19b
UD
23720 * nss/Makefile: Add rules to build and run tst-nss-test1.
23721 * shlib-versions: Add entry for libnss_test1.
23722 * nss/nss_test1.c: New file.
23723 * nss/tst-nss-test1.c: New file.
23724
23725 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23726 (__nss_configure_lookup): Set appropriate entry in
23727 __nss_configure_lookup to true.
23728 * nss/nsswitch.h: Define enum with indeces of databases in
23729 databases and __nss_database_custom arrays. Declare
23730 __nss_database_custom.
23731 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23732 to avoid using nscd when custom rules are installed.
23733 * nss/getXXbyYY_r.c: Likewise.
23734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23735
23736 * nss/nss_files/files-parse.c: Whitespace fixes.
23737
f15ce4d8
UD
237382010-08-09 Ulrich Drepper <drepper@redhat.com>
23739
23740 [BZ #11883]
23741 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23742 * posix/fnmatch_loop.c: Likewise.
23743
d22e4cc9
AK
237442010-07-17 Andi Kleen <ak@linux.intel.com>
23745
23746 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23747 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23748 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23749 * Versions.def [GLIBC_2.13]: Add.
23750
805bc17d
UD
237512010-08-06 Ulrich Drepper <drepper@redhat.com>
23752
23753 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23754 Also fail if tpwd after pwuid call is NULL.
23755
5a42321d
ST
237562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23757
23758 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23759 when converting to ms.
23760
fd3ebeda
ST
237612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23762
23763 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23764 EOPNOTSUPP errors with ENOTTY.
23765 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23766 EOPNOTSUPP errors with ENOTTY.
23767
73507d3a
UD
237682010-07-31 Ulrich Drepper <drepper@redhat.com>
23769
23770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23771 Add strcasecmp_l-ssse3.
23772 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23773 strcasecmp.
23774 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23775 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23777
fe36dd02
UD
237782010-07-30 Ulrich Drepper <drepper@redhat.com>
23779
66f6765a
UD
23780 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23781
42e08a54
UD
23782 * string/Makefile (strop-tests): Add strcasecmp.
23783 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23784 strcasecmp_l-nonascii.
23785 (gen-as-const-headers): Add locale-defines.sym.
23786 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23787 * sysdeps/x86_64/strcasecmp.S: New file.
23788 * sysdeps/x86_64/strcasecmp_l.S: New file.
23789 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23790 * sysdeps/x86_64/locale-defines.sym: New file.
23791 * string/test-strcasecmp.c: New file.
23792
fe36dd02
UD
23793 * string/test-strcasestr.c: Test both ends of the range of characters.
23794 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23795
48cbc0d6
RM
237962010-07-29 Roland McGrath <roland@redhat.com>
23797
76e6d6bc 23798 [BZ #11856]
48cbc0d6
RM
23799 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23800
880113d9
UD
238012010-07-27 Ulrich Drepper <drepper@redhat.com>
23802
23803 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23804 for ld.so.
23805
deb9cabb
AS
238062010-07-27 Andreas Schwab <schwab@redhat.com>
23807
23808 * manual/memory.texi (Malloc Tunable Parameters): Document
23809 M_PERTURB.
23810
1c7570ff
RM
238112010-07-26 Roland McGrath <roland@redhat.com>
23812
23813 [BZ #11840]
23814 * configure.in (-fgnu89-inline check): Set and substitute
23815 gnu89_inline, not libc_cv_gnu89_inline.
23816 * configure: Regenerated.
23817 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23818
24fb0f88
UD
238192010-07-26 Ulrich Drepper <drepper@redhat.com>
23820
23821 * string/test-strnlen.c: New file.
23822 * string/Makefile (strop-tests): Add strnlen.
23823 * string/tester.c (test_strnlen): Add a few more test cases.
23824 * string/tst-strlen.c: Better error reporting.
23825
23826 * sysdeps/x86_64/strnlen.S: New file.
23827
8e96b93a
UD
238282010-07-24 Ulrich Drepper <drepper@redhat.com>
23829
23830 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23831 lower-latency instructions.
23832
dbc676d4
UD
238332010-07-23 Ulrich Drepper <drepper@redhat.com>
23834
23835 * string/test-strcasestr.c: New file.
23836 * string/test-strstr.c: New file.
23837 * string/Makefile (strop-tests): Add strstr and strcasestr.
23838 * string/str-two-way.h: Don't undefine MAX.
23839 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23840
f6a31e0e
AS
238412010-07-21 Andreas Schwab <schwab@redhat.com>
23842
23843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23844 strcasestr-nonascii.
23845 (CFLAGS-strcasestr-nonascii.c): Define.
23846 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23848 Remove unused attribute.
23849
5dbc3b6c
RM
238502010-07-20 Roland McGrath <roland@redhat.com>
23851
23852 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23853 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23854 ld.so.cache was broken. With it, there is no way to disable dsocaps
23855 like LD_HWCAP_MASK can disable hwcaps.
23856
23d101d8
EPM
238572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23858
23859 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23860
cc9f2e47
UD
238612010-07-16 Ulrich Drepper <drepper@redhat.com>
23862
23863 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23864 call in strcasestr.
23865 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23866 __strcasestr_sse42_nonascii.
23867 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23868 strcasestr-nonascii.c.
23869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23870
77c1b069
LM
238712010-06-15 Luis Machado <luisgpm@br.ibm.com>
23872
23873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23874 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23877
440566c3
UD
238782010-07-09 Ulrich Drepper <drepper@redhat.com>
23879
23880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23881 fcntl.
23882
5be9d05d
AS
238832010-07-06 Andreas Schwab <schwab@redhat.com>
23884
c30b7ee2 23885 [BZ #11577]
5be9d05d
AS
23886 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23887 dl_signal_cerror.
23888
8a492a67
UD
238892010-07-06 Ulrich Drepper <drepper@redhat.com>
23890
23891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23892 _PC_PIPE_BUF using F_GETPIPE_SZ.
23893
713df3d5
RM
238942010-07-05 Roland McGrath <roland@redhat.com>
23895
23896 * manual/arith.texi (Rounding Functions): Fix rint description
23897 implicit in round description.
23898
702e8f14
UD
238992010-07-02 Ulrich Drepper <drepper@redhat.com>
23900
23901 * elf/Makefile: Fix linking for a few tests to make recent linker
23902 happy.
23903
52ed8be9
AS
239042010-06-30 Andreas Schwab <schwab@redhat.com>
23905
23906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23907 $(common-objpfx)libc_nonshared.a.
23908
f47c9a11
LM
239092010-06-21 Luis Machado <luisgpm@br.ibm.com>
23910
23911 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23912 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23913 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23914 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23915 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23916 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23917 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23918 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23933 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23934 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23935 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23936 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23937 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23938 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23939 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23940 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23941 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23942 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23943 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23944 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23959
6fb8cbcb
L
239602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23961
23962 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23963 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23964 * string/memmove.c (memmove): Renamed to ...
23965 (MEMMOVE): ...this. Default to memmove.
23966 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23967 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23968 (END_CHK): Define.
23969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23970 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23971 mempcpy-ssse3-back memmove-ssse3-back.
23972 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23974 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23975 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23976 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23977 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23978 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23979 * sysdeps/x86_64/multiarch/memmove.c: New file.
23980 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23981 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23982 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23983 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23984 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23986 Define.
23987 (index_Fast_Copy_Backward): Define.
23988 (HAS_ARCH_FEATURE): Define.
23989 (HAS_FAST_REP_STRING): Define.
23990 (HAS_FAST_COPY_BACKWARD): Define.
23991
4e733bac 239922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23993
23994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23995 Restore proper fallback handling.
23996
63c4ed22
UD
239972010-06-19 Ulrich Drepper <drepper@redhat.com>
23998
ac2b484c
UD
23999 [BZ #11701]
24000 * posix/group_member.c (__group_member): Correct checking loop.
24001
63c4ed22
UD
24002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24003 OOM in getpwuid_r correctly. Return error number when the caller
24004 should return, otherwise -1.
24005 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24006 call returning > 0 value.
24007 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24008
765ade4b
AS
240092010-06-07 Andreas Schwab <schwab@redhat.com>
24010
24011 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24012 libc_nonshared.a from targets in modules-names.
24013
80da2e09
KS
240142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24015
24016 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24017 requires it.
24018
158db122
LM
240192010-06-10 Luis Machado <luisgpm@br.ibm.com>
24020
24021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24025
caa78cf8
AS
240262010-06-02 Andreas Schwab <schwab@redhat.com>
24027
24028 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24029
b2ef2c01
UD
240302010-06-14 Ulrich Drepper <drepper@redhat.com>
24031
24032 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24033 and F_GETPIPE_SZ.
24034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24039 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24040
fbd643b6
RM
240412010-06-14 Roland McGrath <roland@redhat.com>
24042
24043 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24044
f32f2869
JJ
240452010-06-07 Jakub Jelinek <jakub@redhat.com>
24046
24047 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24048 __REDIRECT followed by __THROW.
24049 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24050 * posix/getopt.h (getopt): Likewise.
24051
2a50c078
EPM
240522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24053
24054 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24055 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24056 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24057 in AT_FLAGS.
24058 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24059 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24060
eb5ad2eb
LM
240612010-05-28 Luis Machado <luisgpm@br.ibm.com>
24062
24063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24064
3c88fe1e
L
240652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24066
24067 [BZ #11640]
24068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24069 Properly check family and model.
24070
d2f73151
TY
240712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24072
24073 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24074
ebd2e13d
LM
240752010-05-24 Luis Machado <luisgpm@br.ibm.com>
24076
24077 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24078
b32b8b45
UD
240792010-05-21 Ulrich Drepper <drepper@redhat.com>
24080
24081 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24082 symbol reference.
24083
9acbe24d
AS
240842010-05-19 Andreas Schwab <schwab@redhat.com>
24085
24086 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24087 symbol reference.
24088
f0ccf6ea
AS
240892010-05-21 Andreas Schwab <schwab@redhat.com>
24090
3d04ff3a
AS
24091 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24092 and internal_recvmmsg.
24093 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24094 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24096 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24097
f0ccf6ea
AS
24098 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24099 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24100 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24101
5b08ac57
AS
241022010-05-20 Andreas Schwab <schwab@redhat.com>
24103
24104 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24105
4828935d
LM
241062010-05-17 Luis Machado <luisgpm@br.ibm.com>
24107
24108 POWER7 optimizations.
24109 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24110 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24111
373d545e
UD
241122010-05-19 Ulrich Drepper <drepper@redhat.com>
24113
24114 * version.h: Update for 2.13 development version.
24115
21a2b1ae
AS
241162010-05-12 Andrew Stubbs <ams@codesourcery.com>
24117
24118 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24119 exceptions. Return 0.
24120
3f7dcb2b
RM
241212010-05-07 Roland McGrath <roland@redhat.com>
24122
24123 * elf/ldconfig.c (main): Add a const.
24124
5f24d53a 241252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24126
a160f8d8
UD
24127 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24128 (args_options): Add no-idn option.
24129 (ahosts_keys_int): Add idn_flags to ai_flags.
24130 (parse_option): Handle 'i' option to clear idn_flags.
24131
5f24d53a
UD
24132 * malloc/malloc.c (_int_free): Possible race in the most recently
24133 added check. Only act on the data if no current modification
24134 happened.
265bb1ce
UD
24135
24136See ChangeLog.17 for earlier changes.