]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Support run tst-exec and tst-spawn directly
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4cf8f209
L
12013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2
3 * posix/Makefile (tests-static): New variable.
4 (tests): Add $(tests-static).
5 (tst-exec-static-ARGS): New variable.
6 (tst-spawn-static-ARGS): Likewise.
7 * posix/tst-exec-static.c: New file.
8 * posix/tst-spawn-static.c: Likewise.
9 * posix/tst-exec.c: Support run directly.
10 * posix/tst-spawn.c: Likewise.
11
fed0faa1
JM
122013-01-10 Joseph Myers <joseph@codesourcery.com>
13
828beb13
JM
14 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15 long.
16 * math/bits/mathcalls.h (llrint): Likewise.
17 (llround): Likewise.
18 * stdlib/stdlib.h (struct drand48_data): Likewise.
19 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22 Likewise.
23 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24 Likewise.
25 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26 (elf_greg_t): Likewise.
27 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28 (__jmp_buf): Likewise.
29 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30 definitions.
31 (llrint): Likewise, for all definitions.
32 (llrintl): Likewise.
33
fed0faa1
JM
34 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35 Remove [__GNUC__] condition.
36 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37 condition to just [__USE_ISOC99].
38 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39
1a20cb20
L
402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41
42 [BZ #14200]
43 * sysdeps/unix/sysv/linux/x86/bits/environments.h
44 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45 defined.
46 (_POSIX_V6_ILP32_OFF32): Likewise.
47 (_XBS5_ILP32_OFF32): Likewise.
48 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49 (__ILP32_OFFBIG_LDFLAGS): Likewise.
50
751b85f7
SP
512013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52
7490eb81
SP
53 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54
751b85f7
SP
55 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56 doubles __mpexp_twomm1. Adjust usage.
57 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58 Remove.
59
988197f0
AS
602013-01-10 Andreas Schwab <schwab@suse.de>
61
62 [BZ #14964]
63 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65
e83d7298
DM
662013-01-09 David S. Miller <davem@davemloft.net>
67
034ed64b 68 [BZ #15003]
e83d7298
DM
69 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
70 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
71 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
72 TCP_FASTOPEN): Define.
73 (tcp_repair_opt): New structure.
74 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
75 enum values.
76 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
77 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
78 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
79 (tcp_cookie_transactions): New structure.
80
d5e0b9bd
AB
812013-01-09 Anton Blanchard <anton@samba.org>
82
83 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
84 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
85 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
87
0c07e3ea
JM
882013-01-09 Joseph Myers <joseph@codesourcery.com>
89
90 * include/features.h (__USE_ANSI): Remove.
91
232f7002
RM
922013-01-09 Roland McGrath <roland@hack.frob.com>
93
ad98e30c
RM
94 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
95
232f7002
RM
96 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
97
950c99ca
SP
982013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
99
b5792741
SP
100 * sysdeps/s390/fpu/libm-test-ulps: Update.
101
47cf2278
SP
102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
103
950c99ca
SP
104 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
105 (__acr): Likewise.
106 (__cpy): Likewise.
107 (norm): Likewise.
108 (denorm): Likewise.
109 (__mp_dbl): Likewise.
110 (__dbl_mp): Likewise.
111 (add_magnitudes): Likewise.
112 (sub_magnitudes): Likewise.
113 (__add): Likewise.
114 (__sub): Likewise.
115 (__mul): Likewise.
116 (__inv): Likewise.
117 (__dvd): Likewise.
118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
119 (__acr): Likewise.
120 (__cpy): Likewise.
121 (norm): Likewise.
122 (denorm): Likewise.
123 (__mp_dbl): Likewise.
124 (__dbl_mp): Likewise.
125 (add_magnitudes): Likewise.
126 (sub_magnitudes): Likewise.
127 (__add): Likewise.
128 (__sub): Likewise.
129 (__mul): Likewise.
130 (__inv): Likewise.
131 (__dvd): Likewise.
132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
133 (__acr): Likewise.
134 (__cpy): Likewise.
135 (norm): Likewise.
136 (denorm): Likewise.
137 (__mp_dbl): Likewise.
138 (__dbl_mp): Likewise.
139 (add_magnitudes): Likewise.
140 (sub_magnitudes): Likewise.
141 (__add): Likewise.
142 (__sub): Likewise.
143 (__mul): Likewise.
144 (__inv): Likewise.
145 (__dvd): Likewise.
146
eede9df9
JM
1472013-01-08 Joseph Myers <joseph@codesourcery.com>
148
149 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
150 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
151 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
152 2 && __USE_EXTERN_INLINES]: Likewise.
153
c40ea3d9
AJ
1542013-01-08 Andreas Jaeger <aj@suse.de>
155
156 [BZ# 14985]
157 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
158 Remove.
159 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
160 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
161
2ccdea26
AB
1622013-01-07 Anton Blanchard <anton@samba.org>
163
164 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
165 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
166 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
167 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
168 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
169 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
170 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
171 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
174 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
176 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
178 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
179 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
181 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
182 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
185 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
187 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
188 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
189 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
190 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
191 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
193 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
194 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
196 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
197 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
198 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
199 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
200 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
202 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
203 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
204 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
206 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
207
a9708fed
JM
2082013-01-07 Joseph Myers <joseph@codesourcery.com>
209
375607b9
JM
210 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
211 (__MALLOC_PMT): Likewise.
212 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
213 [__GNUC__], only on [_LIBC].
214 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
215 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
216 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
217 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
218 forward declaration.
219 (realloc_hook_ini): Likewise.
220 (memalign_hook_ini): Likewise.
221 (__libc_memalign): Do not use __MALLOC_PMT in variable
222 declaration.
223 (__libc_valloc): Likewise.
224 (__libc_pvalloc): Likewise.
225 (__libc_calloc): Likewise.
226 (__posix_memalign): Likewise.
227
a9708fed
JM
228 [BZ #14996]
229 * math/s_casinh.c: Include <float.h>.
230 (__casinh): Do not do computation with squaring and square root
231 for large arguments.
232 * math/s_casinhf.c: Include <float.h>.
233 (__casinhf): Do not do computation with squaring and square root
234 for large arguments.
235 * math/s_casinhl.c: Include <float.h>.
236 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
237 (__casinhl): Do not do computation with squaring and square root
238 for large arguments.
239 * math/libm-test.inc (casin_test): Add more tests.
240 (casinh_test): Likewise.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
afec409a
L
2442013-01-04 H.J. Lu <hongjiu.lu@intel.com>
245
246 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
247 (__x86_64_raw_data_cache_size): Likewise.
248 (__x86_64_data_cache_size_half): Likewise.
249 (__x86_64_raw_data_cache_size_half): Likewise.
250 (__x86_64_shared_cache_size): Likewise.
251 (__x86_64_raw_shared_cache_size): Likewise.
252 (__x86_64_shared_cache_size_half): Likewise.
253 (__x86_64_raw_shared_cache_size_half): Likewise.
254 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
255 to ...
256 (__x86_data_cache_size): This.
257 (__x86_64_raw_data_cache_size): Renamed to ...
258 (__x86_raw_data_cache_size): This.
259 (__x86_64_data_cache_size_half): Renamed to ...
260 (__x86_data_cache_size_half): This.
261 (__x86_64_raw_data_cache_size_half): Renamed to ...
262 (__x86_raw_data_cache_size_half): This.
263 (__x86_64_shared_cache_size): Renamed to ...
264 (__x86_shared_cache_size): This.
265 (__x86_64_raw_shared_cache_size): Renamed to ...
266 (__x86_raw_shared_cache_size): This.
267 (__x86_64_shared_cache_size_half): Renamed to ...
268 (__x86_shared_cache_size_half): This.
269 (__x86_64_raw_shared_cache_size_half): Renamed to ...
270 (__x86_raw_shared_cache_size_half): This.
271 * sysdeps/x86_64/memcpy.S: Updated.
272 * sysdeps/x86_64/memset.S: Likewise.
273 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
276
0b3986d0
DM
2772013-01-04 David S. Miller <davem@davemloft.net>
278
279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
280
e47686e9
AS
2812013-01-04 Andreas Schwab <schwab@linux-m68k.org>
282
d643bac1
AS
283 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
284 1 to avoid redefinition warning.
285 (__USE_GNU): Don't define.
286 (init_signaling_nan): Protoize.
287
e47686e9
AS
288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
289
b18decba
SP
2902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
291
fffb407f
SP
292 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
294 (__cpymn): Likewise.
295 (norm): Remove commented code.
296 (denorm): Likewise.
297 (__mp_dbl): Likewise.
298 (__inv): Likewise.
299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
300 (__cpymn): Likewise.
301 (norm): Remove commented code.
302 (denorm): Likewise.
303 (__mp_dbl): Likewise.
304 (__inv): Likewise.
305
b18decba
SP
306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
307 mp_no value for 1.0 and 2.0.
308 (norm): Use RADIXI instead of radixi.d.
309 (denorm): Likewise.
310 (__mul): Use 0.0 instead of zero.d.
311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
312 mp_no value for 1.0 and 2.0.
313 (norm): Use RADIXI instead of radixi.d.
314 (denorm): Likewise.
315 (__mul): Use 0.0 instead of zero.d.
316
cdc1c96f
JM
3172013-01-04 Joseph Myers <joseph@codesourcery.com>
318
319 [BZ #14994]
320 * math/s_casinh.c (__casinh): Reduce finite argument to first
321 quadrant then set signs of results at the end.
322 * math/s_casinhf.c (__casinhf): Likewise.
323 * math/s_casinhl.c (__casinhl): Likewise.
324 * math/libm-test.inc (casin_test): Add more tests.
325 (casinh_test): Likewise.
326 * sysdeps/i386/fpu/libm-test-ulps: Update.
327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
328
302913e1
SP
3292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
330
6420d207
SP
331 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
332
a9e48ab4
SP
333 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
334
b7837264
SP
335 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
336 declarations.
337 (denorm): Likewise.
338 (__mp_dbl): Likewise.
339 (__inv): Likewise.
340
f8af25d2
SP
341 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
342 and adjust the header comment.
343
302913e1
SP
344 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
345 variable name from declaration.
346
5d7dd1ca
L
3472013-01-03 H.J. Lu <hongjiu.lu@intel.com>
348
349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
350 Initialize COMMON_CPUID_INDEX_7 element.
351 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
352 (CPUID_RTM): Likewise.
353 (HAS_RTM): Likewise.
354 (COMMON_CPUID_INDEX_7): New enum.
355
2f5f40f4
AS
3562013-01-03 Andreas Schwab <schwab@linux-m68k.org>
357
358 [BZ #14981]
359 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
360 size is zero, record memory as freed.
361
4056f4a0
AJ
3622013-01-03 Andreas Jaeger <aj@suse.de>
363
364 * po/ia.po: Add new Interlingua translation.
365
ab15736f 3662012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
367
368 * locale/programs/localedef.c: Fix description of '--posix' flag.
369
568035b7
JM
3702013-01-02 Joseph Myers <joseph@codesourcery.com>
371
e6898b8d
JM
372 * NEWS: Update dates in second copyright notice.
373 * README: Update copyright dates in example.
374 * manual/libc.texinfo: Update copyright dates.
375 * scripts/test-installation.pl: Update copyright date in --version
376 output.
377
0e2f9562
JM
378 * hurd/ctty-input.c: Fix copyright notice formatting.
379 * hurd/ctty-output.c: Likewise.
380 * hurd/dtable.c: Likewise.
381 * hurd/hurd-raise.c: Likewise.
382 * hurd/hurdprio.c: Likewise.
383 * hurd/msgportdemux.c: Likewise.
384 * misc/sys/file.h: Likewise.
385 * misc/sys/ioctl.h: Likewise.
386 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
387 * sysdeps/mach/hurd/chdir.c: Likewise.
388 * sysdeps/mach/hurd/fchdir.c: Likewise.
389 * sysdeps/mach/hurd/rename.c: Likewise.
390 * sysdeps/mach/hurd/rmdir.c: Likewise.
391 * sysdeps/mach/hurd/seekdir.c: Likewise.
392 * sysdeps/mach/hurd/setsid.c: Likewise.
393 * sysdeps/posix/wait3.c: Likewise.
394
568035b7
JM
395 * All files with FSF copyright notices: Update copyright dates
396 using scripts/update-copyrights.
397 * intl/plural.c: Regenerated.
398 * locale/programs/charmap-kw.h: Likewise.
399 * locale/programs/locfile-kw.h: Likewise.
400
da08f647
SP
4012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
402
0f5477af
SP
403 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
404 four values.
405
44e0d4c2
SP
406 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
407 calculation loop and add branch prediction.
408
4d55b4e5
SP
409 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
410 check access beyond bounds of m1np.
411
da08f647
SP
412 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
413 MPTWO.
414 (__inv): Remove local variable MPTWO to use the global
415 constant.
416 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
418 variable MPTWO.
419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
420 MP3HALFS static const.
421
8e051029
DM
4222013-01-01 David S. Miller <davem@davemloft.net>
423
424 * po/ca.po: Update from translation team.
425
f4cf5f2d
JM
4262013-01-01 Joseph Myers <joseph@codesourcery.com>
427
428 * scripts/update-copyrights: New file.
429 * Makeconfig: Reformat copyright notice.
430 * ctype/ctype.h: Likewise.
431 * debug/swprintf_chk.c: Likewise.
432 * elf/dl-cache.c: Likewise.
433 * elf/dl-debug.c: Likewise.
434 * elf/dl-object.c: Likewise.
435 * grp/initgroups.c: Likewise.
436 * hurd/Makefile: Likewise.
437 * hurd/hurd/signal.h: Likewise.
438 * hurd/hurdfault.c: Likewise.
439 * hurd/hurdioctl.c: Likewise.
440 * hurd/hurdlookup.c: Likewise.
441 * hurd/intr-msg.c: Likewise.
442 * iconv/gconv_open.c: Likewise.
443 * libio/swprintf.c: Likewise.
444 * locale/lc-ctype.c: Likewise.
445 * locale/nl_langinfo.c: Likewise.
446 * mach/Machrules: Likewise.
447 * mach/Makefile: Likewise.
448 * malloc/obstack.h: Likewise.
449 * manual/Makefile: Likewise.
450 * manual/tsort.awk: Likewise.
451 * misc/bits/stab.def: Likewise.
452 * nis/nis_print_group_entry.c: Likewise.
453 * nis/nis_table.c: Likewise.
454 * nis/nss_compat/compat-pwd.c: Likewise.
455 * nis/nss_compat/compat-spwd.c: Likewise.
456 * po/Makefile: Likewise.
457 * posix/fnmatch.c: Likewise.
458 * posix/regex.h: Likewise.
459 * resolv/Makefile: Likewise.
460 * resolv/nss_dns/dns-network.c: Likewise.
461 * resolv/res_hconf.c: Likewise.
462 * scripts/gen-sorted.awk: Likewise.
463 * soft-fp/soft-fp.h: Likewise.
464 * stdio-common/printf.h: Likewise.
465 * stdlib/monetary.h: Likewise.
466 * stdlib/random.c: Likewise.
467 * stdlib/random_r.c: Likewise.
468 * sysdeps/generic/Makefile: Likewise.
469 * sysdeps/gnu/Makefile: Likewise.
470 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
474 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
477 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
480 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
481 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
482 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
483 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
484 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
486 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
487 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
490 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
491 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
492 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
493 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
494 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
496 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
497 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
498 * sysdeps/mach/hurd/errnos.awk: Likewise.
499 * sysdeps/mach/hurd/fork.c: Likewise.
500 * sysdeps/mach/hurd/getcwd.c: Likewise.
501 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
502 * sysdeps/mach/hurd/mmap.c: Likewise.
503 * sysdeps/mach/hurd/utimes.c: Likewise.
504 * sysdeps/mach/hurd/xmknod.c: Likewise.
505 * sysdeps/posix/profil.c: Likewise.
506 * sysdeps/posix/readdir_r.c: Likewise.
507 * sysdeps/powerpc/bits/mathdef.h: Likewise.
508 * sysdeps/powerpc/bits/setjmp.h: Likewise.
509 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
510 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
512 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
513 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
514 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
516 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
517 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
518 * sysdeps/pthread/lio_listio.c: Likewise.
519 * sysdeps/sparc/dl-procinfo.h: Likewise.
520 * sysdeps/unix/i386/sysdep.S: Likewise.
521 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
522 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
523 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
524 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
526 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
527 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
528 * sysdeps/unix/sysv/linux/speed.c: Likewise.
529 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
530 * sysdeps/wordsize-32/divdi3.c: Likewise.
531 * time/sys/time.h: Likewise.
532 * wcsmbs/Makefile: Likewise.
533
0549fbba
DM
5342013-01-01 David S. Miller <davem@davemloft.net>
535
a141f1a7
DM
536 * po/fr.po: Update from translation team.
537
0549fbba
DM
538 * catgets/gencat.c: Update copyright year.
539 * csu/version.c: Likewise.
540 * debug/catchsegv.sh: Likewise.
541 * debug/pcprofiledump.c: Likewise.
542 * debug/xtrace.sh: Likewise.
543 * elf/ldconfig.c: Likewise.
544 * elf/ldd.bash.in: Likewise.
545 * elf/pldd.c: Likewise.
546 * elf/sotruss.ksh: Likewise.
547 * elf/sprof.c: Likewise.
548 * iconv/iconv_prog.c: Likewise.
549 * iconv/iconvconfig.c: Likewise.
550 * locale/programs/locale.c: Likewise.
551 * locale/programs/localedef.c: Likewise.
552 * login/programs/pt_chown.c: Likewise.
553 * malloc/memusage.sh: Likewise.
554 * malloc/memusagestat.c: Likewise.
555 * malloc/mtrace.pl: Likewise.
556 * nscd/nscd.c: Likewise.
557 * nss/getent.c: Likewise.
558 * nss/makedb.c: Likewise.
559 * posix/getconf.c: Likewise.
560
18ea052c
SP
5612012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
564 numbers.
565
9c89fca6
MF
5662012-12-30 Mike Frysinger <vapier@gentoo.org>
567
568 * math/bits/mathcalls.h (modf): Use __nonnull.
569
085ec079
SP
5702012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
571
572 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
573 (split): Use macro CN instead of the bare value.
574 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
575 could be used.
576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
577 instead of the bare value.
578 (power1): Likewise.
579
6d9f97e1
SP
5802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
581
d63f73be
SP
582 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
583 __ATAN_TWOM.
584 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
585
6d9f97e1
SP
586 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
587 their values.
588 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
590 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
591 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
592
4c4febf5
AJ
5932012-12-28 Andreas Jaeger <aj@suse.de>
594
af5843ef
AJ
595 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
596 values are from Linux 3.7.
597
4c4febf5
AJ
598 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
599 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
600
99136f82
SP
6012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
602
2f216c3c 603 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
604 TRUE case.
605
99136f82
SP
606 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
607 (norm): Likewise.
608 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
609 variables with preprocessor constants.
610 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
611 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
612 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
613
7fffbdff
BH
6142012-12-27 Bruno Haible <bruno@clisp.org>
615
616 [BZ #14317]
617 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
618 only if needed.
619
b76eb5f0
SP
6202012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
621
31a7fe5c
SP
622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
623 and use variable directly.
624 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
625
b76eb5f0
SP
626 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
627 MPONE.
628 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
629 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
630 variable MPONE.
631 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
633 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
634 include directive. Remove local variable MPONE.
635 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
636 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
638
2c8bfe7d
DM
6392012-12-25 David S. Miller <davem@davemloft.net>
640
641 * version.h (RELEASE): Set to "development".
642 (VERSION): Set to "2.17.90".
643 * NEWS: Add 2.18 section.
644
147d03b0
DM
6452012-12-21 David S. Miller <davem@davemloft.net>
646
647 * po/hr.po: Update from translation team.
648
a8ebb2b9
AK
6492012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
650
651 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
652
95b4f1b6
SE
6532012-12-19 Steve Ellcey <sellcey@mips.com>
654
b2d94007 655 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 656
cedb2a90
MS
6572012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
658
659 * manual/contrib.texi (Contributors): Spelling correction.
660
bbf527d6
DM
6612012-12-15 David S. Miller <davem@davemloft.net>
662
663 * po/ru.po: Update from translation team.
664
bc38c906
DM
6652012-12-13 David S. Miller <davem@davemloft.net>
666
85429b1a
DM
667 * NEWS: Mention IFUNC testsuite enhancements.
668
d283e353
DM
669 * po/pl.po: Update from translation team.
670 * po/bg.po: Likewise.
671
bc38c906
DM
672 * manual/contrib.texi (Contributors): Update entries for Hongjiu
673 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
674
a181b0d7
DM
6752012-12-11 David S. Miller <davem@davemloft.net>
676
4641d57e
DM
677 * po/sv.po: Update from translation team.
678
f7bc6495
DM
679 * po/vi.po: Update from translation team.
680
6fc9048f
DM
681 * po/cs.po: Update from translation team.
682
a181b0d7
DM
683 * po/de.po: Update from translation team.
684 * po/eo.po: Likewise.
685 * po/nl.po: Likewise.
686
f70bfe80
SP
6872012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
688
3c8b4190
SP
689 [BZ #14246]
690 * manual/argp.texi (Argp Helper Functions): Move node to follow
691 Argp Parsing State.
692
f70bfe80
SP
693 [BZ #14872]
694 * manual/conf.texi (Limits on File System Capacity): Mention if
695 terminating null is included in the max size.
696
188f0adf
AJ
6972012-12-10 Andreas Jaeger <aj@suse.de>
698
699 * po/cs.po: Update from translation team.
700
56e7d3ad
SP
7012012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
702
703 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
704 void pointer and cast to uintptr_t.
705 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
706 path.
707 * sysdeps/s390/s390-64/memcpy.S: Likewise.
708 * sysdeps/s390/s390-64/memset.S: Likewise.
709
76f2d2ea 7102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
711
712 [BZ #14833]
713 * menual/message.texi (Message Translation): Fix typos.
714 (Helper programs for gettext): Likewise.
715
67cbf9a2
AS
7162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
717
718 [BZ #14898]
719 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
720 Change to -1.
721
682d0e9a
DM
7222012-12-07 David S. Miller <davem@davemloft.net>
723
724 * po/libc.pot: Update.
725
573cd484
RH
7262012-12-07 Richard Henderson <rth@redhat.com>
727
7e9da188 728 [BZ #10114]
573cd484
RH
729 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
730 normal/normal case to before the switch.
731 (_FP_DIV): Likewise.
732
e933a943
MF
7332012-12-06 Carlos O'Donell <carlos@systemhalted.org>
734 Mike Frysinger <vapier@gentoo.org>
735
736 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
737 check for __NR_fadvise64_64.
738
82123268
CM
7392012-12-06 Chris Metcalf <cmetcalf@tilera.com>
740
741 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
742 0, not just to plain "0" as a statement.
743 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
744 with cw.
745
d9814526
JM
7462012-12-06 Joseph Myers <joseph@codesourcery.com>
747
748 * NEWS: Use sourceware.org in Bugzilla URL.
749
7728c574
SP
7502012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
751
f16946dd
SP
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
753 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
754
5704bbcb
SP
755 * stdio-common/tst-put-error.c (do_test): Add newline to the
756 padded test to ensure flush.
757
17aa0516
JL
7582012-12-05 Jeff Law <law@redhat.com>
759
760 * sunrpc/etc.rpc (fedfs_admin): Add entry.
761
363313b5
JM
7622012-12-05 Joseph Myers <joseph@codesourcery.com>
763
effbd42a
JM
764 * README: Don't refer to ports add-on as distributed separately.
765 Mention AArch64 in list of systems supported in the ports add-on.
766
87600365
JM
767 * LICENSES: Add more non-FSF copyright and license notices.
768
a0d7066a
JM
769 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
770 ((unused)).
771
66ca5a5b
JM
772 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
773
363313b5
JM
774 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
775 10000 as width of padded output.
776
b37984ad
JM
7772012-12-04 Joseph Myers <joseph@codesourcery.com>
778
9003570a
JM
779 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
780
b37984ad
JM
781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
782 variable LX with __attribute__ ((unused)).
783 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
784 Likewise.
785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
788 with __attribute__ ((unused)).
789
c8df52ec
DM
7902012-12-04 David S. Miller <davem@abraco.davemloft.net>
791
792 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
793
b3b099af
JM
7942012-12-04 Joseph Myers <joseph@codesourcery.com>
795
c33aa6e3
JM
796 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
797 (CFLAGS-nldbl-acos.c): New variable.
798 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
799 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
800 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
801 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
802 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
803 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
804 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
805 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
806 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
807 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
808 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
809 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
810 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
811 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
812 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
813 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
814 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
815 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
816 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
817 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
818 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
819 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
820 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
821 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
822 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
823 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
824 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
825 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
826 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
827 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
828 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
829 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
830 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
831 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
832 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
833 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
834 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
835 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
836 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
837 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
838 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
839 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
840 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
841 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
842 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
843 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
844 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
845 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
846 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
847 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
848 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
849 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
850 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
851 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
852 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
853 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
854 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
855 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
856 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
857 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
858 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
859 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
860 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
861 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
862 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
863 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
864 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
865 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
866 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
867 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
868 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
869 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
870 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
871 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
872 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
873 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
874 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
875 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
876 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
877 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
878 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
879 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
880 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
881 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
882 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
883 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
884 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
885 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
886 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
887 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
888 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
889 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
890 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
891 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
892 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
893 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
894 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
895
20f0018d
JM
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
897 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
898
b3b099af
JM
899 [BZ #14914]
900 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
901 whole low double instead of just low 47 bits when splitting values
902 into two parts.
903
029264d1
AM
9042012-12-03 Allan McRae <allan@archlinux.org>
905
906 * manual/stdio.texi (Predefined Printf Handlers): Remove
907 @hsep and @vsep usage.
908
c9d6789e
MF
9092012-12-03 Mike Frysinger <vapier@gentoo.org>
910
911 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
912 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
913
4b7634a5
JL
9142012-12-03 Jeff Law <law@redhat.com>
915
916 * time/sys/time.h (settimeofday): Do not mark TV argument
917 as __nonnull.
918
eb6cbd24
MF
9192012-12-01 Mike Frysinger <vapier@gentoo.org>
920
921 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
922 when currently writing and seek to current position when not.
923 * libio/Makefile (tests): Remove bug-fclose1.
924 * libio/bug-fclose1.c: Delete.
925
f638872a
JM
9262012-12-01 Joseph Myers <joseph@codesourcery.com>
927
928 * manual/arith.texi (feenableexcept): Fix typo.
929 (fedisableexcept): Likewise.
930
48085d14
RM
9312012-11-30 Roland McGrath <roland@hack.frob.com>
932
933 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
934 second, differently-typed declaration, rather than a cast.
935
1a538b9f
SP
9362012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
937
938 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
939 * include/rpc/svc.h: ... here.
940
d07f2ff1 9412012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
942
943 [BZ #13013]
944 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
945 depending n and resplen2 to catch cases where answer
946 equals answerp2.
947
c93ec1f0
CD
9482012-11-29 Carlos O'Donell <carlos@systemhalted.org>
949
950 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
951 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
952
37db69de
MF
9532012-11-29 Mike Frysinger <vapier@gentoo.org>
954
955 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
956
e10c4e4f
RM
9572012-11-29 Roland McGrath <roland@hack.frob.com>
958
959 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
960
2af1b328
JL
9612012-11-28 Jeff Law <law@redhat.com>
962
963 [BZ #13761]
964 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
965 dataset_temporary. Track alloca usage into alloca_used.
966 If dataset is large allocate and release it via malloc/free.
967
111db5b1
FW
9682012-06-04 Florian Weimer <fweimer@redhat.com>
969
f06cc227 970 [BZ #14197]
111db5b1
FW
971 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
972
dd694abd
DM
9732012-11-28 David S. Miller <davem@davemloft.net>
974
975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
976
9984dd01
JM
9772012-11-28 Joseph Myers <joseph@codesourcery.com>
978
979 [BZ #14803]
980 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
981 of pi/2 rounded to nearest to 64 bits.
982 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
983 nearest to 64 bits.
984 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
985 bits.
986
14bc93a9
JL
9872012-11-28 Jeff Law <law@redhat.com>
988 Martin Osvald <mosvald@redhat.com>
989
990 [BZ #14889]
991 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
992 * sunrpc/svc.c: Include time.h.
993 (__svc_accept_failed): New function.
994 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
995 any reason other than EINTR, call __svc_accept_failed.
996 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
997 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
998
e3c6aa3a
AS
9992012-11-28 Andreas Schwab <schwab@suse.de>
1000
1001 * scripts/abilist.awk: Also handle indirect functions in .opd
1002 section.
1003
1bead169
JM
10042012-11-28 Joseph Myers <joseph@codesourcery.com>
1005
1006 [BZ #13881]
1007 * sysdeps/x86/fpu/powl_helper.c: New file.
1008 * sysdeps/x86/fpu/Makefile: Likewise.
1009 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1010 (p3): New object.
1011 (__ieee754_powl): Use __powl_helper for finite arguments except
1012 integer exponents below 8.
1013 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1014 (p3): New object.
1015 (__ieee754_powl): Use __powl_helper for finite arguments except
1016 integer exponents below 8.
1017 * math/libm-test.inc (pow_test): Add more tests and enable some
1018 previously disabled tests.
1019 * sysdeps/i386/fpu/libm-test-ulps: Update.
1020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1021
0817d63d
SP
10222012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1023 Carlos O'Donell <carlos_odonell@mentor.com>
1024
1025 * nss/makedb.c (is_prime): Assert that input is odd and greater
1026 than 4. Note that fact in a comment too.
1027 (next_prime): Add 4 to input.
1028
de2fd463
SP
10292012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1030
1031 [BZ #11741]
1032 * libio/Makefile (tests): Add test case tst-fwrite-error.
1033 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1034 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1035 * libio/tst-fwrite-error.c: New test case.
1036
c515fb51
L
10372012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1040 before casting to void *.
1041 * include/libc-internal.h (__pointer_type): New macro.
1042 (__integer_if_pointer_type_sub): Likewise.
1043 (__integer_if_pointer_type): Likewise.
1044 (cast_to_integer): Likewise.
1045 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1046 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1047 before casting to atomic64_t.
1048 (atomic_exchange_acq): Likewise.
1049 (__arch_exchange_and_add_body): Likewise.
1050 (__arch_add_body): Likewise.
1051 (atomic_add_negative): Likewise.
1052 (atomic_add_zero): Likewise.
1053
4cf77aa9
JM
10542012-11-26 Joseph Myers <joseph@codesourcery.com>
1055
1056 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1057 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1058 (add_fdes): Likewise.
1059 (linear_search_fdes): Likewise.
1060 (binary_search_unencoded_fdes): Likewise.
1061
d260b3b4
AS
10622012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1063
1064 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1065
67060746
AC
10662012-11-24 Adam Conrad <adconrad@0c3.net>
1067
1068 * configure.in: Autodetect C++ header directories.
1069 * configure: Regenerated.
1070
800938a1
MF
10712012-11-23 Mike Frysinger <vapier@gentoo.org>
1072
1073 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1074
4e6e34e6
AS
10752012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1076
1077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1078
7c7feb47
JM
10792012-11-22 Joseph Myers <joseph@codesourcery.com>
1080
7184dcdf
JM
1081 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1082 LDBL_MANT_DIG == 106]: Disable some tests.
1083 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1084 Likewise.
1085 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1086 Likewise.
1087
0a42601f
JM
1088 [BZ #14871]
1089 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1090 input for small inputs. Return +/- pi/2 for large inputs.
1091 * math/libm-test.inc (atan_test): Add more tests.
1092
79c9b9fe
JM
1093 * sysdeps/generic/unwind-dw2-fde-glibc.c
1094 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1095 __attribute__ ((unused)).
1096
c60d3bf2
JM
1097 [BZ #14645]
1098 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1099 x * y if x and y are nonzero and z is zero.
1100
ef1e0867
JM
1101 [BZ #14811]
1102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1103 nonzero exponents with absolute value below 0x1p-117 to +/-
1104 0x1p-117.
1105
1468ded3
JM
1106 [BZ #14869]
1107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1108 up arguments below 2**-450, not just those below 2**-500.
1109 * math/libm-test.inc (hypot_test): Add another test.
1110
8e27e3cc
JM
1111 [BZ #14868]
1112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1113 Return a+b for ratio over 2**120, not 2**60.
1114 * math/libm-test.inc (hypot_test): Add another test.
1115
c9c0279b
JM
1116 * math/libm-test.inc (clog_test): Use
1117 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1118 (clog10_test): Likewise.
1119
7c7feb47
JM
1120 [BZ #6778]
1121 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1122
fff1530e
AS
11232012-11-22 Andreas Schwab <schwab@suse.de>
1124
1125 * sysdeps/i386/fpu/libm-test-ulps: Update.
1126
94558d30
PT
11272012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1128
1129 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1130 printf output with newline.
1131
7e1be741
L
11322012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1133
6bfea974
L
1134 [BZ #14865]
1135 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1136 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1137 -z nodlopen, -z initfirst and -z execstack support.
1138 * configure: Regenerated.
1139
7e1be741
L
1140 * elf/elf.h (DF_1_NODIRECT): New macro.
1141 (DF_1_IGNMULDEF): Likewise.
1142 (DF_1_NOKSYMS): Likewise.
1143 (DF_1_NOHDR): Likewise.
1144 (DF_1_EDITED): Likewise.
1145 (DF_1_NORELOC): Likewise.
1146 (DF_1_SYMINTPOSE): Likewise.
1147 (DF_1_GLOBAUDIT): Likewise.
1148 (DF_1_SINGLETON): Likewise.
1149 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1150 DT_1_SUPPORTED_MASK bits.
1151 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1152
105ce2ce
CD
11532012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1154
1155 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1156
123be9de
TS
11572012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1158
d072f3f7
TS
1159 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1160 macro.
1161
123be9de
TS
1162 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1163 (sendmmsg): Move declarations...
1164 * socket/sys/socket.h: ... here.
1165 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1166 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1167 include it from...
1168 * socket/recvmmsg.c: ... this new file.
1169 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1170 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1171 definition of __sendmmsg hidden.
1172 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1173 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1174 Move ENOSYS stub into and include it from...
1175 * socket/sendmmsg.c: ... this new file.
1176 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1177 (sysdep_routines): Move recvmmsg and sendmmsg...
1178 * socket/Makefile (routines): ... here.
1179 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1180 (GLIBC_PRIVATE): Add __sendmmsg.
1181 * include/sys/socket.h (__sendmmsg): Add declarations.
1182 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1183 sendmmsg.
1184
cf9a5d18
JM
11852012-11-20 Joseph Myers <joseph@codesourcery.com>
1186
1187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1188 variable I1 with __attribute__ ((unused)).
1189 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1190
ecd4caf9
JM
11912012-11-19 Joseph Myers <joseph@codesourcery.com>
1192
be14d48f
JM
1193 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1194 DUMMY variables with __attribute__ ((unused)).
1195
ecd4caf9
JM
1196 * bits/byteswap.h: Include <bits/types.h>.
1197 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1198
986cab95
PT
11992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1200
1201 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1202 string_t. Do not manually set errno.
1203 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1204 length with __strnlen. Make sure to both set errno and return it on
1205 failure.
1206
6d33cc9d
DM
12072012-11-19 David S. Miller <davem@davemloft.net>
1208
1209 With help from Joseph Myers.
1210 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1211 very large arguments properly.
1212 * math/libm-test.inc (atan_test): New tests.
1213 (atan2_test): New tests.
1214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1216
ee663277
JM
12172012-11-19 Joseph Myers <joseph@codesourcery.com>
1218
877f2d8e
JM
1219 [BZ #14856]
1220 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1221 Define to 3.
1222
116fc08a
JM
1223 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1224 [POSIX] (EADDRNOTAVAIL): Likewise.
1225 [POSIX] (EAFNOSUPPORT): Likewise.
1226 [POSIX] (EALREADY): Likewise.
1227 [POSIX] (ECONNABORTED): Likewise.
1228 [POSIX] (ECONNREFUSED): Likewise.
1229 [POSIX] (ECONNRESET): Likewise.
1230 [POSIX] (EDESTADDRREQ): Likewise.
1231 [POSIX] (EDQUOT): Likewise.
1232 [POSIX] (EHOSTUNREACH): Likewise.
1233 [POSIX] (EIDRM): Likewise.
1234 [POSIX] (EISCONN): Likewise.
1235 [POSIX] (ELOOP): Likewise.
1236 [POSIX] (EMULTIHOP): Likewise.
1237 [POSIX] (ENETDOWN): Likewise.
1238 [POSIX] (ENETUNREACH): Likewise.
1239 [POSIX] (ENOBUFS): Likewise.
1240 [POSIX] (ENODATA): Likewise.
1241 [POSIX] (ENOLINK): Likewise.
1242 [POSIX] (ENOMSG): Likewise.
1243 [POSIX] (ENOPROTOOPT): Likewise.
1244 [POSIX] (ENOSR): Likewise.
1245 [POSIX] (ENOSTR): Likewise.
1246 [POSIX] (ENOTCONN): Likewise.
1247 [POSIX] (ENOTSOCK): Likewise.
1248 [POSIX] (EOPNOTSUPP): Likewise.
1249 [POSIX] (EOVERFLOW): Likewise.
1250 [POSIX] (EPROTO): Likewise.
1251 [POSIX] (EPROTONOSUPPORT): Likewise.
1252 [POSIX] (EPROTOTYPE): Likewise.
1253 [POSIX] (ESTALE): Likewise.
1254 [POSIX] (ETIME): Likewise.
1255 [POSIX] (ETXTBSY): Likewise.
1256 [POSIX] (EWOULDBLOCK): Likewise.
1257 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1258 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1259 [POSIX] (SEEK_CUR): Likewise.
1260 [POSIX] (SEEK_END): Likewise.
1261 [POSIX || UNIX98] (mode_t): Do not require.
1262 [POSIX] (off_t): Likewise.
1263 [POSIX] (pid_t): Likewise.
1264 [POSIX] (sys/stat.h): Do not allow header.
1265 [POSIX] (unistd.h): Likewise.
1266 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1267 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1268 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1269 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1270 require.
1271 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1272 sigevent): Specify elements.
1273 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1274 entry.
1275 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1276 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1277
a483863f
JM
1278 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1279 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1280 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1281 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1282 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1283 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1284 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1285 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1286 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1287 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1288 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1289 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1290 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1291 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1292 Likewise.
1293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1294 Likewise.
1295 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1296 Likewise.
1297 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1298 Likewise.
1299 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1300 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1301 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1302 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1303 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1304 Specify lower bound on value.
1305 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1306 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1307 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1308 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1309 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1310 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1311 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1312 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1313 value.
1314 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1315 as optional.
1316 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1317 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1318 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1319 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1320 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1321 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1322 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1323 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1324 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1325 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1326 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1327 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1328 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1329 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1330 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1331 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1332 entry.
1333 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1334 optional.
1335 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1336 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1337 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1338 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1339 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1340 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1341 Likewise.
1342 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1343 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1344 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1345 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1346 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1347 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1349 as optional.
1350 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1351 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1352 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1354 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1355 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1356 specify as optional.
1357 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1360 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1361 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1362 [XPG3] (NL_LANGMAX): Likewise.
1363 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1364 [POSIX || XPG3] (NL_NMAX): Likewise.
1365 [POSIX || XPG3] (NL_SETMAX): Likewise.
1366 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1367 [XPG3] (NZERO): Likewise.
1368 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1369 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1370 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1371 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1372 (REG_ERANGE): Expect.
1373 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1374 optional-constant.
1375 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1376 Use (void) in prototype.
1377 [POSIX] (*_t): Allow.
1378 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1379 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1380 (WRDE_BADVAL): Expect.
1381
5ba924e3
JM
1382 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1383 expect.
1384 [XPG3 || XPG4] (O_RSYNC): Likewise.
1385 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1386 Likewise.
1387 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1388 [XPG3 || XPG4] (sigqueue): Likewise.
1389 [XPG3 || XPG4] (sigtimedwait): Likewise.
1390 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1391 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1392 [XPG3 || XPG4] (vsnprintf): Likewise.
1393 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1394 Likewise.
1395 [XPG3 || XPG4] (blksize_t): Likewise.
1396 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1397 Likewise.
1398 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1399 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1400 [XPG3 || XPG4] (struct itimerspec): Likewise.
1401 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1402 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1403 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1404 [XPG3 || XPG4] (clockid_t): Likewise.
1405 [XPG3 || XPG4] (timer_t): Likewise.
1406 [XPG3 || XPG4] (clock_getres): Likewise.
1407 [XPG3 || XPG4] (clock_gettime): Likewise.
1408 [XPG3 || XPG4] (clock_settime): Likewise.
1409 [XPG3 || XPG4] (nanosleep): Likewise.
1410 [XPG3 || XPG4] (timer_create): Likewise.
1411 [XPG3 || XPG4] (timer_delete): Likewise.
1412 [XPG3 || XPG4] (timer_gettime): Likewise.
1413 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1414 [XPG3 || XPG4] (timer_settime): Likewise.
1415 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1416 [XPG3 || XPG4] (getlogin_r): Likewise.
1417 [XPG3 || XPG4] (pread): Likewise.
1418 [XPG3 || XPG4] (pthread_atfork): Likewise.
1419 [XPG3 || XPG4] (pwrite): Likewise.
1420
ee663277
JM
1421 [BZ #14835]
1422 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1423 <bits/siginfo.h>.
1424
942caa16
PT
14252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1426
e19af380
PT
1427 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1428 finalizing MALLSTREAM.
1429
942caa16
PT
1430 * sysdeps/mach/hurd/syncfs.c: New file.
1431
cfde9b46
SP
14322012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1433
1434 [BZ #14719]
1435 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1436 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1437 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1438 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1439 (_nss_dns_gethostbyname4_r): Likewise.
1440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1441 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1442
f6da27e5
PH
14432012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1444
1445 [BZ #13763]
1446 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1447
6665d4a2
SM
14482012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1449
1f51ee92
SM
1450 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1451 * elf/cache.c (print_entry): Print ",AArch64" for
1452 FLAG_AARCH64_LIB64
1453
6665d4a2
SM
1454 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1455 * elf/cache.c (print_entry): Print ",hard-float" for
1456 FLAG_ARM_LIBHF.
1457
05b227bd
DM
14582012-11-18 David S. Miller <davem@davemloft.net>
1459
1460 With help from Joseph Myers.
1461 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1462 cutoff to 2**-13.
1463 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1464 cutoff to 2**-25.
1465 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1466 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1467 small.
1468 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1469 * math/libm-test.inc (y0_test): New tests.
1470 (y1_test): New tests.
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1474
786b0b67
AS
14752012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1476
1477 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1478 64-bit targets.
1479 * configure: Regenerated.
1480
8e18b86d
DM
14812012-11-17 David S. Miller <davem@davemloft.net>
1482
1483 [BZ #14811]
1484 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1485 nonzero exponents with absolute value below 0x1p-128 to +/-
1486 0x1p-128.
1487
531f1ae0
JM
14882012-11-17 Joseph Myers <joseph@codesourcery.com>
1489
12df29e2
JM
1490 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1491
150dc1a0
JM
1492 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1493
531f1ae0
JM
1494 * posix/getconf-speclist.c: New file.
1495 * posix/posix-envs.def: Likewise.
1496 * posix/confstr.c (START_ENV_GROUP): New macro.
1497 (END_ENV_GROUP): Likewise.
1498 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1499 (KNOWN_PRESENT_ENV_STRING): Likewise.
1500 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1501 (UNKNOWN_ENVIRONMENT): Likewise.
1502 (confstr): Include posix-envs.def instead of handling
1503 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1504 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1505 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1506 (END_ENV_GROUP): Likewise.
1507 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1508 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1509 (UNKNOWN_ENVIRONMENT): Likewise.
1510 (__sysconf): Include posix-envs.def instead of handling associated
1511 cases directly here.
1512 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1513 preprocessing getconf-speclist.c rather than running getconf or
1514 generating empty file.
1515
a93f9cbc
PT
15162012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1517
1518 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1519
d64d9f87
AL
15202012-11-16 Andrej Lajovic <natrij@gmail.com>
1521
1522 [BZ #14672]
1523 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1524
447885eb
DM
15252012-11-16 David S. Miller <davem@davemloft.net>
1526
1527 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1528 smaller than LDBL_EPSILON/2.0L, just return xm1.
1529
bcbf9830
L
15302012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * elf/tst-array1.c (init): Set constructor priority to 1000.
1533 (fini): Set destructor priority to 1000.
1534 * elf/tst-array2dep.c: Likewise.
1535
2b766585
SP
15362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1537
1538 [BZ #11741]
1539 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1540 (_IO_new_file_xsputn): Also return EOF if none of the input
1541 data was written when overflow failed.
1542 * libio/iopadn.c (_IO_padn): Likewise.
1543 * libio/iowpadn.c (_IO_wpadn): Likewise.
1544 * stdio-common/tst-put-error.c: Add copyright notice.
1545 (do_test): Add case for printing padded string.
1546 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1547 _IO_padn returned error.
1548 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1549 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1550 return EOF.
1551
b1848fde
SP
15522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1553
1554 * libio/libioP.h: Add comment note that the references to C++
1555 bits are now obsolete.
1556
2fd89785
MS
15572012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1558
1559 * math/libm-test.inc (check_complex): Use asprintf.
1560
e3ea5409
JM
15612012-11-14 Joseph Myers <joseph@codesourcery.com>
1562
1563 * debug/pcprofiledump.c (print_version): Update copyright year.
1564 * malloc/memusagestat.c (print_version): Likewise.
1565
2e64d265
L
15662012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 [BZ #14831]
1569 * elf/Makefile (tests): Add tst-audit8.
1570 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1571 ($(objpfx)tst-audit8.out): New target.
1572 (tst-audit8-ENV): New variable.
1573 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1574 audit if l_reloc_result is NULL.
1575 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1576 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1577 * elf/tst-audit8.c: New file.
1578
c485e4d2
MS
15792012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1580
1581 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1582 * misc/Makefile (CFLAGS-select.c): Define.
1583 * posix/Makefile (CFLAGS-pause.c): Define.
1584
3a0d900a
DM
15852012-11-13 David S. Miller <davem@davemloft.net>
1586
1587 * crypt/Makefile: Move test targets after toplevel Rules
1588 inclusion. Grab any necessary sysdep routines when linking.
1589 * crypt/md5.c (md5_process_block): Remove define, we will always
1590 name it __md5_process_block.
1591 (md5_finish_ctx): Update md5_process_block call.
1592 (md5_stream): Likewise.
1593 (md5_process_bytes): Likewise.
1594 (md5_process_block): Rename to __md5_process_block and move to ...
1595 * crypt/md5-block.c: ... here.
1596 * crypt/sha256.c (sha256_process_block): Move to ...
1597 * crypt/sha256-block.c: ... here.
1598 * crypt/sha512.c (sha512_process_block): Move to ...
1599 * crypt/sha512-block.c: ... here.
1600 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1601 path.
1602 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1603 * sysdeps/sparc/sparc64/multiarch/Makefile
1604 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1605 crypt subdir.
1606 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1607 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1608 multiarch changes.
1609 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1610 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1611 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1612 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1613 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1614 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1615 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1616 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1617 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1618 file.
1619 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1620 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1621 file.
1622 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1623
8ca89318
JM
16242012-11-13 Joseph Myers <joseph@codesourcery.com>
1625
e27d476a
JM
1626 * timezone/tzselect.ksh: Update from tzcode git revision
1627 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1628 * timezone/zdump.c: Likewise.
1629 * timezone/zic.c: Likewise.
1630 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1631 in TZVERSION setting, not $(PKGVERSION).
1632 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1633 REPORT_BUGS_TO settings.
1634
8ca89318
JM
1635 [BZ #14838]
1636 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1637 macro.
1638
47594329
MS
16392012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1640
1641 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1642 detection to immediately after _FP_ROUND().
1643 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1644 bits are 0.
1645
640ac3f1
DM
16462012-11-11 David S. Miller <davem@davemloft.net>
1647
1648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1649 inttypes.h
1650 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1651 __close rather than their public counterparts.
1652
3d2577bb
JM
16532012-11-10 Joseph Myers <joseph@codesourcery.com>
1654
1655 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1656 file.
1657 [UNIX98] (sem_timedwait): Do not expect.
1658 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1659 [XPG4 || UNIX98] (sockatmark): Do not expect.
1660 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1661 (clock_getcpuclockid): Do not expect.
1662 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1663 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1664 Do not expect.
1665 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1666 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1667 [UNIX98] (vwscanf): Likewise.
1668 [UNIX98] (vswscanf): Likewise.
1669
fb1ae1ee
JM
16702012-11-09 Joseph Myers <joseph@codesourcery.com>
1671
9ec6f8bd
JM
1672 * timezone/version.h: Remove file.
1673 * timezone/README: Do not refer to version.h.
1674 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1675 $(objpfx)version.h.
1676 ($(objpfx)zdump.o): Likewise.
c3f81911 1677 ($(objpfx)version.h): New target.
9ec6f8bd 1678
0aa8f8a1
JM
1679 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1680 2012i.
1681 * timezone/README: Don't mention modification to tzselect.ksh.
1682 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1683 work on unmodified tzselect.ksh. Substitute version numbers in
1684 tzselect.ksh.
1685
4e87147f
JM
1686 * Makefile (format-me): Remove.
1687 (INSTALL): Adjust indentation. Use commands directly instead of
1688 using $(format-me).
1689
8b748aed
JM
1690 * aclocal.m4 (ACX_PKGVERSION): New macro.
1691 (ACX_BUGURL): Likewise.
1692 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1693 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1694 (REPORT_BUGS_TO): Likewise.
1695 * configure: Regenerated.
1696 * config.h.in (PKGVERSION): New macro.
1697 (REPORT_BUGS_TO): Likewise.
1698 * config.make.in (PKGVERSION): New variable.
1699 (PKGVERSION_TEXI): Likewise.
1700 (REPORT_BUGS_TO): Likewise.
1701 (REPORT_BUGS_TEXI): Likewise.
1702 * Makefile (format-me): Use -I$(common-objpfx)manual.
1703 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1704 ($(common-objpfx)manual/%): New target.
1705 (manual/%): Remove target.
1706 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1707 (print_version): Use PKGVERSION.
1708 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1709 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1710 and REPORT_BUGS_TO.
1711 ($(objpfx)xtrace): Likewise.
1712 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1713 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1714 (print_version): Use PKGVERSION.
1715 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1716 (do_version): Use PKGVERSION.
1717 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1718 REPORT_BUGS_TO.
1719 (common-ldd-rewrite): Likewise.
1720 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1721 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1722 (print_version): Use PKGVERSION.
1723 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1724 * elf/pldd.c (argp_program_bug_address): Remove variable.
1725 (more_help): New function.
1726 (argp): Use more_help.
1727 (print_version): Use PKGVERSION.
1728 * elf/sln.c (main): Use PKGVERSION.
1729 (usage): Use REPORT_BUGS_TO.
1730 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1731 (top level): Use PKGVERSION.
1732 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1733 (print_version): Use PKGVERSION.
1734 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1735 (print_version): Use PKGVERSION.
1736 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1737 (print_version): Use PKGVERSION.
1738 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1739 (print_version): Use PKGVERSION.
1740 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1741 (print_version): Use PKGVERSION.
1742 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1743 (print_version): Use PKGVERSION.
1744 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1745 and BUGURL.
1746 ($(objpfx)memusage): Likewise.
1747 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1748 (do_version): Use PKGVERSION.
1749 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1750 (print_version): Use PKGVERSION.
1751 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1752 ($PKGVERSION): New variable.
1753 ($REPORT_BUGS_TO): Likewise.
1754 (usage): Use $REPORT_BUGS_TO.
1755 (top level): Use $PKGVERSION.
1756 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1757 ($(objpfx)pkgvers.texi): New rule.
1758 ($(objpfx)stamp-pkgvers): Likewise.
1759 * manual/install.texi: Include pkgvers.texi.
1760 (--with-pkgversion): Document new configure option.
1761 (--with-bugurl): Likewise.
1762 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1763 than necessarily for this particular distribution. Use
1764 REPORT_BUGS_TO for where to report bugs.
1765 * INSTALL: Regenerated.
1766 * manual/libc.texinfo: Include pkgvers.texi.
1767 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1768 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1769 (print_version): Use PKGVERSION.
1770 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1771 (print_version): Use PKGVERSION.
1772 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1773 (print_version): Use PKGVERSION.
1774 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1775 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1776 macro.
1777 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1778 (print_version): Use PKGVERSION.
1779 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1780 (print_version): Use PKGVERSION.
1781 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1782 and PKGVERSION.
1783
92e4b6a9
JM
1784 * timezone/checktab.awk: Update from tzcode 2012i.
1785 * timezone/ialloc.c: Likewise.
1786 * timezone/private.h: Likewise.
1787 * timezone/scheck.c: Likewise.
1788 * timezone/tzfile.h: Likewise.
1789 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1790 (TZVERSION): Hardcode tzcode version number.
1791 * timezone/zdump.c: Update from tzcode 2012i.
1792 * timezone/zic.c: Likewise.
1793 * timezone/version.h: New file.
1794 * timezone/README: Describe version.h. Update upstream location.
1795
9bde902c
JM
1796 [BZ #14824]
1797 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1798 (mktemp): Enable declaration.
1799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1803 Likewise.
1804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1805 Likewise.
1806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1807 Likewise.
1808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1809 Likewise.
1810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1811 Likewise.
1812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1813 Likewise.
1814
fb1ae1ee
JM
1815 [BZ #14821]
1816 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1817 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1818 for copies of such integer values.
1819 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1820 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1821
2c1adbcb
AJ
18222012-11-09 Andreas Jaeger <aj@suse.de>
1823
1824 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1825 definitions and declarations that are provided by
1826 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1827
d0f8457e
AK
18282012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1829
3a235abb 1830 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
1831 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1832 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1833 definition.
1834
57241e26
MS
18352012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1836
1837 * elf/elf.h: Update comment before AArch64 relocations.
1838
60e8270d
DM
18392012-11-07 David S. Miller <davem@davemloft.net>
1840
1841 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1842 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1843 (__start_context): Declare.
1844 (__makecontext_ret): Delete.
1845 (__makecontext): Hook up __start_context instead of
1846 __makecontext_ret.
1847 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1848 (sysdep_routines): Add __start_context when in stdlib.
1849
0fbb0fbc
JM
18502012-11-07 Joseph Myers <joseph@codesourcery.com>
1851
1852 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1853 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1854 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1855 hardcoded "nm".
1856 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1857 (READELF): New variable. Use it instead of hardcoded "readelf".
1858
eb48db7e
L
18592012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1862 * sysdeps/x86/Makefile: Here.
1863 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1864 * sysdeps/x86/tst-xmmymm.sh: This.
1865
05bcf62a
JM
18662012-11-07 Joseph Myers <joseph@codesourcery.com>
1867
c4b6cf53
JM
1868 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1869 expectations.
1870 [UNIX98] (pthread_barrier_t): Do not expect.
1871 [UNIX98] (pthread_barrierattr_t): Likewise.
1872 [UNIX98] (pthread_spinlock_t): Likewise.
1873 [UNIX98] (pthread_barrier_destroy): Likewise.
1874 [UNIX98] (pthread_barrier_init): Likewise.
1875 [UNIX98] (pthread_barrier_wait): Likewise.
1876 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1877 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1878 [UNIX98] (pthread_barrierattr_init): Likewise.
1879 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1880 [UNIX98] (pthread_getcpuclockid): Likewise.
1881 [UNIX98] (pthread_mutex_timedlock): Likewise.
1882 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1883 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1884 [UNIX98] (pthread_sigmask): Likewise.
1885 [UNIX98] (pthread_spin_destroy): Likewise.
1886 [UNIX98] (pthread_spin_init): Likewise.
1887 [UNIX98] (pthread_spin_lock): Likewise.
1888 [UNIX98] (pthread_spin_trylock): Likewise.
1889 [UNIX98] (pthread_spin_unlock): Likewise.
1890 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1891 Do not expect.
1892 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1893 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1894 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1895 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1896 [XPG3 || XPG4] (pthread_key_t): Likewise.
1897 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1898 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1899 [XPG3 || XPG4] (pthread_once_t): Likewise.
1900 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1901 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1902 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1903 [XPG3 || XPG4] (pthread_t): Likewise.
1904
cbe6e120
JM
1905 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1906 not expect.
1907 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1908
1b126443
JM
1909 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1910 Change function return type to int.
1911
b961a573
JM
1912 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1913 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1914 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1915 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1916 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1917 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1918 [!POSIX] (posix_madvise): Likewise.
1919 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1920 && !UNIX98].
1921 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1922 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1923 (mode_t): Likewise.
1924 (posix_mem_offset): Likewise.
1925 (posix_typed_mem_get_info): Likewise.
1926 (posix_typed_mem_open): Likewise.
1927
9e188909
JM
1928 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1929 Change condition to [XOPEN2K8].
1930
05bcf62a
JM
1931 * conform/conformtest.pl: Preprocess allow-header data with -x c
1932 instead of from stdin.
1933 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1934 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1935 [C99-based standards] (cerfc): Likewise.
1936 [C99-based standards] (cexp2): Likewise.
1937 [C99-based standards] (cexpm1): Likewise.
1938 [C99-based standards] (clog10): Likewise.
1939 [C99-based standards] (clog1p): Likewise.
1940 [C99-based standards] (clog2): Likewise.
1941 [C99-based standards] (clgamma): Likewise.
1942 [C99-based standards] (ctgamma): Likewise.
1943 [C99-based standards] (cerff): Likewise.
1944 [C99-based standards] (cerfcf): Likewise.
1945 [C99-based standards] (cexp2f): Likewise.
1946 [C99-based standards] (cexpm1f): Likewise.
1947 [C99-based standards] (clog10f): Likewise.
1948 [C99-based standards] (clog1pf): Likewise.
1949 [C99-based standards] (clog2f): Likewise.
1950 [C99-based standards] (clgammaf): Likewise.
1951 [C99-based standards] (ctgammaf): Likewise.
1952 [C99-based standards] (cerfl): Likewise.
1953 [C99-based standards] (cerfcl): Likewise.
1954 [C99-based standards] (cexp2l): Likewise.
1955 [C99-based standards] (cexpm1l): Likewise.
1956 [C99-based standards] (clog10l): Likewise.
1957 [C99-based standards] (clog1pl): Likewise.
1958 [C99-based standards] (clog2l): Likewise.
1959 [C99-based standards] (clgammal): Likewise.
1960 [C99-based standards] (ctgammal): Likewise.
1961 * conform/data/inttypes.h-data [C99-based standards]: Include
1962 stdint.h-data. Remove all expectations for stdint.h contents.
1963 [C99-based standards] (PRI*): Do not allow.
1964 [C99-based standards] (SCN*): Likewise.
1965 [C99-based standards] (*_t): Likewise.
1966 [C99-based-standards] (PRId8): Expect macro.
1967 [C99-based-standards] (PRIi8): Likewise.
1968 [C99-based-standards] (PRIo8): Likewise.
1969 [C99-based-standards] (PRIu8): Likewise.
1970 [C99-based-standards] (PRIx8): Likewise.
1971 [C99-based-standards] (PRIX8): Likewise.
1972 [C99-based-standards] (SCNd8): Likewise.
1973 [C99-based-standards] (SCNi8): Likewise.
1974 [C99-based-standards] (SCNo8): Likewise.
1975 [C99-based-standards] (SCNu8): Likewise.
1976 [C99-based-standards] (SCNx8): Likewise.
1977 [C99-based-standards] (PRIdLEAST8): Likewise.
1978 [C99-based-standards] (PRIiLEAST8): Likewise.
1979 [C99-based-standards] (PRIoLEAST8): Likewise.
1980 [C99-based-standards] (PRIuLEAST8): Likewise.
1981 [C99-based-standards] (PRIxLEAST8): Likewise.
1982 [C99-based-standards] (PRIXLEAST8): Likewise.
1983 [C99-based-standards] (SCNdLEAST8): Likewise.
1984 [C99-based-standards] (SCNiLEAST8): Likewise.
1985 [C99-based-standards] (SCNoLEAST8): Likewise.
1986 [C99-based-standards] (SCNuLEAST8): Likewise.
1987 [C99-based-standards] (SCNxLEAST8): Likewise.
1988 [C99-based-standards] (PRIdFAST8): Likewise.
1989 [C99-based-standards] (PRIiFAST8): Likewise.
1990 [C99-based-standards] (PRIoFAST8): Likewise.
1991 [C99-based-standards] (PRIuFAST8): Likewise.
1992 [C99-based-standards] (PRIxFAST8): Likewise.
1993 [C99-based-standards] (PRIXFAST8): Likewise.
1994 [C99-based-standards] (SCNdFAST8): Likewise.
1995 [C99-based-standards] (SCNiFAST8): Likewise.
1996 [C99-based-standards] (SCNoFAST8): Likewise.
1997 [C99-based-standards] (SCNuFAST8): Likewise.
1998 [C99-based-standards] (SCNxFAST8): Likewise.
1999 [C99-based-standards] (PRId16): Likewise.
2000 [C99-based-standards] (PRIi16): Likewise.
2001 [C99-based-standards] (PRIo16): Likewise.
2002 [C99-based-standards] (PRIu16): Likewise.
2003 [C99-based-standards] (PRIx16): Likewise.
2004 [C99-based-standards] (PRIX16): Likewise.
2005 [C99-based-standards] (SCNd16): Likewise.
2006 [C99-based-standards] (SCNi16): Likewise.
2007 [C99-based-standards] (SCNo16): Likewise.
2008 [C99-based-standards] (SCNu16): Likewise.
2009 [C99-based-standards] (SCNx16): Likewise.
2010 [C99-based-standards] (PRIdLEAST16): Likewise.
2011 [C99-based-standards] (PRIiLEAST16): Likewise.
2012 [C99-based-standards] (PRIoLEAST16): Likewise.
2013 [C99-based-standards] (PRIuLEAST16): Likewise.
2014 [C99-based-standards] (PRIxLEAST16): Likewise.
2015 [C99-based-standards] (PRIXLEAST16): Likewise.
2016 [C99-based-standards] (SCNdLEAST16): Likewise.
2017 [C99-based-standards] (SCNiLEAST16): Likewise.
2018 [C99-based-standards] (SCNoLEAST16): Likewise.
2019 [C99-based-standards] (SCNuLEAST16): Likewise.
2020 [C99-based-standards] (SCNxLEAST16): Likewise.
2021 [C99-based-standards] (PRIdFAST16): Likewise.
2022 [C99-based-standards] (PRIiFAST16): Likewise.
2023 [C99-based-standards] (PRIoFAST16): Likewise.
2024 [C99-based-standards] (PRIuFAST16): Likewise.
2025 [C99-based-standards] (PRIxFAST16): Likewise.
2026 [C99-based-standards] (PRIXFAST16): Likewise.
2027 [C99-based-standards] (SCNdFAST16): Likewise.
2028 [C99-based-standards] (SCNiFAST16): Likewise.
2029 [C99-based-standards] (SCNoFAST16): Likewise.
2030 [C99-based-standards] (SCNuFAST16): Likewise.
2031 [C99-based-standards] (SCNxFAST16): Likewise.
2032 [C99-based-standards] (PRId32): Likewise.
2033 [C99-based-standards] (PRIi32): Likewise.
2034 [C99-based-standards] (PRIo32): Likewise.
2035 [C99-based-standards] (PRIu32): Likewise.
2036 [C99-based-standards] (PRIx32): Likewise.
2037 [C99-based-standards] (PRIX32): Likewise.
2038 [C99-based-standards] (SCNd32): Likewise.
2039 [C99-based-standards] (SCNi32): Likewise.
2040 [C99-based-standards] (SCNo32): Likewise.
2041 [C99-based-standards] (SCNu32): Likewise.
2042 [C99-based-standards] (SCNx32): Likewise.
2043 [C99-based-standards] (PRIdLEAST32): Likewise.
2044 [C99-based-standards] (PRIiLEAST32): Likewise.
2045 [C99-based-standards] (PRIoLEAST32): Likewise.
2046 [C99-based-standards] (PRIuLEAST32): Likewise.
2047 [C99-based-standards] (PRIxLEAST32): Likewise.
2048 [C99-based-standards] (PRIXLEAST32): Likewise.
2049 [C99-based-standards] (SCNdLEAST32): Likewise.
2050 [C99-based-standards] (SCNiLEAST32): Likewise.
2051 [C99-based-standards] (SCNoLEAST32): Likewise.
2052 [C99-based-standards] (SCNuLEAST32): Likewise.
2053 [C99-based-standards] (SCNxLEAST32): Likewise.
2054 [C99-based-standards] (PRIdFAST32): Likewise.
2055 [C99-based-standards] (PRIiFAST32): Likewise.
2056 [C99-based-standards] (PRIoFAST32): Likewise.
2057 [C99-based-standards] (PRIuFAST32): Likewise.
2058 [C99-based-standards] (PRIxFAST32): Likewise.
2059 [C99-based-standards] (PRIXFAST32): Likewise.
2060 [C99-based-standards] (SCNdFAST32): Likewise.
2061 [C99-based-standards] (SCNiFAST32): Likewise.
2062 [C99-based-standards] (SCNoFAST32): Likewise.
2063 [C99-based-standards] (SCNuFAST32): Likewise.
2064 [C99-based-standards] (SCNxFAST32): Likewise.
2065 [C99-based-standards] (PRId64): Likewise.
2066 [C99-based-standards] (PRIi64): Likewise.
2067 [C99-based-standards] (PRIo64): Likewise.
2068 [C99-based-standards] (PRIu64): Likewise.
2069 [C99-based-standards] (PRIx64): Likewise.
2070 [C99-based-standards] (PRIX64): Likewise.
2071 [C99-based-standards] (SCNd64): Likewise.
2072 [C99-based-standards] (SCNi64): Likewise.
2073 [C99-based-standards] (SCNo64): Likewise.
2074 [C99-based-standards] (SCNu64): Likewise.
2075 [C99-based-standards] (SCNx64): Likewise.
2076 [C99-based-standards] (PRIdLEAST64): Likewise.
2077 [C99-based-standards] (PRIiLEAST64): Likewise.
2078 [C99-based-standards] (PRIoLEAST64): Likewise.
2079 [C99-based-standards] (PRIuLEAST64): Likewise.
2080 [C99-based-standards] (PRIxLEAST64): Likewise.
2081 [C99-based-standards] (PRIXLEAST64): Likewise.
2082 [C99-based-standards] (SCNdLEAST64): Likewise.
2083 [C99-based-standards] (SCNiLEAST64): Likewise.
2084 [C99-based-standards] (SCNoLEAST64): Likewise.
2085 [C99-based-standards] (SCNuLEAST64): Likewise.
2086 [C99-based-standards] (SCNxLEAST64): Likewise.
2087 [C99-based-standards] (PRIdFAST64): Likewise.
2088 [C99-based-standards] (PRIiFAST64): Likewise.
2089 [C99-based-standards] (PRIoFAST64): Likewise.
2090 [C99-based-standards] (PRIuFAST64): Likewise.
2091 [C99-based-standards] (PRIxFAST64): Likewise.
2092 [C99-based-standards] (PRIXFAST64): Likewise.
2093 [C99-based-standards] (SCNdFAST64): Likewise.
2094 [C99-based-standards] (SCNiFAST64): Likewise.
2095 [C99-based-standards] (SCNoFAST64): Likewise.
2096 [C99-based-standards] (SCNuFAST64): Likewise.
2097 [C99-based-standards] (SCNxFAST64): Likewise.
2098 [C99-based-standards] (PRIdMAX): Likewise.
2099 [C99-based-standards] (PRIiMAX): Likewise.
2100 [C99-based-standards] (PRIoMAX): Likewise.
2101 [C99-based-standards] (PRIuMAX): Likewise.
2102 [C99-based-standards] (PRIxMAX): Likewise.
2103 [C99-based-standards] (PRIXMAX): Likewise.
2104 [C99-based-standards] (SCNdMAX): Likewise.
2105 [C99-based-standards] (SCNiMAX): Likewise.
2106 [C99-based-standards] (SCNoMAX): Likewise.
2107 [C99-based-standards] (SCNuMAX): Likewise.
2108 [C99-based-standards] (SCNxMAX): Likewise.
2109 [C99-based-standards] (PRIdPTR): Likewise.
2110 [C99-based-standards] (PRIiPTR): Likewise.
2111 [C99-based-standards] (PRIoPTR): Likewise.
2112 [C99-based-standards] (PRIuPTR): Likewise.
2113 [C99-based-standards] (PRIxPTR): Likewise.
2114 [C99-based-standards] (PRIXPTR): Likewise.
2115 [C99-based-standards] (SCNdPTR): Likewise.
2116 [C99-based-standards] (SCNiPTR): Likewise.
2117 [C99-based-standards] (SCNoPTR): Likewise.
2118 [C99-based-standards] (SCNuPTR): Likewise.
2119 [C99-based-standards] (SCNxPTR): Likewise.
2120 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2121 allow.
2122 * conform/data/stdint.h-data: Update comments to clarify
2123 requirements.
2124 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2125 type.
2126 [C99-based standards] (INT8_MAX): Likewise.
2127 [C99-based standards] (INT16_MIN): Likewise.
2128 [C99-based standards] (INT16_MAX): Likewise.
2129 [C99-based standards] (INT32_MIN): Likewise.
2130 [C99-based standards] (INT32_MAX): Likewise.
2131 [C99-based standards] (INT64_MIN): Likewise.
2132 [C99-based standards] (INT64_MAX): Likewise.
2133 [C99-based standards] (UINT8_MAX): Likewise.
2134 [C99-based standards] (UINT16_MAX): Likewise.
2135 [C99-based standards] (UINT32_MAX): Likewise.
2136 [C99-based standards] (UINT64_MAX): Likewise.
2137 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2138 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2139 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2140 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2141 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2142 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2143 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2144 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2145 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2146 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2147 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2148 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2149 [C99-based standards] (INT_FAST8_MIN): Likewise.
2150 [C99-based standards] (INT_FAST8_MAX): Likewise.
2151 [C99-based standards] (INT_FAST16_MIN): Likewise.
2152 [C99-based standards] (INT_FAST16_MAX): Likewise.
2153 [C99-based standards] (INT_FAST32_MIN): Likewise.
2154 [C99-based standards] (INT_FAST32_MAX): Likewise.
2155 [C99-based standards] (INT_FAST64_MIN): Likewise.
2156 [C99-based standards] (INT_FAST64_MAX): Likewise.
2157 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2158 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2159 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2160 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2161 [C99-based standards] (INTPTR_MIN): Likewise.
2162 [C99-based standards] (INTPTR_MAX): Likewise.
2163 [C99-based standards] (UINTPTR_MAX): Likewise.
2164 [C99-based standards] (INTMAX_MIN): Likewise.
2165 [C99-based standards] (INTMAX_MAX): Likewise.
2166 [C99-based standards] (UINTMAX_MAX): Likewise.
2167 [C99-based standards] (PTRDIFF_MIN): Likewise.
2168 [C99-based standards] (PTRDIFF_MAX): Likewise.
2169 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2170 [C99-based standards] (SIZE_MAX): Likewise.
2171 [C99-based standards] (WCHAR_MAX): Likewise.
2172 [C99-based standards] (WINT_MAX): Likewise.
2173 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2174 constraint on value.
2175 [C99-based standards] (WCHAR_MIN): Likewise.
2176 [C99-based standards] (WINT_MIN): Likewise.
2177 [C99-based standards] (*_t): Allow.
2178 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2179 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2180 Include math.h-data and complex.h-data. Remove all expectations
2181 of math.h and complex.h contents.
2182 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2183 at end of line.
2184 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2185 (struct tm): Expect tag.
2186 [C99-based-standards] (wcstof): Expect function.
2187 [C99-based-standards] (wcstold): Likewise.
2188 [C99-based-standards] (wcstoll): Likewise.
2189 [C99-based-standards] (wcstoull): Likewise.
2190 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2191 macro-int-constant. Specify type.
2192 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2193 constraint on value.
2194 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2195 Specify type.
2196 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2197 Specify value.
2198 [ISO C standards]: Do not allow headers.
2199 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2200 wcs[abcdefghijklmnopqrstuvwxyz]*.
2201 [ISO C standards] (*_t): Do not allow.
2202 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2203 Expect function.
2204 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2205 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2206 Specify type.
2207 [ISO C standards]: Do not allow headers.
2208 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2209 is[abcdefghijklmnopqrstuvwxyz]*.
2210 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2211 to[abcdefghijklmnopqrstuvwxyz]*.
2212 [ISO C standards] (*_t): Do not allow.
2213 * conform/data/stdalign.h-data: New file.
2214 * conform/data/stdbool.h-data: Likewise.
2215 * conform/data/stdnoreturn.h-data: Likewise.
2216
7514feb8
RM
22172012-11-07 Roland McGrath <roland@hack.frob.com>
2218
2219 [BZ #14815]
2220 * manual/filesys.texi (Directory Entries): Typo fix.
2221 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2222
19b2ecfc
MS
22232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2224
2225 * elf/elf.h (EM_AARCH64): New macro.
2226 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2227 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2228 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2229 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2230 (R_AARCH64_TLSDESC): Likewise.
2231 (NT_ARM_TLS): Likewise.
2232 (NT_ARM_HW_BREAK): Likewise.
2233 (NT_ARM_HW_WATCH): Likewise.
2234
60e235ee
JM
22352012-11-07 Joseph Myers <joseph@codesourcery.com>
2236
2237 [BZ #14811]
2238 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2239 (__ieee754_powl): Saturate nonzero exponents with absolute value
2240 below 0x1p-79 to +/- 0x1p-79.
2241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2242 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2243 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2244 nonzero exponents with absolute value below 0x1p-32 to +/-
2245 0x1p-32.
2246 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2247 (__ieee754_powl): Saturate nonzero exponents with absolute value
2248 below 0x1p-79 to +/- 0x1p-79.
2249 * math/libm-test.inc (pow_test): Add more tests.
2250
0ab234b7
AK
22512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2252
2253 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2254 _dl_s390_cap_flags with kernel. Increase string length.
2255 (_dl_s390_platforms): Add z196 and zEC12.
2256
45832f74
JM
22572012-11-07 Joseph Myers <joseph@codesourcery.com>
2258
2259 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2260 Change XOPEN21K to XOPEN2K.
2261
19218757
MK
22622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2263
2264 * string/memmove.c: Use memcpy when possible.
2265
c5f45721
AJ
22662012-11-06 Andreas Jaeger <aj@suse.de>
2267
2268 * po/eo.po: Update from translation team.
2269
82477c28
JM
22702012-11-06 Joseph Myers <joseph@codesourcery.com>
2271
2272 [BZ #14793]
2273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2274 exponent and small x and y exponents, scale x or y up. Increase
2275 by 2 the exponent used in scaling up.
2276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2278 * math/libm-test.inc (fma_test): Add more tests.
2279 (fma_test_towardzero): Likewise.
2280 (fma_test_downward): Likewise.
2281 (fma_test_upward): Likewise.
2282
99252c8c
JM
22832012-11-05 Joseph Myers <joseph@codesourcery.com>
2284
acfa885f
JM
2285 [BZ #14805]
2286 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2287 fenv_t *.
2288
99252c8c
JM
2289 [BZ #14801]
2290 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2291 namespace for names of struct fields.
2292 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2293 fenv_t fields.
2294 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2295 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2296
d6d98dea
ST
22972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2298
2299 [BZ #3665]
2300 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2301
e10bb107
TS
23022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2303
2304 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2305 PTR_DEMANGLE.
2306
2307 [BZ #5246]
2308 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2309 PTR_DEMANGLE.
2310
a0c2940d
JM
23112012-11-04 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #14797]
2314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2315 definitely overflow as x * y not x * y + z.
2316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2318 * math/libm-test.inc (fma_test): Add more tests.
2319 (fma_test_towardzero): Likewise.
2320 (fma_test_downward): Likewise.
2321 (fma_test_upward): Likewise.
2322
b830319d
TS
23232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2324
2325 [BZ #157]
2326
2327 * include/stub-tag.h: Remove file.
2328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2329 '#include' of it.
2330 * manual/maint.texi (Porting): Don't reference it.
2331 * Makerules ($(objpfx)stubs): Likewise.
2332 * dirent/closedir.c: Don't include <stub-tag.h>.
2333 * dirent/dirfd.c: Likewise.
2334 * dirent/fdopendir.c: Likewise.
2335 * dirent/getdents.c: Likewise.
2336 * dirent/getdents64.c: Likewise.
2337 * dirent/opendir.c: Likewise.
2338 * dirent/readdir.c: Likewise.
2339 * dirent/readdir64.c: Likewise.
2340 * dirent/readdir64_r.c: Likewise.
2341 * dirent/readdir_r.c: Likewise.
2342 * dirent/rewinddir.c: Likewise.
2343 * dirent/seekdir.c: Likewise.
2344 * dirent/telldir.c: Likewise.
2345 * gmon/profil.c: Likewise.
2346 * grp/setgroups.c: Likewise.
2347 * inet/if_index.c: Likewise.
2348 * io/access.c: Likewise.
2349 * io/chdir.c: Likewise.
2350 * io/chmod.c: Likewise.
2351 * io/chown.c: Likewise.
2352 * io/close.c: Likewise.
2353 * io/dup.c: Likewise.
2354 * io/dup2.c: Likewise.
2355 * io/dup3.c: Likewise.
2356 * io/euidaccess.c: Likewise.
2357 * io/faccessat.c: Likewise.
2358 * io/fchdir.c: Likewise.
2359 * io/fchmod.c: Likewise.
2360 * io/fchmodat.c: Likewise.
2361 * io/fchown.c: Likewise.
2362 * io/fchownat.c: Likewise.
2363 * io/fcntl.c: Likewise.
2364 * io/flock.c: Likewise.
2365 * io/fstatfs.c: Likewise.
2366 * io/fstatfs64.c: Likewise.
2367 * io/fstatvfs.c: Likewise.
2368 * io/fstatvfs64.c: Likewise.
2369 * io/futimens.c: Likewise.
2370 * io/fxstat.c: Likewise.
2371 * io/fxstat64.c: Likewise.
2372 * io/fxstatat.c: Likewise.
2373 * io/fxstatat64.c: Likewise.
2374 * io/getcwd.c: Likewise.
2375 * io/isatty.c: Likewise.
2376 * io/lchmod.c: Likewise.
2377 * io/lchown.c: Likewise.
2378 * io/link.c: Likewise.
2379 * io/linkat.c: Likewise.
2380 * io/lseek.c: Likewise.
2381 * io/lseek64.c: Likewise.
2382 * io/lxstat64.c: Likewise.
2383 * io/mkdir.c: Likewise.
2384 * io/mkdirat.c: Likewise.
2385 * io/mkfifo.c: Likewise.
2386 * io/mkfifoat.c: Likewise.
2387 * io/open.c: Likewise.
2388 * io/open64.c: Likewise.
2389 * io/openat.c: Likewise.
2390 * io/openat64.c: Likewise.
2391 * io/pipe.c: Likewise.
2392 * io/pipe2.c: Likewise.
2393 * io/poll.c: Likewise.
2394 * io/posix_fadvise.c: Likewise.
2395 * io/posix_fadvise64.c: Likewise.
2396 * io/posix_fallocate.c: Likewise.
2397 * io/posix_fallocate64.c: Likewise.
2398 * io/read.c: Likewise.
2399 * io/readlink.c: Likewise.
2400 * io/readlinkat.c: Likewise.
2401 * io/rmdir.c: Likewise.
2402 * io/sendfile.c: Likewise.
2403 * io/sendfile64.c: Likewise.
2404 * io/statfs.c: Likewise.
2405 * io/statfs64.c: Likewise.
2406 * io/statvfs.c: Likewise.
2407 * io/statvfs64.c: Likewise.
2408 * io/symlink.c: Likewise.
2409 * io/symlinkat.c: Likewise.
2410 * io/ttyname.c: Likewise.
2411 * io/ttyname_r.c: Likewise.
2412 * io/umask.c: Likewise.
2413 * io/unlink.c: Likewise.
2414 * io/unlinkat.c: Likewise.
2415 * io/utime.c: Likewise.
2416 * io/utimensat.c: Likewise.
2417 * io/write.c: Likewise.
2418 * io/xmknod.c: Likewise.
2419 * io/xmknodat.c: Likewise.
2420 * io/xstat.c: Likewise.
2421 * io/xstat64.c: Likewise.
2422 * login/getpt.c: Likewise.
2423 * login/grantpt.c: Likewise.
2424 * login/unlockpt.c: Likewise.
2425 * math/e_acoshl.c: Likewise.
2426 * math/e_acosl.c: Likewise.
2427 * math/e_asinl.c: Likewise.
2428 * math/e_atan2l.c: Likewise.
2429 * math/e_atanhl.c: Likewise.
2430 * math/e_coshl.c: Likewise.
2431 * math/e_expl.c: Likewise.
2432 * math/e_fmodl.c: Likewise.
2433 * math/e_gammal_r.c: Likewise.
2434 * math/e_hypotl.c: Likewise.
2435 * math/e_j0l.c: Likewise.
2436 * math/e_j1l.c: Likewise.
2437 * math/e_jnl.c: Likewise.
2438 * math/e_lgammal_r.c: Likewise.
2439 * math/e_log10l.c: Likewise.
2440 * math/e_log2l.c: Likewise.
2441 * math/e_logl.c: Likewise.
2442 * math/e_powl.c: Likewise.
2443 * math/e_rem_pio2l.c: Likewise.
2444 * math/e_sinhl.c: Likewise.
2445 * math/e_sqrtl.c: Likewise.
2446 * math/fclrexcpt.c: Likewise.
2447 * math/fedisblxcpt.c: Likewise.
2448 * math/feenablxcpt.c: Likewise.
2449 * math/fegetenv.c: Likewise.
2450 * math/fegetexcept.c: Likewise.
2451 * math/fegetround.c: Likewise.
2452 * math/feholdexcpt.c: Likewise.
2453 * math/fesetenv.c: Likewise.
2454 * math/fesetround.c: Likewise.
2455 * math/feupdateenv.c: Likewise.
2456 * math/fgetexcptflg.c: Likewise.
2457 * math/fraiseexcpt.c: Likewise.
2458 * math/fsetexcptflg.c: Likewise.
2459 * math/ftestexcept.c: Likewise.
2460 * math/k_cosl.c: Likewise.
2461 * math/k_rem_pio2l.c: Likewise.
2462 * math/k_sinl.c: Likewise.
2463 * math/k_tanl.c: Likewise.
2464 * math/s_asinhl.c: Likewise.
2465 * math/s_atanl.c: Likewise.
2466 * math/s_cbrtl.c: Likewise.
2467 * math/s_erfl.c: Likewise.
2468 * math/s_expm1l.c: Likewise.
2469 * math/s_log1pl.c: Likewise.
2470 * math/s_tanhl.c: Likewise.
2471 * misc/acct.c: Likewise.
2472 * misc/brk.c: Likewise.
2473 * misc/chflags.c: Likewise.
2474 * misc/chroot.c: Likewise.
2475 * misc/fchflags.c: Likewise.
2476 * misc/fgetxattr.c: Likewise.
2477 * misc/flistxattr.c: Likewise.
2478 * misc/fremovexattr.c: Likewise.
2479 * misc/fsetxattr.c: Likewise.
2480 * misc/fsync.c: Likewise.
2481 * misc/ftruncate.c: Likewise.
2482 * misc/futimes.c: Likewise.
2483 * misc/futimesat.c: Likewise.
2484 * misc/getdomain.c: Likewise.
2485 * misc/getdtsz.c: Likewise.
2486 * misc/gethostid.c: Likewise.
2487 * misc/gethostname.c: Likewise.
2488 * misc/getloadavg.c: Likewise.
2489 * misc/getpagesize.c: Likewise.
2490 * misc/getsysstats.c: Likewise.
2491 * misc/getxattr.c: Likewise.
2492 * misc/gtty.c: Likewise.
2493 * misc/ioctl.c: Likewise.
2494 * misc/lgetxattr.c: Likewise.
2495 * misc/listxattr.c: Likewise.
2496 * misc/llistxattr.c: Likewise.
2497 * misc/lremovexattr.c: Likewise.
2498 * misc/lsetxattr.c: Likewise.
2499 * misc/lutimes.c: Likewise.
2500 * misc/madvise.c: Likewise.
2501 * misc/mincore.c: Likewise.
2502 * misc/mlock.c: Likewise.
2503 * misc/mlockall.c: Likewise.
2504 * misc/mmap.c: Likewise.
2505 * misc/mprotect.c: Likewise.
2506 * misc/msync.c: Likewise.
2507 * misc/munlock.c: Likewise.
2508 * misc/munlockall.c: Likewise.
2509 * misc/munmap.c: Likewise.
2510 * misc/preadv.c: Likewise.
2511 * misc/preadv64.c: Likewise.
2512 * misc/ptrace.c: Likewise.
2513 * misc/pwritev.c: Likewise.
2514 * misc/pwritev64.c: Likewise.
2515 * misc/readv.c: Likewise.
2516 * misc/reboot.c: Likewise.
2517 * misc/remap_file_pages.c: Likewise.
2518 * misc/removexattr.c: Likewise.
2519 * misc/revoke.c: Likewise.
2520 * misc/select.c: Likewise.
2521 * misc/setdomain.c: Likewise.
2522 * misc/setegid.c: Likewise.
2523 * misc/seteuid.c: Likewise.
2524 * misc/sethostid.c: Likewise.
2525 * misc/sethostname.c: Likewise.
2526 * misc/setregid.c: Likewise.
2527 * misc/setreuid.c: Likewise.
2528 * misc/setxattr.c: Likewise.
2529 * misc/sstk.c: Likewise.
2530 * misc/stty.c: Likewise.
2531 * misc/swapoff.c: Likewise.
2532 * misc/swapon.c: Likewise.
2533 * misc/sync.c: Likewise.
2534 * misc/syncfs.c: Likewise.
2535 * misc/syscall.c: Likewise.
2536 * misc/truncate.c: Likewise.
2537 * misc/ualarm.c: Likewise.
2538 * misc/usleep.c: Likewise.
2539 * misc/ustat.c: Likewise.
2540 * misc/utimes.c: Likewise.
2541 * misc/vhangup.c: Likewise.
2542 * misc/writev.c: Likewise.
2543 * posix/_exit.c: Likewise.
2544 * posix/alarm.c: Likewise.
2545 * posix/execve.c: Likewise.
2546 * posix/fexecve.c: Likewise.
2547 * posix/fork.c: Likewise.
2548 * posix/fpathconf.c: Likewise.
2549 * posix/getaddrinfo.c: Likewise.
2550 * posix/getegid.c: Likewise.
2551 * posix/geteuid.c: Likewise.
2552 * posix/getgid.c: Likewise.
2553 * posix/getgroups.c: Likewise.
2554 * posix/getlogin.c: Likewise.
2555 * posix/getlogin_r.c: Likewise.
2556 * posix/getpgid.c: Likewise.
2557 * posix/getpid.c: Likewise.
2558 * posix/getppid.c: Likewise.
2559 * posix/getresgid.c: Likewise.
2560 * posix/getresuid.c: Likewise.
2561 * posix/getsid.c: Likewise.
2562 * posix/getuid.c: Likewise.
2563 * posix/glob64.c: Likewise.
2564 * posix/nanosleep.c: Likewise.
2565 * posix/pathconf.c: Likewise.
2566 * posix/pause.c: Likewise.
2567 * posix/posix_madvise.c: Likewise.
2568 * posix/pread.c: Likewise.
2569 * posix/pread64.c: Likewise.
2570 * posix/pwrite.c: Likewise.
2571 * posix/pwrite64.c: Likewise.
2572 * posix/sched_getaffinity.c: Likewise.
2573 * posix/sched_getp.c: Likewise.
2574 * posix/sched_gets.c: Likewise.
2575 * posix/sched_primax.c: Likewise.
2576 * posix/sched_primin.c: Likewise.
2577 * posix/sched_rr_gi.c: Likewise.
2578 * posix/sched_setaffinity.c: Likewise.
2579 * posix/sched_setp.c: Likewise.
2580 * posix/sched_sets.c: Likewise.
2581 * posix/sched_yield.c: Likewise.
2582 * posix/setgid.c: Likewise.
2583 * posix/setlogin.c: Likewise.
2584 * posix/setpgid.c: Likewise.
2585 * posix/setresgid.c: Likewise.
2586 * posix/setresuid.c: Likewise.
2587 * posix/setsid.c: Likewise.
2588 * posix/setuid.c: Likewise.
2589 * posix/sleep.c: Likewise.
2590 * posix/spawni.c: Likewise.
2591 * posix/sysconf.c: Likewise.
2592 * posix/times.c: Likewise.
2593 * posix/wait.c: Likewise.
2594 * posix/wait3.c: Likewise.
2595 * posix/wait4.c: Likewise.
2596 * posix/waitpid.c: Likewise.
2597 * resolv/gai_sigqueue.c: Likewise.
2598 * resource/getpriority.c: Likewise.
2599 * resource/getrlimit.c: Likewise.
2600 * resource/getrusage.c: Likewise.
2601 * resource/nice.c: Likewise.
2602 * resource/setpriority.c: Likewise.
2603 * resource/setrlimit.c: Likewise.
2604 * resource/ulimit.c: Likewise.
2605 * rt/aio_cancel.c: Likewise.
2606 * rt/aio_fsync.c: Likewise.
2607 * rt/aio_read.c: Likewise.
2608 * rt/aio_sigqueue.c: Likewise.
2609 * rt/aio_suspend.c: Likewise.
2610 * rt/aio_write.c: Likewise.
2611 * rt/clock_getres.c: Likewise.
2612 * rt/clock_gettime.c: Likewise.
2613 * rt/clock_nanosleep.c: Likewise.
2614 * rt/clock_settime.c: Likewise.
2615 * rt/lio_listio.c: Likewise.
2616 * rt/mq_close.c: Likewise.
2617 * rt/mq_getattr.c: Likewise.
2618 * rt/mq_notify.c: Likewise.
2619 * rt/mq_open.c: Likewise.
2620 * rt/mq_receive.c: Likewise.
2621 * rt/mq_send.c: Likewise.
2622 * rt/mq_setattr.c: Likewise.
2623 * rt/mq_timedreceive.c: Likewise.
2624 * rt/mq_timedsend.c: Likewise.
2625 * rt/mq_unlink.c: Likewise.
2626 * rt/shm_open.c: Likewise.
2627 * rt/shm_unlink.c: Likewise.
2628 * rt/timer_create.c: Likewise.
2629 * rt/timer_delete.c: Likewise.
2630 * rt/timer_getoverr.c: Likewise.
2631 * rt/timer_gettime.c: Likewise.
2632 * rt/timer_settime.c: Likewise.
2633 * setjmp/__longjmp.c: Likewise.
2634 * setjmp/setjmp.c: Likewise.
2635 * signal/kill.c: Likewise.
2636 * signal/killpg.c: Likewise.
2637 * signal/raise.c: Likewise.
2638 * signal/sigaction.c: Likewise.
2639 * signal/sigaltstack.c: Likewise.
2640 * signal/sigblock.c: Likewise.
2641 * signal/sigignore.c: Likewise.
2642 * signal/sigintr.c: Likewise.
2643 * signal/signal.c: Likewise.
2644 * signal/sigpause.c: Likewise.
2645 * signal/sigpending.c: Likewise.
2646 * signal/sigqueue.c: Likewise.
2647 * signal/sigreturn.c: Likewise.
2648 * signal/sigset.c: Likewise.
2649 * signal/sigsetmask.c: Likewise.
2650 * signal/sigstack.c: Likewise.
2651 * signal/sigsuspend.c: Likewise.
2652 * signal/sigtimedwait.c: Likewise.
2653 * signal/sigvec.c: Likewise.
2654 * signal/sigwait.c: Likewise.
2655 * signal/sigwaitinfo.c: Likewise.
2656 * signal/sysv_signal.c: Likewise.
2657 * socket/accept.c: Likewise.
2658 * socket/accept4.c: Likewise.
2659 * socket/bind.c: Likewise.
2660 * socket/connect.c: Likewise.
2661 * socket/getpeername.c: Likewise.
2662 * socket/getsockname.c: Likewise.
2663 * socket/getsockopt.c: Likewise.
2664 * socket/isfdtype.c: Likewise.
2665 * socket/listen.c: Likewise.
2666 * socket/recv.c: Likewise.
2667 * socket/recvfrom.c: Likewise.
2668 * socket/recvmsg.c: Likewise.
2669 * socket/send.c: Likewise.
2670 * socket/sendmsg.c: Likewise.
2671 * socket/sendto.c: Likewise.
2672 * socket/setsockopt.c: Likewise.
2673 * socket/shutdown.c: Likewise.
2674 * socket/sockatmark.c: Likewise.
2675 * socket/socket.c: Likewise.
2676 * socket/socketpair.c: Likewise.
2677 * stdio-common/ctermid.c: Likewise.
2678 * stdio-common/cuserid.c: Likewise.
2679 * stdio-common/remove.c: Likewise.
2680 * stdio-common/rename.c: Likewise.
2681 * stdio-common/renameat.c: Likewise.
2682 * stdio-common/tempname.c: Likewise.
2683 * stdlib/getcontext.c: Likewise.
2684 * stdlib/makecontext.c: Likewise.
2685 * stdlib/setcontext.c: Likewise.
2686 * stdlib/swapcontext.c: Likewise.
2687 * stdlib/system.c: Likewise.
2688 * streams/fattach.c: Likewise.
2689 * streams/fdetach.c: Likewise.
2690 * streams/getmsg.c: Likewise.
2691 * streams/getpmsg.c: Likewise.
2692 * streams/putmsg.c: Likewise.
2693 * streams/putpmsg.c: Likewise.
2694 * sysdeps/unix/bsd/getpt.c: Likewise.
2695 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2696 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2697 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2701 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2702 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2703 * sysvipc/msgctl.c: Likewise.
2704 * sysvipc/msgget.c: Likewise.
2705 * sysvipc/msgrcv.c: Likewise.
2706 * sysvipc/msgsnd.c: Likewise.
2707 * sysvipc/semctl.c: Likewise.
2708 * sysvipc/semget.c: Likewise.
2709 * sysvipc/semop.c: Likewise.
2710 * sysvipc/semtimedop.c: Likewise.
2711 * sysvipc/shmat.c: Likewise.
2712 * sysvipc/shmctl.c: Likewise.
2713 * sysvipc/shmdt.c: Likewise.
2714 * sysvipc/shmget.c: Likewise.
2715 * termios/tcdrain.c: Likewise.
2716 * termios/tcflow.c: Likewise.
2717 * termios/tcflush.c: Likewise.
2718 * termios/tcgetattr.c: Likewise.
2719 * termios/tcgetpgrp.c: Likewise.
2720 * termios/tcsendbrk.c: Likewise.
2721 * termios/tcsetattr.c: Likewise.
2722 * termios/tcsetpgrp.c: Likewise.
2723 * time/adjtime.c: Likewise.
2724 * time/clock.c: Likewise.
2725 * time/getitimer.c: Likewise.
2726 * time/gettimeofday.c: Likewise.
2727 * time/setitimer.c: Likewise.
2728 * time/settimeofday.c: Likewise.
2729 * time/stime.c: Likewise.
2730 * time/time.c: Likewise.
2731
27322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2733
a20492cf
PT
2734 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2735 /usr/old/bin.
2736
72e182e3
PT
2737 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2738 instead of spaces.
2739 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2740
fbeafede
JM
27412012-11-03 Joseph Myers <joseph@codesourcery.com>
2742
5b5b04d6
JM
2743 [BZ #14796]
2744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2745 FE_TONEAREST before applying Dekker multiplication and Knuth
2746 addition. Clear inexact exceptions and check for exact zero
2747 results afterwards.
2748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2749 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2751 * math/libm-test.inc (fma_test): Add more tests.
2752 (fma_test_towardzero): Likewise.
2753 (fma_test_downward): Likewise.
2754 (fma_test_upward): Likewise.
2755 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2756 function.
2757 (libc_fesetround): New macro.
2758 (libc_fesetroundf): Likewise.
2759 (libc_fesetroundl): Likewise.
2760 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2761 function.
2762 (libc_fesetround_387): Likewise.
2763 (libc_fesetroundf): New macro.
2764 (libc_fesetround): Likewise.
2765 (libc_fesetroundl): Likewise.
2766 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2767 function.
2768 (libc_fesetroundf): New macro.
2769 (libc_fesetround): Likewise.
2770 (libc_fesetroundl): Likewise.
2771 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2772 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2773 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2774 libm_hidden_ver.
2775 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2776 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2777 libm_hidden_def.
2778 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2779 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2780 libm_hidden_ver.
2781 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2782 libm_hidden_def.
2783
fbeafede
JM
2784 [BZ #3439]
2785 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2786 integer constant usable in #if and use that to give value to enum
2787 constant.
2788 (FE_DIVBYZERO): Likewise.
2789 (FE_UNDERFLOW): Likewise.
2790 (FE_OVERFLOW): Likewise.
2791 (FE_INVALID): Likewise.
2792 (FE_INVALID_SNAN): Likewise.
2793 (FE_INVALID_ISI): Likewise.
2794 (FE_INVALID_IDI): Likewise.
2795 (FE_INVALID_ZDZ): Likewise.
2796 (FE_INVALID_IMZ): Likewise.
2797 (FE_INVALID_COMPARE): Likewise.
2798 (FE_INVALID_SOFTWARE): Likewise.
2799 (FE_INVALID_SQRT): Likewise.
2800 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2801 (FE_TONEAREST): Likewise.
2802 (FE_TOWARDZERO): Likewise.
2803 (FE_UPWARD): Likewise.
2804 (FE_DOWNWARD): Likewise.
2805 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2806 (FE_DIVBYZERO): Likewise.
2807 (FE_OVERFLOW): Likewise.
2808 (FE_UNDERFLOW): Likewise.
2809 (FE_INEXACT): Likewise.
2810 (FE_TONEAREST): Likewise.
2811 (FE_DOWNWARD): Likewise.
2812 (FE_UPWARD): Likewise.
2813 (FE_TOWARDZERO): Likewise.
2814 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2815 (FE_UNDERFLOW): Likewise.
2816 (FE_OVERFLOW): Likewise.
2817 (FE_DIVBYZERO): Likewise.
2818 (FE_INVALID): Likewise.
2819 (FE_TONEAREST): Likewise.
2820 (FE_TOWARDZERO): Likewise.
2821 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2822 (FE_OVERFLOW): Likewise.
2823 (FE_UNDERFLOW): Likewise.
2824 (FE_DIVBYZERO): Likewise.
2825 (FE_INEXACT): Likewise.
2826 (FE_TONEAREST): Likewise.
2827 (FE_TOWARDZERO): Likewise.
2828 (FE_UPWARD): Likewise.
2829 (FE_DOWNWARD): Likewise.
2830 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2831 (FE_DIVBYZERO): Likewise.
2832 (FE_OVERFLOW): Likewise.
2833 (FE_UNDERFLOW): Likewise.
2834 (FE_INEXACT): Likewise.
2835 (FE_TONEAREST): Likewise.
2836 (FE_DOWNWARD): Likewise.
2837 (FE_UPWARD): Likewise.
2838 (FE_TOWARDZERO): Likewise.
2839
105ca950
CM
28402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2841
2842 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2843
a542b389
AS
28442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2845
2846 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2847 commands. Quote $PWD.
2848 (blacklist_exports): Don't use remove_newlines. Replace "declare
2849 -x" by "export".
2850 (remove_newlines): Remove.
2851
f62c8abc
L
28522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2855 * stdlib/stdlib.h (atof): Moved to ...
2856 * include/bits/stdlib-float.h: Here. New file.
2857 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2858 * stdlib/bits/stdlib-float.h: New file.
2859 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2860 -mno-sse -mno-mmx.
2861 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2862 <xmmintrin.h>.
2863
0155d5b2
JM
28642012-11-02 Joseph Myers <joseph@codesourcery.com>
2865
a68d0680
JM
2866 * conform/conformtest.pl (@headers): Add fenv.h.
2867 * conform/data/fenv.h-data: New file.
2868 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2869 include of <math/fenv.h>.
2870
caf7f573
JM
2871 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2872 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2873 && !UNIX98]. Enables tests for XOPEN2K8.
2874 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2875 POSIX2008]: Likewise.
2876
6c073ad6
JM
2877 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2878 (struct rusage): Do not expect type or its members.
2879
0155d5b2
JM
2880 [BZ #3439]
2881 * math/math.h (FP_NAN): Define macro to integer constant usable in
2882 #if and use that to give value to enum constant.
2883 (FP_INFINITE): Likewise.
2884 (FP_ZERO): Likewise.
2885 (FP_SUBNORMAL): Likewise.
2886 (FP_NORMAL): Likewise.
2887
b5dcacb4
AS
28882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2889
2890 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2891 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2892 arguments.
2893
f7934be8
RM
28942012-11-02 Roland McGrath <roland@hack.frob.com>
2895
2896 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2897 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2898 autoconf-time if not.
2899 * configure.in: Remove AC_PREREQ.
2900
d7d08bde
TMQMF
29012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2904 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2905 of the internal implementation.
2906
dcdae19a
JM
29072012-11-02 Joseph Myers <joseph@codesourcery.com>
2908
2909 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2910 except include of <misc/sys/syslog.h>.
2911
d6cffd3e
AS
29122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2913
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2915 function returns with a NULL context exit with zero.
2916
b3563932
TMQMF
29172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2918
2919 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2920
b288a93d
L
29212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2924 (run_program_cmd): This.
2925 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2926 (tst_langinfo): New variable. Use it.
2927
a2421a68
SAS
29282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2929
2930 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2931 floating point opcodes.
2932
6f796e1b
TS
29332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2934
7402596b
TS
2935 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2936 variable.
2937
d0d4f868
TS
2938 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2939
6f796e1b
TS
2940 * sysdeps/mach/hurd/powerpc: Remove directory.
2941 * sysdeps/mach/powerpc: Likewise.
2942
4da224a2
AS
29432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2944
2945 * scripts/check-local-headers.sh: Ignore c++ headers.
2946
341dd673
TS
29472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2948
2949 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2950 __libc_cleanup_region_start argument.
2951
473611b2
JM
29522012-11-01 Joseph Myers <joseph@codesourcery.com>
2953
2954 [BZ #14784]
2955 [BZ #14785]
2956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2957 x * y using scaling, not as x * y + z.
2958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2960 * math/libm-test.inc (fma_test): Add more tests.
2961 (fma_test_towardzero): Likewise.
2962 (fma_test_downward): Likewise.
2963 (fma_test_upward): Likewise.
2964
4078da3d
TS
29652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2966
2967 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2968
903252aa
JM
29692012-10-31 Joseph Myers <joseph@codesourcery.com>
2970
2971 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2972 New variable.
2973
cbc818d0
TS
29742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2975
2976 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2977
5a03cb1e
AS
29782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2979
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2981 Fix sort order.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2983 Likewise.
2984
90aff2ff
TMQMF
29852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2986
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2988 Fix the order of the list for glibc 2.17.
2989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2990 Likewise.
2991
1818fcb7
AS
29922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2993
2994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2995
ef82f4da
JM
29962012-10-31 Joseph Myers <joseph@codesourcery.com>
2997
16a0e2ec
JM
2998 [BZ #14610]
2999 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3000 for low part of x being zero before using __atanl (y).
3001 * math/libm-test.inc (atan2_test): Add another test.
3002
0eb69512
JM
3003 * manual/install.texi (Configuring and compiling): Document
3004 general use of test-wrapper and test-wrapper-env.
3005 * INSTALL: Regenerated.
3006
ef82f4da
JM
3007 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3008 (__fma): Do not extract and scale down low bits on after-rounding
3009 systems when result rounded to normal precision would have normal
3010 exponent.
3011 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3012 (__fmal): Do not extract and scale down low bits on after-rounding
3013 systems when result rounded to normal precision would have normal
3014 exponent.
3015 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3016 (__fmal): Do not extract and scale down low bits on after-rounding
3017 systems when result rounded to normal precision would have normal
3018 exponent.
3019 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3020 macro.
3021 (fma_test): Add more tests.
3022 (fma_test_towardzero): Likewise.
3023 (fma_test_downward): Likewise.
3024 (fma_test_upward): Likewise.
3025
954ef0d9
L
30262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * sysdeps/i386/tininess.h: Renamed to ...
3029 * sysdeps/x86/tininess.h: This.
3030 * sysdeps/x86_64/tininess.h: Removed.
3031
df61ffb2
JM
30322012-10-30 Joseph Myers <joseph@codesourcery.com>
3033
3034 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3035 input. Use $(build-program-cmd).
3036 ($(objpfx)tst-array1-static.out): Likewise.
3037 ($(objpfx)tst-array2.out): Likewise.
3038 ($(objpfx)tst-array3.out): Likewise.
3039 ($(objpfx)tst-array4.out): Likewise.
3040 ($(objpfx)tst-array5.out): Likewise.
3041 ($(objpfx)tst-array5-static.out): Likewise.
3042
01767843
CM
30432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3044
47cc1490
CM
3045 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3046 if defined.
3047
01767843
CM
3048 * nss/nsswitch.h (nss_interface_function): Provide new
3049 macro for use with NSS functions.
3050 * grp/initgroups.c: Use new macro.
3051 * nss/getXXbyYY.c: Likewise.
3052 * nss/getXXbyYY_r.c: Likewise.
3053 * nss/getXXent.c: Likewise.
3054 * nss/getXXent_r.c: Likewise.
3055 * sysdeps/posix/getaddrinfo.c: Likewise.
3056
8321aa97
AJ
30572012-10-30 Andreas Jaeger <aj@suse.de>
3058
3059 * po/ru.po: Update Russion translation from translation project.
3060
2a27fd6d
JM
30612012-10-30 Joseph Myers <joseph@codesourcery.com>
3062
8627a232
JM
3063 [BZ #14152]
3064 [BZ #14783]
3065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3066 result and shift together with sticky bit instead of replicating
3067 round-to-nearest rounding.
3068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3069 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3070 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3071 missing underflow exceptions.
3072 (fma_test_towardzero): Add more tests.
3073 (fma_test_downward): Likewise.
3074 (fma_test_upward): Likewise.
3075
2a27fd6d
JM
3076 [BZ #14047]
3077 * sysdeps/generic/tininess.h: New file.
3078 * sysdeps/i386/tininess.h: Likewise.
3079 * sysdeps/sh/tininess.h: Likewise.
3080 * sysdeps/x86_64/tininess.h: Likewise.
3081 * stdlib/tst-strtod-underflow.c: Likewise.
3082 * stdlib/tst-tininess.c: Likewise.
3083 * stdlib/strtod_l.c: Include <tininess.h>.
3084 (round_and_return): Do not set errno for exact underflow cases.
3085 Force an underflow exception when setting errno for underflow.
3086 Determine underflow based on rounding to normal precision if
3087 TININESS_AFTER_ROUNDING.
3088 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3089 ERANGE for exact underflow cases.
3090 * stdlib/Makefile (tests): Add tst-tininess and
3091 tst-strtod-underflow.
3092 ($(objpfx)tst-tininess): Use $(link-libm).
3093 ($(objpfx)tst-strtod-underflow): Likewise.
3094
e7170363
AJ
30952012-10-30 Andreas Jaeger <aj@suse.de>
3096
e5088dc6
AJ
3097 [BZ#14767]
3098 * elf/Makefile (tests): Remove conditional for have-initfini-array
3099 since this is now always required and the variable does not exist
3100 anymore.
3101 (tests-static): Likewise.
3102 (modules-names): Likewise.
3103
e7170363 3104 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3105
3106 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3107 merged with constructor/destructor.
3108 (init_array): Likewise.
3109 * elf/tst-array2dep.c (fini_array): Likewise.
3110 (init_array): Likewise.
3111
60457d8a
MF
31122012-10-29 Mike Frysinger <vapier@gentoo.org>
3113
3114 * manual/message.texi: Delete @cartouche tags.
3115
8bece752
PT
31162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3117
94ce799f
PT
3118 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3119 EOPNOTSUPP.
3120 * sysdeps/mach/hurd/fsync.c: Likewise.
3121
8bece752
PT
3122 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3123 [_POSIX_REALTIME_SIGNALS]: Change condition to
3124 [_POSIX_REALTIME_SIGNALS > 0].
3125
86ebe6b1
AJ
31262012-10-27 Andreas Jaeger <aj@suse.de>
3127
3128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3129 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3131 [__WORDSIZE != 64]: Likewise.
3132
54399c08
L
31332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3134
3135 * iconvdata/tst-table.sh: Remove ${SHELL}.
3136 * iconvdata/tst-tables.sh: Likewise.
3137
e2211bed
DM
31382012-10-25 David S. Miller <davem@davemloft.net>
3139
3140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3141 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3142 of strtoull.
3143
f303f97c
DM
3144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3145 ifunc-impl-list.c
3146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3147 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3148 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3149 file.
3150
1e9d84cd
RM
31512012-10-25 Roland McGrath <roland@hack.frob.com>
3152
3153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3154 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3155 __getdirentries.
3156
df381762
JM
31572012-10-25 Joseph Myers <joseph@codesourcery.com>
3158 Jim Blandy <jimb@codesourcery.com>
3159
3160 * scripts/cross-test-ssh.sh: New file.
3161 * manual/install.texi (Configuring and compiling): Document use of
3162 cross-test-ssh.sh.
3163 * INSTALL: Regenerated.
3164
bff64913
PT
31652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3166
3167 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3168 EOPNOTSUPP.
3169
25fe8932
JM
31702012-10-25 Joseph Myers <joseph@codesourcery.com>
3171
3172 * Makeconfig (run-program-prefix): Fix comment.
3173
cc1290d0
JM
31742012-10-24 Joseph Myers <joseph@codesourcery.com>
3175 Jim Blandy <jimb@codesourcery.com>
3176
3177 * Makeconfig (test-wrapper): New variable,
3178 (test-wrapper-env): Likewise.
3179 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3180 (run-built-tests): Define to yes.
3181 (run-program-prefix): Use $(test-wrapper).
3182 (built-program-cmd): Likewise.
3183 * Rules (make-test-out): Use $(test-wrapper-env) and
3184 $(host-built-program-cmd).
3185 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3186 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3187 tst-pathopt.sh.
3188 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3189 $(test-wrapper-env) to tst-rtld-load-self.sh.
3190 ($(objpfx)order2.out): Use $(test-wrapper).
3191 ($(objpfx)tst-initorder.out): Likewise.
3192 ($(objpfx)tst-initorder2.out): Likewise.
3193 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3194 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3195 (test_wrapper_env): New variable. Use it to run ld.so.
3196 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3197 Use it to run ld.so.
3198 (test_wrapper_env): Likewise.
3199 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3200 $(test-wrapper) to run-iconv-test.sh.
3201 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3202 (ICONV): Use $test_wrapper.
3203 * posix/Makefile ($(objpfx)globtest.out): Pass
3204 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3205 globtest.sh, not $(run-program-prefix).
3206 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3207 (test_wrapper): Likewise.
3208 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3209 set together with run_via_rtld_prefix.
3210 (run_program_prefix): Define in terms of test_wrapper and
3211 run_via_rtld_prefix.
3212
6e6249d0
RM
32132012-10-24 Roland McGrath <roland@hack.frob.com>
3214
3215 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3216 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3217 Targets removed.
3218
3219 [BZ #14743]
3220 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3221 Declare __clock_getres, __clock_gettime, __clock_settime,
3222 __clock_nanosleep, and __clock_getcpuclockid.
3223 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3224 Remove librt_hidden_def (clock_gettime).
3225 * sysdeps/unix/clock_gettime.c: Likewise.
3226 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3227 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3228 * rt/clock_getres.c: Define __clock_getres as an alias.
3229 * sysdeps/posix/clock_getres.c: Likewise.
3230 * rt/clock_settime.c: Define __clock_settime as an alias.
3231 * sysdeps/unix/clock_settime.c: Likewise.
3232 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3233 * sysdeps/unix/clock_nanosleep.c: Likewise.
3234 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3235 * rt/clock-compat.c: New file.
3236 * rt/Makefile (librt-routines): Add clock-compat and move
3237 $(clock-routines) to ...
3238 (routines): ... here, new variable.
3239 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3240 Don't add get_clockfreq here.
3241 * rt/Versions (libc: GLIBC_2.17): New version set.
3242 Add clock_* symbols here.
3243 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3245 (GLIBC_2.17): Add clock_* symbols.
3246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3248 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3250 Likewise.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3257 * NEWS: Mention the move.
3258
3259 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3260 Use __open, __read, __close rather than their public counterparts.
3261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3262 (__get_clockfreq_via_cpuinfo): Likewise.
3263 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3264 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3265
3266 * config.h.in (HAVE_IFUNC): New #undef.
3267 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3268 was successful.
3269 * configure: Regenerated.
3270
0cae3f4b
MF
32712012-10-24 Mike Frysinger <vapier@gentoo.org>
3272
3273 * configure.in: Move READELF check to start of file.
3274 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3275 libc_cv_asm_gnu_indirect_function in the process.
3276 * configure: Regenerated.
3277
8175a253
MF
32782012-10-24 Mike Frysinger <vapier@gentoo.org>
3279
3280 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3281 send the output to /dev/null.
3282 (libc_cv_cc_with_libunwind): Likewise.
3283 (libc_cv_as_noexecstack): Likewise.
3284 * configure: Regenerate.
3285
0708a7d1
JM
32862012-10-24 Joseph Myers <joseph@codesourcery.com>
3287
10b40d85
JM
3288 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3289
0708a7d1
JM
3290 * posix/globtest.sh (TMPDIR): Do not set.
3291 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3292 (testout): Likewise.
3293
9fddec1a
AJ
32942012-10-24 Andreas Jaeger <aj@suse.de>
3295
3a8db22f
AJ
3296 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3297 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3298 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3299 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3300 posix_fadvise64, posix_fallocate64.
3301
9fddec1a
AJ
3302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3303 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3304 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3305 Likewise.
3306 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3307 Likewise.
3308 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3309
3310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3311 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3312 <bits/fcntl-linux.h>.
3313 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3314
3315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3316 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3317 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3318 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3319 [__WORDSIZE != 64]: Likewise.
3320
ebfd1bbd
JM
33212012-10-23 Joseph Myers <joseph@codesourcery.com>
3322
03ac099f
JM
3323 * Makeconfig (run-built-tests): New variable.
3324 * Rules [$(cross-compiling) = yes]: Change condition to
3325 [$(run-built-tests) = no].
3326 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3327 to [$(run-built-tests) = yes].
3328 * elf/Makefile [$(cross-compiling) = no]: Likewise
3329 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3330 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3331 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3332 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3333 * io/Makefile [$(cross-compiling) = no]: Likewise.
3334 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3335 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3336 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3337 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3338 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3339 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3340 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3341 * string/Makefile [$(cross-compiling) = no]: Likewise.
3342
ebfd1bbd
JM
3343 * posix/Makefile ($(objpfx)globtest.out): Pass
3344 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3345 $(rtld-installed-name).
3346 * posix/globtest.sh (elf_objpfx): Remove variable.
3347 (rtld_installed_name): Likewise.
3348 (library_path): Likewise.
3349 (run_program_prefix): New variable. Use for running globtest
3350 binary.
3351
166bca24
JB
33522012-10-23 Jim Blandy <jimb@codesourcery.com>
3353 Joseph Myers <joseph@codesourcery.com>
3354
3355 * Makeconfig (host-built-program-cmd): New variable.
3356 * elf/Makefile (tst-stackguard1-ARGS): Use
3357 $(host-built-program-cmd).
3358 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3359 (tst-spawn-ARGS): Likewise.
3360 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3361
88866099
JM
33622012-10-23 Joseph Myers <joseph@codesourcery.com>
3363 Jim Blandy <jimb@codesourcery.com>
3364
3365 * Makeconfig (run-via-rtld-prefix): New variable.
3366 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3367 (built-program-cmd): Likewise.
3368
b4b4c296
AJ
33692012-10-22 Andreas Jaeger <aj@suse.de>
3370
3371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3372 __O_RSYNC if it exists, otherwise to O_SYNC.
3373
6fb54a22
JB
33742012-10-22 Jim Blandy <jimb@codesourcery.com>
3375 Joseph Myers <joseph@codesourcery.com>
3376
3377 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3378 /dev/null.
3379 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3380 from /dev/null
3381 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3382 /dev/null.
3383
481b90b9
AJ
33842012-10-22 Andreas Jaeger <aj@suse.de>
3385
2a0e2669
AJ
3386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3387 Define always.
3388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3389
76e38f9a
AJ
3390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3391 bits/fcntl-linux.h.
3392
7cd37b43
AJ
3393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3394 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3395
481b90b9
AJ
3396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3397 to __O_LARGEFILE.
3398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3399 to __O_LARGEFILE.
3400
aba75984
JB
34012012-10-21 Jim Blandy <jimb@codesourcery.com>
3402 Joseph Myers <joseph@codesourcery.com>
3403
3404 * config.make.in (NM): New variable.
3405
88d4247f
AJ
34062012-10-21 Andreas Jaeger <aj@suse.de>
3407
3408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3409 definitions and declarations that are provided by
3410 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3411
f2eed205
L
34122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 [BZ #14683]
3415 * elf/Makefile (tests-static): Add tst-leaks1-static.
3416 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3417 ($(objpfx)tst-leaks1-static): New rule.
3418 ($(objpfx)tst-leaks1-static-mem): Likewise.
3419 (tst-leaks1-static-ENV): New macro.
3420 * elf/dl-open.c (dl_open_worker): Check the main application
3421 only if SHARED is defined.
3422 * elf/tst-leaks1-static.c: New file.
3423
335e6931
AJ
34242012-10-20 Andreas Jaeger <aj@suse.de>
3425
3426 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3427 generic values for Linux.
3428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3429 and declarations that are provided by <bits/fcntl-linux.h> and
3430 include <bits/fcntl-linux.h>.
3431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3433
ac5c94d3
RM
34342012-10-20 Roland McGrath <roland@hack.frob.com>
3435
3436 * io/fcntl.h: Move include of <bits/types.h> to the top and
3437 include it unconditionally.
3438
de54b33a
L
34392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3440
228cfb01
L
3441 * wcsmbs/Makefile (tests-ifunc): New variable.
3442 (tests): Add $(tests-ifunc).
3443 * wcsmbs/test-wcschr-ifunc.c: New file.
3444 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3445 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3446 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3447 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3448 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3449
69f07e5f
L
3450 * string/Makefile (tests-ifunc): New variable.
3451 (tests): Add $(tests-ifunc).
3452 * string/test-memccpy.c (TEST_NAME): New macro.
3453 * string/test-memchr.c (TEST_NAME): Likewise.
3454 * string/test-memcmp.c (TEST_NAME): Likewise.
3455 * string/test-memcpy.c (TEST_NAME): Likewise.
3456 * string/test-memmem.c (TEST_NAME): Likewise.
3457 * string/test-memmove.c (TEST_NAME): Likewise.
3458 * string/test-memset.c (TEST_NAME): Likewise.
3459 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3460 * string/test-stpcpy.c (TEST_NAME): Likewise.
3461 * string/test-stpncpy.c (TEST_NAME): Likewise.
3462 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3463 * string/test-strcasestr.c (TEST_NAME): Likewise.
3464 * string/test-strcat.c (TEST_NAME): Likewise.
3465 * string/test-strchr.c (TEST_NAME): Likewise.
3466 * string/test-strcmp.c(TEST_NAME): Likewise.
3467 * string/test-strcpy.c (TEST_NAME): Likewise.
3468 * string/test-strcspn.c (TEST_NAME): Likewise.
3469 * string/test-strlen.c (TEST_NAME): Likewise.
3470 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3471 * string/test-strncmp.c (TEST_NAME): Likewise.
3472 * string/test-strncpy.c (TEST_NAME): Likewise.
3473 * string/test-strnlen.c (TEST_NAME): Likewise.
3474 * string/test-strpbrk.c (TEST_NAME): Likewise.
3475 * string/test-strrchr.c (TEST_NAME): Likewise.
3476 * string/test-strspn.c (TEST_NAME): Likewise.
3477 * string/test-strstr.c (TEST_NAME): Likewise.
3478 * string/test-bcopy-ifunc.c: New file.
3479 * string/test-bzero-ifunc.c: Likewise.
3480 * string/test-memccpy-ifunc.c: Likewise.
3481 * string/test-memchr-ifunc.c: Likewise.
3482 * string/test-memcmp-ifunc.c: Likewise.
3483 * string/test-memcpy-ifunc.c: Likewise.
3484 * string/test-memmem-ifunc.c: Likewise.
3485 * string/test-memmove-ifunc.c: Likewise.
3486 * string/test-mempcpy-ifunc.c: Likewise.
3487 * string/test-memset-ifunc.c: Likewise.
3488 * string/test-rawmemchr-ifunc.c: Likewise.
3489 * string/test-stpcpy-ifunc.c: Likewise.
3490 * string/test-stpncpy-ifunc.c: Likewise.
3491 * string/test-strcasecmp-ifunc.c: Likewise.
3492 * string/test-strcasestr-ifunc.c: Likewise.
3493 * string/test-strcat-ifunc.c: Likewise.
3494 * string/test-strchr-ifunc.c: Likewise.
3495 * string/test-strchrnul-ifunc.c: Likewise.
3496 * string/test-strcmp-ifunc.c: Likewise.
3497 * string/test-strcpy-ifunc.c: Likewise.
3498 * string/test-strcspn-ifunc.c: Likewise.
3499 * string/test-strlen-ifunc.c: Likewise.
3500 * string/test-strncasecmp-ifunc.c: Likewise.
3501 * string/test-strncat-ifunc.c: Likewise.
3502 * string/test-strncmp-ifunc.c: Likewise.
3503 * string/test-strncpy-ifunc.c: Likewise.
3504 * string/test-strnlen-ifunc.c: Likewise.
3505 * string/test-strpbrk-ifunc.c: Likewise.
3506 * string/test-strrchr-ifunc.c: Likewise.
3507 * string/test-strspn-ifunc.c: Likewise.
3508 * string/test-strstr-ifunc.c: Likewise.
3509
de54b33a
L
3510 * debug/Makefile (tests-ifunc): New variable.
3511 (tests): Add $(tests-ifunc).
3512 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3513 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3514 * debug/test-stpcpy_chk-ifunc.c: New file.
3515 * debug/test-strcpy_chk-ifunc.c: Likewise.
3516
88481c16
SP
35172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3518
3519 [BZ #13601]
3520 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3521 header is not read in.
3522
135948bd
JM
35232012-10-19 Joseph Myers <joseph@codesourcery.com>
3524
89f1c388
JM
3525 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3526 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3527 directly. Pass built executable to script as
3528 $(built-program-cmd).
3529 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3530 $testprogram without using LD_LIBRARY_PATH and $ldso.
3531
e40a0d21
JM
3532 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3533 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3534 $(rtld-installed-name).
3535 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3536 (rtld_installed_name): Likewise.
3537 (library_path): Likewise.
3538 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3539 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3540 $(run-program-prefix) to tst-tables.sh.
3541 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3542 it to run tst-table-from and tst-table-to.
3543 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3544 Pass it to tst-table.sh.
3545 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3546 $(run-program-prefix) to tst-gettext.sh.
3547 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3548 tst-translit.sh.
3549 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3550 tst-gettext2.sh.
3551 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3552 to run tst-gettext.
3553 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3554 to run tst-gettext2.
3555 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3556 to run tst-translit.
3557 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3558 $(run-program-prefix) to tst-mtrace.sh.
3559 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3560 to run tst-mtrace.
3561 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3562 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3563 $(rtld-installed-name).
3564 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3565 (rtld_installed_name): Likewise.
3566 (run_program_prefix): New variable. Use it to run wordexp-test.
3567
728e272a
JM
3568 * Makeconfig (ARCH): Remove all definitions.
3569 (machine): Likewise.
3570 [ARCH]: Remove conditional code.
3571 [!objdir]: Give error.
3572 [!objdir] (objpfx): Remove.
3573 [!objdir] (common-objpfx): Likewise.
3574 [!objdir] (common-objdir): Likewise.
3575 * configure.in (config_makefile): Remove. Hardcode Makefile in
3576 AC_CONFIG_FILES call.
3577 * configure: Regenerated.
3578
d528cdcf
JM
3579 [BZ #13888]
3580 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3581 or TMPDIR.
3582 (testout): Likewise.
3583
135948bd
JM
3584 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3585 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3586 $(rtld-installed-name).
3587 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3588 (rtld_installed_name): Likwise.
3589 (runit): Remove function.
3590 (run_getconf): New variable, Use it for running getconf binary.
3591
38c78296
L
35922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3593
3594 [BZ #14716]
3595 * string/test-memmem.c (check_result): New function.
3596 (do_one_test): Use it.
3597 (check1): New function.
3598 (test_main): Use it.
3599
d077f65f
MT
36002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3601
3602 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3603
ced52c71
JM
36042012-10-18 Joseph Myers <joseph@codesourcery.com>
3605
3606 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3607 (_G_LSEEK64): Likewise.
3608 (_G_MMAP64): Likewise.
3609 (_G_FSTAT64): Likewise.
3610 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3611 (_G_LSEEK64): Likewise.
3612 (_G_MMAP64): Likewise.
3613 (_G_FSTAT64): Likewise.
3614 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3615 unconditional. Call __mmap64 directly.
3616 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3617 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3618 __lseek64 directly.
3619 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3620 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3621 __mmap64 directly.
3622 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3623 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3624 __lseek64 directly.
3625 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3626 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3627 __lseek64 directly.
3628 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3629 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3630 __lseek64 directly.
3631 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3632 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3633 __fxstat64 directly.
3634 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3635 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3636 unconditional.
3637 (freopen64) [!_G_OPEN64]: Remove conditional code.
3638 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3639 unconditional.
3640 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3641 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3642 unconditional.
3643 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3644 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3645 unconditional.
3646 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3647 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3648 unconditional.
3649 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3650 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3651 unconditional.
3652 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3653 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3654 unconditional.
3655 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3656 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3657 unconditional.
3658 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3659
b741de23
SP
36602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3661
3662 [BZ #12140]
3663 * manual/memory.texi (Malloc Tunable Parameters): Add note
3664 about free list pointers overwriting some perturb bytes.
3665 Wording suggested by Roland McGrath.
3666
f9b9d9c9
JM
36672012-10-17 Joseph Myers <joseph@codesourcery.com>
3668
3669 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3670 (lgamma_test): Likewise.
3671 (tgamma_test): Likewise.
3672
172a631a
FW
36732012-10-16 Florian Weimer <fweimer@redhat.com>
3674
3675 [BZ #14700]
3676 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3677 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3678
e9f37252
MK
36792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3680
3681 * NEWS: Mention BZ #14716.
3682 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3683 when removing AVAILABLE1_USES_J macro.
3684
d394eb74
L
36852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3688 (__bswap_64): __uint64_t for unsigned 64-bit int.
3689
ca38dc17
AS
36902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3691
3692 * include/string.h (memmem): Declare libc hidden alias.
3693 * string/memmem.c (memmem): Define libc hidden alias.
3694 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3695 __read, __close instead of open, read, close.
3696
9a387d1f
L
36972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3698
ac49ecaf
L
3699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3700 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3701 global and hidden.
3702 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3703 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3704 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3705 Likewise.
3706 (__rawmemchr_sse2): Likewise.
3707 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3708 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3709 (__strchr_sse2): Likewise.
3710 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3711 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3712 (__strcasecmp_sse2): Likewise.
3713 (__strncasecmp_sse2): Likewise.
3714 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3715 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3716 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3717 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3718 (__strrchr_sse2): Likewise.
3719 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3720 ifunc-impl-list.c.
3721 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3722 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3723 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3724 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3725 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3726 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3727 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3728 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3729 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3730 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3731 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3732 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3733 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3734 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3735 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3736 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3737 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3738 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3739 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3740 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3741 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3742 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3743 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3744 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3745 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3746 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3747 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3748 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3749 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3750 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3751
b090e8ea
L
3752 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3753 global and hidden.
3754 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3755 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3756 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3757 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3758 Likewise.
3759 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3760 Likewise.
3761 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3762 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3763 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3764 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3765 ifunc-impl-list.c.
3766 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3767 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3768 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3770 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3772 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3774 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3775 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3776 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3777 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3778 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3779 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3780 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3782 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3783 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3784 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3785 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3786 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3787 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3788 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3789 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3790 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3791 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3792 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3793 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3794 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3796 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3799 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3800 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3801 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3802 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3803 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3804 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3805 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3806 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3807
11dd4af6
L
3808 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3809 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3810 * include/ifunc-impl-list.h: New file.
3811 * misc/ifunc-impl-list.c: Likewise.
3812 * misc/Makefile (routines): Add ifunc-impl-list.
3813 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3814 * string/test-string.h: Include <ifunc-impl-list.h>.
3815 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3816 impl_array): New variables.
3817 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3818 are defined.
3819 (test_init): Call __libc_ifunc_impl_list to initialize
3820 func_list if TEST_IFUNC and TEST_NAME are defined.
3821
9a387d1f
L
3822 * string/Makefile (strop-tests): Add bcopy and bzero.
3823 * string/test-bcopy.c: New file.
3824 * string/test-bzero.c: Likewise.
3825 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3826 defined.
3827 * string/test-memset.c: Support bzero test if TEST_BZERO is
3828 defined.
3829 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3830 __libc_memmove.
3831 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3832 __libc_memset.
3833 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3834 of memset.
3835
472371b9
JM
38362012-10-10 Joseph Myers <joseph@codesourcery.com>
3837
1e4a9536
JM
3838 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3839 * configure: Regenerated.
3840
d173d12e
JM
3841 * Makeconfig (+link-static-before-libc): Don't include
3842 $(link-static-libc).
3843
472371b9
JM
3844 * libio/libio.h (_IO_pos_t): Remove.
3845
89a3ad0b
AO
38462012-10-10 Alexandre Oliva <aoliva@redhat.com>
3847
3848 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3849 McGrath.
3850
e7451425
AO
38512012-10-10 Alexandre Oliva <aoliva@redhat.com>
3852
3853 * crypt/crypt-entry.c: Include fips-private.h.
3854 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3855 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3856 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3857 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3858
4ba74a35
AO
38592012-10-10 Alexandre Oliva <aoliva@redhat.com>
3860
3861 * crypt/crypt-private.h: Include stdbool.h.
3862 (_ufc_setup_salt_r): Return bool.
3863 * crypt/crypt-entry.c: Include errno.h.
3864 (__crypt_r): Return NULL with EINVAL for bad salt.
3865 * crypt/crypt_util.c (bad_for_salt): New.
3866 (_ufc_setup_salt_r): Check that salt is long enough and within
3867 the specified alphabet.
3868 * crypt/badsalttest.c: New file.
3869 * crypt/Makefile (tests): Add it.
3870 ($(objpfx)badsalttest): New.
3871
f96f1242
MK
38722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3873
3874 * NEWS: Add entry for BZ #14602.
3875
0e8e0c1c
JM
38762012-10-09 Joseph Myers <joseph@codesourcery.com>
3877
3878 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3879 type-generic.
3880 * math/libm-test.inc: Update comment listing what functions and
3881 macros are tested.
3882 (isgreater_test): New function.
3883 (isgreaterequal_test): Likewise.
3884 (isless_test): Likewise.
3885 (islessequal_test): Likewise.
3886 (islessgreater_test): Likewise.
3887 (isunordered_test): Likewise.
3888 (main): Call the new functions.
3889
273edc5e
RM
38902012-10-09 Roland McGrath <roland@hack.frob.com>
3891
b8493de0
RM
3892 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3893 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3894 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3895 * sysdeps/i386/configure: Regenerated.
3896 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3897 * sysdeps/mach/configure: Regenerated.
3898 * sysdeps/mach/hurd/configure: Regenerated.
3899 * sysdeps/powerpc/configure: Regenerated.
3900 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3901 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3902 * sysdeps/s390/s390-32/configure: Regenerated.
3903 * sysdeps/s390/s390-64/configure: Regenerated.
3904 * sysdeps/sh/configure: Regenerated.
3905 * sysdeps/sparc/configure: Regenerated.
3906 * sysdeps/unix/sysv/linux/configure: Regenerated.
3907 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3908 * sysdeps/x86_64/configure: Regenerated.
3909
273edc5e
RM
3910 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3911 defined. Don't check if MAP is NULL.
3912
c8450f70
JM
39132012-10-09 Joseph Myers <joseph@codesourcery.com>
3914
3915 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3916 (_G_stat64): Likewise.
3917 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3918 (_G_stat64): Likewise.
3919 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3920 instead of struct _G_stat64.
3921 * libio/fileops.c (mmap_remap_check): Likewise.
3922 (decide_maybe_mmap): Likewise.
3923 (_IO_new_file_seekoff): Likewise.
3924 (_IO_file_stat): Likewise.
3925 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3926 _G_off64_t.
3927 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3928 instead of struct _G_stat64.
3929 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3930
57e605ba
MK
39312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3932
3933 [BZ #14602]
3934 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3935 Replace with ...
3936 (CHECK_EOL): New macro.
3937 (two_way_short_needle): Check beginning of haystack for EOL. Use
3938 CHECK_EOL.
3939 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3940 Replace with CHECK_EOL.
3941 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3942 Replace with CHECK_EOL.
3943
ef1bb361
JM
39442012-10-08 Joseph Myers <joseph@codesourcery.com>
3945
3946 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3947 type-generic.
3948 * math/libm-test.inc: Update comment listing what functions and
3949 macros are tested.
3950 (finite_test): New function.
3951 (isinf_test): Likewise.
3952 (isnan_test): Likewise.
3953 (fpclassify_test): Test subnormal input.
3954 (isfinite_test): Likewise.
3955 (isnormal_test): Likewise.
3956 (main): Call the new functions.
3957
55f11534
JN
39582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3959
3960 [BZ #14660]
3961 * Makerules (%.dynsym): Force C locale when running
3962 $(OBJDUMP) --dynamic-syms.
3963
1ab29350
AS
39642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3965
3966 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3967 <stdint.h>.
3968
f1ecb7ef
DM
39692012-10-06 David S. Miller <davem@davemloft.net>
3970
3971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3972 upper 32-bits of the length value in %o2 since we use branch-on-register
3973 tests which consider the entire 64-bit register.
3974
5d41d91a
L
39752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3976
3977 * string/test-strstr.c (check2): Add a test for page boundary.
3978
3baddb72
DM
39792012-10-05 David S. Miller <davem@davemloft.net>
3980
3981 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3982 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3983 file.
3984 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3985 sysdep_routines.
3986 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3987 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3988 and bzero when HWCAP_SPARC_CRYPTO is present.
3989
9cee5585
L
39902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3991
d7e0dab9
L
3992 [BZ #14602]
3993 * string/test-strstr.c (check2): New function.
3994 (test_main): Call check2.
3995
03759f47
L
3996 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3997 and bug-strchr1.
3998 * string/bug-strcasestr1.c (do_test): Moved to ...
3999 * string/test-strcasestr.c (check1): Here. New function.
4000 (do_one_test): Break out result checking code into ...
4001 (check_result): This. New function.
4002 (do_one_test): Call check_result.
4003 (test_main): Call check1.
4004 * string/bug-strchr1.c (do_test): Moved to ...
4005 * string/test-strchr.c (check1): Here. New function.
4006 (do_one_test): Break out result checking code into ...
4007 (check_result): This. New function.
4008 (do_one_test): Call check_result.
4009 (test_main): Call check1.
4010 * string/bug-strstr1.c (main): Moved to ...
4011 * string/test-strchr.c (check1): Here. New function.
4012 (do_one_test): Break out result checking code into ...
4013 (check_result): This. New function.
4014 (do_one_test): Call check_result.
4015 (test_main): Call check1.
4016 * string/bug-strcasestr1.c: Removed.
4017 * string/bug-strchr1.c: Likewise.
4018 * string/bug-strstr1.c: Likewise.
4019
53cea63e
L
4020 * elf/Makefile (dl-routines): Add hwcaps.
4021 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4022 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4023 (_dl_important_hwcaps): Moved to ...
4024 * elf/dl-hwcaps.c: Here. New file.
4025 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4026
9cee5585 4027 [BZ #14557]
bb859b06
L
4028 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4029 if IS_IN_rtld isn't defined.
4030
9cee5585
L
4031 * elf/dl-support.c (_dl_sysinfo_map): New.
4032 Include "get-dynamic-info.h" and "setup-vdso.h".
4033 (_dl_non_dynamic_init): Call setup_vdso.
4034 * elf/dynamic-link.h: Don't include <assert.h>.
4035 (elf_get_dynamic_info): Moved to ...
4036 * elf/get-dynamic-info.h: Here. New file.
4037 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4038 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4039 * elf/setup-vdso.h: Here. New file.
4040 * elf/rtld.c: Include "setup-vdso.h".
4041 (dl_main): Call setup_vdso.
4042
23c31b76
JM
40432012-10-05 Joseph Myers <joseph@codesourcery.com>
4044
28234b07
JM
4045 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4046 creal in comment listing functions tested. List finite, isinf,
4047 isnan, isless, islessequal, isgreater, isgreaterequal,
4048 islessgreater, isunordered, lgamma_r and pow10 as functions and
4049 macros not tested. Mention which functions not tested are aliases
4050 for other functions. Fix typo. Note that signs of NaNs are not
4051 tested.
4052
23c31b76
JM
4053 * scripts/config.guess: Update from config.git.
4054 * scripts/config.sub: Likewise.
4055
9043e228
RM
40562012-10-04 Roland McGrath <roland@hack.frob.com>
4057
4058 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4059 * misc/madvise.c (madvise): Renamed to __madvise.
4060 Make madvise a weak alias.
4061 * include/sys/mman.h: Declare __madvise.
4062 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4063 * sysdeps/unix/syscalls.list
4064 (madvise): Make __madvise the strong name, and madvise a weak alias.
4065 * sysdeps/unix/sysv/linux/syscalls.list
4066 (madvise, mmap): Remove redundant entries.
4067 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4068 * malloc/malloc.c (mtrim): Likewise.
4069 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4070
f57f8055
RM
40712012-10-03 Roland McGrath <roland@hack.frob.com>
4072
4073 * sysdeps/mach/hurd/dl-cache.c: File removed.
4074 * config.h.in (USE_LDCONFIG): New #undef.
4075 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4076 * configure: Regenerated.
4077 * elf/Makefile (dl-routines): Add dl-cache only under
4078 [$(use-ldconfig) = yes].
4079 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4080 cache on [USE_LDCONFIG].
4081 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4082 [USE_LDCONFIG].
4083 * elf/rtld.c (dl_main): Likewise.
4084
5bb0c10a
PT
40852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4086
4087 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4088 _SC_LEVEL4_CACHE_LINESIZE.
4089
010188c6
RM
40902012-10-03 Roland McGrath <roland@hack.frob.com>
4091
4092 * sysdeps/unix/bsd/confstr.h: File removed.
4093
b6c5ec07
AO
40942012-10-02 Alexandre Oliva <aoliva@redhat.com>
4095
4096 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4097 sys/sdt-config.h.
4098
408223d4
RM
40992012-10-02 Roland McGrath <roland@hack.frob.com>
4100
4101 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4102 Make 'mapoff' field ElfW(Off) rather than off_t.
4103
bb9510dc
DL
41042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4105
fc997c6e
DL
4106 * nscd/Makefile: Remove nscd-cflags and all its users.
4107 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4108 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4109
bb9510dc
DL
4110 [BZ #10631]
4111 * malloc.c (malloc_printerr): Clarify error message.
4112
05699367
L
41132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4114
4115 [BZ #14648]
4116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4117 Set bit_FMA_Usable if FMA is supported.
4118 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4119 macro.
4120 (bit_FMA4_Usable): Updated.
4121 (index_FMA_Usable): New macro.
4122 (CPUID_FMA): Likewise
4123 (HAS_FMA): Defined with bit_FMA_Usable.
4124
51367701
RM
41252012-10-01 Roland McGrath <roland@hack.frob.com>
4126
4127 * bits/types.h (__swblk_t): Type removed.
4128 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4129 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4131 (__SWBLK_T_TYPE): Likewise.
4132 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4133 (__SWBLK_T_TYPE): Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4135 (__SWBLK_T_TYPE): Likewise.
4136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4137 (__SWBLK_T_TYPE): Likewise.
4138
4d57bf63 41392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4140 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4141
4142 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4143 (xdr_mapname): Use YPMAXMAP as maxsize.
4144 (xdr_peername): Use YPMAXPEER as maxsize.
4145 (xdr_keydat): Use YPAXRECORD as maxsize.
4146 (xdr_valdat): Use YPMAXRECORD as maxsize.
4147
93c65d43
RM
41482012-10-01 Roland McGrath <roland@hack.frob.com>
4149
497a03d6
RM
4150 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4151
93c65d43
RM
4152 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4153 * csu/init-first.c: ... here.
4154 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4155 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4156 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4158 * sysdeps/i386/init-first.c: File removed.
4159 * sysdeps/sh/init-first.c: File removed.
4160
bec749fd
JM
41612012-10-01 Joseph Myers <joseph@codesourcery.com>
4162
4163 [BZ #14645]
4164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4165 if x * y might underflow to zero and z is zero.
4166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4168 * math/libm-test.inc (min_subnorm_value): New variable.
4169 (fma_test): Add more tests.
4170 (fma_test_towardzero): Likewise.
4171 (fma_test_downward): Likewise
4172 (fma_test_upward): Likewise.
4173 (initialize): Set min_subnorm_value.
4174
8ec5b013
JM
41752012-09-29 Joseph Myers <joseph@codesourcery.com>
4176
4177 [BZ #14638]
4178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4179 0 + 0.
4180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4181 mode for addition resulting in exact zero.
4182 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4184 exact 0 + 0.
4185 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4187 * math/libm-test.inc (fma_test): Add more tests.
4188 (fma_test_towardzero): New function.
4189 (fma_test_downward): Likewise.
4190 (fma_test_upward): Likewise.
4191 (main): Call the new functions.
4192
b1fa802e
DM
41932012-09-28 David S. Miller <davem@davemloft.net>
4194
4195 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4196
d3b9fd9e
RM
41972012-09-28 Roland McGrath <roland@hack.frob.com>
4198
ea4d37b3
RM
4199 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4200 instead of SIGALRM.
4201
ac51c949
RM
4202 * sysdeps/gnu/_G_config.h: Moved to ...
4203 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4204 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4205 * sysdeps/generic/_G_config.h: ... here.
4206
28c195f7
RM
4207 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4208
848917f9
RM
4209 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4210
6bacf05b
RM
4211 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4212 Conditionalize target on [libnss_test1.so-version].
4213
91363dbb
RM
4214 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4215
cc87f7d8
RM
4216 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4217 (elfobjdir): Move out of conditionals.
4218
b1c608fe
RM
4219 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4220 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4221 (__nss_lookup_function): Conditionalize label remove_from_tree on
4222 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4223
1d9a6d96
DM
42242012-09-28 David S. Miller <davem@davemloft.net>
4225
4226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4227 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4228 file.
4229 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4230 sysdep_routines.
4231 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4233 when HWCAP_SPARC_CRYPTO is present.
4234
72581615
PT
42352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4236
4237 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4238
715a900c
JL
42392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4240
4241 [BZ #6530]
4242 * stdio-common/vfprintf.c (process_string_arg): Revert
4243 2000-07-22 change.
4244
42452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4246
4247 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4248 for testcase.
4249 * stdio-common/tst-sprintf.c: Include <locale.h>
4250 (main): Test sprintf's handling of incomplete multibyte
4251 characters.
4252
9bac1d86
L
42532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 * elf/dl-runtime.c (VERSYMIDX): Removed.
4256 * elf/dl-version.c (VERSYMIDX): Likewise.
4257 * elf/do-rel.h (VERSYMIDX): Likewise.
4258 (VALIDX): Likewise.
4259 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4260 * elf/rtld.c (VALIDX): Likewise.
4261 (ADDRIDX): Likewise.
9bac1d86
L
4262 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4263 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4264 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4265 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4266 (VALIDX): Likewise.
4267 (ADDRIDX): Likewise.
9bac1d86 4268
b31606c0
PT
42692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4270
4271 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4272
11541177
JL
42732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4274
4275 [BZ #11438]
4276 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4277 to global scope.
4278 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4279 addresses are in the same scope as 192.0.2/24.
4280 * posix/gai.conf: Document new scope table defaults.
4281
adb26fae
SP
42822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4283
4284 [BZ #5298]
4285 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4286 for ftell. Compute offsets from write pointers instead.
4287 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4288
4573c6b0
SP
42892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4290
4291 [BZ #14543]
4292 * libio/Makefile (tests): New test case tst-fseek.
4293 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4294 combination works in wide mode.
4295 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4296 state when the external buffer state changes.
4297
aa9bbfe6
DM
42982012-09-27 David S. Miller <davem@davemloft.net>
4299
4300 [BZ #14376]
4301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4302 pass reloc->r_addend in as the 'high' argument to
4303 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4304
784421e7
DM
4305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4306
c39bc8b8
PT
43072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4308
4309 * rt/tst-aio2.c: Include <pthread.h>.
4310 * rt/tst-aio3.c: Likewise.
4311
1ccc2399
SE
43122012-09-27 Steve Ellcey <sellcey@mips.com>
4313
4314 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4315
31ed4153
L
43162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4317
25f5f885
L
4318 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4319 contents on [SHARED].
31ed4153 4320
b7bfe116
MP
43212012-09-26 Marek Polacek <polacek@redhat.com>
4322
4323 [BZ #14530]
4324 [BZ #13741]
4325 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4326 for C++ and GCC <4.3 as well as for non GCC compilers.
4327
43c4edba
MT
43282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4329
4330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4331
6a1bf82f
RM
43322012-09-25 Roland McGrath <roland@hack.frob.com>
4333
4334 * Makefile.in (all, install): Declare with .PHONY.
4335 Reported by Michael Hope <michael.hope@linaro.org>.
4336
8ad11b9a
TMQMF
43372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4338
4339 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4340 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4341 system header.
4342 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4343 Likewise.
4344 (sydep_routines): Add the new and the internal functions.
4345 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4346 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4348 (GLIBC_2.17): Add the new function.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4350 (GLIBC_2.17): Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4352 (GLIBC_2.17): Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4354 (GLIBC_2.17): Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4356
7e2fca8d
AM
43572012-09-25 Alan Modra <amodra@gmail.com>
4358
4359 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4360 Add release barrier before setting once_control to say
4361 initialisation is done. Add hints on lwarx. Use macro in
4362 place of isync.
4363 (clear_once_control): Add release barrier.
4364
b87c4b24
JM
43652012-09-25 Joseph Myers <joseph@codesourcery.com>
4366
d032e0d2
JM
4367 [BZ #13629]
4368 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4369 specially.
4370 * math/s_clog10.c (__clog10): Likewise.
4371 * math/s_clog10f.c (__clog10f): Likewise.
4372 * math/s_clog10l.c (__clog10l): Likewise.
4373 * math/s_clogf.c (__clogf): Likewise.
4374 * math/s_clogl.c (__clogl): Likewise.
4375 * math/Makefile (libm-calls): Add x2y2m1.
4376 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4377 (__x2y2m1): Likewise.
4378 (__x2y2m1l): Likewise.
4379 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4380 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4383 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4385 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4386 * sysdeps/i386/fpu/libm-test-ulps: Update.
4387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4388
b87c4b24
JM
4389 [BZ #14621]
4390 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4391 int as type of variable DEPTH.
4392 (glob): Use size_t instead of int as type of variables NEWCOUNT
4393 and OLD_PATHC.
4394
6d3bf199
LD
43952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4396
22bf5c17
LD
4397 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4398 Add s_sincosf-sse2.
4399 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4400 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4401 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4402 macros for using routine as __sincosf_ia32.
4403 Use macro for function declaration and weak_alias.
4404 * sysdeps/i386/fpu/libm-test-ulps: Update.
4405
4406 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4408
4409 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4410 subnormal argument.
4411 * math/s_cexpf.c (__cexpf): Likewise.
4412 * math/s_csinf.c (__csinf): Likewise.
4413 * math/s_csinhf.c (__csinhf): Likewise.
4414 * math/s_ctanf.c (__ctanf): Likewise.
4415 * math/s_ctanhf.c (__ctanhf): Likewise.
4416 * math/s_ccosh.c (__ccoshf): Likewise.
4417 * math/s_cexp.c (__cexpl): Likewise.
4418 * math/s_csin.c (__csin): Likewise.
4419 * math/s_csinh.c (__csinh): Likewise.
4420 * math/s_ctan.c (__ctan): Likewise.
4421 * math/s_ctanh.c (ctanh): Likewise.
4422 * math/s_ccoshl.c (__ccoshl): Likewise.
4423 * math/s_cexpl.c (__cexpl): Likewise.
4424 * math/s_csinl.c (__csinl): Likewise.
4425 * math/s_csinhl.c (__csinhl): Likewise.
4426 * math/s_ctanl.c (__ctanl): Likewise.
4427 * math/s_ctanhl.c (__ctanhl): Likewise.
4428
203e5603
JM
44292012-09-25 Joseph Myers <joseph@codesourcery.com>
4430
4431 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4432 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4433 (_IO_off_t): Define to __off_t, not _G_off_t.
4434 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4435 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4436 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4437 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4438 type of __dummy and __dummy2 fields.
4439 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4440 (_G_ssize_t): Likewise.
4441 (_G_off_t): Likewise.
4442 (_G_pid_t): Likewise.
4443 (_G_uid_t): Likewise.
4444 (_G_wchar_t): Likewise.
4445 (_G_wint_t): Likewise.
4446 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4447 (_G_ssize_t): Likewise.
4448 (_G_off_t): Likewise.
4449 (_G_pid_t): Likewise.
4450 (_G_uid_t): Likewise.
4451 (_G_wchar_t): Likewise.
4452 (_G_wint_t): Likewise.
4453 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4454 (_G_ssize_t): Likewise.
4455 (_G_off_t): Likewise.
4456 (_G_pid_t): Likewise.
4457 (_G_uid_t): Likewise.
4458 (_G_wchar_t): Likewise.
4459 (_G_wint_t): Likewise.
4460
9fab36eb
SP
44612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4462
4463 * malloc/arena.c: Include malloc-sysdep.h.
4464 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4465 is sufficient to shrink the heap or an unmap is needed.
4466 * sysdeps/generic/malloc-sysdep.h: New file. Define
4467 new function check_may_shrink_heap.
4468 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4469 new function check_may_shrink_heap.
4470
2b4f00d1
SP
44712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
4473 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4474 comments.
4475
9a9028b1
DL
44762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4477
57c69bef
DL
4478 * catgets/test-gencat.sh: Add "set -e".
4479 * elf/tst-pathopt.sh: Likewise.
4480 * grp/tst_fgetgrent.sh: Likewise.
4481 * iconvdata/run-iconv-test.sh: Likewise.
4482 * intl/tst-gettext.sh: Likewise.
4483 * intl/tst-gettext2.sh: Likewise.
4484 * intl/tst-gettext4.sh: Likewise.
4485 * intl/tst-gettext6.sh: Likewise.
4486 * intl/tst-translit.sh: Likewise.
4487 * io/ftwtest-sh: Likewise.
4488 * libio/test-freopen.sh: Likewise.
4489 * malloc/tst-mtrace.sh: Likewise.
4490 * posix/globtest.sh: Likewise.
4491 * posix/tst-getconf.sh: Likewise.
4492 * posix/wordexp-tst.sh: Likewise.
4493 * stdio-common/tst-printf.sh: Likewise.
4494 * stdio-common/tst-unbputc.sh: Likewise.
4495 * stdlib/tst-fmtmsg.sh: Likewise.
4496 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4497 * catgets/Makefile: Do not specify -e option when running
4498 testsuite shell scripts.
4499 * elf/Makefile: Likewise.
4500 * grp/Makefile: Likewise.
4501 * iconvdata/Makefile: Likewise.
4502 * intl/Makefile: Likewise.
4503 * io/Makefile: Likewise.
4504 * libio/Makefile: Likewise.
4505 * malloc/Makefile: Likewise.
4506 * posix/Makefile: Likewise.
4507 * stdio-common/Makefile: Likewise.
4508 * stdlib/Makefile: Likewise.
4509 * sysdeps/x86_64/Makefile: Likewise.
4510
9a9028b1
DL
4511 * io/ftwtest-sh: Add copyright header.
4512 * posix/globtest.sh: Likewise.
4513 * posix/tst-getconf.sh: Likewise.
4514 * posix/wordexp-tst.sh: Likewise.
4515 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4516
ced6f16e
L
45172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4518
94b32c39
L
4519 [BZ #13679]
4520 * Makeconfig (+link): Defined as $(+link-static) if
4521 $(build-shared) isn't yes.
4522 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4523 isn't yes.
4524 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4525
189e935b
L
4526 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4527
ced6f16e
L
4528 [BZ #14562]
4529 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4530 new chunk size with MALLOC_ALIGN_MASK.
4531
a9f8e53a
JM
45322012-09-24 Joseph Myers <joseph@codesourcery.com>
4533
4534 [BZ #5044]
4535 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4536 <rounding-mode.h>.
4537 (__printf_fphex): Determine rounding using get_rounding_mode and
4538 round_away.
4539 * stdio-common/tst-printf-round.c (struct hex_test): New
4540 structure.
4541 (hex_tests): New variable.
4542 (test_hex_in_one_mode): New function.
4543 (do_test): Also run tests for hex float output.
4544
43153109
JM
45452012-09-21 Joseph Myers <joseph@codesourcery.com>
4546
4547 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4548 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4549 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4550 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4551 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4552 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4553 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4554 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4555
8a26625d
JM
45562012-09-20 Joseph Myers <joseph@codesourcery.com>
4557
4558 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4559 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4560 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4561 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4562
f3fd569c
DL
45632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4564
4565 [BZ #14579]
4566 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4567 mode only.
4568 * elf/tst-rtld-load-self.sh: New test.
4569 * elf/Makefile: Run it.
4570
63bbedd4
JM
45712012-09-18 Joseph Myers <joseph@codesourcery.com>
4572
4573 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4574 (tst-writev-ENV): Remove.
4575 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4576
626f8b6a
CM
45772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4578
4579 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4580
b7aaa4d6
JM
45812012-09-17 Joseph Myers <joseph@codesourcery.com>
4582
4583 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4584 unconditional.
4585 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4586 Likewise.
4587 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4588 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4589 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4590 Likewise.
4591
65513990
L
45922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 [BZ #14587]
4595 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4596 * config.make.in (have-cpp-asm-debuginfo): Removed.
4597 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4598 * configure: Regenerated.
4599
784761be
JM
46002012-09-14 Joseph Myers <joseph@codesourcery.com>
4601
4602 [BZ #5044]
4603 * stdio-common/printf_fp.c: Include <stdbool.h> and
4604 <rounding-mode.h>.
4605 (___printf_fp): Determine rounding using get_rounding_mode and
4606 round_away.
4607 * stdio-common/tst-printf-round.c: New file.
4608 * stdio-common/Makefile (tests): Add tst-printf-round.
4609 (link-libm): New variable.
4610 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4611
9503345f
L
46122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4613
4614 [BZ #14576]
4615 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4616 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4617 Likewise.
4618 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4619 Likewise.
4620
ad35fc00
JM
46212012-09-13 Joseph Myers <joseph@codesourcery.com>
4622
4623 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4624 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4625 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4626 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4627
6c9b0f68
JM
46282012-09-12 Joseph Myers <joseph@codesourcery.com>
4629
4630 [BZ #14518]
4631 * include/rounding-mode.h: New file.
4632 * sysdeps/generic/get-rounding-mode.h: Likewise.
4633 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4634 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4635 (MAX_VALUE): New macro.
4636 (MIN_VALUE): Likewise.
4637 (overflow_value): New function.
4638 (underflow_value): Likewise.
4639 (round_and_return): Use overflow_value and underflow_value to
4640 determine return values in overflow and underflow cases. Use
4641 round_away to determine rounding depending on rounding mode.
4642 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4643 determine return values in overflow and underflow cases.
4644 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4645 (struct test_results): New structure.
4646 (struct test): Use struct test_results to store expected results
4647 for all rounding modes.
4648 (TEST): Include expected results for all rounding modes.
4649 (test_in_one_mode): New function.
4650 (do_test): Use test_in_one_mode to compute and check results.
4651 Check results for all rounding modes.
4652 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4653 $(link-libm).
4654
19fcedd5
AM
46552012-12-09 Allan McRae <allan@archlinux.org>
4656
1e9d84cd 4657 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4658
8bbfd2f1
JM
46592012-09-11 Joseph Myers <joseph@codesourcery.com>
4660
4661 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4662 (_G_int32_t): Likewise.
4663 (_G_uint16_t): Likewise.
4664 (_G_uint32_t): Likewise.
4665 (_G_HAVE_BOOL): Likewise.
4666 (_G_HAVE_ATEXIT): Likewise.
4667 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4668 (_G_HAVE_IO_FILE_OPEN): Likewise.
4669 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4670 (_G_int32_t): Likewise.
4671 (_G_uint16_t): Likewise.
4672 (_G_uint32_t): Likewise.
4673 (_G_HAVE_BOOL): Likewise.
4674 (_G_HAVE_ATEXIT): Likewise.
4675 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4676 (_G_HAVE_IO_FILE_OPEN): Likewise.
4677 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4678 (_G_int32_t): Likewise.
4679 (_G_uint16_t): Likewise.
4680 (_G_uint32_t): Likewise.
4681 (_G_HAVE_BOOL): Likewise.
4682 (_G_HAVE_ATEXIT): Likewise.
4683 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4684 (_G_HAVE_IO_FILE_OPEN): Likewise.
4685
b1dc5912
L
46862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4687
4688 * csu/libc-tls.c: Update copyright years.
4689
0e886ef9
JM
46902012-09-10 Joseph Myers <joseph@codesourcery.com>
4691
28361c5e
JM
4692 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4693 [!_G_USING_THUNKS]: Remove conditional code.
4694 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4695 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4696
0e886ef9
JM
4697 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4698 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4699 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4700 (_G_VTABLE_LABEL_PREFIX): Likewise.
4701 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4702 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4703 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4704 (_G_VTABLE_LABEL_PREFIX): Likewise.
4705 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4706 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4707 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4708 (_G_VTABLE_LABEL_PREFIX): Likewise.
4709 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4710
bcba7aa2
L
47112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4712
4713 * libio/Makefile: Include ../Makeconfig before tests.
4714 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4715 only if $(build-shared) is yes.
4716
06585ee8
L
4717 * iconv/gconv_db.c: Update copyright years.
4718
80ccd52c
LD
47192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4720
4721 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4722 unwind info if defined PIC. Fix special cases description.
4723 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4724
4725 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4726 DP_HI_MASK entry.
4727 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4728
691bc9c1
L
47292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4730
3d9b46b3
L
4731 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4732
de2139a9
L
4733 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4734 is NULL.
4735
5ca78dd0
L
4736 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4737 (LDLIBS-tst-chk4): This.
4738 (LDFLAGS-tst-chk5): Renamed to ...
4739 (LDLIBS-tst-chk5): This.
4740 (LDFLAGS-tst-chk6): Renamed to ...
4741 (LDLIBS-tst-chk6): This.
4742 (LDFLAGS-tst-lfschk4): Renamed to ...
4743 (LDLIBS-tst-lfschk4): This.
4744 (LDFLAGS-tst-lfschk5): Renamed to ...
4745 (LDLIBS-tst-lfschk5): This.
4746 (LDFLAGS-tst-lfschk6): Renamed to ...
4747 (LDLIBS-tst-lfschk6): This.
4748
691bc9c1
L
4749 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4750 on $(common-objpfx)soversions.mk.
4751
65cafb1c
JM
47522012-09-07 Joseph Myers <joseph@codesourcery.com>
4753
4754 [BZ #10014]
4755 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4756 example host name.
4757
c78ab094
SP
47582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4759
4760 * malloc/arena.c (arena_get_retry): New function that gets
4761 another arena for the caller to try its request on.
4762 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4763 current arena cannot fulfill the request.
4764 (__libc_memalign): Likewise.
4765 (__libc_memalign): Likewise.
4766 (__libc_pvalloc): Likewise.
4767 (__libc_calloc): Likewise.
4768
01f49f59
JT
47692012-09-05 John Tobey <john.tobey@gmail.com>
4770
4771 [BZ #13542]
4772 * manual/arith.texi (Operations on Complex): Fix description
4773 of carg branch cut.
4774
4c23fed5
JM
47752012-09-06 Joseph Myers <joseph@codesourcery.com>
4776
1d3c8572
JM
4777 [BZ #10014]
4778 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4779 host name.
4780
4c23fed5
JM
4781 [BZ #10038]
4782 * manual/memory.texi (Memory): Make order of menu items match
4783 order of sections.
4784
04570aaa
L
47852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4786
4787 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4788 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4789 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4790
b80af2f4
L
47912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 * csu/libc-tls.c (static_dtv): Renamed to ...
4794 (_dl_static_dtv): This. Make it global.
4795 (_dl_initial_dtv): Removed.
4796 (__libc_setup_tls): Updated.
4797 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4798 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4799 DL_INITIAL_DTV.
4800
2abe9f15
PM
48012012-09-06 Petr Machata <pmachata@redhat.com>
4802
4803 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4804 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4805 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4806 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4807
0948c3af
L
48082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4809
4810 [BZ #14545]
4811 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4812 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4813 freeing dtv[-1].
4814
a5055ad1
L
48152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4816
4817 [BZ #14544]
4818 * Makeconfig (link-static-before-libc): Replace $(+prector)
4819 with $(+prectorT).
4820 (link-static-after-libc): Replace $(+postctor) with
4821 $(+postctorT).
4822 (link-bounded): Replace $(+prector)/$(+postctor) with
4823 $(+prectorT)/$(+postctorT).
4824 (+prectorT): New macro.
4825 (+postctorT): Likewise.
4826
ed8c2ecd
JM
48272012-09-06 Joseph Myers <joseph@codesourcery.com>
4828
4829 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4830 (round_str): Handle values above the maximum for IBM long double
4831 as inexact.
4832 * stdlib/tst-strtod-round.c (tests): Regenerated.
4833
14c996c8
AK
48342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4835
4836 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4837 assembler flag.
4838 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4839 zarch_nohighgprs around the zarch optimized routines.
4840 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4841 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4843 for zarch.
4844
430d6ce6
DM
48452012-09-05 David S. Miller <davem@davemloft.net>
4846
4847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4848
ff04dda4
DM
4849 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4850 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4851 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4852 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4853 entries.
4854
24d4e01b
AO
48552012-09-05 Alexandre Oliva <aoliva@redhat.com>
4856
4857 * malloc/arena.c: Fold copyright years.
4858 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4859
61d58174
AO
48602012-09-05 Alexandre Oliva <aoliva@redhat.com>
4861
4862 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4863
20196a5e
AO
48642012-09-05 Alexandre Oliva <aoliva@redhat.com>
4865
4866 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4867
5c447383
AO
48682012-09-05 Alexandre Oliva <aoliva@redhat.com>
4869
4870 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4871 change internal state upon failure.
4872
fad64255
AO
48732012-09-05 Alexandre Oliva <aoliva@redhat.com>
4874
4875 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4876 * malloc/memusage.c (mmap): Likewise.
4877 (mmap64, mremap): Likewise. Adjust name in comment.
4878
1ffb8c90
SP
48792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4880
4881 * libio/fileops.c: Fix typos in comments.
4882 * libio/oldfileops.c: Likewise.
4883 * libio/wfileops.c: Likewise.
4884
6ef9cc37
SP
48852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4886
4887 [BZ #1349]
4888 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4889 (tst-malloc-usable-ENV): Set environment for test case.
4890 * malloc/hooks.c (malloc_check_get_size): New function to get
4891 requested size.
4892 * malloc/malloc.c (musable): Use malloc_check_get_size.
4893 * malloc/tst-malloc-usable.c: New test case.
4894
4d038ae3
AS
48952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4896
4897 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4898
c4e85184
AM
48992012-09-05 Allan McRae <allan@archlinux.org>
4900
b9dafc56 4901 [BZ #13966]
c4e85184
AM
4902 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4903 determine header location.
4904 * configure: Regenerated.
4905
e1343020
AS
49062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4907
4908 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4909 float format.
4910 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4911 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4912 format.
e1343020
AS
4913 (test): Regenerate.
4914
0a9f1987
DM
49152012-09-04 David S. Miller <davem@davemloft.net>
4916
4917 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4918 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4920
29237804
FW
49212012-09-04 Florian Weimer <fweimer@redhat.com>
4922
4923 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4924 failures.
4925
edb3cb88
FW
4926 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4927
60160d83
JM
49282012-09-04 Joseph Myers <joseph@codesourcery.com>
4929
4930 [BZ #9914]
4931 * libio/iogetdelim.c: Include <limits.h>.
4932 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4933 + len + 1 would overflow.
4934
bcd6c8dc
AJ
49352012-09-03 Andreas Jaeger <aj@suse.de>
4936
4937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4938 * sysdeps/i386/fpu/libm-test-ulps: Update.
4939
4ffffbd2
LD
49402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4941
4942 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4943 Add s_sinf-sse2, s_conf-sse2.
4944
4945 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4946 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4947 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4948 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4949
4950 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4951 for using routine as __sinf_ia32.
4952 Use macro for function declaration and weak_alias.
4953 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4954 for using routine as __cosf_ia32.
4955 Use macro for function declaration and weak_alias.
4956
4957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4958 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4959
4960 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4961 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4963
4964 * math/libm-test.inc (cos_test): Add more test cases.
4965 (sin_test): Likewise.
4966 (sincos_test): Likewise.
4967
511fa286
AK
49682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4969
4970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4971 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4972 hidden.
4973 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4974
5f30cfec
L
49752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4976
4977 [BZ #14538]
4978 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4979 first element of the GOT.
4980 (elf_machine_load_address): Return the difference between
4981 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4982
0786794f
AM
49832012-09-01 Allan McRae <allan@archlinux.org>
4984
5f30cfec
L
4985 [BZ #13412]
4986 * configure.in (AWK): Require gawk version 3.0 or later.
4987 * configure: Regenerated.
0786794f 4988
26889eac
JM
49892012-09-01 Joseph Myers <joseph@codesourcery.com>
4990
4991 * sysdeps/unix/sysv/linux/kernel-features.h
4992 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4994 [__NR_clock_getres]: Make code unconditional.
4995 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4996 (clock_getcpuclockid): Remove code left unreachable by removal of
4997 conditionals.
4998 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4999 code unconditional.
5000 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5001 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5002 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5003 Make code unconditional.
5004 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5005 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5006 * sysdeps/unix/sysv/linux/clock_settime.c
5007 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5008 conditional code.
5009 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5010 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5011
d22e28b0
L
50122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5013
5014 [BZ #14476]
5015 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5016 scripts/test-installation.pl.
5017
5018 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5019 and $ld_so_version if it is set.
5020
050af9c4
SP
50212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5022
5023 [BZ #14516]
5024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5025 failure if reading from procfs failed.
5026 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5027
ad845c0b
JM
50282012-08-27 Joseph Myers <joseph@codesourcery.com>
5029
5030 * sysdeps/unix/sysv/linux/kernel-features.h
5031 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5032 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5033 Remove conditional code.
5034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5035 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5036 Remove conditional code.
5037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5038 * sysdeps/unix/sysv/linux/i386/fxstat.c
5039 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5041 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5042 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5043 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5044 * sysdeps/unix/sysv/linux/i386/lxstat.c
5045 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5047 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5048 Remove conditional code.
5049 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5050 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5051 Remove conditional code.
5052 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5053 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5054 <kernel-features.h>.
5055 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5056 Remove.
5057 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5058 Remove conditional code.
5059 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5060 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5061 Remove conditional.
5062
5dbf56af
MF
50632012-08-27 Mike Frysinger <vapier@gentoo.org>
5064
5065 [BZ #5400]
5066 * NEWS: Add fixed bug number.
5067
d6e70f43
JM
50682012-08-27 Joseph Myers <joseph@codesourcery.com>
5069
7efb4737
JM
5070 [BZ #14519]
5071 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5072 underflowing exponent in case of negative sign.
5073 * stdlib/tst-strtod-round-data: Add more tests.
5074 * stdlib/tst-strtod-round.c (tests): Regenerated.
5075
af92131a
JM
5076 [BZ #3479]
5077 * stdlib/strtod_l.c (NDIG): Remove.
5078 (HEXNDIG): Likewise.
5079 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5080 smallest representable value.
5081 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5082 lie within an exact representation of 1/2 ulp of the result.
5083 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5084 unconditionally.
5085 (TENS_P9_IDX): Define unconditionally.
5086 (TENS_P9_SIZE): Likewise.
5087 (TENS_P10_IDX): Likewise.
5088 (TENS_P10_SIZE): Likewise.
5089 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5090 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5091 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5092 entries for 10^2^13 and 10^2^14.
5093 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5094 (TENS_P13_IDX): Define.
5095 (TENS_P13_SIZE): Likewise.
5096 (TENS_P14_IDX): Likewise.
5097 (TENS_P14_SIZE): Likewise.
5098 (_fpioconst_pow10): Change array size to
5099 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5100 unconditional.
5101 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5102 1024]: Add entries for 10^2^13 and 10^2^14.
5103 [LAST_POW10 > _LAST_POW10]: Remove #error.
5104 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5105 (_fpioconst_pow10): Change array size to
5106 FPIOCONST_POW10_ARRAY_SIZE.
5107 * stdlib/gen-fpioconst.c: New file.
5108 * stdlib/gen-tst-strtod-round.c: Likewise.
5109 * stdlib/tst-strtod-round-data: Likewise.
5110 * stdlib/tst-strtod-round.c: Likewise.
5111 * stdlib/Makefile (tests): Add tst-strtod-round.
5112
d6e70f43
JM
5113 [BZ #14459]
5114 * stdlib/strtod_l.c: Include <stdint.h>.
5115 (NDEBUG): Do not define.
5116 (round_and_return): Change EXPONENT parameter to type intmax_t.
5117 Rearrange calculations to avoid internal overflow possibilities.
5118 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5119 Rearrange calculations to avoid internal overflow possibilities.
5120 Assert that number fits inside MPNSIZE limbs.
5121 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5122 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5123 calculations and add assertions to avoid internal overflow
5124 possibilities. Add casts to avoid signed/unsigned operations.
5125 * stdlib/tst-strtod-overflow.c: New file.
5126 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5127
1f529f7d
MP
51282012-08-25 Marek Polacek <polacek@redhat.com>
5129
5130 * time/time.h: Fix some typos in comments.
5131
59a629f1
RM
51322012-08-23 Roland McGrath <roland@hack.frob.com>
5133
5134 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5135 * posix/tst-rfc3484-2.c: Likewise.
5136 * posix/tst-rfc3484-3.c: Likewise.
5137
d3bafbc9
SM
51382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5139
5140 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5141 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5142
4efcc022
JM
51432012-08-23 Joseph Myers <joseph@codesourcery.com>
5144
5145 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5146 #include of fxstatat64.c.
5147
3cc3ef96
RM
51482012-08-22 Roland McGrath <roland@hack.frob.com>
5149
f04e2132
RM
5150 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5151 * shadow/getspent_r.c: Likewise.
5152 * shadow/getspnam.c: Likewise.
5153 * shadow/getspnam_r.c: Likewise.
5154 * gshadow/getsgent.c: Likewise.
5155 * gshadow/getsgent_r.c: Likewise.
5156 * gshadow/getsgnam.c: Likewise.
5157 * gshadow/getsgnam_r.c: Likewise.
5158 * inet/getnetbyad.c: Likewise.
5159 * inet/getnetbyad_r.c: Likewise.
5160 * inet/getnetbynm.c: Likewise.
5161 * inet/getnetbynm_r.c: Likewise.
5162 * inet/getnetent.c: Likewise.
5163 * inet/getnetent_r.c: Likewise.
5164 * inet/getproto.c: Likewise.
5165 * inet/getproto_r.c: Likewise.
5166 * inet/getprtent.c: Likewise.
5167 * inet/getprtent_r.c: Likewise.
5168 * inet/getprtname.c: Likewise.
5169 * inet/getprtname_r.c: Likewise.
5170 * inet/getrpcbyname.c: Likewise.
5171 * inet/getrpcbyname_r.c: Likewise.
5172 * inet/getrpcbynumber.c: Likewise.
5173 * inet/getrpcbynumber_r.c: Likewise.
5174 * inet/getrpcent.c: Likewise.
5175 * inet/getrpcent_r.c: Likewise.
5176 * inet/getaliasent.c: Likewise.
5177 * inet/getaliasent_r.c: Likewise.
5178 * inet/getaliasname.c: Likewise.
5179 * inet/getaliasname_r.c: Likewise.
5180 * nscd/getgrgid_r.c: Likewise.
5181 * nscd/getgrnam_r.c: Likewise.
5182 * nscd/gethstbyad_r.c: Likewise.
5183 * nscd/gethstbynm3_r.c: Likewise.
5184 * nscd/getpwnam_r.c: Likewise.
5185 * nscd/getpwuid_r.c: Likewise.
5186 * nscd/getsrvbynm_r.c: Likewise.
5187 * nscd/getsrvbypt_r.c: Likewise.
5188 * nscd/gai.c: Likewise.
5189
c53d909c
RM
5190 * configure.in (build_nscd): New substituted variable, set
5191 by --disable-build-nscd and defaults to $use_nscd.
5192 * configure: Regenerated.
5193 * config.make.in (build-nscd): New substituted variable.
5194 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5195 Change conditional to require [$(build-nscd) = yes] as well.
5196 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5197
3cc3ef96
RM
5198 [BZ# 13696]
5199 * configure.in (use_nscd): New substituted variable, set by
5200 --disable-nscd. If enabled, define USE_NSCD.
5201 * configure: Regenerated.
5202 * config.h.in: Add USE_NSCD.
5203 * config.make.in (use-nscd): New substituted variable.
5204 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5205 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5206 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5207 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5208 (CFLAGS-getgrnam_r.c): Likewise.
5209 (CFLAGS-initgroups.c): Likewise.
5210 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5211 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5212 Variables removed.
5213 * inet/getnetgrent_r.c
5214 (nscd_setnetgrent): New function, broken out of ...
5215 (setnetgrent): ... here. Call it.
5216 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5217 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5218 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5219 * nscd/Makefile (routines, aux): Move definitions after include of
5220 Makeconfig. Conditionalize on [$(use-nscd) != no].
5221 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5222 Conditionalize on [USE_NSCD].
5223 (is_nscd, nscd_init_cb): Likewise.
5224 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5225 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5226 * nss/nss_db/db-init.c: Likewise.
5227 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5228 [USE_NSCD].
5229 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5230 (make_request): Use it.
5231 (cache_valid_p): New function.
5232 (__check_pf): Use it.
5233 * NEWS: Add item for --disable-nscd.
5234
07e51550
DL
52352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5236
5237 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5238 to support sed >= 4.2.1-20-ga9bf076.
5239 * configure: Regenerated.
5240
35a5b08b
RM
52412012-08-22 Roland McGrath <roland@hack.frob.com>
5242
5243 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5244 Conditionalize whole body on [IREL].
5245
8479f23a
JL
52462012-08-22 Jeff Law <law@redhat.com>
5247
5248 [BZ #14505]
5249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5250 if the family is PF_UNSPEC.
5251
48da0b21
MF
52522012-08-22 Mike Frysinger <vapier@gentoo.org>
5253
5254 * Makerules (lib-version): Rename from V.
5255 (install-lib-nosubdir): Change V to lib-version.
5256
15d0da8c
WS
52572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5258
5259 [BZ #14252]
5260 * powerpc32/power6/wcschr.c: New file.
5261 * powerpc32/power6/wcscpy.c: New file.
5262 * powerpc32/power6/wcsrchr.c: New file.
5263 * powerpc64/power6/wcschr.c: New file.
5264 * powerpc64/power6/wcscpy.c: New file.
5265 * powerpc64/power6/wcsrchr.c: New file.
5266
bcca0895
MK
52672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5268
5269 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5270 (two_way_short_needle): Use it.
5a4aaa33
RM
5271 * string/strstr.c (AVAILABLE1_USES_J): Define.
5272 * string/strcasestr.c: Likewise.
99677e57
MK
5273
5274 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5275 array references.
5276 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5277
400726de
MK
5278 [BZ #11607]
5279 * NEWS: Add an entry.
5280 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5281 define their defaults.
5282 (two_way_short_needle): Detect end-of-string on-the-fly.
5283 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5284 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5285 * string/bug-strcasestr1.c: New test.
5286 * string/Makefile: Run it.
5287
20a71f2c
MK
52882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5289
5290 [BZ #11607]
5291 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5292 the first character.
5293
21ad0558
RM
52942012-08-21 Roland McGrath <roland@hack.frob.com>
5295
5296 * csu/elf-init.c (__libc_csu_irel): Function removed.
5297 * csu/libc-start.c (apply_irel): New function.
5298 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5299
0e1d9911
JM
53002012-08-21 Joseph Myers <joseph@codesourcery.com>
5301
5302 * sysdeps/unix/sysv/linux/kernel-features.h
5303 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5304 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5305 <kernel-features.h>.
5306 [__NR_fadvise64_64]: Make code unconditional.
5307 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5308 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5309 !__NR_fadvise64_64)]: Likewise.
5310 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5311 !__NR_fadvise64_64))]: Likewise.
5312 [__NR_fadvise64]: Make code unconditional.
5313 [!__NR_fadvise64]: Remove conditional code.
5314 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5315 <kernel-features.h>.
5316 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5317 unconditional.
5318 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5319 conditional code.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5321 not include <kernel-features.h>.
5322 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5323 unconditional.
5324 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5325 conditional code.
5326 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5327 include <kernel-features.h>.
5328 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5329 unconditional.
5330 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5331 conditional code.
5332
14a50c9d
WS
53332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5334
5335 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5336 slight instruction rearrangements per scrollpipe analysis.
5337 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5338
c0f4faf0
RM
53392012-08-20 Roland McGrath <roland@hack.frob.com>
5340
696da859
RM
5341 * manual/syslog.texi (syslog; vsyslog, closelog):
5342 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5343 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5344
c0f4faf0
RM
5345 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5346 DSOCAPS to match condition on defining it.
5347
348363b2
JM
53482012-08-20 Joseph Myers <joseph@codesourcery.com>
5349
a35cbf28
JM
5350 * sysdeps/unix/sysv/linux/kernel-features.h
5351 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5353 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5354 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5356 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5357 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5359 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5360 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5361
445f7ecd
JM
5362 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5363 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5364
348363b2
JM
5365 * sysdeps/unix/sysv/linux/kernel-features.h
5366 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5367 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5368 unconditional.
5369 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5370 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5371 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5372 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5373 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5374 Make code unconditional.
5375 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5376 (__mmap64) [!__NR_mmap2]: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5378 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5379 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5381 [__NR_mmap2]: Make code unconditional.
5382 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5383 (__mmap64) [!__NR_mmap2]: Likewise.
5384
bc5bc0e5
AK
53852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5386
5387 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5388
88d506de
AJ
53892012-08-18 Andreas Jaeger <aj@suse.de>
5390
5391 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5392
493387d2
MF
53932012-08-18 Mike Frysinger <vapier@gentoo.org>
5394
5395 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5396 * include/unistd.h (__have_sock_cloexec): Likewise.
5397 (__have_pipe2): Likewise.
5398 (__have_dup3): Likewise.
5399
a277af22
MF
54002012-08-18 Mike Frysinger <vapier@gentoo.org>
5401
5402 [BZ #9685]
5403 * include/unistd.h (__have_pipe2): Change define into an extern int.
5404 (__have_dup3): Likewise.
5405 * socket/have_sock_cloexec.c: Include fcntl.h.
5406 (__have_pipe2): New variable.
5407 (__have_dup3): Likewise.
5408
fdab8fd3
MF
54092012-08-17 Mike Frysinger <vapier@gentoo.org>
5410
5411 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5412
31035e80
MP
54132012-08-17 Marek Polacek <polacek@redhat.com>
5414
5415 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5416 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5417
3bd9e993
RM
54182012-08-17 Roland McGrath <roland@hack.frob.com>
5419
c91c505f
RM
5420 * configure.in: Add AC_SUBST for sysheaders.
5421 * configure: Regenerated.
5422 * config.make.in (sysheaders): New substituted variable.
5423
7c6f9d53
RM
5424 * sysdeps/unix/mkfifo.c: Moved ...
5425 * sysdeps/posix/mkfifo.c: ... here.
5426 * sysdeps/unix/mkfifoat.c: Moved ...
5427 * sysdeps/posix/mkfifoat.c: ... here.
5428
5429 * sysdeps/unix/utime.c: Moved ...
5430 * sysdeps/posix/utime.c: ... here.
5431
5432 * sysdeps/unix/time.c: Moved ...
5433 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5434 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5435 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5436
5437 * sysdeps/unix/nice.c: Moved ...
5438 * sysdeps/posix/nice.c: ... here.
5439
5440 * sysdeps/unix/alarm.c: Moved ...
5441 * sysdeps/posix/alarm.c: ... here.
5442
3bd9e993
RM
5443 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5444
d1f09384
JL
54452012-08-17 Jeff Law <law@redhat.com>
5446
5447 * intl/Makefile (codeset_mo): New variable.
5448 ($(codeset_mo)): New target.
5449 (tst-codeset.out): Depend on that. Remove explicit rule.
5450 (tst-gettext3.out, tst-gettext5.out): Likewise.
5451 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5452 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5453 * intl/tst-codeset.sh: Remove.
5454 * intl/tst-gettext3.sh: Likewise.
5455 * intl/tst-gettext5.sh: Likewise.
5456
2ae1ae5c
RM
54572012-08-17 Roland McGrath <roland@hack.frob.com>
5458
c31fdb83
RM
5459 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5460 * sysdeps/unix/syscalls.list: ... here.
5461
a0844057
RM
5462 * sysdeps/posix/getaddrinfo.c
5463 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5464 (gaiconf_init, gaiconf_reload): Use them.
5465 [!_STATBUF_ST_NSEC]
5466 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5467 Define using time_t rather than struct timespec.
5468
750c1f2a
RM
5469 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5470 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5471 Macros removed.
5472 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5473 [!NO_THREADS].
5474 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5475 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5476 Likewise.
5477
2ae1ae5c
RM
5478 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5479 __libc_cleanup_push argument.
5480
e66a42f5
RM
5481 * bits/param.h: New file.
5482 * misc/sys/param.h: New file.
5483 * include/sys/param.h: New file.
5484 * misc/Makefile (headers): Add bits/param.h.
5485 * sysdeps/generic/sys/param.h: File removed.
5486 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5487 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5488 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5489 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5490
b7c08a66
RM
5491 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5492 last change.
5493
b2e1c562
RM
5494 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5495 [_IO_MTSAFE_IO].
5496 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5497 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5498 New macros.
5499
c75ccd4c
RM
5500 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5501 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5502 rather than -D_IO_MTSAFE_IO conditionally.
5503 * stdio-common/Makefile (CPPFLAGS): Likewise.
5504 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5505 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5506 Use $(libio-mtsafe).
5507 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5508 of -D_IO_MTSAFE_IO.
5509 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5510 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5511 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5512 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5513 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5514 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5515 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5516 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5517 (CFLAGS-fread_u_chk.c): Likewise.
5518 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5519 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5520 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5521 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5522 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5523 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5524 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5525 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5526 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5527
5528 * libio/Makefile: Test [$(libc-reentrant) = yes]
5529 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5530
5531 * Makeconfig
5532 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5533 * sysdeps/pthread/configure: File removed.
5534 * sysdeps/pthread/Makeconfig: New file.
5535 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5536 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5537
d9195db8
GB
55382012-08-16 Gary Benson <gbenson@redhat.com>
5539
5540 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5541 unmapping the first object in a namespace.
5542
86466cd9
RM
55432012-08-16 Roland McGrath <roland@hack.frob.com>
5544
5545 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5546 (__internal_setnetgrent): ... this. Add internal_function to
5547 definition. Add libc_hidden_def.
5548 (setnetgrent): Update caller.
5549 (internal_endnetgrent): Renamed to ...
5550 (__internal_endnetgrent): ... this. Add internal_function to
5551 definition. Add libc_hidden_def.
5552 (endnetgrent): Update caller.
5553 (internal_getnetgrent_r): Renamed to ...
5554 (__internal_getnetgrent_r): ... this. Add internal_function to
5555 definition. Add libc_hidden_def.
5556 (__getnetgrent_r): Update caller.
5557 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5558
c3c8283c
JM
55592012-08-16 Joseph Myers <joseph@codesourcery.com>
5560
5561 * stdlib/longlong.h: Update from GCC.
5562
db1ee0a8
RM
55632012-08-16 Roland McGrath <roland@hack.frob.com>
5564
5565 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5566 on _QL, which is set by umul_ppmm but never used.
5567 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5568 variables, which are set by GMP macros but never used.
5569 * stdio-common/_itowa.c (_itowa): Likewise.
5570 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5571 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5572
30f69637
CD
55732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5574
5575 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5576 struct La_sh_regs is not constant.
5577 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5578 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5579 and struct La_sparc64_regs are not constant.
5580
93a78ac4
JM
55812012-08-16 Joseph Myers <joseph@codesourcery.com>
5582
5583 * sysdeps/unix/sysv/linux/kernel-features.h
5584 (__ASSUME_POSIX_TIMERS): Remove.
5585 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5586 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5587 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5588 Make code unconditional.
5589 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5590 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5591 Make code unconditional.
5592 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5593 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5594 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5595 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5596 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5597 Make code unconditional.
5598 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5599 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5600 (__libc_missing_posix_timers): Remove.
5601
dd924cd7
RM
56022012-08-15 Roland McGrath <roland@hack.frob.com>
5603
4b4f2771
RM
5604 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5605 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5606
601c888b
RM
5607 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5608
176790a7
RM
5609 * elf/dl-sym.c: Include <stdlib.h>.
5610
329bc018
RM
5611 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5612 constants, which avoids warnings in 32-bit builds.
5613
e04e272d
RM
5614 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5615 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5616
952bf94a
RM
5617 * misc/lseek.c: File moved to ...
5618 * io/lseek.c: ... here.
5619
7c99b50a
RM
5620 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5621
dd924cd7
RM
5622 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5623 shifting LEN more than 31 bits at once.
5624
b3f479a8
LD
56252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5626
5627 [BZ #14195]
8c4ae0d4
RM
5628 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5629 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5630 * string/test-strncasecmp.c (check1): Renamed to...
5631 (bz12205): ...this.
5632 (bz14195): Add new testcase for two empty input strings and N > 0.
5633 (test_main): Call new testcase, adapt for renamed function.
5634
9c55864e
AJ
56352012-08-15 Andreas Jaeger <aj@suse.de>
5636
5637 [BZ #14090]
5638 * crypt/md5test2.c: New test, based on test supplied by Serge
5639 Belyshev <belyshev@depni.sinp.msu.ru>.
5640 * crypt/Makefile (xtests): Add md5test-giant..
5641 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5642
02dcb6c5
PE
56432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5644
5645 [BZ #14090]
5646 * crypt/md5.c (md5_process_block): Don't assume the buffer
5647 length is less than 2**32.
5648 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5649 length is less than 2**64.
5650
a3f95dcc
RM
56512012-08-15 Roland McGrath <roland@hack.frob.com>
5652
be75d758
RM
5653 * string/str-two-way.h: Include <sys/param.h>.
5654 (MAX): Macro removed.
5655
7312ca90
RM
5656 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5657 Move #define and #undef of memmove to just before and after
5658 including <string.h>.
5659
9a0a5486
RM
5660 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5661 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5662 and after including <string.h>. Move declarations of
5663 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5664 to before #include "string/memmove.c".
5665
67cc348d
RM
5666 * include/dirent.h: Declare __getdirentries.
5667
a3f95dcc
RM
5668 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5669 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5670
ca98e171
MF
56712012-08-14 Mike Frysinger <vapier@gentoo.org>
5672
5673 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5674 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5675 * sysdeps/i386/configure: Regenerated.
5676 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5677 STABS_CURRENT_FILE, and STABS_FUN.
5678 (END): Remove call to STABS_FUN_END.
5679 (STABS_CURRENT_FILE1): Delete.
5680 (STABS_CURRENT_FILE): Likewise.
5681 (STABS_FUN): Likewise.
5682 (STABS_FUN_END): Likewise.
5683 (STABS_FUN2): Likewise.
5684 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5685 * sysdeps/x86_64/configure: Regenerated.
5686
5908bf46
RM
56872012-08-14 Roland McGrath <roland@hack.frob.com>
5688
5689 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5690 * elf/dl-lookup.c: Likewise.
5908bf46 5691
f2c05b9e
JM
56922012-08-14 Joseph Myers <joseph@codesourcery.com>
5693
5694 * sysdeps/unix/sysv/linux/kernel-features.h
5695 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5696 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5697 unconditionally.
5698 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5699 unconditionally.
5700 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5701 condition on __ASSUME_CLONE_THREAD_FLAGS.
5702
e11f5155
AJ
57032012-08-14 Andreas Jaeger <aj@suse.de>
5704
5705 * sysdeps/i386/fpu/libm-test-ulps: Update.
5706
51a9ba86
MK
57072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5708
2fdd4f78
AJ
5709 * include/atomic.h (atomic_exchange_and_add): Split into ...
5710 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5711 New atomic macros.
51a9ba86 5712
ba6cba9e
MT
57132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5714
5715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5716
42443a47
JL
57172012-08-13 Jeff Law <law@redhat.com>
5718
5719 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5720 null byte in the output string.
5721
121dce05
JM
57222012-08-10 Joseph Myers <joseph@codesourcery.com>
5723
5724 * sysdeps/unix/sysv/linux/kernel-features.h
5725 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5726 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5727 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5728 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5729 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5730 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5731 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5732
bf51f568
JL
57332012-08-09 Jeff Law <law@redhat.com>
5734
5735 [BZ #13939]
5736 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5737 When avoid_arena is set, don't retry in the that arena. Pick the
5738 next one, whatever it might be.
5739 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5740 (arena_lock): Pass in new parameter to arena_get2.
5741 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5742 arena_get2.
5743 (__libc_malloc): Unify retrying after main arena failure with
5744 __libc_memalign version.
5745 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5746
f85fa270
L
57472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5748
5749 [BZ #14166]
5750 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5751 to __redirect_strstr.
5752 (__strstr_sse42): Use typeof __redirect_strstr.
5753 (__strstr_ia32): Likewise.
5754 (__libc_strstr): New prototype.
5755 (strstr): Renamed to ...
5756 (__libc_strstr): This.
5757 (strstr): New strong alias of __libc_strstr.
5758 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5759 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5760 __redirect_time.
5761 Include <time.h>.
5762 (__libc_time): New prototype.
5763 (time_ifunc): Replace time with __libc_time.
5764 (time): New strong alias and hidden definition of __libc_time.
5765 (__GI_time): Remove strong alias.
5766 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5767 Include <stddef.h>.
5768 (memmove): Redefined to __redirect_memmove.
5769 (__memmove_sse2): Use typeof __redirect_memmove.
5770 (__memmove_ssse3): Likewise.
5771 (__memmove_ssse3_back): Likewise.
5772 (__libc_memmove): New prototype.
5773 (memmove): Renamed to ...
5774 (__libc_memmove): This.
5775 (memmove): New strong alias of __libc_memmove.
5776
33b4a91e
MS
57772012-08-08 Mark Salter <msalter@redhat.com>
5778
5779 * elf/elf.h
5780 (R_MN10300_TLS_GD): Define.
5781 (R_MN10300_TLS_LD): Likewise.
5782 (R_MN10300_TLS_LDO): Likewise.
5783 (R_MN10300_TLS_GOTIE): Likewise.
5784 (R_MN10300_TLS_IE): Likewise.
5785 (R_MN10300_TLS_LE): Likewise.
5786 (R_MN10300_TLS_DTPMOD): Likewise.
5787 (R_MN10300_TLS_DTPOFF): Likewise.
5788 (R_MN10300_TLS_TPOFF): Likewise.
5789 (R_MN10300_SYM_DIFF): Likewise.
5790 (R_MN10300_ALIGN): Likewise.
5791 (R_MN10300_NUM): Update.
5792
b36137f1
JM
57932012-08-08 Joseph Myers <joseph@codesourcery.com>
5794
5795 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5796 Remove.
5797
cdd915fd
RM
57982012-08-08 Roland McGrath <roland@hack.frob.com>
5799
a2433aac
RM
5800 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5801
cdd915fd
RM
5802 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5803 sysdeps/unix -> sysdeps/posix move.
5804 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5805
bf9b740a
AM
58062012-08-07 Allan McRae <allan@archlinux.org>
5807
5808 [BZ #14303]
5809 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5810 (SUNOS_CPP): Likewise.
5811 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5812 not found.
5813 (open_input): Call CPP using execvp.
5814
93df14ee
JM
58152012-08-07 Joseph Myers <joseph@codesourcery.com>
5816
5817 * sysdeps/unix/sysv/linux/kernel-features.h
5818 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5819 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5820 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5821 (__ASSUME_WAITID_SYSCALL): Likewise.
5822 * sysdeps/unix/sysv/linux/dl-execstack.c
5823 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5824 code unconditional.
5825 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5826 conditional code.
5827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5828 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5829 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5830 code.
5831 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5832 unconditional.
5833 [__ASSUME_WAITID_SYSCALL]: Likewise.
5834 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5835
d34689de
RM
58362012-08-07 Roland McGrath <roland@hack.frob.com>
5837
a281decc
RM
5838 * sysdeps/unix/closedir.c: Renamed to ...
5839 * sysdeps/posix/closedir.c: ... here.
5840 * sysdeps/unix/dirfd.c: Renamed to ...
5841 * sysdeps/posix/dirfd.c: ... here.
5842 * sysdeps/unix/dirstream.h: Renamed to ...
5843 * sysdeps/posix/dirstream.h: ... here.
5844 * sysdeps/unix/fdopendir.c: Renamed to ...
5845 * sysdeps/posix/fdopendir.c: ... here.
5846 * sysdeps/unix/opendir.c: Renamed to ...
5847 * sysdeps/posix/opendir.c: ... here.
5848 * sysdeps/unix/readdir.c: Renamed to ...
5849 * sysdeps/posix/readdir.c: ... here.
5850 * sysdeps/unix/readdir_r.c: Renamed to ...
5851 * sysdeps/posix/readdir_r.c: ... here.
5852 * sysdeps/unix/rewinddir.c: Renamed to ...
5853 * sysdeps/posix/rewinddir.c: ... here.
5854 * sysdeps/unix/seekdir.c: Renamed to ...
5855 * sysdeps/posix/seekdir.c: ... here.
5856 * sysdeps/unix/telldir.c: Renamed to ...
5857 * sysdeps/posix/telldir.c: ... here.
5858 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5859 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5860 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5861 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5862
22895b47
RM
5863 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5864 * bits/fcntl.h: ... here.
5865
707a53b6
RM
5866 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5867 not 0.
5868 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5869 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5870 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5871 (struct flock): Move l_start, l_len to the beginning.
5872 Use __pid_t for l_pid.
5873 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5874 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5875 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5876 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5877 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5878 [__USE_LARGEFILE64] (struct flock64): New type.
5879 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5880
f0bd3e25
RM
5881 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5882 * bits/dirent.h: ... here.
5883
d34689de
RM
5884 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5885 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5886
6dad2c06
JM
58872012-08-07 Joseph Myers <joseph@codesourcery.com>
5888
5889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5890 Change from 2.6.0 to 2.6.16.
5891 * sysdeps/unix/sysv/linux/configure: Regenerated.
5892 * sysdeps/unix/sysv/linux/kernel-features.h
5893 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5894 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5895 version.
5896 (__ASSUME_UTIMES): Likewise.
5897 (__ASSUME_CLONE_STOPPED): Remove.
5898 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5899 architectures, not kernel version.
5900 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5901 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5902 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5903 (__ASSUME_WAITID_SYSCALL): Likewise.
5904 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5905 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5906 * README: State 2.6.16 as minimum Linux kernel version. Do not
5907 refer to older versions.
5908
03af9520
RM
59092012-08-06 Roland McGrath <roland@hack.frob.com>
5910
8e49df1d
RM
5911 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5912 Define alphasort64 as an alias.
5913 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5914 Define versionsort64 as an alias.
5915 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5916 Define scandir64 as an alias.
5917 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5918 Define scandirat64 as an alias.
5919 * dirent/alphasort64.c (alphasort64):
5920 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5921 * dirent/versionsort64.c: Likewise.
5922 * dirent/scandir64.c: Likewise.
5923 * dirent/scandirat64.c: Likewise.
5924 * sysdeps/wordsize-64/alphasort.c: File removed.
5925 * sysdeps/wordsize-64/alphasort64.c: File removed.
5926 * sysdeps/wordsize-64/scandir.c: File removed.
5927 * sysdeps/wordsize-64/scandir64.c: File removed.
5928 * sysdeps/wordsize-64/scandirat.c: File removed.
5929 * sysdeps/wordsize-64/scandirat64.c: File removed.
5930 * sysdeps/wordsize-64/versionsort.c: File removed.
5931 * sysdeps/wordsize-64/versionsort64.c: File removed.
5932 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5933 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5934 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5935 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5936 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5937 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5938 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5939 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5940
5941 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5943 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5945 [defined __arch64__ || defined __sparcv9]
5946 (__INO_T_MATCHES_INO64_T): New macro.
5947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5948 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5949 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5950 * sysdeps/unix/sysv/linux/bits/dirent.h
5951 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5952 (_DIRENT_MATCHES_DIRENT64): New macro.
5953
03af9520
RM
5954 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5955 Define lockf64 as an alias.
5956 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5957 Define fseeko64 as an alias.
5958 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5959 Define ftello64 as an alias.
5960 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5961 Define _IO_fgetpos64 and fgetpos64 as aliases.
5962 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5963 Define _IO_fsetpos64 and fsetpos64 as aliases.
5964 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5965 Conditionalize body on this.
5966 * libio/fseeko64.c: Likewise.
5967 * libio/ftello64.c: Likewise.
5968 * libio/iofgetpos64.c: Likewise.
5969 * libio/iofsetpos64.c: Likewise.
5970 * sysdeps/wordsize-64/lockf.c: File removed.
5971 * sysdeps/wordsize-64/lockf64.c: File removed.
5972 * sysdeps/wordsize-64/fseeko.c: File removed.
5973 * sysdeps/wordsize-64/fseeko64.c: File removed.
5974 * sysdeps/wordsize-64/ftello.c: File removed.
5975 * sysdeps/wordsize-64/ftello64.c: File removed.
5976 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5977 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5978 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5979 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5980 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5984 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5986 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5987 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5988 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5989 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5990
5991 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5993 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5995 [defined __arch64__ || defined __sparcv9]
5996 (__OFF_T_MATCHES_OFF64_T): New macro.
5997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5998 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6000 (__OFF_T_MATCHES_OFF64_T): New macro.
6001
c5757acd
L
60022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6003
6004 * stdlib/secure-getenv.c (__secure_getenv): Replace
6005 GLIBC_2_16 with GLIBC_2_17.
6006
3a31811e
L
60072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6010 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6011
faa2bccb
DM
60122012-08-03 David S. Miller <davem@davemloft.net>
6013
6014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6015
85fe1997
JM
60162012-08-03 Joseph Myers <joseph@codesourcery.com>
6017
6018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6019 Remove.
6020 (__ASSUME_CORRECT_SI_PID): Likewise.
6021 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6022 (__ASSUME_TMPFS_NAME): Likewise.
6023 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6024 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6025 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6026 (HAVE_AUX_SECURE): Make definition unconditional.
6027 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6028 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6029
4f75b7a0
RM
60302012-08-03 Roland McGrath <roland@hack.frob.com>
6031
6032 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6033 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6034 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6035 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6036 __eloop_threshold instead of SYMLOOP_MAX.
6037
6038 * sysdeps/generic/eloop-threshold.h: New file.
6039 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6040 of MAXSYMLINKS.
6041 * elf/chroot_canon.c (chroot_canon): Likewise.
6042
7aab07e4
JM
60432012-08-03 Joseph Myers <joseph@codesourcery.com>
6044
6045 [BZ #13717]
6046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6047 Change to 2.6.0 everywhere.
6048 * sysdeps/unix/sysv/linux/configure: Regenerated.
6049 * sysdeps/unix/sysv/linux/kernel-features.h
6050 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6051 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6052 kernel versions.
6053 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6054 (__ASSUME_FUTEX_REQUEUE): Remove.
6055 (__ASSUME_STATFS64): Define unconditionally.
6056 (__ASSUME_AT_SECURE): Likewise.
6057 (__ASSUME_CORRECT_SI_PID): Likewise.
6058 (__ASSUME_TGKILL): Define without depending on kernel version for
6059 i386.
6060 (__ASSUME_UTIMES): Likewise.
6061 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6062 kernel version.
6063 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6064 (__ASSUME_TMPFS_NAME): Likewise.
6065 * README: Update reference to Linux kernel versions.
6066
b67e9372
MP
60672012-08-02 Marek Polacek <polacek@redhat.com>
6068
1f529f7d 6069 [BZ# 14150]
b67e9372
MP
6070 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6071 libc_cv_asm_type_prefix with %.
6072 * configure: Regenerated.
d2441631
RM
6073 * include/libc-symbols.h: Remove comment about
6074 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6075 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6076 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6077 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6078 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6079 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6080 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6081 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6082 * elf/tst-unique2mod1.c: Likewise.
6083 * elf/tst-unique1mod2.c: Likewise.
6084 * elf/tst-unique1mod1.c: Likewise.
6085 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6086 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6087 Replace ASM_TYPE_DIRECTIVE with .type.
6088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6089 * sysdeps/i386/sysdep.h: Likewise.
6090 * sysdeps/x86_64/sysdep.h: Likewise.
6091 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6093 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6094 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6095 * sysdeps/powerpc/powerpc32/sysdep.h:
6096 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6097 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6098 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6099 * sysdeps/i386/fpu/e_powf.S: Likewise.
6100 * sysdeps/i386/fpu/e_expl.S: Likewise.
6101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6102 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6103 * sysdeps/i386/fpu/e_pow.S: Likewise.
6104 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6105 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6106 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6107 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6108 * sysdeps/i386/fpu/e_log2.S: Likewise.
6109 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6110 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6111 * sysdeps/i386/fpu/e_powl.S: Likewise.
6112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6113 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6114 * sysdeps/i386/fpu/e_logl.S: Likewise.
6115 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6116 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6117 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6118 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6119 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6120 * sysdeps/i386/fpu/e_log.S: Likewise.
6121 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6122 * sysdeps/i386/fpu/e_logf.S: Likewise.
6123 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6124 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6125 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6126 * sysdeps/i386/fpu/e_log10.S: Likewise.
6127 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6128 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6129 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6130 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6133 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6134 * sysdeps/i386/i686/strtok.S: Likewise.
6135 * sysdeps/i386/i386-mcount.S: Likewise.
6136 * sysdeps/i386/strtok.S: Likewise.
6137 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6138 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6139 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6140 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6141 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6142 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6143 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6144 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6145 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6146 * sysdeps/x86_64/_mcount.S: Likewise.
6147 * sysdeps/x86_64/strtok.S: Likewise.
6148 * sysdeps/sh/_mcount.S: Likewise.
6149
2747bf9a
RM
61502012-08-01 Roland McGrath <roland@hack.frob.com>
6151
6152 * libio/iofopen.c: Include <fcntl.h>.
6153 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6154 (_IO_fopen64, fopen64): Define as aliases.
6155 * libio/iofopen64.c: Include <fcntl.h>.
6156 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6157 Conditionalize body on this.
6158 * sysdeps/wordsize-64/iofopen.c: File removed.
6159 * sysdeps/wordsize-64/iofopen64.c: File removed.
6160
3fb791b8
MP
61612012-08-01 Marek Polacek <polacek@redhat.com>
6162
6163 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6164 Use dlfcn directly instead of a variable.
6165 (binfmt-subdir): Do not define.
6166 (dlfcn): Likewise.
6167
a9f1039f
JM
61682012-08-01 Joseph Myers <joseph@codesourcery.com>
6169
23bddc06
JM
6170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6171 Remove all definitions.
6172 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6173 <kernel-features.h>.
6174 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6175 (miss_F_GETOWN_EX): Remove all definitions.
6176 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6177 macro definition.
6178 [!__ASSUME_FCNTL64]: Remove conditional code.
6179 [__ASSUME_FCNTL64]: Make code unconditional.
6180 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6181 <kernel-features.h>.
6182 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6183 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6184 (lockf64) [__NR_fcntl64]: Make code unconditional.
6185 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6186
a9f1039f
JM
6187 * sysdeps/unix/sysv/linux/kernel-features.h
6188 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6189 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6190 Make code unconditional.
6191 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6192 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6194 [__NR_vfork]: Make code unconditional.
6195 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6196 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6198 [__NR_vfork]: Make code unconditional.
6199 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6200 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6201
09c0ee5f
RM
62022012-08-01 Roland McGrath <roland@hack.frob.com>
6203
48aec5b9
RM
6204 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6205 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6206
cd97c966
RM
6207 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6208 Define mkstemp64 as an alias.
3f55550c
RM
6209 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6210 Define mkstemps64 as an alias.
cd97c966
RM
6211 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6212 Define mkostemp64 as an alias.
b8625cfc
RM
6213 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6214 Define mkostemps64 as an alias.
cd97c966
RM
6215 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6216 Conditionalize body on this.
6217 * misc/mkostemp64.c: Likewise.
b8625cfc 6218 * misc/mkostemps64.c: Likewise.
3f55550c 6219 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6220 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6221 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6222 * sysdeps/wordsize-64/mkostemp.c: File removed.
6223 * sysdeps/wordsize-64/mkstemp.c: File removed.
6224 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6228
09c0ee5f
RM
6229 [BZ #14138]
6230 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6232 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6233 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6234
6235 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6236 compat_symbol macros from <shlib-compat.h> rather than the underlying
6237 default_symbol_version and symbol_version macros, so that DEFAULT
6238 lines in shlib-versions are respected.
6239 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6240
7e66ee51
FW
62412012-08-01 Florian Weimer <fweimer@redhat.com>
6242
6243 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6244 Declare with warn_unused_result.
6245 (setgid, setregid, setegid, setresgid): Likewise.
6246 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6247 Likewise.
6248 * WUR-REPORT: Remove set*id functions.
6249
d2a54255
PT
62502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6251
6252 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6253
7ecdb005
RM
62542012-07-31 Roland McGrath <roland@hack.frob.com>
6255
789bd351
RM
6256 * include/sys/socket.h (__libc_accept, __libc_accept4):
6257 Add attribute_hidden.
6258 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6259
40ce302d
RM
6260 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6261 use of PTR_MANGLE.
6262 * inet/getnetgrent_r.c (setup): Likewise.
6263
7ecdb005
RM
6264 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6265
e2eabb2c
DM
62662012-07-31 David S. Miller <davem@davemloft.net>
6267
6268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6269
d0419dbf
JM
62702012-07-31 Joseph Myers <joseph@codesourcery.com>
6271
6272 [BZ #13629]
6273 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6274 value between 1.0 and 2.0 and smaller part has absolute value less
6275 than 1.0.
6276 * math/s_clog10.c (__clog10): Likewise.
6277 * math/s_clog10f.c (__clog10f): Likewise.
6278 * math/s_clog10l.c (__clog10l): Likewise.
6279 * math/s_clogf.c (__clogf): Likewise.
6280 * math/s_clogl.c (__clogl): Likewise.
6281 * math/libm-test.inc (clog_test): Add more tests.
6282 (clog10_test): Likewise.
6283 * sysdeps/i386/fpu/libm-test-ulps: Update.
6284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6285
2bc13872
FW
62862012-07-31 Florian Weimer <fweimer@redhat.com>
6287
6288 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6289 Exit with zero in case no suitable GID is found, and write a
6290 message to standard error.
6291
bea9b193
RM
62922012-07-30 Roland McGrath <roland@hack.frob.com>
6293
6294 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6295 rather than to 1.
6296 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6297 (MAXPATHLEN): Removed.
6298 (NOGROUP, NODEV): New macros.
6299 (setbit, clrbit, isset, isclr): New macros.
6300 (howmany, roundup, powerof2): New macros.
6301 (DEV_BSIZE): New macro.
6302
6303 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6304 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6305
6306 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6307 definition on [!__NO_LONG_DOUBLE_MATH].
6308
6309 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6310 PTR_MANGLE and PTR_DEMANGLE.
6311
6312 * socket/accept4.c (accept4): Rename to __libc_accept4.
6313 Define accept4 as a weak alias.
6314
6315 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6316 on [_DIRENT_HAVE_D_TYPE].
6317 * io/ftw.c (ftw_dir): Likewise.
6318
6319 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6320
6321 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6322
6323 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6324 Use the BSD numbers rather than the arbitrary ones we had.
6325 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6326 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6327 (SIGXCPU, SIGXFSZ): New macros.
6328 (_NSIG): Now 32.
6329
6330 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6331 initializer on [_LIBC_REENTRANT].
6332
6333 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6334 definitions inside [_POSIX_MAPPED_FILES].
6335
6336 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6337
6338 * dirent/opendir.c: Include <fcntl.h>.
6339
6340 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6341 (__libc_getspecific): Likewise.
6342 (__libc_key_create): Likewise.
6343
6344 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6345 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6346 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6347 (tmpfile64): Define as alias.
6348 * sysdeps/wordsize-64/tmpfile.c: File removed.
6349 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6352
6353 * stdio-common/vfscanf.c: Include <stdbool.h>.
6354 * nss/makedb.c: Likewise.
6355 * stdio-common/_i18n_number.h: Likewise.
6356 * argp/argp-help.c: Likewise.
6357 * posix/wordexp.c: Likewise.
6358 * sysdeps/posix/spawni.c: Likewise.
6359 * nss/nss_files/files-initgroups.c: Likewise.
6360 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6361 * nss/nss_files/files-initgroups.c: Likewise.
6362 * nss/nss_db/db-netgrp.c: Likewise.
6363 * nss/nss_db/db-initgroups.c: Likewise.
6364 * io/fchmodat.c: Include <sys/stat.h>.
6365
6366 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6367 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6368
6369 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6370 [HAVE_MMAP].
6371
6372 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6373 Add multiple inclusion protection.
6374
e5abc686
DM
63752012-07-27 David S. Miller <davem@davemloft.net>
6376
6377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6378
815e6fa3
GB
63792012-07-27 Gary Benson <gbenson@redhat.com>
6380
6381 [BZ #14298]
6382 * elf/rtld.c: Include <stap-probe.h>.
6383 (dl_main): Added static probes "init_start" and "init_complete".
6384 * elf/dl-load.c: Include <stap-probe.h>.
6385 (lose): Take new parameter "nsid".
6386 Added static probe "map_failed".
6387 (_dl_map_object_from_fd): Pass namespace id to lose.
6388 Added static probe "map_start".
6389 (open_verify): Pass namespace id to lose.
6390 * elf/dl-open.c: Include <stap-probe.h>.
6391 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6392 and "reloc_complete".
6393 * elf/dl-close.c: Include <stap-probe.h>.
6394 (_dl_close_worker): Added static probes "unmap_start" and
6395 "unmap_complete".
6396 * elf/rtld-debugger-interface.txt: New file documenting the above.
6397
9f98c16c
RM
63982012-07-26 Roland McGrath <roland@hack.frob.com>
6399
6400 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6401 rather than a string variable.
6402 * sunrpc/rpc_main.c (h_output): Likewise.
6403 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6404
f3c22df3
PT
64052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6406
6407 * inet/check_native.c: New file.
6408
3129cfc6
JM
64092012-07-26 Joseph Myers <joseph@codesourcery.com>
6410
da865e95
JM
6411 [BZ #13629]
6412 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6413 if larger part has absolute value 1.0.
6414 * math/s_clog10.c (__clog10): Likewise.
6415 * math/s_clog10f.c (__clog10f): Likewise.
6416 * math/s_clog10l.c (__clog10l): Likewise.
6417 * math/s_clogf.c (__clogf): Likewise.
6418 * math/s_clogl.c (__clogl): Likewise.
6419 * math/libm-test.inc (clog_test): Add more tests.
6420 (clog10_test): Likewise.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6423
3129cfc6
JM
6424 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6425 (pltexit): Likewise.
6426 (La_regs): Likewise.
6427 (La_retval): Likewise.
6428 (int_retval): Likewise.
6429 Update #error for removed macros to refer only to definitions in
6430 tst-audit.h.
6431 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6432 macro.
6433 (pltexit): Likewise.
6434 (La_regs): Likewise.
6435 (La_retval): Likewise.
6436 (int_retval): Likewise.
6437 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6438 macro.
6439 (pltexit): Likewise.
6440 (La_regs): Likewise.
6441 (La_retval): Likewise.
6442 (int_retval): Likewise.
6443 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6444 macro.
6445 (pltexit): Likewise.
6446 (La_regs): Likewise.
6447 (La_retval): Likewise.
6448 (int_retval): Likewise.
6449 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6450 macro.
6451 (pltexit): Likewise.
6452 (La_regs): Likewise.
6453 (La_retval): Likewise.
6454 (int_retval): Likewise.
6455 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6456 macro.
6457 (pltexit): Likewise.
6458 (La_regs): Likewise.
6459 (La_retval): Likewise.
6460 (int_retval): Likewise.
6461 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6462 macro.
6463 (pltexit): Likewise.
6464 (La_regs): Likewise.
6465 (La_retval): Likewise.
6466 (int_retval): Likewise.
6467 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6468 macro definitions in tst-audit.h.
6469 * sysdeps/i386/tst-audit.h: New file.
6470 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6471 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6472 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6473 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6474 * sysdeps/sh/tst-audit.h: Likewise.
6475 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6476 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6477 * sysdeps/x86_64/tst-audit.h: Likewise.
6478
bfc07087
AJ
64792012-07-26 Andreas Jaeger <aj@suse.de>
6480
b1b2aaf8
AJ
6481 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6482 ptrace.
6483
6484 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6485 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6486 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6487 PTRACE_O_MASK.
6488 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6489 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6491
bfc07087
AJ
6492 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6493 value.
6494
6495 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6496 _sigsys.
6497 (si_call_addr, si_syscall, si_arch): Define new macro.
6498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6499 _sigsys.
6500 (si_call_addr, si_syscall, si_arch): Define new marcro.
6501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6502 _sigsys.
6503 (si_call_addr, si_syscall, si_arch): Define new macro.
6504 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6505 _sigsys.
6506 (si_call_addr, si_syscall, si_arch): Define new macro.
6507
89b4b02f
JM
65082012-07-25 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #13717]
6511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6512 Change to 2.4.21 where previously 2.4.1.
6513 * sysdeps/unix/sysv/linux/configure: Regenerated.
6514 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6515 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6516 Linux kernel version.
6517 (__ASSUME_STD_AUXV): Remove.
6518 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6519 kernel version.
6520 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6521 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6522 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6523 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6524 (__ASSUME_NETLINK_SUPPORT): Likewise.
6525 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6526 (__no_netlink_support): Remove conditional definition.
6527 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6528 Remove.
6529 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6530 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6531 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6532 (if_nameindex_ioctl): Remove.
6533 (if_nameindex_netlink): Do not handle __no_netlink_support.
6534 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6535 code.
6536 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6537 Remove conditional code.
6538 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6539 code.
6540 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6541 unconditional.
6542 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6543 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6544 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6545 Remove.
6546 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6547 [!__ASSUME_STD_AUXV]: Remove conditional code.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6549 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6550 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6552 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6553 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6554 code.
6555 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6557 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6558 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6559 conditional code.
6560 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6562 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6563 code.
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6565 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6566 conditional code.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6568 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6569 code unconditional.
6570 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6571 conditional code.
6572 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6573 unconditional.
6574 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6575 conditional code.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6577 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6578 unconditional.
6579 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6580 conditional code.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6582 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6583 code unconditional.
6584 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6585 conditional code.
6586 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6587 unconditional.
6588 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6589 conditional code.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6591 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6592 code unconditional.
6593 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6594 conditional code.
6595 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6596 unconditional.
6597 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6598 conditional code.
6599
842a39cd
AS
66002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6601
6602 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6603 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6604 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6605 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6606 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6607 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6608 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6609 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6610 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6611 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6612 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6613 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6614 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6615 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6617 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6618 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6622 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6624 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6625
84b3fd84
FW
66262012-07-25 Florian Weimer <fweimer@redhat.com>
6627
6628 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6629 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6630 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6631 Introduce __libc_secure_getenv.
0c7936d5
FW
6632 * stdlib/Versions (2.17): Add secure_getenv
6633 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6634 * stdlib/secure-getenv.c: Rename __secure_getenv to
6635 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6636 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6637 * stdlib/tst-secure-getenv.c: New.
6638 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6639 * manual/startup.texi (Environment Access): Document
6640 secure_getenv.
84b3fd84
FW
6641 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6642 __libc_secure_getenv.
6643 * inet/ruserpass.c (ruserpass): Likewise.
6644 * malloc/mtrace.c (mtrace): Likewise.
6645 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6646 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6647 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6648 * sysdeps/posix/tempname.c: Likewise. Evaluate
6649 HAVE_SECURE_GETENV.
6650 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6651 __secure_getenv to __libc_secure_getenv.
84b3fd84 6652 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6654 Likewise.
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6656 Likewise.
6657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6664
56e49b71
JM
66652012-07-25 Joseph Myers <joseph@codesourcery.com>
6666
6667 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6668 (struct La_i86_retval): Likewise.
6669 (struct La_x86_64_regs): Likewise.
6670 (struct La_x86_64_retval): Likewise.
6671 (struct La_x32_regs): Likewise.
6672 (struct La_x32_retval): Likewise.
6673 (struct La_ppc32_regs): Likewise.
6674 (struct La_ppc32_retval): Likewise.
6675 (struct La_ppc64_regs): Likewise.
6676 (struct La_ppc64_retval): Likewise.
6677 (struct La_sh_regs): Likewise.
6678 (struct La_sh_retval): Likewise.
6679 (struct La_s390_32_regs): Likewise.
6680 (struct La_s390_32_retval): Likewise.
6681 (struct La_s390_64_regs): Likewise.
6682 (struct La_s390_64_retval): Likewise.
6683 (struct La_sparc32_regs): Likewise.
6684 (struct La_sparc32_retval): Likewise.
6685 (struct La_sparc64_regs): Likewise.
6686 (struct La_sparc64_retval): Likewise.
6687 (struct audit_ifaces): Remove architecture-specific pltenter and
6688 pltexit members.
6689 * sysdeps/i386/ldsodefs.h: New file.
6690 * sysdeps/powerpc/ldsodefs.h: Likewise.
6691 * sysdeps/s390/ldsodefs.h: Likewise.
6692 * sysdeps/sh/ldsodefs.h: Likewise.
6693 * sysdeps/sparc/ldsodefs.h: Likewise.
6694 * sysdeps/x86_64/ldsodefs.h: Likewise.
6695
354691b7
MP
66962012-07-25 Marek Polacek <polacek@redhat.com>
6697
6698 [BZ #6808]
6699 * math/libm-test.inc (yn_test): Add another test.
6700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6701 to ERANGE when the result is +-Inf.
6702 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6703 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6704 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6705 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6706
bf9e2071
JM
67072012-07-24 Joseph Myers <joseph@codesourcery.com>
6708
6709 * conform/data/time.h-data (NULL): Use macro-constant. Require
6710 equal to 0.
6711 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6712 clock_t.
6713 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6714
57633811
TS
67152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6716
6717 * configure.in <sysdeps resolving>: Correct printing
6718 Implies_before.
6719 * configure: Regenerate.
6720
c23c33b0
TS
67212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6722
6723 * math/w_ilogb.c: Include <limits.h>.
6724 * math/w_ilogbl.c: Likewise.
6725
b5982523
JM
67262012-07-20 Joseph Myers <joseph@codesourcery.com>
6727
6728 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6729 va_copy. Document allowing for unavailable va_copy only as
6730 pre-C99 compatibility.
6731 * manual/string.texi (Copying and Concatenation): Use va_copy
6732 instead of __va_copy in concat example.
6733
ac4ea442
PT
67342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6735
6736 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6737 (__sendto): Use create_address_port. Initialize APORT and deallocate
6738 it if not null.
6739
f98eafbd
PT
6740 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6741 with O_NOLINK passed to __file_name_lookup.
6742
898c7aab
PT
6743 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6744 with O_NOLINK passed to __file_name_lookup.
6745
0ced335a
PT
6746 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6747 negative N or less than NGIDS.
6748
b3404dbd
PT
6749 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6750 type to string_t. Set ERANGE as errno and return it if NAME is not big
6751 enough. Use memcpy instead of strncpy.
6752
0f48659e
JM
67532012-07-20 Joseph Myers <joseph@codesourcery.com>
6754
6755 * elf/Makefile (check-data): Remove.
6756 (localplt.data): New vpath directive.
6757 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6758 instead of $(check-data).
6759 * scripts/data/localplt-generic.data: Move to ...
6760 * sysdeps/generic/localplt.data: ... here.
6761 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6762 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6763 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6765 ... here.
6766 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6768 ... here.
6769 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6771 ... here.
6772 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6774 ... here.
6775 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6777 ... here.
6778 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6780 ... here.
6781
d37cbdaa
AZ
67822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6783
6784 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6785 PPC32 and PPC64 files.
6786 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6787 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6788
46f85fc2
AK
67892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6790
6791 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6792 __makecontext_ret to ...
6793 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6794 ... here and call exit if uc_link is NULL. New file.
6795 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6796 __makecontext_ret.S.
6797 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6798 __makecontext_ret to ...
6799 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6800 ... here and call exit if uc_link is NULL. New file.
6801 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6802 __makecontext_ret.S.
6803
08f43f9b
AK
68042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6805
6806 * elf/elf.h (R_390_IRELATIVE): New definition.
6807 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6808 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6809 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6810 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6811 (elf_machine_lazy_rel): Likewise.
6812 * sysdeps/s390/dl-irel.h: New file.
6813 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6814 * sysdeps/s390/s390-64/memset.S: New asm code.
6815 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6816 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6817 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6818 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6819 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6820 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6821 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6822 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6823 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6824 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6825 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6826 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6827 * sysdeps/s390/s390-32/memset.S: New asm code.
6828 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6829
3b05db33
MP
68302012-07-17 Marek Polacek <polacek@redhat.com>
6831
6832 [BZ #14349]
6833 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6834 * sysdeps/s390/s390-64/configure.in: Likewise.
6835 * sysdeps/sparc/configure.in: Likewise.
6836 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6837 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6838 * sysdeps/i386/configure.in: Likewise.
6839 * sysdeps/x86_64/configure.in: Likewise.
6840 * sysdeps/sh/configure.in: Likewise.
6841 * sysdeps/s390/s390-32/configure: Regenerated.
6842 * sysdeps/s390/s390-64/configure: Likewise.
6843 * sysdeps/x86_64/configure: Likewise.
6844 * sysdeps/sh/configure: Likewise.
6845 * sysdeps/powerpc/powerpc64/configure: Likewise.
6846 * sysdeps/powerpc/powerpc32/configure: Likewise.
6847 * sysdeps/sparc/configure: Likwise.
6848 * sysdeps/i386/configure: Likewise.
6849
a66877c6
MP
6850 * elf/dl-open.c: Comment fixes.
6851
cfc82fd8
JM
68522012-07-17 Joseph Myers <joseph@codesourcery.com>
6853
bd29910a
JM
6854 * Makefile [CXX] (check-data): Remove.
6855 [CXX] (c++-types.data): New vpath directive.
6856 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6857 vpath. Do not allow for C++ type data being missing.
6858 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6859 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6860 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6861 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6862 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6863 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6864 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6866 ... here.
6867 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6869 ... here.
6870 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6872 ... here.
6873 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6875 ... here.
6876 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6878 ... here.
6879 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6881 ... here.
6882 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6884 ... here.
6885 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6887
cfc82fd8
JM
6888 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6889 definitions to architecture-specific files.
6890 (TLS_IE): Likewise.
6891 (TLS_LD): Likewise.
6892 (TLS_GD): Likewise.
6893 * sysdeps/i386/tls-macros.h: New file.
6894 * sysdeps/powerpc/tls-macros.h: Likewise.
6895 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6896 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6897 * sysdeps/sh/tls-macros.h: Likewise.
6898 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6899 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6900 * sysdeps/x86_64/tls-macros.h: Likewise.
6901
f7db3170
TS
69022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6903
07cbfc23
TS
6904 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6905 zero value for regular exit case.
6906
f7db3170
TS
6907 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6908 (__start_context): Preserve zero value for regular exit case.
6909
dc97c227
TS
69102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6911 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6912
6913 * manual/setjmp.texi (setcontext): Clarify normal process
6914 termination when uc_link is the null pointer.
6915 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6916 exit call.
6917
d0cd7d02
AS
69182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6919
6920 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6921 preprocessor. Test for each exception mask separately.
6922
dd318934
AJ
69232012-07-16 Andreas Jaeger <aj@suse.de>
6924
6925 * po/ru.po: Update from translation team.
6926
8048311a
JM
69272012-07-15 Joseph Myers <joseph@codesourcery.com>
6928
6929 * conform/data/string.h-data (NULL): Use macro-constant. Require
6930 equal to 0.
6931 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6932 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6933 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6934 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6935 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6936
b637d46e
AJ
69372012-07-13 Andreas Jaeger <aj@suse.de>
6938
6939 * po/fr.po: Update from translation team.
6940
541428fe
MP
69412012-07-12 Marek Polacek <polacek@redhat.com>
6942
6943 [BZ #14173]
6944 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6946 loop condition.
6947
ec332e94
JM
69482012-07-12 Joseph Myers <joseph@codesourcery.com>
6949
6950 [BZ #13717]
6951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6952 Change to 2.4.1 where previously 2.4.0.
6953 * sysdeps/unix/sysv/linux/configure: Regenerated.
6954 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6955 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6956 version.
6957 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6958 (__ASSUME_AT_CLKTCK): Remove.
6959 (__ASSUME_AT_PAGESIZE): Likewise.
6960 (__ASSUME_AT_XID): Likewise.
6961 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6962 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6963 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6964 unconditionally.
6965 (HAVE_AUX_PAGESIZE): Likewise.
6966 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6967 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6968 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6969
7b6e99be
JB
69702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6971
6972 [BZ #14307]
6973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6974 the temporary buffer used to invoke __gethostbyname2_r,
6975 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6976 host_data / struct gaih_addrtuple.
6977 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6978 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6979 header file nss/nsswitch.h.
6980 * nss/nsswitch.h (global scope): Add definition of implementation
6981 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6982 resolv/nss_dns/dns-host.c).
6983
608404eb
AJ
69842012-07-11 Andreas Jaeger <aj@suse.de>
6985
6986 * po/fr.po: Update from translation team.
6987
71220aca
AJ
6988 * po/sv.po: Update from translation team
6989 * po/fr.po: Another update from translation team.
6990
28cfe843
AZ
69912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6992
6993 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6994 for subnormals or multiply small sinh result by itself.
6995 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6997
6b90f981
DM
69982012-07-11 David S. Miller <davem@davemloft.net>
6999
7000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7001
c6825772
AS
70022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7003
7004 [BZ #14347]
7005 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7006 (INTERNAL_MARK): Shift it here.
7007
7b8e0d49
MP
70082012-07-10 Marek Polacek <polacek@redhat.com>
7009
7010 [BZ #14151]
7011 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7012 libc_cv_asm_global_directive with .globl.
7013 * configure: Regenerated.
7014 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7015 with .globl.
7016 * sysdeps/i386/configure: Regenerated.
7017 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7018 with .globl.
7019 * sysdeps/x86_64/configure: Regenerated.
7020 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7021 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7022 * elf/tst-unique2mod2.c: Likewise.
7023 * elf/tst-unique2mod1.c: Likewise.
7024 * elf/tst-unique1mod2.c: Likewise.
7025 * elf/tst-unique1mod1.c: Likewise.
7026 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7027 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7029 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7030 * sysdeps/mach/sysdep.h: Likewise.
7031 * sysdeps/i386/sysdep.h: Likewise.
7032 * sysdeps/i386/i386-mcount.S: Likewise.
7033 * sysdeps/x86_64/_mcount.S: Likewise.
7034 * sysdeps/x86_64/sysdep.h: Likewise.
7035 * sysdeps/sh/_mcount.S: Likewise.
7036 * sysdeps/sh/sysdep.h: Likewise.
7037 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7038 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7039 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7040 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7041 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7042 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7043 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7044 * locale/localeinfo.h: Likewise.
7045 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7046 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7047
6c55cda3
RM
70482012-07-09 Roland McGrath <roland@hack.frob.com>
7049
7050 [BZ #14336]
7051 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7052 system".
7053 * manual/message.texi (The Uniforum approach): Likewise.
7054 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7055 (glibc iconv Implementation): Likewise.
7056
638a572e
JM
70572012-07-09 Joseph Myers <joseph@codesourcery.com>
7058
7059 [BZ #14337]
7060 * math/s_clog.c (__clog): Avoid scaling a value down where that
7061 could result in underflow.
7062 * math/s_clog10.c (__clog10): Likewise.
7063 * math/s_clog10f.c (__clog10f): Likewise.
7064 * math/s_clog10l.c (__clog10l): Likewise.
7065 * math/s_clogf.c (__clogf): Likewise.
7066 * math/s_clogl.c (__clogl): Likewise.
7067 * math/libm-test.inc (clog_test): Add more tests.
7068 (clog10_test): Likewise.
7069 * sysdeps/i386/fpu/libm-test-ulps: Update.
7070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7071
261f4859
AS
70722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7073
0abaf3e4
AS
7074 [BZ #14283]
7075 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7076 by 7 not 8 to examine high bit of fractional part.
7077
261f4859
AS
7078 [BZ #14042]
7079 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7080 for call to __mcount_internal.
7081 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7082 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7083 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7084
f17ac40d
JM
70852012-07-06 Joseph Myers <joseph@codesourcery.com>
7086
9ad63c23
JM
7087 [BZ #14154]
7088 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7089 approximation for values within 0x1p-13f of an odd multiple of
7090 pi/4.
7091 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7092 exception. Add more tests.
7093 * sysdeps/i386/fpu/libm-test-ulps: Update.
7094
f17ac40d
JM
7095 [BZ #6778]
7096 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7097 inputs and return -1 for them. Do not check for +Inf in case not
7098 reachable for +Inf.
7099 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7100 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7101 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7102 and return -1 for them. Do not check for +Inf in case not
7103 reachable for +Inf.
7104 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7105 define.
7106 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7107 and return -1 for them. Do not check for +Inf in case not
7108 reachable for +Inf.
7109 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7110 spurious underflow.
7111 * sysdeps/i386/fpu/libm-test-ulps: Update.
7112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113
fb21f89b
MF
71142012-07-06 Mike Frysinger <vapier@gentoo.org>
7115
7116 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7117
cdfe2c5e
JM
71182012-07-05 Joseph Myers <joseph@codesourcery.com>
7119
7120 [BZ #14157]
7121 [BZ #14331]
7122 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7123 could result in spurious underflow. Scale down values above
7124 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7125 * math/s_csqrtf.c (__csqrtf): Likewise.
7126 * math/s_csqrtl.c (__csqrtl): Likewise.
7127 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7128 spurious underflow.
7129 * sysdeps/i386/fpu/libm-test-ulps: Update.
7130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7131
70d35b67
AS
71322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7133
704bc459
AS
7134 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7135 xopen-msg.sed.
7136 * catgets/xopen-msg.awk: New file.
7137 * catgets/xopen-msg.sed: Removed.
7138
70d35b67
AS
7139 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7140 po2text.sed.
7141 * intl/po2test.awk: New file.
7142 * intl/po2test.sed: Removed.
7143
ca61cf32
JM
71442012-07-04 Joseph Myers <joseph@codesourcery.com>
7145
7146 [BZ #14328]
7147 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7148 or multiply small sinh result by itself.
7149 * math/s_ctanf.c (__ctanf): Likewise.
7150 * math/s_ctanh.c (__ctanh): Likewise.
7151 * math/s_ctanhf.c (__ctanhf): Likewise.
7152 * math/s_ctanhl.c (__ctanhl): Likewise.
7153 * math/s_ctanl.c (__ctanl): Likewise.
7154 * math/libm-test.inc (ctan_test_tonearest): New function.
7155 (ctan_test_towardzero): Likewise.
7156 (ctan_test_downward): Likewise.
7157 (ctan_test_upward): Likewise.
7158 (ctanh_test_tonearest): Likewise.
7159 (ctanh_test_towardzero): Likewise.
7160 (ctanh_test_downward): Likewise.
7161 (ctanh_test_upward): Likewise.
7162 (main): Call these new functions.
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7165
ca48a46a
MF
71662012-07-03 Mike Frysinger <vapier@gentoo.org>
7167
7168 * .gitignore: Delete /ports entry.
7169
9d63d37d
AJ
71702012-07-03 Andreas Jaeger <aj@suse.de>
7171
7172 * po/bg.po: Update from translation team.
7173 * po/cs.po: Likewise.
7174 * po/de.po: Likewise.
7175 * po/hr.po: Likewise.
7176 * po/nl.pl: Likewise.
7177 * po/pl.po: Likewise.
7178 * po/vi.po: Likewise.
7179
370ca3d2
JM
71802012-07-03 Joseph Myers <joseph@codesourcery.com>
7181
95f5a9a8
JM
7182 * Makeconfig [!+link] (+link-before-libc): New variable.
7183 [!+link] (+link-after-libc): Likewise.
7184 [!+link] (+link-tests): Likewise.
7185 [!+link] (+link): Define in terms of $(+link-before-libc) and
7186 $(+link-after-libc).
7187 [!+link-static] (+link-static-before-libc): New variable.
7188 [!+link-static] (+link-static-after-libc): Likewise.
7189 [!+link-static] (+link-static-tests): Likewise.
7190 [!+link-static] (+link-static): Define in terms of
7191 $(+link-static-before-libc) and $(+link-static-after-libc).
7192 [build-shared] (link-libc-before-gnulib): New variable.
7193 [build-shared] (link-libc-tests): Likewise.
7194 [build-shared] (link-libc): Define in terms of
7195 $(link-libc-before-gnulib).
7196 [!build-shared] (link-libc-tests): New variable.
7197 (link-libc-static-tests): New variable.
7198 [!gnulib] (gnulib-arch): New variable.
7199 [!gnulib] (gnulib-tests): Likewise.
7200 [!gnulib] (static-gnulib-arch): Likewise.
7201 [!gnulib] (static-gnulib-tests): Likewise.
7202 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7203 Define with "=" instead of ":=".
7204 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7205 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7206 * Rules (binaries-all-notests): New variable.
7207 (binaries-all-tests): Likewise.
7208 (binaries-static-notests): Likewise.
7209 (binaries-static-tests): Likewise.
7210 (binaries-all): Define using $(binaries-all-notests) and
7211 $(binaries-all-tests).
7212 (binaries-static): Define using $(binaries-static-notests) and
7213 $(binaries-static-tests).
7214 (binaries-shared-tests): New variable.
7215 (binaries-shared-notests): Likewise.
7216 (binaries-shared): Remove variable.
7217 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7218 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7219 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7220 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7221 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7222 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7223 * elf/Makefile (sln-modules): New variable.
7224 (extra-objs): Add $(sln-modules:=.o).
7225 (ldconfig-modules): Add static-stubs.
7226 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7227 * elf/static-stubs.c: New file.
7228
7a845b2c
JM
7229 [BZ #14283]
7230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7231 by 7 not 8 to examine high bit of fractional part. Use volatile
7232 variables when splitting into final array of floats if
7233 __FLT_EVAL_METHOD__ != 0.
7234 * math/libm-test.inc (cos_test): Add another test.
7235 (sin_test): Likewise.
7236 * sysdeps/i386/fpu/libm-test-ulps: Update.
7237
e2283f38
JM
7238 [BZ #14273]
7239 * math/libm-test.inc (cosh_test): Add more tests.
7240
370ca3d2
JM
7241 * version.h (RELEASE): Set to "development".
7242 (VERSION): Set to "2.16.90".
7243
ee9247c3
CD
72442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7245
7246 * NEWS: Update copyright. Remove last-updated date.
7247 Mention math library bug fixes and timezone data changes.
7248 * README: Mention GNU/Hurd, x32, and HPPA support status.
7249
4648c381
TS
72502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7251
7252 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7253
aac78a43
AJ
72542012-06-27 Andreas Jaeger <aj@suse.de>
7255
7256 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7257
ed3dbfad
AJ
72582012-06-25 Andreas Jaeger <aj@suse.de>
7259
7260 * sysdeps/s390/fpu/libm-test-ulps: Update.
7261
4d0ee855
AS
72622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7263 Thomas Schwinge <thomas@codesourcery.com>
7264
7265 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7266 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7268 fanotify_mark.
7269
af1bce34
TS
72702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7271
a9fa33ba
TS
7272 * sysdeps/mach/start.c: Remove file.
7273 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7274 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7275 * sysdeps/sh/init-first.c: Likewise.
7276
58f902b8
TS
7277 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7278 registers for frame unwinding purposes, add CFI directives.
7279 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7280 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7281 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7282 Likewise.
7283
1518f58b
TS
7284 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7285 __fortify_fail returning.
7286 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7287
db9b5059
TS
7288 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7289 sysdeps/sh/____longjmp_chk.S.
7290 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7291 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7292 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7293 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7294
967705fe
TS
7295 * sysdeps/sh/abort-instr.h: New file.
7296 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7297 process in case exit returns.
7298
a9def8c4
TS
7299 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7300 initialize the GOT register before use.
7301
2a649725
TS
7302 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7303 calculation of ARGC > 4.
7304
af1bce34
TS
7305 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7306 meaningful names to some local labels.
7307
d230f50a
KK
73082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7309 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7310
7311 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7312 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7313 (__arch_compare_and_exchange_val_16_acq): Likewise.
7314 (__arch_compare_and_exchange_val_32_acq): Likewise.
7315 (atomic_exchange_and_add): Fix gUSA sequence.
7316 (atomic_add): Likewise.
7317 (atomic_add_negative): Likewise.
7318 (atomic_add_zero): Likewise.
7319 (atomic_bit_test_set): Likewise.
7320
0479b305
AS
73212012-06-22 Andreas Schwab <schwab@redhat.com>
7322
7323 [BZ #13579]
7324 * include/link.h (struct link_map): Add l_free_initfini.
7325 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7326 l_initfini.
7327 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7328 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7329 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7330 set.
7331
0e3933b9
CD
73322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7333
7334 * configure.in: Use AC_LANG_SOURCE.
7335 * configure: Regenerate.
7336
4248b1b1
RM
73372012-06-22 Roland McGrath <roland@hack.frob.com>
7338
7339 * configure.in (libc_cv_localstatedir): New substituted variable.
7340 * configure: Regenerated.
7341 * config.make.in (localstatedir): New variable, substituted from
7342 libc_cv_localstatedir.
7343 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7344 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7345 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7346 * sysdeps/gnu/configure: Regenerated.
7347
006dd861
JL
73482012-06-21 Jeff Law <law@redhat.com>
7349
7350 [BZ #14277]
7351 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7352 free. Simplify list management for _LIBC case.
7353
79662d42
JM
73542012-06-21 Joseph Myers <joseph@codesourcery.com>
7355
b7abb4bf
JM
7356 [BZ #14273]
7357 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7358 Clear sign bit of 64-bit integer value before comparing against
7359 overflow value.
7360
79662d42
JM
7361 * sysdeps/mach/configure: Regenerated.
7362
1f150908
L
73632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7364
7365 [BZ #14278]
7366 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7367
28363bbf
JL
73682012-06-21 Jeff Law <law@redhat.com>
7369
7370 [BZ #13882]
7371 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7372 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7373 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7374 * elf/dl-open.c (dl_open_worker): Likewise.
7375
09615db4
CD
73762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7377
7378 * scripts/list-sources.sh: Scan PORTS for translations.
7379 * po/libc.pot: Regenerated.
7380
2174c6dd
AJ
73812012-06-21 Andreas Jaeger <aj@suse.de>
7382
7383 [BZ #12194]
7384 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7385 warning.
7386 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7387 * bits/byteswap-16.h (__bswap_16): Likewise.
7388 * bits/byteswap.h (__bswap_constant_16): Likewise.
7389
3ee947b1
L
73902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7391
7392 [BZ #14117]
a2f34833
L
7393 * sysdeps/i386/fpu_control.h: Removed.
7394 * sysdeps/x86_64/fpu_control.h: Moved to ...
7395 * sysdeps/x86/fpu_control.h: Here.
7396
3ee947b1
L
7397 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7398 (_FPU_SETCW): Likewise.
7399
ed1825f8
L
74002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7401
25f1282a
L
7402 [BZ #14117]
7403 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7404 * sysdeps/x86/fpu/bits/mathinline.h: This.
7405 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7406
ed1825f8
L
7407 [BZ #14050]
7408 [BZ #14117]
7409 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7410 functions if __x86_64__ is defined.
7411
36d54b74
CLT
74122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7413
7414 * string/endian.h: Add !__ASSEMBLER__ condition for including
7415 conversion interfaces.
7416
10285c21
JM
74172012-06-15 Joseph Myers <joseph@codesourcery.com>
7418
7419 [BZ #14241]
7420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7421 of ABS(x) in calculating zero to negative powers other than odd
7422 integers.
7423 * math/libm-test.inc (pow_test): Add more tests.
7424
06c5abbd
AJ
74252012-06-15 Andreas Jaeger <aj@suse.de>
7426
7427 * manual/contrib.texi (Contributors): Update entry of Liubov
7428 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7429 Machado Filho.
7430
a3aeac40
CH
74312012-06-15 Cyril Hrubis <metan@ucw.cz>
7432
7433 * string/string.h: Add __wur to GNU version of strerror_r.
7434
49bdf4c1
L
74352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7436
7437 [BZ #14229]
7438 * string/Makefile (tests): Add tst-strtok_r.
7439 * string/tst-strtok_r.c: New file.
7440 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7441 RAX_LP/RDX_LP on SAVE_PTR.
7442
834f9b8d
RM
74432012-06-14 Roland McGrath <roland@hack.frob.com>
7444
7445 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7446
75fa1921
JM
74472012-06-14 Joseph Myers <joseph@codesourcery.com>
7448
7449 * libm_test.inc (csqrt_test): Allow more spurious underflow
7450 exceptions.
7451 (j0_test): Likewise.
7452 (j1_test): Likewise.
7453 (y0_test): Likewise.
7454 (y1_test): Likewise.
7455
771766df
CD
74562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7457
7458 * po/Makefile (libc.pot): Use UTF-8 charset.
7459
ceb9e56b
PP
74602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7461
7462 [BZ #14210]
7463 Suppress sign-conversion warning from FD_SET.
7464 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7465 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7466 not unsigned long int.
7467 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7468
ddb28975
L
74692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 [BZ #14050]
7472 [BZ #14117]
7473 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7474 __extern_always_inline instead of __extern_inline.
7475 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7476 (__signbit): Likewise.
7477 (__signbitl): Support C++ namespace.
7478 (lrintf): New inline function.
7479 (lrint): Likewise.
7480 (llrintf): Likewise.
7481 (llrint): Likewise.
7482 (fmaxf): Likewise.
7483 (fmax): Likewise.
7484 (fminf): Likewise.
7485 (fmin): Likewise.
7486 (rint): Likewise.
7487 (rintf): Likewise.
7488 (ceil): Likewise.
7489 (ceilf): Likewise.
7490 (floor): Likewise.
7491 (floorf): Likewise.
7492 (nearbyint): Likewise.
7493 (nearbyintf): Likewise.
7494
d7b4fb26
TS
74952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7496
7497 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7498 non-default versions.
7499
eb55f5c2
RM
75002012-06-11 Roland McGrath <roland@hack.frob.com>
7501
7502 [BZ #14218]
7503 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7504
366af02c
TS
75052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7506
99ff6e5c
TS
7507 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7508 (FE_UPWARD, FE_DOWNWARD): Don't define.
7509 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7511
366af02c
TS
7512 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7513 reading it.
7514 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7515 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7516
793ea851
KK
75172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7518
7519 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7521 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7522 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7523
a728a38f
L
75242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7525
7526 [BZ #14117]
c08010c7
L
7527 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7528 * sysdeps/i386/fpu/Implies: New file.
7529 * sysdeps/x86_64/fpu/Implies: Likewise.
7530 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7531 * sysdeps/x86/fpu/bits/fenv.h: This.
7532
a728a38f
L
7533 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7534 __SSE_MATH__.
7535
6e230d11
SP
75362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7537
7538 [BZ #14134]
7539 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7540 character 0xffff that matches the last element of the
7541 conversion table.
7542
1b671feb
AZ
75432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7544
7545 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7546 fmodl commit.
7547
6043738b
AZ
75482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7549
7550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7551 values higher than 25.6283.
7552
34ae0b32
AZ
75532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7554
7555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7556 subnormal exponent extraction and add some __builtin_expect.
7557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7558 Fix for subnormal mantissa calculation.
7559
1214ec8f
MF
75602012-06-04 Mike Frysinger <vapier@gentoo.org>
7561
7562 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7563 cpu2 is -1 and errno is not ENOSYS.
7564
f3d1f93c
L
75652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 [BZ #14117]
0e4a3cd7
L
7568 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7569 * sysdeps/x86/bits/string.h: This.
7570 * sysdeps/x86_64/bits/string.h: Removed.
7571
6704c645
L
7572 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7573 if not compiling for x86-64, but compiling for >= i486.
7574
48495318
L
7575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7576 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7577
14adcbfc
L
7578 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7579 New macro from Linux kernel 3.4.0.
7580 (FP_XSTATE_MAGIC2): Likewise.
7581 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7582 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7583 (struct _fpx_sw_bytes): New struct.
7584 (struct _xsave_hdr): Likewise.
7585 (struct _ymmh_state): Likewise.
7586 (struct _xstate): Likewise.
7587
68e408ab
L
7588 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7589 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7591 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7592 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7593 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7594
f3d1f93c
L
7595 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7596 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7597 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7598 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7599 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7600 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7601
d9dc34cd
TMQMF
76022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7603
7604 [BZ #13743]
7605 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7606 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7607 (sysdep_headers): Include sys/platform/ppc.h.
7608 * sysdeps/powerpc/test-gettimebase.c: Test for
7609 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7610 * manual/Makefile (appendices): Include platform.texi.
7611 * manual/contrib.texi (Contributors): Update @node pointers.
7612 * manual/maint.texi (Maintenance): Likewise.
7613 (Platform): New node.
7614 * manual/platform.texi: New file. Document the new features.
7615
4af3879c
SP
76162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7617 Jakub Jelinek <jakub@redhat.com>
7618
7619 [BZ #14188]
7620 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7621 where __builtin_expect is unavailable.
7622
2fd6ff13
DM
76232012-06-03 David S. Miller <davem@davemloft.net>
7624
7625 * stdlib/longlong.h: Updated from GCC.
7626
173f7220
AS
76272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7628
7629 [BZ #14042]
7630 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7631 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7632 __mcount_internal.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7634 (GLIBC_2.16): Likewise.
7635
f34a1c6f
L
76362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7637
7638 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7639
88a4576f
JM
76402012-06-01 Joseph Myers <joseph@codesourcery.com>
7641
ea32bcdd
JM
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7643 (default-abi): New variable.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7646 variable.
7647 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7648 Likewise.
7649 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7650 Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7652 Likewise.
7653
88a4576f
JM
7654 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7655 definition. Document in comment.
7656
402fe938
DM
76572012-06-01 David S. Miller <davem@davemloft.net>
7658
7659 * stdlib/longlong.h: Updated from GCC.
7660
3553723f
L
76612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7662
7663 [BZ #14117]
3bd872c4
L
7664 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7665 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7666 sys/debugreg.h sys/io.h here.
7667 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7668 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7669 sys/io.h.
7670 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7671 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7672 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7673 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7674 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7675 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7676
3553723f
L
7677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7678 Define only if __x86_64__ is defined.
7679
4842e4fe
JM
76802012-06-01 Joseph Myers <joseph@codesourcery.com>
7681
c5bfe3d5
JM
7682 [BZ #14048]
7683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7684 Use int64_t for variable i.
7685 * math/libm-test.inc (fmod_test): Add more tests.
7686
4842e4fe
JM
7687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7688 z computation is not scheduled after fetestexcept.
7689 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7690 Use math_force_eval instead of asm to ensure calculation scheduled
7691 before exception test.
7692 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7693 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7694
efb73488
AJ
76952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7696
7697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7698 computation is not scheduled after fetestexcept.
7699
29bcce7c
L
77002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7701
7702 [BZ #14117]
7703 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7704 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7705
73a68f94
AZ
77062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7707
7708 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7709 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7710
67b6df78
L
77112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7712
edf2933a 7713 [BZ #14117]
ebc64a18
L
7714 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7715 <bits/wordsize.h>.
7716 (__WCHAR_MIN): Support __WORDSIZE == 64.
7717 (__WCHAR_MAX): Likewise.
7718
edf2933a
L
7719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7721
57c6cf40
L
7722 [BZ #14183]
7723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7724 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7725
67b6df78 7726 [BZ #14117]
8eb6281e
L
7727 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7728 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7729
aac639f4
L
7730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7731 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7732
67b6df78
L
7733 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7734 Defined to 1 if __x86_64__ isn't defined.
7735 (_STAT_VER_LINUX_OLD): New.
7736 (st_atime): Remove duplicate.
7737 (st_mtime): Likewise.
7738 (st_ctime): Likewise.
7739
1c2cfe81
DM
77402012-05-31 David S. Miller <davem@davemloft.net>
7741
7742 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7743 entries.
7744
5be8418c
AS
77452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7746
e7725326
AS
7747 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7748 gen-libm-test.pl.
7749
5be8418c
AS
7750 [BZ #14132]
7751 * elf/dl-reloc.c: Include <_itoa.h>.
7752 (_dl_reloc_bad_type): Remove use of INTUSE.
7753 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7754 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7755 * stdio-common/psiginfo.c (psiginfo): Likewise.
7756 * stdio-common/psignal.c (psignal): Likewise.
7757 * string/strsignal.c (strsignal): Likewise.
7758 * include/signal.h (_sys_siglist): Declare hidden proto.
7759 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7760 INTVARDEF with libc_hidden_data_def.
7761 * stdio-common/itoa-udigits.c: Likewise.
7762 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7763 (_itoa_lower_digits_internal): Remove declaration.
7764 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7765 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7766 (_sys_sigabbrev_internal): Remove aliases.
7767 (_sys_siglist): Define hidden alias.
7768
507352f1
MT
77692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7770
7771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7772 bits/sysctl.h.
7773
42bbb1c3
L
77742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7775
7776 [BZ #14117]
6bd784b6
L
7777 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7778 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7779
8bca20f0
L
7780 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7781 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7782 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7783 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7785 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7786
f9e890a9
L
7787 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7788 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7789 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7790
471101a1
L
7791 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7792 with __addr.
7793 (insw): Likewise.
7794 (insl): Likewise.
7795 (outsb): Likewise.
7796 (outsw): Likewise.
7797 (outsl): Likewise.
7798
6451c862
L
7799 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7801 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7802
a254b8c9
L
7803 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7804 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7806 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7807 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7808 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7809
b8dfdd92
L
7810 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7811 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7812
578cd270
L
7813 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7814 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7815
de662f5f
L
7816 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7818 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7819
25653439
L
7820 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7821 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7822 to ...
7823 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7824
6bad24a0
L
7825 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7826 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7827 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7828
42bbb1c3
L
7829 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7830 for x86-64.
7831 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7832
2d10d547
JM
78332012-05-31 Joseph Myers <joseph@codesourcery.com>
7834
7835 * math/math.h (M_El): Use two more decimal places.
7836 (M_LOG2El): Likewise.
7837 (M_LOG10El): Likewise.
7838 (M_LN2l): Likewise.
7839 (M_LN10l): Likewise.
7840 (M_PIl): Likewise.
7841 (M_PI_2l): Likewise.
7842 (M_PI_4l): Likewise.
7843 (M_1_PIl): Likewise.
7844 (M_2_PIl): Likewise.
7845 (M_2_SQRTPIl): Likewise.
7846 (M_SQRT2l): Likewise.
7847 (M_SQRT1_2l): Likewise.
7848
f230c29b
DM
78492012-05-31 David S. Miller <davem@davemloft.net>
7850
7851 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7852 values between float registers.
7853 * sysdeps/sparc/sparc64/memset.S: Likewise.
7854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7855
fed806c3
MF
78562012-05-31 Mike Frysinger <vapier@gentoo.org>
7857
7858 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7859 -D_FORTIFY_SOURCE=1.
7860 (CPPFLAGS-tst-longjmp_chk.c): Define.
7861 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7862 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7863 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7864 CFLAGS-tst-wchar-h.c.
7865
30917259
MP
78662012-05-31 Marek Polacek <polacek@redhat.com>
7867
7868 [BZ #14132]
7869 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7870 __endmntent_internal): Remove declaration.
7871 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7872 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7873 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7874
1c58d5dc
DM
78752012-05-30 David S. Miller <davem@davemloft.net>
7876
7877 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7878 (___Q_simulate_exceptions): Use real FP ops rather than writing
7879 into the %fsr.
7880 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7881 Likewise.
7882
7dc00e0d
L
78832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 [BZ #14117]
0bd53985
L
7886 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7887 * sysdeps/x86/bits/xtitypes.h: This.
7888
3a257e66
L
7889 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7890 * sysdeps/x86/bits/wordsize.h: This.
7891
62f62904
L
7892 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7893 * sysdeps/x86/bits/huge_vall.h: This.
7894
404fe9d9
L
7895 * sysdeps/i386/bits/select.h: Removed.
7896 * sysdeps/x86_64/bits/select.h: Renamed to ...
7897 * sysdeps/x86/bits/select.h: This.
7898
d48d0446
L
7899 * sysdeps/i386/bits/setjmp.h: Removed.
7900 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7901 * sysdeps/x86/bits/setjmp.h: This.
7902
7dc00e0d
L
7903 * sysdeps/i386/bits/mathdef.h: Removed.
7904 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7905 * sysdeps/x86/bits/mathdef.h: This.
7906
03277f8f
AS
79072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7908
7909 [BZ #14132]
7910 * include/sys/socket.h (__connect_internal)
7911 (__libc_sa_len_internal): Remove declaration.
7912 (__connect, __libc_sa_len): Declare hidden_proto.
7913 (SA_LEN): Remove use of INTUSE.
7914 * socket/connect.c: Add libc_hidden_def.
7915 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7916 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7917 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7918 alias.
7919 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7920 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7921 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7922 of adding _internal alias.
7923
13764867
L
79242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7925
7926 [BZ #14117]
6bd97696
L
7927 * sysdeps/i386/bits/link.h: Removed.
7928 * sysdeps/i386/bits/linkmap.h: Likewise.
7929 * sysdeps/x86_64/bits/link.h: Renamed to ...
7930 * sysdeps/x86/bits/link.h: This.
7931 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7932 * sysdeps/x86/bits/linkmap.h: This.
7933
f726f0bb
L
7934 * sysdeps/i386/bits/endian.h: Removed.
7935 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7936 * sysdeps/x86/bits/endian.h: This.
7937
13764867
L
7938 * sysdeps/i386/bits/byteswap.h: Removed.
7939 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7940 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7941 * sysdeps/x86/bits/byteswap.h: This.
7942 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7943 * sysdeps/x86/bits/byteswap-16.h: This.
7944 * sysdeps/i386/Implies: Add x86.
7945 * sysdeps/x86_64/Implies: Likewise.
7946
ae251b0b
DM
79472012-05-30 David S. Miller <davem@davemloft.net>
7948
7949 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7950 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7951 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7952 (FP_TRAPPING_EXCEPTIONS): Define.
7953 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7954 (FP_TRAPPING_EXCEPTIONS): Define.
7955 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7956 subnormals only when inexact has been signalled or underflow
7957 exceptions are enabled.
7958 (_FP_PACK_CANONICAL): Likewise.
7959
d5c90867
L
79602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7961
7962 [BZ #14183]
7963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7964 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7965
63f1549e
RH
79662012-05-30 Richard Henderson <rth@twiddle.net>
7967
8d8f2279
RH
7968 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7969 with #ifndef NOT_IN_libc.
7970
63f1549e
RH
7971 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7972 marked to avoid plt entry.
7973
0ab0291b
L
79742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 [BZ #14112]
7977 * Makeconfig (default-abi): New macro.
7978 (abi-includes): Likewise.
7979 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7980 $(abi-$(default-abi)-lib-soname) for soname if defined.
7981 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7982 abi-variants.
7983 * Makefile (installed-stubs): Likewise.
7984 * include/stubs-biarch.h: Removed.
7985 * scripts/lib-names.awk: Only handle one library at a time.
7986 * scripts/soversions.awk: Remove WORDSIZE support.
7987 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7988 entries.
7989 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7990 Removed.
7991 (syscall-list-default-condition): Likewise.
7992 (syscall-list-default-condition): Likewise.
7993 (syscall-list-includes): Likewise.
7994 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7995 syscall-list-* with abi-*. Handle undefined abi-variants.
7996 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7997 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7998 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7999 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8000 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8001 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8002 Removed.
8003 (syscall-list-32-options): Likewise.
8004 (syscall-list-32-condition): Likewise.
8005 (syscall-list-64-options): Likewise.
8006 (syscall-list-64-condition): Likewise.
8007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8008 macro.
8009 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8010 Renamed to ...
8011 (abi-*): This.
8012 (abi-64-ld-soname): New macro.
8013 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8014 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8015 Renamed to ...
8016 (abi-*): This.
8017 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8018 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8019
4da0431d
JM
80202012-05-30 Joseph Myers <joseph@codesourcery.com>
8021
3a85279c
JM
8022 * sysdeps/unix/sysv/linux/kernel-features.h
8023 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8024 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8025 include <kernel-features.h>.
8026 [!__NR_ftruncate64]: Remove conditional code.
8027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8028 [__NR_ftruncate64]: Make code unconditional.
8029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8030 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8031 include <kernel-features.h>.
8032 [!__NR_ftruncate64]: Remove conditional code.
8033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8034 [__NR_ftruncate64]: Make code unconditional.
8035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8037 include <kernel-features.h>.
8038 [!__NR_ftruncate64]: Remove conditional code.
8039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8040 [__NR_ftruncate64]: Make code unconditional.
8041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8043 include <kernel-features.h>.
8044 [!__NR_ftruncate64]: Remove conditional code.
8045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8046 [__NR_ftruncate64]: Make code unconditional.
8047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8048
4da0431d
JM
8049 * configure.in (libc_cv_fpie): Weaken to a compile test using
8050 LIBC_TRY_CC_OPTION.
8051 * configure: Regenerated.
8052
11ef492c
AK
80532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8054
8055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8059 Refreshed.
8060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8066 Refreshed.
8067
d66ef399
DM
80682012-05-27 David S. Miller <davem@davemloft.net>
8069
8070 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8071 (___Q_zero): New.
8072 (__Q_simulate_exceptions): Return void. Change to simulate
8073 exceptions by writing into the %fsr.
8074 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8075 (__Qp_handle_exceptions): Likewise.
8076 (numbers): Delete.
8077 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8078 __Qp_handle_exceptions.
8079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8080 __Qp_handle_exceptions.
8081 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8082 as unused and give dummy FP_RND_NEAREST initializer.
8083 (FP_INHIBIT_RESULTS): Define.
8084 (___Q_simulate_exceptions): Update declaration.
8085 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8086 formatting.
8087 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8088 as unused and give dummy FP_RND_NEAREST initializer.
8089 (__Qp_handle_exceptions): Update declaration.
8090 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8091 formatting.
8092
04fb54b5
TS
80932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8094
8095 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8096 the temporary FPU control word.
8097 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8098 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8099 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8100 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8101 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8102 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8103 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8104 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8105 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8106 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8108
3f99608f
KK
81092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8110
8111 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8112 fields.
8113
65a4de4e
CLT
81142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8115
8116 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8117 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8118 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8119 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8120 Likewise.
8121 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8122 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8123 Likewise.
8124
15749d40
UD
81252012-05-27 Ulrich Drepper <drepper@gmail.com>
8126
8127 * po/h.po: Update from translation team.
8128
25dbcb27
AS
81292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8130
3d3f8e55
AS
8131 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8132
25dbcb27
AS
8133 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8134 handling of denormals.
8135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8136 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8137 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8138 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8142 Likewise.
8143
7ad47a80 81442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8145
8146 [BZ #14152]
8147 * math/libm-test.inc (fma_test): Don't always expect underflow
8148 exception.
8149
9c6ea9fa
SP
81502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8151
8152 [BZ #12416]
8153 * elf/tst-execstack.c: Include stackinfo.h.
8154 (do_test): Adjust test case to ensure that pthread_getattr_np
8155 behaviour remains the same after marking stack executable.
8156
a8239222
JM
81572012-05-25 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sysdeps/unix/sysv/linux/kernel-features.h
8160 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8161 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8162 kernel-features.h.
8163 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8164 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8165 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8166 kernel-features.h.
8167 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8168 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8169
918b5606
L
81702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 * configure.in: Define the default includes to being none.
8173 * configure: Regenerated.
8174
3a097cc7
RM
81752012-05-25 Roland McGrath <roland@hack.frob.com>
8176
8422c9a5
RM
8177 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8178 * sysdeps/x86_64/setjmp.S: Likewise.
8179 * sysdeps/i386/bsd-setjmp.S: Likewise.
8180 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8181 * sysdeps/i386/setjmp.S: Likewise.
8182 * sysdeps/i386/__longjmp.S: Likewise.
8183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8184 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8185
3a097cc7
RM
8186 * include/stap-probe.h: New file.
8187 * configure.in: Handle --enable-systemtap.
8188 * configure: Regenerated.
8189 * config.h.in (USE_STAP_PROBE): New #undef.
8190 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8191 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8192 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8193
21708942
JM
81942012-05-25 Joseph Myers <joseph@codesourcery.com>
8195
8196 [BZ #13717]
8197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8198 to 2.4.0 where earlier.
8199 * sysdeps/unix/sysv/linux/configure: Regenerated.
8200 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8201 <kernel-features.h>.
8202 [__ASSUME_32BITUIDS]: Make code unconditional.
8203 [!__ASSUME_32BITUIDS]: Remove conditional code.
8204 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8205 <kernel-features.h>.
8206 [__ASSUME_32BITUIDS]: Make code unconditional.
8207 [!__ASSUME_32BITUIDS]: Remove conditional code.
8208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8209 [__ASSUME_32BITUIDS]: Make code unconditional.
8210 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8211 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8212 <kernel-features.h>.
8213 [__ASSUME_32BITUIDS]: Make code unconditional.
8214 [!__ASSUME_32BITUIDS]: Remove conditional code.
8215 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8216 <kernel-features.h>.
8217 [__ASSUME_32BITUIDS]: Make code unconditional.
8218 [!__ASSUME_32BITUIDS]: Remove conditional code.
8219 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8220 <kernel-features.h>.
8221 [__ASSUME_32BITUIDS]: Make code unconditional.
8222 [!__ASSUME_32BITUIDS]: Remove conditional code.
8223 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8224 <kernel-features.h>.
8225 [__ASSUME_32BITUIDS]: Make code unconditional.
8226 [!__ASSUME_32BITUIDS]: Remove conditional code.
8227 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8228 <kernel-features.h>.
8229 [__ASSUME_32BITUIDS]: Make code unconditional.
8230 [!__ASSUME_32BITUIDS]: Remove conditional code.
8231 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8232 <kernel-features.h>.
8233 [__ASSUME_32BITUIDS]: Make code unconditional.
8234 [!__ASSUME_32BITUIDS]: Remove conditional code.
8235 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8236 <kernel-features.h>.
8237 [__ASSUME_32BITUIDS]: Make code unconditional.
8238 [!__ASSUME_32BITUIDS]: Remove conditional code.
8239 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8240 <kernel-features.h>.
8241 [__ASSUME_32BITUIDS]: Make code unconditional.
8242 [!__ASSUME_32BITUIDS]: Remove conditional code.
8243 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8244 <kernel-features.h>.
8245 [__ASSUME_32BITUIDS]: Make code unconditional.
8246 [!__ASSUME_32BITUIDS]: Remove conditional code.
8247 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8248 <kernel-features.h>.
8249 [__ASSUME_32BITUIDS]: Make code unconditional.
8250 [!__ASSUME_32BITUIDS]: Remove conditional code.
8251 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8252 <kernel-features.h>.
8253 [__NR_setresgid] (__setresgid): Do not declare.
8254 [__ASSUME_32BITUIDS]: Make code unconditional.
8255 [!__ASSUME_32BITUIDS]: Remove conditional code.
8256 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8257 <kernel-features.h>.
8258 [__NR_setresuid] (__setresuid): Do not declare.
8259 [__ASSUME_32BITUIDS]: Make code unconditional.
8260 [!__ASSUME_32BITUIDS]: Remove conditional code.
8261 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8262 <kernel-features.h>.
8263 [__ASSUME_32BITUIDS]: Make code unconditional.
8264 [!__ASSUME_32BITUIDS]: Remove conditional code.
8265 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8266 <kernel-features.h>.
8267 [__ASSUME_32BITUIDS]: Make code unconditional.
8268 [!__ASSUME_32BITUIDS]: Remove conditional code.
8269 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8270 <kernel-features.h>.
8271 [__ASSUME_32BITUIDS]: Make code unconditional.
8272 [!__ASSUME_32BITUIDS]: Remove conditional code.
8273 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8274 <kernel-features.h>.
8275 [__ASSUME_32BITUIDS]: Make code unconditional.
8276 [!__ASSUME_32BITUIDS]: Remove conditional code.
8277 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8278 <kernel-features.h>.
8279 [__ASSUME_32BITUIDS]: Make code unconditional.
8280 [!__ASSUME_32BITUIDS]: Remove conditional code.
8281 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8282 <kernel-features.h>.
8283 [__ASSUME_32BITUIDS]: Make code unconditional.
8284 [!__ASSUME_32BITUIDS]: Remove conditional code.
8285 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8286 <kernel-features.h>.
8287 [__ASSUME_32BITUIDS]: Make code unconditional.
8288 [!__ASSUME_32BITUIDS]: Remove conditional code.
8289 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8290 <kernel-features.h>.
8291 [__ASSUME_32BITUIDS]: Make code unconditional.
8292 [!__ASSUME_32BITUIDS]: Remove conditional code.
8293 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8294 <kernel-features.h>.
8295 [__ASSUME_32BITUIDS]: Make code unconditional.
8296 [!__ASSUME_32BITUIDS]: Remove conditional code.
8297 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8298 <kernel-features.h>.
8299 [__ASSUME_32BITUIDS]: Make code unconditional.
8300 [!__ASSUME_32BITUIDS]: Remove conditional code.
8301 * sysdeps/unix/sysv/linux/kernel-features.h
8302 (__ASSUME_SETRESUID_SYSCALL): Remove.
8303 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8304 (__ASSUME_32BITUIDS): Likewise.
8305 (__ASSUME_LDT_WORKS): Likewise.
8306 (__ASSUME_O_DIRECTORY): Likewise.
8307 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8308 architecture but not kernel version.
8309 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8310 (__ASSUME_MMAP2_SYSCALL): Likewise.
8311 (__ASSUME_STAT64_SYSCALL): Likewise.
8312 (__ASSUME_IPC64): Likewise.
8313 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8314 <kernel-features.h>.
8315 [__ASSUME_32BITUIDS]: Make code unconditional.
8316 [!__ASSUME_32BITUIDS]: Remove conditional code.
8317 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8318 <kernel-features.h>.
8319 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8320 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8321 132096]: Remove conditional code.
8322 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8323 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8324 <kernel-features.h>.
8325 [__ASSUME_32BITUIDS]: Make code unconditional.
8326 [!__ASSUME_32BITUIDS]: Remove conditional code.
8327 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8328 <kernel-features.h>.
8329 [__ASSUME_32BITUIDS]: Make code unconditional.
8330 [!__ASSUME_32BITUIDS]: Remove conditional code.
8331 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8332 <kernel-features.h>.
8333 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8334 unconditional.
8335 (__setresgid): Do not declare.
8336 [__ASSUME_32BITUIDS]: Make code unconditional.
8337 [!__ASSUME_32BITUIDS]: Remove conditional code.
8338 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8339 <kernel-features.h>.
8340 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8341 unconditional.
8342 (__setresuid): Do not declare.
8343 [__ASSUME_32BITUIDS]: Make code unconditional.
8344 [!__ASSUME_32BITUIDS]: Remove conditional code.
8345 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8346 <kernel-features.h>.
8347 [__ASSUME_32BITUIDS]: Make code unconditional.
8348 [!__ASSUME_32BITUIDS]: Remove conditional code.
8349 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8350 <kernel-features.h>.
8351 [__ASSUME_32BITUIDS]: Make code unconditional.
8352 [!__ASSUME_32BITUIDS]: Remove conditional code.
8353
a386f1cc
RH
83542012-05-25 Richard Henderson <rth@twiddle.net>
8355
8356 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8357 dl_hwcap to ifunc resolver.
8358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8359 elf_ifunc_invoke.
8360 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8361 dl_hwcap to ifunc resolver.
8362 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8363
b6550497
JM
83642012-05-24 Joseph Myers <joseph@codesourcery.com>
8365
8366 [BZ #14153]
8367 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8368 for |x| <= 2**-26, not 2**-57.
8369 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8370 exception.
8371
b0bc23a1
JL
83722012-05-24 Jeff Law <law@redhat.com>
8373
8374 * stdio-common/Makefile (tests): Add bug25.
8375 * stdio-common/bug25.c: New test.
8376
347c92e9
L
83772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8378
8379 [BZ #13576]
8380 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8381 multiple of MALLOC_ALIGNMENT in size.
8382 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8383
6bcc8b3f
JM
83842012-05-24 Joseph Myers <joseph@codesourcery.com>
8385
8386 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8387 Require >= 256.
8388 (FILENAME_MAX): Use macro-int-constant.
8389 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8390 (_IOFBF): Use macro-int-constant.
8391 (_IOLBF): Likewise.
8392 (_IONBF): Likewise.
8393 (SEEK_CUR): Likewise.
8394 (SEEK_END): Likewise.
8395 (SEEK_SET): Likewise.
8396 (TMP_MAX): Likewise.
8397 (EOF): Use macro-int-constant. Require < 0.
8398 (NULL): Use macro-constant. Require == 0.
8399 (stdin): Require type to be FILE *.
8400 (stdout): Likewise.
8401 (stderr): Likewise.
8402 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8403 macro-int-constant.
8404 (EXIT_SUCCESS): Likewise.
8405 (NULL): Use macro-constant. Require == 0.
8406 (RAND_MAX): Use macro-int-constant.
8407 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8408 [C99-based standards] (strtof): Require function.
8409 [C99-based standards] (strtold): Likewise.
8410 [C99-based standards] (strtoll): Likewise.
8411 [C99-based standards] (strtoull): Likewise.
8412 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8413 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8414 [ISO || ISO99 || ISO11] (math.h): Likewise.
8415 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8416 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8418
d18ea0c5
AS
84192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8420
8421 [BZ #14132]
56d25bb8
AS
8422 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8423 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8424 * intl/dgettext.c (DCGETTEXT): Likewise.
8425 * intl/gettext.c (DCGETTEXT): Likewise.
8426 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8427 * posix/regex_internal.h (gettext): Likewise.
8428 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8429 Remove declaration.
8430 * include/argz.h (__argz_count_internal)
8431 (__argz_stringify_internal): Remove declaration.
8432 (__argz_count, __argz_stringify): Declare hidden proto.
8433 * intl/dcgettext.c: Remove use of INTDEF.
8434 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8435 * string/argz-stringify.c: Likewise.
8436 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8437 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8438 Declare hidden proto.
d18ea0c5
AS
8439 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8440 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8441 Declare hidden proto.
8442 * include/stdio.h (__asprintf_internal): Don't declare.
8443 (__asprintf): Don't define as macro. Declare hidden proto.
8444 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8445 (__fsetlocking): Declare hidden proto.
8446 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8447 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8448 hidden proto.
8449 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8450 (_IO_setlinebuf): Remove use of INTUSE.
8451 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8452 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8453 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8454 Remove declaration.
8455 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8456 (_IO_do_flush): Remove use of INTUSE.
8457 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8458 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8459 (_IO_adjust_column, _IO_least_wmarker)
8460 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8461 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8462 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8463 (_IO_default_doallocate, _IO_wdefault_doallocate)
8464 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8465 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8466 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8467 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8468 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8469 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8470 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8471 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8472 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8473 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8474 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8475 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8476 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8477 proto.
8478 (_IO_flush_all_internal, _IO_adjust_column_internal)
8479 (_IO_default_uflow_internal, _IO_default_finish_internal)
8480 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8481 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8482 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8483 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8484 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8485 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8486 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8487 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8488 (_IO_file_close_internal, _IO_file_close_it_internal)
8489 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8490 (_IO_file_init_internal, _IO_file_attach_internal)
8491 (_IO_file_fopen_internal, _IO_file_read_internal)
8492 (_IO_file_sync_internal, _IO_file_seek_internal)
8493 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8494 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8495 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8496 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8497 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8498 (_IO_list_all_internal, _IO_link_in_internal)
8499 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8500 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8501 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8502 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8503 (_IO_do_write_internal, _IO_padn_internal)
8504 (_IO_getline_info_internal, _IO_getline_internal)
8505 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8506 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8507 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8508 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8509 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8510 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8511 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8512 with libc_hidden_ver, remove use of INTUSE.
8513 * libio/genops.c: Likewise.
8514 * libio/freopen.c: Likewise.
8515 * libio/freopen64.c: Likewise.
8516 * libio/iofclose.c: Likewise.
8517 * libio/iofdopen.c: Likewise.
8518 * libio/iofflush.c: Likewise.
8519 * libio/iofflush_u.c: Likewise.
8520 * libio/iofgets.c: Likewise.
8521 * libio/iofgets_u.c: Likewise.
8522 * libio/iofopen.c: Likewise.
8523 * libio/iofopncook.c: Likewise.
8524 * libio/iofread.c: Likewise.
8525 * libio/iofread_u.c: Likewise.
8526 * libio/ioftell.c: Likewise.
8527 * libio/iofwrite.c: Likewise.
8528 * libio/iogetline.c: Likewise.
8529 * libio/iogets.c: Likewise.
8530 * libio/iogetwline.c: Likewise.
8531 * libio/iopadn.c: Likewise.
8532 * libio/iopopen.c: Likewise.
8533 * libio/ioseekoff.c: Likewise.
8534 * libio/ioseekpos.c: Likewise.
8535 * libio/iosetbuffer.c: Likewise.
8536 * libio/iosetvbuf.c: Likewise.
8537 * libio/ioungetc.c: Likewise.
8538 * libio/ioungetwc.c: Likewise.
8539 * libio/iovdprintf.c: Likewise.
8540 * libio/iovsprintf.c: Likewise.
8541 * libio/iovsscanf.c: Likewise.
8542 * libio/memstream.c: Likewise.
8543 * libio/obprintf.c: Likewise.
8544 * libio/oldfileops.c: Likewise.
8545 * libio/oldiofclose.c: Likewise.
8546 * libio/oldiofdopen.c: Likewise.
8547 * libio/oldiofopen.c: Likewise.
8548 * libio/oldiopopen.c: Likewise.
8549 * libio/oldstdfiles.c: Likewise.
8550 * libio/putc.c: Likewise.
8551 * libio/setbuf.c: Likewise.
8552 * libio/setlinebuf.c: Likewise.
8553 * libio/stdfiles.c: Likewise.
8554 * libio/strops.c: Likewise.
8555 * libio/vasprintf.c: Likewise.
8556 * libio/vscanf.c: Likewise.
8557 * libio/vsnprintf.c: Likewise.
8558 * libio/vswprintf.c: Likewise.
8559 * libio/wfiledoalloc.c: Likewise.
8560 * libio/wfileops.c: Likewise.
8561 * libio/wgenops.c: Likewise.
8562 * libio/wmemstream.c: Likewise.
8563 * libio/wstrops.c: Likewise.
8564 * libio/__fpurge.c: Likewise.
8565 * libio/__fsetlocking.c: Likewise.
8566 * assert/assert.c: Likewise.
8567 * debug/fgets_chk.c: Likewise.
8568 * debug/fgets_u_chk.c: Likewise.
8569 * debug/fread_chk.c: Likewise.
8570 * debug/fread_u_chk.c: Likewise.
8571 * debug/gets_chk.c: Likewise.
8572 * debug/obprintf_chk.c: Likewise.
8573 * debug/vasprintf_chk.c: Likewise.
8574 * debug/vdprintf_chk.c: Likewise.
8575 * debug/vsnprintf_chk.c: Likewise.
8576 * debug/vsprintf_chk.c: Likewise.
8577 * malloc/mtrace.c: Likewise.
8578 * misc/error.c: Likewise.
8579 * misc/syslog.c: Likewise.
8580 * stdio-common/asprintf.c: Likewise.
8581 * stdio-common/fxprintf.c: Likewise.
8582 * stdio-common/getw.c: Likewise.
8583 * stdio-common/isoc99_fscanf.c: Likewise.
8584 * stdio-common/isoc99_scanf.c: Likewise.
8585 * stdio-common/isoc99_vfscanf.c: Likewise.
8586 * stdio-common/isoc99_vscanf.c: Likewise.
8587 * stdio-common/isoc99_vsscanf.c: Likewise.
8588 * stdio-common/printf-prs.c: Likewise.
8589 * stdio-common/printf_fp.c: Likewise.
8590 * stdio-common/printf_fphex.c: Likewise.
8591 * stdio-common/printf_size.c: Likewise.
8592 * stdio-common/putw.c: Likewise.
8593 * stdio-common/scanf.c: Likewise.
8594 * stdio-common/sprintf.c: Likewise.
8595 * stdio-common/tmpfile.c: Likewise.
8596 * stdio-common/vfprintf.c: Likewise.
8597 * stdio-common/vfscanf.c: Likewise.
8598 * stdlib/strfmon_l.c: Likewise.
8599 * sunrpc/openchild.c: Likewise.
8600 * sunrpc/xdr_stdio.c: Likewise.
8601 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8602 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8603
d6c33fda
RM
86042012-05-24 Roland McGrath <roland@hack.frob.com>
8605
c1487492
RM
8606 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8607
8608 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8609 in the third column, to generate for the shared library an IFUNC
8610 that uses _dl_vdso_vsym.
8611 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8612 * Makeconfig (object-suffixes-noshared): New variable.
8613
8614 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8615 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8616 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8617 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8618
d6c33fda
RM
8619 [BZ #14132]
8620 * include/sys/time.h (__gettimeofday): Remove macro.
8621 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8622 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8623 Remove INTDEF.
8624 (__gettimeofday): Add libc_hidden_def.
8625 (gettimeofday): Add libc_hidden_weak.
8626 * sysdeps/mach/gettimeofday.c: Likewise.
8627 * sysdeps/posix/gettimeofday.c: Likewise.
8628 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8629 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8631 (__gettimeofday_internal): Remove strong_alias.
8632 (__gettimeofday): Add libc_hidden_def.
8633 (gettimeofday): Add libc_hidden_weak.
8634 * sysdeps/unix/syscalls.list (gettimeofday):
8635 Remove __gettimeofday_internal alias.
8636
b5a2bbe6
L
86372012-05-24 Daniel Jacobowitz <drow@false.org>
8638 H.J. Lu <hongjiu.lu@intel.com>
8639
8640 [BZ #12495]
8641 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8642 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8643 (largebin_index_32_big): New.
8644 (largebin_index): Use it for 16-byte alignment.
8645 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8646 correction with front_misalign.
8647
cfba4fda
L
86482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8649
7f907421
L
8650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8652 Likewise.
8653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8654 Likewise.
8655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8656 Likewise.
8657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8658 Likewise.
8659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8660 Likewise.
8661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8662 Likewise.
8663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8664 Likewise.
8665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8666 Likewise.
8667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8668 Likewise.
8669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8670 Likewise.
8671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8672 Likewise.
8673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8674 Likewise.
8675
cfba4fda
L
8676 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8677 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8678
80bad0cc
JM
86792012-05-24 Joseph Myers <joseph@codesourcery.com>
8680
7a25eb06
JM
8681 [BZ #10846]
8682 [BZ #14036]
8683 * math/libm-test.inc (exp_test): Add test from bug 14036.
8684 (pow_test): Add test from bug 10846.
8685
795405f9
JM
8686 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8687 and other flags.
8688 (special_function): Do not include flags in test name.
8689 (parse_args): Likewise.
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8695
80bad0cc
JM
8696 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8697 exceptions.
8698 * math/libm-test.inc ("Philosophy"): Update comment about
8699 exception testing.
8700 (UNDERFLOW_EXCEPTION): New macro.
8701 (UNDERFLOW_EXCEPTION_OK): Likewise.
8702 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8703 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8704 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8705 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8706 (INVALID_EXCEPTION_OK): Update value.
8707 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8708 (OVERFLOW_EXCEPTION_OK): Likewise.
8709 (IGNORE_ZERO_INF_SIGN): Likewise.
8710 (test_exceptions): Handle underflow exceptions.
8711 (acos_test): Update for underflow exception expectations.
8712 (cexp_test): Likewise.
8713 (clog_test): Likewise.
8714 (clog10_test): Likewise.
8715 (csqrt_test): Likewise.
8716 (ctan_test): Likewise.
8717 (ctanh_test): Likewise.
8718 (exp_test): Likewise.
8719 (exp10_test): Likewise.
8720 (exp2_test): Likewise.
8721 (expm1_test): Likewise.
8722 (fma_test): Likewise.
8723 (j0_test): Likewise.
8724 (jn_test): Likewise.
8725 (nexttoward_test): Likewise.
8726 (pow_test): Likewise.
8727 (scalbn_test): Likewise.
8728 (scalbln_test): Likewise.
8729 (tan_test): Likewise.
8730 (y1_test): Likewise.
8731 * sysdeps/i386/fpu/libm-test-ulps: Update.
8732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8733
9e0e3d0b
DM
87342012-05-23 David S. Miller <davem@davemloft.net>
8735
8736 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8737 (__libc_sigaction): Remove unused local variables.
8738
ccd0a08f
L
87392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8740
8741 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8742
62bdf9a6
PE
87432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8744
f8591f80
PE
8745 mktime: avoid signed integer overflow
8746 * time/mktime.c (__mktime_internal): Do not mishandle the case
8747 where diff == INT_MIN.
8748
94c7d826
PE
8749 mktime: simplify computation of average
8750 * time/mktime.c (ranged_convert): Use new time_t_avg function
8751 instead of rolling our own (probably-slower) code.
8752
ce73d683
PE
8753 mktime: do not assume signed right shift propagates sign bit
8754 * time/mktime.c (isdst_differ): New static function.
8755 (__mktime_internal): No need to normalize tm_isdst now.
8756 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8757 tm_isdst values.
8758
72a22e59
PE
8759 mktime: merge another wrapv change from gnulib
8760 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8761 from some compilers.
8762
68605433
PE
8763 mktime: remove incorrect attempt at unusual arithmetics
8764 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8765 The code didn't really work on such machines anyway.
8766 (TYPE_MINIMUM): Assume two's complement.
8767 (twos_complement_arithmetic): Verify that long_int and time_t
8768 are two's complement (or unsigned, in the latter case).
8769
03cf7fe3
PE
8770 mktime: check signed shifts on long_int and time_t, too
8771 * time/mktime.c (SHR): Check that shifts work as desired
8772 on the types long_int and time_t too, as SHR is used on
8773 such types.
8774
f04dfbc2
PE
8775 mktime: do not assume 'long' is wide enough
8776 * time/mktime.c (verify): Move decl up.
8777 (long_int): New type.
8778 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8779 to remove assumption in the code that 'long' is wide enough to
8780 store year values. This assumption is not true on x32 and on
8781 some non-glibc platforms.
8782
62bdf9a6
PE
8783 mktime: merge wrapv change from gnulib
8784 * time/mktime.c (WRAPV): New macro.
8785 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8786 (guess_time_tm, __mktime_internal): Do not assume that signed
8787 integer overflow wraps around; modern compilers generate code
8788 where this assumption is no longer valid.
8789
5e292e4f
L
87902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8791
8792 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8793 Replace "jmp L(pseudo_end)" with "ret".
8794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8795 Likewise.
8796
8caf8c87
AJ
87972012-05-23 Andreas Jaeger <aj@suse.de>
8798
8799 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8800 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8801
1a09dc56
AJ
88022012-05-23 Andreas Jaeger <aj@suse.de>
8803 Maximilian Attems <max@stro.at>
8804
8805 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8806 New macros.
8807
1c87aba0
L
88082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8811 code so that pseudo_end is just ret and the stack pointer is
8812 correct also for static library in error case.
8813
40e45bd5
JM
88142012-05-23 Joseph Myers <joseph@codesourcery.com>
8815
c2670533
JM
8816 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8817 move to syscalls.list.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8822
40e45bd5
JM
8823 * manual/install.texi (Running make install): Do not mention Linux
8824 kernel version for which pt_chown is not needed.
8825 (Linux): Do not mention problems with nscd with 2.0 kernels.
8826 * INSTALL: Regenerated.
8827
be08eda5
AJ
88282012-05-23 Andreas Jaeger <aj@suse.de>
8829
8830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8831 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8832 macro.
8833 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8834 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8835 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8837 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8838 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8839 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8843 * sysdeps/unix/sysv/linux/bits/in.h
8844 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8845
a6a056bb
RM
88462012-05-22 Roland McGrath <roland@hack.frob.com>
8847
8848 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8849 (PREPARE_VERSION): Just use assert instead, it will be elided
8850 under [NDEBUG] anyway.
8851
c9009328
L
88522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * sysdeps/unix/sysv/linux/Makefile: Include
8855 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8856 (sysdep_routines): Remove sysctl.
c9009328
L
8857 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8858 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8859 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8860 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8861 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8862
73338355
AJ
88632012-05-22 Andreas Jaeger <aj@suse.de>
8864
8865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8866 that pseudo_end is just ret and the stack pointer is correct also
8867 for static library in error case.
8868
d44638b0
PP
88692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8870
8871 [BZ #14122]
8872 * nss/nsswitch.c (defconfig_entries): New variable.
8873 (__nss_database_lookup): Don't leak defconfig entries.
8874 (nss_parse_service_list): Don't leak on error paths.
8875 (free_database_entries): New function.
8876 (free_defconfig): New function.
8877 (free_mem): Move common code to free_database_entries.
8878
31a39bd8
L
88792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8880
da0331a8
L
8881 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8882 Add arch_prctl.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8884
31a39bd8
L
8885 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8886 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8888 New macro.
8889 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8890 (INTERNAL_SYSCALL_TYPES): Likewise.
8891 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8892 (LOAD_REGS_TYPES_[1-6]): Likewise.
8893 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8894 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8895
45470df3
AZ
88962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8897
8898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8899 copysignl for GLIBC_2_0.
8900 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8901 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8903 logbl for GLIBC_2_0.
8904 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8905 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8906
98a61bcb
L
89072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8908
a4f6e481
L
8909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8911
f63d5db6
L
8912 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8913 Use "neg %eax".
8914
98a61bcb
L
8915 * time/mktime.c: Update copyright years.
8916
95770f14
PE
89172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8918
6226efbd
PE
8919 mktime: merge comment-quoting-style change from gnulib
8920 * time/mktime.c: Quote 'like this' in comments.
8921 The GNU coding standards suggest that we no longer quote `like this',
8922 as "`" and "'" are typically rendered asymmetrically nowadays.
8923 The typical gnulib style is to quote 'like this' when quoting
8924 code, and "like this" when quoting English.
8925
b99e4f78
PE
8926 * time/mktime.c (compile-command): Add "-I.".
8927
643e01e6
PE
8928 mktime: merge mktime-internal.h change from gnulib
8929 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8930
2554247d
PE
8931 mktime: merge time_r change from gnulib
8932 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8933
826dd0ab
PE
8934 mktime: merge DEBUG change from gnulib
8935 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8936 case system <time.h> has a #define.
8937
bd83aabe
PE
8938 mktime: merge <sys/types.h> change from gnulib
8939 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8940 since <time.t> is now guaranteed to define time_t.
8941
95770f14
PE
8942 mktime: merge HAVE_CONFIG_H change from gnulib
8943 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8944
5e1a27a9
L
89452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8946
0e44a77e
L
8947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8948 Use "neg %eax".
8949
5e1a27a9
L
8950 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8951 __rlim_t cast.
8952 (struct rusage): Use anonymous union to pad each field to
8953 __syscall_slong_t.
8954
46259bec
DM
89552012-05-21 David S. Miller <davem@davemloft.net>
8956
8957 * Makefules (o-iterator): Remove .s cases.
8958 (compile-command.s): Delete.
8959 (COMPILE.s): Delete.
8960 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8961
59f0c22e
JM
89622012-05-21 Joseph Myers <joseph@codesourcery.com>
8963
8964 * configure.in (libc_cv_predef_stack_protector): Only consider
8965 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8966 * configure: Regenerated.
8967
20c07380
L
89682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8969
bbb3154b
L
8970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8971 New macro. Use R*LP on int and pointer.
8972 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8973 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8974 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8975 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8976
20c07380
L
8977 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8978 [__WORDSIZE_TIME64_COMPAT32] instead of
8979 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8980 (struct utmp): Likewise.
8981 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8982 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8983 Renamed to ...
8984 (__WORDSIZE_TIME64_COMPAT32): This.
8985 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8986 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8987 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8988 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8989 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8990 (__WORDSIZE_TIME64_COMPAT32): New macro.
8991
d8d1017e
AJ
89922012-05-21 Andreas Jaeger <aj@suse.de>
8993
8994 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8995 only if [SHARED]. Add prototype for __wcschr_ia32.
8996
6c7fb145
RM
89972012-05-21 Roland McGrath <roland@hack.frob.com>
8998
8999 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9000 of %rbp unmolested in the jmp_buf while mangling the low bits.
9001 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9002 unmolested high bits of %rbp while demangling the low bits.
9003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9004
66274218
AJ
90052012-05-21 Andreas Jaeger <aj@suse.de>
9006
07c58f8f
AJ
9007 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9008 * sunrpc/svc_simple.c: Use it for registerrpc.
9009 * sunrpc/xcrypt.c: Use it for passwd2des.
9010
66274218
AJ
9011 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9012
61f65140
L
90132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9014
9015 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9016 Don't define if [__SYSCALL_WORDSIZE != 32].
9017 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9018 New macro.
9019
5fefb436
AJ
90202012-05-21 Bruno Haible <bruno@clisp.org>
9021 Andreas Jaeger <aj@suse.de>
9022
9023 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9024 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9025 inptr and inend for must_buffer_ch.
9026 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9027 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9028 * stdio-common/Makefile (tests): Remove bug15.
9029 (bug15-ENV): Remove macro.
9030 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9031 anymore.
9032
d8e272ab
AJ
90332012-05-19 Andreas Jaeger <aj@suse.de>
9034 Roland McGrath <roland@hack.frob.com>
9035
9036 * manual/contrib.texi: Completely rewritten. It contains now an
9037 alphabetical list of contributors and their contributions.
9038
4a56a162
RH
90392012-05-21 Richard Henderson <rth@twiddle.net>
9040
9041 * misc/getauxval.c (__getauxval): Use unsigned long int.
9042 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9043 (getauxval): Use unsigned long int.
9044
d024d23c
L
90452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9046
9047 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9048
cbc00a03
RM
90492012-05-21 Roland McGrath <roland@hack.frob.com>
9050
9051 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9052 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9053 __alignof__ (long double).
9054
478143fa
AZ
90552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9056
9057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9058
c7683a6d
RH
90592012-05-20 Richard Henderson <rth@twiddle.net>
9060
9061 * misc/getauxval.c: New file.
9062 * misc/sys/auxv.h: New file.
9063 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9064 (routines): Add getauxval.
9065 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9066 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9067 * elf/dl-sysdep.c (_dl_auxv): Remove.
9068 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9069 * elf/dl-support.c (_dl_auxv): New variable.
9070 (_dl_aux_init): Initialize it.
9071 * manual/startup.texi (Auxiliary Vector): New node.
9072 * sysdeps/generic/bits/hwcap.h: New file.
9073 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9074 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9075 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9076 * sysdeps/sparc/sysdep.h: ... here. Include it.
9077 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9080 Update.
c7683a6d
RH
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9089
a6f1845d
AZ
90902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9091
9092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9093
cbcbe830
DM
90942012-05-19 David S. Miller <davem@davemloft.net>
9095
9096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9097
e0b16cc2
JM
90982012-05-19 Joseph Myers <joseph@codesourcery.com>
9099
9100 [BZ #14123]
9101 * math/s_ccosh.c: Include <float.h>
9102 (__ccosh): Avoid internal overflow calculating sinh and cosh
9103 values before multiplying by sin and cos values.
9104 * math/s_ccoshf.c: Likewise.
9105 * math/s_ccoshl.c: Likewise.
9106 * math/s_csin.c: Likewise.
9107 * math/s_csinf.c: Likewise.
9108 * math/s_csinl.c: Likewise.
9109 * math/s_csinh.c: Likewise.
9110 * math/s_csinhf.c: Likewise.
9111 * math/s_csinhl.c: Likewise.
9112 * math/libm-test.inc (ccos_test): Add more tests.
9113 (ccosh_test): Likewise.
9114 (csin_test): Likewise.
9115 (csinh_test): Likewise.
9116 * sysdeps/i386/fpu/libm-test-ulps: Update.
9117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9118
6ad13e08
L
91192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9120
f66f0ce8
L
9121 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9122 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9123
6ad13e08
L
9124 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9125
b1d072a7
JM
91262012-05-19 Joseph Myers <joseph@codesourcery.com>
9127
9128 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9129 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9130 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9131 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9132 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9133 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9134 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9135 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9136 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9137 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9138 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9139 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9140 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9141 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9142 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9143 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9144 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9145 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9146 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9147 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9148 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9149 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9150 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9151 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9152 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9153 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9154 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9155 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9156 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9157 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9158 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9159
9eae47cb
AJ
91602012-05-18 Andreas Jaeger <aj@suse.de>
9161
9162 * csu/.gitignore: Delete.
9163
bb07f69f
L
91642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9165
9166 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9167 (timex): Use __syscall_slong_t.
9168
e6bdb741
AJ
91692012-05-18 Andreas Jaeger <aj@suse.de>
9170 Carlos O'Donell <carlos_odonell@mentor.com>
9171
9172 * manual/install.texi (Configuring and compiling): Update
9173 description about files modified in the source directory.
d6c33fda 9174 * INSTALL: Regenerated.
e6bdb741 9175
1b74487e
L
91762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9179 value. Use "or" to set return value to -1.
9180 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9181 negate return value.
9182
a88b64b9
TMQMF
91832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9184
9185 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9186 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9187 failure if the compiler has Graphite support disabled.
9188 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9189 Likewise.
9190 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9191 CFLAGS-memmove.c): Likewise.
9192 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9193 Likewise.
9194
3707636e
L
91952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9196
610b8622
L
9197 * sysdeps/x86_64/x32/_itoa.h: New file.
9198
7cd195df
L
9199 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9200 getdents system call only if kernel and user dirents have the
9201 same d_ino and d_off.
9202
94b07d20
L
9203 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9204 LLONG_MAX != LONG_MAX.
9205 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9206 (_fitoa_word): Likewise.
9207
18298070
L
9208 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9209 years.
9210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9211 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9213
553c7ea4
L
9214 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9215 include <bits/wordsize.h>. Check __x86_64__ instead of
9216 __WORDSIZE.
9217 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9218 if __x86_64__ is defined. Use anonymous union on fpstate.
9219
3707636e
L
9220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9221 anonymous union.
9222
b53ef01a
AS
92232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9224
37fb1dc0
AS
9225 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9226 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9227 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9228 Refer to _rtld_local_ro instead of _rtld_global_ro.
9229 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9230 Likewise.
9231 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9232 Likewise.
9233 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9234 Likewise.
9235 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9236 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9237 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9238
b53ef01a
AS
9239 * sysdeps/powerpc/powerpc32/dl-machine.c
9240 (__elf_machine_runtime_setup) [PROF]: Don't reference
9241 _dl_prof_resolve.
9242
7a185db2
AJ
92432012-05-18 Andreas Jaeger <aj@suse.de>
9244
9245 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9246 function only available for GCCs before 3.4 since GCC 3.4
9247 introduced a builtin.
9248 (lrint): Likewise.
9249 (llrintf): Likewise.
9250 (llrint): Likewise.
9251 (fmaxf): Likewise.
9252 (fmax): Likewise.
9253 (fminf): Likewise.
9254 (fmin): Likewise.
9255 (rint): Likewise.
9256 (rintf): Likewise.
9257 (nearbyint): Likewise.
9258 (nearbyintf): Likewise.
9259 (ceil): Likewise.
9260 (ceilf): Likewise.
9261 (floor): Likewise.
9262 (floorf): Likewise.
9263
3e5aef87
L
92642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9265
428bd707
L
9266 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9267 on both fields and cast pointer to __syscall_ulong_t.
9268
3e5aef87
L
9269 * bits/types.h (__fsword_t): New type.
9270 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9271 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9273 (__FSWORD_T_TYPE): Likewise.
9274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9275 (__FSWORD_T_TYPE): Likewise.
9276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9277 (__FSWORD_T_TYPE): Likewise.
9278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9279 (__FSWORD_T_TYPE): Likewise.
9280 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9281 __SWORD_TYPE with __fsword_t.
9282 (statfs64): Likewise.
9283
1ba7c3dc
DM
92842012-05-17 David S. Miller <davem@davemloft.net>
9285
9286 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9287
59910343
AJ
92882012-05-17 Andreas Jaeger <aj@suse.de>
9289
9290 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9291 warning.
9292
2e4c1e9e
L
92932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9296
de7f5ce7
AJ
92972012-05-17 Andreas Jaeger <aj@suse.de>
9298
9299 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9300 when it is used.
9301
286abc3d
CM
93022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9303
9304 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9305
477cc68e
L
93062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9309 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9310
1a0994f5
CD
93112012-05-17 Andreas Jaeger <aj@suse.de>
9312 Carlos O'Donell <carlos_odonell@mentor.com>
9313
9314 [BZ #14059]
9315 * sysdeps/x86_64/multiarch/init-arch.h
9316 (bit_YMM_Usable): Rename to...
9317 (bit_AVX_Usable): ... this.
9318 (bit_FMA4_Usable): New macro.
9319 (bit_XMM_state): New macro.
9320 (bit_YMM_state): New macro.
9321 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9322 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9323 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9324 (CPUID_OSXSAVE): New macro.
9325 (CPUID_AVX): New macro.
9326 (CPUID_FMA4): New macro.
9327 (index_YMM_Usable): Rename to...
9328 (index_AVX_Usable): ... this.
9329 (HAS_AVX): Use HAS_ARCH_FEATURE.
9330 (HAS_FMA4): Likewise.
9331 (HAS_YMM_USABLE): Remove.
9332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9333 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9334 are present.
9335 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9336 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9337 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9338 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9339 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9340
0af797de
CM
93412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9342
9343 * math/libm-test.c: Support platforms without multiple rounding modes.
9344 * math/bug-nextafter.c: Support platforms without FP exceptions.
9345 * math/bug-nexttoward.c: Likewise.
9346 * math/test-fenv.c: Likewise.
9347 * math/test-misc.c: Likewise.
9348 * stdlib/bug-getcontext.c: Likewise.
9349
e39745ff
AJ
93502012-05-17 Andreas Jaeger <aj@suse.de>
9351
9352 * manual/examples/search.c (critter_cmp): Change signature to
9353 avoid warnings.
9354 * manual/string.texi (Collation Functions): Likewise.
9355
48970aba
L
93562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * bits/types.h: Fold copyright years.
9359 * bits/typesizes.h: Likewise.
9360 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9364 * time/time.h: Likewise.
9365
bedee953
PP
93662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9367
9368 [BZ #208]
9369 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9370 in instead of returning them. Return void.
9371 (__libc_mallinfo): Accumulate over all arenas.
9372 (__malloc_stats): Adjust for change in int_mallinfo interface.
9373
61653dfb
RM
93742012-05-16 Roland McGrath <roland@hack.frob.com>
9375
30b99d79
RM
9376 [BZ #10375]
9377 * configure.in (NM): Add AC_CHECK_TOOL for it.
9378 (libc_extra_cflags): New substituted variable.
9379 Check for -fstack-protector being used implicitly.
9380 * configure: Regenerated.
9381 * config.make.in (config-extra-cflags): New variable,
9382 gets @libc_extra_cflags@.
9383 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9384
61653dfb
RM
9385 [BZ #10375]
9386 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9387 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9388 * configure: Regenerated.
9389 * config.make.in (CPPUNDEFS): New substituted variable.
9390 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9391 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9392 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9393
661768bb
L
93942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9395
9396 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9397 (mq_attr): Use __syscall_slong_t.
9398
d4261567
L
93992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9402 Check __x86_64__ instead of __WORDSIZE.
9403 (_STAT_VER_LINUX): Likewise.
9404 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9405 __syscall_ulong_t and __syscall_slong_t.
9406 (stat64): Likewise.
9407
cf3ff365
L
94082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9411
76cf3e4d
L
94122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9413
9414 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9415
a637753a
L
94162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9419 __syscall_ulong_t.
9420
d5e05119
L
9421 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9422 include <bits/wordsize.h>. Check __x86_64__ instead of
9423 __WORDSIZE.
9424 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9425 defined.
9426 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9427
f62ee380
L
9428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9429 include <bits/wordsize.h>. Check __x86_64__ instead of
9430 __WORDSIZE.
9431 (user_regs_struct): Use "__extension__ unsigned long long"
9432 instead of "unsigned long" if __x86_64__ is defined.
9433 (user): Likewise. Pad after pointer field if __ILP32__ is
9434 defined.
9435
4e124ced
JM
94362012-05-16 Joseph Myers <joseph@codesourcery.com>
9437
6a3951a0
JM
9438 * configure.in (makeinfo): Require version 4.5 or later. Allow
9439 versions 5 to 9.
9440 * configure: Regenerated.
9441 * manual/install.texi (texinfo): Increase version requirement to
9442 4.5 or later.
9443 * INSTALL: Regenerated.
9444
4e124ced
JM
9445 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9446
953ca31a
L
94472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9448
9449 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9450
617aca05
L
9451 * sysdeps/x86_64/x32/ffs.c: New file.
9452
5762f7ae
L
9453 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9454 __syscall_ulong_t.
9455 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9456 defined. Use __syscall_ulong_t.
9457 (shminfo): Use __syscall_ulong_t.
9458 (shm_info): Likewise.
9459
a26b6856
L
9460 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9461 __syscall_ulong_t.
9462
cb2b9ef7
L
9463 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9464 <bits/wordsize.h>.
9465 (msgqnum_t): Use __syscall_ulong_t.
9466 (msglen_t): Likewise.
9467 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9468 __syscall_ulong_t.
9469
34683bb0
L
9470 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9471 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9472
84a68786
L
9473 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9474
48baa5f1
L
9475 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9476 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9477
180be88b
L
9478 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9479 __syscall_slong_t.
9480
5e90c8ad
L
9481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9482 include <bits/wordsize.h>. Check __x86_64__ instead of
9483 __WORDSIZE.
9484
23dfb58b
L
9485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9486 "unsigned long long int" if __x86_64__ is defined.
9487 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9488
ce5d54b0
L
9489 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9490 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9491 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9492
13dc9eac
L
9493 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9494 <stdint.h>.
9495 (GET_PC): Cast to uintptr_t first.
9496 (GET_FRAME): Likewise.
9497 (GET_STACK): Likewise.
9498
a7895d15
L
9499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9500 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9501 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9502 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9503 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9504 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9505 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9506 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9507 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9509 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9510 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9511 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9512 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9513 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9519 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9521 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9523 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9527 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9528
656416c9
AS
95292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9530
5bd66283
AS
9531 * Makerules (+depfiles): Also collect depfiles from .oS in
9532 $(extra-objs).
9533 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9534 .oS, $(libnldbl-routines)).
9535
656416c9
AS
9536 * Makerules (native-compile-mkdep-flags): Define.
9537 * sunrpc/Makefile (extra-objs): Add $(addprefix
9538 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9539 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9540 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9541 calling $(make-target-directory).
9542
a46f2169
L
95432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9544
9545 * bits/types.h (__snseconds_t): Removed.
9546 * time/time.h (struct timespec): Replace __snseconds_t with
9547 __syscall_slong_t.
9548 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9549 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9550 Likewise.
9551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9552 (__SNSECONDS_T_TYPE): Likewise.
9553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9554 (__SNSECONDS_T_TYPE): Likewise.
9555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9556 (__SNSECONDS_T_TYPE): Likewise.
9557
6af6528b
L
95582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9559
9560 * sysdeps/mach/hurd/bits/typesizes.h
9561 (__SYSCALL_SLONG_TYPE): New macro.
9562 (__SYSCALL_ULONG_TYPE): Likewise.
9563
de986b56
L
95642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9565
9566 * bits/types.h (__syscall_slong_t): New type.
9567 (__syscall_ulong_t): Likewise.
9568
9569 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9570 (__SYSCALL_ULONG_TYPE): Likewise.
9571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9572 (__SYSCALL_SLONG_TYPE): Likewise.
9573 (__SYSCALL_ULONG_TYPE): Likewise.
9574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9575 (__SYSCALL_SLONG_TYPE): Likewise.
9576 (__SYSCALL_ULONG_TYPE): Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9578 (__SYSCALL_SLONG_TYPE): Likewise.
9579 (__SYSCALL_ULONG_TYPE): Likewise.
9580
85736dc7
L
95812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9584 Add sigaltstack-offsets.sym.
9585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9586 <sigaltstack-offsets.h>.
9587 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9588 longjmp_msg pointer.
9589 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9590 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9591 signal stack.
9592 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9593
cc03b296
JM
95942012-05-15 Joseph Myers <joseph@codesourcery.com>
9595
a9538892
JM
9596 * elf/stackguard-macros.h: Remove file.
9597 * sysdeps/generic/stackguard-macros.h: New file.
9598 * sysdeps/i386/stackguard-macros.h: Likewise.
9599 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9600 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9601 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9602 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9603 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9604 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9605 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9606 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9607 <elf/stackguard-macros.h>.
9608
cc03b296
JM
9609 [BZ #14109]
9610 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9611 __aligned__ in attribute.
9612 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9613 (gregset_t): Likewise.
9614
93171016
L
96152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9616
9617 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9618 * sysdeps/x86_64/64/Implies-after: Here. New file.
9619 * sysdeps/x86_64/x32/Implies-after: New file.
9620
d86813a0
L
96212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9622
9623 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9624 and access return value for _dl_profile_fixup. Use R10_LP to
9625 load frame size.
9626
2953ec75
L
96272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9628
9629 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9630
3b550e9e
L
96312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9632
9633 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9634 * sysdeps/x86_64/x32/sysdep.h: New file.
9635
eda41706
L
96362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9637
9638 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9639 * sysdeps/x86_64/setjmp.S: Likewise.
9640
9ea01d93
AZ
96412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9642
9643 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9645 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9646 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9647 remove unused global constant.
9648
02a91938
CM
96492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9650
9651 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9652 include of <not-cancel.h>.
9653
6540185f
RM
96542012-05-15 Roland McGrath <roland@hack.frob.com>
9655
9656 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9657
509072a0
AJ
96582012-05-15 Jeff Law <law@redhat.com>
9659 Andreas Jaeger <aj@suse.de>
9660
9661 [BZ #13594]
9662 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9663 out from...
9664 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9665 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9666 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9667 code changing __hst_map_handle.map.
9668
ba75122d
RM
96692012-05-15 Roland McGrath <roland@hack.frob.com>
9670
9671 * configure.in (sysnames): Look for Implies-before and Implies-after
9672 files.
9673 * configure: Regenerated.
9674
890d8bd8
L
96752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9678 8-byte data alignment with LP_SIZE alignment.
9679
f6ee6623
L
96802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9681
9682 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9683 into R10_LP.
9684
ea2626f6
L
96852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9686
9687 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9688
085f715e
L
96892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9690
9691 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9692 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9694 Likewise.
9695 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9696
be8498fc
L
96972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9700 (stackinfo_sub_sp): Likewise.
9701
70bc83b9
L
97022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9703
9704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9705 RAX_LP.
9706
9bc0b730
L
97072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9708
9709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9710 into R*_LP.
9711
6d2850e7
L
97122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9713
9714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9715 sizes into R*_LP.
9716
3cb84561
L
97172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9718
9719 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9720
54e2ed81
L
97212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9724 into R11_LP and load __x86_64_shared_cache_size_half into
9725 R8_LP.
9726
8a17f349
L
97272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9728
9729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9730 R8_LP.
9731
777b1eea
AZ
97322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733
9734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9735 logb for POWER7.
9736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9737 logbf for POWER7.
9738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9739 logbl for POWER7.
9740 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9741 powerpc32/power7/fpu/s_logb.c via #include.
9742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9743 powerpc32/power7/fpu/s_logbf.c via #include.
9744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9745 powerpc32/power7/fpu/s_logbl.c via #include.
9746
d20d4ac2
JM
97472012-05-15 Joseph Myers <joseph@codesourcery.com>
9748
9749 * README.libm: Remove file.
9750
6cdef1ab
L
97512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9752
9753 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9754 count for x32. Use R*_LP and omit operand-size suffix.
9755
0b254d8f
L
97562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9759 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9760 * sysdeps/x86_64/x32/shlib-versions: New file.
9761
ceb809dc
RM
97622012-05-14 Roland McGrath <roland@hack.frob.com>
9763
9764 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9765 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9766 Use _dl_fatal_printf instead.
9767
37f1abd4
JM
97682012-05-14 Joseph Myers <joseph@codesourcery.com>
9769
9770 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9771 set if not set by the user. Do not allow for being unset.
9772 * sysdeps/unix/sysv/linux/configure: Regenerated.
9773
11de3a33
L
97742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9775
9776 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9777 the `q' suffix from lea and replace .quad with ASM_ADDR.
9778
e02f153a
L
97792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9780
9781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9782 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9783 instead of $17.
9784 (PTR_DEMANGLE): Likewise.
9785
520ae0fd
L
97862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9787
9788 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9789 (LP_OP): Likewise.
9790 (ASM_ADDR): Likewise.
9791 (RAX_LP): Likewise.
9792 (RBP_LP): Likewise.
9793 (RBX_LP): Likewise.
9794 (RCX_LP): Likewise.
9795 (RDI_LP): Likewise.
9796 (RSI_LP): Likewise.
9797 (RSP_LP): Likewise.
9798 (R8_LP): Likewise.
9799 (R9_LP): Likewise.
9800 (R10_LP): Likewise.
9801 (R10_LP): Likewise.
9802 (R11_LP): Likewise.
9803 (R12_LP): Likewise.
9804 (R13_LP): Likewise.
9805 (R14_LP): Likewise.
9806 (R15_LP): Likewise.
9807
b985be81
L
98082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9809
9810 * sysdeps/x86_64/x32/dl-machine.h: New file.
9811
6a4888ff
AJ
98122012-05-14 Andreas Jaeger <aj@suse.de>
9813
9814 * manual/Makefile (subdir): Remove export of subdir.
9815 (all): Remove target.
9816 (.PHONY): Remove all from list.
9817 (mkinstalldirs): Remove.
9818 (.PHONY): Remove installdirs from list.
9819 ($(inst_infodir)/libc.info): Use make-target-directory.
9820 (installdirs): Remove.
9821 (subdir_%): Remove.
9822 (glibc-targets): Remove.
9823 (lib): Remove.
9824 (stubs): Remove.
9825 ($(objpfx)stubs ../po/manual.pot): Remove.
9826 ($(objpfx)stamp%): Remove.
9827 (make-target-directory): Remove.
9828 (subdir_install): Remove.
9829 (routines): Remove.
9830 (aux): Remove.
9831 (sources): Remove.
9832 (objects): Remove.
9833 (headers): Remove.
9834
9835 [BZ #13750]
9836 * manual/.gitignore: Remove, it's not needed anymore.
9837 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9838 all files in it.
9839 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9840 directory.
9841 (texis): Renamed to $(objpfx)texis.
9842 (texis-path): New, contains path to generated files.
9843 (chapters.%): Use texis-path for complete path, add extra argument
9844 libc-texinfo.sh.
9845 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9846 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9847 (summary,texi, stamp-summary): Use complete path of
9848 files. Generate files in build dir.
9849 (dir-add.texi): Build in build dir.
9850 (libm-err.texi,stamp-libm-err): Likewise.
9851 (version.texi, stamp-version): Likewise.
9852 (.%c.texi): Likewise.
9853 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9854 (mostlyclean): Remove target.
9855 (realclean): Remove target.
9856 (generated): Add new variable with contents from mostlyclean and
9857 realclean, remove entries duplicated in common-mostlyclean, add
9858 stamp-libm-err and stamp-version.
9859 (generated-dirs): Add libc directory.
9860 ($(inst_infodir)/libc.info): Install files from build dir.
9861
9862 * manual/install.texi (Configuring and compiling): Adjust since
9863 the info files are not part of the tar ball anymore.
9864
7ac77294
AJ
98652012-05-14 Andreas Jaeger <aj@suse.de>
9866
9867 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9868 variable.
9869
ffb7875d
JM
98702012-05-14 Joseph Myers <joseph@codesourcery.com>
9871
9872 [BZ #13717]
9873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9874 to 2.2.0 where earlier.
9875 * sysdeps/unix/sysv/linux/configure: Regenerated.
9876 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9877 Remove conditional code.
9878 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9879 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9880 Remove conditional code.
9881 [!__NR_lchown]: Likewise.
9882 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9883 [__NR_lchown]: Likewise.
9884 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9885 comment referencing __ASSUME_LCHOWN_SYSCALL.
9886 * sysdeps/unix/sysv/linux/i386/sigaction.c
9887 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9888 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9889 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9890 Remove conditional code.
9891 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9892 (__protocol_available): Remove #if 0 code.
9893 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9894 conditional code.
9895 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9896 * sysdeps/unix/sysv/linux/kernel-features.h
9897 (__ASSUME_GETCWD_SYSCALL): Don't define.
9898 (__ASSUME_REALTIME_SIGNALS): Likewise.
9899 (__ASSUME_PREAD_SYSCALL): Likewise.
9900 (__ASSUME_PWRITE_SYSCALL): Likewise.
9901 (__ASSUME_POLL_SYSCALL): Likewise.
9902 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9903 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9904 non-SPARC.
9905 (__ASSUME_SIOCGIFNAME): Don't define.
9906 (__ASSUME_MSG_NOSIGNAL): Likewise.
9907 (__ASSUME_SENDFILE): Define unconditionally.
9908 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9909 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9910 conditional code.
9911 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9912 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9913 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9914 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9915 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9916 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9917 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9919 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9922 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9923 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9928 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9929 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9934 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9940 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9942 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9943 Remove conditional code.
9944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9945 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9946 Remove conditional code.
9947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9948 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9949 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9950 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9951 Remove conditional code.
9952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9953 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9954 Remove conditional code.
9955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9956 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9957 Remove conditional code.
9958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9959 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9960 Remove conditional code.
9961 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9962 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9963 Remove conditional code.
9964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9965 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9966 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9968 * sysdeps/unix/sysv/linux/sigaction.c
9969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9971 * sysdeps/unix/sysv/linux/sigpending.c
9972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9974 * sysdeps/unix/sysv/linux/sigprocmask.c
9975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9977 * sysdeps/unix/sysv/linux/sigsuspend.c
9978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9980 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9981 (__libc_missing_rt_sigs): Remove.
9982 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9983 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9984 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9985 Remove conditional code.
9986 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9987 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9988 return 1.
9989 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9990 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9991 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9992 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9993
1bfb7291
AJ
99942012-05-14 Andreas Jaeger <aj@suse.de>
9995
caae5a81
AJ
9996 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9997 it's not used in glibc.
9998 (__coshm1): Likewise.
9999 (__acosh1p): Likewise.
10000 (__sgn): Likewise.
10001
1bfb7291
AJ
10002 * manual/string.texi (Copying and Concatenation): Add missing
10003 variable in concat example.
10004 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10005
c044d724
L
100062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10007
144c5467 10008 [BZ #14103]
c044d724
L
10009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10010 __builtin_clzl with __builtin_clzll.
10011
2523c62b
L
100122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10013
10014 [BZ #14104]
10015 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10016 libc_freeres_ptr.
10017
d7bb4c42
LD
100182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10019
10020 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10021 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10022 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10023 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10024
9dc4e1fb
MF
100252012-05-14 Mike Frysinger <vapier@gentoo.org>
10026
10027 * NEWS: Update ia64 info.
10028
c7df0112
AS
100292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10030
10031 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10032 used as bcopy.
10033
dc70356c
TS
100342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10035
10036 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10037 * sysdeps/unix/syscalls.list (dup3): Likewise.
10038 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10039 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10040
9fb1a21f
L
100412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10042
10043 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10044 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10045
4822a2a5
L
100462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10047
10048 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10049 thread pointer.
10050 (TLS_IE): Use mov/add instead of movq/addq to load thread
10051 pointer.
10052 (TLS_GD_PREFIX): New.
10053 (TLS_GD): Use it.
10054
842b81d6
DM
100552012-05-11 David S. Miller <davem@davemloft.net>
10056
10057 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10058 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10059 (_FPU_SETCW): Likewise.
10060
1cf463cd
L
100612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10062
10063 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10064 is 32-byte aligned.
10065
60cc4a18
AS
100662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10067
10068 [BZ #11837]
10069 * iconvdata/gb18030.c: Update tables.
10070 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10071 characters specially.
10072 (BODY for TO_LOOP): Add encoding of missing ranges.
10073
febb44a4
TS
100742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10075
10076 [BZ #13673]
10077 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10078 * sysdeps/mach/hurd/dup3.c: Likewise.
10079 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10080 * sysdeps/powerpc/memmove.c:: Likewise.
10081
0a10fb9e
L
100822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10083
10084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10085 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10086
df8a552f
L
100872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10088
10089 * elf/elf.h (R_X86_64_RELATIVE64): New.
10090 (R_X86_64_NUM): Updated.
10091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10092 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10093 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10094 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10095 tst-quad1pie tst-quad2pie
10096 (modules-names): Add tst-quadmod1 tst-quadmod2.
10097 ($(objpfx)tst-quad1): New dependency.
10098 ($(objpfx)tst-quad2): Likewise.
10099 ($(objpfx)tst-quad1pie): Likewise.
10100 ($(objpfx)tst-quad2pie): Likewise.
10101 * sysdeps/x86_64/tst-quad1.c: New file.
10102 * sysdeps/x86_64/tst-quad1pie.c: New file.
10103 * sysdeps/x86_64/tst-quad2.c: Likewise.
10104 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10105 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10106 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10107 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10108 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10109
f34d6f84
ST
101102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10111
f42d41d1
ST
10112 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10113 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10114 * streams/stropts.h (t_scalar_t): Define type.
10115
3c3571fc
ST
10116 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10117 (_PATH_PRESERVE): Set to "/var/lib".
10118 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10119
61f06bd3
ST
10120 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10121 instead of int.
10122
918d4d71
ST
10123 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10124 if __dir_mkfile succeeded.
10125
f34d6f84
ST
10126 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10127 checking for _hurd_dtablesize. Unlock it right after having
10128 finished _hurd_dtable allocation.
10129
10589b4a
TS
101302012-05-10 Thomas Schwinge <thomas@schwinge.name>
10131
674cdbc7
TS
10132 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10133 * sysdeps/mach/hurd/configure: Regenerated.
10134 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10135 special-casing to...
10136 * sysdeps/gnu/configure.in: ... this new file.
10137 * sysdeps/unix/sysv/linux/configure: Regenerated.
10138 * sysdeps/gnu/configure: New generated file.
10139
8e41b99f
TS
10140 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10141 for Linux: use nsec instead of usec, as well as:
10142 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10143 members of type struct timespec.
10144 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10145 New macros.
10146 (struct stat64): Likewise.
10147 (_STATBUF_ST_NSEC): New macro.
10148 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10149
10589b4a
TS
10150 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10151 __strtoul_internal rather than strtoul.
10152
63643c85
PT
101532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10154
10155 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10156 and reject them.
10157
3faebe6a
ST
101582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10159
10160 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10161 which preserves existing values.
10162 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10163
c6474b07
PT
101642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10165
10166 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10167 TIMEOUT values. Return EINVAL for NFDS values either negative or
10168 greater than FD_SETSIZE.
10169
1043890b
ST
101702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10171
10172 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10173 allocated, call __vm_protect to finish enabling the existing space, and
10174 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10175 allocate the remainder.
10176
37ed8b9b
PT
101772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10178
10179 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10180 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10181
db653660
ST
101822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10183
37ed8b9b
PT
10184 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10185 sysdeps/mach/hurd/readlink.c.
b29d4053 10186
db653660
ST
10187 * posix/tst-sysconf.c (posix_options): Only use
10188 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10189 _POSIX_SYNCHRONIZED_IO when they are defined
10190 * sysdeps/mach/hurd/bits/posix_opt.h:
10191 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10192 (_XOPEN_REALTIME): Undefine macro.
10193 (_XOPEN_REALTIME_THREADS): Undefine macro.
10194 (_XOPEN_SHM): Undefine macro.
10195 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10196 macro to -1.
10197 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10198 macro to -1.
10199 (_POSIX_ASYNC_IO): Undefine macro.
10200 (_POSIX_PRIORITIZED_IO): Undefine macro.
10201 (_POSIX_SPIN_LOCKS): Define macro to -1.
10202
ee16e894
ST
10203 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10204 SA_NODEFER, SA_RESETHAND.
10205 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10206 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10207 F_DUPFD_CLOEXEC.
10208
6103ae3b
TS
102092012-05-10 Thomas Schwinge <thomas@schwinge.name>
10210
10211 * elf/Makefile (pldd-modules): Define unconditionally.
10212
80b4e5f3
TS
102132012-05-10 Thomas Schwinge <thomas@schwinge.name>
10214
10215 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10216
edadcbd6
ST
102172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218
10219 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10220 Return ENOENT when name is empty.
10221 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10222
80694780
TS
102232012-05-10 Thomas Schwinge <thomas@schwinge.name>
10224
1792c087
TS
10225 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10226
80694780
TS
10227 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10228
6b645f0d
ST
102292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10230
80694780
TS
10231 Fix mlock in all cases except non-readable pages.
10232 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10233 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10234
6b645f0d
ST
10235 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10236 (__mkdir): When path is `/', just fail with EEXIST.
10237 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10238
e468f8a3
TS
102392012-05-10 Thomas Schwinge <thomas@schwinge.name>
10240
10241 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10242 <sys/uio.h> (for writev).
10243 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10244 and <sys/param.h> (for MIN).
10245
a4186cff
PT
102462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10247
10248 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10249 REQUESTED_TIME. Properly set the remaining time and return EINTR
10250 if interrupted.
10251
510bbf14
TS
102522012-05-10 Thomas Schwinge <thomas@schwinge.name>
10253
10254 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10255 Depend on against $(link-rpcuserlibs).
10256
5d5722e8
ST
102572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10258
a4186cff
PT
10259 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10260 (__libc_stack_end): Do not use attribute_relro.
10261 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10262 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10263 to libthread-provided value.
a4186cff
PT
10264 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10265 attribute_relro.
5d5722e8 10266
37233df9
TS
102672012-05-10 Thomas Schwinge <thomas@schwinge.name>
10268
be971a2b
TS
10269 [BZ #3748]
10270 * bits/libc-lock.h (__libc_once_get): New macro.
10271 * sysdeps/mach/bits/libc-lock.h: Likewise.
10272 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10274 instead of using implementation details.
10275
37233df9
TS
10276 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10277 * libio/freopen.c: Likewise.
10278 * libio/freopen64.c: Likewise.
10279 * misc/syslog.c: Likewise.
10280 * nscd/connections.c: Likewise.
10281 * nscd/netgroupcache.c: Likewise.
10282 * sysdeps/posix/getcwd.c: Likewise.
10283
38de94a5
RM
102842012-05-10 Roland McGrath <roland@hack.frob.com>
10285
10286 * math/w_ilogbf.c: Add #include <limits.h>.
10287
67530489
ST
102882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10289
a4186cff 10290 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10291 path instead of returning without unlocking.
10292
67530489
ST
10293 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10294 immediate-write ioctls.
10295 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10296
5aa3a74a
TS
102972012-05-10 Thomas Schwinge <thomas@schwinge.name>
10298
18bad2ae
TS
10299 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10300 __builtin_frame_address instead of making assumptions about the
10301 location of the return address relative to DATA. Force early load of
10302 the return address.
10303 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10304 __builtin_frame_address.
10305
5aa3a74a
TS
10306 dup3 for GNU Hurd.
10307 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10308 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10309 implement dup3 and do some further code clean-ups.
10310 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10311 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10312
ecd0de9a
ST
103132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10314
cd9fa985
ST
10315 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10316
a4186cff
PT
10317 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10318 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10319 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10320 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10321 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10322 d->port.lock.
802ca5a5 10323
a4186cff
PT
10324 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10325 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10326 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10327
bcf55240
TS
103282012-05-10 Thomas Schwinge <thomas@schwinge.name>
10329
6960eb42
TS
10330 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10331 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10332 definitions.
10333
eb43375f
TS
10334 accept4 for GNU Hurd.
10335 * include/sys/socket.h (__libc_accept4): New prototype.
10336 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10337 to implement __libc_accept4.
10338 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10339 __libc_accept4.
10340 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10341
bcf55240
TS
10342 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10343 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10344 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10345 signal-defines.sym.
10346
6178c55b
ST
103472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10348
a4186cff 10349 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10350
6f080c2f
TS
103512012-05-10 Thomas Schwinge <thomas@schwinge.name>
10352
10353 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10354 assertion on O_CLOEXEC flag.
10355 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10356 * hurd/intern-fd.c: Likewise.
10357 * hurd/port2fd.c: Likewise.
10358
bcfe3a54
ST
103592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10360
10361 [BZ #3906]
10362 * bits/in.h (IPV6_PKTINFO): Define new macro.
10363 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10364
89c9aa49
AZ
103652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10366
10367 [BZ #13954]
10368 [BZ #13955]
10369 [BZ #13956]
10370 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10372 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10373 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10376 * math/libm-test.inc (logb_test) : Additional logb tests.
10377
021db4be
AJ
103782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10379 Andreas Jaeger <aj@suse.de>
10380
10381 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10382 * configure: Regenerated.
10383 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10384 * config.make.in (link-obsolete-rpc): New substituted variable.
10385 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10386 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10387 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10388 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10389 so that libc.a contains the symbols.
10390 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10391 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10392 * sunrpc/auth_none.c: Likewise.
10393 * sunrpc/auth_unix.c: Likewise.
10394 * sunrpc/authdes_prot.c: Likewise.
10395 * sunrpc/authuxprot.c: Likewise.
10396 * sunrpc/clnt_gen.c: Likewise.
10397 * sunrpc/clnt_perr.c: Likewise.
10398 * sunrpc/clnt_raw.c: Likewise.
10399 * sunrpc/clnt_simp.c: Likewise.
10400 * sunrpc/clnt_tcp.c: Likewise.
10401 * sunrpc/clnt_udp.c: Likewise.
10402 * sunrpc/clnt_unix.c: Likewise.
10403 * sunrpc/des_crypt.c: Likewise.
10404 * sunrpc/des_soft.c: Likewise.
10405 * sunrpc/get_myaddr.c: Likewise.
10406 * sunrpc/key_call.c: Likewise.
10407 * sunrpc/key_prot.c: Likewise.
10408 * sunrpc/netname.c: Likewise.
10409 * sunrpc/pm_getmaps.c: Likewise.
10410 * sunrpc/pm_getport.c: Likewise.
10411 * sunrpc/pmap_clnt.c: Likewise.
10412 * sunrpc/pmap_prot.c: Likewise.
10413 * sunrpc/pmap_prot2.c: Likewise.
10414 * sunrpc/pmap_rmt.c: Likewise.
10415 * sunrpc/publickey.c: Likewise.
10416 * sunrpc/rpc_cmsg.c: Likewise.
10417 * sunrpc/rpc_common.c: Likewise.
10418 * sunrpc/rpc_dtable.c: Likewise.
10419 * sunrpc/rpc_prot.c: Likewise.
10420 * sunrpc/rpc_thread.c: Likewise.
10421 * sunrpc/rtime.c: Likewise.
10422 * sunrpc/svc.c: Likewise.
10423 * sunrpc/svc_auth.c: Likewise.
10424 * sunrpc/svc_raw.c: Likewise.
10425 * sunrpc/svc_run.c: Likewise.
10426 * sunrpc/svc_tcp.c: Likewise.
10427 * sunrpc/svc_udp.c: Likewise.
10428 * sunrpc/svc_unix.c: Likewise.
10429 * sunrpc/svcauth_des.c: Likewise.
10430 * sunrpc/xcrypt.c: Likewise.
10431 * sunrpc/xdr.c: Likewise.
10432 * sunrpc/xdr_array.c: Likewise.
10433 * sunrpc/xdr_float.c: Likewise.
10434 * sunrpc/xdr_intXX_t.c: Likewise.
10435 * sunrpc/xdr_mem.c: Likewise.
10436 * sunrpc/xdr_rec.c: Likewise.
10437 * sunrpc/xdr_ref.c: Likewise.
10438 * sunrpc/xdr_sizeof.c: Likewise.
10439 * sunrpc/xdr_stdio.c: Likewise.
10440
b5c086a2
RM
104412012-05-10 Roland McGrath <roland@hack.frob.com>
10442
10443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10444 change. Update copyright years.
10445
6d74dd09
JM
104462012-05-10 Joseph Myers <joseph@codesourcery.com>
10447
10448 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10449
28e72501
MK
104502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10451 Joseph Myers <joseph@codesourcery.com>
10452 Paul Pluzhnikov <ppluzhnikov@google.com>
10453
10454 [BZ #14012]
10455 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10456 requiring rpcgen.
10457 [cross-compiling] (extra-libs): Likewise.
10458 [cross-compiling] (extra-libs-others): Likewise.
10459 [cross-compiling] (librpcsvc-routines): Likewise.
10460 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10461 [cross-compiling] (omit-deps): Likewise.
10462 (sunrpc-CPPFLAGS): New variable.
10463 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10464 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10465 (cross-rpcgen-objs): New variable.
10466 (extra-objs): Append $(cross-rpcgen-objs).
10467 ($(cross-rpcgen-objs)): New rule.
10468 ($(objpfx)cross-rpcgen): Likewise.
10469 (rpcgen-cmd): Define to use $(built-program-file). Expand
10470 comment.
10471 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10472 ($(objpfx)x%.stmp): Likewise.
10473 * sunrpc/proto.h [IS_IN_build] (_): Define.
10474 [IS_IN_build] (_libc_intl_domainname): Likewise.
10475
c8c59454
L
104762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10479 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10480 and R_X86_64_TPOFF64.
10481
6f27cd16
JM
104822012-05-10 Joseph Myers <joseph@codesourcery.com>
10483
10484 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10485 sysdeps/unix/sysv/syscalls.list.
10486 (stime): Likewise.
10487 (utime): Likewise.
10488 * sysdeps/unix/sysv/syscalls.list: Remove file.
10489
02467e1c
PE
104902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10491
10492 [BZ #3440]
10493 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10494 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10495 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10496 (__LC_IDENTIFICATION): Make these macros useful in #if
10497 expressions, as required by C99.
10498
da392631
AS
104992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10500
10501 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10502 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10503 after this.
10504
8115f29b
L
105052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 * stdlib/longlong.h: Updated from GCC.
10508
bdd74070
AJ
105092012-05-09 Andreas Jaeger <aj@suse.de>
10510
edfe0dbe
AJ
10511 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10512 default is first entry.
10513 (run_mode): Set type.
10514 (main): Remove informal message about syslog.
10515 (options): Fix typo.
10516
bcfe3a54
ST
10517 [BZ #14053]
10518 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10519 to asm.
bcfe3a54
ST
10520 (lrint): Likewise.
10521 (llrintf): Likewise.
10522 (llrint): Likewise.
10523 (rint): Likewise.
10524 (rintf): Likewise.
10525 (nearbyint): Likewise.
10526 (nearbyintf): Likewise.
bdd74070 10527
91d8d69e
AJ
105282012-05-09 Andreas Jaeger <aj@suse.de>
10529 Pedro Alves <palves@redhat.com>
10530
10531 * nscd/nscd.c (run_mode): Use enum.
10532 (main): Cleanup coding style issue.
10533
bb90b80b
AJ
105342012-05-09 Alexandre Oliva <aoliva@redhat.com>
10535 Andreas Jaeger <aj@suse.de>
10536
bcfe3a54
ST
10537 * nscd/nscd.c (go_background): Replaced with...
10538 (run_mode): ... this.
bb90b80b 10539 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10540 (options): Add -F --foreground.
10541 (main): Implement it.
10542 (parse_opt): Parse it.
bb90b80b 10543
1a4b75a1
AJ
105442012-05-09 Andreas Jaeger <aj@suse.de>
10545
10546 [BZ #14083]
10547 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10548 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10549 -Wconversion warning.
10550 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10551 Likewise.
10552
b1cc2472
JM
105532012-05-09 Joseph Myers <joseph@codesourcery.com>
10554
10555 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10556 == 0.
10557 (LC_ALL): Use macro-int-constant.
10558 (LC_COLLATE): Likewise.
10559 (LC_CTYPE): Likewise.
10560 (LC_MESSAGES): Likewise.
10561 (LC_MONETARY): Likewise.
10562 (LC_NUMERIC): Likewise.
10563 (LC_TIME): Likewise.
10564 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10565 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10567 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10568 Specify type.
10569 [C99-based standards] (float_t): Expect type.
10570 [C99-based standards] (double_t): Expect type.
10571 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10572 type.
10573 [C99-based standards] (HUGE_VALL): Likewise.
10574 [C99-based standards] (INFINITY): Likewise.
10575 [C99-based standards] (NAN): Likewise.
10576 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10577 [C99-based standards] (FP_NAN): Likewise.
10578 [C99-based standards] (FP_NORMAL): Likewise.
10579 [C99-based standards] (FP_SUBNORMAL): Likewise.
10580 [C99-based standards] (FP_ZERO): Likewise.
10581 [C99-based standards] (FP_FAST_FMA): Use
10582 optional-macro-int-constant. Specify type. Require == 1.
10583 [C99-based standards] (FP_FAST_FMAF): Likewise.
10584 [C99-based standards] (FP_FAST_FMAL): Likewise.
10585 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10586 [C99-based standards] (FP_ILOGBNAN): Likewise.
10587 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10588 Specify type.
10589 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10590 [C99-based standards] (math_errhandling): Specify type.
10591 [ISO99 || ISO11] (signgam): Do not allow.
10592 [non-C99-based standards] (copysignf): Do not allow.
10593 [non-C99-based standards] (exp2f): Likewise.
10594 [non-C99-based standards] (log2f): Likewise.
10595 [non-C99-based standards] (modff): Allow.
10596 [non-C99-based standards] (erff): Do not allow.
10597 [non-C99-based standards] (erfcf): Likewise.
10598 [non-C99-based standards] (gammaf): Likewise.
10599 [non-C99-based standards] (hypotf): Likewise.
10600 [non-C99-based standards] (j0f): Likewise.
10601 [non-C99-based standards] (j1f): Likewise.
10602 [non-C99-based standards] (jnf): Likewise.
10603 [non-C99-based standards] (lgammaf): Likewise.
10604 [non-C99-based standards] (tgammaf): Likewise.
10605 [non-C99-based standards] (y0f): Likewise.
10606 [non-C99-based standards] (y1f): Likewise.
10607 [non-C99-based standards] (ynf): Likewise.
10608 [non-C99-based standards] (isnanf): Likewise.
10609 [non-C99-based standards] (acoshf): Likewise.
10610 [non-C99-based standards] (asinhf): Likewise.
10611 [non-C99-based standards] (atanhf): Likewise.
10612 [non-C99-based standards] (cbrtf): Likewise.
10613 [non-C99-based standards] (expm1f): Likewise.
10614 [non-C99-based standards] (ilogbf): Likewise.
10615 [non-C99-based standards] (log1pf): Likewise.
10616 [non-C99-based standards] (logbf): Likewise.
10617 [non-C99-based standards] (nextafterf): Likewise.
10618 [non-C99-based standards] (remainderf): Likewise.
10619 [non-C99-based standards] (rintf): Likewise.
10620 [non-C99-based standards] (scalbf): Likewise.
10621 [non-C99-based standards] (copysignl): Likewise.
10622 [non-C99-based standards] (exp2l): Likewise.
10623 [non-C99-based standards] (log2l): Likewise.
10624 [non-C99-based standards] (modfl): Allow.
10625 [non-C99-based standards] (erfl): Do not allow.
10626 [non-C99-based standards] (erfcl): Likewise.
10627 [non-C99-based standards] (gammal): Likewise.
10628 [non-C99-based standards] (hypotl): Likewise.
10629 [non-C99-based standards] (j0l): Likewise.
10630 [non-C99-based standards] (j1l): Likewise.
10631 [non-C99-based standards] (jnl): Likewise.
10632 [non-C99-based standards] (lgammal): Likewise.
10633 [non-C99-based standards] (tgammal): Likewise.
10634 [non-C99-based standards] (y0l): Likewise.
10635 [non-C99-based standards] (y1l): Likewise.
10636 [non-C99-based standards] (ynl): Likewise.
10637 [non-C99-based standards] (isnanl): Likewise.
10638 [non-C99-based standards] (acoshl): Likewise.
10639 [non-C99-based standards] (asinhl): Likewise.
10640 [non-C99-based standards] (atanhl): Likewise.
10641 [non-C99-based standards] (cbrtl): Likewise.
10642 [non-C99-based standards] (expm1l): Likewise.
10643 [non-C99-based standards] (ilogbl): Likewise.
10644 [non-C99-based standards] (log1pl): Likewise.
10645 [non-C99-based standards] (logbl): Likewise.
10646 [non-C99-based standards] (nextafterl): Likewise.
10647 [non-C99-based standards] (remainderl): Likewise.
10648 [non-C99-based standards] (rintl): Likewise.
10649 [non-C99-based standards] (scalbl): Likewise.
10650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10651 [non-C99-based standards] (FP_*): Do not allow.
10652 [C99-based standards] (FP_*): Change to
10653 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10654 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10655 allow.
10656 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10657 (SIG_ERR): Likewise.
10658 [X/Open-based standards] (SIG_HOLD): Likewise.
10659 (SIG_IGN): Likewise.
10660 (SIGABRT): Use macro-int-constant. Specify type. Require
10661 positive value.
10662 (SIGFPE): Likewise.
10663 (SIGILL): Likewise.
10664 (SIGINT): Likewise.
10665 (SIGSEGV): Likewise.
10666 (SIGTER): Likewise.
10667 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10668 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10669 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10670 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10671 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10672 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10673 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10674 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10675 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10676 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10677 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10678 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10679 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10680 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10681 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10682 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10683 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10684 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10685 [X/Open-based standards] (SIGTRAP): Likewise.
10686 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10687 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10688 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10689 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10690 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10691 allow.
10692
b9f1922d
IW
106932012-05-08 Ian Wienand <ianw@vmware.com>
10694
10695 [BZ #14080]
10696 * time/tzset.c (__tzset_parse_tz): Update default rules for
10697 daylight time changes in the Energy Policy Act of 2005.
10698
1db86e88
AJ
106992012-05-09 Andreas Jaeger <aj@suse.de>
10700
10701 [BZ #13983]
10702 * elf/ldconfig.c (parse_conf): Change string to make clear that
10703 ldconfig only issued a warning if ld.so.conf does not exist.
10704
dee4a4e3
DM
107052012-05-08 David S. Miller <davem@davemloft.net>
10706
ee0db190
DM
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10708 movxtod instead of popping the value on the stack.
10709
dee4a4e3
DM
10710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10711
6a43ec98
CD
107122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10713
10714 * config.h.in: Add HAVE_ARM_PCS_VFP.
10715
05c2c961
RMG
107162012-05-08 Roland Mc Grath <roland@hack.frob.com>
10717
bcfe3a54
ST
10718 [BZ #13979]
10719 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10720 checking but the checks are disabled for any reason.
05c2c961 10721
4b30f61a
L
107222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10723
10724 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10725 and ELF64_R_TYPE with ELFW(R_TYPE).
10726
eee2bc67
JM
107272012-05-08 Joseph Myers <joseph@codesourcery.com>
10728
7ea5391a
JM
10729 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10730 (ulimit): Likewise.
10731
eee2bc67
JM
10732 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10733 (settimeofday): Likewise.
10734
abb66a67
MF
107352012-05-08 Mike Frysinger <vapier@gentoo.org>
10736
10737 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10738 a struct th_u2 inside the union, and move tu_block/tu_code into
10739 a new th_u3 union of tu_block/tu_code inside of that. Move
10740 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10741 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10742 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10743 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10744 (th_stuff): Change to th_u1.tu_stuff.
10745 (th_data): Define.
10746 (th_msg): Change to th_u1.th_u2.tu_data.
10747
7f18b530
DM
107482012-05-07 David S. Miller <davem@davemloft.net>
10749
05760585
DM
10750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10751
7f18b530
DM
10752 [BZ #14074]
10753 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10754 (SETUP_PIC_REG): Use it.
10755 (SETUP_PIC_REG_LEAF): Use it.
10756
495fd99f
JM
107572012-05-07 Joseph Myers <joseph@codesourcery.com>
10758
10759 [BZ #13885]
10760 [BZ #13923]
10761 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10762 USE_AS_EXPM1L.
10763 (EXPL_FINITE): Likewise.
10764 (FLDLOG): Likewise.
10765 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10766 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10767 e_expl.S.
10768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10769 USE_AS_EXPM1L.
10770 (EXPL_FINITE): Likewise.
10771 (FLDLOG): Likewise.
10772 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10773 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10774 e_expl.S.
10775 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10776 test of -max_value argument for long double.
10777 * sysdeps/i386/fpu/libm-test-ulps: Update.
10778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10779
6693d694
DM
107802012-05-06 David S. Miller <davem@davemloft.net>
10781
10782 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10783 quad soft-float symbols whose references which are compiler
10784 generated.
10785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10786
6c23e11c
JM
107872012-05-06 Joseph Myers <joseph@codesourcery.com>
10788
d8b82cad
JM
10789 [BZ #13884]
10790 [BZ #13914]
10791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10792 USE_AS_EXP10L.
10793 (EXPL_FINITE): Likewise.
10794 (FLDLOG): Likewise.
10795 (c0): Likewise.
10796 (c1): Likewise.
10797 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10798 Adjust comments for base varying.
10799 (__expl_finite): Change alias to EXPL_FINITE.
10800 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10801 e_expl.S.
10802 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10803 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10805 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10806 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10807 USE_AS_EXP10L.
10808 (EXPL_FINITE): Likewise.
10809 (FLDLOG): Likewise.
10810 (c0): Likewise.
10811 (c1): Likewise.
10812 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10813 Adjust comments for base varying.
10814 (__expl_finite): Change alias to EXPL_FINITE.
10815 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10816 tests for bugs.
10817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10818
6c23e11c
JM
10819 [BZ #14064]
10820 * math/libm-test.inc (check_float_internal): Correct ulp
10821 calculation for subnormal expected results.
10822
29ba805c
AJ
108232012-05-06 Andreas Jaeger <aj@suse.de>
10824
10825 * Makeconfig (+math-flags): New, set to -frounding-math.
10826 (+cflags): Add +math-flags so that all of glibc gets compiled with
10827 it.
10828
10829 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10830
7b17aeda
JM
108312012-05-05 Joseph Myers <joseph@codesourcery.com>
10832
5779f134
JM
10833 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10834 Disable one test.
10835
41498f4d
JM
10836 [BZ #13787]
10837 [BZ #13922]
10838 [BZ #14036]
10839 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10840 (__ieee754_expl): Allow for and saturate large arguments.
10841 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10842 (u_threshold): Likewise.
10843 (__exp): Call __ieee754_exp before checking for overflow and
10844 underflow.
10845 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10846 (u_threshold): Likewise.
10847 (__expf): Call __ieee754_expf before checking for overflow and
10848 underflow.
10849 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10850 (u_threshold): Likewise.
10851 (__expl): Call __ieee754_expl before checking for overflow and
10852 underflow.
10853 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10854 (__ieee754_expl): Allow for and saturate large arguments.
10855 * math/libm-test.inc (exp_test): Add another test. Do not allow
10856 missing overflow exception on overflow.
10857 (expm1_test): Do not allow missing overflow exception on overflow.
10858
6698b8bf
JM
10859 * sysdeps/i386/fpu/e_expl.c: Move to ...
10860 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10861 rather than using inline asm.
10862 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10863 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10864 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10865
7b17aeda
JM
10866 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10867 (nice): Likewise.
10868 (poll): Likewise.
10869 (signal): Likewise.
10870 (time): Likewise.
10871 (times): Likewise.
10872
f7c85819
JM
108732012-05-04 Joseph Myers <joseph@codesourcery.com>
10874
10875 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10876 sysdeps/unix/common/syscalls.list.
10877 (fchmod): Likewise.
10878 (fchown): Likewise.
10879 (ftruncate): Likewise.
10880 (getrusage): Likewise.
10881 (gettimeofday): Likewise.
10882 (setpgid): Likewise.
10883 (setregid): Likewise.
10884 (setreuid): Likewise.
10885 (sigaction): Likewise.
10886 (truncate): Likewise.
10887 (vhangup): Likewise.
10888 * sysdeps/unix/common/syscalls.list: Remove file.
10889 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10890 * sysdeps/unix/sysv/linux/Implies: Likewise.
10891
336270d0
L
108922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10893
10894 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10896 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10897 Moved to ...
10898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10899 Here.
10900 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10901 to ...
10902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10903 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10904 to ...
10905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10907 to ...
10908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10909 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10910 to ...
10911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10912 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10913 to ...
10914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10915 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10916 to ...
10917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10918 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10919 to ...
10920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10921 Here.
10922 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10923 to ...
10924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10925 Here.
10926 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10927 to ...
10928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10929 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10930 Moved to ...
10931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10932 Here.
10933 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10934 to ...
10935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10936
d128e450
JM
109372012-05-04 Joseph Myers <joseph@codesourcery.com>
10938
fa8ee516
JM
10939 * sysdeps/unix/common/bits/dirent.h: Remove file.
10940 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10941
d128e450
JM
10942 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10943 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10944 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10945 * sysdeps/unix/bsd/isatty.c: Likewise.
10946 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10947 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10948 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10949
ff8faaf0 109502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10951
62881be4 10952 [BZ #13563]
31dc8730
AZ
10953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10954 long double comparison inaccuracies.
10955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10957
6fef930c
AS
109582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10959
10960 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10962
8f203e6c
JM
109632012-05-04 Joseph Myers <joseph@codesourcery.com>
10964
10965 [BZ #14049]
10966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10967 nonzero digits before rounding a hex value.
10968 * stdlib/tst-strtod.c (tests): Add another test.
10969
5197d9c2
AK
109702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10971
10972 * sysdeps/s390/fpu/libm-test-ulps: Update.
10973
f0c1dedf
AJ
109742012-05-03 Andreas Jaeger <aj@suse.de>
10975
10976 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10977 does not get optimized out.
10978 (malloc_opt_barrier): New.
10979
a65ef2ae 109802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10981 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10982
2b942cb7 10983 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10984 intermediate file deletion.
2b942cb7 10985 (generated): Add .symlist files.
a65ef2ae 10986
54b71e02
JM
109872012-05-03 Joseph Myers <joseph@codesourcery.com>
10988
10989 [BZ #13775]
10990 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10991 Redirect under this condition.
10992 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10993 [__USE_GNU] (__dprintf_chk): Not under this condition.
10994 [__USE_GNU] (__vdprintf_chk): Likewise.
10995 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10996 under this condition.
10997 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10998 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10999 [__USE_XOPEN2K8] (vdprintf): Likewise.
11000 [__USE_GNU] (__dprintf_chk): Not under this condition.
11001 [__USE_GNU] (__vdprintf_chk): Likewise.
11002 [__USE_GNU] (dprintf): Likewise.
11003 [__USE_GNU] (vdprintf): Likewise.
11004
d3dfcc41
RM
110052012-05-03 Roland McGrath <roland@hack.frob.com>
11006
11007 * elf/Makefile (common-generated): Set this instead of generated for
11008 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11009 $(all-built-dso)-derived lists.
11010
7ac30cc5
AJ
110112012-05-03 Andreas Jaeger <aj@suse.de>
11012
0c51e550
AJ
11013 * sysdeps/i386/fpu/libm-test-ulps: Update.
11014
7ac30cc5
AJ
11015 * FAQ: Removed.
11016 * FAQ.in: Likewise.
11017 * scripts/gen-FAQ.pl: Likewise.
11018 * manual/install.texi (Installation): Point to online location of
11019 FAQ.
11020 * Makefile (files-for-dist): Remove FAQ.
11021 (FAQ): Remove.
11022
d4c2917f
AM
110232012-05-02 Allan McRae <allan@archlinux.org>
11024
11025 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11026 (LDFLAGS-reldepmod5.so): Likewise.
11027 (LDFLAGS-reldep6mod1.so): Likewise.
11028 (LDFLAGS-reldep6mod4.so): Likewise.
11029 (LDFLAGS-reldep8mod3.so): Likewise.
11030 (LDFLAGS-unload4mod1.so): Likewise.
11031 (LDFLAGS-unload4mod2.so): Likewise.
11032 (LDFLAGS-tst-initorder): Likewise.
11033 (LDFLAGS-tst-initordera2.so): Likewise.
11034 (LDFLAGS-tst-initordera3.so): Likewise.
11035 (LDFLAGS-tst-initordera4.so): Likewise.
11036 (LDFLAGS-tst-initorderb2.so): Likewise.
11037 (LDFLAGS-noload): Likewise.
11038 (LDFLAGS-next): Likewise.
11039 (LDFLAGS-order2mod1.so): Likewise.
11040 (LDFLAGS-order2mod2.so): Likewise.
11041 (LDFLAGS-tst-initorder2): Likewise.
11042 (LDFLAGS-tst-initorder2a.so): Likewise.
11043 (LDFLAGS-tst-initorder2b.so): Likewise.
11044 (LDFLAGS-tst-initorder2c.so): Likewise.
11045 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11046
d77f993f
DM
110472012-05-02 David S. Miller <davem@davemloft.net>
11048
11049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11050
171a70b4
PP
110512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11052
11053 [BZ #14055]
11054 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11055
0be196ad
AJ
110562012-05-02 Andreas Jaeger <aj@suse.de>
11057
11058 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11059 since we manipulate rounding mode.
11060 (CPPFLAGS-test-idouble.c): Likewise.
11061 (CPPFLAGS-test-ifloat.c): Likewise.
11062 (CFLAGS-test-ldouble.c): Likewise.
11063 (CFLAGS-test-double.c): Likewise.
11064 (CFLAGS-test-float.c): Likewise.
11065 (CFLAGS-test-misc.c): Likewise.
11066 (CFLAGS-test-test-fenv.c): Likewise.
11067
4f9d04aa
AZ
110682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
2b942cb7
RM
11070 [BZ #2550]
11071 [BZ #2570]
11072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11073 comparisons to determine direction to adjust input.
4f9d04aa 11074
82a79e7d
RM
110752012-05-01 Roland McGrath <roland@hack.frob.com>
11076
f5a01ca9
RM
11077 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11078 output to the target.
11079
90fe4186
RM
11080 * scripts/localplt.awk: New file.
11081 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11082 (check-localplt-CFLAGS): Variable removed.
11083 ($(all-built-dso:=.jmprel)): New static pattern rule.
11084 (generated): Add those targets.
11085 (localplt-built-dso): New variable.
11086 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11087
11088 * elf/check-localplt.c: File removed.
11089
82397ed6
RM
11090 * scripts/check-execstack.awk: New file.
11091 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11092 (check-execstack-CFLAGS): Variable removed.
11093 ($(objpfx)check-execstack.h): Target removed.
11094 ($(objpfx)execstack-default): New target.
11095 (generated): Add that instead of check-execstack.h.
11096 ($(all-built-dso:=.phdr)): New static pattern rule.
11097 (generated): Add those targets.
11098 * elf/check-execstack.c: File removed.
11099
82a79e7d
RM
11100 * scripts/check-textrel.awk: New file.
11101 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11102 (check-textrel-CFLAGS): Variable removed.
11103 (all-built-dso): Use := to define.o
11104 ($(all-built-dso:=.dyn)): New static pattern rule.
11105 (generated): Add those targets.
11106 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11107 * config.make.in (READELF): New substituted variable.
11108 * elf/check-textrel.c: File removed.
11109
62fde54f 111102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11111
615605c9
JM
11112 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11113 allow.
11114 * conform/data/ctype.h-data [C99-based standards] (isblank):
11115 Expect function.
11116 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11117 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11119 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11120 Specify type. Require positive value.
11121 (EILSEQ): Likewise.
11122 (ERANGE): Likewise.
11123 [ISO || POSIX] (EILSEQ): Do not expect.
11124 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11125 Specify type. Require positive value.
11126 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11127 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11128 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11129 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11130 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11131 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11132 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11133 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11134 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11135 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11136 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11137 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11138 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11139 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11140 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11141 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11142 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11143 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11144 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11145 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11146 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11147 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11148 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11149 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11150 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11151 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11152 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11153 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11154 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11155 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11156 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11157 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11158 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11159 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11160 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11161 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11162 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11163 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11164 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11165 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11166 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11167 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11168 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11169 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11170 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11171 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11172 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11173 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11177 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11178 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11183 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11184 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11185 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11187 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11192 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11193 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11194 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11198 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11199 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11200 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11201 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11202 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11203 Require >= 2.
11204 (FLT_ROUNDS): Expect as macro, not constant.
11205 (FLT_MANT_DIG): Use macro-int-constant.
11206 (DBL_MANT_DIG): Likewise.
11207 (LDBL_MANT_DIG): Likewise.
11208 (FLT_DIG): Likewise.
11209 (DBL_DIG): Likewise.
11210 (LDBL_DIG): Likewise.
11211 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11212 (DBL_MIN_EXP): Likewise.
11213 (LDBL_MIN_EXP): Likewise.
11214 (FLT_MAX_EXP): Use macro-int-constant.
11215 (DBL_MAX_EXP): Likewise.
11216 (LDBL_MAX_EXP): Likewise.
11217 (FLT_MAX_10_EXP): Likewise.
11218 (DBL_MAX_10_EXP): Likewise.
11219 (LDBL_MAX_10_EXP): Likewise.
11220 (FLT_MAX): Use macro-constant.
11221 (DBL_MAX): Likewise.
11222 (LDBL_MAX): Likewise.
11223 (FLT_EPSILON): Use macro-constant. Give upper bound.
11224 (DBL_EPSILON): Likewise.
11225 (LDBL_EPSILON): Likewise.
11226 (FLT_MIN): Likewise.
11227 (DBL_MIN): Likewise.
11228 (LDBL_MIN): Likewise.
11229 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11230 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11231 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11232 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11233 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11234 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11235 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11236 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11237 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11238 [ISO11] (FLT_TRUE_MIN): Likewise.
11239 [ISO11] (LDBL_TRUE_MIN): Likewise.
11240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11241 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11242 (SCHAR_MIN): Use macro-int-constant. Specify type.
11243 (SCHAR_MAX): Likewise.
11244 (UCHAR_MAX): Likewise.
11245 (CHAR_MIN): Likewise.
11246 (CHAR_MAX): Likewise.
11247 (MB_LEN_MAX): Use macro-int-constant.
11248 (SHRT_MIN): Use macro-int-constant. Specify type.
11249 (SHRT_MAX): Likewise.
11250 (USHRT_MAX): Likewise.
11251 (INT_MAX): Likewise.
11252 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11253 bound negative.
11254 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11255 bound with "U".
11256 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11257 bound with "L".
11258 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11259 bound negative. Suffix upper bound with "L".
11260 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11261 bound with "UL".
11262 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11263 Specify type.
11264 [C99-based standards] (LLONG_MAX): Likewise.
11265 [C99-based standards] (ULLONG_MAX): Likewise.
11266 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11267 == 0.
11268 [ISO11] (max_align_t): Require type.
11269 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11270
c9140a62
JM
11271 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11272 from $CFLAGS, without defining away __attribute__ calls.
11273 (checknamespace): Use $CFLAGS_namespace.
11274
9af0bf29
JM
11275 * conform/conformtest.pl (@keywords): Only include C99 keywords
11276 for standards based on C99 or C11.
11277
343222a2
JM
11278 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11279 Disable tests.
11280 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11281 UNIX98]: Likewise.
11282
661f8cf0
JM
11283 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11284 usability of symbols in #if.
11285
ee74b9cb
JM
11286 * conform/conformtest.pl: If macro or constant types start
11287 "promoted:", expect the symbol to be of the following type
11288 promoted by the integer promotions.
62fde54f 11289
aafc49b3
JM
11290 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11291 in one place. Also handle "macro-constant".
11292
fefdf574
JM
11293 * conform/conformtest.pl: Only accept expected macro values with
11294 "==". Parse all "macro" lines in one place.
11295 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11296
f2d922fe
JM
11297 * conform/conformtest.pl: Handle braced types on "constant" lines
11298 instead of handling "typed-constant".
11299 * conform/data/signal.h-data: Use "constant" instead of
11300 "typed-constant".
11301
d22956c9
JM
11302 * conform/conformtest.pl: Handle "optional-" at start of lines in
11303 one place rather than duplicating several cases. Handle each
11304 format of "macro" line with initial "optional-".
11305
028e2e38
JM
11306 * conform/conformtest.pl: Only accept expected constant or
11307 optional-constant values with "==". Parse all "constant" lines in
11308 one place. Parse all "optional-constant" lines in one place.
11309 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11310 * conform/data/fmtmsg.h-data: Likewise.
11311 * conform/data/netinet/in.h-data: Likewise.
11312 * conform/data/tar.h-data: Likewise.
11313 * conform/data/limits.h-data: Use "==" form on "constant" and
11314 "optional-constant" lines.
11315
1b8f2850
JM
11316 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11317 Use -std=c99 for XOPEN2K.
11318 (@knownproblems): Remove.
11319 (newtoken): Don't check %isknown.
11320
a05a144b
JM
11321 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11322 Do not expect macro.
11323 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11335 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11336 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11350 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11351 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11352 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11353 [XPG3] (acosh): Likewise.
11354 [XPG3] (asinh): Likewise.
11355 [XPG3] (atanh): Likewise.
11356 [XPG3] (cbrt): Likewise.
11357 [XPG3] (expm1): Likewise.
11358 [XPG3] (ilogb): Likewise.
11359 [XPG3] (log1p): Likewise.
11360 [XPG3] (logb): Likewise.
11361 [XPG3] (nextafter): Likewise.
11362 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11363 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11364 [XPG3] (remainder): Likewise.
11365 [XPG3] (rint): Likewise.
11366 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11367 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11368 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11369 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11370 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11371 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11372 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11373 [UNIX98 || XOPEN2K] (scalb): Expect.
11374 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11375 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11376 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11377 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11378 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11379 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11380 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11381 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11382 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11383 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11384 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11385 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11386 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11387 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11388 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11389 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11390 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11391 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11392 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11393 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11394 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11395 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11396 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11397 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11398 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11399 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11400 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11401 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11402 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11403 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11404 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11405 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11406 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11407 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11408 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11409 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11410 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11411 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11412 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11413 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11414 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11415 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11416 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11417 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11418 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11419 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11420 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11421 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11422 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11423 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11424 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11425 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11426 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11427 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11428 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11429 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11430 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11431 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11432 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11433 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11434 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11435 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11436 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11437 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11438 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11439 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11440 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11441 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11442 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11443 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11444 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11445 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11446 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11447 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11448 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11449 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11450 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11451 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11452 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11453 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11454 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11455 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11456 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11457 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11458 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11459 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11460 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11461 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11462 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11463 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11464 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11465 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11466 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11467 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11468 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11469 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11470 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11471 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11472 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11473 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11474 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11475 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11476 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11477 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11478 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11479 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11480 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11481 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11482 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11483 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11484 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11485 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11486 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11487 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11488 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11489 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11490 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11491 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11492 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11493 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11494 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11495 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11496 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11497 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11498 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11499 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11500 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11501 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11502 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11503 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11504 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11505 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11506 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11507 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11508 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11509 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11510 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11511
73c5ebe3
JM
11512 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11513 _XOPEN_SOURCE_EXTENDED for XPG4.
11514
39c33b6c
JM
11515 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11516
62fde54f
JM
11517 * Makeconfig (localtime): Remove variable.
11518 (inst_localtime-file): Likewise.
11519
0741d64c
AS
115202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11521
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11523 Update.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11525 Update.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11527 Update.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11529 Update.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11531 Update.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11533 Update.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11535 Update.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11537 Update.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11539 Update.
11540
7cb029ee
JM
115412012-05-01 Joseph Myers <joseph@codesourcery.com>
11542
11543 [BZ #2550]
11544 [BZ #2570]
11545 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11546 comparisons to determine direction to adjust input.
11547 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11548 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11550 Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11552 Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11554 Likewise.
11555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11557 Likewise.
11558 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11559 Likewise.
11560 * math/libm-test.inc (nexttoward_test): Add more tests.
11561
412bd966
AS
115622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11563
11564 [BZ #14040]
11565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11566 in version GLIBC_2.1, not GLIBC_2.0.
11567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11568 Likewise.
11569
9568c0c2
JM
115702012-04-30 Joseph Myers <joseph@codesourcery.com>
11571
adfbc8ac
JM
11572 [BZ #13942]
11573 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11574 (1 - x) * (1 + x).
11575 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11576 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11577 * math/libm-test.inc (acos_test): Add more tests.
11578 (asin_test): Likewise.
11579 * sysdeps/i386/fpu/libm-test-ulps: Update.
11580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11581
5ba3cc69
JM
11582 [BZ #14034]
11583 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11584 of square root.
11585 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11586 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11587 * math/libm-test.inc (acos_test_tonearest): New function.
11588 (acos_test_towardzero): Likewise.
11589 (acos_test_downward): Likewise.
11590 (acos_test_upward): Likewise.
11591 (asin_test_tonearest): Likewise.
11592 (asin_test_towardzero): Likewise.
11593 (asin_test_downward): Likewise.
11594 (asin_test_upward): Likewise.
11595 (main): Call the new functions.
11596 * sysdeps/i386/fpu/libm-test-ulps: Update.
11597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11598
9568c0c2
JM
11599 [BZ #13884]
11600 [BZ #13924]
11601 * math/e_exp10.c: Include <float.h>.
11602 (__ieee754_exp10): Handle underflow here rather than multiplying
11603 large negative argument by M_LN10.
11604 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11605 of __ieee754_expf.
11606 * math/e_exp10l.c: Include <float.h>.
11607 (__ieee754_exp10l): Handle underflow here rather than multiplying
11608 large negative argument by M_LN10l.
11609 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11610 spurious overflow exception on underflow.
11611
5ac3ea17
MP
116122012-04-29 Marek Polacek <polacek@redhat.com>
11613
11614 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11615 (__fortify_function): New macro.
11616 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11617 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11618 __extern_always_inline.
11619 * libio/bits/stdio2.h: Likewise.
11620 * libio/bits/stdio.h: Likewise.
11621 * string/string.h: Likewise.
11622 * string/bits/string3.h: Likewise.
11623 * include/stdio.h: Likewise.
11624 * stdlib/bits/stdlib.h: Likewise.
11625 * stdlib/stdlib.h: Likewise.
11626 * rt/bits/mqueue2.h: Likewise.
11627 * rt/mqueue.h: Likewise.
11628 * posix/bits/unistd.h: Likewise.
11629 * posix/unistd.h: Likewise.
11630 * io/bits/poll2.h: Likewise.
11631 * io/bits/fcntl2.h: Likewise.
11632 * io/fcntl.h: Likewise.
11633 * io/sys/poll.h: Likewise.
11634 * misc/bits/syslog.h: Likewise.
11635 * misc/bits/syslog-ldbl.h: Likewise.
11636 * misc/sys/syslog.h: Likewise.
11637 * socket/bits/socket2.h: Likewise.
11638 * socket/sys/socket.h: Likewise.
11639 * debug/tst-chk1.c: Likewise.
11640 * wcsmbs/bits/wchar2.h: Likewise.
11641 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11642 * wcsmbs/wchar.h: Likewise.
11643
ecf0ebfb
AJ
116442012-04-29 Andreas Jaeger <aj@suse.de>
11645
11646 * Makerules (tests): Remove enable-check-abi protection.
11647 (check-abi-warn): Remove.
11648 (check-abi-%): Remove check-abi-warn usage.
11649
11650 * configure.in: Remove check-abi configure option.
11651 * configure: Regenerated.
11652 * config.make.in (enable-check-abi): Remove.
11653
6d5c57fa
AS
116542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11655
24c5d07e 11656 [BZ #14033]
ded5180a
AS
11657 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11658 double functions to double *_finite functions.
11659
7e0d315d
AS
11660 [BZ #13941]
11661 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11662 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11663 LDBL_MIN_EXP.
11664 * stdio-common/Makefile (tests): Add tst-sprintf3.
11665 * stdio-common/tst-sprintf3.c: New file.
11666
6d5c57fa
AS
11667 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11668 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11669
0749ff8b
JM
116702012-04-28 Joseph Myers <joseph@codesourcery.com>
11671
11672 * conform/conformtest.pl: Remove duplicate typed-constant
11673 handling.
11674
8dbd5d7b
DM
116752012-04-28 David S. Miller <davem@davemloft.net>
11676
11677 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11678 (check-abi-%): Remove AWK script prerequisite and explicit
11679 abilist directory.
11680 (check-abi): Rewrite to just diff the symlist with the abilist.
11681 (config-tls, config-abi-config): Delete, no longer used.
11682 (update-abi-%): Remove AWK script and explicit abilist directory.
11683 (update-abi): Rewrite to simply compare and conditionally copy the
11684 symlist and the sysdep abilist file. Remove update-abi-config
11685 checks.
11686 * abilist/ld.abilist: Remove.
11687 * abilist/libBrokenLocale.abilist: Remove.
11688 * abilist/libanl.abilist: Remove.
11689 * abilist/libcrypt.abilist: Remove.
11690 * abilist/libdl.abilist: Remove.
11691 * abilist/librt.abilist: Remove.
11692 * abilist/libthread_db.abilist: Remove.
11693 * abilist/libutil.abilist: Remove.
11694 * scripts/extract-abilist.awk: Remove.
11695 * scripts/merge-abilist.awk: Remove.
11696 * sysdeps/generic/libcidn.abilist: New file.
11697 * sysdeps/generic/libnss_compat.abilist: New file.
11698 * sysdeps/generic/libnss_db.abilist: New file.
11699 * sysdeps/generic/libnss_dns.abilist: New file.
11700 * sysdeps/generic/libnss_files.abilist: New file.
11701 * sysdeps/generic/libnss_hesiod.abilist: New file.
11702 * sysdeps/generic/libnss_nis.abilist: New file.
11703 * sysdeps/generic/libnss_nisplus.abilist: New file.
11704 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11705 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11706 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11707 file.
11708 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11709 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11710 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11711 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11712 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11713 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11714 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11715 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11716 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11717 file.
11718 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11719 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11720 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11721 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11722 file.
11723 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11724 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11725 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11726 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11727 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11728 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11729 file.
11730 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11731 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11732 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11733 file.
11734 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11736 New file.
11737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11738 New file.
11739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11740 New file.
11741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11742 New file.
11743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11744 New file.
11745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11746 New file.
11747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11748 New file.
11749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11750 New file.
11751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11752 New file.
11753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11754 New file.
11755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11756 New file.
11757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11758 New file.
11759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11760 New file.
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11762 file.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11764 New file.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11766 New file.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11768 file.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11770 New file.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11772 New file.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11774 file.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11776 New file.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11778 New file.
11779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11780 New file.
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11782 New file.
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11784 New file.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11786 New file.
11787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11789 file.
11790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11791 New file.
11792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11793 file.
11794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11795 file.
11796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11797 file.
11798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11799 file.
11800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11801 file.
11802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11803 New file.
11804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11805 file.
11806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11807 file.
11808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11809 New file.
11810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11811 file.
11812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11814 file.
11815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11816 New file.
11817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11818 file.
11819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11820 file.
11821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11822 file.
11823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11824 file.
11825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11826 file.
11827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11828 New file.
11829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11830 file.
11831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11832 file.
11833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11834 New file.
11835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11836 file.
11837 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11839 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11840 file.
11841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11843 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11844 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11845 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11846 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11847 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11848 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11849 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11850 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11853 file.
11854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11855 New file.
11856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11857 file.
11858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11859 file.
11860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11861 file.
11862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11863 file.
11864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11865 file.
11866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11867 New file.
11868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11869 New file.
11870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11871 file.
11872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11873 New file.
11874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11875 file.
11876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11878 file.
11879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11880 New file.
11881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11882 file.
11883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11884 file.
11885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11886 file.
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11888 file.
11889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11890 file.
11891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11892 New file.
11893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11894 New file.
11895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11896 file.
11897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11898 New file.
11899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11900 file.
11901
41d73a1b
JM
119022012-04-28 Joseph Myers <joseph@codesourcery.com>
11903
11904 * conform/conformtest.pl: Fix typo in handling typed-constant from
11905 allow-header.
11906
28aeeda4
JM
119072012-04-27 Joseph Myers <joseph@codesourcery.com>
11908
adae8f5e
JM
11909 * README: Cut down references to pre-2.6 Linux kernels and
11910 Linuxthreads. Update lists of configurations in libc and ports
11911 and sort alphabetically. Say "or newer" with Linux kernel version
11912 requirements.
11913
28aeeda4
JM
11914 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11915
a462cb63
RA
119162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11917
11918 [BZ #887]
11919 * math/libm-test.inc (logb_test_downward): New test to expose
11920 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11921 rounding mode.
11922
6ad3493e
JM
119232012-04-27 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #14027]
11926 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11927 to be done.
11928 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11929 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11930
2ce4f015
JM
119312012-04-26 Joseph Myers <joseph@codesourcery.com>
11932
5aeb141a
JM
11933 * sysdeps/unix/i386/brk.S: Remove file.
11934 * sysdeps/unix/i386/dl-brk.S: Likewise.
11935 * sysdeps/unix/i386/pipe.S: Likewise.
11936 * sysdeps/unix/i386/sigreturn.S: Likewise.
11937 * sysdeps/unix/i386/syscall.S: Likewise.
11938 * sysdeps/unix/i386/vfork.S: Likewise.
11939 * sysdeps/unix/i386/wait.S: Likewise.
11940
7143acae
JM
11941 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11942 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11943
2ce4f015
JM
11944 * configure.in (arm*-none*): Do not allow without
11945 --enable-hacker-mode.
11946 (netbsd*): Remove case setting base_os.
11947 (386bsd*): Likewise.
11948 (freebsd*): Likewise.
11949 (bsdi*): Likewise.
11950 (osf*): Likewise.
11951 (sunos*): Likewise.
11952 (ultrix*): Likewise.
11953 (newsos*): Likewise.
11954 (dynix*): Likewise.
11955 (*bsd*): Likewise.
11956 (sysv*): Likewise.
11957 (isc*): Likewise.
11958 (esix*): Likewise.
11959 (sco*): Likewise.
11960 (minix*): Likewise.
11961 (irix4*): Likewise.
11962 (irix6*): Likewise.
11963 (solaris[2-9]*): Likewise.
11964 (none): Likewise.
11965 * configure: Regenerated.
11966
0ac229c8
AZ
119672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11968
11969 [BZ #11521]
11970 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11971 overflow or cancellation in calculating denominator.
11972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11974 down expression to avoid unexpected rounding in newer GCCs.
11975 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11976
33f244f4
DM
119772012-04-26 David S. Miller <davem@davemloft.net>
11978
11979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11980 long-double compat symbols.
11981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11994
cfa1f3e8
DM
119952012-04-25 David S. Miller <davem@davemloft.net>
11996
11997 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11998 HWCAP_* values only after the memory barriers have been defined.
11999 (atomic_full_barrier): Define.
12000 (atomic_read_barrier): Define.
12001 (atomic_write_barrier): Define.
12002
6e236b92
SP
120032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12004
12005 * shlib-versions: Add libgcc_s version information.
12006 * sysdeps/generic/libgcc_s.h: Remove.
12007 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12008 libgcc_s.h.
12009 * sysdeps/gnu/unwind-resume.c: Likewise.
12010 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12011
aab39a09
DM
120122012-04-25 David S. Miller <davem@davemloft.net>
12013
12014 * sysdeps/unix/sparc/brk.S: Delete.
12015 * sysdeps/unix/sparc/dl-brk.S: Delete.
12016 * sysdeps/unix/sparc/pipe.S: Delete.
12017 * sysdeps/unix/sparc/sysdep.S: Delete.
12018 * sysdeps/unix/sparc/sysdep.h: Delete.
12019 * sysdeps/unix/sparc/vfork.S: Delete.
12020 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12021 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12023 ret_ERRVAL, r0, r1, MOVE): Define.
12024 (JUMPTARGET): Remove.
12025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12026 sysdeps/unix/sparc/sysdep.h
12027 (ENTRY, END): Remove.
12028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12029
a3cc4f48
JM
120302012-04-25 Joseph Myers <joseph@codesourcery.com>
12031
2ed8cda2
JM
12032 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12033 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12034 -DIS_IN_build.
12035
35d76d59
JM
12036 * timezone/README: Update upstream location and email address for
12037 tzcode and tzdata.
12038 * timezone/zdump.c: Update from tzcode 2012b.
12039 * timezone/zic.c: Likewise.
12040
a3cc4f48
JM
12041 * configure.in (libc_cv_as_needed): Remove test.
12042 * configure: Regenerated.
12043 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12044 conditional definition.
12045 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12046 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12047 * config.make.in (have-as-needed): Remove variable.
12048
ceab42c3
SP
120492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12050 Paul Pluzhnikov <ppluzhnikov@google.com>
12051
12052 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12053 strings correctly.
12054
3ce2865f
CLT
120552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12056
12057 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12058 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12059 * sysdeps/sh/strlen.S: Likewise.
12060
f37e0d68
JM
120612012-04-24 Joseph Myers <joseph@codesourcery.com>
12062
ae186e9a
JM
12063 * sysdeps/unix/fork.S: Remove file.
12064 * sysdeps/unix/i386/fork.S: Likewise.
12065 * sysdeps/unix/sparc/fork.S: Likewise.
12066
b96914af
JM
12067 * sysdeps/unix/system.c: Remove file.
12068 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12069
f37e0d68
JM
12070 * sysdeps/unix/getegid.S: Remove file.
12071 * sysdeps/unix/geteuid.S: Likewise.
12072
87ef29ca
RM
120732012-04-24 Roland McGrath <roland@hack.frob.com>
12074
83bcd236
RM
12075 * scripts/check-localplt.awk: New file.
12076 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12077 of diff.
12078 * scripts/data/localplt-generic.data: Add a comment.
12079
87ef29ca
RM
12080 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12081 NODE when __dir_mkfile failed.
12082 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12083 Reported by Ludovic Courtès <ludo@gnu.org>.
12084
e5a6e567
AJ
120852012-04-24 Andreas Jaeger <aj@suse.de>
12086
12087 * Makerules (common-clean): Also remove gen-as-const-headers
12088 files.
12089
c1820385
JM
120902012-04-24 Joseph Myers <joseph@codesourcery.com>
12091
12092 * Makerules (native-compile): Do not change working directory for
12093 build. Use $(OUTPUT_OPTION) in command.
12094 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12095
94e02fc4
AZ
120962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12097
12098 [BZ #13886]
12099 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12100 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12101 * math/libm-test.inc (floor_test): Add more tests.
12102 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12103
3a533ca3
JM
121042012-04-24 Joseph Myers <joseph@codesourcery.com>
12105
940ab4b3
JM
12106 * sysdeps/unix/getdents.c: Remove file.
12107 * sysdeps/unix/sysv/getdents.c: Likewise.
12108 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12109
90e037bd
JM
12110 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12111 sysdeps/unix/mman/syscalls.list.
12112 (mmap): Likewise.
12113 (mprotect): Likewise.
12114 (msync): Likewise.
12115 (munmap): Likewise.
12116 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12117 * sysdeps/unix/mman/syscalls.list: Remove.
12118 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12119
3a533ca3
JM
12120 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12121 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12122 * configure: Regenerated.
12123 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12124 $(libgcc_s_suffix).
12125 * config.make.in (libgcc_s_suffix): Remove variable.
12126
1ad743de
JM
121272012-04-23 Joseph Myers <joseph@codesourcery.com>
12128
4ad451e2
JM
12129 * sysdeps/unix/sysv/gethostname.c: Move to ...
12130 * sysdeps/posix/gethostname.c: ... here.
12131
5e37ce39
JM
12132 * sysdeps/unix/execve.S: Remove file.
12133
1ad743de
JM
12134 * sysdeps/unix/_exit.S: Remove file.
12135
4e681b5b
AJ
121362012-04-23 Andreas Jaeger <aj@suse.de>
12137
12138 [BZ #13739]
12139 * manual/Makefile: Remove make dist support, there's no
12140 need for a stand-alone documentation tar ball.
12141 (TEXI2DVI): Define always, it's not in Makeconfig.
12142 (dist): Removed.
12143 (tar-it): Removed.
12144 (edition): Removed.
12145 (glibc-doc-$(edition).tar): Removed
12146 (%.Z): Removed.
12147 (%.gz): Removed.
12148 (%.uu): Removed.
12149 (ETAGS): Remove, it's in Makeconfig.
12150 (move-if-change): Remove, it's in Makeconfig.
12151
38686a03 121522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12153
12154 [BZ #13970]
12155 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12156 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12157 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12158 (strtod_l, strtof_l, strtold_l): Remove __wur.
12159 It is not necessarily an error to ignore strtol's return value.
12160 One can reliably look at the stored endptr to decide whether
12161 the number had valid syntax.
12162
7c0616fa
AJ
121632012-04-21 Andreas Jaeger <aj@suse.de>
12164
803cb6b7 12165 [BZ #13739]
7c0616fa
AJ
12166 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12167
b0fe253f
JM
121682012-04-21 Joseph Myers <joseph@codesourcery.com>
12169
12170 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12171 * sysdeps/unix/sysv/Versions: Remove file.
12172
8280f22d
MT
121732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12174
12175 [BZ #13927]
12176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12177
75ce411f 121782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12179
12180 [BZ #7064]
12181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12182 version from __vm86.
12183
097d59fa
JM
121842012-04-20 Joseph Myers <joseph@codesourcery.com>
12185
a90f3bcb
JM
12186 * sysdeps/unix/common/lxstat.c: Remove file.
12187 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12188
edc7ea78
JM
12189 * sysdeps/unix/sysv/Makefile: Remove file.
12190
cb78c221
JM
12191 * sysdeps/unix/sysv/direct.h: Remove file.
12192
efa6a45f
JM
12193 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12194 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12195 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12196 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12197 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12198 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12199 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12200
9c9f2d0c
JM
12201 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12202
4541c83b
JM
12203 * sysdeps/unix/xmknod.c: Remove file.
12204 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12205
f5d153a0
JM
12206 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12207
aa746595
JM
12208 * sysdeps/unix/sysv/i386/time.S: Remove file.
12209
cce5905e
JM
12210 * sysdeps/unix/fxstat.c: Remove file.
12211 * sysdeps/unix/xstat.c: Likewise.
12212 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12213
37fa3841
JM
12214 * sysdeps/unix/sysv/sigaction.c: Remove file.
12215
ff1962a3
JM
12216 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12217 (sysdep_headers): Remove variable.
12218 [termio.h not in sysdep_headers] (generated): Likewise.
12219 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12220 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12221 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12222 * sysdeps/unix/sysv/tcflow.c: Likewise.
12223 * sysdeps/unix/sysv/tcflush.c: Likewise.
12224 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12225 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12226 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12227 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12228 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12229
e7740d31
JM
12230 * sysdeps/unix/siglist.c: Remove file.
12231
ee06f18b
JM
12232 * sysdeps/unix/getppid.S: Remove file.
12233
097d59fa
JM
12234 * sysdeps/unix/mkdir.c: Remove file.
12235 * sysdeps/unix/rmdir.c: Likewise.
12236
ff3d51ec
AS
122372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12238
12239 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12240 ERR_MAX value.
12241 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12242 errlist-compat value.
12243
50f81fd7
DM
122442012-04-18 David S. Miller <davem@davemloft.net>
12245
12246 * sysdeps/generic/memcopy.h (reg_char): Delete.
12247 * debug/strcat_chk.c: Use char, not reg_char.
12248 * debug/strcpy_chk.c: Likewise.
12249 * debug/strncat_chk.c: Likewise.
12250 * debug/strncpy_chk.c: Likewise.
12251 * string/memchr.c: Likewise.
12252 * string/memrchr.c: Likewise.
12253 * string/rawmemchr.c: Likewise.
12254 * string/strcat.c: Likewise.
12255 * string/strchr.c: Likewise.
12256 * string/strchrnul.c: Likewise.
12257 * string/strcmp.c: Likewise.
12258 * string/strcpy.c: Likewise.
12259 * string/strncat.c: Likewise.
12260 * string/strncmp.c: Likewise.
12261 * string/strncpy.c: Likewise.
12262
8ff41c46
WS
122632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12264
12265 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12266 __builtin_memcopy is called when src and dest ranges are known to not
12267 overlap.
12268
6b652f46
WS
122692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12270
12271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12272 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12273 fwd_align_merge macro call.
12274 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12275 bwd_align_merge macro call.
12276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12277
b282631e
WS
122782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12279
12280 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12281 bwd_align_merge macros.
12282 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12283 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12284 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12285
95aa737c
DM
122862012-04-18 David S. Miller <davem@davemloft.net>
12287
12288 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12289
7a99a614
AJ
122902012-04-18 Andreas Jaeger <aj@suse.de>
12291
12292 [BZ# 6794]
12293 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12294 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12295 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12296
12297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12298 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12299 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12300
12301 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12302 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12303 Adjust for changed ldbl-128 files.
12304
12305 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12306 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12307 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12308
e5270c23
DM
123092012-04-17 David S. Miller <davem@davemloft.net>
12310
12311 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12312
fb5e92c9
AS
123132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12314
12315 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12316 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12317 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12318 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12319 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12320 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12321
76da7265
AZ
123222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12323
12324 [BZ #6794]
12325 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12326 * math/libm-test.inc: Add ilogb errno and exception tests.
12327 * math/w_ilogb.c: New file: ilogb wrapper.
12328 * math/w_ilogbf.c: New file: ilogbf wrapper.
12329 * math/w_ilogbl.c: New file: ilogbl wrapper.
12330 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12331 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12332 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12333 exception being thrown with 0.0 as argument.
12334 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12335 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12336 exception being thrown with 0.0 as argument.
12337 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12338 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12339 exception being thrown with 0.0 as argument.
12340 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12341 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12342 exception being thrown with 0.0 as argument.
12343 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12344 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12345 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12346 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12347 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12348 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12349 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12350 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12351 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12352
0396e69d
PB
123532012-04-17 Petr Baudis <pasky@ucw.cz>
12354
12355 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12356 with altivec.
12357
750b5926
MP
123582012-04-16 Marek Polacek <polacek@redhat.com>
12359
12360 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12361
751728a1
MP
123622012-04-16 Marek Polacek <polacek@redhat.com>
12363
12364 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12365 operands of fdivp instruction.
12366
34a27407
L
123672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12370 * elf/tst-auditmod3b.c: Likewise.
12371 * elf/tst-auditmod4b.c: Likewise.
12372 * elf/tst-auditmod5b.c: Likewise.
12373 * elf/tst-auditmod6b.c: Likewise.
12374 * elf/tst-auditmod6c.c: Likewise.
12375 * elf/tst-auditmod7b.c: Likewise.
12376 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12377 * sysdeps/x86_64/preconfigure.in: Likewise.
12378 * sysdeps/x86_64/preconfigure: Regenerated.
12379
7e73e17d
L
123802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12383 __ILP32__.
12384
c7a6ab72
AB
123852012-04-13 Antoine Balestrat <merkil33@gmail.com>
12386
12387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12388 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12389
a9e8e0e0
CL
123902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12391
12392 [BZ #13973]
12393 * locale/iso-639.def: Fix gl language name. Spotted by
12394 Yaron Shahrabani.
12395
ec98af7d
RM
123962012-04-12 Roland McGrath <roland@hack.frob.com>
12397
12398 [BZ #2074]
12399 * libio/libio.h (__io_write_fn): Update comment.
12400
247c3ede
PB
124012012-04-12 Petr Baudis <pasky@ucw.cz>
12402
12403 [BZ #2074]
12404 * stdio.texi (Hook Functions): The user provided writer function
12405 is not allowed to return -1.
12406
55939d6d
DM
124072012-04-11 David S. Miller <davem@davemloft.net>
12408
12409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12410
90020f5a
MF
124112012-04-11 Mike Frysinger <vapier@gentoo.org>
12412
12413 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12414 Add a leading slash to rtkaio.
12415
288f9098
JM
124162012-04-11 Jim Meyering <meyering@redhat.com>
12417
90020f5a
MF
12418 [BZ #11959]
12419 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12420 It is not necessarily an error to ignore fwrite's return
12421 value. One can reliably use ferror to test for errors after
12422 the fact.
288f9098 12423
4be2b570
L
124242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 * bits/types.h (__snseconds_t): New type.
12427 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12428
12429 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12431 (__SNSECONDS_T_TYPE): Likewise.
12432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12433 (__SNSECONDS_T_TYPE): Likewise.
12434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12435 (__SNSECONDS_T_TYPE): Likewise.
12436
288f9098 124372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12438
12439 [BZ #2636]
12440 * manual/time.texi (Processor Time): Return type of times is
12441 elapsed real time since an arbitrary point in the past.
12442 (CPU Time): Move CLK_TCK from here...
12443 (Processor Time): ...to here. Correct description.
12444 * manual/conf.texi (Constants for Sysconf): Correct description of
12445 _SC_CLK_TCK.
12446
d7dd4413
DM
124472012-04-10 David S. Miller <davem@davemloft.net>
12448
12449 [BZ #13967]
12450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12451 where the is a gap between DT_REL(A) and DT_JMPREL.
12452
b46068fc
L
124532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12454
12455 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12456 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12457 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12458
73d65cc3
SP
124592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12460
12461 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12462 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12463 (dl_main): Handle --inhibit-cache.
12464 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12465 _dl_inhibit_cache.
12466 * elf/dl-load.c (_dl_map_object): Use it.
12467 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12468
bcc8d661
JM
124692012-04-09 Joseph Myers <joseph@codesourcery.com>
12470
8f9a2fae
JM
12471 [BZ #13872]
12472 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12473 (__ieee754_powl): Saturate large exponents rather than testing for
12474 overflow of y*log2(x).
12475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12476 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12477 exceptions.
12478
bcc8d661
JM
12479 [BZ #11521]
12480 * math/s_ctan.c: Include <float.h>.
12481 (__ctan): Avoid internal overflow or cancellation in calculating
12482 denominator.
12483 * math/s_ctanf.c: Likewise.
12484 * math/s_ctanl.c: Likewise.
12485 * math/s_ctanh.c: Likewise.
12486 * math/s_ctanhf.c: Likewise.
12487 * math/s_ctanhl.c: Likewise.
12488 * math/libm-test.inc (ctan_test): Add more tests.
12489 (ctanh_test): Likewise.
12490 * sysdeps/i386/fpu/libm-test-ulps: Update.
12491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12492
823fbbb4
AJ
124932012-04-09 Andreas Jaeger <aj@suse.de>
12494
03879793
AJ
12495 [BZ #6894]
12496 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12497 is an optional BSD extension.
12498
823fbbb4
AJ
12499 [BZ #10254]
12500 * manual/stdio.texi (Opening Streams): Document additional fopen
12501 parameters.
12502
8de131cb
RM
125032012-04-09 Roland McGrath <roland@hack.frob.com>
12504
12505 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12506 %eax without telling the compiler.
12507
c0ed9d7d
CD
125082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12509
12510 [BZ # 13963]
12511 * manual/install.texi: Use sourceware.org.
12512
c483f6b4
JM
125132012-04-09 Joseph Myers <joseph@codesourcery.com>
12514
d7dd9453
JM
12515 [BZ #13873]
12516 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12517 (__ieee754_pow): Generate overflow and underflow using huge*huge
12518 and tiny*tiny rather than just returning constant infinity or zero
12519 for large exponents.
12520 * math/libm-test.inc (pow_test): Require overflow exceptions for
12521 applicable cases of large exponents.
12522
c483f6b4
JM
12523 [BZ #706]
12524 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12525 (__ieee754_pow): Use iterative multiplication algorithm only for
12526 integer exponents with absolute value below 1024. Check for odd
12527 integer exponents when using algorithm for real exponents.
12528 * math/libm-test.inc (pow_test): Add more tests.
12529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12530
d2de7579
JM
125312012-04-08 Joseph Myers <joseph@codesourcery.com>
12532
12533 [BZ #13705]
12534 * math/libm-test.inc (exp_test): Do not allow overflow exception
12535 on underflow test.
12536
f77f1232
AJ
125372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12538
12539 [BZ #13705]
12540 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12541 instead of __kernel_standard_f.
12542
3884932b
MF
125432012-04-08 Mike Frysinger <vapier@gentoo.org>
12544
12545 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12546 * sysdeps/x86_64/memset_chk.S: Likewise.
12547
54472e9c
AJ
125482012-04-08 Andreas Jaeger <aj@suse.de>
12549
6ab0fbfc
AJ
12550 [BZ #10153]
12551 * manual/startup.texi (Environment Access): Describe return value
12552 for putenv and setenv.
12553
61efba8c
AJ
12554 [BZ #6895]
12555 * manual/filesys.texi (Directory Entries): Add description for
12556 DT_LNK.
12557
95c3f29a
AJ
12558 [BZ #6890]
12559 * manual/filesys.texi (Directory Entries): Clarify that it's file
12560 system not operating system in the description of DT_UNKNOWN.
12561
54472e9c
AJ
12562 [BZ #6578]
12563 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12564
624254b1
SC
125652012-04-08 Stephen Compall <s11@member.fsf.org>
12566
12567 [BZ #6649]
12568 * manual/llio.texi (Opening and Closing Files): Add cross
12569 reference to explain mode argument.
12570
1e4920e0
MF
125712012-04-07 Mike Frysinger <vapier@gentoo.org>
12572
12573 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12574 * sysdeps/x86_64/memset_chk.S: Likewise.
12575
5ed848f3
DM
125762012-04-07 David S. Miller <davem@davemloft.net>
12577
12578 * elf/elf.h (R_SPARC_WDISP10): Define.
12579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12580 R_SPARC_SIZE32.
12581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12582 R_SPARC_SIZE64 and R_SPARC_H34.
12583
96154cd8
CD
125842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12585
12586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12587 conditions and remove no longer applicable assertion.
12588
9904dc47
L
125892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12590
12591 * bits/byteswap.h: Include <features.h>.
12592 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12593 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12594
f8887d0a
L
125952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 * bits/byteswap.h (__bswap_16): Removed.
12598 Include <bits/byteswap-16.h> to get __bswap_16.
12599 * sysdeps/i386/bits/byteswap.h: Likewise.
12600 * sysdeps/s390/bits/byteswap.h: Likewise.
12601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12602 * bits/byteswap-16.h: New file.
12603 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12604 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12605 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12606 * string/Makefile (headers): Add bits/byteswap-16.h.
12607
62470f60
PP
126082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12609
12610 [BZ #13895]
12611 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12612 extra indirection.
12613 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12614 * nss/tst-nss-static.c: New.
12615
4dad7bab
RM
126162012-04-06 Robert Millan <rmh@gnu.org>
12617
12618 [BZ #6486]
12619 * manual/llio.texi (File Position Primitive): lseek
12620 refers to WHENCE when it really means OFFSET.
12621
e9142a17
AJ
126222012-04-06 Andreas Jaeger <aj@suse.de>
12623
2c040eff
AJ
12624 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12625 strncmp declarations.
12626
e9142a17
AJ
12627 * abilist/libc.abilist: Add __poll and __ppoll.
12628
ff9f1c5f
DM
126292012-04-05 David S. Miller <davem@davemloft.net>
12630
dcd2ae90
DM
12631 * scripts/check-local-headers.sh: Accept a host triplet in the
12632 path matched by the exclude regexp.
12633
993eb054
DM
12634 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12635 definition.
12636 * sysdeps/powerpc/powerpc32/dl-machine.h
12637 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12638 * sysdeps/s390/s390-32/dl-machine.h
12639 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12640 * sysdeps/sparc/sparc32/dl-machine.h
12641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12642 * sysdeps/sparc/sparc64/dl-machine.h
12643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12644
ff9f1c5f
DM
12645 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12646 lazy binding.
48e2e132 12647 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12648 undefined symbol errors.
12649
48e2e132 12650 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12651 DT_NEEDED entries.
12652
e80d6f94
MM
126532012-04-05 Michael Matz <matz@suse.de>
12654
12655 [BZ #13592]
12656 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12657
349fa79f
AJ
126582012-04-05 Andreas Jaeger <aj@suse.de>
12659
12660 [BZ #13908]
12661 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12662 comment.
12663
f402708f
KK
126642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12665
12666 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12667 which ROUND is no valid rounding mode.
12668
2ecccfc9
KK
126692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12670
12671 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12672 read again.
12673 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12674
8a53f50f
KK
126752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12676
12677 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12678 an exception using FPU order intentionally.
12679
126802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12681
12682 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12683 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12684 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12685 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12686
d653abb7
SJ
126872012-04-05 Simon Josefsson <simon@josefsson.org>
12688
12689 [BZ #12340]
12690 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12691 EINVAL when BUFLEN is too smal.
12692
c3b1bf7d
TS
126932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12694
12695 [BZ #13553]
12696 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12697 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12698
b1aa60f3
AJ
126992012-04-03 Andreas Jaeger <aj@suse.de>
12700
c3b1bf7d 12701 [BZ #13938]
67f60a26
AJ
12702 * manual/setjmp.texi (System V contexts): Fix sentence.
12703
b1aa60f3
AJ
12704 [BZ #13926]
12705 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12706 New macro for this case.
12707 [!__GNUC__] (__bswap_64): New inline function for this case.
12708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12709 * bits/byteswap.h: Likewise.
12710 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12711 ull, guard with __GLIBC_HAVE_LONG_LONG.
12712
12713 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12714 __GLIBC_HAVE_LONG_LONG.
12715
12716 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12717 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12718
39c59c35
TMQMF
127192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12720
12721 [BZ #13691]
12722 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12723 inptr and inend, rather than using last_ch.
12724
135ffda8
DM
127252012-04-02 David S. Miller <davem@davemloft.net>
12726
12727 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12728 * stdio-common/printf-parse.h (read_int): Change return type to
12729 'int', return -1 on INT_MAX overflow.
12730 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12731 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12732 overflows INT_MAX. Check for overflow of in-format-string precision
12733 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12734 SIZE_MAX not INT_MAX for integer overflow test.
12735 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12736 skip the construct in the format string but do not record anything.
12737 * stdio-common/bug22.c: Adjust to test both width/prevision
12738 INT_MAX overflow as well as total length INT_MAX overflow. Check
12739 explicitly for proper errno values.
12740
228c019e
TS
127412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12742
302cadd3
TS
12743 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12744 CHAR_MAX.
12745 * string/test-strcmp.c [! WIDE]: Likewise.
12746 * time/tst-mktime2.c: Likewise for INT_MAX.
12747 * string/test-string.h: #include <sys/param.h> for MIN.
12748
228c019e
TS
12749 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12750 * sysdeps/i386/init-first.c (init): Likewise.
12751 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12752 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12753 * sysdeps/sh/init-first.c (init): Likewise.
12754
cfa633f5
UD
127552012-04-01 Ulrich Drepper <drepper@gmail.com>
12756
12757 * po/ru.po: Update from translation team.
d1635ef8 12758 * po/vi.po: Likewise.
cfa633f5 12759
6cd0a5ea
SP
127602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12761
12762 * resolv/nss_dns/dns-host.c: Merge copyright years.
12763
4b43400f
LD
127642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12765
12766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12767 Optimize memcpy with prefetch if
12768 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12769 src, dst pointers have unequal 16 byte alignments.
12770
48c41d04
SP
127712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12772
12773 [BZ #13928]
12774 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12775 from a CNAME entry and return the minimum ttl for the query.
12776 (gaih_getanswer_slice): Likewise.
12777
b8dc394d
JL
127782012-03-30 Jeff Law <law@redhat.com>
12779
12780 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12781 due to long keys.
12782 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12783 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12784
2f5a5ed0
JL
12785 * resolv/nss_dns/dns-host.c: Update copyright year.
12786
1d39e359
UD
127872012-03-30 Ulrich Drepper <drepper@gmail.com>
12788
c030f70c 12789 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12790 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12791
1d39e359
UD
12792 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12793 comments for sendmmsg.
12794
127952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12796
12797 [BZ #13691]
12798 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12799 with only 1 character between 0x0041 and 0x01b0.
12800 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12801 * wcsmbs/tst-mbsnrtowcs.c: New file.
12802
20fde227
DM
128032012-03-29 David S. Miller <davem@davemloft.net>
12804
12805 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12806 small copies by hand.
12807
984a4237
JL
128082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12809
12810 [BZ #13761]
12811 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12812 _nss_compat_initgroups_dyn): Fall back to malloc/free
12813 for large group memberships.
12814
18c9d62b
DM
128152012-03-28 David S. Miller <davem@davemloft.net>
12816
88d85d4f
DM
12817 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12818 that branches into memcpy.
12819 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12822 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12824 bits.
12825 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12826 implementation too.
12827 * sysdeps/sparc/mempcpy.S: New file.
12828
e5aa83e1
DM
12829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12830 the IFUNC routine in the libc case.
12831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12832
88570753
DM
12833 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12834 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12835 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12836 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12837 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12838 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12839 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12840 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12841
249d7567
DM
12842 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12843 loop to 256 bytes instead of 64 bytes and fix test signedness.
12844
18c9d62b
DM
12845 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12846 * sysdeps/sparc/sparc32/Makefile: rather than here...
12847 * sysdeps/sparc/sparc64/Makefile: and here.
12848
05f3d1f6
UD
128492012-03-28 Ulrich Drepper <drepper@gmail.com>
12850
12851 * malloc/mallocbug.c: Avoid warnings about unused variables.
12852
86ae07a8
JL
128532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12854
12855 [BZ #13760]
12856 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12857 in the right place. Discard and retry query if response is
12858 larger than input buffer size.
12859
41bf21a1
JM
128602012-03-28 Joseph Myers <joseph@codesourcery.com>
12861
d6270972
JM
12862 [BZ #369]
12863 [BZ #2678]
12864 [BZ #3866]
12865 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12866 x for large integer exponent.
12867 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12868 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12869 sign of result as needed afterwards.
12870 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12871 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12872 result for underflowing pow the same as for overflow.
12873 (__kernel_standard_l): Handle powl overflow and underflow here
12874 rather than calling __kernel_standard.
12875 * math/libm-test.inc (pow_test): Add more tests.
12876
414fca03 12877 [BZ #3868]
41bf21a1
JM
12878 [BZ #13879]
12879 [BZ #13910]
12880 [BZ #13911]
12881 [BZ #13912]
12882 [BZ #13913]
12883 [BZ #13915]
12884 [BZ #13916]
12885 [BZ #13917]
12886 [BZ #13918]
12887 [BZ #13919]
12888 [BZ #13920]
12889 [BZ #13921]
12890 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12891 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12892 (__kernel_standard_l): New function.
12893 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12894 __kernel_standard.
12895 * math/w_acosl.c (__acosl): Likewise.
12896 * math/w_asinl.c (__asinl): Likewise.
12897 * math/w_atan2l.c (__atan2l): Likewise.
12898 * math/w_atanhl.c (__atanhl): Likewise.
12899 * math/w_coshl.c (__coshl): Likewise.
12900 * math/w_exp10l.c (__exp10l): Likewise.
12901 * math/w_exp2l.c (__exp2l): Likewise.
12902 * math/w_fmodl.c (__fmodl): Likewise.
12903 * math/w_hypotl.c (__hypotl): Likewise.
12904 * math/w_j0l.c (__j0l, __y0l): Likewise.
12905 * math/w_j1l.c (__j1l, __y1l): Likewise.
12906 * math/w_jnl.c (__jnl, __ynl): Likewise.
12907 * math/w_lgammal.c (__lgammal): Likewise.
12908 * math/w_log10l.c (__log10l): Likewise.
12909 * math/w_log2l.c (__log2l): Likewise.
12910 * math/w_logl.c (__logl): Likewise.
12911 * math/w_powl.c (__powl): Likewise.
12912 * math/w_remainderl.c (__remainderl): Likewise.
12913 * math/w_scalbl.c (sysv_scalbl): Likewise.
12914 * math/w_sinhl.c (__sinhl): Likewise.
12915 * math/w_sqrtl.c (__sqrtl): Likewise.
12916 * math/w_tgammal.c (__tgammal): Likewise.
12917 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12918 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12919 * math/libm-test.inc (acos_test): Add more tests.
12920 (acosh_test): Likewise.
12921 (asin_test): Likewise.
12922 (atanh_test): Likewise.
12923 (exp_test): Likewise.
12924 (exp10_test): Likewise.
12925 (exp2_test): Likewise.
12926 (expm1_test): Likewise.
12927 (lgamma_test): Likewise.
12928 (log_test): Likewise.
12929 (log10_test): Likewise.
12930 (log1p_test): Likewise.
12931 (log2_test): Likewise.
12932 (pow_test): Do not allow some spurious overflow exceptions.
12933 (sqrt_test): Add more tests.
12934 (tgamma_test): Likewise.
12935 (y0_test): Likewise.
12936 (y1_test): Likewise.
12937 (yn_test): Likewise.
12938
dd62fda6
AB
129392012-03-27 Anton Blanchard <anton@samba.org>
12940
12941 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12942 MAP_HUGETLB.
12943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12946
1e3cdfda
AJ
129472012-03-27 David S. Miller <davem@davemloft.net>
12948
b855ab85
DM
12949 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12950
1e3cdfda
AJ
12951 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12952 have-as-vis3 check.
12953
129542012-03-27 Andreas Jaeger <aj@suse.de>
12955
12956 * sysdeps/x86_64/elf/configure.in: Moved to ...
12957 * sysdeps/x86_64/configure.in: ... here.
12958 * sysdeps/x86_64/elf/start.S: Moved to ...
12959 * sysdeps/x86_64/start.S: ... here.
12960 * sysdeps/x86_64/elf/configure: Delete.
12961
12962 * sysdeps/x86_64/configure.in: Merge contents from
12963 sysdeps/i386/configure.in (without i686 check).
12964
12965 * sysdeps/i386/elf/Versions: Merge into ...
12966 * sysdeps/i386/Versions: ... this.
12967 * sysdeps/i386/elf/Versions: Delete file.
12968 * sysdeps/i386/elf/start.S: Moved to ...
12969 * sysdeps/i386/start.S: ...here.
12970 * sysdeps/i386/elf/configure.in: Merge into...
12971 * sysdeps/i386/configure.in: ...here.
12972 * sysdeps/i386/elf/configure.in: Delete file.
12973 * sysdeps/i386/elf/configure: Delete file.
12974
12975 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12976 * debug/backtracesyms.c: ... here.
12977 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12978 * debug/backtracesymsfd.c: ... here.
12979 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12980 * sysdeps/generic/ifunc-sel.h: ... here.
12981
12982 * sysdeps/unix/i386/start.c: Delete file.
12983 * sysdeps/unix/sparc/start.c: Delete file.
12984 * sysdeps/unix/start.c: Delete file.
12985
12986 * sysdeps/sh/elf/configure.in: Moved to ...
12987 * sysdeps/sh/configure.in: ... here.
12988 * sysdeps/sh/elf/start.S: Moved to ...
12989 * sysdeps/sh/start.S: ... here.
12990 * sysdeps/sh/elf/configure: Delete file.
12991
12992 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12993 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12994 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12995 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12996 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12997 * sysdeps/powerpc/powerpc64/start.S: here.
12998 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12999 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13000 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13001 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13002 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13003
13004 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13005 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13006 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13007 * sysdeps/powerpc/powerpc32/start.S: ... here.
13008 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13009 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13010 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13011
13012 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13013 * sysdeps/powerpc/ifunc-sel.h: ... here.
13014 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13015 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13016
13017 * sysdeps/sparc/elf/configure.in: Moved to ...
13018 * sysdeps/sparc/configure.in: ... here.
13019 * sysdeps/sparc/elf/configure: Delete file.
13020 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13021 * sysdeps/sparc/sparc32/start.S: ... here.
13022 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13023 * sysdeps/sparc/sparc64/start.S: ... here.
13024 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13025 * sysdeps/sparc/sparc32/Makefile: ... this.
13026 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13027 * sysdeps/sparc/sparc64/Makefile: ... this.
13028
13029 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13030 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13031 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13032 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13033 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13034 * sysdeps/s390/s390-32/setjmp.S: ... here.
13035 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13036 * sysdeps/s390/s390-32/configure.in: ... here.
13037 * sysdeps/s390/s390-32/elf/configure: Delete file.
13038 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13039 * sysdeps/s390/s390-32/start.S: ... here.
13040
13041 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13042 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13043 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13044 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13045 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13046 * sysdeps/s390/s390-64/setjmp.S: ... here.
13047 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13048 * sysdeps/s390/s390-64/configure.in: ... here
13049 * sysdeps/s390/s390-64/elf/configure: Delete file.
13050 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13051 * sysdeps/s390/s390-64/start.S: ... here.
13052 * sysdeps/s390/s390-64/elf/configure: Delete.
13053
13054 * configure.in: Remove support for elf directories in sysdeps.
13055
13056 * configure: Regenerated.
13057 * sysdeps/i386/configure: Regenerated.
13058 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13059 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13060 * sysdeps/s390/s390-32/configure: Regenerated.
13061 * sysdeps/s390/s390-64/configure: Regenerated.
13062 * sysdeps/sh/configure: Regenerated.
13063 * sysdeps/sparc/configure: Regenerated.
13064 * sysdeps/x86_64/configure: Regenerated.
13065
a3f61311
AS
130662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13067
c876e002
AS
13068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13069
a3f61311
AS
13070 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13071 denormal result into account.
13072
ac4c54f0
RM
130732012-03-25 Roland McGrath <roland@hack.frob.com>
13074
13075 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13076 Reported by Allan McRae <allan@archlinux.org>.
13077
6a9b9c02
JL
130782012-03-23 Jeff Law <law@redhat.com>
13079
13080 * nss/getnssent.c (__nss_getent): Fix typo.
13081
4c42a0c1
DM
130822012-03-23 David S. Miller <davem@davemloft.net>
13083
13084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13085
1532c7ac
L
130862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13087
13088 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13089 to pad to uint64_t for each field.
13090 (dl_tls_index): Replace unsigned long with uint64_t.
13091
3ff42526
PP
130922012-03-23 Daniel Jacobowitz <dmj@google.com>
13093 Paul Pluzhnikov <ppluzhnikov@google.com>
13094
13095 [BZ #6528]
13096 * grp/Makefile (otherlibs): Don't set it.
13097 * inet/Makefile (otherlibs): Likewise.
13098 * login/Makefile (otherlibs): Likewise.
13099 * nscd/Makefile (otherlibs): Likewise.
13100 * posix/Makefile (otherlibs): Likewise.
13101 * pwd/Makefile (otherlibs): Likewise.
13102 * rt/Makefile (otherlibs): Likewise.
13103 * sunrpc/Makefile (otherlibs): Likewise.
13104 * nss/Makefile (otherlibs): Likewise.
13105 Add libnss_files to routines and static-only-routines.
13106 ($(objpfx)getent): Remove rule.
13107 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13108 static-only-routines.
13109
7c69cd14
JM
131102012-03-22 Joseph Myers <joseph@codesourcery.com>
13111
13112 [BZ #13892]
13113 * math/s_cexp.c: Include <float.h>.
13114 (__cexp): Handle exp result overflowing not necessarily
13115 overflowing both real and imaginary parts of result.
13116 * math/s_cexpf.c: Likewise.
13117 * math/s_cexpl.c: Likewise.
13118 * math/libm-test.inc (cexp_test): Add more tests.
13119 * sysdeps/i386/fpu/libm-test-ulps: Update.
13120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13121
81b035fe
L
131222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13123
13124 * include/link.h (ELFW): New macro.
13125 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13126 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13127
1da7940c
L
131282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13131 with uint64_t.
13132
b749dbb9
L
131332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13136 declaration.
13137 (struct La_x32_retval): Likewise.
13138
2ff87f3f
L
131392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13140
13141 * sysdeps/x86_64/preconfigure.in: New file.
13142 * sysdeps/x86_64/preconfigure: New generated file.
13143
c0df8e69
JM
131442012-03-22 Joseph Myers <joseph@codesourcery.com>
13145
48e44791
JM
13146 [BZ #13824]
13147 * math/e_exp2l.c: Include <float.h>.
13148 (__ieee754_exp2l): Handle overflow and underflow cases
13149 separately. Only pass fractional part of argument to
13150 __ieee754_expl.
13151 * math/libm-test.inc (exp2_test): Add more tests.
13152
c0df8e69
JM
13153 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13154 negating x to take absolute value.
13155 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13156 Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13159 Likewise.
13160 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13161 computing low part if x was negated.
13162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13163
c8e43ba7
L
131642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13167 la_x32_gnu_pltexit.
13168 (pltexit): Cast int_retval to ptrdiff_t.
13169 * elf/tst-auditmod3b.c: Likewise.
13170 * elf/tst-auditmod4b.c: Likewise.
13171 * elf/tst-auditmod5b.c: Likewise.
13172 * elf/tst-auditmod6b.c: Likewise.
13173 * elf/tst-auditmod6c.c: Likewise.
13174 * elf/tst-auditmod7b.c: Likewise.
13175
13176 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13177 and x32_gnu_pltexit.
13178
13179 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13180 __ELF_NATIVE_CLASS.
13181 (La_x32_regs): New macro.
13182 (La_x32_retval): Likewise.
13183 (la_x32_gnu_pltenter): New function prototype.
13184 (la_x32_gnu_pltexit): Likewise.
13185
7998fa78
AS
131862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13187
dcb33988
AS
13188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13189 exponent.
13190
233fc563
AS
13191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13192
7998fa78
AS
13193 * configure.in (libc_cv_cc_nofma): Check for option to disable
13194 generation of FMA instructions.
13195 * configure: Regenerate.
13196 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13197 * sysdeps/ieee754/dbl-64/Makefile: New file.
13198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13199 Remove brandred-fma4.
13200 (CFLAGS-brandred-fma4.c): Remove.
13201 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13202 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13203 define.
13204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13205 define.
13206
8e95c99a
L
132072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13208
13209 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13210 LLONG_MAX != LONG_MAX.
13211 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13212 (_fitoa_word): Likewise.
13213 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13214 LLONG_MAX != LONG_MAX.
13215 * stdio-common/_itowa.h: Include <_itoa.h>.
13216 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13217 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13218 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13219 only if not defined.
13220 (_ITOA_WORD_TYPE): Likewise.
13221 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13222 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13223
6f4db457
DM
132242012-03-21 David S. Miller <davem@davemloft.net>
13225
13226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13227
7785fe5a
L
132282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13229
13230 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13231 of x86_64 when setting libc_cv_slibdir, libdir and
13232 libc_cv_localedir.
13233 * sysdeps/unix/sysv/linux/configure: Regenerated.
13234
4535cd55
JM
132352012-03-21 Joseph Myers <joseph@codesourcery.com>
13236
13237 * manual/lang.texi (Old Varargs): Remove section.
13238 (How Variadic): Update menu.
13239 (va_start): Do not mention varargs.h.
13240
17228132
TS
132412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13242 Joseph Myers <joseph@codesourcery.com>
13243
13244 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13245 link test.
13246 * configure: Regenerated.
13247
8149f976
TS
132482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13249
05f3d1f6
UD
13250 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13251 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13252 conformtest.pl
8149f976 13253
1a4ac776
JM
132542012-03-21 Joseph Myers <joseph@codesourcery.com>
13255
be22ce65
JM
13256 * NOTES: Remove.
13257 * Makefile (files-for-dist): Remove NOTES.
13258 (NOTES): Remove rule.
13259 * README: Don't refer to NOTES.
13260 * manual/creature.texi: Don't include macros.texi.
13261 * manual/intro.texi (creature.texi): Remove comment referring to
13262 NOTES.
13263
40b601fb
JM
13264 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13265 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13266 * configure: Regenerated.
13267 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13268 LIBC_TRY_CC_OPTION.
13269 (libc_cv_as_i686): Likewise.
13270 (libc_cv_cc_avx): Likewise.
13271 (libc_cv_cc_sse2avx): Likewise.
13272 (libc_cv_cc_fma4): Likewise.
13273 (libc_cv_cc_novzeroupper): Likewise.
13274 * sysdeps/i386/configure: Regenerated.
13275
1a4ac776
JM
13276 [BZ #13883]
13277 * sysdeps/i386/fpu/s_cexp.S: Remove.
13278 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13279 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13280 * math/libm-test.inc (cexp_test): Add more tests.
13281 * sysdeps/i386/fpu/libm-test-ulps: Update.
13282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283
a458e7fe
AM
132842012-03-21 Allan McRae <allan@archlinux.org>
13285
13286 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13287
0cb7efc5
JM
132882012-03-21 Joseph Myers <joseph@codesourcery.com>
13289
13290 [BZ #13871]
13291 * math/w_exp2.c: Do not include <float.h>.
13292 (o_threshold, u_threshold): Remove.
13293 (__exp2): Calculate result before checking finiteness and calling
13294 __kernel_standard.
13295 * math/w_exp2f.c: Likewise.
13296 * math/w_exp2l.c: Likewise.
13297 * math/libm-test.inc (exp2_test): Require overflow exception for
13298 1e6 input.
2460d3aa
JM
13299
13300 [BZ #3866]
13301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13302 range of signed 64-bit integers before using fistpll. Remove
13303 checks for whether integers fit in mantissa bits.
13304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13305 the range of signed 32-bit integers before using fistpl. Remove
13306 checks for whether integers fit in mantissa bits.
13307 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13308 (__ieee754_powl): Test for y outside the range of signed 64-bit
13309 integers before using fistpll. Reduce 64-bit values to 63-bit
13310 ones as needed.
13311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13312 divide-by-zero is raised for zero to large negative powers.
13313 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13314 (__ieee754_powl): Test for y outside the range of signed 64-bit
13315 integers before using fistpll. Reduce 64-bit values to 63-bit
13316 ones as needed.
13317 * math/libm-test.inc (pow_test): Add more tests.
13318
eb96ffb0
L
133192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13320
13321 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13322 <stdio-common/_itoa.h>.
13323 * debug/segfault.c: Likewise.
13324 * elf/dl-cache.c: Likewise.
13325 * elf/dl-minimal.c: Likewise.
13326 * elf/dl-misc.c: Likewise.
13327 * elf/dl-sysdep.c: Likewise.
13328 * elf/dl-version.c: Likewise.
13329 * elf/rtld.c: Likewise.
13330 * hurd/hurdsock.c: Likewise.
13331 * hurd/lookup-retry.c: Likewise.
13332 * malloc/malloc.c: Likewise.
13333 * malloc/mtrace.c: Likewise.
13334 * nscd/nscd_getgr_r.c: Likewise.
13335 * nscd/nscd_getpw_r.c: Likewise.
13336 * nscd/nscd_getserv_r.c: Likewise.
13337 * posix/getopt_init.c: Likewise.
13338 * posix/wordexp.c: Likewise.
13339 * stdio-common/_itoa.c: Likewise.
13340 * stdio-common/printf_fphex.c: Likewise.
13341 * stdio-common/vfprintf.c: Likewise.
13342 * string/_strerror.c: Likewise.
13343 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13344 * sysdeps/i386/i686/hp-timing.h: Likewise.
13345 * sysdeps/mach/_strerror.c: Likewise.
13346 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13347 * sysdeps/mach/hurd/sethostid.c: Likewise.
13348 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13349 * sysdeps/mach/xpg-strerror.c: Likewise.
13350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13351 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13352 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13353 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13354 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13355 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13356 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13357 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13358 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13359 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13360 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13361 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13362 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13363 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13364 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13365 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13366 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13367 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13368 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13369 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13370 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13371
13372 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13373
13374 * stdio-common/_itoa.h: Moved to ...
13375 * sysdeps/generic/_itoa.h: Here.
13376
13377 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13378
13379 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13380 instead of "_itoa.h" and "_itowa.h".
13381 * stdio-common/vfprintf.: Likewise.
13382
d1af992d
L
133832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13384
13385 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13386 <bits/wordsize.h>.
13387 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13388 (__signbit): Likwise.
13389 (llrintf): Likwise.
13390 (llrint): Likwise.
13391
114883e0
L
133922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13393
13394 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13395 __WORDSIZE != 64.
13396
c135cc1b
JM
133972012-03-20 Joseph Myers <joseph@codesourcery.com>
13398
13399 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13400 OVERFLOW_EXCEPTION_OK.
13401 * math/libm-test.inc ("Philosophy"): Update comment about
13402 exception testing.
13403 (OVERFLOW_EXCEPTION): Define.
13404 (OVERFLOW_EXCEPTION_OK): Likewise.
13405 (INVALID_EXCEPTION_OK): Renumber.
13406 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13407 (IGNORE_ZERO_INF_SIGN): Likewise.
13408 (test_exceptions): Handle FE_OVERFLOW.
13409 (exp10_test): Expect overflow exceptions.
13410 (exp2_test): Likewise.
13411 (expm1_test): Likewise.
13412 (nextafter_test): Likewise.
13413 (pow_test): Likewise.
13414 (scalbn_test): Likewise.
13415 (scalbln_test): Likewise.
13416
95443d88
L
134172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13418
13419 * sysdeps/x86_64/bits/atomic.h
13420 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13421 64bit integer.
13422 (atomic_exchange_acq): Likewise.
13423 (__arch_exchange_and_add_body): Likewise.
13424 (__arch_add_body): Likewise.
13425 (atomic_add_negative): Likewise.
13426 (atomic_add_zero): Likewise.
13427
490df6c4
L
134282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13429
c2722551 13430 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13431 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13432
5e52b189
L
134332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13436 Check __x86_64__ instead of __WORDSIZE.
13437
a9879d4c
L
134382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13439
13440 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13441
5df98260
DM
134422012-03-19 David S. Miller <davem@davemloft.net>
13443
e1497744
DM
13444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13445
5df98260
DM
13446 * sysdeps/sparc/fpu/fenv_private.h: New file.
13447 * sysdeps/sparc/fpu/math_private.h: Use it.
13448 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13449 Remove.
13450 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13451 (libc_feholdexcept_setroundl): Remove.
13452 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13453 Remove.
13454 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13455 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13456
b4c35121
L
134572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13460 int64_t instead of long int.
13461 (INSERT_WORDS64): Likwise.
13462
56965fd7
L
134632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13464
13465 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13466 _Unwind_GetCFA return to _Unwind_Ptr first.
13467
83d1aec8
JM
134682012-03-19 Joseph Myers <joseph@codesourcery.com>
13469
1897ad44
JM
13470 [BZ #13629]
13471 * math/s_clog.c: Include <float.h>.
13472 (__clog): Scale large or subnormal inputs.
13473 * math/s_clogf.c: Likewise.
13474 * math/s_clogl.c: Likewise.
13475 * math/s_clog10.c: Include <float.h>.
13476 (M_LOG10_2): Define.
13477 (__clog10): Scale large or subnormal inputs.
13478 * math/s_clog10f.c: Likewise.
13479 * math/s_clog10l.c: Likewise.
13480 * math/libm-test.inc (clog_test): Add more tests.
13481 (clog10_test): Likewise.
13482 * sysdeps/i386/fpu/libm-test-ulps: Update.
13483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13484
7726d6a9
JM
13485 [BZ #11451]
13486 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13487 x and y.
13488 * math/libm-test.inc (atan2_test): Add another test.
13489
83d1aec8
JM
13490 * Makerules (common-objdir-compile): Remove.
13491 * sysdeps/unix/Makefile (config-generated): Do not add
13492 $(unix-generated) to variable.
13493 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13494 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13495 Remove rule.
13496 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13497 Likewise.
13498 [generic bits/local_lim.h] (before-compile): Do not append to
13499 variable.
13500 [generic bits/local_lim.h] (common-generated): Likewise.
13501 [generic sys/param.h] (before-compile): Do not append to variable.
13502 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13503 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13504 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13505 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13506 include.
13507 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13508 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13509 [generic sys/param.h] ($(addprefix
13510 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13511 [generic sys/param.h] (common-generated): Do not append to
13512 variable.
13513 [generic sys/param.h] (sysdep_headers): Likewise.
13514 [generic bits/errno.h] (before-compile): Do not append to
13515 variable.
13516 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13517 rule.
13518 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13519 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13520 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13521 [generic bits/errno.h] (common-generated): Do not append to
13522 variable.
13523 [generic bits/ioctls.h] (before-compile): Do not append to
13524 variable.
13525 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13526 rule.
13527 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13528 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13529 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13530 rule.
13531 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13532 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13533 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13534 [generic bits/ioctls.h] (common-generated): Do not append to
13535 variable.
13536 [generic sys/syscall.h] (syscall.h): Remove variable.
13537 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13538 rule.
13539 [generic sys/syscall.h] (before-compile): Do not append to
13540 variable.
13541 [generic sys/syscall.h] (common-generated): Likewise.
13542 * sysdeps/unix/errnos-tmpl.c: Remove file.
13543 * sysdeps/unix/errnos.awk: Likewise.
13544 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13545 * sysdeps/unix/ioctls.awk: Likewise.
13546 * sysdeps/unix/mk-local_lim.c: Likewise.
13547 * sysdeps/unix/snarf-ioctls: Likewise.
13548
4851a949
RH
135492012-03-19 Richard Henderson <rth@twiddle.net>
13550
bd37f2ee
RH
13551 * sysdeps/i386/fpu/fenv_private.h: New file.
13552 * sysdeps/i386/fpu/math_private.h: Use it.
13553 (math_opt_barrier, math_force_eval): Remove.
13554 (libc_feholdexcept_setround_53bit): Remove.
13555 (libc_feupdateenv_53bit): Remove.
13556 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13557 (math_opt_barrier, math_force_eval): Remove.
13558 (libc_feholdexcept): Remove.
13559 (libc_feholdexcept_setround): Remove.
13560 (libc_fetestexcept, libc_fesetenv): Remove.
13561 (libc_feupdateenv_test): Remove.
13562 (libc_feupdateenv, libc_feholdsetround): Remove.
13563 (libc_feresetround): Remove.
13564
d0adc922
RH
13565 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13566 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13567
0fe0f1f8
RH
13568 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13569 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13570 (libc_feupdateenv_testl): New.
13571 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13572 (libc_feupdateenv_testf): New.
13573 (libc_feupdateenv): Use libc_feupdateenv_test.
13574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13575 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13576
eb92c487
RH
13577 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13578 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13579 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13580 (libc_feresetround_noex): New.
13581 (libc_feresetround_noexf): New.
13582 (libc_feresetround_noexl): New.
13583 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13584 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13585 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13586 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13587 SET_RESTORE_ROUND.
13588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13590 (__cos): Likewise.
13591 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13592 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13593 SET_RESTORE_ROUND_NOEX.
13594 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13595 SET_RESTORE_ROUND_NOEXF.
13596 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13597 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13598 (libc_feholdsetroundf): New.
13599 (libc_feresetround, libc_feresetroundf): New.
13600
7d2e8012
RH
13601 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13602 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13603 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13604
b4dabbb4
RH
13605 * sysdeps/generic/math_private.h: Include <fenv.h>.
13606 (default_libc_feholdexcept): New.
13607 (default_libc_feholdexcept_setround): New.
13608 (default_libc_fesetenv, default_libc_feupdateenv): New.
13609 (libc_feholdexcept): Only define if undefined.
13610 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13611 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13612 (libc_feholdexcept_setroundl): Likewise.
13613 (libc_feholdexcept_setround_53bit): Likewise.
13614 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13615 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13616 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13617 (libc_feupdateenv_53bit): Likewise.
13618 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13619 (libc_feholdexcept): Convert from macro to inline function.
13620 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13621 (libc_fesetenv, libc_feupdateenv): Likewise.
13622
4851a949
RH
13623 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13624 not previously defined.
13625 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13626 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13627 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13628 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13629 * sysdeps/ieee754/flt-32/math_private.h: New file.
13630 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13631 math_private.h below SET_FLOAT_WORD.
13632 (__isnan, __isinf_ns, __finite): Remove.
13633 (__isnanf, __isinf_nsf, __finitef): Remove.
13634
e79d442e
AS
136352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13636
13637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13638
90b80344
DM
136392012-03-17 David S. Miller <davem@davemloft.net>
13640
13641 [BZ #6471]
13642 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13643 for 2.16.
13644
edc21804
DM
136452012-03-16 David S. Miller <davem@davemloft.net>
13646
77e927af
DM
13647 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13648 warnings.
13649
374976dd
DM
13650 [BZ #6471]
13651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13652 properly.
13653 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13654 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13655 sysdep_routines when subdir is sysvipc.
13656 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13657 __getshmlba helper.
13658
edc21804
DM
13659 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13660
473c3ef3
L
136612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13662
13663 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13664 [__LP64__].
13665
eb0f39b6
L
136662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13667
13668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13669 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13670 (__lround): Renamed to ...
13671 (__llround): This. Replace long int with long long int.
13672 Define lround functions as aliases of llround functions.
13673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13674
6b6cd74b
L
136752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13678 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13679 adresses to uintptr_t. Replace "long int" and "unsigned long
13680 int" with "greg_t" on va_arg.
13681
f1a77b01
L
136822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13683
13684 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13685 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13686
13687 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13688 Move e_machine check before EI_CLASS check. Handle x32
13689 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13690 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13691 SKIP_EM_IA_64 and include
13692 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13693
13694 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13695 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13696 (add_system_dir): New macro.
13697
13698 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13699 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13700
11b90b9f
JM
137012012-03-16 Joseph Myers <joseph@codesourcery.com>
13702
c36e1d23
JM
13703 [BZ #2551]
13704 [BZ #2552]
13705 [BZ #2553]
13706 [BZ #2554]
13707 [BZ #2562]
13708 [BZ #2563]
13709 [BZ #2565]
13710 [BZ #2566]
13711 [BZ #2576]
13712 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13713 (y0): Likewise.
13714 * math/w_j0f.c (j0f): Likewise.
13715 (y0f): Likewise.
13716 * math/w_j0l.c (__j0l): Likewise.
13717 (__y0l): Likewise.
13718 * math/w_j1.c (j1): Likewise.
13719 (y1): Likewise.
13720 * math/w_j1f.c (j1f): Likewise.
13721 (y1f): Likewise.
13722 * math/w_j1l.c (__j1l): Likewise.
13723 (__y1l): Likewise.
13724 * math/w_jn.c (jn): Likewise.
13725 (yn): Likewise.
13726 * math/w_jnf.c (jnf): Likewise.
13727 (ynf): Likewise.
13728 * math/w_jnl.c (__jnl): Likewise.
13729 (__ynl): Likewise.
13730 * math/libm-test.inc (j0_test): Add more tests.
13731 (j1_test): Likewise.
13732 (jn_test): Likewise. Add trailing semicolon to existing test.
13733 (y0_test): Likewise.
13734 (y1_test): Likewise.
13735 * sysdeps/i386/fpu/libm-test-ulps: Update.
13736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13737
11b90b9f
JM
13738 [BZ #13851]
13739 [BZ #13854]
13740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13741 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13742 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13743 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13744 (__tanl): Set errno for infinite argument.
13745 * sysdeps/i386/fpu/mptan.c: Remove.
13746 * sysdeps/i386/fpu/s_tan.S: Likewise.
13747 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13748 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13749 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13750 * math/libm-test.inc (tan_test): Add more tests and enable more
13751 tests for double and long double.
13752 * sysdeps/i386/fpu/libm-test-ulps: Update.
13753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13754
6a1bd2a1
JK
137552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13756
13757 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13758 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13759
10a803e0
RM
137602012-03-16 Roland McGrath <roland@hack.frob.com>
13761
13762 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13763 * configure.in: Use it for both main tree and add-ons.
13764 * configure: Regenerated.
13765
f196c7f7
L
137662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13767
13768 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13769
8848d99d
JM
137702012-03-16 Joseph Myers <joseph@codesourcery.com>
13771
96cbe7f4
JM
13772 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13773 in comment.
13774
8848d99d
JM
13775 [BZ #13851]
13776 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13777 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13781 infinite argument.
13782 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13784 != 0 for prec == 2.
13785 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13786 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13787 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13788 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13789 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13790 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13791 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13792 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13793 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13794 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13795 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13796 * math/libm-test.inc (cos_test): Add more tests and enable more
13797 tests for long double.
13798 (sin_test): Likewise.
13799 (sincos_test): Likewise.
13800 * sysdeps/i386/fpu/libm-test-ulps: Update.
13801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13802
dd7f4703
DM
138032012-03-16 David S. Miller <davem@davemloft.net>
13804
13805 * sysdeps/sparc/fpu/math_private.h: New file.
13806
006f1daa
DM
138072012-03-15 David S. Miller <davem@davemloft.net>
13808
c0c83bc8
DM
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13810 file.
e6a62e18 13811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13813 file.
e6a62e18
DM
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13820 sysdep routines.
13821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13822
88cb87d9
DM
13823 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13824 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13825
006f1daa 13826 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13828 sparc-ifunc.h
006f1daa 13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13831 Likewise.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13833 Likewise.
006f1daa
DM
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13838 Likewise.
006f1daa
DM
13839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13844 Likewise.
13845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13846 Likewise.
006f1daa
DM
13847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13871
11e0098e
AS
138722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13873
13874 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13875 scaling.
13876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13877
e85b09d0
AJ
138782012-03-15 Andreas Jaeger <aj@suse.de>
13879
13880 [BZ #13852]
13881 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13882 ieee754/flt-32 implementation for sin, cos and sincos.
13883 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13884 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13885 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13886 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13887 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13888 ieee754/flt-32 implementation for tan.
13889
13890 * math/libm-test.inc (cos_test): Enable some large input tests for
13891 float as well
13892 (sin_test): Likewise.
13893 (sincos_test): Likewise.
13894 (tan_test): Add tests for large input.
13895
13896 * sysdeps/i386/fpu/libm-test-ulps: Update.
13897
81c64153
AJ
138982012-03-15 Andreas Jaeger <aj@suse.de>
13899
13900 [BZ #13658]
13901 * math/libm-test.inc (cos_test): Add more test cases.
13902 (sin_test): Likewise.
13903 (sincos_test): Likewise.
13904
7bbfa5c6
AJ
139052012-03-15 Andreas Jaeger <aj@suse.de>
13906
13907 [BZ #13837]
13908 * math/libm-test.inc (cos_test): Add a test case for large input
13909 value.
13910 (sin_test): Likewise.
13911 (sincos_test): Likewise.
13912
139132012-03-15 Andreas Jaeger <aj@suse.de>,
13914 Joseph Myers <joseph@codesourcery.com>
13915
13916 [BZ #13658]
0671f479 13917 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13918 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13919 * sysdeps/i386/fpu/branred.c: Likewise.
13920 * sysdeps/i386/fpu/dosincos.c: Likewise.
13921 * sysdeps/i386/fpu/mpa.c: Likewise.
13922 * sysdeps/i386/fpu/s_cos.S: Likewise.
13923 * sysdeps/i386/fpu/s_sin.S: Likewise.
13924 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13925 * sysdeps/i386/fpu/sincos32.c: Likewise.
13926
13927 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13928 Define.
13929 (libc_feupdateenv_53bit): Define.
13930 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13931 Define.
13932 (libc_feupdateenv_53bit): Define.
13933
13934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13935 53 bit (without extend i386 double precision).
13936
13937 * math/libm-test.inc (sincos_test): Add tests for large input.
13938 (sin): Likewise.
13939 (cos): Likewise.
13940
13941 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13942
9cad04ea
AS
139432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13944
13945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13946
f7062b9a
DM
139472012-03-15 David S. Miller <davem@davemloft.net>
13948
13949 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13950 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13951 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13952 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13965 file.
f7062b9a 13966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13968 file.
f7062b9a 13969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13971 file.
f7062b9a 13972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13974 file.
f7062b9a
DM
13975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13977 fmin/fmax sysdep routines.
13978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13979
7bd951ff
DM
139802012-03-14 David S. Miller <davem@davemloft.net>
13981
559398ab
DM
13982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14011 routines.
14012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14013 file.
559398ab 14014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14016 file.
559398ab 14017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14019 file.
559398ab 14020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14022 file.
559398ab 14023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14025 file.
559398ab 14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14028 file.
14029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14030 file.
14031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14032 file.
14033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14034 file.
14035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14036 New file.
14037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14038 file.
14039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14040 file.
559398ab 14041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14043 file.
559398ab 14044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14046 file.
559398ab 14047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14049 file.
559398ab 14050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14052 VIS3 routines.
559398ab
DM
14053
14054 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14055 New file.
14056
5a1c1e32
DM
14057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14058
eae47a36
DM
14059 * sysdeps/sparc/configure.in: New file.
14060 * sysdeps/sparc/configure: Generate.
14061 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14062 * configure: Regenerate.
14063 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14064 * config.make.in (have-as-vis3): New.
14065 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14066 available use -Av9d instead of -Av9a.
14067 * sysdeps/sparc/sparc64/Makefile: Likewise.
14068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14070 New file.
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14072 file.
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14074 New file.
14075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14076 file.
eae47a36
DM
14077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14082
c0c83bc8
DM
14083 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14084 fzeros/fnegs to load 0x80000000 into a float register instead of
14085 using the stack.
7bd951ff
DM
14086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14087
bd951ccb
JM
140882012-03-14 Joseph Myers <joseph@codesourcery.com>
14089
14090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14091 bits/syscall.h.
14092 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14093 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14094 ($(inst_includedir)/bits/syscall.h): Remove rule.
14095 ($(objpfx)bits/syscall.d): Include instead of
14096 $(objpfx)syscall-list.d.
14097 (generated): Change syscall-list.h and syscall-list.d to
14098 bits/syscall.h and bits/syscall.d.
14099
bb4e6db2
RM
141002012-03-14 Roland McGrath <roland@hack.frob.com>
14101
14102 [BZ #13846]
14103 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14104
aa4a2ae1
JM
141052012-03-14 Joseph Myers <joseph@codesourcery.com>
14106
e456826d
JM
14107 [BZ #13841]
14108 * math/s_csqrt.c: Include <float.h>.
14109 (__csqrt): Scale large or subnormal inputs.
14110 * math/s_csqrtf.c: Likewise.
14111 * math/s_csqrtl.c: Likewise.
14112 * math/libm-test.inc (csqrt_test): Add more tests.
14113 * sysdeps/i386/fpu/libm-test-ulps: Update.
14114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14115
aa4a2ae1
JM
14116 [BZ #13840]
14117 * math/libm-test.inc (hypot_test): Add more tests.
14118
7c10fd35
DM
141192012-03-13 David S. Miller <davem@davemloft.net>
14120
14121 [BZ #13840]
14122 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14123 double-precision for the calculation instead of scaling.
14124
f453b98b
JM
141252012-03-13 Joseph Myers <joseph@codesourcery.com>
14126
14127 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14128 manipulate bits before adding and subtracting TWO52[sx].
14129 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14131 Likewise.
14132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14133
09a3453f
DM
141342012-03-13 David S. Miller <davem@davemloft.net>
14135
8e59da90
DM
14136 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14137 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14139 rtld-global-offsets.h
14140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14141
2a8ab7f2
DM
14142 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14143 large parameters.
14144
10f62770
DM
14145 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14146
5f0bdb18
DM
14147 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14148 'err' in the ifdef scope in which it is actually used.
14149
09a3453f
DM
14150 * nss/nss_db/db-init.c: Include string.h
14151
b4b2eb5e
DM
141522012-03-12 David S. Miller <davem@davemloft.net>
14153
98bb2f1c
DM
14154 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14155 masking out of the most significant byte of random value used.
14156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14157 Fix coding style in previous change.
14158
b4b2eb5e
DM
14159 * sysdeps/unix/sysv/linux/kernel-features.h
14160 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14161 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14162 expression.
14163 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14164 later.
14165
6e226b09
DM
141662012-03-11 David S. Miller <davem@davemloft.net>
14167
a1bcbd40
DM
14168 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14169 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14170 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14171 for 'resultvar' otherwise things get truncated on 64-bit.
14172
cb9d6174
DM
14173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14174 Fix masking out of the most significant byte of random value used.
14175
6e226b09
DM
14176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14177
058c132d
AS
141782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14179
14180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14181
2d2cd515
DM
141822012-03-09 David S. Miller <davem@davemloft.net>
14183
14184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14185 variables with appropriate CPP guards.
14186 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14187 frame pointer, not the stack pointer. Correct layout comments. Fix test
14188 on resulting framesize and the management of the outregs buffer for pltexit.
14189 Preserve floating point return values across _dl_call_pltexit call.
14190 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14191 framesize and the management of the outregs buffer for pltexit.
14192 Preserve floating point return values across _dl_call_pltexit
14193 call.
14194 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14195 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14196 (print_exit): Fix format string for return register value.
14197
9a07f9d0
JM
141982012-03-10 Joseph Myers <joseph@codesourcery.com>
14199
14200 * sunrpc/Makefile (others): Add rpcgen.
14201 ($(objpfx)rpcgen): Remove special build rule and dependency on
14202 libc.
14203 * sunrpc/rpcgen.c: New file.
14204
547b5e30
PE
142052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14206
c524201a
PE
14207 [BZ #13673]
14208 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14209 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14210 * sysdeps/i386/crti.S: Likewise.
14211 * sysdeps/i386/crtn.S: Likewise.
14212 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14213 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14216 * sysdeps/sh/crti.S: Likewise.
14217 * sysdeps/sh/crtn.S: Likewise.
14218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14219
7b6235f2
PE
14220 [BZ #13673]
14221 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14222 with URL.
14223 * locale/programs/locfile-kw.gperf: Likewise.
14224 * locale/programs/charmap-kw.h: Regenerated.
14225 * locale/programs/locfile-kw.h: Likewise.
14226
547b5e30
PE
14227 [BZ #13673]
14228 * intl/plural.y: Replace FSF snail mail address with URL.
14229 * intl/plural.c: Regenerated.
14230
5f0a5dae
RH
142312012-03-09 Richard Henderson <rth@twiddle.net>
14232
14233 * include/math_private.h: Remove file.
14234 * math/math_private.h: Move file ...
14235 * sysdeps/generic/math_private.h: ... here.
14236
b8c03620
RH
14237 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14238 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14239 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14240
4e234f5d 14241 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14242 and <math_private.h>.
14243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14249 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14254 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14255 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14257 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14302 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14307 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14331 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14334 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14336 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14337 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14338 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14340 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14342 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14343 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14344 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14345 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14346 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14348 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14349 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14350 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14355 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14356 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14357 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14359 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14360 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14363 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14364 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14366 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14368 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14370 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14371 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14372 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14373 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14374 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14376 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14377 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14380 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14381 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14383 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14385 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14386 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14387 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14388 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14389 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14390 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14391 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14392 * sysdeps/ieee754/k_standard.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14397 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14410 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14411 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14412 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14413 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14416 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14417 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14418 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14419 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14420 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14421 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14425 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14426 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14437 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14438 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14526 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14527 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14529 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14533 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14534 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14542 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14553 * sysdeps/ieee754/s_lib_version.c: Likewise.
14554 * sysdeps/ieee754/s_matherr.c: Likewise.
14555 * sysdeps/ieee754/s_signgam.c: Likewise.
14556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14559 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14561 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14562 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14563 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14564 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14565 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14567 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14568 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14569 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14570 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14573 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14574 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14577
1991fa03
JM
145782012-03-09 Joseph Myers <joseph@codesourcery.com>
14579
14580 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14581 * sunrpc/rpc_main.c: Likewise.
14582 * sunrpc/rpc_svcout.c: Likewise.
14583
60d6f5a6
DM
145842012-03-09 David S. Miller <davem@davemloft.net>
14585
14586 * include/math_private.h: New file.
14587
4962050e
JM
145882012-03-09 Joseph Myers <joseph@codesourcery.com>
14589
02a6f887
JM
14590 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14591 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14592 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14593 from <bits/socket_type.h>.
14594 (enum __socket_type): Don't define here.
14595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14597 bits/socket_type.h.
14598
c6e013c1
JM
14599 [BZ #13566]
14600 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14601 checking __USE_GNU.
14602
4962050e
JM
14603 * Makerules ($(inst_includedir)/%.h): New rule.
14604 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14605 (install-others): Remove variable setting.
14606 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14607
38842f45
RH
146082012-03-08 Richard Henderson <rth@twiddle.net>
14609
67bb6da6
RH
14610 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14611 from macro to inline function; merge with the
14612 !__LIBC_INTERNAL_MATH_INLINES version.
14613 (__ieee754_sqrtf): Likewise.
14614
15194b4b
RH
14615 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14616 to inline function.
14617 (__rintf, __floor, __floorf): Likewise.
14618
64e21ede
RH
14619 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14620 macro to inline function.
14621 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14622
38842f45
RH
14623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14624 not <math/math_private.h>.
14625
c64bf5fe
DM
146262012-03-08 David S. Miller <davem@davemloft.net>
14627
14628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14629 copyright year.
14630 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14631
82d86f28
TS
146322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14633
14634 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14635 normalization.
14636 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14637 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14638
aea5d727
UD
146392012-03-08 Ulrich Drepper <drepper@gmail.com>
14640
14641 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14642 be defined individually, they must be defined as a block. Define
14643 S for printing a string instead of hidint the different by using a
14644 macro for adding the 'l'.
14645 * stdio-common/tst-fphex-wide.c: Adjust.
14646
70bca0a3
MP
146472012-03-07 Marek Polacek <polacek@redhat.com>
14648
14649 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14650
65b81130
MP
146512012-03-08 Marek Polacek <polacek@redhat.com>
14652
14653 [BZ #13806]
14654 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14655 * stdio-common/tst-fphex.c: Define a few macros to make the
14656 test reusable. Use them.
14657 * stdio-common/tst-fphex-wide.c: New file.
14658
07037eeb
JM
146592012-03-08 Joseph Myers <joseph@codesourcery.com>
14660
a7a93d50
JM
14661 [BZ #6911]
14662 * manual/macros.texi (gnusystems): New macro.
14663 (nongnusystems): Likewise.
14664 (gnulinuxhurdsystems): Likewise.
14665 (gnuhurdsystems): Likewise..
14666 (gnulinuxsystems): Likewise.
14667 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14668 variants of the GNU system, not "GNU system".
14669 * manual/conf.texi: Likewise.
14670 * manual/errno.texi: Likewise. Update example of errno macro
14671 expansion.
14672 * manual/filesys.texi: Likewise.
14673 (getumask): Document as specific to GNU/Hurd.
14674 * manual/install.texi: Likewise. Reword some references to
14675 GNU/Linux.
14676 * manual/intro.texi: Likewise.
14677 * manual/io.texi: Likewise.
14678 (File Name Portability): Detail which constraints are inapplicable
14679 to all GNU systems and which are only inapplicable to GNU/Hurd.
14680 * manual/job.texi: Likewise.
14681 * manual/llio.texi: Likewise.
14682 (O_NOCTTY): Document as present on GNU/Linux.
14683 * manual/maint.texi: Likewise.
14684 * manual/memory.texi: Likewise.
14685 * manual/pattern.texi: Likewise.
14686 * manual/pipe.texi: Likewise.
14687 * manual/process.texi: Likewise.
14688 * manual/resource.texi: Likewise.
14689 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14690 child on GNU/Hurd.
14691 * manual/setjmp.texi: Likewise.
14692 * manual/signal.texi: Likewise.
14693 * manual/startup.texi: Likewise.
14694 * manual/stdio.texi: Likewise.
14695 * manual/terminal.texi: Likewise.
14696 (ONLCR): Document as POSIX.
14697 (OXTABS): Document availability on GNU/Linux as XTABS.
14698 (ONOEOT): Document availability separately from other bits.
14699 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14700 * manual/time.texi: Likewise.
14701 * manual/users.texi: Likewise.
14702 * INSTALL: Regenerated.
14703 * sysdeps/gnu/errlist.c: Regenerated.
14704
07037eeb
JM
14705 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14706 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14707 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14708 puts.
14709 * configure: Regenerated.
14710
d1d3431a
JM
147112012-03-07 Joseph Myers <joseph@codesourcery.com>
14712
af6a1e37
JM
14713 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14714 default includes instead of AC_HEADER_CHECK.
14715 * sysdeps/i386/configure: Regenerated.
14716
d1d3431a
JM
14717 [BZ #10716]
14718 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14719 * math/s_cacoshf.c (__cacoshf): Likewise.
14720 * math/s_cacoshl.c (__cacoshl): Likewise.
14721 * math/s_casinh.c (__casinh): Set signs of result from argument.
14722 * math/s_casinhf.c (__casinhf): Likewise.
14723 * math/s_casinhl.c (__casinhl): Likewise.
14724 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14725 (casinh_test): Add more tests.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728
482ff4da
UD
147292012-03-07 Ulrich Drepper <drepper@gmail.com>
14730
872fda05
UD
14731 * po/zh_TW.po: Update from translation team.
14732
a4300c7a
UD
14733 * login/Makefile (distribute): Remove variable.
14734 * catgets/Makefile: Likewise.
14735 * mach/Makefile: Likewise.
14736 * malloc/Makefile: Likewise.
14737 * misc/Makefile: Likewise.
14738 * iconv/Makefile: Likewise.
14739 * nscd/Makefile: Likewise.
14740 * hurd/Makefile: Likewise.
14741 * manual/Makefile: Likewise.
14742 * locale/Makefile: Likewise.
14743 * intl/Makefile: Likewise.
14744 * conform/Makefile: Likewise.
14745 * nss/Makefile: Likewise.
14746 * time/Makefile: Likewise.
14747 * soft-fp/Makefile: Likewise.
14748 * dirent/Makefile: Likewise.
14749 * gmon/Makefile: Likewise.
14750 * po/Makefile: Likewise.
14751 * rt/Makefile: Likewise.
14752 * socket/Makefile: Likewise.
14753 * math/Makefile: Likewise.
14754 * signal/Makefile: Likewise.
14755 * debug/Makefile: Likewise.
14756 * elf/Makefile: Likewise.
14757 * timezone/Makefile: Likewise.
14758 * stdlib/Makefile: Likewise.
14759 * iconvdata/Makefile: Likewise.
14760 * sunrpc/Makefile: Likewise.
14761 * io/Makefile: Likewise.
14762 * argp/Makefile: Likewise.
14763 * inet/Makefile: Likewise.
14764 * hesiod/Makefile: Likewise.
14765 * grp/Makefile: Likewise.
14766 * csu/Makefile: Likewise.
14767 * wctype/Makefile: Likewise.
14768 * crypt/Makefile: Likewise.
14769 * libio/Makefile: Likewise.
14770 * string/Makefile: Likewise.
14771 * nis/Makefile: Likewise.
14772 * resolv/Makefile: Likewise.
14773 * stdio-common/Makefile: Likewise.
14774 * wcsmbs/Makefile: Likewise.
14775 * dlfcn/Makefile: Likewise.
14776 * posix/Makefile: Likewise.
14777
3b7c4e74 14778 [BZ #6959]
482ff4da
UD
14779 * timezone/Makefile: Don't install timezone files, just the programs
14780 and scripts.
14781
f72ed77d
UD
147822012-03-06 Ulrich Drepper <drepper@gmail.com>
14783
a000466f
UD
14784 * nss/databases.def: Add missing gshadow entry.
14785
f72ed77d
UD
14786 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14787
a53b7a4e
MP
147882012-03-06 Marek Polacek <polacek@redhat.com>
14789
14790 [BZ #13726]
14791 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14792 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14793 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14794 * stdio-common/tst-long-dbl-fphex.c: New file.
14795
e9258400
DM
147962012-03-06 David S. Miller <davem@davemloft.net>
14797
14798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14799 (set_obp_int): New function.
14800 (get_obp_int): New function.
14801 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14803 Avoid unused variable warnings on 'val' and use builtin_expect.
14804 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14805 __builtin_expect.
e9258400
DM
14806 (INLINE_CLONE_SYSCALL): Likewise.
14807
3bd2c723
DM
148082012-03-05 David S. Miller <davem@davemloft.net>
14809
14810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14811
bbb78d03
AS
148122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14813
884c5db4
AS
14814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14815
bbb78d03
AS
14816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14817 only for |x| >= 40.
14818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14819
1c9f702a 148202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14821
14822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14823 Replace gettimeofday with __vdso_gettimeofday.
14824
7be16f82
RM
14825 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14826 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14827 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14828
14829 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14830 time with __vdso_time.
14831
ed58a00f
JM
148322012-03-05 Joseph Myers <joseph@codesourcery.com>
14833
14834 * manual/lang.texi (size_t): Note types to which size_t may be
14835 equivalent with the GNU C Library, but do not describe when
14836 differences between them are significant.
14837
30ee4ced
AJ
148382012-03-05 Andreas Jaeger <aj@suse.de>
14839
14840 * sysdeps/i386/fpu/libm-test-ulps: Update.
14841
b7cd39e8
JM
148422012-03-05 Joseph Myers <joseph@codesourcery.com>
14843
14844 [BZ #3976]
14845 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14846 (__ieee754_pow): Save and restore rounding mode and use
14847 round-to-nearest for main computations.
14848 * math/libm-test.inc (pow_test_tonearest): New function.
14849 (pow_test_towardzero): Likewise.
14850 (pow_test_downward): Likewise.
14851 (pow_test_upward): Likewise.
14852 (main): Call the new functions.
14853 * sysdeps/i386/fpu/libm-test-ulps: Update.
14854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14855
14856 [BZ #3976]
14857 * math/libm-test.inc (cosh_test_tonearest): New function.
14858 (cosh_test_towardzero): Likewise.
14859 (cosh_test_downward): Likewise.
14860 (cosh_test_upward): Likewise.
14861 (sinh_test_tonearest): Likewise.
14862 (sinh_test_towardzero): Likewise.
14863 (sinh_test_downward): Likewise.
14864 (sinh_test_upward): Likewise.
14865 (main): Call the new functions.
14866 * sysdeps/i386/fpu/libm-test-ulps: Update.
14867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14868
6c6a98c9
TV
148692012-03-05 Tom de Vries <tom@codesourcery.com>
14870
14871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14872 default stack guard is set in last bytes.
14873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14874
21bb2d2e 148752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14876
21bb2d2e 14877 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14878
21bb2d2e
AJ
14879 [BZ #13656]
14880 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14881 possibly allocate from heap instead of stack.
14882 * stdio-common/bug-vfprintf-nargs.c: New file.
14883 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14884
c6922934
AS
148852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14886
14887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14888
bc957d53
MP
148892012-03-03 Marek Polacek <polacek@redhat.com>
14890
14891 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14892 * math/math_private.h: Likewise.
14893 * stdlib/tst-strtod.c: Likewise.
14894 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14895 * sysdeps/x86_64/bits/atomic.h: Likewise.
14896
6358490d
DM
148972012-03-02 David S. Miller <davem@davemloft.net>
14898
14899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14903 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14904 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14905 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14906 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14907
01ae168d
RM
149082012-03-02 Roland McGrath <roland@hack.frob.com>
14909
d9a17c07
RM
14910 [BZ #13792]
14911 * manual/examples/README: New file, says the example source files
14912 can be used under GPL>=2.
14913 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14914 line containing just "*/".
14915 * manual/examples/add.c: Add copyright header (GPL>=2).
14916 * manual/examples/argp-ex1.c: Likewise.
14917 * manual/examples/argp-ex2.c: Likewise.
14918 * manual/examples/argp-ex3.c: Likewise.
14919 * manual/examples/argp-ex4.c: Likewise.
14920 * manual/examples/atexit.c: Likewise.
14921 * manual/examples/db.c: Likewise.
14922 * manual/examples/dir.c: Likewise.
14923 * manual/examples/dir2.c: Likewise.
14924 * manual/examples/execinfo.c: Likewise.
14925 * manual/examples/filecli.c: Likewise.
14926 * manual/examples/filesrv.c: Likewise.
14927 * manual/examples/fmtmsgexpl.c: Likewise.
14928 * manual/examples/genpass.c: Likewise.
14929 * manual/examples/inetcli.c: Likewise.
14930 * manual/examples/inetsrv.c: Likewise.
14931 * manual/examples/isockad.c: Likewise.
14932 * manual/examples/longopt.c: Likewise.
14933 * manual/examples/memopen.c: Likewise.
14934 * manual/examples/memstrm.c: Likewise.
14935 * manual/examples/mkfsock.c: Likewise.
14936 * manual/examples/mkisock.c: Likewise.
14937 * manual/examples/mygetpass.c: Likewise.
14938 * manual/examples/pipe.c: Likewise.
14939 * manual/examples/popen.c: Likewise.
14940 * manual/examples/rprintf.c: Likewise.
14941 * manual/examples/search.c: Likewise.
14942 * manual/examples/select.c: Likewise.
14943 * manual/examples/setjmp.c: Likewise.
14944 * manual/examples/sigh1.c: Likewise.
14945 * manual/examples/sigusr.c: Likewise.
14946 * manual/examples/stpcpy.c: Likewise.
14947 * manual/examples/strdupa.c: Likewise.
14948 * manual/examples/strftim.c: Likewise.
14949 * manual/examples/strncat.c: Likewise.
14950 * manual/examples/subopt.c: Likewise.
14951 * manual/examples/swapcontext.c: Likewise.
14952 * manual/examples/termios.c: Likewise.
14953 * manual/examples/testopt.c: Likewise.
14954 * manual/examples/testpass.c: Likewise.
14955 * manual/examples/timeval_subtract.c: Likewise.
14956
01ae168d
RM
14957 [BZ #13792]
14958 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14959 function to ...
14960 * manual/timeval_subtract.c.texi: ... here, new file.
14961
49efa33d
DM
149622012-03-02 David S. Miller <davem@davemloft.net>
14963
14964 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14965
28afd92d
JM
149662012-03-02 Joseph Myers <joseph@codesourcery.com>
14967
804360ed
JM
14968 [BZ #3976]
14969 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14970 (__sin): Save and restore rounding mode and use round-to-nearest
14971 for all computations.
14972 (__cos): Save and restore rounding mode and use round-to-nearest
14973 for all computations.
14974 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14975 <fenv.h>.
14976 (tan): Save and restore rounding mode and use round-to-nearest for
14977 all computations.
14978 * math/libm-test.inc (cos_test_tonearest): New function.
14979 (cos_test_towardzero): Likewise.
14980 (cos_test_downward): Likewise.
14981 (cos_test_upward): Likewise.
14982 (sin_test_tonearest): Likewise.
14983 (sin_test_towardzero): Likewise.
14984 (sin_test_downward): Likewise.
14985 (sin_test_upward): Likewise.
14986 (tan_test_tonearest): Likewise.
14987 (tan_test_towardzero): Likewise.
14988 (tan_test_downward): Likewise.
14989 (tan_test_upward): Likewise.
14990 (main): Call the new functions.
14991 * sysdeps/i386/fpu/libm-test-ulps: Update.
14992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14993
a6d06d7b
JM
14994 [BZ #10135]
14995 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14996 small n, then large n, before computing and testing k+n.
14997 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14999 Likewise.
15000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15001 Likewise.
15002 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15003 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15010 * math/libm-test.inc (scalbn_test): Add more tests.
15011 (scalbln_test): Likewise.
15012
07e12bb3
JM
15013 * manual/filesys.texi (mode_t): Describe constraints on size and
15014 signedness, not exact equivalence to a particular type.
15015 (ino_t): Likewise.
15016 (ino64_t): Likewise.
15017 (dev_t): Likewise.
15018 (nlink_t): Likewise.
15019 (blkcnt_t): Likewise.
15020 (blkcnt64_t): Likewise.
15021 * manual/llio.texi (off_t): Likewise.
15022
28afd92d
JM
15023 [BZ #3976]
15024 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15025 (__ieee754_exp): Save and restore rounding mode and use
15026 round-to-nearest for all computations.
15027 * math/libm-test.inc (exp_test_tonearest): New function.
15028 (exp_test_towardzero): Likewise.
15029 (exp_test_downward): Likewise.
15030 (exp_test_upward): Likewise.
15031 (main): Call the new functions.
15032 * sysdeps/i386/fpu/libm-test-ulps: Update.
15033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034
b1eeb65d
CD
150352012-03-01 Chris Demetriou <cgd@google.com>
15036
15037 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15038 have predictable order.
15039
53362a4b
DM
150402012-03-01 David S. Miller <davem@davemloft.net>
15041
3c969083
DM
15042 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15043
759707de
DM
15044 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15045 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15046 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15047 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15048
dfdb8ff2
DM
15049 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15050 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15051 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15053 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15054 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15055 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15056 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15057 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15058
ead89f96
DM
15059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15060
7f66bd07
DM
15061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15062 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15064
53362a4b
DM
15065 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15066 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15067 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15068 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15069 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15072 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15073 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15074 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15075 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15081 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15082 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15083 * sysdeps/sparc/elf/configure: Regenerated.
15084
7b1902cb
JM
150852012-03-01 Joseph Myers <joseph@codesourcery.com>
15086
bec039bc
JM
15087 * configure.in (AS, LD): Require binutils 2.20 or later.
15088 * configure: Regenerated.
15089 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15090 as required minimum version.
15091 * INSTALL: Regenerated.
15092
7b1902cb
JM
15093 [BZ #2541]
15094 [BZ #4108]
15095 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15096 before squaring exponent.
15097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15098 bottom long double and 27 bits of top long double before squaring
15099 exponent.
15100 * math/libm-test.inc (erfc_test): Add more tests.
15101 * sysdeps/i386/fpu/libm-test-ulps: Update.
15102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15104
f775c276
KT
151052012-03-01 Kai Tietz <ktietz@redhat.com>
15106
15107 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15108 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15109 containing bit-fields.
15110 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15111 * soft-fp/single.h (_FP_UNION_S): Likewise.
15112 * soft-fp/double.h (_FP_UNION_D): Likewise.
15113
5b8a4d4a
JM
151142012-02-29 Joseph Myers <joseph@codesourcery.com>
15115
0bab47b6
JM
15116 [BZ #13786]
15117 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15118 not include ../strcmp.S.
15119 [USE_AS_STRNCASECMP_L]: Likewise.
15120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15121 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15122 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15123 (__strncasecmp_l_ia32): Define as alias to
15124 __strncasecmp_l_nonascii.
15125
0fcad3e2
JM
15126 [BZ #5794]
15127 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15128 * sysdeps/i386/fpu/libm-test-ulps: Update.
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130
5b8a4d4a
JM
15131 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15133
8fdceb2e
JL
151342012-02-29 Jeff Law <law@redhat.com>
15135
15136 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15137 out of bounds read.
15138
1f393a11
MP
151392012-02-29 Marek Polacek <polacek@redhat.com>
15140
15141 [BZ #13706]
15142 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15143 * elf/Makefile: Add rules to run tst-unused-dep.out.
15144
8847f037
DM
151452012-02-28 David S. Miller <davem@davemloft.net>
15146
15147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15151 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15152 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15153
169d7f11
JM
151542012-02-29 Joseph Myers <joseph@codesourcery.com>
15155
15156 * math/libm-test.inc (llround_test): Move one test from
15157 lround_test. Use TEST_f_L in moved test.
15158 (lround_test): Move misplaced test to llround_test. Add testcase
15159 from bug 2561.
15160
39adf059
UD
151612012-02-28 Ulrich Drepper <drepper@gmail.com>
15162
15163 * sysdeps/x86_64/fpu/e_expf.S: New file.
15164 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15165
71b5d1c5
SB
151662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15167
15168 [BZ #13637]
15169 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15170 of remain_len that may cause incomplete multi-byte character and
15171 false match.
15172 * posix/bug-regex33.c: New file.
15173 * posix/Makefile (tests): Add bug-regex33.
15174
1f77f049
JM
151752012-02-28 Joseph Myers <joseph@codesourcery.com>
15176
15177 * manual/macros.texi: New file.
15178 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15179 * manual/libc.texinfo: Include macros.texi.
15180 * manual/creatute.texi: Likewise.
15181 * manual/install.texi: Likewise.
15182 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15183 @glibcadj{} in references to the GNU C Library.
15184 * manual/charset.texi: Likewise.
15185 * manual/conf.texi: Likewise.
15186 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15187 when not using those macros.
15188 * manual/creature.texi: Likewise.
15189 * manual/crypt.texi: Likewise.
15190 * manual/errno.texi: Likewise.
15191 * manual/filesys.texi: Likewise.
15192 * manual/header.texi: Likewise.
15193 * manual/install.texi: Likewise.
15194 * manual/intro.texi: Likewise.
15195 * manual/io.texi: Likewise.
15196 * manual/job.texi: Likewise.
15197 * manual/lang.texi: Likewise.
15198 * manual/libc.texiinfo: Likewise.
15199 * manual/llio.texi: Likewise.
15200 * manual/locale.texi: Likewise.
15201 * manual/maint.texi: Likewise.
15202 * manual/math.texi: Likewise.
15203 * manual/memory.texi: Likewise.
15204 * manual/message.texi: Likewise.
15205 * manual/nss.texi: Likewise.
15206 * manual/pattern.texi: Likewise.
15207 * manual/process.texi: Likewise.
15208 * manual/resource.texi: Likewise.
15209 * manual/search.texi: Likewise.
15210 * manual/setjmp.texi: Likewise.
15211 * manual/signal.texi: Likewise.
15212 * manual/socket.texi: Likewise.
15213 * manual/startup.texi: Likewise.
15214 * manual/stdio.texi: Likewise.
15215 * manual/string.texi: Likewise.
15216 * manual/sysinfo.texi: Likewise.
15217 * manual/syslog.texi: Likewise.
15218 * manual/terminal.texi: Likewise.
15219 * manual/time.texi: Likewise.
15220 * manual/users.texi: Likewise.
15221 * INSTALL: Regenerated.
15222 * NOTES: Regenerated.
d40c5d54 15223 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15224
450bf206
AS
152252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15226
15227 * include/dirent.h: Include <dirstream.h> before
15228 <dirent/dirent.h>.
15229
741a235b
DM
152302012-02-28 David S. Miller <davem@davemloft.net>
15231
15232 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15233 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15234 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15236
d6b5aa58
DM
152372012-02-27 David S. Miller <davem@davemloft.net>
15238
1aff59a3
DM
15239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15241 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15242 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15243
d6b5aa58
DM
15244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15245 frame pointer instead of stack pointer relative arg slot.
15246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15249
433f48bf
CD
152502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15251
15252 [BZ #3992]
15253 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15254
d674b76d
DM
152552012-02-27 David S. Miller <davem@davemloft.net>
15256
15257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15261 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15262 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15263 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15264 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15265
0e7727f7
JM
152662012-02-27 Joseph Myers <joseph@codesourcery.com>
15267
15268 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15269 later. Allow versions 5-9.
43be4ca2 15270 * configure: Regenerated.
0e7727f7
JM
15271 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15272 required minimum version and 4.6 as recommended version. Do not
15273 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15274 * INSTALL: Regenerated.
0e7727f7 15275
a78bc654
DM
152762012-02-27 David S. Miller <davem@davemloft.net>
15277
428d5830
DM
15278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15284 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15285 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15286
a78bc654
DM
15287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15288 manipulate bits before adding and subtracting TWO112[sx].
15289 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15290
4579f81c
RM
152912012-02-27 Roland McGrath <roland@hack.frob.com>
15292
36c8acb4
RM
15293 [BZ #13775]
15294 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15295 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15296 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15297 being in POSIX, because they are in 1003.1-2008.
15298
84ad622b
RM
15299 * rt/tst-aio.c: Include <fcntl.h>.
15300 * rt/tst-aio7.c: Likewise.
15301 * rt/tst-aio64.c: Likewise.
15302
4579f81c
RM
15303 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15304
abd923db
JM
153052012-02-27 Joseph Myers <joseph@codesourcery.com>
15306
15307 * manual/install.texi (--with-headers): Describe headers as
15308 interface headers, not private headers.
15309 (Specific advice for GNU/Linux systems): Describe use of headers
15310 from "make headers_install", not private headers from older
15311 kernels.
43be4ca2 15312 * INSTALL: Regenerated.
abd923db
JM
15313 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15314 Change to 2.6.19.
15315 * sysdeps/unix/sysv/linux/configure: Regenerated.
15316
6664049b
JM
15317 * manual/llio.texi (fclean): Remove documentation.
15318
bb8b6697
JM
15319 * manual/Makefile (libc-texi-generated): New variable. Include
15320 version.texi.
15321 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15322 $(libc-texi-generated), not duplicated list of files.
15323 (version.texi, stamp-version): New rules.
15324 (realclean): Remove $(libc-texi-generated), not individual files
15325 from that list. Do not remove dir-add.texinfo.
15326 * manual/libc.texinfo: Comment out uses of edition numbers and
15327 references to printed manual. Remove last-updated dates.
15328 (EDITION): Comment out.
15329 (ISBN): Likewise.
15330 (VERSION, UPDATED): Remove.
15331 (version.texi): Include.
15332
12e5c3b9
AS
153332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15334
15335 * sysdeps/posix/spawni.c: Include <signal.h>.
15336 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15337 * sysdeps/pthread/aio_fsync.c: Likewise.
15338
4efeffc1 153392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15340
ba63ba08
UD
15341 * conform/Makefile (tests): Run only when not cross-compiling and
15342 when fast-check is not defined.
15343
d94a4670
UD
15344 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15345 * conform/data/limits.h-data: Fixes for POSIX2008.
15346 * conform/run-conformtest.sh: Run all tests.
15347 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15348 headers.
15349 * include/bits/dlfcn.h: Likewise.
15350 * include/langinfo.h: Likewise.
15351 * include/monetary.h: Likewise.
15352 * include/sys/poll.h: Likewise.
15353
15354 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15355 for __USE_GNU.
15356 * posix/spawn.h: Define __need_sigset_t.
15357 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15358 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15359 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15360 to get sigevent_t only.
15361 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15362 only for __USE_GNU.
15363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15364 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15365 process_vm_writev only for __USE_GNU.
15366 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15367
15368 * conform/Makefile: For now ignore errors from run-conformtest.
15369 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15370 POSIX to avoid namespace pollution. Don't prepend headers.
15371 * conform/data/aio.h-data: Fixes for POSIX testing.
15372 * conform/data/fcntl.h-data: Likewise.
15373 * conform/data/glob.h-data: Likewise.
15374 * conform/data/grp.h-data: Likewise.
15375 * conform/data/pthread.h-data: Likewise.
15376 * conform/data/pwd.h-data: Likewise.
15377 * conform/data/signal.h-data: Likewise.
15378 * conform/data/spawn.h-data: Likewise.
15379 * conform/data/stdio.h-data: Likewise.
15380 * conform/data/stdlib.h-data: Likewise.
15381 * conform/data/stropts.h-data: Likewise.
15382 * conform/data/sys/mman.h-data: Likewise.
15383 * conform/data/sys/stat.h-data: Likewise.
15384 * conform/data/sys/types.h-data: Likewise.
15385 * conform/data/sys/wait.h-data: Likewise.
15386 * conform/data/time.h-data: Likewise.
15387 * conform/data/unistd.h-data: Likewise.
15388 * conform/data/utime.h-data: Likewise.
15389
15390 * io/sys/stat.h: fchmod was always in POSIX.
15391 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15392 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15393 * rt/aio.h: Define __need_timespec before including <time.h>.
15394 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15395 struct. Add forward declaration of pthread_attr_t and use it in
15396 sigevent.
15397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15399 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15400 always remove CLK_TCK definition.
15401
c20105c3
AS
154022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15403
15404 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15405
7a270350
UD
154062012-02-25 Ulrich Drepper <drepper@gmail.com>
15407
31341567
UD
15408 * conform/run-conformtest.sh: New file.
15409 * conform/Makefile: Run run-conformtest for tests.
15410 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15411 support.
15412
15413 * conform/data/uchar.h-data: New file.
15414 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15415 * conform/data/arpa/inet.h-data: Likewise.
15416 * conform/data/assert.h-data: Likewise.
15417 * conform/data/complex.h-data: Likewise.
15418 * conform/data/cpio.h-data: Likewise.
15419 * conform/data/ctype.h-data: Likewise.
15420 * conform/data/dirent.h-data: Likewise.
15421 * conform/data/dlfcn.h-data: Likewise.
15422 * conform/data/errno.h-data: Likewise.
15423 * conform/data/fcntl.h-data: Likewise.
15424 * conform/data/float.h-data: Likewise.
15425 * conform/data/fmtmsg.h-data: Likewise.
15426 * conform/data/fnmatch.h-data: Likewise.
15427 * conform/data/ftw.h-data: Likewise.
15428 * conform/data/glob.h-data: Likewise.
15429 * conform/data/grp.h-data: Likewise.
15430 * conform/data/iconv.h-data: Likewise.
15431 * conform/data/inttypes.h-data: Likewise.
15432 * conform/data/langinfo.h-data: Likewise.
15433 * conform/data/libgen.h-data: Likewise.
15434 * conform/data/limits.h-data: Likewise.
15435 * conform/data/locale.h-data: Likewise.
15436 * conform/data/math.h-data: Likewise.
15437 * conform/data/monetary.h-data: Likewise.
15438 * conform/data/mqueue.h-data: Likewise.
15439 * conform/data/ndbm.h-data: Likewise.
15440 * conform/data/net/if.h-data: Likewise.
15441 * conform/data/netdb.h-data: Likewise.
15442 * conform/data/netinet/in.h-data: Likewise.
15443 * conform/data/nl_types.h-data: Likewise.
15444 * conform/data/poll.h-data: Likewise.
15445 * conform/data/pthread.h-data: Likewise.
15446 * conform/data/pwd.h-data: Likewise.
15447 * conform/data/regex.h-data: Likewise.
15448 * conform/data/sched.h-data: Likewise.
15449 * conform/data/search.h-data: Likewise.
15450 * conform/data/semaphore.h-data: Likewise.
15451 * conform/data/setjmp.h-data: Likewise.
15452 * conform/data/signal.h-data: Likewise.
15453 * conform/data/spawn.h-data: Likewise.
15454 * conform/data/stdarg.h-data: Likewise.
15455 * conform/data/stdio.h-data: Likewise.
15456 * conform/data/stdlib.h-data: Likewise.
15457 * conform/data/string.h-data: Likewise.
15458 * conform/data/strings.h-data: Likewise.
15459 * conform/data/stropts.h-data: Likewise.
15460 * conform/data/sys/ipc.h-data: Likewise.
15461 * conform/data/sys/mman.h-data: Likewise.
15462 * conform/data/sys/msg.h-data: Likewise.
15463 * conform/data/sys/resource.h-data: Likewise.
15464 * conform/data/sys/select.h-data: Likewise.
15465 * conform/data/sys/sem.h-data: Likewise.
15466 * conform/data/sys/shm.h-data: Likewise.
15467 * conform/data/sys/socket.h-data: Likewise.
15468 * conform/data/sys/stat.h-data: Likewise.
15469 * conform/data/sys/statvfs.h-data: Likewise.
15470 * conform/data/sys/time.h-data: Likewise.
15471 * conform/data/sys/timeb.h-data: Likewise.
15472 * conform/data/sys/times.h-data: Likewise.
15473 * conform/data/sys/types.h-data: Likewise.
15474 * conform/data/sys/uio.h-data: Likewise.
15475 * conform/data/sys/un.h-data: Likewise.
15476 * conform/data/sys/utsname.h-data: Likewise.
15477 * conform/data/sys/wait.h-data: Likewise.
15478 * conform/data/syslog.h-data: Likewise.
15479 * conform/data/tar.h-data: Likewise.
15480 * conform/data/termios.h-data: Likewise.
15481 * conform/data/utime.h-data: Likewise.
15482 * conform/data/utmpx.h-data: Likewise.
15483 * conform/data/varargs.h-data: Likewise.
15484 * conform/data/wchar.h-data: Likewise.
15485 * conform/data/wctype.h-data: Likewise.
15486 * conform/data/wordexp.h-data: Likewise.
15487
15488 * include/stropts.h: New file.
15489 * include/uchar.h: New file.
15490 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15491 * include/assert.h: Likewise.
15492 * include/ctype.h: Likewise.
15493 * include/dirent.h: Likewise.
15494 * include/dlfcn.h: Likewise.
15495 * include/fcntl.h: Likewise.
15496 * include/fnmatch.h: Likewise.
15497 * include/glob.h: Likewise.
15498 * include/grp.h: Likewise.
15499 * include/libio.h: Likewise.
15500 * include/locale.h: Likewise.
15501 * include/math.h: Likewise.
15502 * include/net/if.h: Likewise.
15503 * include/netdb.h: Likewise.
15504 * include/netinet/in.h: Likewise.
15505 * include/pthread.h: Likewise.
15506 * include/pwd.h: Likewise.
15507 * include/regex.h: Likewise.
15508 * include/sched.h: Likewise.
15509 * include/search.h: Likewise.
15510 * include/setjmp.h: Likewise.
15511 * include/signal.h: Likewise.
15512 * include/stdio.h: Likewise.
15513 * include/stdlib.h: Likewise.
15514 * include/string.h: Likewise.
15515 * include/sys/cdefs.h: Likewise.
15516 * include/sys/mman.h: Likewise.
15517 * include/sys/msg.h: Likewise.
15518 * include/sys/resource.h: Likewise.
15519 * include/sys/select.h: Likewise.
15520 * include/sys/socket.h: Likewise.
15521 * include/sys/stat.h: Likewise.
15522 * include/sys/statvfs.h: Likewise.
15523 * include/sys/time.h: Likewise.
15524 * include/sys/times.h: Likewise.
15525 * include/sys/uio.h: Likewise.
15526 * include/sys/utsname.h: Likewise.
15527 * include/sys/wait.h: Likewise.
15528 * include/termios.h: Likewise.
15529 * include/time.h: Likewise.
15530 * include/ulimit.h: Likewise.
15531 * include/unistd.h: Likewise.
15532 * include/utime.h: Likewise.
15533 * include/wchar.h: Likewise.
15534 * include/wctype.h: Likewise.
15535 * include/wordexp.h: Likewise.
15536
15537 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15538
7a270350
UD
15539 * time/time.h: TIME_UTC must be a macro.
15540 Make timespec_get available for ISO C11 only as well.
15541
7724defc
UD
155422012-02-24 Ulrich Drepper <drepper@gmail.com>
15543
15544 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15545 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15546
6b1d1d46
JM
155472012-02-24 Joseph Myers <joseph@codesourcery.com>
15548
15549 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15550
0f8bbd69
JM
155512012-02-24 Joseph Myers <joseph@codesourcery.com>
15552
15553 * manual/texinfo.tex: Update to version 2012-01-19.16.
15554
66ab80bc
JM
155552012-02-24 Joseph Myers <joseph@codesourcery.com>
15556
15557 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15558
74981cc5
RM
155592012-02-24 Roland McGrath <roland@hack.frob.com>
15560
ee968201
RM
15561 [BZ #13738]
15562 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15563 * manual/fdl-1.3.texi: New file.
15564 * manual/fdl-1.1.texi: File removed.
15565
74981cc5
RM
15566 [BZ #13738]
15567 * manual/libc.texinfo (FDL_VERSION): New @set.
15568 Use it for mention of FDL in cover text.
15569 (Documentation License): Use it in @include file name.
15570
7bb764bc
JM
155712012-02-22 Joseph Myers <joseph@codesourcery.com>
15572 Roland McGrath <roland@hack.frob.com>
15573
15574 [BZ #5461]
15575 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15576 not LONG_LONG_MAX and LONG_LONG_MIN.
15577 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15578 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15579 name.
15580 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15581
6cbeae47
JM
155822012-02-22 Joseph Myers <joseph@codesourcery.com>
15583
15584 [BZ #2547]
15585 [BZ #11365]
15586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15587 manipulate bits before adding and subtracting TWO23[sx].
15588 * math/libm-test.inc (nearbyint_test): Add more tests.
15589
fe45ce09
JM
155902012-02-22 Joseph Myers <joseph@codesourcery.com>
15591
15592 [BZ #2548]
15593 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15594 bits before adding and subtracting TWO23[sx].
15595 * math/libm-test.inc (rint_test): Add more tests.
15596 (rint_test_tonearest): Likewise.
15597 (rint_test_towardzero): Likewise.
15598 (rint_test_downward): Likewise.
15599 (rint_test_upward: Likewise.
15600
ff3b3d82
JM
156012012-02-22 Joseph Myers <joseph@codesourcery.com>
15602
15603 [BZ #10110]
15604 * include/stdc-predef.h: New file. Extracted from features.h.
15605 * include/features.h: Include stdc-predef.h.
15606 * Makefile (headers): Add stdc-predef.h.
15607 * CONFORMANCE (Compiler limitations): Update.
15608
ef0aab35
JM
156092012-02-22 Joseph Myers <joseph@codesourcery.com>
15610
15611 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15612
58639409
DM
156132012-02-21 David S. Miller <davem@davemloft.net>
15614
15615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15617
c0e70b25
DM
156182012-02-20 David S. Miller <davem@davemloft.net>
15619
15620 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15621 using a normal save/restore sequence, rather than allocating a
15622 dummy stack frame just to store a frame pointer and restore.
15623 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15624
fb06851d
JM
156252012-02-21 Joseph Myers <joseph@codesourcery.com>
15626
15627 * manual/install.texi: Fix stray word in line-wrapped comment.
15628
7a8b71c3
DM
156292012-02-20 David S. Miller <davem@davemloft.net>
15630
d510c123
DM
15631 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15632 both binutils and gcc support GOTDATA.
15633
0722d7c2
DM
15634 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15635 "rd %pc" in the PIC register setup sequences.
15636
3d2b3019
DM
15637 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15638 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15640 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15641 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15646 (SYSCALL_ERROR_HANDLER): Likewise.
15647 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15650 (SYSCALL_ERROR_HANDLER): Likewise.
15651
c80098a9
DM
15652 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15653 (HAVE_GCC_GOTDATA): New.
15654 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15655 relocation support in both binutils and gcc.
15656 * sysdeps/sparc/elf/configure: Regenerate.
15657
3a2545a0
DM
15658 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15659 * sysdeps/sparc/sparc32/elf/configure: Delete.
15660 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15661 * sysdeps/sparc/sparc64/elf/configure: Delete.
15662 * sysdeps/sparc/elf/configure.in: New file.
15663 * sysdeps/sparc/elf/configure: Generate.
15664
7a8b71c3
DM
15665 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15666 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15668 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15669 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15670
f1e86fca
JM
156712012-02-21 Joseph Myers <joseph@codesourcery.com>
15672
15673 * manual/install.texi: Do not mention specific glibc version
15674 numbers.
15675 * manual/libc.texinfo (VERSION, UPDATED): Update.
15676 (@copying): Use @copyright{} and range of years.
15677
0e7dfaef
JM
156782012-02-21 Joseph Myers <joseph@codesourcery.com>
15679
15680 [BZ #13695]
15681 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15682 [crti.S not in sysdirs] (generated): Do not append.
15683 [crti.S not in sysdirs] (omit-deps): Likewise.
15684 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15685 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15686 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15687 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15688 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15689 Likewise.
15690 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15691 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15692 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15693 * csu/defs.awk: Remove file.
15694 * sysdeps/generic/initfini.c: Likewise.
15695 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15696 variable.
15697 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15698 Likewise.
15699
599af3ca
JM
157002012-02-20 Joseph Myers <joseph@codesourcery.com>
15701
15702 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15703 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15704 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15707 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15708 <bits/epoll.h>.
15709 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15710 (__EPOLL_PACKED): Define to empty if not defined by
15711 <bits/epoll.h>.
15712 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15714 bits/epoll.h.
15715
0e499750
JM
157162012-02-20 Joseph Myers <joseph@codesourcery.com>
15717
15718 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15719 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15721 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15722 <bits/timerfd.h>.
15723 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15725 bits/timerfd.h.
15726
5ad91f6e
JM
157272012-02-20 Joseph Myers <joseph@codesourcery.com>
15728
15729 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15730 in C locale.
15731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15732 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15733 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15735
06b99b02
AJ
157362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15737
15738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15740
7638c0fd
AS
157412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15742
15743 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15744 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15745 defined.
15746 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15747 Likewise.
15748 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15749 entry for 2.16.
15750
92221550
AJ
157512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15752
15753 * math/w_acos.c: Use non-signaling floating-point comparisons.
15754 * math/w_acosf.c: Likewise.
15755 * math/w_acosh.c: Likewise.
15756 * math/w_acoshf.c: Likewise.
15757 * math/w_acoshl.c: Likewise.
15758 * math/w_acosl.c: Likewise.
15759 * math/w_asin.c: Likewise.
15760 * math/w_asinf.c: Likewise.
15761 * math/w_asinl.c: Likewise.
15762 * math/w_atanh.c: Likewise.
15763 * math/w_atanhf.c: Likewise.
15764 * math/w_atanhl.c: Likewise.
15765 * math/w_exp2.c: Likewise.
15766 * math/w_exp2f.c: Likewise.
15767 * math/w_exp2l.c: Likewise.
15768 * math/w_j0.c: Likewise.
15769 * math/w_j0f.c: Likewise.
15770 * math/w_j0l.c: Likewise.
15771 * math/w_j1.c: Likewise.
15772 * math/w_j1f.c: Likewise.
15773 * math/w_j1l.c: Likewise.
15774 * math/w_jn.c: Likewise.
15775 * math/w_jnf.c: Likewise.
15776 * math/w_log.c: Likewise.
15777 * math/w_log10.c: Likewise.
15778 * math/w_log10f.c: Likewise.
15779 * math/w_log10l.c: Likewise.
15780 * math/w_log2.c: Likewise.
15781 * math/w_log2f.c: Likewise.
15782 * math/w_log2l.c: Likewise.
15783 * math/w_logf.c: Likewise.
15784 * math/w_logl.c: Likewise.
15785 * math/w_sqrt.c: Likewise.
15786 * math/w_sqrtf.c: Likewise.
15787 * math/w_sqrtl.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15790 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15791 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15793
ebaf36eb
JM
157942012-02-19 Joseph Myers <joseph@codesourcery.com>
15795
15796 [BZ #9739]
15797 * manual/string.texi (strnlen): Use correct parameter name in
15798 equivalent expression.
15799
71c254a6
JM
158002012-02-19 Joseph Myers <joseph@codesourcery.com>
15801
15802 [BZ #11174]
15803 * manual/users.texi (seteuid): Consistently use neweuid for
15804 argument name.
15805
16d2c631
JM
158062012-02-19 Joseph Myers <joseph@codesourcery.com>
15807
15808 [BZ #13704]
15809 * manual/nss.texi (Services in the NSS configuration): Correct
15810 list of services in example configuration file.
15811
cd837b09
NB
158122012-02-19 Nick Bowler <nbowler@draconx.ca>
15813
15814 [BZ #11322]
15815 * manual/arith.texi: Remove statements about negative zero
15816 behaving identically to zero.
15817
02c4bbad
JM
158182012-02-18 Joseph Myers <joseph@codesourcery.com>
15819
15820 [BZ #5993]
15821 * manual/install.texi: Do not document upgrading from libc5.
15822
366842e7
JM
158232012-02-18 Joseph Myers <joseph@codesourcery.com>
15824
15825 [BZ #4596]
15826 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15827
dd54084d
DM
158282012-02-18 David S. Miller <davem@davemloft.net>
15829
15830 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15831 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15832 %o7 across the call.
15833 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15834 instead.
15835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15836 SETUP_PIC_REG_LEAF.
15837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15838 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15839 * sysdeps/sparc/crtn.S: Likewise.
15840
2bcc53a3
UD
158412012-02-17 Ulrich Drepper <drepper@gmail.com>
15842
15843 * aout/Makefile: Remove.
15844
09c093b5
RK
158452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15846
15847 [BZ #13058]
15848 * manual/examples/argp-ex1.c (main): Format definition in GNU
15849 style.
15850 * manual/examples/argp-ex2.c (main): Likewise.
15851 * manual/examples/argp-ex3.c (main): Likewise.
15852 * manual/examples/argp-ex4.c (main): Likewise.
15853 * manual/examples/longopt.c (main): Use new-style prototype
15854 definition.
15855 * manual/examples/strncat.c (main): Specify return type and use
15856 (void) for arguments.
15857 * manual/examples/subopt.c (main): Use char **argv argument.
15858
2ee633a2
JM
158592012-02-17 Joseph Myers <joseph@codesourcery.com>
15860
15861 [BZ #5077]
15862 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15863 rounding modes.
15864
0520adde
FB
158652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15866
15867 [BZ #6907]
15868 * manual/string.texi (strchr): Change when strchrnul is
15869 recommended.
15870
3f4081cd
DGM
158712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15872
15873 [BZ #174]
15874 * manual/locale.texi (setlocale): Document LOCPATH.
15875
d1b10e78
JM
158762012-02-17 Joseph Myers <joseph@codesourcery.com>
15877
15878 [BZ #10210]
15879 * manual/process.texi (execle): Move @dots{} before last argument.
15880
79c6869c
PB
158812012-02-17 Paul Bolle <pebolle@tiscali.nl>
15882
15883 [BZ #12047]
15884 * manual/charset.texi (Generic Charset Conversion): Fix typo
15885 (LC_TYPE -> LC_CTYPE).
15886
cc6e48bc
NB
158872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15888
15889 [BZ #5805]
15890 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15891 (scalbnf): Likewise.
15892 (scalbnl): Likewise.
15893 (scalbln): Likewise.
15894 (scalblnf): Likewise.
15895 (scalblnl): Likewise.
15896 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15897 (vwarnx): Likewise.
15898 (verr): Likewise.
15899 (verrx): Likewise.
15900 * manual/filesys.texi (telldir): Use braces around return type.
15901 * manual/llio.texi (mmap): Add space after comma.
15902 (mmap64): Likewise.
15903 * manual/math.texi (jn): Use @var{} on parameter names.
15904 (jnf): Likewise.
15905 (jnl): Likewise.
15906 (yn): Likewise.
15907 (ynf): Likewise.
15908 (ynl): Likewise.
15909 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15910 line.
15911 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15912 "...".
15913 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15914 (sched_get_priority_max): Likewise.
15915 * manual/signal.texi (sigvec): Add space after comma.
15916 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15917 names.
15918 (if_indextoname): Likewise.
15919 (if_freenameindex): Likewise.
15920 (sendto): Use ',' instead of '.' in prototype.
15921 * manual/startup.texi (syscall): Use @dots{} instead of literal
15922 "...".
15923 * manual/stdio.texi (__fpending): Separate initial words of
15924 paragraph from @deftypefun line.
15925 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15926 "...".
15927 (vsyslog): Use @var{} on parameter names.
15928 * manual/terminal.texi (stty): Use @var{} on parameter names.
15929 * manual/users.texi (getutmp): Use @var{} on parameter names.
15930 (getutmpx): Likewise.
15931
5b23062f
JM
159322012-02-17 Joseph Myers <joseph@codesourcery.com>
15933
15934 [BZ #6884]
15935 * manual/stdio.texi (fopen): Fix typos in description of
15936 ",ccs=STRING".
15937
8dee4833
AJ
159382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15939
15940 [BZ #4026]
15941 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15942 get clock_id definition.
15943
9078ce93
TS
159442012-02-17 Thomas Schwinge <thomas@schwinge.name>
15945
15946 [BZ #4822]
15947 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15948 (madvise): Cast every argument to void on its own.
15949
3835c55f
JM
159502012-02-17 Joseph Myers <joseph@codesourcery.com>
15951
15952 [BZ #9902]
15953 * manual/startup.texi (Exit Status): Fix typo.
15954
35c47e37
JM
159552012-02-17 Joseph Myers <joseph@codesourcery.com>
15956
15957 [BZ #10140]
15958 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15959 * manual/examples/argp-ex2.c: Likewise.
15960 * manual/examples/argp-ex3.c: Likewise.
15961
e3b69ca7
RH
159622012-02-16 Richard Henderson <rth@redhat.com>
15963
15964 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15965 * sysdeps/s390/s390-32/initfini.c: Remove.
15966 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15967 * sysdeps/s390/s390-64/initfini.c: Remove.
15968
df83af67
KK
159692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15970
15971 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15972 compiler output for sysdeps/generic/initfini.c.
15973 * sysdeps/sh/elf/initfini.c: Remove file.
15974
f63f3380
DM
159752012-02-16 David S. Miller <davem@davemloft.net>
15976
fb59b3a4
DM
15977 [BZ #11494]
15978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15979
f63f3380
DM
15980 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15981 * sysdeps/sparc/crti.S: New file.
15982 * sysdeps/sparc/crtn.S: New file.
15983 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15984 * sysdeps/sparc/sparc64/Makefile: Likewise.
15985
df6a4a4a
MF
159862012-02-15 Mike Frysinger <vapier@gentoo.org>
15987
6dd8f3dc 15988 [BZ #3335]
df6a4a4a
MF
15989 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15990
1cac7236
RM
159912012-02-15 Roland McGrath <roland@hack.frob.com>
15992
d2c736f8
RM
15993 [BZ #4822]
15994 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15995
1cac7236
RM
15996 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15997 (write, read, close): Likewise.
15998 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15999
8e475601
JM
160002012-02-15 Joseph Myers <joseph@codesourcery.com>
16001
16002 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16003 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16004 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16005 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16006 <bits/signalfd.h>.
16007 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16009 bits/signalfd.h.
16010
ed656b40
MP
160112012-02-14 Marek Polacek <polacek@redhat.com>
16012
16013 * sysdeps/x86_64/crti.S: New file.
16014 * sysdeps/x86_64/crtn.S: New file.
16015 * sysdeps/x86_64/elf/initfini.c: Remove file.
16016
2a979d3a
JM
160172012-02-13 Joseph Myers <joseph@codesourcery.com>
16018
16019 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16020 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16021 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16022 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16023 <bits/inotify.h>.
16024 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16026 bits/inotify.h.
16027
2a418ac3
JM
160282012-02-13 Joseph Myers <joseph@codesourcery.com>
16029
16030 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16031 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16032 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16033 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16034 <bits/eventfd.h>.
16035 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16037 bits/eventfd.h.
16038
fb779be7
TS
160392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16040
e19e83c5
RM
16041 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16042 __feraiseexcept instead of feraiseexcept.
7c35ffed 16043
fb779be7
TS
16044 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16045 nanosleep invocations.
16046 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16047 strings, and add error checking for a nanosleep invocations.
16048
59ba27a6
PE
160492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16050
16051 Replace FSF snail mail address with URLs, as per GNU coding standards.
16052 Most of the snail mail addresses were wrong anyway, and omitting
16053 them makes the source code easier to maintain. Almost all of the
16054 changes are to license notices and to locale LC_IDENTIFICATION
16055 addresses, except for this one:
16056 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16057 not its snail mail address.
16058
57b957eb
RH
160592012-02-09 Richard Henderson <rth@twiddle.net>
16060
af850b1c
RH
16061 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16062 of kernel-features.h.
16063
57b957eb
RH
16064 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16065
6b73181a
MP
160662012-02-08 Marek Polacek <polacek@redhat.com>
16067
16068 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16069 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16070 * sysdeps/gnu/_G_config.h: Likewise.
16071 * sysdeps/generic/_G_config.h: Likewise.
16072
26ecc33a
AS
160732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16074
6c6dbc63
AS
16075 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16076 tests.
16077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16078
e216c012
AS
16079 * sysdeps/powerpc/powerpc32/crti.S: New file.
16080 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16081 * sysdeps/powerpc/powerpc64/crti.S: New file.
16082 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16083
26ecc33a
AS
16084 * Makeconfig (have-initfini): Don't set.
16085 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16086 * configure.in (nopic_initfini): Don't substitute.
16087 * config.h.in (HAVE_INITFINI): Don't #undef.
16088 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16089 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16090
3add8e13
JM
160912012-02-08 Joseph Myers <joseph@codesourcery.com>
16092
16093 Support crti.S and crtn.S provided directly by architectures.
16094 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16095 [crti.S in sysdirs] (omit-deps): Likewise.
16096 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16097 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16098 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16099 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16100 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16101 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16102 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16103 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16104 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16105 compiler output for sysdeps/generic/initfini.c.
16106 * sysdeps/i386/elf/Makefile: Remove file.
16107 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16108
a22f12b4
MP
161092012-02-07 Marek Polacek <polacek@redhat.com>
16110
16111 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16112 * sysdeps/gnu/_G_config.h: Likewise.
16113 * sysdeps/mach/hurd/_G_config.h: Likewise.
16114
148cf100
MP
161152012-02-07 Marek Polacek <polacek@redhat.com>
16116
16117 * math/Makefile (tests): Add tst-CMPLX2.
16118 * math/tst-CMPLX2.c: New file.
16119
cfdc0dd7
AS
161202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16121
84ba42c4
AS
16122 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16123
cfdc0dd7
AS
16124 * math/libm-test.inc (jn_test): Add missing L suffix.
16125
622c86f4
MP
161262012-02-06 Marek Polacek <polacek@redhat.com>
16127
16128 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16129 * sysdeps/i386/fpu/e_powf.S: Likewise.
16130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16131 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16133 * sysdeps/i386/fpu/e_pow.S: Likewise.
16134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16138 * sysdeps/i386/fpu/e_log2.S: Likewise.
16139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16141 * sysdeps/i386/fpu/e_powl.S: Likewise.
16142 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16144 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16145 * sysdeps/i386/fpu/e_logl.S: Likewise.
16146 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16147 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16152 * sysdeps/i386/fpu/e_log.S: Likewise.
16153 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16155 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16156 * sysdeps/i386/fpu/e_logf.S: Likewise.
16157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16159 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16160 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16162 * sysdeps/i386/fpu/e_log10.S: Likewise.
16163 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16165 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16166 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16168 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16169 * sysdeps/i386/asm-syntax.h: Likewise.
16170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16173 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16174 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16175 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16176 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16177 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16178 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16179 * sysdeps/powerpc/sysdep.h: Likewise.
16180 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16182
d4a54ac6
JM
161832012-02-06 Joseph Myers <joseph@codesourcery.com>
16184
16185 [BZ #411]
16186 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16187
314054ea
JM
161882012-02-06 Joseph Myers <joseph@codesourcery.com>
16189
16190 * sysdeps/i386/sysdep.h: Include <features.h>.
16191 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16192 version.
16193
d8e0ca50
JM
161942012-02-05 Joseph Myers <joseph@codesourcery.com>
16195
16196 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16197 Define.
16198 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16199 LOAD_PIC_REG_STR.
16200
b1da7dd9
JM
162012012-02-03 Joseph Myers <joseph@codesourcery.com>
16202
16203 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16204 (SETUP_PIC_REG): Use GET_PC_THUNK.
16205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16206 macro.
16207
9a1d9254
JM
162082012-02-03 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16211 for non-PIC compilation.
16212 (SETUP_PIC_REG): Add .p2align directive.
16213 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16214 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16215 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16216 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16217 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16221 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16222 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16223 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16224 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16225 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16226 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16227 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16230 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16231 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16232 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16235 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16236 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16241 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16242 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16243 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16244 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16246 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16247 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16249 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16250 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16253 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16254
65dc3b75
JM
162552012-02-03 Joseph Myers <joseph@codesourcery.com>
16256
16257 * math/tst-CMPLX.c: Include <stdio.h>.
16258
d55bf177
JM
162592012-01-31 Joseph Myers <joseph@codesourcery.com>
16260
16261 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16262 float.
16263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16264 * sysdeps/sparc/bits/mathdef.h: Likewise.
16265
69db4f8f
MP
162662012-01-31 Marek Polacek <polacek@redhat.com>
16267
16268 * libio/libio.h: Don't define _PARAMS.
16269 * locale/programs/config.h: Don't define PARAMS.
16270 * stdlib/strtol_l.c: Likewise.
16271 (__strtol_l): Remove PARAMS from the prototype.
16272
41b81892
UD
162732012-01-31 Ulrich Drepper <drepper@gmail.com>
16274
3b49edc0
UD
16275 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16276 names. Just use the correct names. Remove unnecessary wrapper
16277 functions.
16278 * malloc/arena.c: Likewise.
16279 * malloc/hooks.c: Likewise.
16280
41b81892
UD
16281 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16282 ARENA_TEST says not to. Simplify test for creation of a new arena.
16283 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16284
27a25b6e
UD
162852012-01-30 Ulrich Drepper <drepper@gmail.com>
16286
16287 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16288 into tail calls.
16289 (update_get_addr): New function.
16290 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16291 GET_ADDR_MODULE parameter.
16292
c8a89e7d
JM
162932012-01-30 Joseph Myers <joseph@codesourcery.com>
16294
16295 * crypt/cert.c: Remove __STDC__ conditionals.
16296 * crypt/crypt-entry.c: Likewise.
16297 * crypt/crypt_util.c: Likewise.
16298 * libio/filedoalloc.c: Likewise.
16299 * libio/fileops.c: Likewise.
16300 * libio/genops.c: Likewise.
16301 * libio/iofclose.c: Likewise.
16302 * libio/iofdopen.c: Likewise.
16303 * libio/iofopen.c: Likewise.
16304 * libio/iofopen64.c: Likewise.
16305 * libio/iogetdelim.c: Likewise.
16306 * libio/iopopen.c: Likewise.
16307 * libio/obprintf.c: Likewise.
16308 * libio/oldfileops.c: Likewise.
16309 * libio/oldiofclose.c: Likewise.
16310 * libio/oldiofdopen.c: Likewise.
16311 * libio/oldiofopen.c: Likewise.
16312 * libio/oldiopopen.c: Likewise.
16313 * libio/wfiledoalloc.c: Likewise.
16314 * libio/wgenops.c: Likewise.
16315 * locale/programs/xmalloc.c: Likewise.
16316 * misc/syslog.c: Likewise.
16317 * stdio-common/xbug.c: Likewise.
16318 * string/memchr.c: Likewise.
16319 * string/memcmp.c: Likewise.
16320 * string/memrchr.c: Likewise.
16321 * string/rawmemchr.c: Likewise.
16322 * sysdeps/posix/getcwd.c: Likewise.
16323 * time/strftime_l.c: Likewise.
16324
3b100462
JM
163252012-01-30 Joseph Myers <joseph@codesourcery.com>
16326
16327 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16328 * config.make.in (config-cflags-sse2avx): Define.
16329 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16330 Fix typo.
16331
607998af
CM
163322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16333
16334 * scripts/config.guess: Update from upstream config git repository.
16335 * scripts/config.sub: Likewise.
16336
3601428f
CM
163372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16338
3ac8b282
CM
16339 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16340 (EM_NUM): Update.
16341 (R_TILEPRO_*, R_TILEGX_*): New macros.
16342
e034841e
CM
16343 * scripts/firstversions.awk: Fix bug in version range handling.
16344
540d7568
CM
16345 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16346
3601428f
CM
16347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16348
463de862
CM
16349 * include/sys/epoll.h: New file.
16350 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16351 libc_hidden_def.
16352
73139a76
UD
163532012-01-28 Ulrich Drepper <drepper@gmail.com>
16354
96bc5b45
UD
16355 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16356 Avoid unnecessary __WORDSIZE == 64 test.
16357 (fmaxf): Use VEX format if possible.
16358 (fmax): Likewise.
16359 (fminf): Likewise.
16360 (fmin): Likewise.
16361
56f6f6a2
UD
16362 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16363 * math/math_private.h: Remove libc_fegetround* and
16364 libc_fesetround*.
16365 * sysdeps/i386/configure.in: Check for -msse2avx.
16366 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16367 also if SSE2AVX is defined.
16368 Remove libc_fegetround* and libc_fesetround*.
16369 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16370 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16372 of HAS_YMM_USABLE.
16373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16378
73139a76
UD
16379 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16380
d73f93a4
AZ
163812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16382
16383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16384 size is not set.
16385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16386
6ee65ed6
UD
163872012-01-27 Ulrich Drepper <drepper@gmail.com>
16388
16389 [BZ #13618]
16390 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16391 relocation.
16392 * Makeconfig (libm): Define.
16393 * elf/Makefile: Add rules to build and run tst-relsort1.
16394 * elf/tst-relsort1.c: New file.
16395 * elf/tst-relsort1mod1.c: New file.
16396 * elf/tst-relsort1mod2.c: New file.
16397
8db21882
JM
163982012-01-27 Joseph Myers <joseph@codesourcery.com>
16399
16400 * math/s_ldexp.c: Remove __STDC__ conditionals.
16401 * math/s_ldexpf.c: Likewise.
16402 * math/s_ldexpl.c: Likewise.
16403 * math/s_nextafter.c: Likewise.
16404 * math/s_nexttowardf.c: Likewise.
16405 * math/s_significand.c: Likewise.
16406 * math/s_significandf.c: Likewise.
16407 * math/s_significandl.c: Likewise.
16408 * math/w_jnl.c: Likewise.
16409 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16410 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16411 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16412 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16413 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16415 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16424 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16426 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16428 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16429 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16430 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16437 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16446 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16447 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16448 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16449 * sysdeps/ieee754/k_standard.c: Likewise.
16450 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16452 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16464 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16469 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16472 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16475 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16481 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16492 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16511 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16525 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16529 * sysdeps/ieee754/s_matherr.c: Likewise.
16530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16534
965a54a4
JM
165352012-01-26 Joseph Myers <joseph@codesourcery.com>
16536
16537 * crypt/md5.h: Remove __STDC__ conditionals.
16538 * libio/libioP.h: Likewise.
16539 * locale/programs/config.h: Likewise.
16540 * sysdeps/generic/sysdep.h: Likewise.
16541 * sysdeps/i386/asm-syntax.h: Likewise.
16542 * sysdeps/s390/asm-syntax.h: Likewise.
16543 * sysdeps/unix/sysdep.h: Likewise.
16544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16546
7071ad79
JM
165472012-01-26 Joseph Myers <joseph@codesourcery.com>
16548
16549 * libio/libio.h: Remove __STDC__ conditionals.
16550 * malloc/obstack.h: Likewise.
16551 * math/complex.h: Likewise.
16552 * math/math.h: Likewise.
16553 * sysdeps/generic/_G_config.h: Likewise.
16554 * sysdeps/gnu/_G_config.h: Likewise.
16555 * sysdeps/mach/hurd/_G_config.h: Likewise.
16556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16558 * sysdeps/sparc/bits/mathdef.h: Likewise.
16559
afc5ed09
UD
165602012-01-26 Ulrich Drepper <drepper@gmail.com>
16561
16562 [BZ #13583]
16563 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16564 Clean up HAS_* macros.
afc5ed09 16565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16566 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16567 possible.
16568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16569 HAS_AVX.
16570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16575
bdb6de1d
JM
165762012-01-25 Joseph Myers <joseph@codesourcery.com>
16577
16578 * elf/tst-unique3.cc (gets): Remove declaration.
16579 * elf/tst-unique3lib.cc (gets): Likewise.
16580 * elf/tst-unique3lib2.cc (gets): Likewise.
16581 * elf/tst-unique4.cc (gets): Likewise.
16582
b15549e6
UD
165832012-01-24 Ulrich Drepper <drepper@gmail.com>
16584
16585 * include/stdio.h: Add C++ protection. Add gets declarations and
16586 definitions.
16587 * debug/tst-chk1.c: Don't declare gets here.
16588 * stdio-common/tst-gets.c: Likewise.
16589
a037381f
JM
165902012-01-24 Joseph Myers <joseph@codesourcery.com>
16591
16592 * posix/glob: Remove directory.
16593
f1d4aa75
JM
165942012-01-24 Joseph Myers <joseph@codesourcery.com>
16595
16596 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16597
81c0c964
PT
165982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16599
16600 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16601 of the non-standard EPFNOSUPPORT.
16602
0ea698ae
ST
166032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16604
16605 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16606 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16607 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16608
d220b117
UD
166092012-01-21 Ulrich Drepper <drepper@gmail.com>
16610
16611 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16612
3e1aa84e
UD
166132012-01-20 Ulrich Drepper <drepper@gmail.com>
16614
16615 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16616 transient errors.
16617 * nscd/grpcache.c (cache_addgr): Likewise.
16618 * nscd/hstcache.c (cache_addhst): Likewise.
16619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16620 * nscd/pwdcache.c (cache_addpw): Likewise.
16621 * nscd/servicescache.c (cache_addserv): Likewise.
16622
400aa020
UD
166232012-01-16 Ulrich Drepper <drepper@gmail.com>
16624
d77e7869
UD
16625 * malloc/malloc.c: Various cleanups.
16626 * malloc/hooks.c: Likewise.
16627
400aa020
UD
16628 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16629 * stdlib/bug-fmtmsg1.c: New file.
16630
16631 * stdlib/fmtmsg.c (init): Add missing unlock.
16632 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16633
e0a309cf
MP
166342012-01-12 Marek Polacek <polacek@redhat.com>
16635
16636 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16637 and _GNU_SOURCE.
16638
929d11c7
WS
166392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16640
16641 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16642 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16643 macro to ensure uniqueness of label name.
16644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16646
41d0e869
UD
166472012-01-11 Ulrich Drepper <drepper@gmail.com>
16648
0cc5ed3b
UD
16649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16650
41d0e869
UD
16651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16652 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16655
a47a831a
UD
166562012-01-10 Ulrich Drepper <drepper@gmail.com>
16657
daa891c0
UD
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16659
16660 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16661 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16663
e58ef0f2
UD
16664 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16665
a47a831a 16666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16667 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16670
16671 * math/bits/math-finite.h: Add ldexp support.
16672
a0bfc9c7
MP
166732012-01-10 Marek Polacek <polacek@redhat.com>
16674
16675 * locale/programs/localedef.h (show_archive_content): Add noreturn
16676 attribute.
16677
d6e97a1d
UD
166782012-01-09 Ulrich Drepper <drepper@gmail.com>
16679
16680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16681
d5835c26
UD
166822012-01-08 Ulrich Drepper <drepper@gmail.com>
16683
e5f484c6
UD
16684 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16685
d5835c26
UD
16686 * io/Makefile (headers): Add bits/poll2.h.
16687
d1f741e9
WS
166882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16689
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16691 typo #include statement.
16692
ec09c1c4
UD
166932012-01-08 Ulrich Drepper <drepper@gmail.com>
16694
16695 * include/sys/cdefs.h: Define __attribute_alloc_size.
16696 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16697 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16698 * elf/pldd.c: Likewise.
16699 * iconv/iconv_charmap.c: Likewise.
16700 * iconv/iconvconfig.c: Likewise.
16701 * iconv/strtab.c: Likewise.
16702 * locale/programs/locale.c: Likewise.
16703 * locale/programs/localedef.h: Likewise.
16704 * locale/programs/simple-hash.c: Likewise.
16705 * nscd/nscd.h: Likewise.
16706 * nss/makedb.c: Likewise.
16707 * sysdeps/generic/ldconfig.h: Likewise.
16708 * locale/programs/localedef.c: Remove xmalloc prototype.
16709 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16710
20b38e03
PP
167112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16712
16713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16714 appropriate.
16715
a0da5fe1
UD
167162012-01-08 Ulrich Drepper <drepper@gmail.com>
16717
1d5a644a 16718 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16719 * math/tst-CMPLX.c: New file.
1d5a644a 16720
8784a6db
UD
16721 * math/complex.h (CMPLXL): Fix typo.
16722
d9a216c0
UD
16723 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16724 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16725 GLIBC_2.16.
16726 * debug/tst-chk1.c: Add poll and ppoll tests.
16727 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16728 * include/sys/poll.h: Add hidden proto for ppoll.
16729 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16730 * sysdeps/mach/hurd/ppoll.c: Likewise.
16731 * io/ppoll.c: Likewise.
16732 * debug/poll_chk.c: New file.
16733 * debug/ppoll_chk.c: New file.
16734 * include/bits/poll2.h: New file.
16735 * io/bits/poll2.h: New file.
16736
ac097f5c
UD
16737 [BZ #1350]
16738 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16739
2119dcfa
UD
16740 * configure.in: static is always set to yes. Remove.
16741 * config.make.in: Don't set build-static.
16742 * Makeconfig: Remove use of build-static.
16743 * dlfcn/Makefile: Likewise.
16744 * elf/Makefile: Likewise.
16745 * math/Makefile: Likewise.
16746 * misc/Makefile: Likewise.
16747 * nptl/Makefile: Likewise.
16748 * sysdeps/mach/hurd/Makefile: Likewise.
16749
121766a9
UD
16750 * configure.in: PWD_P is not used anymore.
16751 * config.make.in: Remove PWD_P entry.
16752
51a1d39c 16753 * configure.in: Remove last remnants of RANLIB.
8720d066 16754 No need to check for signed size_t anymore.
215f4bdc
UD
16755 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16756 and IA-64.
3857022a 16757 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16758 * aclocal.m4: Likewise.
16759
d3ed7225
UD
16760 * wcsmbs/mbrtoc16.c: Implement using towc function.
16761 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16762 * wcsmbs/wcsmbsload.c: Likewise.
16763 * iconv/gconv_simple.c: Likewise.
16764 * iconv/gconv_int.h: Likewise.
16765 * iconv/gconv_builtin.h: Likewise.
16766 * iconv/iconv_prog.c: Remove CHAR16 handling.
16767
16768 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16769
16770 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16771
a0da5fe1
UD
16772 * configure.in: Remove --with-elf and --enable-bounded options.
16773 Dont set base_machine for ia64. More non-ELF conditions removed.
16774 Remove testing and setting of leading underscore information.
16775 * config.make.in (build-bounded): Set to no.
16776 * config.h.in: Remove NO_UNDERSCORES entry.
16777 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16778 them.
16779 * csu/start.c: Remove !NO_UNDERSCORE code.
16780 * locale/localeinfo.h: Likewise.
16781 * sysdeps/generic/machine-gmon.h: Likewise.
16782 * sysdeps/generic/sysdep.h: Likewise.
16783 * sysdeps/i386/sysdep.h: Likewise.
16784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16785 * sysdeps/mach/sysdep.h: Likewise.
16786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16788 * sysdeps/sh/sysdep.h: Likewise.
16789 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16790 * sysdeps/unix/i386/sysdep.S: Likewise.
16791 * sysdeps/unix/sparc/start.c: Likewise.
16792 * sysdeps/unix/sparc/sysdep.S: Likewise.
16793 * sysdeps/unix/sparc/sysdep.h: Likewise.
16794 * sysdeps/unix/start.c: Likewise.
16795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16796 * sysdeps/x86_64/sysdep.h: Likewise.
16797
df78418a
UD
167982012-01-07 Ulrich Drepper <drepper@gmail.com>
16799
a784e502
UD
16800 [BZ #13553]
16801 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16802 for non-gcc.
16803 * argp/argp-fmtstream.h: Use const instead __const.
16804 * argp/argp.h: Likewise.
16805 * assert/assert.h: Likewise.
16806 * bits/fenv.h: Likewise.
16807 * bits/sched.h: Likewise.
16808 * bits/sigset.h: Likewise.
16809 * bits/sigthread.h: Likewise.
16810 * catgets/nl_types.h: Likewise.
16811 * conform/data/pthread.h-data: Likewise.
16812 * crypt/crypt-private.h: Likewise.
16813 * crypt/crypt.h: Likewise.
16814 * crypt/crypt_util.c: Likewise.
16815 * ctype/ctype.h: Likewise.
16816 * debug/execinfo.h: Likewise.
16817 * debug/mbsnrtowcs_chk.c: Likewise.
16818 * debug/mbsrtowcs_chk.c: Likewise.
16819 * debug/wcsnrtombs_chk.c: Likewise.
16820 * debug/wcsrtombs_chk.c: Likewise.
16821 * debug/wcstombs_chk.c: Likewise.
16822 * dirent/dirent.h: Likewise.
16823 * dlfcn/dlfcn.h: Likewise.
16824 * elf/neededtest4.c: Likewise.
16825 * grp/grp.h: Likewise.
16826 * gshadow/gshadow.h: Likewise.
16827 * iconv/gconv.h: Likewise.
16828 * iconv/gconv_int.h: Likewise.
16829 * iconv/gconv_simple.c: Likewise.
16830 * iconv/iconv.h: Likewise.
16831 * iconv/loop.c: Likewise.
16832 * iconv/skeleton.c: Likewise.
16833 * include/aio.h: Likewise.
16834 * include/aliases.h: Likewise.
16835 * include/argz.h: Likewise.
16836 * include/arpa/inet.h: Likewise.
16837 * include/assert.h: Likewise.
16838 * include/dirent.h: Likewise.
16839 * include/dlfcn.h: Likewise.
16840 * include/execinfo.h: Likewise.
16841 * include/fcntl.h: Likewise.
16842 * include/fenv.h: Likewise.
16843 * include/glob.h: Likewise.
16844 * include/grp.h: Likewise.
16845 * include/libintl.h: Likewise.
16846 * include/mntent.h: Likewise.
16847 * include/netdb.h: Likewise.
16848 * include/pwd.h: Likewise.
16849 * include/rpc/netdb.h: Likewise.
16850 * include/sched.h: Likewise.
16851 * include/search.h: Likewise.
16852 * include/shadow.h: Likewise.
16853 * include/signal.h: Likewise.
16854 * include/stdio.h: Likewise.
16855 * include/stdlib.h: Likewise.
16856 * include/string.h: Likewise.
16857 * include/sys/socket.h: Likewise.
16858 * include/sys/stat.h: Likewise.
16859 * include/sys/statfs.h: Likewise.
16860 * include/sys/statvfs.h: Likewise.
16861 * include/sys/syslog.h: Likewise.
16862 * include/sys/time.h: Likewise.
16863 * include/sys/uio.h: Likewise.
16864 * include/time.h: Likewise.
16865 * include/unistd.h: Likewise.
16866 * include/utmp.h: Likewise.
16867 * include/wchar.h: Likewise.
16868 * include/wctype.h: Likewise.
16869 * inet/aliases.h: Likewise.
16870 * inet/arpa/inet.h: Likewise.
16871 * inet/netinet/ether.h: Likewise.
16872 * inet/netinet/in.h: Likewise.
16873 * intl/libintl.h: Likewise.
16874 * io/bits/fcntl2.h: Likewise.
16875 * io/fcntl.h: Likewise.
16876 * io/ftw.h: Likewise.
16877 * io/sys/poll.h: Likewise.
16878 * io/sys/stat.h: Likewise.
16879 * io/sys/statfs.h: Likewise.
16880 * io/sys/statvfs.h: Likewise.
16881 * io/utime.h: Likewise.
16882 * libio/bits/stdio.h: Likewise.
16883 * libio/bits/stdio2.h: Likewise.
16884 * libio/libio.h: Likewise.
16885 * libio/libioP.h: Likewise.
16886 * libio/stdio.h: Likewise.
16887 * locale/lc-ctype.c: Likewise.
16888 * locale/locale.h: Likewise.
16889 * login/utmp.h: Likewise.
16890 * malloc/arena.c: Likewise.
16891 * malloc/malloc.c: Likewise.
16892 * malloc/malloc.h: Likewise.
16893 * malloc/mcheck.c: Likewise.
16894 * malloc/mtrace.c: Likewise.
16895 * math/bits/mathcalls.h: Likewise.
16896 * math/fenv.h: Likewise.
16897 * math/math_private.h: Likewise.
16898 * misc/bits/error.h: Likewise.
16899 * misc/bits/syslog.h: Likewise.
16900 * misc/err.h: Likewise.
16901 * misc/error.h: Likewise.
16902 * misc/fstab.h: Likewise.
16903 * misc/mntent.h: Likewise.
16904 * misc/regexp.h: Likewise.
16905 * misc/search.h: Likewise.
16906 * misc/sgtty.h: Likewise.
16907 * misc/sys/mman.h: Likewise.
16908 * misc/sys/syslog.h: Likewise.
16909 * misc/sys/uio.h: Likewise.
16910 * misc/sys/xattr.h: Likewise.
16911 * misc/ttyent.h: Likewise.
16912 * nis/rpcsvc/ypclnt.h: Likewise.
16913 * nss/nss.h: Likewise.
16914 * posix/bits/unistd.h: Likewise.
16915 * posix/fnmatch.h: Likewise.
16916 * posix/glob.h: Likewise.
16917 * posix/sched.h: Likewise.
16918 * posix/spawn.h: Likewise.
16919 * posix/sys/wait.h: Likewise.
16920 * posix/unistd.h: Likewise.
16921 * posix/wordexp.h: Likewise.
16922 * pwd/pwd.h: Likewise.
16923 * resolv/netdb.h: Likewise.
16924 * resource/sys/resource.h: Likewise.
16925 * rt/aio.h: Likewise.
16926 * rt/bits/mqueue2.h: Likewise.
16927 * rt/mqueue.h: Likewise.
16928 * shadow/shadow.h: Likewise.
16929 * signal/signal.h: Likewise.
16930 * socket/send.c: Likewise.
16931 * socket/sendto.c: Likewise.
16932 * socket/sys/socket.h: Likewise.
16933 * stdio-common/printf.h: Likewise.
16934 * stdlib/bits/stdlib.h: Likewise.
16935 * stdlib/fmtmsg.h: Likewise.
16936 * stdlib/monetary.h: Likewise.
16937 * stdlib/stdlib.h: Likewise.
16938 * stdlib/ucontext.h: Likewise.
16939 * streams/stropts.h: Likewise.
16940 * string/argz.h: Likewise.
16941 * string/bits/string2.h: Likewise.
16942 * string/string.h: Likewise.
16943 * string/strings.h: Likewise.
16944 * sunrpc/rpc/auth.h: Likewise.
16945 * sunrpc/rpc/auth_des.h: Likewise.
16946 * sunrpc/rpc/clnt.h: Likewise.
16947 * sunrpc/rpc/netdb.h: Likewise.
16948 * sunrpc/rpc/pmap_clnt.h: Likewise.
16949 * sunrpc/rpc/xdr.h: Likewise.
16950 * sysdeps/generic/inttypes.h: Likewise.
16951 * sysdeps/generic/net/if.h: Likewise.
16952 * sysdeps/generic/sys/swap.h: Likewise.
16953 * sysdeps/gnu/net/if.h: Likewise.
16954 * sysdeps/gnu/utmpx.h: Likewise.
16955 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16956 * sysdeps/i386/i486/bits/string.h: Likewise.
16957 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16958 * sysdeps/s390/bits/string.h: Likewise.
16959 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16960 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16961 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16962 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16963 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16964 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16965 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16966 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16967 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16968 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16969 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16971 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16972 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16973 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16974 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16975 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16981 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16982 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16983 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16984 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16985 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16987 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16989 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16990 * sysvipc/sys/ipc.h: Likewise.
16991 * sysvipc/sys/msg.h: Likewise.
16992 * sysvipc/sys/sem.h: Likewise.
16993 * sysvipc/sys/shm.h: Likewise.
16994 * termios/termios.h: Likewise.
16995 * time/sys/time.h: Likewise.
16996 * time/time.h: Likewise.
16997 * wcsmbs/bits/wchar2.h: Likewise.
16998 * wcsmbs/uchar.h: Likewise.
16999 * wcsmbs/wchar.h: Likewise.
17000 * wctype/wctype.h: Likewise.
17001
0269750c
UD
17002 [BZ #13551]
17003 * Makeconfig: Remove all but ELF support including AIX support.
17004 * Makerules: Likewise.
17005 * config.h.in: Likewise.
17006 * config.make.in: Likewise.
17007 * configure: Likewise.
17008 * configure.in: Likewise.
17009 * csu/Makefile: Likewise.
17010 * csu/version.c: Likewise.
17011 * debug/Makefile: Likewise.
17012 * dlfcn/Makefile: Likewise.
17013 * elf/Makefile: Likewise.
17014 * extra-lib.mk: Likewise.
17015 * iconv/Makefile: Likewise.
17016 * include/libc-symbols.h: Likewise.
17017 * include/shlib-compat.h: Likewise.
17018 * resolv/Makefile: Likewise.
17019 * resolv/res_libc.c: Likewise.
17020 * rt/Makefile: Likewise.
17021 * sysdeps/i386/asm-syntax.h: Likewise.
17022 * sysdeps/i386/sysdep.h: Likewise.
17023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17024 * sysdeps/mach/sysdep.h: Likewise.
17025 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17026 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17027 * sysdeps/s390/asm-syntax.h: Likewise.
17028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17030 * sysdeps/sh/sysdep.h: Likewise.
17031 * sysdeps/unix/sparc/sysdep.h: Likewise.
17032 * sysdeps/wordsize-32/divdi3.c: Likewise.
17033 * sysdeps/x86_64/sysdep.h: Likewise.
17034
00bbd29b
UD
17035 * argp/Versions: Remove _argp_unlock_xxx.
17036
17037 [BZ #13559]
17038 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17039 * abilist/libBrokenLocale.abilist: Likewise.
17040 * abilist/libanl.abilist: Likewise.
17041 * abilist/libc.abilist: Likewise.
17042 * abilist/libcrypt.abilist: Likewise.
17043 * abilist/libdl.abilist: Likewise.
17044 * abilist/libm.abilist: Likewise.
17045 * abilist/libnsl.abilist: Likewise.
17046 * abilist/libpthread.abilist: Likewise.
17047 * abilist/libresolv.abilist: Likewise.
17048 * abilist/librt.abilist: Likewise.
17049 * abilist/libthread_db.abilist: Likewise.
17050 * abilist/libutil.abilist: Likewise.
17051 * abilist/libnss_db.abilist: New file.
17052
17053 * scripts/abilist.awk: Add support for indirect functions.
17054
a2693a0e
UD
17055 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17056
3f05895f
UD
17057 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17058
ecb6fb48
UD
17059 * shlib-versions: Remove entries for ports architectures.
17060
664f8cb9
UD
17061 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17062 files in ports.
17063 * elf/stackguard-macros.h: Remove support for IA-64.
17064 * elf/tst-auditmod1.c: Likewise.
17065 * sysdeps/generic/ldsodefs.h: Likewise.
17066
7ae81d88
UD
17067 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17068 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17069 configure files.
17070
bdeba135
UD
17071 [BZ #13552]
17072 * configure.in: Remove --enable-omitfp support.
17073 * FAQ.in: Adjust.
17074 * config.make.in: Likewise.
17075 * Makeconfig: Likewise.
17076 * manual/install.texi: Likewise.
17077
d75a0a62
UD
17078 In case anyone cares, the IA-64 architecture could move to ports.
17079 * sysdeps/ia64/*: Removed.
17080 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17081 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17082
dcc9756b
UD
17083 [BZ #13555]
17084 * configure.in: Remove entries for unsupported architectures.
17085
d3761ebc 17086 [BZ #13533]
9954432e
UD
17087 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17088 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17089 routines.
17090 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17091 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17092 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17093 fall back to using wcrtomb.
17094 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17095 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17096 renaming.
17097 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17098 * wcsmbs/tst-c16c32-1.c: New file.
17099
17100 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17101 local variable.
17102
c3a87236
UD
17103 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17104
28926a1b
UD
17105 * elf/tst-unique3.cc: Add explicit declaration of gets.
17106 * elf/tst-unique3lib.cc: Likewise.
17107 * elf/tst-unique3lib2.cc: Likewise.
17108 * elf/tst-unique4.cc: Likewise.
17109
df78418a
UD
17110 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17111
8ecd6b2a
JM
171122012-01-06 Joseph Myers <joseph@codesourcery.com>
17113
17114 [BZ #13566]
17115 * assert/assert.h (static_assert): Don't define for C++.
17116 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17117 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17118
9f115170
UD
171192012-01-03 Ulrich Drepper <drepper@gmail.com>
17120
5e0d0300
UD
17121 * iconv/loop.c (single loop): Fix assertion in storing of
17122 remaining bytes.
17123
9f115170
UD
17124 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17125
81fb02b0
UD
171262012-01-01 Ulrich Drepper <drepper@gmail.com>
17127
17128 * posix/getconf.c: Update copyright year.
17129 * nss/getent.c: Likewise.
a316c1f6 17130 * nss/makedb.c: Likewise.
81fb02b0
UD
17131 * iconv/iconvconfig.c: Likewise.
17132 * iconv/iconv_prog.c: Likewise.
17133 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17134 * elf/pldd.c: Likewise.
17135 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17136 * catgets/gencat.c: Likewise.
17137 * csu/version.c: Likewise.
17138 * elf/ldd.bash.in: Likewise.
17139 * elf/sprof.c (print_version): Likewise.
17140 * locale/programs/locale.c: Likewise.
17141 * locale/programs/localedef.c: Likewise.
a316c1f6 17142 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17143 * nscd/nscd.c (print_version): Likewise.
17144 * debug/xtrace.sh: Likewise.
17145 * malloc/memusage.sh: Likewise.
17146 * malloc/mtrace.pl: Likewise.
17147 * debug/catchsegv.sh: Likewise.
17148
2ba92745
JJ
171492011-12-30 Jakub Jelinek <jakub@redhat.com>
17150
17151 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17152 pure attribute.
17153
dadebdae
UD
171542011-12-24 Ulrich Drepper <drepper@gmail.com>
17155
d3761ebc 17156 [BZ #13533]
db6af3eb
UD
17157 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17158 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17159 transformations.
17160 * iconv/gconv_int.h: Likewise.
17161 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17162 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17163 from libc for GLIBC_2.16.
17164 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17165 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17166 * wcsmbs/uchar.h: Really define mbstate_t.
17167 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17168 * wcsmbs/c16rtomb.c: New file.
17169 * wcsmbs/mbrtoc16.c: New file.
17170 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17171 for C/POSIX locale.
17172 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17173 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17174
dadebdae
UD
17175 * wcsmbs/wchar.h: Add missing __restrict.
17176
67371b56
UD
171772011-12-23 Ulrich Drepper <drepper@gmail.com>
17178
74033a25
UD
17179 [BZ #13532]
17180 * time/Makefile (routines): Add timespec_get.
17181 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17182 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17183 timespec for ISO C11.
17184 * time/timespec_get.c: New file.
17185 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17186 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17187
380d7e87
UD
17188 [BZ #13531]
17189 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17190 * stdlib/stdlib.h: Declare aligned_alloc.
17191 * Versions.def: Add GLIBC_2.16 for libc.
17192 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17193
4e9e7a35
UD
17194 [BZ 13527]
17195 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17196 ISO C11.
17197
380d7e87 17198 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17199 code.
17200
03a71829
UD
17201 [BZ #13528]
17202 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17203
839e283e
UD
17204 [BZ #13529]
17205 * assert/assert.h (static_assert): Define.
17206
ce5294e2 17207 * version.h: Update for 2.16 development version.
90fa7312 17208
8d44e150 17209 [BZ #13526]
d7809905
UD
17210 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17211 _ISOC11_SOURCE.
17212
c0da14cd
UD
17213 * version.h (RELEASE): Bump for 2.15 release.
17214 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17215
530a3249
MP
17216 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17217 Patch by Marek Polacek <mpolacek@redhat.com>.
17218
67371b56
UD
17219 * bits/byteswap.h: Protect long long constants with __extension__.
17220 * sysdeps/i386/bits/byteswap.h: Likewise.
17221 * sysdeps/ia64/bits/byteswap.h: Likewise.
17222 * sysdeps/s390/bits/byteswap.h: Likewise.
17223 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17224
15db4de1
LD
172252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17226
17227 [BZ #13540]
bbe315ea
LD
17228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17229 destination buffer.
15db4de1
LD
17230 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17231
2b2596b1
MP
172322011-12-23 Marek Polacek <polacek@redhat.com>
17233
17234 * elf/dl-addr.c (determine_info): Add inline keyword.
17235 * elf/tst-auditmod4b.c (check_avx): Likewise.
17236 * elf/tst-auditmod6b.c (check_avx): Likewise.
17237 * elf/tst-auditmod6c.c (check_avx): Likewise.
17238 * elf/tst-auditmod7b.c (check_avx): Likewise.
17239
70c6c246
UD
172402011-12-23 Ulrich Drepper <drepper@gmail.com>
17241
17242 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17243 !__SSE_MATH__.
17244
c044cf14
LD
172452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17246
15db4de1 17247 [BZ #13540]
c044cf14
LD
17248 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17249 processing for last bytes.
17250
6b13d9d9
BH
172512011-08-06 Bruno Haible <bruno@clisp.org>
17252
d455f537
BH
17253 [BZ #13061]
17254 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17255 U+0385, not to U+1FEE.
17256
6b13d9d9
BH
17257 [BZ #13062]
17258 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17259 entry for U+00A5 U+0301.
17260
db910efd
UD
172612011-12-22 Ulrich Drepper <drepper@gmail.com>
17262
27deeafc
UD
17263 [BZ #13166]
17264 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17265 buffer for the output is too small.
17266
aed9d171
UD
17267 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17268 optimization.
17269
db910efd
UD
17270 [BZ #13185]
17271 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17272 SSE flags if possible.
17273
2bd779ae
LD
172742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17275
e7f9dac3 17276 [BZ #13540]
2bd779ae
LD
17277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17278 processing for last bytes.
17279
154bfc16
JM
172802011-12-22 Joseph Myers <joseph@codesourcery.com>
17281
17282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17283 (syscall-list-default-options, syscall-list-default-condition)
17284 (syscall-list-includes): Define.
17285 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17286 list of ABIs and options and #if conditions for each ABI. Do not
17287 handle common syscalls between ABIs specially.
17288 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17289 Remove.
17290 (syscall-list-variants, syscall-list-32bit-options)
17291 (syscall-list-32bit-condition, syscall-list-64bit-options)
17292 (syscall-list-64bit-condition): Define.
17293 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17294 (syscall-list-variants, syscall-list-32bit-options)
17295 (syscall-list-32bit-condition, syscall-list-64bit-options)
17296 (syscall-list-64bit-condition): Define.
17297 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17298 Remove.
17299 (syscall-list-variants, syscall-list-32bit-options)
17300 (syscall-list-32bit-condition, syscall-list-64bit-options)
17301 (syscall-list-64bit-condition): Define.
17302 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17303 Remove.
17304 (syscall-list-variants, syscall-list-32bit-options)
17305 (syscall-list-32bit-condition, syscall-list-64bit-options)
17306 (syscall-list-64bit-condition): Define.
17307
21eaf3a5
UD
173082011-12-22 Ulrich Drepper <drepper@gmail.com>
17309
16c6f992
UD
17310 * locale/iso-639.def: Add brx entry.
17311
41043168
UD
17312 [BZ #13328]
17313 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17314 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17315
21eaf3a5
UD
17316 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17317 __feraiseexcept_renamed.
17318
e3a851a2
UD
173192011-12-21 Ulrich Drepper <drepper@gmail.com>
17320
4920765e
UD
17321 [BZ #13538]
17322 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17323 EPOLLET with unsigned values.
17324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17326
e3a851a2
UD
17327 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17328 to large cancellation.
17329 * math/s_cacoshf.c: Likewise.
17330 * math/s_cacoshl.c: Likewise.
17331
b27e24b8
RK
173322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17333
17334 [BZ #13305]
aebefeee 17335 [BZ #12786]
b27e24b8
RK
17336 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17337 * math/s_cacoshf.c: Likewise.
17338 * math/s_cacoshl.c: Likewise.
17339
ee190f67
UD
173402011-12-21 Ulrich Drepper <drepper@gmail.com>
17341
17342 [BZ #13439]
17343 * iconv/gconv.h: Define __GCONV_SWAP.
17344 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17345 * iconvdata/utf-16.c: Likewise.
17346 * iconvdata/utf-32.c: Likewise.
17347
707f25df
AS
173482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17349
17350 [BZ #13524]
17351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17352 numerator after shifting it by one limb.
17353
d2daaa1e
RÁE
173542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17355
17356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17357 under [__USE_EXTERN_INLINES].
17358
a4647e72
UD
173592011-12-17 Ulrich Drepper <drepper@gmail.com>
17360
17361 [BZ #13446]
17362 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17363
f0b264f1
AZ
173642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17365
17366 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17367 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17368 optimized code.
17369 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17371 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17372 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17373 for strncasecmp/strncasecmp_l compilation.
17374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17375 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17376
8ef4f244
MP
173772011-12-08 Marek Polacek <mpolacek@redhat.com>
17378
17379 [BZ #13484]
17380 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17381 of __asm__.
17382
97ac2654
UD
173832011-12-17 Ulrich Drepper <drepper@gmail.com>
17384
17385 [BZ #13506]
17386 * time/tzfile.c (__tzfile_read): Check values from file header.
17387
91d2a845
WS
173882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17389
17390 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17391 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17392 * powerpc/powerpc32/dl-start.S: Likewise.
17393 * powerpc/powerpc32/elf/start.S: Likewise.
17394 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17395 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17396 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17397 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17398 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17399 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17400 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17401 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17402 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17403 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17404 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17405 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17406 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17407 * powerpc/powerpc32/memset.S: Likewise.
17408 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17409 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17410 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17411 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17412 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17413 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17414 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17415 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17416 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17417 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17419 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17420 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17421
a1267ba1
AZ
174222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17423
17424 * math/libm-test.inc: Added more nearbyint tests.
17425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17429
ad8ac1bd
RL
174302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17431
17432 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17433 FD_CLOEXEC.
17434
1d3e4b61
UD
174352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17436
17437 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17438 Add wcscpy-ssse3 wcscpy-c.
17439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17440 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17441 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17442 * sysdeps/x86_64/wcschr.S: New file.
17443 * sysdeps/x86_64/wcsrchr.S: New file.
17444 * string/test-strcmp.c: Remove checking of wcscmp function for
17445 wrong alignments.
17446 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17447 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17448 wcsrchr-sse2 wcsrchr-c.
17449 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17450 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17451 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17452 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17453 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17454 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17455 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17456 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17458 * wcsmbc/wcschr.c (WCSCHR): New macro.
17459
5b330a2d
UD
174602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17461
17462 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17463 * wcsmbs/test-wcsrchr.c: New file.
17464 * string/test-strrchr.c: Add wcsrchr support.
17465 (WIDE): New macro.
17466 * wcsmbs/test-wcscpy.c: New file.
17467 * string/test-strcpy.c: Add wcscpy support.
17468 (WIDE): New macro.
26428b7c 17469
f039c043
UD
174702011-12-10 Ulrich Drepper <drepper@gmail.com>
17471
17472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17473 the inner loop.
17474
850fb039
AS
174752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17476
17477 [BZ #13472]
17478 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17479
4efbd5cb
UD
174802011-12-04 Ulrich Drepper <drepper@gmail.com>
17481
52ff5dd0 17482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17483 Minor optimizations.
52ff5dd0 17484
4efbd5cb
UD
17485 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17486 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17487 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17488
8a426e12
UD
174892011-12-03 Ulrich Drepper <drepper@gmail.com>
17490
aff2453d
UD
17491 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17492 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17493 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17494 for gcc to avoid warnings.
17495 * inet/Makefile (tests): Add tst-checks.
17496 * inet/tst-checks.c: New file.
17497
17498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17499 warning.
17500
17501 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17502 __wmemcmp_sse2.
17503
17504 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17505 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17506
8a426e12
UD
17507 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17508
9bea3473
UD
175092011-12-02 Ulrich Drepper <drepper@gmail.com>
17510
3a965496
UD
17511 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17512 problem.
17513
9bea3473
UD
17514 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17515
f101631b
UD
175162011-11-29 Joseph Myers <joseph@codesourcery.com>
17517
17518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17519 conditional on GCC version.
17520 (__arch_compare_and_exchange_val_8_acq)
17521 (__arch_compare_and_exchange_val_16_acq)
17522 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17523 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17524 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17525
a98275aa
UD
175262011-12-02 Joseph Myers <joseph@codesourcery.com>
17527
17528 * sysdeps/sh/backtrace.c: New file.
17529
d4cc29a2
AS
175302011-12-02 Andreas Schwab <schwab@redhat.com>
17531
17532 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17533 parenthesis.
17534
6257af2d
AS
175352011-12-01 Andreas Schwab <schwab@redhat.com>
17536
17537 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17538 falling back to utime.
17539
b5f44c1a
AS
175402011-11-30 Andreas Schwab <schwab@redhat.com>
17541
17542 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17543 expectations for float.
17544
f3a6cc0a
AS
175452011-11-29 Andreas Schwab <schwab@redhat.com>
17546
17547 * locale/weight.h (findidx): Add parameter len.
17548 * locale/weightwc.h (findidx): Likewise.
17549 * posix/fnmatch_loop.c (FCT): Adjust caller.
17550 * posix/regcomp.c (build_equiv_class): Likewise.
17551 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17552 * posix/regexec.c (check_node_accept_bytes): Likewise.
17553 * string/strcoll_l.c (STRCOLL): Likewise.
17554 * string/strxfrm_l.c (STRXFRM): Likewise.
17555
9d65ea3a
UD
175562011-11-17 Ulrich Drepper <drepper@gmail.com>
17557
17558 * Makefile.in: Remove CVSOPT handling.
17559 * configure.in: Remove use of AC_REVISION.
17560 * iconvdata/Makefile (distribute): No need to filter out CVS.
17561 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17562 handling.
17563
5583a086
AS
175642011-11-16 Andreas Schwab <schwab@redhat.com>
17565
17566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17567 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17568 [USE_AS_STRNCASECMP_L]: Likewise.
17569 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17570 NO_TLS_DIRECT_SEG_REFS.
17571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17572 Fix argument offsets for non-PIC.
17573 [USE_AS_STRNCASECMP_L]: Likewise.
17574 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17575 NO_TLS_DIRECT_SEG_REFS.
17576
d62a8200
UD
175772011-11-15 Ulrich Drepper <drepper@gmail.com>
17578
9d65ea3a 17579 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17580 O_CLOEXEC.
17581 * locale/loadlocale.c (_nl_load_locale): Likewise.
17582
09f93bd3
AS
175832011-11-15 Andreas Schwab <schwab@redhat.com>
17584
446514f9
AS
17585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17586 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17588 (SYSCALL_GETTIME): Set errno on error.
17589
09f93bd3
AS
17590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17591 count references to noai6ai_cached.
17592
312be3f9
UD
175932011-11-15 Ulrich Drepper <drepper@gmail.com>
17594
17595 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17596
17597 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17598 FD_CLOEXEC for /proc/self/maps.
17599
17600 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17601 FD_CLOEXEC for /proc/meminfo.
17602
17603 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17604 gai.conf.
17605
17606 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17607 FD_CLOEXEC for given file.
17608
17609 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17610
17611 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17612 FD_CLOEXEC for /etc/hosts.
17613 (_gethtent): Likewise.
17614
17615 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17616
17617 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17618 cancellation and set FD_CLOEXEC for /etc/netgroup.
17619
17620 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17621 reading /etc/publickey.
17622
17623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17624 allow cancellation when reading /etc/group.
17625
17626 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17627 cancellation.
17628 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17629
17630 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17631 when using data file.
17632
17633 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17634
17635 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17636 (write_nis_obj): Use "c" and "e" in fopen.
17637
17638 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17639
17640 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17641
17642 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17643
17644 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17645
17646 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17647 locale.alias.
17648
17649 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17650
17651 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17652
17653 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17654
17655 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17656 file parsing and set FD_CLOEXEC.
17657
82af0fa8
UD
176582011-11-14 Ulrich Drepper <drepper@gmail.com>
17659
17660 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17661
a5fb313c
AS
176622011-11-14 Andreas Schwab <schwab@redhat.com>
17663
17664 * malloc/arena.c (arena_get2): Don't call reused_arena when
17665 _int_new_arena failed.
17666
6abf3465
UD
176672011-11-14 Ulrich Drepper <drepper@gmail.com>
17668
17669 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17670 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17675 to compile strcasecmp and strncasecmp.
17676 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17677 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17678
17679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17680
76e3966e
UD
176812011-11-13 Ulrich Drepper <drepper@gmail.com>
17682
17683 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17684 locale-defines.sym to gen-as-const-headers.
17685 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17686 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17688 to compile strcasecmp and strncasecmp.
17689 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17690 strcasecmp_l and strncasecmp_l.
17691 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17692 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17693 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17694 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17695 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17697 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17698 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17699 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17700 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17701 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17702
ab26144e
UD
177032011-11-12 Ulrich Drepper <drepper@gmail.com>
17704
7edb22ef
UD
17705 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17706 result of SYSDEP_GETTIME_CPU to retval.
17707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17708 parameter list to macro. Remove trailing semicolon. Adjust users.
17709
9694fc44
UD
17710 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17711 variable.
17712
8ad89ef8
UD
17713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17714 mantissa words.
17715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17716
0c822ef9
UD
17717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17718 from unused variable.
17719
874e0564
UD
17720 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17721 DWARF definitions.
17722 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17723 for assembling.
17724
3a2edc79
UD
17725 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17726 over namespaces.
17727
f3c2577f
UD
17728 * sunrpc/rpc_prot.c (rejected): Fix case value.
17729
294ce126
UD
17730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17731 unsigned long long int to avoid warnings in shift.
17732
5e2b63c6
UD
17733 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17734 of use of trans.
17735 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17736 variable tmp.
17737
e7f4b08e
UD
17738 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17739 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17740 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17741
ab26144e
UD
17742 * nis/nis_table.c (nis_list): Use variable of correct type for
17743 result of __follow_path call.
17744
8a6d5255
AZ
177452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17746
17747 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17748 of math functions ceil, trunc, floor, round, and sqrt, when
17749 avaliable on the platform.
17750 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17751 name clash.
17752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17755
aaddc98c
MP
177562011-10-30 Marek Polacek <mpolacek@redhat.com>
17757
17758 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17759 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17760
95b7042b
RM
177612011-11-11 Roland McGrath <roland@hack.frob.com>
17762
17763 * include/unistd.h: Fix __readlink return type.
17764 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17765
57769839
UD
177662011-11-11 Ulrich Drepper <drepper@gmail.com>
17767
17768 * stdlib/ucontext.h: Undo last change for makecontext.
17769
edc5984d
AS
177702011-11-11 Andreas Schwab <schwab@redhat.com>
17771
98591e58
AS
17772 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17773
edc5984d
AS
17774 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17775 * setjmp/setjmp.h: Mark functions as non-leaf.
17776 * setjmp/bits/setjmp2.h: Likewise.
17777 * stdlib/ucontext.h: Likewise.
17778
77cdc054
AS
177792011-11-10 Andreas Schwab <schwab@redhat.com>
17780
17781 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17782 (reused_arena): Don't check arena limit.
17783 (arena_get2): Atomically check arena limit.
17784
fe72eebd
UD
177852011-11-08 Ulrich Drepper <drepper@gmail.com>
17786
5f078c32
UD
17787 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17788 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17789
fe72eebd
UD
17790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17791 instructions.
17792
ae1bc2fa
AS
177932011-11-07 Andreas Schwab <schwab@redhat.com>
17794
7583a88d
AS
17795 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17796 handler when locking.
17797
ae1bc2fa
AS
17798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17799 Fix size of allocated buffer.
17800
10fb0bfa
AS
178012011-11-04 Andreas Schwab <schwab@redhat.com>
17802
998832a4
AS
17803 [BZ #10103]
17804 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17805 declarations for long double functions.
17806 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17807
10fb0bfa
AS
17808 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17809
3d7ba52b
AS
178102011-11-03 Andreas Schwab <schwab@redhat.com>
17811
a9ae54a1
AS
17812 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17813 installed.
17814
3d7ba52b
AS
17815 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17816 is disabled.
17817
bc8db248
ST
178182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17819
17820 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17821
45b96dd6
AS
178222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17823
647776f6
AS
17824 * include/alloca.h (stackinfo_alloca_round): Define.
17825 (extend_alloca): Use it.
17826 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17827 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17828 here.
17829
d91a8b93
AS
17830 * scripts/check-local-headers.sh: Ignore libaudit.h.
17831
45b96dd6
AS
17832 * nscd/Makefile (extra-objs): Make recursively expanded.
17833
432d41ce
UD
178342011-11-01 Ulrich Drepper <drepper@gmail.com>
17835
34372fc6
UD
17836 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17838
fadb59f8
UD
17839 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17840 * posix/tst-rfc3484-2.c: Likewise.
17841 * posix/tst-rfc3484-3.c: Likewise.
17842
78239589
UD
17843 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17844 process_vm_writev.
17845 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17846 process_vm_writev.
17847 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17848 process_vm_writev from libc using GLIBC_2.15 version.
17849
432d41ce
UD
17850 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17851
02f9c6cf
PP
178522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17853
17854 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17855 stack usage.
17856
3a2c0242
UD
178572011-10-31 Ulrich Drepper <drepper@gmail.com>
17858
f4ec4833
UD
17859 [BZ #13367]
17860 * nss/getent.c (initgroups_keys): Show error message in case no group
17861 names are given.
17862
3a2c0242
UD
17863 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17864 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17865 __bump_nl_timestamp.
17866 * nscd/connections (nscd_init): When host database is served open
17867 netlink socket and request notification about configuration changes.
17868 (main_loop_poll): Track netlink file descriptor and bump timestamp
17869 in case data becomes available.
17870 (main_loop_epoll): Likewise.
17871 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17872 (database_pers_head): Add extra_data fileds.
17873 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17875 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17876 Adjust caller.
17877 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17878 in6ai data, call __free_in6ai.
17879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17880 Add -DHAVE_NETLINK.
17881 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17882 interface information. Reuse previous data if netlink timestamp
17883 is not changed.
17884 (__bump_nl_timestamp): New function.
17885 (__free_in6ai): New function.
17886
636064eb
UD
178872011-10-30 Ulrich Drepper <drepper@gmail.com>
17888
17889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17890 close_not_cancel_no_status here.
17891 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17892
9beb2334
UD
178932011-10-29 Ulrich Drepper <drepper@gmail.com>
17894
6ef76f3b
UD
17895 [BZ #13276]
17896 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17897 return value.
17898
0ffc4f3e 17899 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17900 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17901 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17902
cb95113e
UD
179032011-07-03 Andreas Jaeger <aj@suse.de>
17904
17905 [BZ #10709]
17906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17907 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17908 * math/libm-test.inc (sin_test): Add test case.
17909
a1b560ff
UD
179102011-10-29 Ulrich Drepper <drepper@gmail.com>
17911
c9aaface
UD
17912 [BZ #13337]
17913 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17914 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17915
d272e7f1
UD
17916 * elf/chroot_canon.c (chroot_canon): Cleanups.
17917
1bc33071
UD
17918 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17919
1760874d
TJ
17920 [BZ #13335]
17921 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17922 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17923
51d91b18
UD
17924 * string/test-strchr.c: Make usable for strchrnul testing.
17925 * string/test-strchrnul.c: New file.
17926 * string/Makefile (strop-tests): Add strchrnul.
17927
a1b560ff 17928 * po/it.po: Update from translation team.
b611fb81 17929 * po/es.po: Likewise.
a1b560ff 17930
a5b81e1f
UD
179312011-10-28 Ulrich Drepper <drepper@gmail.com>
17932
fd52bc6d
UD
17933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17934 the three constants needed as parameters. Drop the others.
17935 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17936 __m128i_strloadu_tolower.
52e4b9eb
UD
17937 Create and initialize variable zero and use it in all the places
17938 where _mm_setzero_si128 was used.
fd52bc6d 17939
a5b81e1f
UD
17940 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17941 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17942 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17943 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17944 anymore.
17945 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17946 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17947 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17948 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17950 __mpranred, __mptan.
17951 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17952 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17953 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17954 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17955 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17956 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17958 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17960
b4343346
AS
179612011-10-28 Andreas Schwab <schwab@redhat.com>
17962
0c92d8a8
AS
17963 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17964 redefine if SHARED.
17965 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17966
b4343346
AS
17967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17968 wide char related routines to wcsmbs subdir.
17969
3871f58f
AS
179702011-10-27 Andreas Schwab <schwab@redhat.com>
17971
17972 [BZ #13344]
17973 * misc/sys/cdefs.h (__THROWNL): Define.
17974 * posix/unistd.h: Use __THREADNL instead of __THREAD
17975 for memory synchronization functions.
17976
94d44d9f
RM
179772011-10-26 Roland McGrath <roland@hack.frob.com>
17978
21b64b15 17979 [BZ #13349]
94d44d9f
RM
17980 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17981 doesn't exist.
17982 * manual/stdio.texi (Obstack Streams): Node removed.
17983
f6ce9294
AS
179842011-10-26 Andreas Schwab <schwab@redhat.com>
17985
80479147
AS
17986 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17989
f6ce9294
AS
17990 * math/math_private.h (math_force_eval): Allow non-addressable
17991 arguments.
17992 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17993
618280a1
UD
179942011-10-25 Ulrich Drepper <drepper@gmail.com>
17995
e0016b11
UD
17996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17997 file is not needed.
17998
17999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18006 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18007 Add AVX variants.
18008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18013 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18014 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18015 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18018 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18019 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18021 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18024 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18026 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18027
18028 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18029 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18030
618280a1
UD
18031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18032 place. Use VEX encoding when compiling for AVX.
18033
37822576
AS
180342011-10-25 Andreas Schwab <schwab@redhat.com>
18035
1f1e1947
AS
18036 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18038
37822576
AS
18039 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18040
31ea014d
UD
180412011-10-25 Ulrich Drepper <drepper@gmail.com>
18042
d7826aa1 18043 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18044 useless if() expression.
d7826aa1
UD
18045 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18064
31ea014d
UD
18065 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18066
16437fec
AS
180672011-10-25 Andreas Schwab <schwab@redhat.com>
18068
18069 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18070 condition.
18071 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18072
31d3cc00
UD
180732011-10-25 Ulrich Drepper <drepper@gmail.com>
18074
18075 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18076 .text section. Avoid duplicate constants.
18077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18089 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18101 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18102 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18103 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18104 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18106 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18107 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18110 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18111 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18112 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18113 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18115 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18119 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18120 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18122
58985aa9
UD
181232011-10-24 Ulrich Drepper <drepper@gmail.com>
18124
202c9deb
UD
18125 * sysdeps/x86_64/dla.h: Move to ...
18126 * sysdeps/x86_64/fpu/dla.h: ...here.
18127 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18128 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18129
af968f62
UD
18130 * config.make.in: Add have-mfma4 entry.
18131 * configure.in: Substitute libc_cv_cc_fma4.
18132 * math/Makefile (dbl-only-routines): Add sincostab.
18133 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18134 Use __sincostab not sincos.
18135 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18136 name is a macro.
18137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18141 using __copysign.
18142 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18143 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18144 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18145 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18146 and __inv.
18147 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18148 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18149 __copysign.
18150 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18151 define aliases when function name is a macro.
18152 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18153 sysdeps/ieee754/dbl-64/sincos.tbl.
18154 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18155 fma4-enabled routines.
18156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18157 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18166 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18167 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18168 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18183 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18184 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18185 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18186
58985aa9
UD
18187 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18188 rename.
18189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18197
a201fbcf
AS
181982011-10-24 Andreas Schwab <schwab@redhat.com>
18199
18200 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18201
fc2ee42a
LD
182022011-10-23 Ulrich Drepper <drepper@gmail.com>
18203
bb3129bd
UD
18204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18205
0275fff8
UD
18206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18207 prediction.
18208 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18209
2fa2ae85
UD
18210 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18211 Remove unused variable magic_bits.
18212 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18213
fc2ee42a
LD
18214 * string/strnlen.c: Define and use STRNLEN macro.
18215 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18216 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18218 * wcsmbs/wcslen.c: Define and use WCSLEN.
18219 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18220 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18221 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18222 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18223 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18224 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18225 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18226
ce7dd29f
LD
182272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18228
18229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18230 strnlen-sse2-no-bsf.
18231 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18233 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18234 Add strnlen support.
18235 (USE_AS_STRNLEN): New macro.
18236 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18238 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18239 * sysdeps/x86_64/wcslen.S: New file.
18240
979c70a3
MZ
182412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18242
18243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18244 XMM-moves are used for copying on small sizes.
18245
2d09f82f
LD
182462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18247
18248 * wcsmbs/Makefile (strop-tests): Add wcschr.
18249 * wcsmbs/test-wcschr.c: New file.
18250 * string/test-strchr.c: Update.
18251 Add wcschr support.
18252 (WIDE): New macro.
18253
619fccca
LD
182542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18255
2d09f82f 18256 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18257 * wcsmbs/test-wcslen.c: New file.
18258 * string/test-strlen.c: Update.
18259 Add wcslen support.
18260 (WIDE): New macro.
18261
09f699ea
UD
182622011-10-23 Ulrich Drepper <drepper@gmail.com>
18263
18264 * po/it.po: Update from translation team.
18265
95584d3b
LD
182662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18267
18268 * sysdeps/x86_64/wcscmp.S: Update.
18269 Fix wrong comparison semantics.
18270 wcscmp shall use signed comparison not unsigned.
18271 Don't use substraction to avoid overflow bug.
18272 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18273 * wcsmbc/wcscmp.c: Likewise.
18274 * string/test-strcmp.c: Likewise.
18275 Add new tests to check cases with negative values.
18276
c8b3296b
UD
182772011-10-23 Ulrich Drepper <drepper@gmail.com>
18278
18279 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18280 * sysdeps/x86_64/dla.h: ...here. New file.
18281 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18290
246ad57a
AS
182912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18292
18293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18294 __ynl_finite aliases.
18295
a1a87169
UD
182962011-10-22 Ulrich Drepper <drepper@gmail.com>
18297
0d355eb7
UD
18298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18299
a1a87169
UD
18300 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18301 define DLA_FMA.
18302 [DLA_FMA] (EMULV): Use DLA_FMA.
18303 [DLA_FMA] (MUL12): Use EMULV.
18304 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18305 that are not needed.
18306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18313
ee2aafe0
AS
183142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18315
18316 * math/s_nan.c: Undef __nan.
18317 * math/s_nanf.c: Undef __nanf.
18318 * math/s_nanl.c: Undef __nanl.
18319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18320 "math_private.h".
18321
bc62c2fb
UD
183222011-10-22 Ulrich Drepper <drepper@gmail.com>
18323
77425c63
UD
18324 * math/s_catan.c: Add branch predictions.
18325 * math/s_catanf.c: Likewise.
18326 * math/s_catanh.c: Likewise.
18327 * math/s_catanhf.c: Likewise.
18328 * math/s_catanhl.c: Likewise.
18329 * math/s_catanl.c: Likewise.
18330 * math/s_cexp.c: Likewise.
18331 * math/s_cexpf.c: Likewise.
18332 * math/s_cexpl.c: Likewise.
18333 * math/s_clog.c: Likewise.
18334 * math/s_clog10.c: Likewise.
18335 * math/s_clog10f.c: Likewise.
18336 * math/s_clog10l.c: Likewise.
18337 * math/s_clogf.c: Likewise.
18338 * math/s_clogl.c: Likewise.
18339 * math/s_csqrt.c: Likewise.
18340 * math/s_csqrtf.c: Likewise.
18341 * math/s_csqrtl.c: Likewise.
18342 * math/s_ctanf.c: Likewise.
18343 * math/s_ctanh.c: Likewise.
18344 * math/s_ctanhf.c: Likewise.
18345 * math/s_ctanhl.c: Likewise.
18346 * math/s_ctanl.c: Likewise.
18347
bc62c2fb
UD
18348 * math/math_private.h: Define __nan, __nanf, __nanl.
18349 * math/s_cacosh.c: Include <math_private.h>.
18350 * math/s_cacoshl.c: Likewise.
18351 * math/s_casinh.c: Likewise.
18352 * math/s_casinhf.c: Likewise.
18353 * math/s_casinhl.c: Likewise.
18354 * math/s_ccos.c: Rely entire on ccosh.
18355 * math/s_ccosf.c: Rely entire on ccoshf.
18356 * math/s_ccosl.c: Rely entirely on ccoshl.
18357 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18358 Remove tests for FE_INVALID.
18359 * math/s_ccoshf.c: Likewise.
18360 * math/s_ccoshl.c: Likewise.
18361 * math/s_csin.c: Likewise.
18362 * math/s_csinf.c: Likewise.
18363 * math/s_csinh.c Likewise.
18364 * math/s_csinhf.c: Likewise.
18365 * math/s_csinhl.c: Likewise.
18366 * math/s_csinl.c: Likewise.
18367 * math/s_ctan.c: Likewise.
18368 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18369 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18371
8ec250a4
UD
183722011-10-21 Ulrich Drepper <drepper@gmail.com>
18373
c196fed8
UD
18374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18375 compilation problems.
18376
8ec250a4
UD
18377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18378 __builtin_expect.
18379
8d4f46c6
UD
183802011-10-20 Ulrich Drepper <drepper@gmail.com>
18381
ed72b654
UD
18382 * sysdeps/i386/configure.in: Test for -mfma4 option.
18383 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18384 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18385 COMMON_CPUID_INDEX_80000001.
18386 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18387 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18388 use it if FMA3 is not supported.
18389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18390
8d4f46c6
UD
18391 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18393
d45c60c2
AS
183942011-10-20 Andreas Schwab <schwab@redhat.com>
18395
18396 [BZ #12892]
18397 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18398 it would create a cycle with a link time dependency.
18399
d9a4d2ab
UD
184002011-10-19 Ulrich Drepper <drepper@gmail.com>
18401
855d1560
UD
18402 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18403 instruction.
18404 * string/Makefile (strop-tests): Add rawmemchr.
18405 * string/test-rawmemchr.c: New file.
18406
d9a4d2ab
UD
18407 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18409 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18410 when compiling str{,n}casecmp and when AVX is available. Hook up
18411 new optimized code in initializers.
18412
8f3b1ffe
AS
184132011-10-19 Andreas Schwab <schwab@redhat.com>
18414
18415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18416 __feraiseexcept instead of feraiseexcept.
18417
d38f1dba
UD
184182011-10-18 Ulrich Drepper <drepper@gmail.com>
18419
d9a8d0ab
UD
18420 * math/math_private.h: Define defaults for libc_fetestexcept and
18421 libc_feupdateenv.
18422 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18423 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18425 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18428 libc_fetestexcept and libc_feupdateenv.
18429
4855e3dd
UD
18430 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18431 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18432 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18433 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18434 libc_feholdexcept_setround.
18435
581d30e3
UD
18436 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18437 Add s_nearbyint-c and s_nearbyintf-c.
18438 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18439 nearbyintf inlines.
18440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18444
d38f1dba
UD
18445 * math/math_private.h: Define defaults for libc_fegetround,
18446 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18447 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18448 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18450 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18451 standard functions.
18452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18453 Remove comments and hacks for old compiler versions.
18454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18455 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18456 libc_feholdexceptl.
18457
caa6c9d8
AS
184582011-10-18 Andreas Schwab <schwab@redhat.com>
18459
18460 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18461 (__feraiseexcept_renamed): Add __NTH.
18462 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18463 namespace violations.
18464
97c066e6
UD
184652011-10-17 Ulrich Drepper <drepper@gmail.com>
18466
99ce7b04
UD
18467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18468
1004d182
UD
18469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18470
228a984d
UD
18471 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18472 recently added interfaces.
18473 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18474
c8553a6a
UD
18475 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18476 about macro parameter expansion.
18477
ed22dcf6
UD
18478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18479 __NO_MATH_INLINES is defined. Cleanups.
18480
18481 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18482 and __floorf is target has SSE4.1.
18483 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18484 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18485 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18487
b171c137
UD
18488 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18489 name.
18490 (floorf): Likewise.
18491
97c066e6
UD
18492 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18493
629f62ef
AS
184942011-10-17 Andreas Schwab <schwab@redhat.com>
18495
49a43d80
AS
18496 * misc/sys/cdefs.h: Fix last change.
18497
629f62ef
AS
18498 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18499 database lookup.
18500
e453f6cd
UD
185012011-10-16 Ulrich Drepper <drepper@gmail.com>
18502
aa78043a
UD
18503 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18504
ad0f5cad
UD
18505 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18511 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18514 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18515 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18516 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18517 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18518 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18519 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18520 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18521 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18523 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18524 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18527
18528 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18529 ceil, ceilf, floor, floorf.
18530
18531 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18532 Perform IRELATIVE relocations last.
18533
e453f6cd
UD
18534 * elf/do-rel.h: Add another parameter nrelative, replacing the
18535 local variable with the same name. Change name of the function
18536 to end in Rel or Rela (uppercase).
18537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18538 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18539 elf_dynamic_do_##reloc function.
18540
fd5bdc09
UD
185412011-10-15 Ulrich Drepper <drepper@gmail.com>
18542
79b195b5
UD
18543 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18544 is sufficient, at least on modern CPUs.
18545
d4a28569
UD
18546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18547
b61099b5
UD
18548 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18550
bcf01e6d
UD
18551 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18552 __expl_finite.
18553 * math/bits/math-finite.h: Add entries for exp.
18554 * math/e_expl.c: Add __*_finite alias.
18555 * sysdeps/i386/fpu/e_exp.S: Likewise.
18556 * sysdeps/i386/fpu/e_expf.S: Likewise.
18557 * sysdeps/i386/fpu/e_expl.c: Likewise.
18558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18559 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18562 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18565
ba1a0d59
UD
18566 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18567 is sufficient, at least on modern CPUs.
18568
fd5bdc09
UD
18569 * ctype/ctype-info.c (__ctype_init): Define.
18570 * include/ctype.h (__ctype_init): Declare.
18571 (__ctype_b_loc): The variable is always initialized.
18572 (__ctype_toupper_loc): Likewise.
18573 (__ctype_tolower_loc): Likewise.
18574 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18575 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18576
7872cfb0
AS
185772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18578
b468825a
AS
18579 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18580
7872cfb0
AS
18581 * configure.in: Also look in $cxxmachine/include for C++ system
18582 headers.
18583
be13f7bf
LD
185842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18585
18586 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18587 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18588 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18589 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18591 (USE_AS_WMEMCMP): New macro.
18592 Fixing indents.
18593 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18594 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18595 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18596 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18598 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18599 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18601 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18602 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18604 (USE_AS_WMEMCMP): New macro.
18605 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18606 * sysdeps/string/test-memcmp.c: Update.
18607 Fix simple_wmemcmp.
18608 Add new tests.
18609 * wcsmbs/wmemcmp.c: Update.
18610 (WMEMCMP): New macro.
18611 Fix overflow bug.
18612
556a2007
AJ
186132011-10-12 Andreas Jaeger <aj@suse.de>
18614
18615 [BZ #13268]
18616 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18617
538faaa7
UD
186182011-10-15 Ulrich Drepper <drepper@gmail.com>
18619
ab6737ff
UD
18620 * libio/iofwide.c (do_length): Avoid warning.
18621
538faaa7
UD
18622 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18623
396a21b1
UD
186242011-10-14 Ulrich Drepper <drepper@gmail.com>
18625
cdf2901f
UD
18626 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18627
38ad40ce
UD
18628 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18629 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18630 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18631 * sysdeps/i386/i686/fpu/e_log.S: New file.
18632 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18633 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18634
396a21b1
UD
18635 * ctype/ctype.h: Add support for inlined isXXX functions when
18636 compiling C++ code.
18637
6b1f68c9
AS
186382011-10-14 Andreas Schwab <schwab@redhat.com>
18639
349290c0
AS
18640 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18641
6b1f68c9
AS
18642 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18643
f2282d42
RM
186442011-10-13 Roland McGrath <roland@hack.frob.com>
18645
18646 [BZ #13291]
18647 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18648
5298ffa8
AS
186492011-10-13 Andreas Schwab <schwab@redhat.com>
18650
714fad23
AS
18651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18652 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18653 feraiseexcept.
18654
81dcc7fb
AS
18655 * sysdeps/x86_64/memrchr.S: Check for zero size.
18656
5298ffa8
AS
18657 * string/stratcliff.c: Add memrchr tests.
18658
951fbcec
LD
186592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18660
18661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18662 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18663 rawmemchr-sse2 rawmemchr-sse2-bsf.
18664 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18665 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18666 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18667 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18668 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18669 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18670 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18671 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18674 * string/memrchr.c (MEMRCHR): New macro.
18675
0ac5ae23
UD
186762011-10-12 Ulrich Drepper <drepper@gmail.com>
18677
18678 Add integration with gcc's -ffinite-math-only and optimize wrapper
18679 functions in libm.
18680 * Versions.def: Define GLIBC_2.15 version for libm.
18681 * math/Makefile (headers): Add bits/math-finite.h.
18682 * math/bits/math-finite.h: New file.
18683 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18684 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18685 * math/e_acoshl.c: Add __*_finite alias.
18686 * math/e_acosl.c: Likewise.
18687 * math/e_asinl.c: Likewise.
18688 * math/e_atan2l.c: Likewise.
18689 * math/e_atanhl.c: Likewise.
18690 * math/e_coshl.c: Likewise.
18691 * math/e_exp10.c: Likewise.
18692 * math/e_exp10f.c: Likewise.
18693 * math/e_exp10l.c: Likewise.
18694 * math/e_exp2l.c: Likewise.
18695 * math/e_fmodl.c: Likewise.
18696 * math/e_gammal_r.c: Likewise.
18697 * math/e_hypotl.c: Likewise.
18698 * math/e_j0l.c: Likewise.
18699 * math/e_j1l.c: Likewise.
18700 * math/e_jnl.c: Likewise.
18701 * math/e_lgammal_r.c: Likewise.
18702 * math/e_log10l.c: Likewise.
18703 * math/e_log2l.c: Likewise.
18704 * math/e_logl.c: Likewise.
18705 * math/e_powl.c: Likewise.
18706 * math/e_sinhl.c: Likewise.
18707 * math/e_sqrtl.c: Likewise.
18708 * math/e_scalb.c: Completely rewritten and optimized.
18709 * math/e_scalbf.c: Likewise.
18710 * math/e_scalbl.c: Likewise.
18711 * math/w_acos.c: Likewise.
18712 * math/w_acosf.c: Likewise.
18713 * math/w_acosl.c: Likewise.
18714 * math/w_acosh.c: Likewise.
18715 * math/w_acoshf.c: Likewise.
18716 * math/w_acoshl.c: Likewise.
18717 * math/w_asin.c: Likewise.
18718 * math/w_asinf.c: Likewise.
18719 * math/w_asinl.c: Likewise.
18720 * math/w_atan2.c: Likewise.
18721 * math/w_atan2f.c: Likewise.
18722 * math/w_atan2l.c: Likewise.
18723 * math/w_atanh.c: Likewise.
18724 * math/w_atanhf.c: Likewise.
18725 * math/w_atanhl.c: Likewise.
18726 * math/w_exp10.c: Likewise.
18727 * math/w_exp10f.c: Likewise.
18728 * math/w_exp10l.c: Likewise.
18729 * math/w_fmod.c: Likewise.
18730 * math/w_fmodf.c: Likewise.
18731 * math/w_fmodl.c: Likewise.
18732 * math/w_j0.c: Likewise.
18733 * math/w_j0f.c: Likewise.
18734 * math/w_j0l.c: Likewise.
18735 * math/w_j1.c: Likewise.
18736 * math/w_j1f.c: Likewise.
18737 * math/w_j1l.c: Likewise.
18738 * math/w_jn.c: Likewise.
18739 * math/w_jnf.c: Likewise.
18740 * math/w_log.c: Likewise.
18741 * math/w_logf.c: Likewise.
18742 * math/w_logl.c: Likewise.
18743 * math/w_log10.c: Likewise.
18744 * math/w_log10f.c: Likewise.
18745 * math/w_log10l.c: Likewise.
18746 * math/w_log2.c: Likewise.
18747 * math/w_log2f.c: Likewise.
18748 * math/w_log2l.c: Likewise.
18749 * math/w_pow.c: Likewise.
18750 * math/w_powf.c: Likewise.
18751 * math/w_powl.c: Likewise.
18752 * math/w_remainder.c: Likewise.
18753 * math/w_remainderf.c: Likewise.
18754 * math/w_remainderl.c: Likewise.
18755 * math/w_scalb.c: Likewise.
18756 * math/w_scalbf.c: Likewise.
18757 * math/w_scalbl.c: Likewise.
18758 * math/w_sqrt.c: Likewise.
18759 * math/w_sqrtf.c: Likewise.
18760 * math/w_sqrtl.c: Likewise.
18761 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18762 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18763 used.
18764 * math/math_private.h: Declare __kernel_standard_f.
18765 * math/w_cosh.c: Remove cruft and optimize a bit.
18766 * math/w_coshf.c: Likewise.
18767 * math/w_coshl.c: Likewise.
18768 * math/w_exp2.c: Likewise.
18769 * math/w_exp2f.c: Likewise.
18770 * math/w_exp2l.c: Likewise.
18771 * math/w_hypot.c: Likewise.
18772 * math/w_hypotf.c: Likewise.
18773 * math/w_hypotl.c: Likewise.
18774 * math/w_lgamma.c: Likewise.
18775 * math/w_lgamma_r.c: Likewise.
18776 * math/w_lgammaf.c: Likewise.
18777 * math/w_lgammaf_r.c: Likewise.
18778 * math/w_lgammal.c: Likewise.
18779 * math/w_lgammal_r.c: Likewise.
18780 * math/w_sinh.c: Likewise.
18781 * math/w_sinhf.c: Likewise.
18782 * math/w_sinhl.c: Likewise.
18783 * math/w_tgamma.c: Likewise.
18784 * math/w_tgammaf.c: Likewise.
18785 * math/w_tgammal.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18788 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18789 Minor optimizations. Pretty printing. Remove cruft.
18790 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18791 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18792 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18794 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18795 * sysdeps/i386/fpu/e_asin.S: Likewise.
18796 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18797 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18798 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18799 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18803 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18804 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18805 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18806 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18807 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18808 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18809 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18810 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18811 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18812 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18813 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18814 * sysdeps/i386/fpu/e_log.S: Likewise.
18815 * sysdeps/i386/fpu/e_log10.S: Likewise.
18816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18818 * sysdeps/i386/fpu/e_log2.S: Likewise.
18819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18821 * sysdeps/i386/fpu/e_logf.S: Likewise.
18822 * sysdeps/i386/fpu/e_logl.S: Likewise.
18823 * sysdeps/i386/fpu/e_pow.S: Likewise.
18824 * sysdeps/i386/fpu/e_powf.S: Likewise.
18825 * sysdeps/i386/fpu/e_powl.S: Likewise.
18826 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18827 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18828 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18830 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18832 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18833 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18834 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18856 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18862 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18864 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18866 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18869 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18870 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18871 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18872 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18873 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18875 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18876 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18890 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18928 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18929 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18931 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18932 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18933 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18934 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18935 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18936 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18937 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18938 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18943 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18945 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18946 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18947 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18948 (__isnanf): Likewise.
18949 (__isinf_ns): Likewise.
18950 (__isinf_nsf): Likewise.
18951 (__finite): Likewise.
18952 (__finitef): Likewise.
18953 (__ieee754_sqrt): Define as macro.
18954 (__ieee754_sqrtf): Define as macro.
18955 (__ieee754_sqrtl): Define as macro.
18956 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18957 inlined copy.
18958 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18959 __FINITE_MATH_ONLY__ consistent.
18960 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18961
12cc2fcd
AS
189622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18963
a843a204
AS
18964 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18965 of rawmemchr.
18966
12cc2fcd
AS
18967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18968
c853acd5
UD
189692011-10-09 Ulrich Drepper <drepper@gmail.com>
18970
18971 * po/ja.po: Update from translation team.
18972
c658d255
RM
189732011-10-08 Roland McGrath <roland@hack.frob.com>
18974
110946e4
RM
18975 * locale/programs/locarchive.c (prepare_address_space): New function.
18976 (create_archive, enlarge_archive, open_archive): Use it.
18977
50604220
RM
18978 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18979 inside [SHARED], where it is used.
18980
c658d255
RM
18981 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18982
18983 * nss/getent.c (netgroup_keys): Remove unused variable.
18984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18985
6a621eb7
UD
189862011-10-08 Ulrich Drepper <drepper@gmail.com>
18987
7edb55ce
UD
18988 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18991 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18993 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18994 * math/Makefile (libm-calls): Add s_isinf_ns.
18995 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18996 * math/multc3.c: Likewise.
18997 * math/s_casin.c: Likewise.
18998 * math/s_casinf.c: Likewise.
18999 * math/s_casinl.c: Likewise.
19000 * math/s_ccos.c: Likewise.
19001 * math/s_ccosf.c: Likewise.
19002 * math/s_ccosl.c: Likewise.
19003 * math/s_ctan.c: Likewise.
19004 * math/s_ctanf.c: Likewise.
19005 * math/s_ctanh.c: Likewise.
19006 * math/s_ctanhf.c: Likewise.
19007 * math/s_ctanhl.c: Likewise.
19008 * math/s_ctanl.c: Likewise.
19009 * math/w_fmod.c: Likewise.
19010 * math/w_fmodf.c: Likewise.
19011 * math/w_fmodl.c: Likewise.
19012 * math/w_remainder.c: Likewise.
19013 * math/w_remainderf.c: Likewise.
19014 * math/w_remainderl.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19016 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19017 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19019 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19020 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19021 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19022 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19023
187da0ae
UD
19024 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19025 of the number.
19026 * stdio-common/printf_fphex.c: Likewise.
19027 * stdio-common/printf_size.c: Likewise.
19028
9277c064
UD
19029 * math/e_exp10.c: Include math_private.h using <...> not "...".
19030 * math/e_exp10f.c: Likewise.
19031 * math/e_exp10l.c: Likewise.
19032 * math/e_exp2l.c: Likewise.
19033 * math/e_j0l.c: Likewise.
19034 * math/e_j1l.c: Likewise.
19035 * math/e_jnl.c: Likewise.
19036 * math/e_lgammal_r.c: Likewise.
19037 * math/e_rem_pio2l.c: Likewise.
19038 * math/e_scalb.c: Likewise.
19039 * math/e_scalbf.c: Likewise.
19040 * math/e_scalbl.c: Likewise.
19041 * math/k_cosl.c: Likewise.
19042 * math/k_sinl.c: Likewise.
19043 * math/k_tanl.c: Likewise.
19044 * math/s_cacoshf.c: Likewise.
19045 * math/s_catan.c: Likewise.
19046 * math/s_catanf.c: Likewise.
19047 * math/s_catanh.c: Likewise.
19048 * math/s_catanhf.c: Likewise.
19049 * math/s_catanhl.c: Likewise.
19050 * math/s_catanl.c: Likewise.
19051 * math/s_ccosh.c: Likewise.
19052 * math/s_ccoshf.c: Likewise.
19053 * math/s_ccoshl.c: Likewise.
19054 * math/s_cexp.c: Likewise.
19055 * math/s_cexpf.c: Likewise.
19056 * math/s_cexpl.c: Likewise.
19057 * math/s_clog.c: Likewise.
19058 * math/s_clog10.c: Likewise.
19059 * math/s_clog10f.c: Likewise.
19060 * math/s_clog10l.c: Likewise.
19061 * math/s_clogf.c: Likewise.
19062 * math/s_clogl.c: Likewise.
19063 * math/s_csin.c: Likewise.
19064 * math/s_csinf.c: Likewise.
19065 * math/s_csinh.c: Likewise.
19066 * math/s_csinhf.c: Likewise.
19067 * math/s_csinhl.c: Likewise.
19068 * math/s_csinl.c: Likewise.
19069 * math/s_csqrt.c: Likewise.
19070 * math/s_csqrtf.c: Likewise.
19071 * math/s_csqrtl.c: Likewise.
19072 * math/s_ctan.c: Likewise.
19073 * math/s_ctanf.c: Likewise.
19074 * math/s_ctanh.c: Likewise.
19075 * math/s_ctanhf.c: Likewise.
19076 * math/s_ctanhl.c: Likewise.
19077 * math/s_ctanl.c: Likewise.
19078 * math/s_ldexp.c: Likewise.
19079 * math/s_ldexpf.c: Likewise.
19080 * math/s_ldexpl.c: Likewise.
19081 * math/s_significand.c: Likewise.
19082 * math/s_significandf.c: Likewise.
19083 * math/s_significandl.c: Likewise.
19084 * math/w_acos.c: Likewise.
19085 * math/w_acosf.c: Likewise.
19086 * math/w_acosh.c: Likewise.
19087 * math/w_acoshf.c: Likewise.
19088 * math/w_acoshl.c: Likewise.
19089 * math/w_acosl.c: Likewise.
19090 * math/w_asin.c: Likewise.
19091 * math/w_asinf.c: Likewise.
19092 * math/w_asinl.c: Likewise.
19093 * math/w_atan2.c: Likewise.
19094 * math/w_atan2f.c: Likewise.
19095 * math/w_atan2l.c: Likewise.
19096 * math/w_atanh.c: Likewise.
19097 * math/w_atanhf.c: Likewise.
19098 * math/w_atanhl.c: Likewise.
19099 * math/w_cosh.c: Likewise.
19100 * math/w_coshf.c: Likewise.
19101 * math/w_coshl.c: Likewise.
19102 * math/w_dremf.c: Likewise.
19103 * math/w_exp10.c: Likewise.
19104 * math/w_exp10f.c: Likewise.
19105 * math/w_exp10l.c: Likewise.
19106 * math/w_exp2.c: Likewise.
19107 * math/w_exp2f.c: Likewise.
19108 * math/w_fmod.c: Likewise.
19109 * math/w_fmodf.c: Likewise.
19110 * math/w_fmodl.c: Likewise.
19111 * math/w_hypot.c: Likewise.
19112 * math/w_hypotf.c: Likewise.
19113 * math/w_hypotl.c: Likewise.
19114 * math/w_j0.c: Likewise.
19115 * math/w_j0f.c: Likewise.
19116 * math/w_j0l.c: Likewise.
19117 * math/w_j1.c: Likewise.
19118 * math/w_j1f.c: Likewise.
19119 * math/w_j1l.c: Likewise.
19120 * math/w_jn.c: Likewise.
19121 * math/w_jnf.c: Likewise.
19122 * math/w_jnl.c: Likewise.
19123 * math/w_lgamma.c: Likewise.
19124 * math/w_lgamma_r.c: Likewise.
19125 * math/w_lgammaf.c: Likewise.
19126 * math/w_lgammaf_r.c: Likewise.
19127 * math/w_lgammal.c: Likewise.
19128 * math/w_lgammal_r.c: Likewise.
19129 * math/w_log.c: Likewise.
19130 * math/w_log10.c: Likewise.
19131 * math/w_log10f.c: Likewise.
19132 * math/w_log10l.c: Likewise.
19133 * math/w_log2.c: Likewise.
19134 * math/w_log2f.c: Likewise.
19135 * math/w_log2l.c: Likewise.
19136 * math/w_logf.c: Likewise.
19137 * math/w_logl.c: Likewise.
19138 * math/w_pow.c: Likewise.
19139 * math/w_powf.c: Likewise.
19140 * math/w_powl.c: Likewise.
19141 * math/w_remainder.c: Likewise.
19142 * math/w_remainderf.c: Likewise.
19143 * math/w_remainderl.c: Likewise.
19144 * math/w_scalb.c: Likewise.
19145 * math/w_scalbf.c: Likewise.
19146 * math/w_scalbl.c: Likewise.
19147 * math/w_sinh.c: Likewise.
19148 * math/w_sinhf.c: Likewise.
19149 * math/w_sinhl.c: Likewise.
19150 * math/w_sqrt.c: Likewise.
19151 * math/w_sqrtf.c: Likewise.
19152 * math/w_sqrtl.c: Likewise.
19153 * math/w_tgamma.c: Likewise.
19154 * math/w_tgammaf.c: Likewise.
19155 * math/w_tgammal.c: Likewise.
19156
6a621eb7
UD
19157 * po/ja.po: Update from translation team.
19158
bf582445
AJ
191592011-09-29 Andreas Jaeger <aj@suse.de>
19160
f9efbf3a
AJ
19161 [BZ #13179]
19162 * sunrpc/netname.c (netname2host): Fix logic.
19163
bf582445
AJ
19164 [BZ #6779]
19165 [BZ #6783]
19166 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19167 correctly.
19168 * math/w_remainder.c (__remainder): Likewise.
19169 * math/w_remainderf.c (__remainderf): Likewise.
19170 * math/libm-test.inc (remainder_test): Add test cases.
19171
48693bea
AK
191722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19173
19174 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19175 sdiv_qrnnd.
19176
42622229
LD
191772011-10-07 Ulrich Drepper <drepper@gmail.com>
19178
19179 * string/test-memcmp.c: Avoid unncessary #defines.
19180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19181
093ecf92
LD
191822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19183
19184 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19185 Use new sse2 version for core i3 - i7 as it's faster
19186 than sse42 version.
19187 (bit_Prefer_PMINUB_for_stringop): New.
19188 * sysdeps/x86_64/rawmemchr.S: Update.
19189 Replace with faster SSE2 version.
19190 * sysdeps/x86_64/memrchr.S: New file.
19191 * sysdeps/x86_64/memchr.S: Update.
19192 Replace with faster SSE2 version.
19193
fde56e5c
MP
191942011-09-12 Marek Polacek <mpolacek@redhat.com>
19195
19196 * elf/dl-load.c (lose): Add cast to avoid warning.
19197
21fd49a9
UD
191982011-10-07 Ulrich Drepper <drepper@gmail.com>
19199
5a06e643
UD
19200 * po/ca.po: Update from translation team.
19201
684ae515
UD
19202 * inet/getnetgrent_r.c: Hook up nscd.
19203 * nscd/Makefile (routines): Add nscd_netgroup.
19204 (nscd-modules): Add netgroupcache.
19205 (CFLAGS-netgroupcache.c): Define.
19206 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19207 (cache_search): Add const to second parameter.
19208 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19209 INNETGR.
19210 (dbs): Add netgrdb entry.
19211 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19212 (verify_persistent_db): Handle netgrdb.
19213 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19214 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19215 GETFDNETGR.
19216 (netgroup_response_header): Define.
19217 (innetgroup_response_header): Define.
19218 (datahead): Add netgroup_response_header and innetgroup_response_header
19219 elements.
19220 * nscd/nscd.conf: Add entries for netgroup cache.
19221 * nscd/nscd.h (dbtype): Add netgrdb.
19222 (_PATH_NSCD_NETGROUP_DB): Define.
19223 (netgroup_iov_disabled): Declare.
19224 (xmalloc, xcalloc, xrealloc): Move declarations here.
19225 (cache_search): Adjust prototype.
19226 Add netgroup-related prototypes.
19227 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19228 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19229 (__nscd_innetgr): Declare.
19230 * nscd/selinux.c (perms): Use access_vector_t as element type and
19231 add netgroup-related initializers.
19232 * nscd/netgroupcache.c: New file.
19233 * nscd/nscd_netgroup.c: New file.
19234 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19235 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19236 For four parameters use innetgr.
19237 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19238 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19239 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19240 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19241
21fd49a9
UD
19242 * nscd/connections.c (register_traced_file): Don't register file
19243 for disabled databases.
19244
054c0457
UD
192452011-10-06 Ulrich Drepper <drepper@gmail.com>
19246
32b63198
UD
19247 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19248
054c0457
UD
19249 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19250 from tree and freeing node.
19251
64031225
JO
192522011-09-25 Jiri Olsa <jolsa@redhat.com>
19253
19254 * nss/nsswitch.c (__nss_database_lookup): Handle
19255 nss_parse_service_list out of memory case.
19256
0490345c
JO
192572011-09-15 Jiri Olsa <jolsa@redhat.com>
19258
19259 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19260 out of memory case.
19261
3a62d00d
AS
192622011-10-04 Andreas Schwab <schwab@redhat.com>
19263
19264 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19265 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19266 pass it down.
19267 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19268 elf_machine_rela, elf_machine_lazy_rel.
19269 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19270 (ELF_DYNAMIC_DO_REL): Likewise.
19271 (ELF_DYNAMIC_DO_RELA): Likewise.
19272 (ELF_DYNAMIC_RELOCATE): Likewise.
19273 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19274 to ELF_DYNAMIC_DO_REL.
19275 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19276 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19277 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19278 elf_machine_rela.
19279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19280 skip_ifunc, don't call ifunc function if non-zero.
19281 (elf_machine_rela): Likewise.
19282 (elf_machine_lazy_rel): Likewise.
19283 (elf_machine_lazy_rela): Likewise.
19284 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19285 (elf_machine_lazy_rel): Likewise.
19286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19287 Likewise.
19288 (elf_machine_lazy_rel): Likewise.
19289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19290 Likewise.
19291 (elf_machine_lazy_rel): Likewise.
19292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19293 (elf_machine_lazy_rel): Likewise.
19294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19295 (elf_machine_lazy_rel): Likewise.
19296 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19297 (elf_machine_lazy_rel): Likewise.
19298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19299 (elf_machine_lazy_rel): Likewise.
19300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19301 (elf_machine_lazy_rel): Likewise.
19302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19303 (elf_machine_lazy_rel): Likewise.
19304
68577918
UD
193052011-09-28 Ulrich Drepper <drepper@gmail.com>
19306
19307 * nss/nss_files/files-init.c (_nss_files_init): Use static
19308 initialization for all the *_traced_file variables.
19309
68822d74
AS
193102011-09-28 Andreas Schwab <schwab@redhat.com>
19311
19312 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19313
2056100b
RM
193142011-09-27 Roland McGrath <roland@hack.frob.com>
19315
19316 [BZ #13226]
19317 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19318
32c76b63
AS
193192011-09-27 Andreas Schwab <schwab@redhat.com>
19320
19321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19322 Reread the line before reparsing it.
19323
bf972c9d
AS
193242011-09-26 Andreas Schwab <schwab@redhat.com>
19325
19326 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19327
e057a1b5
JM
193282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19329 Maxim Kuvyrkov <maxim@codesourcery.com>
19330 Joseph Myers <joseph@codesourcery.com>
19331
19332 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19333 if needed for __stack_chk_guard.
19334
bc7e1c36
RM
193352011-09-19 Roland McGrath <roland@hack.frob.com>
19336
ecb1482f
RM
19337 * sysdeps/posix/spawni.c (script_execute): Always define it.
19338 It will be optimized away if unused.
19339 (maybe_script_execute): New function.
19340 (__spawni): Call it.
19341
bc7e1c36
RM
19342 * Makerules: Don't include tls.make.
19343 (config-tls): Always set to thread.
19344 * tls.make.c: File removed.
19345
1c3b002b
MF
193462011-09-19 Mike Frysinger <vapier@gentoo.org>
19347
19348 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19349 * config.make.in (CPPFLAGS-config): New substituted variable.
19350
2840865d
UD
193512011-09-15 Ulrich Drepper <drepper@gmail.com>
19352
88738eb6
UD
19353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19354
cbf645a6 19355 [BZ #13192]
2840865d
UD
19356 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19357 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19358
b402e91a
RM
193592011-09-15 Roland McGrath <roland@hack.frob.com>
19360
19361 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19362 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19364 (CALL_FAIL): Likewise.
19365 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19366 (CALL_FAIL): Macro removed.
19367 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19368
4c1a1f71
UD
193692011-09-15 Ulrich Drepper <drepper@gmail.com>
19370
19371 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19372 for __FINITE_MATH_ONLY__ == 1.
19373
edc121be
AS
193742011-09-15 Andreas Schwab <schwab@redhat.com>
19375
19376 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19377 __ieee754_sqrt instead of sqrt.
19378 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19379 __ieee754_sqrtf instead of sqrtf.
19380 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19381 __floorf instead of floorf.
19382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19383 __floorf, __truncf instead of floorf, truncf.
19384
cd205654
UD
193852011-09-14 Ulrich Drepper <drepper@gmail.com>
19386
ee4d0315
UD
19387 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19388
cd205654
UD
19389 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19390 __extern_always_inline.
19391 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19392 32-bit.
19393
48b67d71
AS
193942011-09-14 Andreas Schwab <schwab@redhat.com>
19395
19396 * elf/rtld.c (dl_main): Also relocate in dependency order when
19397 doing symbol dependency testing.
19398
1ae12c75
AS
193992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19400
19401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19402 Always define `refsym'.
19403
995a80df
AS
194042011-09-13 Andreas Schwab <schwab@redhat.com>
19405
e529793b
AS
19406 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19407 (__FD_ELT): Renamed from __FDELT.
19408 * misc/bits/select2.h (__FD_ELT): Likewise.
19409 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19410 __FD_MASK instead of __FDELT, __FDMASK.
19411 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19412 Likewise.
19413 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19414 Likewise.
19415
52d4fef8
AS
19416 * elf/Makefile (gen-ldd): Fix pattern.
19417
995a80df
AS
19418 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19419 (init_tls): Likewise.
19420
8682f8b0
UD
194212011-09-12 Ulrich Drepper <drepper@gmail.com>
19422
19423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19424
de82006d
AS
194252011-09-12 Andreas Schwab <schwab@redhat.com>
19426
a7c8e6a1
AS
19427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19428 `struct cmsghdr *' instead of `void *'.
19429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19430 Likewise.
19431
0f31fe77
AS
194322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19433
19434 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19435 if non-absolute.
19436 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19437 ldd_rewrite_script.
0f31fe77 19438
32b4c839
UD
194392011-09-11 Ulrich Drepper <drepper@gmail.com>
19440
83cd1420
UD
19441 * configure.in: Remove --with-tls option.
19442 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19443 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19444 out in case it is missing.
19445 * sysdeps/ia64/elf/configure.in: Likewise.
19446 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19447 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19448 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19449 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19450 * sysdeps/sh/elf/configure.in: Likewise.
19451 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19453 * sysdeps/x86_64/elf/configure.in: Likewise.
19454 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19455 * sysdeps/mach/hurd/tls.h: Likewise.
19456
633f745d
UD
19457 [BZ #13067]
19458 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19459
f318beb8
UD
19460 [BZ #13090]
19461 * configure.in: Fix use of AC_INIT.
19462
32b4c839
UD
19463 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19464
3ce1f295
UD
194652011-09-10 Ulrich Drepper <drepper@gmail.com>
19466
bb016596
UD
19467 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19468 __set_errno.
8e58439c
UD
19469 * malloc/hooks.c: Likewise.
19470
aebae053 19471 [BZ #11929]
02d46fc4
UD
19472 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19473 variables statically.
19474 (narenas): Initialize.
19475 (list_lock): Initialize.
bb016596
UD
19476 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19477 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19478 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19479 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19480 Add initializers to main_arena and mp_.
19481 (malloc_state): Remove pagesize member. Change all users to use
19482 GLRO(dl_pagesize).
19483
19484 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19485 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19486 is always initialized.
19487
22a89187
UD
19488 * malloc/malloc.c: Removed unused configurations and dead code.
19489 * malloc/arena.c: Likewise.
19490 * malloc/hooks.c: Likewise.
02d46fc4 19491 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19492
d063d164
UD
19493 * include/tls.h: Removed. USE___THREAD must always be defined.
19494 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19495 * elf/dl-libc.c: Likewise.
19496 * elf/dl-tsd.c: Likewise.
19497 * include/errno.h: Likewise.
19498 * include/netdb.h: Likewise.
19499 * include/resolv.h: Likewise.
19500 * inet/herrno-loc.c: Likewise.
19501 * inet/herrno.c: Likewise.
19502 * malloc/arena.c: Likewise.
19503 * malloc/hooks.c: Likewise.
19504 * malloc/malloc.c: Likewise.
19505 * resolv/res-state.c: Likewise.
19506 * resolv/res_libc.c: Likewise.
19507 * sysdeps/i386/dl-machine.h: Likewise.
19508 * sysdeps/ia64/dl-machine.h: Likewise.
19509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19513 * sysdeps/sh/dl-machine.h: Likewise.
19514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19516 * sysdeps/unix/i386/sysdep.S: Likewise.
19517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19518 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19523 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19528 * sysdeps/x86_64/dl-machine.h: Likewise.
19529 * tls.make.c: Likewise.
19530
3ce1f295
UD
19531 * configure.in: Remove --with-__thread option. Make tests for
19532 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19533 tls_model attribute fail if no support is available. Remove
19534 USE_IN_LIBIO.
19535 * Makeconfig: Adjust for dropped configure option. All features are
19536 now mandatory.
19537 * Makerules: Likewise.
19538 * Versions.def: Likewise.
19539 * argp/argp-fmtstream.c: Likewise.
19540 * argp/argp-fmtstream.h: Likewise.
19541 * argp/argp-help.c: Likewise.
19542 * assert/assert.c: Likewise.
19543 * config.h.in: Likewise.
19544 * config.make.in: Likewise.
19545 * configure: Likewise.
19546 * configure.in: Likewise.
19547 * csu/Versions: Likewise.
19548 * csu/init.c: Likewise.
19549 * elf/tst-audit2.c: Likewise.
19550 * elf/tst-tls10.c: Likewise.
19551 * elf/tst-tls10.h: Likewise.
19552 * elf/tst-tls11.c: Likewise.
19553 * elf/tst-tls12.c: Likewise.
19554 * elf/tst-tls14.c: Likewise.
19555 * elf/tst-tlsmod11.c: Likewise.
19556 * elf/tst-tlsmod12.c: Likewise.
19557 * elf/tst-tlsmod13.c: Likewise.
19558 * elf/tst-tlsmod13a.c: Likewise.
19559 * elf/tst-tlsmod14a.c: Likewise.
19560 * elf/tst-tlsmod15b.c: Likewise.
19561 * elf/tst-tlsmod16a.c: Likewise.
19562 * elf/tst-tlsmod16b.c: Likewise.
19563 * elf/tst-tlsmod7.c: Likewise.
19564 * elf/tst-tlsmod8.c: Likewise.
19565 * elf/tst-tlsmod9.c: Likewise.
19566 * gmon/gmon.c: Likewise.
19567 * grp/fgetgrent_r.c: Likewise.
19568 * grp/putgrent.c: Likewise.
19569 * hurd/fopenport.c: Likewise.
19570 * include/libc-symbols.h: Likewise.
19571 * include/tls.h: Likewise.
19572 * intl/gettextP.h: Likewise.
19573 * intl/loadinfo.h: Likewise.
19574 * locale/global-locale.c: Likewise.
19575 * locale/localeinfo.h: Likewise.
19576 * mach/devstream.c: Likewise.
19577 * malloc/arena.c: Likewise.
19578 * malloc/set-freeres.c: Likewise.
19579 * misc/err.c: Likewise.
19580 * misc/getttyent.c: Likewise.
19581 * misc/mntent_r.c: Likewise.
19582 * posix/getopt.c: Likewise.
19583 * posix/wordexp.c: Likewise.
19584 * pwd/fgetpwent_r.c: Likewise.
19585 * resolv/Versions: Likewise.
19586 * resolv/res_hconf.c: Likewise.
19587 * shadow/fgetspent_r.c: Likewise.
19588 * shadow/putspent.c: Likewise.
19589 * stdio-common/printf_fphex.c: Likewise.
19590 * stdio-common/tmpfile.c: Likewise.
19591 * stdlib/abort.c: Likewise.
19592 * stdlib/fmtmsg.c: Likewise.
19593 * sunrpc/auth_unix.c: Likewise.
19594 * sunrpc/clnt_perr.c: Likewise.
19595 * sunrpc/clnt_tcp.c: Likewise.
19596 * sunrpc/clnt_udp.c: Likewise.
19597 * sunrpc/clnt_unix.c: Likewise.
19598 * sunrpc/openchild.c: Likewise.
19599 * sunrpc/svc_simple.c: Likewise.
19600 * sunrpc/svc_tcp.c: Likewise.
19601 * sunrpc/svc_udp.c: Likewise.
19602 * sunrpc/svc_unix.c: Likewise.
19603 * sunrpc/xdr.c: Likewise.
19604 * sunrpc/xdr_array.c: Likewise.
19605 * sunrpc/xdr_rec.c: Likewise.
19606 * sunrpc/xdr_ref.c: Likewise.
19607 * sunrpc/xdr_stdio.c: Likewise.
19608
1248c1c4
PB
196092011-09-09 Ulrich Drepper <drepper@gmail.com>
19610
19611 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19612
196132011-07-03 Andreas Jaeger <aj@suse.de>
19614
19615 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19616 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19617 regenerate with gen-libm-tests.pl.
19618
196192010-05-12 Petr Baudis <pasky@suse.cz>
19620
19621 [BZ #11589]
19622 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19623 around j0() zero points by switching to j1().
19624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19628
f22e1074
UD
196292011-09-09 Ulrich Drepper <drepper@gmail.com>
19630
f19009c1
UD
19631 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19632 instead of 0.
19633 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19634 instead of 0.
f19009c1
UD
19635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19636 Patch in part by Pavel Roskin <proski@gnu.org>.
19637
3f8cc204
UD
19638 [BZ #13138]
19639 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19640 realloc.
19641 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19642 Free memory block if necessary.
19643
f22e1074
UD
19644 [BZ #12847]
19645 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19646 be NULL. Don't lock in this case.
19647
0a2349f9
RM
196482011-09-09 Roland McGrath <roland@hack.frob.com>
19649
19650 * elf/elf.h (ELFOSABI_GNU): New macro.
19651 (ELFOSABI_LINUX): Define to that.
19652
f3cdd467
DZ
196532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19654
19655 * string/strncat.c (strncat): Undef the symbol in case it has been
19656 defined in bits/string.h.
19657
74718d13
UD
196582011-09-09 Ulrich Drepper <drepper@gmail.com>
19659
633e9e0f
UD
19660 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19661
0a2349f9 19662 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19663 link map.
19664
f9924780
AJ
196652011-08-17 Andreas Jaeger <aj@suse.de>
19666
19667 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19668
7f5517aa
PP
196692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19670 Ian Lance Taylor <iant@google.com>
19671
19672 * math/libm-test.inc (lround_test): New testcase.
19673 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19674
762011fe
UD
196752011-09-08 Ulrich Drepper <drepper@gmail.com>
19676
92963737
UD
19677 * Makefile: Remove support for automatic cvs check-ins.
19678 * Makerules: Likewise.
19679 * config.make.in: Likewise.
19680 * configure.in: Likewise.
19681 * intl/Makefile: Likewise.
19682 * locale/Makefile: Likewise.
19683 * po/Makefile: Likewise.
19684 * posix/Makefile: Likewise.
19685 * sysdeps/gnu/Makefile: Likewise.
19686 * sysdeps/mach/hurd/Makefile: Likewise.
19687 * sysdeps/sparc/sparc32/Makefile: Likewise.
19688
b0727fd8
JS
19689 [BZ #13118]
19690 * posix/Makefile (bug-regex32-ENV): Define.
19691 Patch by John Stanley <jpsinthemix@verizon.net>.
19692
a0f33f99
UD
19693 * misc/Makefile (headers): Add bits/select2.h.
19694 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19695 * misc/bits/select2.h: New file.
19696 * include/bits/select2.h: New file.
19697 * debug/Makefile (routines): Add fdelt_chk.
19698 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19699 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19700 FD_ISSET.
19701 * debug/fdelt_chk.c: New file.
19702
762011fe
UD
19703 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19704 * wcsmbs/test-wmemcmp.c: Likewise.
19705 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19706 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19707
197082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19709
19710 * string/Makefile (strop-tests): Add memcmp.
19711 * string/test-wmemcmp.c: New file.
19712 * string/test-memcmp.c: Add wmemcmp support.
19713
7f513ec8
RM
197142011-09-08 Roland McGrath <roland@hack.frob.com>
19715
0442afb4
RM
19716 [BZ #13153]
19717 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19718 2011-07-19 change.
19719
7f513ec8
RM
19720 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19721 garbage value in a __mach_port_mod_refs call in the cases of the
19722 task-self and thread-self ports.
19723
a12b2239
ST
197242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19725
19726 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19727
610f9ab4
AS
197282011-09-08 Andreas Schwab <schwab@redhat.com>
19729
7f513ec8 19730 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19731
48882a1a
LD
197322011-09-07 Ulrich Drepper <drepper@gmail.com>
19733
b49865be
UD
19734 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19735
fdc86bc9
UD
19736 * elf/dl-libc.c (dlerror_run): Pass back error code from
19737 dl_catch_error.
19738
c966526a
UD
19739 [BZ #13123]
19740 * elf/dl-load.c (lose): Free l_origin if it is valid.
19741
48882a1a
LD
19742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19743 names.
19744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19745 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19748 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19749 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19750
77a2a8b4
AZ
197512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19752
19753 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19754 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19757 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19758 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19759 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19760 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19761 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19762 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19763
24f579d8
AM
197642011-08-15 Alan Modra <amodra@gmail.com>
19765
19766 [BZ #13092]
19767 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19768 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19769 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19770 ppc_mcount to static-only-routines.
19771 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19772 __mcount_internal.
19773 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19774 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19775
3d4837df
UD
197762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19777
19778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19779 for finite and infinity parameters.
19780
22700377
WS
197812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19782
19783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19784 and add nop instructions for throughput optimization.
19785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19786
5025581e
WS
197872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19788
19789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19790 aligned copy for power7 with vector-scalar instructions.
19791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19792
08a300c9
L
197932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19794
19795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19796 AVX check.
19797
59178ef9
AS
197982011-09-07 Andreas Schwab <schwab@redhat.com>
19799
19800 [BZ #13144]
19801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19802 last change.
19803
e38ba7ab
UD
198042011-09-07 Ulrich Drepper <drepper@gmail.com>
19805
19806 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19807 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19808 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19810 clock_gettime.
19811
d53a73ac
UD
198122011-09-06 Ulrich Drepper <drepper@gmail.com>
19813
fc8bffcc
UD
19814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19815 Forgot to demangle the pointer.
19816
ceaa0c5d
UD
19817 * sysdeps/i386/sysdep.h: Define atom_text_section.
19818 * sysdeps/x86_64/sysdep.h: Likewise.
19819 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19820 section with atom_text_section.
19821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19823 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19826
a77d3c17
UD
19827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19829 already be defined. Change to take two parameters and don't assign
19830 result to variable. Adjust all users.
19831 Define INTERNAL_GETTIME if not already defined.
19832 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19833 call.
19834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19835 HAVE_CLOCK_GETTIME_VSYSCALL.
19836 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19837
d53a73ac
UD
19838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19839 gettimeofday vsyscall, just use time.
19840
a8f84144
AS
198412011-09-06 Andreas Schwab <schwab@redhat.com>
19842
19843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19844 <errno.h>.
19845
ef606249
UD
198462011-09-06 Ulrich Drepper <drepper@gmail.com>
19847
19848 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19849 syscall on x86-64.
19850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19851 syscall.
19852 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19854 syscall if possible.
19855
6585cb60
UD
198562011-09-05 Ulrich Drepper <drepper@gmail.com>
19857
19858 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19859 e_ident. Don't pass to find_mapsXX.
19860 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19861
a5f524e4
LD
198622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19863
19864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19865 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19866 * sysdeps/x86_64/multiarch/strchr.S: Update.
19867 Check bit_slow_BSF bit.
19868 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19870 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19871
554881ef
UD
198722011-09-05 Ulrich Drepper <drepper@gmail.com>
19873
d96de963
UD
19874 [BZ #13134]
19875 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19876 before glibc 2.15.
19877 (tryshell): Define.
19878 (__spawni): Change last parameter to be flag. Test
19879 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19880 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19881 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19882 * posix/spawni.c: Likewise.
19883 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19884 * posix/spawnp.c: Likewise. Change normal version to use
19885 SPAWN_XFLAGS_USE_PATH.
19886 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19887 SPAWN_XFLAGS_TRY_SHELL.
19888
d48e5868
UD
19889 [BZ #13150]
19890 * posix/glob.h: Remove gcc 1.x support.
19891
554881ef
UD
19892 [BZ #13068]
19893 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19894
693fb948
LD
198952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19896
19897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19898 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19899 strrchr-sse2-bsf
19900 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19901 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19902 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19904 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19906
1b48c537
UD
199072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19908
49d42c37
UD
19909 * sysdeps/x86_64/wcscmp.S: New file.
19910
1b48c537
UD
19911 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19912 wcscmp-c wcscmp-sse2
19913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19914 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19916 * wcsmbs/wcscmp.c: Allow renaming.
19917
15c95c5d
DM
199182011-09-05 David S. Miller <davem@davemloft.net>
19919
19920 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19921 stack slot, rather than the struct return pointer slot.
19922 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19925 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19926
2f0ad8f3
UD
199272011-09-05 Ulrich Drepper <drepper@gmail.com>
19928
d88ae418
UD
19929 * po/ja.po: Update from translation team.
19930
2f0ad8f3
UD
19931 [BZ #13144]
19932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19933 kernel in 64-bit binaries.
19934
5f4318d1
DM
199352011-09-01 David S. Miller <davem@davemloft.net>
19936
19937 * elf/elf.h (HWCAP_SPARC_*): Move to..
19938 * sysdeps/sparc/sysdep.h: this new file and add new values.
19939 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19940 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19941 _DL_HWCAP_COUNT to 24.
19942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19943 entries.
19944 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19945 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19946 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19948 instead of magic constants.
19949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19950
3ba57516
DM
199512011-08-31 David S. Miller <davem@davemloft.net>
19952
19953 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19955 Reimplement to do errno handling inline.
19956 (SYSCALL_ERROR_HANDLER): New macro.
19957 (__SYSCALL_STRING): Do not do errno handling in asm.
19958 (__CLONE_SYSCALL_STRING): Delete.
19959 (__INTERNAL_SYSCALL_STRING): Delete.
19960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19961 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19962 (PSEUDO): Reimplement to do errno handling inline.
19963 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19964 (SYSCALL_ERROR_HANDLER): New macro.
19965 (__SYSCALL_STRING): Do not do errno handling in asm.
19966 (__CLONE_SYSCALL_STRING): Delete.
19967 (__INTERNAL_SYSCALL_STRING): Delete.
19968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19969 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19970 i386.
19971 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19972 (inline_syscall*): Add 'err' argument.
19973 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19974 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19975 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19976 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19977
19978 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19980
2bc17433
AS
199812011-08-30 Andreas Schwab <schwab@redhat.com>
19982
19983 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19984
fbeb5f4d
JO
199852011-08-29 Jiri Olsa <jolsa@redhat.com>
19986
19987 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19988 directive.
19989
ad69cc26
DM
199902011-08-24 David S. Miller <davem@davemloft.net>
19991
19992 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19993
39dd69df
AS
199942011-08-24 Andreas Schwab <schwab@redhat.com>
19995
19996 * elf/Makefile: Add rules to build and run unload8 test.
19997 * elf/unload8.c: New file.
19998 * elf/unload8mod1.c: New file.
19999 * elf/unload8mod1x.c: New file.
20000 * elf/unload8mod2.c: New file.
20001 * elf/unload8mod3.c: New file.
20002
20003 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20004 it wasn't used.
20005
2c0b250a
DM
200062011-08-23 David S. Miller <davem@davemloft.net>
20007
20008 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20009 subtract stack bias.
20010 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20011 %sp not %fp in calculations.
20012 (_JMPBUF_UNWINDS_ADJ): Likewise.
20013
22044b48
DM
20014 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20015 (aio_suspend): Call it to force an exception region around the
20016 AIO_MISC_WAIT() invocation.
20017
2cae4995
AS
200182011-08-23 Andreas Schwab <schwab@redhat.com>
20019
20020 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20021 backslash.
20022
873a772e
AJ
200232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20024
20025 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20026 protection macro.
20027 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20028 and <dl-machine.h>.
20029 (Elf64_FuncDesc): Remove.
20030
25ad0df1
DM
200312011-08-22 David S. Miller <davem@davemloft.net>
20032
20033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20034 sigaltstack check, add missing cfi directives.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20036 missing cfi directives, and sigaltstack handling.
20037
e888bcbe
AS
200382011-08-16 Andreas Schwab <schwab@redhat.com>
20039
20040 [BZ #11724]
20041 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20042 object is seen twice.
20043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20044
20045 * elf/Makefile (distribute): Add tst-initorder2.c.
20046 (tests): Add tst-initorder2.
20047 (modules-names): Add tst-initorder2a tst-initorder2b
20048 tst-initorder2c tst-initorder2d. Add rules to build them.
20049 ($(objpfx)tst-initorder2.out): New rule.
20050 * elf/tst-initorder2.c: New file.
20051 * elf/tst-initorder2.exp: New file.
20052
87162f46
AS
200532011-08-22 Andreas Schwab <schwab@redhat.com>
20054
70538b7f
AS
20055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20056
f55ffe58
AS
20057 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20058 dependencies back to end of function.
20059
87162f46
AS
20060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20061 $(elfobjdir)/ld.so.
20062
91b392a4
UD
200632011-08-21 Ulrich Drepper <drepper@gmail.com>
20064
20065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20066 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20068 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20069 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20070 of __vdso_gettimeofday.
20071 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20072 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20073 attribute_hidden.
20074 (_libc_vdso_platform_setup): Remove initialization of
20075 __vdso_gettimeofday and __vdso_time.
20076
5c43483f
UD
200772011-08-20 Ulrich Drepper <drepper@gmail.com>
20078
775a77e7
UD
20079 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20080 and fgetc_unlocked.
20081 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20082 getc_unlocked.
89f447ed 20083
49c74ba9
UD
20084 * elf/dl-open.c (add_to_global): Report additions to the global scope
20085 for LD_DEBUG=scopes.
20086 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20087 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20088
5c43483f
UD
20089 [BZ #13114]
20090 * stdio-common/Makefile (tests): Add bug24.
20091 * stdio-common/bug24.c: New file.
20092
a101b025
AJ
200932011-08-19 Andreas Jaeger <aj@suse.de>
20094
20095 [BZ #13114]
20096 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20097 non-existant file when using close-on-exec mode.
20098
c88f1766
UD
200992011-08-20 Ulrich Drepper <drepper@gmail.com>
20100
0276a718
UD
20101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20102 the very first instruction.
20103
c88f1766
UD
20104 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20105 the CFI state in the end.
20106 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20107 inclusion of dl-trampoline.h.
20108 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20109
51ccffa0
AS
201102011-08-19 Andreas Schwab <schwab@redhat.com>
20111
94d7165f
AS
20112 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20113 expectations for long double.
20114
51ccffa0
AS
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20116 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20117
fd708658 201182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20119
20120 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20121 artificual limit depends upon the system page size.
20122
44f0a71e
UD
201232011-08-17 Ulrich Drepper <drepper@gmail.com>
20124
20125 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20126 * resolv/Makefile: Define CFLAGS-libresolv.
20127
8de79a24
AS
201282011-08-17 Andreas Schwab <schwab@redhat.com>
20129
20130 * nss/makedb.c (compute_tables): Make variables used in nested
20131 function static.
20132
27724598
UD
201332011-08-17 Ulrich Drepper <drepper@gmail.com>
20134
c5305d88
UD
20135 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20136 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20137 if buffer was too small.
20138
27724598
UD
20139 * elf/pldd.c (main): Attach to all threads in the process.
20140 Rewrite /proc handling to use *at functions.
20141
076fe015
UD
201422011-08-16 Ulrich Drepper <drepper@gmail.com>
20143
174baab3
UD
20144 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20145 specifies first scope to show.
20146 (dl_open_worker): Update callers. Move printing scope of new
20147 object to before the relocation.
44f0a71e 20148 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20149 * sysdeps/generic/ldsodefs.h: Update declaration.
20150
076fe015
UD
20151 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20152 string for the scope number.
20153
a60df2c3
UD
201542011-08-14 Ulrich Drepper <drepper@gmail.com>
20155
20156 * nscd/servicescache.c (cache_addserv): Make sure written is always
20157 initialized.
20158
5e4287d1
RM
201592011-08-14 Roland McGrath <roland@hack.frob.com>
20160
85ae0589
RM
20161 * sysdeps/i386/i486/bits/atomic.h
20162 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20163 statement expression, so as to suppress "set but not used" warning.
20164 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20165
69f63097
RM
20166 * string/strncat.c (STRNCAT): Use prototype definition.
20167
675456ef
RM
20168 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20169 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20170 -Iprograms here.
20171 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20172 (localedef-modules): Add localedef.
20173 (locale-modules): Add locale.
20174
5e4287d1
RM
20175 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20176 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20177 to avoid a warning.
20178
9c96ff23
DM
201792011-08-14 David S. Miller <davem@davemloft.net>
20180
20181 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20182 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20183
f9ddf089
UD
201842011-08-13 Ulrich Drepper <drepper@gmail.com>
20185
44f0a71e 20186 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20187 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20188 * elf/rtld.c (dl_main): Set l_name of vDSO.
20189 Call _dl_show_scope when DL_DEBUG_SCOPES.
20190 (process_dl_debug): Recognize scopes flag and also set it for all.
20191 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20192 Declare _dl_show_scope.
20193
1dc27704
UD
20194 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20195 (do_dlopen): Pass caller_dlopen to dl_open.
20196 (__libc_dlopen_mode): Initialize caller_dlopen.
20197
f9ddf089
UD
20198 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20199 of libc. Make tolower call locale-independent. Optimize a bit by
20200 using isdigit instead of isalnum.
20201 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20202
9ac533d3
UD
202032011-08-12 Ulrich Drepper <drepper@gmail.com>
20204
20205 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20206 was a dependency or dynamically loaded.
20207
89edf2e9
UD
202082011-08-11 Ulrich Drepper <drepper@gmail.com>
20209
8e999d29
UD
20210 * intl/l10nflist.c: Allow architecture-specific pop function.
20211 * sysdeps/x86_64/l10nflist.c: New file.
20212
89edf2e9
UD
20213 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20214 classification.
20215
14d96785
AS
202162011-08-10 Andreas Schwab <schwab@redhat.com>
20217
20218 * include/dirent.h: Add libc_hidden_proto for scandirat and
20219 scandirat64. Don't declare __scandirat64.
20220 * dirent/scandirat.c: Add libc_hidden_def.
20221 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20222 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20223
6761ac04
DM
202242011-08-10 David S. Miller <davem@davemloft.net>
20225
20226 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20227 enum.
20228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20230 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20231
c55fbd1e
UD
202322011-08-09 Ulrich Drepper <drepper@gmail.com>
20233
20234 * Versions.def [libc]: Add GLIBC_2.15.
20235 * dirent/Makefile (routines): Add scandirat and scandirat64.
20236 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20237 GLIBC_2.15.
20238 * dirent/dirent.h: Declare scandirat and scandirat64.
20239 * dirent/scandirat.c: New file.
20240 * dirent/scandirat64.c: New file.
20241 * sysdeps/wordsize-64/scandirat.c: New file.
20242 * sysdeps/wordsize-64/scandirat64.c: New file.
20243 * dirent/opendir.c: Define opendirat.
20244 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20245 using scandirat.
20246 * dirent/scandir64.c: Adjust for scandir.c change.
20247 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20248 __scandirat64, and __scandir_cancel_handler.
20249 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20250 additional parameter and use openat instead of open (outside of ld.so).
20251 Add new __opendir as wrapper around __opendirat.
20252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20253 here without requiring old scandirat implementation.
20254
879165f2
UD
202552011-08-08 Ulrich Drepper <drepper@gmail.com>
20256
20257 * dirent/scandir.c (cancel_handler): Renamed to
20258 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20259 defined. Adjust users.
20260 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20262
cb7e923b
UD
202632011-08-04 Ulrich Drepper <drepper@gmail.com>
20264
16292edd
UD
20265 * string/test-string.h (IMPL): Use __STRING to expand name and then
20266 stringify it.
20267
cb7e923b
UD
20268 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20269 of cleanups.
20270
cff82933
LD
202712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20272
20273 * string/Makefile: Update.
20274 (strop-tests): Append strncat.
20275 * string/test-wcscmp.c: New file.
20276 New comprehensive test for wcscmp.
20277 * string/test-strcmp.c: Update.
20278 (WIDE): New define.
20279
9be9bfcc
AS
202802011-07-22 Andreas Schwab <schwab@redhat.com>
20281
20282 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20283 line.
20284
2e96f1c7
AS
202852011-07-26 Andreas Schwab <schwab@redhat.com>
20286
20287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20288 encoding to ACE if AI_IDN.
20289
85188888
JJ
202902011-08-01 Jakub Jelinek <jakub@redhat.com>
20291
20292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20293 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20294
5fa16e9b
LD
202952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20296
20297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20298 Fix overflow bug in strncat.
20299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20300
20301 * string/test-strncat.c: Update.
20302 Add new tests for checking overflow bugs.
20303
203042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20305
20306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20307 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20308 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20309 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20311 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20312 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20313 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20314 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20315
20316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20317 (USE_AS_STRCAT): Define.
20318 Add strcat and strncat support.
20319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20320
8c1a459f
AS
203212011-07-25 Andreas Schwab <schwab@redhat.com>
20322
20323 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20324 __n bigger than INT_MAX+1.
20325 (__strncmp_g): Likewise.
20326
bba33c28
UD
203272011-07-23 Ulrich Drepper <drepper@gmail.com>
20328
798be72d
UD
20329 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20330 * libio/stido.h: Likewise.
20331
8accd4dc
UD
20332 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20333 (AF_NFC): Define.
20334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20335 (AF_NFC): Define.
20336
cbff0d96
UD
20337 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20340 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20342
9191c04a
UD
20343 [BZ #13021]
20344 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20345 installed.
20346
bba33c28
UD
20347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20348 typo.
20349 (_dl_x86_64_save_sse): Likewise.
20350
90f139dd
UD
203512011-07-22 Ulrich Drepper <drepper@gmail.com>
20352
1aae088a
UD
20353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20354 OSXSAVE.
20355 (_dl_x86_64_save_sse): Likewise.
20356
8e2045f5
UD
20357 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20358
90f139dd
UD
20359 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20360
1d002f25
AS
203612011-07-21 Andreas Schwab <schwab@redhat.com>
20362
20363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20364 change.
20365 (_dl_x86_64_save_sse): Use correct AVX check.
20366
21137f89
UD
203672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20368
20369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20370 bug in strncpy/strncat.
20371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20372
a65c0b7a
UD
203732011-07-21 Ulrich Drepper <drepper@gmail.com>
20374
20375 * string/tester.c (test_strcat): Add tests for different alignments
20376 of source and destination.
20377 (test_strncat): Likewise.
20378
6986b98a
UD
203792011-07-20 Ulrich Drepper <drepper@gmail.com>
20380
90bb2039
UD
20381 [BZ #12852]
20382 * posix/glob.c (glob): Check passed in values before using them in
20383 expressions to avoid some overflows.
20384 (glob_in_dir): Likewise.
20385
5644ef54
UD
20386 [BZ #13007]
20387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20388 check for AVX enablement so that we don't crash with old kernels and
20389 new hardware.
20390 * elf/tst-audit4.c: Add same checks here.
20391 * elf/tst-audit6.c: Likewise.
20392
20393 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20394
bfc9dc9b
AS
203952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20396
20397 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20398
702e64bb
UD
203992011-07-20 Ulrich Drepper <drepper@gmail.com>
20400
20401 * po/cs.po: Update from translation team.
20402 * po/bg.po: Likewise.
20403
295e904f
MP
204042011-07-12 Marek Polacek <mpolacek@redhat.com>
20405
20406 * misc/sys/cdefs.h: Add support for const attribute.
20407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20408 to gnu_dev_{major,minor,makedev} functions.
20409
3ff94596
MP
204102011-07-20 Marek Polacek <mpolacek@redhat.com>
20411
20412 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20413
28b59fca
AS
204142011-07-20 Andreas Schwab <schwab@redhat.com>
20415
20416 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20417 strlen results.
20418
19df733e
AK
204192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20420
20421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20422 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20423 register in order to avoid conflicts with the soft frame pointer
20424 being held in r11 when necessary.
20425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20426 (INTERNAL_VSYSCALL_NCS): Likewise.
20427
c8835729
MP
204282011-07-14 Marek Polacek <mpolacek@redhat.com>
20429
20430 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20431 * elf/dl-fini.c (_dl_fini): Adjust caller.
20432 * elf/dl-close.c (_dl_close_worker): Likewise.
20433 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20434
b902330c
MP
204352011-07-15 Marek Polacek <mpolacek@redhat.com>
20436
8991e135
MP
20437 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20438 "aux_cache->nlibs < 0".
20439
b902330c
MP
20440 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20441 in the reload-count case.
20442
99710781
LD
204432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20444
20445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20446 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20447 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20449 * sysdeps/x86_64/multiarch/strcat.S: New file.
20450 * sysdeps/x86_64/multiarch/strncat.S: New file.
20451 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20453 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20454 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20456 (USE_AS_STRCAT): Define.
20457 Add strcat and strncat support.
20458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20460 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20461 * string/strncat.c: Update.
20462 (USE_AS_STRNCAT): Define.
20463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20464 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20465 and i7.
20466 * sysdeps/x86_64/multiarch/init-arch.h
20467 (bit_Prefer_PMINUB_for_stringop): New.
20468 (index_Prefer_PMINUB_for_stringop): Likewise.
20469 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20470 bit_Prefer_PMINUB_for_stringop.
20471
7dc6bd90
UD
204722011-07-19 Ulrich Drepper <drepper@gmail.com>
20473
20474 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20475 buffer64.
20476 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20477 of casting of buffer.
20478 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20479 buffer32 and buffer64.
20480 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20481 writes instead of casting of buffer.
20482 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20483 buffer32.
20484 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20485 casting of buffer.
20486
e0e72284
AS
204872011-07-19 Andreas Schwab <schwab@redhat.com>
20488
20489 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20490
feb1eb0b
UD
204912011-07-19 Ulrich Drepper <drepper@gmail.com>
20492
20493 * nscd/nscd.c (termination_handler): Don't do anything for a database
20494 if it has not yet been initialized.
20495
298711ff
UD
204962011-07-18 Ulrich Drepper <drepper@gmail.com>
20497
20498 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20499
205002011-07-15 Marek Polacek <mpolacek@redhat.com>
20501
20502 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20503
f9d68389
UD
205042011-07-18 Ulrich Drepper <drepper@gmail.com>
20505
20506 * po/nl.po: Update from translation team.
20507 * po/sv.po: Likewise.
20508
db290cf5
RM
205092011-07-16 Roland McGrath <roland@hack.frob.com>
20510
20511 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20512 now disallowed by GCC.
5c550700 20513
fd5e21c7
RM
20514 * configure.in (use-default-link): Default to yes if a test -shared
20515 link meets our qualifications.
20516 * configure: Regenerated.
20517
5c550700
RM
20518 * config.make.in (output-format): New variable.
20519 * configure.in: Check for ld --print-output-format support.
20520 * configure: Regenerated.
20521 * Makerules ($(common-objpfx)format.lds)
20522 [$(output-format) != unknown]: Just use $(output-format),
20523 instead of the linker-script munging.
20524
9fa2c032
RM
205252011-07-14 Roland McGrath <roland@hack.frob.com>
20526
a6928d51
RM
20527 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20528 of $(common-objpfx)shlib.lds.
20529 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20530
661607b3
RM
20531 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20532 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20533
9fa2c032
RM
20534 * configure.in (-z relro check): Adjust test code to add a large
20535 writable data section after it.
20536 * configure: Regenerated.
20537
defe9061
RM
205382011-07-11 Roland McGrath <roland@hack.frob.com>
20539
20540 * configure.in (-z relro check): Fix test code to make the variable
20541 truly const.
20542 * configure: Regenerated.
20543
319b9ad4
UD
205442011-07-11 Ulrich Drepper <drepper@gmail.com>
20545
20546 * nscd/nscd.h (struct traced_file): Define.
20547 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20548 elements. Add traced_files.
20549 (inotify_fd): Declare.
20550 (register_traced_file): Declare.
20551 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20552 (inotify_fd): Export.
20553 (resolv_conf_descr): Remove.
20554 (nscd_init): Move inotify descriptor creation to main.
20555 Don't register files for notification here.
20556 (register_traced_file): New function.
20557 (invalidate_cache): Don't use reset_res to determine whether to call
20558 res_init, go through the list of registered files.
20559 (main_loop_poll): The inotify descriptors are now stored in the
20560 structures for the traced files.
20561 (main_loop_epoll): Likewise
20562 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20563 to __nss_disable_nscd.
20564 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20565 for a database anymore. Check the records for all the registered
20566 files instead.
20567 * nss/Makefile (libnss_files-routines): Add files-init.
20568 (libnss_db-routines): Add db-init.
20569 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20570 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20571 * nss/nss_db/db-init.c: New file.
20572 * nss/nss_files/files-init.c: New file.
20573 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20574 __nss_lookup_function.
20575 (__nss_lookup_function): Call nss_load_library.
20576 (nss_load_all_libraries): New function.
20577 (__nss_disable_nscd): Take parameter with callback function for files
20578 to register. Set is_nscd. Load all the DSOs for the NSS modules
20579 used for the cached services.
20580 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20581 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20582 options for features to all the files in nscd.
20583
20584 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20585
23bee3e8
RM
205862011-07-10 Roland McGrath <roland@hack.frob.com>
20587
20588 * csu/elf-init.c (__libc_csu_init): Comment typo.
20589
46a5b7f0
UD
205902011-07-09 Ulrich Drepper <drepper@gmail.com>
20591
20592 * po/pl.po: Update from translation team.
20593 * po/ja.po: Likewise.
20594 * po/ru.po: Likewise.
20595 * po/ko.po: Likewise.
20596 * po/fr.po: Likewise.
20597
d30cf5bb
RM
205982011-07-09 Roland McGrath <roland@hack.frob.com>
20599
113ddea4
RM
20600 * configure.in (.ctors/.dtors header and trailer check):
20601 Use an empirical test on a built program.
20602 * configure: Regenerated.
20603
574920b4
RM
20604 * configure.in (-z relro check): Use an empirical test on a built DSO.
20605 Detect, but do not require, on ia64.
20606 * configure: Regenerated.
20607
d30cf5bb
RM
20608 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20609 Update tests that use readelf to use $READELF instead.
20610 * configure: Regenerated.
20611
8538fdb3
UD
206122011-07-08 Ulrich Drepper <drepper@gmail.com>
20613
20614 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20615 if the result is not used.
20616
04d08991
AJ
206172011-07-05 Andreas Jaeger <aj@suse.de>
20618
20619 [BZ#9696]
20620 * stdlib/tst-strtod.c: Add testcase.
20621
de283087
AD
206222011-07-07 Ulrich Drepper <drepper@gmail.com>
20623
4e5f31c8 20624 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20625 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20626 The latter has a higher limit. Take additional parameter to pass to
20627 the new function.
20628 (__pathconf): Pass file to __statfs_link_max.
20629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20630 __statfs_link_max.
20631 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20632 __statfs_link_max.
20633
de283087
AD
20634 [BZ #12868]
20635 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20636 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20637 Handle Lustre.
20638 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20639 (__statfs_filesize_max): Likewise.
20640 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20641
c75fa153
AJ
206422011-07-05 Andreas Jaeger <aj@suse.de>
20643
20644 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20645
1a544854
UD
206462011-07-06 Marek Polacek <mpolacek@redhat.com>
20647
20648 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20649 `status' variable.
20650 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20651 Likewise.
20652
6f0eec67
UD
206532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20654
20655 * Makefile (strop-tests): Add strncat.
20656 * string/test-strncat.c: New file.
20657
aae30307
UD
206582011-06-30 Marek Polacek <mpolacek@redhat.com>
20659
20660 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20661
c0cfb5eb
UD
206622011-06-21 Andreas Jaeger <aj@suse.de>
20663
20664 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20665 Copy rule from iconvdata/Makefile.
20666
01636b21
UD
206672011-07-06 Ulrich Drepper <drepper@gmail.com>
20668
20669 [BZ #12922]
20670 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20671 but no long options are defined, just return 'W'.
20672
9895c8bc
UD
206732011-06-22 Marek Polacek <mpolacek@redhat.com>
20674
20675 [BZ #9696]
20676 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20677
5d4cf042
UD
206782011-07-06 Ulrich Drepper <drepper@gmail.com>
20679
20680 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20681 netgroups to read.
960e5535 20682 (innetgr): Likewise.
5d4cf042 20683
751eb97e
RM
206842011-07-05 Roland McGrath <roland@hack.frob.com>
20685
20686 * config.make.in (install_root): Default to $(DESTDIR).
20687
f15f1e45
UD
206882011-07-05 Ulrich Drepper <drepper@gmail.com>
20689
20690 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20691
4e34ac6a
RM
206922011-07-02 Roland McGrath <roland@hack.frob.com>
20693
5e9b6af4
RM
20694 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20695
84f9ea0f
RM
20696 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20697 containing directory rather than embedding absolute directory names.
20698
ea5ee9f7
RM
20699 * scripts/check-local-headers.sh: Rewritten using awk.
20700 Match by word, not by line. Print error messages for matches.
20701 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20702
1b74661a
RM
20703 * Makerules [shlib-lds-flags empty]:
20704 ($(common-objpfx)libc_pic.opts): New target.
20705 ($(common-objpfx)libc_pic.os.clean): New target.
20706 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20707
20708 * config.make.in (OBJCOPY): New variable.
20709 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20710 * configure: Regenerated.
20711
f781ef40
RM
20712 * config.make.in (use-default-link): New variable.
20713 * configure.in (use_default_link): Grok --with-default-link to set it.
20714 * configure: Regenerated.
20715 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20716 (shlib-lds, shlib-lds-flags): Define to empty.
20717
2d4fa81e
RM
20718 * Makerules (shlib-lds): New variable.
20719 (shlib-lds-flags): New variable.
20720 (build-shlib, build-moduile, build-module-asneeded): Use it.
20721 ($(common-objpfx)libc.so): Use $(shlib-lds).
20722 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20723 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20724
31fffa6b
RM
20725 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20726 DT_FLAGS/DT_FLAGS_1 with zero flags.
20727
4e34ac6a
RM
20728 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20729 linker script munging.
20730
fcfc776b
UD
207312011-07-02 Ulrich Drepper <drepper@gmail.com>
20732
20733 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20734 as 128-bit value.
20735 * crypt/sha512.c (sha512_process_block): Perform total addition using
20736 128-bit if possible.
20737 (__sha512_finish_ctx): Likewise.
20738 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20739 as 64-bit value.
20740 * crypt/sha256.c (SWAP64): Define.
20741 (sha256_process_block): Perform total addition using 64-bit if
20742 possible.
20743 (__sha256_finish_ctx): Likewise.
20744
99231d9a
UD
207452011-07-01 Ulrich Drepper <drepper@gmail.com>
20746
20747 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20749 * nscd/hstcache.c (cache_addhst): Likewise.
20750 * nscd/grpcache.c (cache_addgr): Likewise.
20751 * nscd/aicache.c (addhstaiX): Likewise
20752 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20753
445b4a53
TK
207542011-07-01 Thorsten Kukuk <kukuk@suse.de>
20755
20756 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20758 * nscd/hstcache.c (cache_addhst): Likewise.
20759 * nscd/grpcache.c (cache_addgr): Likewise.
20760 * nscd/aicache.c (addhstaiX): Likewise
20761
6d4d8e8e
AS
207622011-07-01 Andreas Schwab <schwab@redhat.com>
20763
20764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20765 domain only when needed.
20766
89f654c5
AS
207672011-06-30 Andreas Schwab <schwab@redhat.com>
20768
20769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20770 is always restored.
20771
cf3b23ff
UD
207722011-06-29 Ulrich Drepper <drepper@gmail.com>
20773
20774 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20775 are re-adding the entry.
20776 * nscd/servicescache.c (cache_addserv): Likewise.
20777
751626f9
AJ
207782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20779
20780 * sysdeps/generic/dl-irel.h: fix protection against multiple
20781 inclusions.
20782 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20783
9113ea1f
UD
207842011-06-28 Ulrich Drepper <drepper@gmail.com>
20785
5c0b8d90
UD
20786 [BZ #12935]
20787 * malloc/memusage.sh: Fix quoting in message.
20788 * debug/xtrace.sh: Likewise.
20789
9113ea1f
UD
20790 * configure.in: Remove support for --experimental-malloc option, make
20791 it the default.
20792 * config.make.in: Likewise.
20793 * malloc/Makefile: Likewise.
20794
a4172181
AS
207952011-06-27 Andreas Schwab <schwab@redhat.com>
20796
20797 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20798 two-byte characters.
20799
78a7eee7
RM
208002011-06-27 Roland McGrath <roland@hack.frob.com>
20801
62bede13
RM
20802 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20803 AC_CACHE_CHECK invocation.
20804 * configure: Regenerated.
20805
78a7eee7
RM
20806 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20807
5ce33a62
UD
208082011-06-27 Ulrich Drepper <drepper@gmail.com>
20809
034807a9
UD
20810 [BZ #12350]
20811 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20812 bit from old_res_options.
20813
4902da17
UD
20814 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20815
5ce33a62
UD
20816 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20817 value type for setfct.
20818
c2344f56
L
208192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20822 __gettimeofday instead of gettimeofday.
20823
68468076
UD
208242011-06-26 Ulrich Drepper <drepper@gmail.com>
20825
20826 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20827
acb0d739
L
208282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20829
20830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20831
20832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20833 info.
20834
8912479f
L
208352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20836
20837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20838 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20839 strcpy-sse2-unaligned strncpy-sse2-unaligned
20840 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20841 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20842 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20843 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20844 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20847 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20848 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20849 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20850 (STRCPY): Support SSE2 and SSSE3 versions.
20851
d5495a11
UD
208522011-06-24 Ulrich Drepper <drepper@gmail.com>
20853
20854 [BZ #12874]
20855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20856 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20857 kernels which artificially limit size of requests.
20858
0b1cbaae
L
208592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20862 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20863 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20864 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20865 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20866 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20867 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20868 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20871 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20872 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20873 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20874 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20875 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20877 Enable unaligned load optimization for Intel Core i3, i5 and i7
20878 processors.
20879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20880 Define.
20881 (index_Fast_Unaligned_Load): Define.
20882 (HAS_FAST_UNALIGNED_LOAD): Define.
20883
07f494a0
MP
208842011-06-23 Marek Polacek <mpolacek@redhat.com>
20885
20886 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20887
fa3fc0fe
UD
208882011-06-22 Ulrich Drepper <drepper@gmail.com>
20889
20890 [BZ #12907]
20891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20892 until it is clear that the information is realy needed.
20893 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20894
e12df166
AS
208952011-06-22 Andreas Schwab <schwab@redhat.com>
20896
20897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20898
852eb34d
UD
208992011-06-22 Ulrich Drepper <drepper@gmail.com>
20900
84e2a551
UD
20901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20902 /sys/devices/system/cpu/online if it is usable.
20903
852eb34d
UD
20904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20905 reading the information from the /proc filesystem to once a second.
20906
6e502e19
UD
209072011-06-21 Andreas Jaeger <aj@suse.de>
20908
20909 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20910 NULL after inclusion of kernel headers.
20911
75d39ff2
UD
209122011-06-21 Ulrich Drepper <drepper@gmail.com>
20913
51f9aa6a
UD
20914 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20915 calls to internal_setent.
20916
c0244a9d
UD
20917 [BZ #12885]
20918 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20919 addresses using gethostbyname4_r ignore IPv4 addresses.
20920
c5e3c2ae
UD
20921 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20922 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20923
75d39ff2
UD
20924 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20925
42675c6f
DM
209262011-06-20 David S. Miller <davem@davemloft.net>
20927
20928 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20929 inclusions.
20930 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20931
20932 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20933 (elf_irel): Use it.
20934 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20935 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20936 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20937 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20938 * sysdeps/x86_64/dl-irel.h: Likewise.
20939
20940 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20941 * elf/dl-sym.c: Likewise.
20942
57912a71
UD
209432011-06-15 Ulrich Drepper <drepper@gmail.com>
20944
20945 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20946 need to dereference resplen2.
20947
ee22793d
AS
209482011-06-14 Andreas Schwab <schwab@redhat.com>
20949
20950 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20951
a9e836b0
UD
209522011-06-15 Ulrich Drepper <drepper@gmail.com>
20953
77fb9117
UD
20954 * Makeconfig: Define vardbdir and inst_vardbdir.
20955 * nss/Makefile: Add rules to install db-Makefile.
20956
40c1b22c
UD
20957 * nss/nss_db/db-XXX.c: Cleanup.
20958
9f2da732
UD
20959 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20960 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20961 GLIBC_PRIVATE.
20962 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20963 * nss/makedb.c: Implement -g option to specify that value strings
20964 are generated and should not be added to table iterated over for
20965 get*ent calls.
20966 * nss/nss_db/db-initgroups.c: New file.
20967
82e9a1f7
UD
20968 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20969 interface.
20970
c41af17e
UD
20971 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20972 (internal_getgrouplist): Adjust to name change.
20973 Update use_initgroups_entry if this is not the first call.
20974 * nss/databases.def: Add initgroups entry.
20975
a9e836b0
UD
20976 * nss/makedb.c (compute_tables): Check result of multiple hash table
20977 sizes to minimize maximum chain length.
20978
2666d441
UD
209792011-06-14 Ulrich Drepper <drepper@gmail.com>
20980
20981 * Versions.def: Add entry for libnss_db.
20982 * shlib-versions: Likewise.
20983 * nss/Makefile: Add rules to build libnss_db.
20984 * nss/Versions: Add libnss_db information. Organize libnss_files
20985 entries better.
20986 * nss/db-Makefile: Add gshadow support. Change rules for the new
20987 makedb progra. Some minor improvements to generate smaller files.
20988 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20989 here from...
20990 * nss/makedb.c: ...here.
20991 Improve database format to be smaller and require less memory at
20992 runtime.
20993 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20994 db anymore.
20995 * nss/nss_db/db-netgrp.c: Likewise.
20996 * nss/nss_db/db-open.c: Likewise.
20997 * nss/nss_files/flies-XXX.x: Adjust comments.
20998 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20999 * nss/nss_files/files-grp.c: Likewise.
21000 * nss/nss_files/files-hosts.c: Likewise.
21001 * nss/nss_files/files-network.c: Likewise.
21002 * nss/nss_files/files-proto.c: Likewise.
21003 * nss/nss_files/files-pwd.c: Likewise.
21004 * nss/nss_files/files-rpc.c: Likewise.
21005 * nss/nss_files/files-service.c: Likewise.
21006 * nss/nss_files/files-sgrp.c: Likewise.
21007 * nss/nss_files/files-spwd.c: Likewise.
21008 * nss/nss_db/db-alias.c: Removed.
21009 * nss/nss_db/dummy-db.h: Removed.
21010
9ee76b5a
UD
210112011-06-02 Ulrich Drepper <drepper@gmail.com>
21012
21013 * nss/makedb.c: Rewritten to not use database library.
21014 * nss/Makefile: Update to build new makedb program.
21015
c71ca1f8
AJ
210162011-06-14 Andreas Jaeger <aj@suse.de>
21017
21018 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21019 memset declaration.
21020
3154bfb8
UD
210212011-06-10 Andreas Schwab <schwab@redhat.com>
21022
21023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21024 tmpbuf.
21025
b350afab
RM
210262011-06-10 Roland McGrath <roland@hack.frob.com>
21027
decd4e50
RM
21028 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21029 * elf/Makefile ($(objpfx)ld.so): Likewise.
21030
5615eaf2
RM
21031 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21032 Don't list ld.so twice in dependencies.
21033
21034 * posix/bug-regex31.c: Include <stdlib.h>.
21035
21036 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21037
21038 * nis/nss_compat/compat-spwd.c
21039 (getspent_next_nss_netgr): Remove unused variable.
21040 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21041
21042 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21043 nonmembers" output to use the right array.
21044
21045 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21046
21047 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21048
21049 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21050 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21051 * catgets/gencat.c (read_input_file): Likewise.
21052 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21053
21054 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21055 variable definition inside #if's controlling its use.
21056
21057 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21058
21059 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21060
21061 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21062
21063 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21064 unreachable code.
21065
21066 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21067
b68e08db
RM
21068 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21069 * configure: Regenerated.
21070
b350afab
RM
21071 * Makerules: Revert last change.
21072 * elf/Makefile: Likewise.
21073
28368601
RM
210742011-06-09 Roland McGrath <roland@hack.frob.com>
21075
21076 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21077 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21078 (reloc-link): Likewise.
21079
11988f8f
UD
210802011-06-09 Ulrich Drepper <drepper@gmail.com>
21081
21082 * elf/Makefile: Add rules to build pldd.
21083 * elf/pldd.c: New file.
21084 * elf/pldd-xx.c: New file.
21085
e80fab37
UD
210862011-06-07 Ulrich Drepper <drepper@gmail.com>
21087
21088 * version.h: Update for 2.15 development version.
21089
9b849836
DM
210902011-06-07 David S. Miller <davem@davemloft.net>
21091
21092 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21093 ifuncs.
21094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21095 elf_machine_lazy_rel): Likewise.
21096 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21098 elf_machine_lazy_rel): Likewise.
21099 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21100 dl_hwcap via passed in argument.
21101 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21102 Likewise.
21103
5a31b283
AK
211042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21105
21106 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21107
069e52f8
RM
211082011-06-06 Roland McGrath <roland@hack.frob.com>
21109
21110 [BZ #12849]
21111 * manual/fdl-1.1.texi: New file, verbatim from:
21112 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21113 * manual/lgpl-2.1.texi: New file, verbatim from:
21114 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21115 * manual/Makefile (licenses): New variable, list those new file names.
21116 (texis): Use it.
21117 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21118
21119 * manual/fdl.texi: File removed.
21120 * manual/lesser.texi: File removed.
21121 * manual/libc.texinfo (Copying, Documentation License):
21122 Use new @include file names, put @appendix directive before @include.
21123
f16846a5
JJ
211242011-06-04 Jakub Jelinek <jakub@redhat.com>
21125
21126 [BZ #12841]
21127 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21128 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21129 (mq_open): Add __NTH.
21130
3d29045b
L
211312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21132
21133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21134 Assume Intel Core i3/i5/i7 processor if AVX is available.
21135
8c297311
UD
211362011-05-31 Ulrich Drepper <drepper@gmail.com>
21137
21138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21139 typo.
21140
c8fc0c91
UD
211412011-05-31 Andreas Schwab <schwab@redhat.com>
21142
21143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21144 memory. Use alloca_account. Fix memory leak when retrying.
21145
5b27a807
UD
211462011-05-31 Ulrich Drepper <drepper@gmail.com>
21147
356f8bc6
UD
21148 * version.h (RELEASE): Bump for 2.14 release.
21149 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21150
5b27a807
UD
21151 * config.make.in (RANLIB): Remove entry.
21152
01f16ab0
UD
211532011-05-30 Ulrich Drepper <drepper@gmail.com>
21154
41fce8bd
UD
21155 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21156 (libc.pot): Work around missing support for .ksh extension in xgettext.
21157
4769ae77
UD
21158 [BZ #12684]
21159 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21160 if both request failed.
21161 (send_dg): In case of server errors clear resplen or *resplen2.
21162
6b1e7d19
UD
21163 [BZ #12454]
21164 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21165 when there are multiple maps.
21166 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21167 (_dl_fini): Remove test here.
21168
01f16ab0
UD
21169 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21170
b1ebd700
UD
211712011-05-29 Ulrich Drepper <drepper@gmail.com>
21172
7ae22829
UD
21173 [BZ #12350]
21174 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21175 bit from old_res_options.
21176 (gaih_inet): Likewise.
21177
553149f6 21178 [BZ #11099]
18a84741 21179 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21180 as signed.
21181
652ffab1
UD
21182 * resolv/res_init.c (res_setoptions): Make the code more compact.
21183
16985fd0
UD
21184 [BZ #11558]
21185 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21186 set RES_USEVC.
21187
0464f746
UD
21188 [BZ #11634]
21189 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21190
7d17596c
UD
21191 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21192
cf6bbbd7
UD
21193 [BZ #11781]
21194 * malloc/malloc.h: Declare malloc hook variables as volatile.
21195
13f1ab36
UD
21196 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21197 in last patch.
21198
b1ebd700
UD
21199 [BZ #11799]
21200 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21201 raise in the comment.
80e2212d
UD
21202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21204 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21205
ce67228d
UD
212062011-05-28 Ulrich Drepper <drepper@gmail.com>
21207
8887a920
UD
21208 [BZ #12811]
21209 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21210 grow the buffers more if it already has to be sufficient.
21211 (build_wcs_upper_buffer): Likewise.
21212 * posix/regexec.c (check_matching): Likewise.
21213 (clean_state_log_if_needed): Likewise.
21214 (extend_buffers): Don't enlarge buffers beyond size of the input
21215 buffer.
21216 Patches mostly by Emil Wojak <emil@wojak.eu>.
21217 * posix/bug-regex32.c: New file.
21218 * posix/Makefile (tests): Add bug-regex32.
21219
4f031072
UD
21220 * locale/findlocale.c (_nl_find_locale): Return right away if
21221 _nl_explode_name failed.
21222 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21223
d0478f0c
UD
21224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21225
de81b246
UD
21226 * debug/xtrace.sh: Unify messages.
21227 * malloc/memusage.sh: Likewise.
21228
c738465a
UD
21229 [BZ #12813]
21230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21231 time symbol from vDSO. Substitute with vsyscall if not available.
21232 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21233 __vdso_time.
21234
f1f929d7
UD
21235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21236 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21238 Add sendmmsg and internal_sendmmsg.
21239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21240 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21242
ce67228d
UD
21243 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21244 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21246
e57420c6
UD
212472011-05-27 Ulrich Drepper <drepper@gmail.com>
21248
a8509ca5
UD
21249 [BZ #12813]
21250 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21251 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21252 available.
21253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21254 __vdso_getcpu.
21255
e57420c6
UD
21256 [BZ #12814]
21257 * iconvdata/Makefile (tests): Add bug-iconv9.
21258 * iconvdata/bug-iconv9.c: New file.
21259
4d07db15
AS
212602011-05-27 Andreas Schwab <schwab@redhat.com>
21261
21262 [BZ #12814]
21263 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21264
ea486f69
JJ
212652011-05-25 Jakub Jelinek <jakub@redhat.com>
21266
21267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21268 (struct user_regs_struct): Change intcs field back to cs.
21269
6f038433
UD
212702011-05-25 Ulrich Drepper <drepper@gmail.com>
21271
21272 * po/ja.po: Update from translation team.
21273
67f86a25
UD
212742011-05-23 Ulrich Drepper <drepper@gmail.com>
21275
21276 [BZ #12795]
21277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21278 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21279
def7fbd6
AS
212802011-05-20 Andreas Schwab <schwab@redhat.com>
21281
21282 * stdlib/longlong.h: Update from GCC.
21283
f50ef8f1
AS
212842011-05-23 Andreas Schwab <schwab@redhat.com>
21285
21286 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21287 parameter name.
21288 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21289 Add parameter name.
21290 (__sysconf): Pass it down.
21291
de7ce8f1
UD
212922011-05-22 Ulrich Drepper <drepper@gmail.com>
21293
f2962a71
UD
21294 [BZ #12671]
21295 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21296 some situations.
21297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21298 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21299 add in in __libc_use_alloca calls. Adjust callers.
21300 (glob): Use malloc in some situations.
21301
de7ce8f1
UD
21302 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21303 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21304 pltexit.
21305
aec84f53
UD
213062011-05-21 Ulrich Drepper <drepper@gmail.com>
21307
05bb4a68
UD
21308 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21309 and CLOCK_BOOTTIME_ALARM.
21310
7ea72f99
UD
21311 [BZ #12782]
21312 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21313 is returned.
21314
7e4afad5
UD
21315 * string/_strerror.c (__strerror_r): Print negative errors as signed
21316 numbers.
21317
8e211fec
UD
21318 [BZ #12777]
21319 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21320 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21321 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21322
f7d82dc9
UD
21323 * configure.in: Fix typo in redirection and correct removal of test
21324 files in two cases.
21325
cc9e536d
UD
21326 [BZ #12788]
21327 * locale/setlocale.c (new_composite_name): Fix test to check for
21328 identical name of all categories.
21329
aec84f53
UD
21330 [BZ #12792]
21331 * libio/filedoalloc.c (local_isatty): New function.
21332 (_IO_file_doallocate): Use local_isatty.
21333 * stdio-common/perror.c (perror): In case a new stream is used
21334 forward the stream error.
21335 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21336 error flag.
21337
78e64fdc
RT
213382011-05-20 Ulrich Drepper <drepper@gmail.com>
21339
34a9094f
UD
21340 [BZ #11869]
21341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21342 alloca.
21343 * include/alloca.h (extend_alloca_account): Define.
21344
78e64fdc
RT
21345 [BZ #11857]
21346 * posix/regex.h: Fix comments with documentation of user-accessible
21347 fields after compilation and describe correct free'ing of pattern
21348 after re_compile_pattern.
21349 Patch by Reuben Thomas <rrt@sc3d.org>.
21350
457bddfc
RA
213512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21352
21353 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21354 and -mno-altivec to prevent the compiler from using Altivec and/or
21355 VSX instructions when the corresponding registers are not available.
21356
a4527b51
AS
213572011-05-19 Andreas Schwab <schwab@redhat.com>
21358
21359 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21360
ed690b2f
UD
213612011-05-19 Ulrich Drepper <drepper@gmail.com>
21362
21363 * libio/freopen.c (freopen): Use __dup2, not dup2.
21364 * libio/freopen64.c (freopen64): Likewise.
21365
8db73634
L
213662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21367
21368 [BZ #12775]
21369 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21370 * math/Makefile (tests): Add test-powl.
21371 (CFLAGS-test-powl.c): Define.
21372 * math/test-powl.c: New file.
21373
0a197a9d
L
213742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21377
ee30c380
UD
213782011-05-17 Ulrich Drepper <drepper@gmail.com>
21379
21380 [BZ #11837]
21381 * iconvdata/gb18030.c: Update to GB18020-2005.
21382
6ce75379
UD
213832011-05-16 Ulrich Drepper <drepper@gmail.com>
21384
a4b89fd8
AR
21385 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21386 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21387 Patch by Aharon Robbins <arnold@skeeve.com>.
21388
ea389b12
UD
21389 [BZ #11892]
21390 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21391 on the stack.
21392
68a3f91f
UD
21393 [BZ #11895]
21394 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21395 through underflows.
21396
15cc7dd1
UD
21397 [BZ #12766]
21398 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21399 point to strings before performing equality test for error_one_per_line
21400 mode.
21401
f3799213
UD
21402 [BZ #11697]
21403 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21404
d79a9c94
UD
21405 [BZ #11820]
21406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21407 (struct user_fpregs_struct): Avoid __uint*_t types.
21408
56e5eb46
UD
21409 [BZ #6420]
21410 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21411 symbol info. Use it instead of calling _dl_addr locally.
21412 (lock_and_info): New function.
21413 (tr_freehook): Call lock_and_info and pass symbol info as additional
21414 parameter to tr_where.
21415 (tr_mallochook): Likewise.
21416 (tr_reallochook): Likewise.
21417 (tr_memalignhook): Likewise.
21418
6ce75379
UD
21419 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21420 used and couldn't be at all thread-safe.
21421
f8a3b5bf
UD
214222011-05-15 Ulrich Drepper <drepper@gmail.com>
21423
94b7cc37
UD
21424 * libio/freopen.c (freopen): Don't close old file descriptor
21425 before the new one is opened. Instead dup the new file descriptor
21426 to the old one after the new stream is created.
21427 * libio/freopen64.c (freopen64): Likewise.
21428 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21429 * libio/fileops.c (_IO_new_file_close_it): Handle new
21430 _IO_FLAGS2_NOCLOSE flag.
21431 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21432 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21433 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21434 _IO_FLAGS2_NOCLOSE flag.
21435 * include/unistd.h: Add hidden_proto for dup3.
21436 Define __have_dup3.
21437 * io/dup3.c: Define hidden symbol.
21438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21439
bd25564e
UD
21440 [BZ #7101]
21441 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21442 when an incomplete long option is used.
21443 * posix/tst-getopt_long1.c: New file.
21444 * posix/Makefile (tests): Add tst-getopt_long1.
21445
c84cfef4
UD
21446 [BZ #10138]
21447 * scripts/config.guess: Update from autoconf-2.68.
21448 * scripts/config.sub: Likewise.
21449
3b85df27
UD
21450 [BZ #10157]
21451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21452 tests into ...
21453 (has_cpuclock): ...this. New function.
21454 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21455 macro here based on has_cpuclock code.
21456
15a856b1
UD
21457 [BZ #10149]
21458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21459 First byte (not low byte) is now always NUL.
21460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21461
05f399e6
UD
21462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21463 Use non-cancelable interfaces.
21464
10a52685 21465 [BZ #9809]
94ecc67d
UD
21466 * locale/iso-639.def: Add entry for Sorani.
21467
f8a3b5bf
UD
21468 [BZ #11901]
21469 * include/stdlib.h: Move include protection to the right place.
21470 Define abort_msg_s. Declare __abort_msg with it.
21471 * stdlib/abort.c (__abort_msg): Adjust type.
21472 * assert/assert.c (__assert_fail_base): New function. Majority
21473 of code from __assert_fail. Allocate memory for __abort_msg with
21474 mmap.
21475 (__assert_fail): Now call __assert_fail_base.
21476 * assert/assert-perr.c: Remove bulk of implementation. Use
21477 __assert_fail_base.
21478 * include/assert.hL Declare __assert_fail_base.
21479 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21480 mmap.
21481 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21482
1af4e298
UD
214832011-05-14 Ulrich Drepper <drepper@gmail.com>
21484
f8a3b5bf 21485 [BZ #11952]
d26dfc60
MG
21486 [BZ #12453]
21487 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21488 until all modules are registered in the DTV.
21489 * elf/Makefile: Add rules to build and run tst-tls19.
21490 * elf/tst-tls19.c: New file.
21491 * elf/tst-tls19mod1.c: New file.
21492 * elf/tst-tls19mod2.c: New file.
21493 * elf/tst-tls19mod3.c: New file.
21494 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21495
2fc54d6f
UD
21496 [BZ #12083]
21497 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21498 correctly.
21499
98d76b46
UD
21500 [BZ #12601]
21501 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21502 two-byte sequence errors.
21503 * iconvdata/Makefile (tests): Add bug-iconv8.
21504 * iconvdata/bug-iconv8.c: New file.
21505
da3c19ef
UD
21506 [BZ #12626]
21507 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21508 buf2 definition.
21509
ca408c15
UD
21510 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21511
d6f67f7d
UD
21512 [BZ #12432]
21513 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21514 (dummy_getcfa): New function.
21515 (init): Get _Unwind_GetCFA address, use dummy if not found.
21516 (backtrace_helper): In recursion check, also check whether CFA changes.
21517 (__backtrace): Completely initialize arg.
21518
1af4e298 21519 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21520 storing incomplete byte sequence in state object. Avoid testing for
21521 guaranteed too small input if we know there is enough data available.
1af4e298 21522
da62f81b
AS
215232011-05-11 Andreas Schwab <schwab@redhat.com>
21524
21525 * Makeconfig (+link-pie): Indent.
21526 * Rules (binaries-pie): Define if $(have-fpie) and
21527 $(build-shared).
21528 (binaries-shared): Also filter out $(binaries-pie).
21529 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21530 * nscd/Makefile (others-pie): Add nscd.
21531 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21532 ($(objpfx)nscd): Remove command override.
21533 * login/Makefile (others-pie): Add pt_chown.
21534 ($(objpfx)pt_chown): Remove command override.
21535 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21536 remove command overrides.
21537
fcabc0f8
UD
215382011-05-13 Ulrich Drepper <drepper@gmail.com>
21539
20030ae6
UD
21540 * libio/tst_putwc.c: Fix error messages.
21541
fcabc0f8
UD
21542 [BZ #12724]
21543 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21544 currently writing and seek to current position when not.
21545 * libio/Makefile (tests): Add bug-fclose1.
21546 * libio/bug-fclose1.c: New file.
21547
320a5dc0
PB
215482011-05-12 Ulrich Drepper <drepper@gmail.com>
21549
21550 [BZ #12511]
21551 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21552 don't set DF_1_NODELETE here.
21553 (do_lookup_x): When entering new entry test for copy relocation
21554 and if necessary set DF_1_NODELETE flag.
21555 * elf/tst-unique4.cc: New file.
21556 * elf/tst-unique4.h: New file.
21557 * elf/tst-unique4lib.cc: New file.
21558 * elf/Makefile: Add rules to build and run tst-unique4.
21559 Patch by Piotr Bury <pbury@goahead.com>.
21560
22836f52
UD
215612011-05-11 Ulrich Drepper <drepper@gmail.com>
21562
f574184a
UD
21563 [BZ #12052]
21564 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21565
e1fb097f
UD
21566 [BZ #12625]
21567 * misc/mntent_r.c (addmntent): Flush the stream after the output
21568
22836f52
UD
21569 [BZ #12393]
21570 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21571 (is_trusted_path_normalize): Skip initial colon. Append slash
21572 to empty buffer. Duplicate is_trusted_path code but allow
21573 constructed patch to be prefix.
21574 (is_dst): Allow $ORIGIN followed by /.
21575 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21576 Correct testing of result of is_trusted_path_normalize
21577 (decompose_rpath): Fix warning.
21578
7b3b0b2a
UD
215792011-05-10 Ulrich Drepper <drepper@gmail.com>
21580
21581 [BZ #11257]
21582 * grp/initgroups.c (internal_getgrouplist): When we found the service
21583 list through the initgroups entry in nsswitch.conf do not always
21584 continue on a successful lookup. Don't always use the
eac80ce2 21585 __nss_group_database value if it is set.
7b3b0b2a
UD
21586 * nss/nsswitch.conf (initgroups): Change action for successful db
21587 lookup to continue for compatibility.
21588
2a81eaa5
UD
215892011-05-09 Ulrich Drepper <drepper@gmail.com>
21590
be97a69e
UD
21591 [BZ #11532]
21592 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21593 and CP774 modules.
21594 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21595 and CP774 modules.
21596 * iconvdata/tst-tables.sh: Likewise.
21597 * iconvdata/cp770.c: New file.
21598 * iconvdata/cp771.c: New file.
21599 * iconvdata/cp772.c: New file.
21600 * iconvdata/cp773.c: New file.
21601 * iconvdata/cp774.c: New file.
21602 * iconvdata/testdata/CP770: New file.
21603 * iconvdata/testdata/CP770..UTF8: New file.
21604 * iconvdata/testdata/CP771: New file.
21605 * iconvdata/testdata/CP771..UTF8: New file.
21606 * iconvdata/testdata/CP772: New file.
21607 * iconvdata/testdata/CP772..UTF8: New file.
21608 * iconvdata/testdata/CP773: New file.
21609 * iconvdata/testdata/CP773..UTF8: New file.
21610 * iconvdata/testdata/CP774: New file.
21611 * iconvdata/testdata/CP774..UTF8: New file.
21612
21613 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21614 END CHARMAP line.
21615 * iconvdata/gen-8bit-gap.sh: Likewise.
21616 * iconvdata/gen-8bit.sh: Likewise.
21617
c1e9e399
UD
21618 * locale/iso-639.def: Add ary entry.
21619
24c55fb3 21620 [BZ #11258]
96b4b1b0
UD
21621 * locale/C-translit.h.in: Add U20A1 transliteration.
21622
bdc2f971
KB
21623 [BZ #12178]
21624 * locale/iso-639.def: Add wae entry.
21625 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21626
2952b117
UD
21627 [BZ #12545]
21628 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21629 for n.
21630
2a81eaa5
UD
21631 [BZ #12711]
21632 * locale/C-translit.h.in: Add entry for U20B9.
21633 Patch by pravin.d.s@gmail.com.
21634
28377d1b
UD
216352011-05-08 Ulrich Drepper <drepper@gmail.com>
21636
7fb90fb8
UD
21637 [BZ #12713]
21638 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21639 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21640 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21641 in rtld. Use *stat64.
7fb90fb8 21642 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21643 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21644 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21645 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21646 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21647 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21648 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21649 __fstatat64 macros.
7fb90fb8
UD
21650 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21651 * dirent/rewinddir.c: Add libc_hidden_def.
21652 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21653 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21654
28377d1b
UD
21655 * include/dirent.h (__alloc_dir): Add flags parameter.
21656 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21657 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21658 __alloc_dir.
21659 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21660 from fdopendir if O_CLOEXEC is already set.
21661
66bdbaa4
AM
216622011-03-15 Alan Modra <amodra@gmail.com>
21663
21664 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21665 l_tls_firstbyte_offset non-zero. Save padding offset in
21666 l_tls_firstbyte_offset for later use.
21667 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21668 freeing static tls block.
21669
95721191
JN
216702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21671
21672 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21673 where #ifdef was intended. The intent is to prevent ARG_MAX from
21674 being defined by the kernel headers.
21675
f87dfb1f
UD
216762011-05-07 Ulrich Drepper <drepper@gmail.com>
21677
21678 [BZ #12734]
21679 * resolv/resolv.h: Define RES_NOTLDQUERY.
21680 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21681 no-tld-query and set RES_NOTLDQUERY.
21682 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21683 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21684 modern BIND to search name as TLD unless forbidden.
21685
47c3cd7a
UD
216862011-05-07 Petr Baudis <pasky@suse.cz>
21687 Ulrich Drepper <drepper@gmail.com>
21688
21689 [BZ #12393]
21690 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21691 (is_trusted_path): ...to here.
c1e9ea35 21692 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21693 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21694 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21695
8a35c912
PP
216962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21697
21698 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21699 __BEGIN/__END_DECLS.
21700
acd41f47
UD
217012011-05-06 Ulrich Drepper <drepper@gmail.com>
21702
21703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21704 NSS_STATUS_NOTFOUND if no record was found.
21705
597df647
AS
217062011-05-05 Andreas Schwab <schwab@redhat.com>
21707
21708 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21709 (headers-not-in-tirpc): Remove rpc/netdb.h
21710 * resolv/netdb.h: Revert last change.
21711
b9af1301
PP
217122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21713
21714 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21715 circular dependency between libgcc.a and libc.a.
21716
4e34d5f5
AS
217172011-05-05 Andreas Schwab <schwab@redhat.com>
21718
21719 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21720 * nis/Makefile: Don't install rpcsvc/*.
21721 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21722 instead of <rpc/types.h>.
21723 (MAXHOSTNAMELEN): Define.
21724
00ee369c
AS
217252011-05-03 Andreas Schwab <schwab@redhat.com>
21726
21727 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21728
0b592a30
MB
217292011-04-28 Maciej Babinski <mbabinski@google.com>
21730
21731 [BZ #12714]
21732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21733 gethostbyname4_r when IPv6 results are possible.
21734
6e04cbbe
UD
217352011-05-02 Ulrich Drepper <drepper@gmail.com>
21736
21737 [BZ #12723]
21738 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21739 _PC_PIPE_BUF handling.
21740
e4ecafe0
BH
217412011-04-30 Bruno Haible <bruno@clisp.org>
21742
21743 [BZ #12717]
21744 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21745 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21746 to 'int'.
21747 * inet/getnameinfo.c (getnameinfo): Likewise.
21748
125ee683
UD
217492011-04-29 Ulrich Drepper <drepper@gmail.com>
21750
21751 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21752 to groups setting in database lookup.
21753 * nss/nsswitch.conf: Add initgroups entry.
21754
b722481a
EB
217552011-04-22 Ulrich Drepper <drepper@gmail.com>
21756
21757 [BZ #12685]
21758 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21759 mode string.
21760 Patch by Eric Blake <eblake@redhat.com>.
21761
4df46dbd
L
217622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sunrpc/Makefile (need-export-routines): Add svc_run.
21765 (routines): Remove svc_run.
21766 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21767 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21768 * sunrpc/svc_run.c (svc_run): Likewise.
21769 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21770
e84142d2
UD
217712011-04-21 Ulrich Drepper <drepper@gmail.com>
21772
21773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21774 problem in reallocation in last patch.
21775
877175d8
UD
217762011-04-20 Ulrich Drepper <drepper@gmail.com>
21777
21778 * sunrpc/Makefile: Move inclusion of Rules.
21779
ab8eed78
UD
217802011-04-19 Ulrich Drepper <drepper@gmail.com>
21781
21782 * nss/nss_files/files-initgroups.c: New file.
21783 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21784 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21785 _nss_files_initgroups_dyn.
21786
e3d8f584
RS
217872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21788
21789 * elf/elf.h (R_ARM_IRELATIVE): Define.
21790
af190f45
UD
217912011-04-19 Ulrich Drepper <drepper@gmail.com>
21792
21793 * po/ru.po: Update from translation team.
21794
53cf59ef
UD
217952011-04-17 Ulrich Drepper <drepper@gmail.com>
21796
21797 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21798 dependencies.
21799
4c559bcd
MF
218002011-02-06 Mike Frysinger <vapier@gentoo.org>
21801
21802 [BZ #12653]
21803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21804 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21808
4420675c
AS
218092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21810
21811 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21812 differing bytes.
21813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21816
75ea32ab
UD
218172011-04-17 Ulrich Drepper <drepper@gmail.com>
21818
21819 [BZ #12420]
21820 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21821 storing it.
21822 * stdlib/bug-getcontext.c: New file.
21823 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21824
27390476
AK
218252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21826
21827 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21828 instructions into .machine "z9-109".
21829 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21830 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21831
10442705
AK
218322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21833
21834 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21835 between environment variables and auxiliary vector.
21836
7b57bfe5
UD
218372011-04-16 Ulrich Drepper <drepper@gmail.com>
21838
21839 * Makefile: Add rules to build linkobj/libc.so.
21840 * include/libc-symbols.h: Define libc_hidden_nolink.
21841 * include/rpc/auth.h: Mark functions which are to be hidden.
21842 * include/rpc/auth_des.h: Likewise.
21843 * include/rpc/auth_unix.h: Likewise.
21844 * include/rpc/clnt.h: Likewise.
21845 * include/rpc/des_crypt.h: Likewise.
21846 * include/rpc/key_prot.h: Likewise.
21847 * include/rpc/pmap_clnt.h: Likewise.
21848 * include/rpc/pmap_prot.h: Likewise.
21849 * include/rpc/pmap_rmt.h: Likewise.
21850 * include/rpc/rpc_msg.h: Likewise.
21851 * include/rpc/svc.h: Likewise.
21852 * include/rpc/svc_auth.h: Likewise.
21853 * include/rpc/xdr.h: Likewise.
21854 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21855 * nss/Makefile: Likewise.
21856 * sunrpc/Makefile: Don't install headers. Build library with normal
21857 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21858 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21859 for the compat linking library. Remove use of INTDEF/INTUSE.
21860 * sunrpc/auth_none.c: Likewise.
21861 * sunrpc/auth_unix.c: Likewise.
21862 * sunrpc/authdes_prot.c: Likewise.
21863 * sunrpc/authuxprot.c: Likewise.
21864 * sunrpc/clnt_gen.c: Likewise.
21865 * sunrpc/clnt_perr.c: Likewise.
21866 * sunrpc/clnt_raw.c: Likewise.
21867 * sunrpc/clnt_simp.c: Likewise.
21868 * sunrpc/clnt_tcp.c: Likewise.
21869 * sunrpc/clnt_udp.c: Likewise.
21870 * sunrpc/clnt_unix.c: Likewise.
21871 * sunrpc/des_crypt.c: Likewise.
21872 * sunrpc/des_soft.c: Likewise.
21873 * sunrpc/get_myaddr.c: Likewise.
21874 * sunrpc/key_call.c: Likewise.
21875 * sunrpc/key_prot.c: Likewise.
21876 * sunrpc/netname.c: Likewise.
21877 * sunrpc/pm_getmaps.c: Likewise.
21878 * sunrpc/pm_getport.c: Likewise.
21879 * sunrpc/pmap_clnt.c: Likewise.
21880 * sunrpc/pmap_prot.c: Likewise.
21881 * sunrpc/pmap_prot2.c: Likewise.
21882 * sunrpc/pmap_rmt.c: Likewise.
21883 * sunrpc/publickey.c: Likewise.
21884 * sunrpc/rpc_cmsg.c: Likewise.
21885 * sunrpc/rpc_common.c: Likewise.
21886 * sunrpc/rpc_dtable.c: Likewise.
21887 * sunrpc/rpc_prot.c: Likewise.
21888 * sunrpc/rpc_thread.c: Likewise.
21889 * sunrpc/rtime.c: Likewise.
21890 * sunrpc/svc.c: Likewise.
21891 * sunrpc/svc_auth.c: Likewise.
21892 * sunrpc/svc_authux.c: Likewise.
21893 * sunrpc/svc_raw.c: Likewise.
21894 * sunrpc/svc_run.c: Likewise.
21895 * sunrpc/svc_simple.c: Likewise.
21896 * sunrpc/svc_tcp.c: Likewise.
21897 * sunrpc/svc_udp.c: Likewise.
21898 * sunrpc/svc_unix.c: Likewise.
21899 * sunrpc/svcauth_des.c: Likewise.
21900 * sunrpc/xcrypt.c: Likewise.
21901 * sunrpc/xdr.c: Likewise.
21902 * sunrpc/xdr_array.c: Likewise.
21903 * sunrpc/xdr_float.c: Likewise.
21904 * sunrpc/xdr_intXX_t.c: Likewise.
21905 * sunrpc/xdr_mem.c: Likewise.
21906 * sunrpc/xdr_rec.c: Likewise.
21907 * sunrpc/xdr_ref.c: Likewise.
21908 * sunrpc/xdr_sizeof.c: Likewise.
21909 * sunrpc/xdr_stdio.c: Likewise.
21910
e6c61494
UD
219112011-04-10 Ulrich Drepper <drepper@gmail.com>
21912
21913 [BZ #12650]
21914 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21915 * sysdeps/ia64/dl-tls.h: Likewise.
21916 * sysdeps/powerpc/dl-tls.h: Likewise.
21917 * sysdeps/s390/dl-tls.h: Likewise.
21918 * sysdeps/sh/dl-tls.h: Likewise.
21919 * sysdeps/sparc/dl-tls.h: Likewise.
21920 * sysdeps/x86_64/dl-tls.h: Likewise.
21921 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21922
34fe483e
AS
219232011-03-14 Andreas Schwab <schwab@redhat.com>
21924
21925 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21926 rpath element also skip the following colon.
21927 (expand_dynamic_string_token): Add is_path parameter and pass
21928 down to DL_DST_REQUIRED and _dl_dst_substitute.
21929 (decompose_rpath): Call expand_dynamic_string_token with
21930 non-zero is_path. Ignore empty rpaths.
21931 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21932 with zero is_path.
21933
f12a32e6
AS
219342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21935
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21937 Make cancelable.
21938
38a7d692
UD
219392011-04-09 Ulrich Drepper <drepper@gmail.com>
21940
21941 [BZ #12655]
21942 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21943 Patch by Filipe David Manana <fdmanana@apache.org>.
21944
e451d22b
AS
219452011-04-07 Andreas Schwab <schwab@redhat.com>
21946
21947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21948 Maintain aligned stack.
21949 (CHECK_RSP): Remove unused macro.
21950
dedc7c7b
UD
219512011-04-03 Ulrich Drepper <drepper@gmail.com>
21952
21953 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21955
94521213
UD
219562011-04-02 Ulrich Drepper <drepper@gmail.com>
21957
21958 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21959
8cb700c0 21960 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21961
0354e355
L
219622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 [BZ #12518]
21965 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21966 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21967 * sysdeps/x86_64/memmove.c: New file.
21968 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21969 (memcpy): Renamed to ...
21970 (__new_memcpy): This.
21971 (memcpy): Provide GLIBC_2_14 memcpy.
21972 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21973 (memcpy): Provide GLIBC_2_2_5 memcpy.
21974
8593482f
UD
219752011-04-01 Ulrich Drepper <drepper@gmail.com>
21976
21977 [BZ #12631]
21978 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21979
81a5726b
AS
219802011-03-30 Andreas Schwab <schwab@redhat.com>
21981
21982 * misc/syncfs.c: New file.
21983 * misc/Makefile (routines): Add syncfs.
21984 * posix/unistd.h: Declare syncfs.
21985 * sysdeps/unix/syscalls.list: Add syncfs.
21986
00e5419f
AS
219872011-04-01 Andreas Schwab <schwab@redhat.com>
21988
21989 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21990 open_by_handle_at.
21991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21996 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21998
748876bf
UD
219992011-04-01 Ulrich Drepper <drepper@gmail.com>
22000
658e451d
UD
22001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22003 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22008
748876bf
UD
22009 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22010 sync_file_range.c with -fexceptions.
22011 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22012 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22013 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22014 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22015 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22016 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22018 sync_file_range as cancellation point
22019 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22020 now a wrapper around __call_sync_file_range with cancellation handling.
22021 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22022 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22023 function name to __call_sync_file_range.
22024 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22025 Add call_sync_file_range.
748876bf 22026
6e63d5e1
AS
220272011-04-01 Andreas Schwab <schwab@redhat.com>
22028
22029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22030 bits/timex.h.
6e63d5e1 22031
46998f74
UD
220322011-04-01 Ulrich Drepper <drepper@gmail.com>
22033
4c1423ed
UD
22034 * iconv/iconv.h: Fix typo in comment.
22035 * io/fcntl.h: Likewise.
22036 * libio/stdio.h: Likewise.
22037 * posix/spawn.h: Likewise.
22038 * posix/unistd.h: Likewise.
22039 * stdlib/stdlib.h: Likewise.
22040 * time/time.h: Likewise.
22041 * wcsmbs/wchar.h: Likewise.
22042
158648c0
UD
22043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22044 open_by_handle): Add.
22045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22046 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22047 Augment a few comments.
22048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22053 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22054 open_by_handle.
22055
46998f74
UD
22056 * io/fcntl.h (AT_EMPTY_PATH): Define.
22057
83fe108b
UD
220582011-03-30 Ulrich Drepper <drepper@gmail.com>
22059
22060 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22061 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22062 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22063 to...
22064 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22065 * Versions.def: Add GLIBC_2.14.
22066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22067 Export.
83fe108b 22068
bb242059
UD
220692011-03-22 Ulrich Drepper <drepper@gmail.com>
22070
22071 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22072 round counter.
22073 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22074
c97a1282
L
220752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22076
22077 [BZ #12597]
22078 * string/test-strncmp.c (do_page_test): New function.
22079 (check2): Likewise.
22080 (test_main): Call check2.
22081 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22082
2a115601
UD
220832011-03-20 Ulrich Drepper <drepper@gmail.com>
22084
22085 [BZ #12587]
22086 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22087 Handle cache information in CPU leaf 4.
22088 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22089
8126d904
UD
220902011-03-18 Ulrich Drepper <drepper@gmail.com>
22091
042c49c6 22092 [BZ #12583]
8126d904
UD
22093 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22094 character representation.
22095 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22096
ccfe366e
RA
220972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22098
22099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22100 END(__isnan) to END(__isnanf) to match function entry point/label
22101 EALIGN(__isnanf,...).
22102
c6e13027
JJ
221032011-03-10 Jakub Jelinek <jakub@redhat.com>
22104
22105 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22106
33f85a3f
UD
221072011-03-10 Ulrich Drepper <drepper@gmail.com>
22108
028478fa
UD
22109 [BZ #12510]
22110 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22111 copy from the symbol referenced in the relocation to initialize the
22112 used variable.
22113 Patch by Piotr Bury <pbury@goahead.com>.
22114 * elf/Makefile: Add rules to build and tst-unique3.
22115 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22116 * elf/tst-unique3.cc: New file.
22117 * elf/tst-unique3.h: New file.
22118 * elf/tst-unique3lib.cc: New file.
22119 * elf/tst-unique3lib2.cc: New file.
22120
33f85a3f
UD
22121 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22122
03592fc7
MF
221232011-03-10 Mike Frysinger <vapier@gentoo.org>
22124
22125 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22126 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22127 to _start.
03592fc7 22128
6a5ee102
UD
221292011-03-06 Ulrich Drepper <drepper@gmail.com>
22130
22131 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22132 to-be-loaded object along a path to loader is ld.so.
22133
7e4ba49c
HJ
221342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22135 Ulrich Drepper <drepper@gmail.com>
22136
22137 * sysdeps/x86_64/memset.S: After aligning destination, code
22138 branches to different locations depending on the value of
22139 misalignment, when multiarch is enabled. Fix this.
22140
221412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22142
22143 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22144 Set _x86_64_preferred_memory_instruction for AMD processsors.
22145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22146 Set bit_Prefer_SSE_for_memop for AMD processors.
22147
13a804de
UD
221482011-03-04 Ulrich Drepper <drepper@gmail.com>
22149
22150 * libio/fmemopen.c (fmemopen): Optimize a bit.
22151
9d25c392
AS
221522011-03-03 Andreas Schwab <schwab@redhat.com>
22153
22154 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22155
a5543c6a
RM
221562011-03-03 Roland McGrath <roland@redhat.com>
22157
22158 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22159
012d35f7
DM
221602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22161
7e4ba49c 22162 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22163 __bzero_ultra1 instead of __memset_ultra1.
22164
4bff6e01
AS
221652011-02-23 Andreas Schwab <schwab@redhat.com>
22166 Ulrich Drepper <drepper@gmail.com>
22167
22168 [BZ #12509]
22169 * include/link.h (struct link_map): Add l_orig_initfini.
22170 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22171 returning unsuccessfully.
22172 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22173 close of a file loaded at startup, restore the original l_initfini
22174 list.
22175 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22176 list, store the pointer.
22177 * elf/Makefile ($(objpfx)noload-mem): New rule.
22178 (noload-ENV): Define.
22179 (tests): Add $(objpfx)noload-mem.
22180 * elf/noload.c: Include <memcheck.h>.
22181 (main): Call mtrace. Close all opened handles.
22182
f2092faf
AS
221832011-02-17 Andreas Schwab <schwab@redhat.com>
22184
22185 [BZ #12454]
22186 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22187 dependencies are missing.
22188
6c8a2e88
ST
221892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22190
f2092faf 22191 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22192 Hurd needs munmap.
22193 * sysdeps/mach/hurd/ifreq.h: New file.
22194
84a42118
PB
221952011-01-27 Petr Baudis <pasky@suse.cz>
22196 Ulrich Drepper <drepper@gmail.com>
22197
071f805e 22198 [BZ 12445]#
84a42118
PB
22199 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22200 to extend_alloca().
22201 * stdio-common/bug23.c: New file.
22202 * stdio-common/Makefile (tests): Add bug23.
22203
e23fe25b
AS
222042010-09-28 Andreas Schwab <schwab@redhat.com>
22205 Ulrich Drepper <drepper@gmail.com>
22206
22207 [BZ #12489]
22208 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22209 before performing relro protection. At old place add assertion
22210 to make sure nothing changed.
22211
d3f02e10
NS
222122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22213 Glauber de Oliveira Costa <glommer@gmail.com>
22214
22215 * elf/elf.h: Add new ARM TLS relocs.
22216
d55fd7a5
RA
222172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22218
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22220 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22221 cast from r3.
22222 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22223 'tests' variable.
22224 * sysdeps/wordsize-64/tst-writev.c: New file.
22225
2206397e
RA
222262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22227
22228 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22229 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22230 insns in _dl_start to prevent a TOC reference before relocs are
22231 resolved.
22232
e9433893
UD
222332011-02-15 Ulrich Drepper <drepper@gmail.com>
22234
22235 [BZ #12469]
22236 * Makeconfig: Remove RANLIB definition.
22237 * Makerules: Don't use RANLIB.
22238 * aclocal.m4: Remove ranlib test.
22239 * configure.in: No need to check for ranlib.
22240 * elf/rtld-Rules: Don't use RANLIB.
22241
f75286c6
ST
222422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22243
8e31c82d
ST
22244 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22245 protection macro.
22246 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22247 inclusion protection macro.
22248
f75286c6
ST
22249 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22250 SIGRTMIN and SIGRTMAX and print information in that case only when
22251 SIGRTMIN is defined.
22252
c1d0e639
JJ
222532011-02-11 Jakub Jelinek <jakub@redhat.com>
22254
22255 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22256 arginfo fn returning -1.
22257
22258 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22259 and thousands string is zero terminated.
22260
edf9294e
AS
222612011-02-03 Andreas Schwab <schwab@redhat.com>
22262
22263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22264 sysdeps/unix/sysv/linux/bits/socket.h.
22265
2b7e92df
ST
222662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22267
edf9294e
AS
22268 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22269 (__CPU_COUNT): Remove old macros.
22270 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22271 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22272 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22273 (__sched_cpualloc, __sched_cpufree): Add declarations.
22274
a4c7ea7b
UD
222752011-02-05 Ulrich Drepper <drepper@gmail.com>
22276
22277 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22278 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22279 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22280 (readdhstai): Return value of addhstaiX call.
22281 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22282 (addgrbyX): Return value returned by cache_addgr.
22283 (readdgrbyname): Return value returned by addgrbyX.
22284 (readdgrbygid): Likewise.
22285 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22286 (addpwbyX): Return value returned by cache_addpw.
22287 (readdpwbyname): Return value returned by addhstbyX.
22288 (readdpwbyuid): Likewise.
22289 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22290 (addservbyX): Return value returned by cache_addserv.
22291 (readdservbyname): Return value returned by addservbyX:
22292 (readdservbyport): Likewise.
22293 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22294 (addhstbyX): Return value returned by cache_addhst.
22295 (readdhstbyname): Return value returned by addhstbyX.
22296 (readdhstbyaddr): Likewise.
22297 (readdhstbynamev6): Likewise.
22298 (readdhstbyaddrv6): Likewise.
22299 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22300 (readdinitgroups): Return value returned by addinitgroupsX.
22301 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22302 (prune_cache): Keep track of timeout value of re-added entries.
22303 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22304 * nscd/nscd.h: Adjust prototypes of readd* functions.
22305
a0bf67cc
RM
223062011-02-04 Roland McGrath <roland@redhat.com>
22307
22308 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22309 (nis_stats): Likewise.
22310 * nis/nis_modify.c (nis_modify): Likewise.
22311 * nis/nis_remove.c (nis_remove): Likewise.
22312 * nis/nis_add.c (nis_add): Likewise.
22313
22314 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22315
22316 * posix/fnmatch_loop.c: Add some consts.
22317
22318 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22319
435b95eb
L
223202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22321
22322 [BZ #12460]
22323 * config.make.in (config-cflags-novzeroupper): Define.
22324 * configure.in: Substitute libc_cv_cc_novzeroupper.
22325 * elf/Makefile (AVX-CFLAGS): Define.
22326 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22327 (CFLAGS-tst-auditmod4a.c): Likewise.
22328 (CFLAGS-tst-auditmod4b.c): Likewise.
22329 (CFLAGS-tst-auditmod6b.c): Likewise.
22330 (CFLAGS-tst-auditmod6c.c): Likewise.
22331 (CFLAGS-tst-auditmod7b.c): Likewise.
22332 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22333
8517b15e
UD
223342011-02-02 Ulrich Drepper <drepper@gmail.com>
22335
22336 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22337 function to the callback.
22338 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22339
10a656fe
AS
223402011-02-02 Andreas Schwab <schwab@redhat.com>
22341
22342 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22343 of errno.
22344
968dad0a
UD
223452011-01-19 Ulrich Drepper <drepper@gmail.com>
22346
9f94d2ea 22347 [BZ #11724]
968dad0a
UD
22348 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22349 of constructors.
22350 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22351 of destructors.
22352 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22353
22354 [BZ #11724]
22355 * elf/Makefile: Add rules to build and run new test.
22356 * elf/tst-initorder.c: New file.
22357 * elf/tst-initorder.exp: New file.
22358 * elf/tst-initordera1.c: New file.
22359 * elf/tst-initordera2.c: New file.
22360 * elf/tst-initordera3.c: New file.
22361 * elf/tst-initordera4.c: New file.
22362 * elf/tst-initorderb1.c: New file.
22363 * elf/tst-initorderb2.c: New file.
22364 * elf/tst-order-a1.c: New file.
22365 * elf/tst-order-a2.c: New file.
22366 * elf/tst-order-a3.c: New file.
22367 * elf/tst-order-a4.c: New file.
22368 * elf/tst-order-b1.c: New file.
22369 * elf/tst-order-b2.c: New file.
22370 * elf/tst-order-main.c: New file.
22371 New test case by George Gensure <werkt0@gmail.com>.
22372
86e92359
UD
223732010-10-01 Andreas Schwab <schwab@redhat.com>
22374
22375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22376 decoding ACE if AI_CANONIDN.
22377
5d5732b0
UD
223782011-01-18 Ulrich Drepper <drepper@gmail.com>
22379
22380 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22381
a77e8cbc
UD
223822011-01-17 Ulrich Drepper <drepper@gmail.com>
22383
6392473f
UD
22384 * version.h (RELEASE): Bump for 2.13 release.
22385 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22386
620a0529
UD
22387 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22388
18ba70a5
UD
22389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22390 MADV_NOHUGEPAGE.
32465c3e
UD
22391 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22393 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22397
c0dafcf1
UD
22398 * posix/getconf.c: Update copyright year.
22399 * catgets/gencat.c: Likewise.
22400 * csu/version.c: Likewise.
22401 * debug/catchsegv.sh: Likewise.
22402 * debug/xtrace.sh: Likewise.
22403 * elf/ldconfig.c: Likewise.
22404 * elf/ldd.bash.in: Likewise.
22405 * elf/sprof.c (print_version): Likewise.
22406 * iconv/iconv_prog.c: Likewise.
22407 * iconv/iconvconfig.c: Likewise.
22408 * locale/programs/locale.c: Likewise.
22409 * locale/programs/localedef.c: Likewise.
22410 * malloc/memusage.sh: Likewise.
22411 * malloc/mtrace.pl: Likewise.
22412 * nscd/nscd.c (print_version): Likewise.
22413 * nss/getent.c: Likewise.
22414
a77e8cbc
UD
22415 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22416 PF_CAIF, and PF_ALG.
22417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22418
77e8bddf
AS
224192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22420
1f20b93a
AS
22421 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22422 (modules-names): Use them.
22423 (ifunc-test-modules, ifunc-pie-tests): Define.
22424 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22425 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22426 (test-extras): Likewise.
22427 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22428 $(compile-command.c).
22429 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22430 (all-built-dso): Define.
22431 (check-textrel.out, check-execstack.out): Depend on it.
22432
77e8bddf
AS
22433 * configure.in: Don't override --enable-multi-arch.
22434
bc425b33
UD
224352011-01-15 Ulrich Drepper <drepper@gmail.com>
22436
22437 [BZ #6812]
22438 * nscd/hstcache.c (tryagain): Define.
22439 (cache_addhst): Return tryagain not notfound for temporary errors.
22440 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22441 failed.
22442
794c3ad3
UD
224432011-01-14 Ulrich Drepper <drepper@gmail.com>
22444
70181fdd
UD
22445 [BZ #10563]
22446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22447 to make the syscall.
22448 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22449
794c3ad3
UD
22450 [BZ #12378]
22451 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22452 and fall back to matching as normal character if the string ends before
22453 the matching ']' is found. This is what POSIX requires.
22454 * posix/testfnm.c: Adjust test result.
22455 * posix/globtest.sh: Adjust test result. Add new test.
22456 * posix/tst-fnmatch.input: Likewise.
22457 * posix/tst-fnmatch2.c: Add new test.
22458
68dc9497
AS
224592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22460
22461 * elf/Makefile (check-execstack): Revert last change. Depend on
22462 check-execstack.h.
22463 (check-execstack.h): New target.
22464 (generated): Add check-execstack.h.
22465 * elf/check-execstack.c: Include "check-execstack.h".
22466 (main): Revert last change.
22467 (handle_file): Return zero if GNU_STACK is absent and
22468 DEFAULT_STACK_PERMS doesn't include PF_X.
22469
451f001b
UD
224702011-01-13 Ulrich Drepper <drepper@gmail.com>
22471
cfa28e56
UD
22472 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22473 in child fails because the descriptor is already closed.
8cf8ce17
UD
22474 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22475 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22477
1086d70d
UD
22478 [BZ #12397]
22479 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22480 syscall.
22481
451f001b
UD
22482 [BZ #10484]
22483 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22484 temporary buffer used to handle multi lookups locally.
a85b5cb4 22485 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22486
08769175
UD
224872011-01-12 Ulrich Drepper <drepper@gmail.com>
22488
22489 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22490 loader is ld.so.
22491
5e49c52e
UD
224922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22493
22494 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22495 alignment for SSE2.
22496
60522a5f
UD
224972011-01-12 Ulrich Drepper <drepper@gmail.com>
22498
22499 [BZ #12394]
22500 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22501 characters. When rounding increased number of integer digits recompute
22502 number of groups.
22503 * stdio-common/tst-grouping.c: New file.
22504 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22505
f257bbd7
UD
225062011-01-09 Ulrich Drepper <drepper@gmail.com>
22507
22508 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22509 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22510
22511 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22512 void.
22513 * bits/select.h: Likewise.
22514
fa9c15cb
UD
225152011-01-08 Ulrich Drepper <drepper@gmail.com>
22516
22517 * po/ja.po: Update from translation team.
22518
16c2895f
DM
225192011-01-04 David S. Miller <davem@sunset.davemloft.net>
22520
22521 [BZ #11155]
22522 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22523 implementation just like for lxstat, fxstatat, et al.
22524
2543fef2
JM
225252010-12-27 Jim Meyering <meyering@redhat.com>
22526
22527 [BZ #12348]
22528 * posix/regexec.c (build_trtable): Return failure indication upon
22529 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22530
98727dbe
UD
225312010-12-25 Ulrich Drepper <drepper@gmail.com>
22532
5bd6dc5c
UD
22533 [BZ #12201]
22534 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22535 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22536 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22538
97983464
UD
22539 [BZ #12207]
22540 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22541
98727dbe
UD
22542 [BZ #12204]
22543 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22544 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22545
4a531bb0
L
225462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22547
22548 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22549 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22550 script has SORT_BY_INIT_PRIORITY.
22551 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22552 NO_CTORS_DTORS_SECTIONS is defined.
22553 * elf/soinit.c: Likewise.
22554 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22555 NO_CTORS_DTORS_SECTIONS is defined.
22556 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22557 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22558 * sysdeps/sh/init-first.c: Likewise.
22559 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22560
07eb4b71
UD
225612010-12-24 Ulrich Drepper <drepper@gmail.com>
22562
22563 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22564 always use the slow path.
22565
30950a5f
RA
225662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22567
22568 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22569 similar rule which adds the sysdep directories to the header search in
22570 order to pick up the correct platform stackinfo.h.
22571 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22572 perform test if it is, otherwise return successfully without testing.
22573 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22574 DEFAULT_STACK_PERMS define in stackinfo.h.
22575 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22576 defined in stackinfo.h.
22577 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22578 DEFAULT_STACK_PERMS defined in stackinfo.h.
22579 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22580 * sysdeps/ia64/stackinfo.h: Likewise.
22581 * sysdeps/s390/stackinfo.h: Likewise.
22582 * sysdeps/sh/stackinfo.h: Likewise.
22583 * sysdeps/sparc/stackinfo.h: Likewise.
22584 * sysdeps/x86_64/stackinfo.h: Likewise.
22585 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22586 PF_X for powerpc64. Retain PF_X for powerpc32.
22587
db753e2c
UD
225882010-12-19 Ulrich Drepper <drepper@gmail.com>
22589
14b697f7
UD
22590 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22591 accurately.
db753e2c
UD
22592 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22593 GETDENTS_64BIT_ALIGNED.
22594
28300719
UD
225952010-12-14 Ulrich Drepper <dreper@gmail.com>
22596
14b697f7 22597 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22598
4f197237
AS
225992010-12-10 Andreas Schwab <schwab@redhat.com>
22600
dbb0472f
AS
22601 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22602 _GNU_SOURCE.
22603
4f197237
AS
22604 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22605 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22606 Remove __restrict.
22607 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22608 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22609
fb88ac72
UD
226102010-12-09 Ulrich Drepper <drepper@gmail.com>
22611
22612 [BZ #11655]
22613 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22614 are initialized.
22615
42acbb92
JJ
226162010-12-09 Jakub Jelinek <jakub@redhat.com>
22617
22618 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22619
c038d98d
UD
226202010-12-03 Ulrich Drepper <drepper@gmail.com>
22621
22622 * po/it.po: Update from translation team.
22623
3a4a2499
L
226242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22625
22626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22627 unused codes.
22628
1e24cf6e
UD
226292010-11-30 Ulrich Drepper <drepper@gmail.com>
22630
22631 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22632
a7690819
AS
226332010-11-24 Andreas Schwab <schwab@redhat.com>
22634
22635 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22636 specially.
22637 (gaih_getanswer_slice): Likewise.
22638
3bf8d1b1
JJ
226392010-10-20 Jakub Jelinek <jakub@redhat.com>
22640
22641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22642
6db52fbb
PB
226432010-05-31 Petr Baudis <pasky@suse.cz>
22644
22645 [BZ #11149]
22646 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22647 silently even in the chroot mode.
22648
eaca7569
UD
226492010-11-22 Ulrich Drepper <drepper@gmail.com>
22650
22651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22652 last patch a bit. Pretty printing
22653
3056dcdb
UD
226542010-05-31 Petr Baudis <pasky@suse.cz>
22655
22656 [BZ #10085]
22657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22658 initialization of skip_initgroups_dyn.
22659
cf7c9078
UD
226602010-11-19 Ulrich Drepper <drepper@gmail.com>
22661
22662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22664
a1fb5e3e
UD
226652010-11-16 Ulrich Drepper <drepper@gmail.com>
22666
22667 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22668
3540d66b
AS
226692010-11-11 Andreas Schwab <schwab@redhat.com>
22670
22671 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22672 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22673 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22674 ($(objpfx)tst-fnmatch-mem): New rule.
22675 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22676 * posix/tst-fnmatch.c (main): Call mtrace.
22677
13b69574
L
226782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22679
22680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22681 Support Intel processor model 6 and model 0x2c.
22682
da93d214
LM
226832010-11-10 Luis Machado <luisgpm@br.ibm.com>
22684
22685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22686 signed comparison.
22687
8ca52c6e
L
226882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 [BZ #12205]
22691 * string/test-strncasecmp.c (check_result): New function.
22692 (do_one_test): Use it.
22693 (check1): New function.
22694 (test_main): Use it.
22695 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22696 Support strcasecmp and strncasecmp.
22697
69da074d
UD
226982010-11-08 Ulrich Drepper <drepper@gmail.com>
22699
22700 [BZ #12194]
22701 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22703
ff02d528
L
227042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22705
22706 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22707 IFUNC support.
22708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22709 memset-x86-64.
22710 * sysdeps/x86_64/multiarch/bzero.S: New file.
22711 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22712 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22713 * sysdeps/x86_64/multiarch/memset.S: New file.
22714 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22716 Set bit_Prefer_SSE_for_memop for Intel processors.
22717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22718 Define.
22719 (index_Prefer_SSE_for_memop): Define.
22720 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22721
344d0b54
LM
227222010-11-04 Luis Machado <luisgpm@br.ibm.com>
22723
22724 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22726
c0dde15b
UD
227272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 [BZ #12191]
22730 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22731 (__x86_64_raw_data_cache_size_half): Likewise.
22732 (__x86_64_raw_shared_cache_size): Likewise.
22733 (__x86_64_raw_shared_cache_size_half): Likewise.
22734
22735 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22736 (__x86_64_raw_data_cache_size_half): Likewise.
22737 (__x86_64_raw_shared_cache_size): Likewise.
22738 (__x86_64_raw_shared_cache_size_half): Likewise.
22739 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22740 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22741 and __x86_64_raw_shared_cache_size_half. Round
22742 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22743 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22744 to multiple of 256 bytes.
22745
0e516e0e
MS
227462010-11-03 Ulrich Drepper <drepper@gmail.com>
22747
22748 [BZ #12167]
22749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22750 of inacessible symlinks. Verify result of symlink before returning it.
22751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22752 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22753
0e012e87
ER
227542010-10-28 Erich Ritz <erichritz@gmail.com>
22755
22756 * math/math.h (isinf): Fix typo in comment.
22757
de0ff7bc
UD
227582010-11-01 Ulrich Drepper <drepper@gmail.com>
22759
22760 * po/da.po: Update from translation team.
22761
fa41c84d
UD
227622010-10-26 Ulrich Drepper <drepper@gmail.com>
22763
22764 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22765 is added to the list.
22766
f0967738
AK
227672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22768 Ulrich Drepper <drepper@gmail.com>
22769
22770 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22771 the global list here. Move code to...
22772 (_dl_add_to_namespace_list): ...here. New function.
22773 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22774 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22775 * elf/dl-load.c (lose): Don't remove the element from the list.
22776 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22777 (_dl_map_object): Likewise.
22778
227792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22780
22781 [BZ #12159]
22782 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22783 into all bytes of SSE register.
22784 Patch by Richard Li <richardpku@gmail.com>.
22785
f0967738 227862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22787
22788 [BZ #12140]
22789 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22790 perturbing.
22791
d0b9e94f
MB
227922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22793
22794 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22795 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22797 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22799 submachine.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22801
8e9f92e9
AS
228022010-10-22 Andreas Schwab <schwab@redhat.com>
22803
22804 * include/dlfcn.h (__RTLD_SECURE): Define.
22805 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22806 mode & __RTLD_SECURE instead.
22807 (open_path): Rename preloaded parameter to secure.
22808 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22809 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22810 * elf/dl-deps.c (openaux): Likewise.
22811 * elf/rtld.c (struct map_args): Remove is_preloaded.
22812 (map_doit): Don't use it.
22813 (dl_main): Likewise.
22814 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22815 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22816
bc96fbda
AS
228172010-09-09 Andreas Schwab <schwab@redhat.com>
22818
22819 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22820 (sysd-rules-targets): Remove duplicates.
22821 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22822 rtld-%.$o dependency.
22823
22cd1c9b
AS
228242010-10-18 Andreas Schwab <schwab@redhat.com>
22825
22826 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22827 _dl_map_object do it.
22828
18edac48
UD
228292010-10-19 Ulrich Drepper <drepper@gmail.com>
22830
22831 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22832 fast fma builtins, define the macros in the C99 standard.
22833 (FP_FAST_FMAF): Likewise.
22834 (FP_FAST_FMAL): Likewise.
22835 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22836
22837 * bits/mathdef.h: Update copyright year.
22838 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22839
d2050124
MM
228402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22841
22842 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22843 builtins, define the macros in the C99 standard.
22844 (FP_FAST_FMAF): Likewise.
22845 (FP_FAST_FMAL): Likewise.
22846 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22847 multiply/add.
22848 (FP_FAST_FMAF): Likewise.
22849
475facd1
JJ
228502010-10-15 Jakub Jelinek <jakub@redhat.com>
22851
22852 [BZ #3268]
22853 * math/libm-test.inc (fma_test): Some new testcases.
22854 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22856 y and infinite z. Do multiplication by C already in long double.
22857 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22859 y and infinite z. Do bitwise or of inexact bit into u.d.
22860 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22861 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22862 * sysdeps/i386/fpu/s_fma.S: Removed.
22863 * sysdeps/i386/fpu/s_fmal.S: Removed.
22864
7c08a05c
JJ
228652010-10-16 Jakub Jelinek <jakub@redhat.com>
22866
22867 [BZ #3268]
22868 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22870 computation is not scheduled after fetestexcept. Fix value
22871 of minimum denormal long double.
22872
f3f7372d
JJ
228732010-10-14 Jakub Jelinek <jakub@redhat.com>
22874
22875 [BZ #3268]
22876 * math/libm-test.inc (fma_test): Add some more tests.
22877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22878 correctly.
22879
14d43591
AS
228802010-10-15 Andreas Schwab <schwab@redhat.com>
22881
22882 * scripts/data/localplt-s390-linux-gnu.data: New file.
22883 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22884
5e908464
JJ
228852010-10-13 Jakub Jelinek <jakub@redhat.com>
22886
22887 [BZ #3268]
22888 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22889 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22890 instead of dbl-64.
22891 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22892 inlines.
22893 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22895 if one of x and y is very large and the other is subnormal.
22896 * sysdeps/s390/fpu/s_fmaf.c: New file.
22897 * sysdeps/s390/fpu/s_fma.c: New file.
22898 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22899 * sysdeps/powerpc/fpu/s_fma.S: New file.
22900 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22901 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22902 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22903
229042010-10-12 Jakub Jelinek <jakub@redhat.com>
22905
22906 [BZ #3268]
22907 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22908 fma tests.
22909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22910 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22911 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22912 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22913 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22914 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22916
b833d51f
UD
229172010-10-12 Ulrich Drepper <drepper@redhat.com>
22918
22919 [BZ #12078]
22920 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22921 * posix/bug-regex31.input: Add test case.
22922
1751705d
UD
229232010-10-11 Ulrich Drepper <drepper@gmail.com>
22924
e9b9cbf5
UD
22925 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22926 * posix/bug-regex31.input: New file.
22927
22928 [BZ #12078]
22929 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22930 (parse_sub_exp): Fix last change, use postorder.
22931
ef06edbe
UD
22932 * posix/bug-regex31.c: New file.
22933 * posix/Makefile: Add rules to build and run bug-regex31.
22934
a129c80d
UD
22935 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22936
22937 [BZ #12078]
22938 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22939
b76b818e
UD
22940 [BZ #12108]
22941 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22942 to have entries in sys_siglist.
22943
1751705d
UD
22944 [BZ #12093]
22945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22946 be NULL.
22947
9ff8d36f
JJ
229482010-10-07 Jakub Jelinek <jakub@redhat.com>
22949
22950 [BZ #3268]
22951 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22952 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22953 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22954 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22956 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22957 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22958 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22959 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22960 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22961 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22963 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22964 * math/ftestexcept.c (fetestexcept): Likewise.
22965 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22966 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22967 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22969 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22970 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22972
af325969
UD
229732010-10-11 Ulrich Drepper <drepper@gmail.com>
22974
c579b202 22975 [BZ #12107]
af325969
UD
22976 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22977 newline.
22978
67a67b95
UD
229792010-10-06 Ulrich Drepper <drepper@gmail.com>
22980
22981 * string/bug-strstr1.c: New file.
22982 * string/Makefile: Add rules to build and run bug-strstr1.
22983
5fb308bc
EB
229842010-10-05 Eric Blake <eblake@redhat.com>
22985
22986 [BZ #12092]
22987 * string/str-two-way.h (two_way_long_needle): Always clear memory
22988 when skipping input due to the shift table.
22989
45db99c7
UD
229902010-10-03 Ulrich Drepper <drepper@gmail.com>
22991
3b111893
UD
22992 [BZ #12005]
22993 * malloc/mcheck.c: Handle large requests.
22994
45db99c7
UD
22995 [BZ #12077]
22996 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22997 for strncmp and strncasecmp.
22998 * string/stratcliff.c: Add tests for strcmp and strncmp.
22999 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23000
cf7a1eb8
NI
230012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23002
23003 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23004 __set_fpscr.
23005
6484ba5e
AJ
230062010-09-30 Andreas Jaeger <aj@suse.de>
23007
23008 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23009 (CGROUP_SUPER_MAGIC): Define.
23010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23011 Handle btrfs and cgroup file systems.
23012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23013 Likewise.
23014
91c42559
LM
230152010-09-27 Luis Machado <luisgpm@br.ibm.com>
23016
23017 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23018 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23019
87a97932
AK
230202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23021
23022 [BZ #12067]
23023 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23024 trying to locate the ELF header.
23025
c21cc9bc
AS
230262010-09-27 Andreas Schwab <schwab@redhat.com>
23027
23028 [BZ #11611]
23029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23030 Mask out sign-bit copies when constructing f_fsid.
23031
315970f6
PB
230322010-09-24 Petr Baudis <pasky@suse.cz>
23033
23034 * debug/stack_chk_fail_local.c: Add missing licence exception.
23035 * debug/warning-nop.c: Likewise.
23036
1ac7a2c7
JM
230372010-09-15 Joseph Myers <joseph@codesourcery.com>
23038
23039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23040 implementing getdents64 using getdents syscall, set d_type if
23041 __ASSUME_GETDENTS32_D_TYPE.
23042
56801c50
AS
230432010-09-16 Andreas Schwab <schwab@redhat.com>
23044
23045 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23046 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23047
dda51327
UD
230482010-09-21 Ulrich Drepper <drepper@redhat.com>
23049
23050 [BZ #12037]
23051 * posix/unistd.h: Undo change of feature selection for ftruncate from
23052 2010-01-11.
23053
8ffcee4a
UD
230542010-09-20 Ulrich Drepper <drepper@redhat.com>
23055
a545ecd9 23056 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23057 detection.
23058
e24f0a8b
AS
230592010-09-20 Andreas Schwab <schwab@redhat.com>
23060
23061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23062 fanotify_mark.
23063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23064
7291c56f
AS
230652010-09-14 Andreas Schwab <schwab@redhat.com>
23066
23067 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23068 variables after CHECK_SP call.
23069 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23070
bc5fb037
AS
230712010-09-13 Andreas Schwab <schwab@redhat.com>
23072 Ulrich Drepper <drepper@redhat.com>
23073
23074 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23075 re-relocationg ld.so.
23076 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23077 _dl_init_paths call.
23078 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23079 here anymore.
23080
e66e7419
UD
230812010-09-14 Ulrich Drepper <drepper@redhat.com>
23082
23083 * resolv/res_init.c (__res_vinit): Count the default server we added.
23084
c044aa75
CLT
230852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23086 Ulrich Drepper <drepper@redhat.com>
23087
23088 [BZ #11968]
23089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23090 (____longjmp_chk): Use %ebx for saving value across system call.
23091 Add unwind info.
23092
32cf4069
AS
230932010-09-06 Andreas Schwab <schwab@redhat.com>
23094
23095 * manual/Makefile: Don't mix pattern rules with normal rules.
23096
817328ee
AS
230972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23098
23099 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23100 operation.
23101 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23102 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23103 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23104 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23106 Likewise.
23107
29fddf61
UD
231082010-09-04 Ulrich Drepper <drepper@redhat.com>
23109
23110 [BZ #11979]
23111 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23112 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23113
0959ffc9
UD
231142010-09-02 Ulrich Drepper <drepper@redhat.com>
23115
23116 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23117 * sysdeps/x86_64/addmul_1.S: Likewise.
23118 * sysdeps/x86_64/lshift.S: Likewise.
23119 * sysdeps/x86_64/mul_1.S: Likewise.
23120 * sysdeps/x86_64/rshift.S: Likewise.
23121 * sysdeps/x86_64/sub_n.S: Likewise.
23122 * sysdeps/x86_64/submul_1.S: Likewise.
23123
ece29840
ST
231242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23125
0959ffc9
UD
23126 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23127 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23128 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23129 * bits/sched.h [__need_schedparam]
ece29840 23130 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23131 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23132 (__defined_schedparam): Define to 1.
ece29840
ST
23133 (__sched_param): New structure, identical to sched_param.
23134 (__need_schedparam): Undefine.
23135
e53a31fe
MF
231362010-08-31 Mike Frysinger <vapier@gentoo.org>
23137
fdc0c10d
MF
23138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23139 (epoll_create1): Declare.
23140
e53a31fe
MF
23141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23142
a726d796
AS
231432010-08-31 Andreas Schwab <schwab@redhat.com>
23144
23145 [BZ #7066]
23146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23147 shifting retval into place.
23148
2f3e3dc7
UD
231492010-09-01 Ulrich Drepper <drepper@redhat.com>
23150
f2933da9
UD
23151 * nis/rpcsvc/nis.h: Update copyright notice.
23152 * nis/rpcsvc/nis.x: Likewise.
23153 * nis/rpcsvc/nis_callback.h: Likewise.
23154 * nis/rpcsvc/nis_callback.x: Likewise.
23155 * nis/rpcsvc/nis_object.x: Likewise.
23156 * nis/rpcsvc/nis_tags.h: Likewise.
23157 * nis/rpcsvc/yp.h: Likewise.
23158 * nis/rpcsvc/yp.x: Likewise.
23159 * nis/rpcsvc/ypupd.h: Likewise.
23160 * nis/yp_xdr.c: Likewise.
23161 * nis/ypupdate_xdr.c: Likewise.
23162
2f3e3dc7
UD
23163 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23164 mainly the body of pmap_getport. Add parameters to specify timeouts.
23165 (pmap_getport): Use __libc_rpc_getport.
23166 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23167 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23168 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23169
f3dcc2f9
AS
231702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23171
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23173 fanotify_mark.
23174
6d34eb5b
RM
231752010-08-27 Roland McGrath <roland@redhat.com>
23176
23177 * sysdeps/i386/i686/multiarch/Makefile
23178 (CFLAGS-varshift.c): New variable.
23179
9ea3de11
UD
231802010-08-27 Ulrich Drepper <drepper@redhat.com>
23181
c96d23fc
UD
23182 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23183 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23184
9ea3de11
UD
23185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23186
23187 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23188
623aac7f
L
231892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23190
23191 * sysdeps/x86_64/strlen.S: Unroll the loop.
23192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23193 strlen-sse2 strlen-sse2-bsf.
23194 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23195 __strlen_no_bsf if bit_Slow_BSF is set.
23196 (__strlen_sse42): Removed.
23197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23198 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23199
8b2b7715
RM
232002010-08-25 Roland McGrath <roland@redhat.com>
23201
23202 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23203 * sysdeps/x86_64/multiarch/varshift.c: New file.
23204 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23205 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23206 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23207 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23208
e73015f2
L
232092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23212 strlen-sse2 strlen-sse2-bsf.
23213 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23214 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23215 (__strlen_sse2): Removed.
23216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23219 bit_Slow_BSF for Atom.
23220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23221 (index_Slow_BSF): Define.
23222 (HAS_SLOW_BSF): Define.
23223
df24a73e
UD
232242010-08-25 Ulrich Drepper <drepper@redhat.com>
23225
23226 [BZ #10851]
23227 * resolv/res_init.c (__res_vinit): When no server address at all
23228 is given default to loopback.
23229
f2ac4868
RM
232302010-08-24 Roland McGrath <roland@redhat.com>
23231
09055553
RM
23232 * configure.in: Remove config-name.h generation.
23233 * configure: Regenerated.
23234 * config-name.in: File removed.
23235 * scripts/config-uname.sh: New file.
23236 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23237 ($(objdir)config-name.h): New target.
23238
f2ac4868
RM
23239 * sunrpc/rpc_parse.h: Avoid nested comment.
23240
73f27d5e
RH
232412010-08-24 Richard Henderson <rth@redhat.com>
23242 Ulrich Drepper <drepper@redhat.com>
23243 H.J. Lu <hongjiu.lu@intel.com>
23244
23245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23247 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23248 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23249 _mm_alignr_epi8 with _mm_loadu_si128.
23250 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23251 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23252 (__m128i_shift_right): Removed.
23253 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23254 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23255 * sysdeps/x86_64/multiarch/varshift.h: New file.
23256 * sysdeps/x86_64/multiarch/varshift.S: New file.
23257
84b9230c
MF
232582010-08-21 Mike Frysinger <vapier@gentoo.org>
23259
23260 * configure.in: Move assembler checks to before sysdep dir checking.
23261
9bbd0ddc
PB
232622010-08-20 Petr Baudis <pasky@suse.cz>
23263
23264 * LICENSES: Sync the sunrpc license.
23265
9da4bb31
UD
232662010-08-19 Ulrich Drepper <drepper@redhat.com>
23267
a7ab6ec8
UD
23268 * sunrpc/auth_des.c: Update copyright notice once again.
23269 * sunrpc/auth_none.c: Likewise.
23270 * sunrpc/auth_unix.c: Likewise.
23271 * sunrpc/authdes_prot.c: Likewise.
23272 * sunrpc/authuxprot.c: Likewise.
23273 * sunrpc/bindrsvprt.c: Likewise.
23274 * sunrpc/clnt_gen.c: Likewise.
23275 * sunrpc/clnt_perr.c: Likewise.
23276 * sunrpc/clnt_raw.c: Likewise.
23277 * sunrpc/clnt_simp.c: Likewise.
23278 * sunrpc/clnt_tcp.c: Likewise.
23279 * sunrpc/clnt_udp.c: Likewise.
23280 * sunrpc/clnt_unix.c: Likewise.
23281 * sunrpc/des_crypt.c: Likewise.
23282 * sunrpc/des_soft.c: Likewise.
23283 * sunrpc/get_myaddr.c: Likewise.
23284 * sunrpc/getrpcport.c: Likewise.
23285 * sunrpc/key_call.c: Likewise.
23286 * sunrpc/key_prot.c: Likewise.
23287 * sunrpc/openchild.c: Likewise.
23288 * sunrpc/pm_getmaps.c: Likewise.
23289 * sunrpc/pm_getport.c: Likewise.
23290 * sunrpc/pmap_clnt.c: Likewise.
23291 * sunrpc/pmap_prot.c: Likewise.
23292 * sunrpc/pmap_prot2.c: Likewise.
23293 * sunrpc/pmap_rmt.c: Likewise.
23294 * sunrpc/rpc/auth.h: Likewise.
23295 * sunrpc/rpc/auth_unix.h: Likewise.
23296 * sunrpc/rpc/clnt.h: Likewise.
23297 * sunrpc/rpc/des_crypt.h: Likewise.
23298 * sunrpc/rpc/key_prot.h: Likewise.
23299 * sunrpc/rpc/netdb.h: Likewise.
23300 * sunrpc/rpc/pmap_clnt.h: Likewise.
23301 * sunrpc/rpc/pmap_prot.h: Likewise.
23302 * sunrpc/rpc/pmap_rmt.h: Likewise.
23303 * sunrpc/rpc/rpc.h: Likewise.
23304 * sunrpc/rpc/rpc_des.h: Likewise.
23305 * sunrpc/rpc/rpc_msg.h: Likewise.
23306 * sunrpc/rpc/svc.h: Likewise.
23307 * sunrpc/rpc/svc_auth.h: Likewise.
23308 * sunrpc/rpc/types.h: Likewise.
23309 * sunrpc/rpc/xdr.h: Likewise.
23310 * sunrpc/rpc_clntout.c: Likewise.
23311 * sunrpc/rpc_cmsg.c: Likewise.
23312 * sunrpc/rpc_common.c: Likewise.
23313 * sunrpc/rpc_cout.c: Likewise.
23314 * sunrpc/rpc_dtable.c: Likewise.
23315 * sunrpc/rpc_hout.c: Likewise.
23316 * sunrpc/rpc_main.c: Likewise.
23317 * sunrpc/rpc_parse.c: Likewise.
23318 * sunrpc/rpc_parse.h: Likewise.
23319 * sunrpc/rpc_prot.c: Likewise.
23320 * sunrpc/rpc_sample.c: Likewise.
23321 * sunrpc/rpc_scan.c: Likewise.
23322 * sunrpc/rpc_scan.h: Likewise.
23323 * sunrpc/rpc_svcout.c: Likewise.
23324 * sunrpc/rpc_tblout.c: Likewise.
23325 * sunrpc/rpc_util.c: Likewise.
23326 * sunrpc/rpc_util.h: Likewise.
23327 * sunrpc/rpcinfo.c: Likewise.
23328 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23329 * sunrpc/rpcsvc/key_prot.x: Likewise.
23330 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23331 * sunrpc/rpcsvc/mount.x: Likewise.
23332 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23333 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23334 * sunrpc/rpcsvc/rex.x: Likewise.
23335 * sunrpc/rpcsvc/rstat.x: Likewise.
23336 * sunrpc/rpcsvc/rusers.x: Likewise.
23337 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23338 * sunrpc/rpcsvc/spray.x: Likewise.
23339 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23340 * sunrpc/rtime.c: Likewise.
23341 * sunrpc/svc.c: Likewise.
23342 * sunrpc/svc_auth.c: Likewise.
23343 * sunrpc/svc_authux.c: Likewise.
23344 * sunrpc/svc_raw.c: Likewise.
23345 * sunrpc/svc_run.c: Likewise.
23346 * sunrpc/svc_simple.c: Likewise.
23347 * sunrpc/svc_tcp.c: Likewise.
23348 * sunrpc/svc_udp.c: Likewise.
23349 * sunrpc/svc_unix.c: Likewise.
23350 * sunrpc/svcauth_des.c: Likewise.
23351 * sunrpc/xcrypt.c: Likewise.
23352 * sunrpc/xdr.c: Likewise.
23353 * sunrpc/xdr_array.c: Likewise.
23354 * sunrpc/xdr_float.c: Likewise.
23355 * sunrpc/xdr_mem.c: Likewise.
23356 * sunrpc/xdr_rec.c: Likewise.
23357 * sunrpc/xdr_ref.c: Likewise.
23358 * sunrpc/xdr_sizeof.c: Likewise.
23359 * sunrpc/xdr_stdio.c: Likewise.
23360
9da4bb31
UD
23361 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23362 handling.
23363
bdaa77bc
AS
233642010-08-19 Andreas Schwab <schwab@redhat.com>
23365
23366 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23367
fe2f79db
LM
233682010-08-19 Luis Machado <luisgpm@br.ibm.com>
23369
23370 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23371 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23373 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23375 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23376 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23377 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23380 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23382 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23384
b9b42ee0
AB
233852010-07-26 Anton Blanchard <anton@samba.org>
23386
23387 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23388 * malloc/arena.c (heap_trim): Likewise.
23389
1c06ba31
UD
233902010-08-16 Ulrich Drepper <drepper@redhat.com>
23391
23392 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23393 here. Not...
23394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23395 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23396
f8392f40
L
233972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23398
23399 * sysdeps/i386/elf/Makefile: New file.
23400
3162f12e
AS
234012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23402
23403 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23404 from fanotify_init.
23405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23407
28c90b2c
UD
234082010-08-15 Ulrich Drepper <drepper@redhat.com>
23409
23410 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23411 of strncasecmp_l.
1feccb6c 23412 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23413
ca6bb004
UD
234142010-08-14 Ulrich Drepper <drepper@redhat.com>
23415
e9f82e0d
UD
23416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23417 strncase_l-nonascii.
23418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23419 Add strncase_l-ssse3.
23420 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23421 * sysdeps/x86_64/strcmp.S: Likewise.
23422 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23423 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23424 * sysdeps/x86_64/strncase.S: New file.
23425 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23426 * sysdeps/x86_64/strncase_l.S: New file.
23427 * string/Makefile (strop-tests): Add strncasecmp.
23428 * string/test-strncasecmp.c: New file.
23429
23430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23431 warning.
23432
ca6bb004
UD
23433 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23434 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23435
052fa7b3
AS
234362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23437
23438 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23439
962dba78
UD
234402010-08-12 Ulrich Drepper <drepper@redhat.com>
23441
23442 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23444 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23445
bebff237
AM
234462010-05-01 Alan Modra <amodra@gmail.com>
23447
23448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23449 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23450 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23451 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23452 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23453 tidying. Don't tail-call __sigjmp_save for static lib.
23454 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23455 save location.
23456 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23457 (CALL_MCOUNT): Add eh info, and nop after bl.
23458 (TAIL_CALL_SYSCALL_ERROR): New macro.
23459 (PSEUDO_RET): Use it.
23460 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23461 Correct save location of integer regs and cr.
23462 (_dl_profile_resolve): Correct cr save location. Delete nops
23463 after bl when SHARED. Reduce cfi size a little by better
23464 placement of cfi directives.
23465 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23466 make a stack frame. Instead use parm save area as a temp.
23467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23468 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23470 Don't make a stack frame for parent, use parm save area.
23471 Increase child stack frame to 112 bytes. Don't save unused reg,
23472 and adjust reg usage. Set up cfi on error recovery and
23473 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23475 (__makecontext): Add dummy nop after jump to exit.
23476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23477 Use correct parm save area and cr save, reduce stack frame.
23478 Correct cfi for possible PSEUDO_RET frame setup.
23479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23480 Branch to local label emitted by PSEUDO_RET rather than
23481 __syscall_error.
23482
02637374
AS
234832010-08-12 Andreas Schwab <schwab@redhat.com>
23484
23485 [BZ #11904]
23486 * locale/programs/locale.c (print_assignment): New function.
23487 (show_locale_vars): Use it.
23488
c3e2f19b
UD
234892010-08-11 Ulrich Drepper <drepper@redhat.com>
23490
3cdaa6ad
UD
23491 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23492 field.
23493 (struct statfs64): Likewise.
23494 (_STATFS_F_FLAGS): Define.
23495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23497 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23498 (ST_VALID): Define locally.
23499 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23500 __statvfs_getflags, use the provided value.
23501 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23502 __ASSUME_STATFS_F_FLAGS.
23503
754f7da3
UD
23504 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23505
10b3bedc
UD
23506 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23507 Add sys/fanotify.h.
23508 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23509 fanotify_mask for GLIBC_2.13.
23510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23511 fanotify_init and fanotify_mark.
23512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23513 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23514
c08fb0d7
UD
23515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23516 Add prlimit.
23517 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23518 prlimit64 for GLIBC_2.13.
23519 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23520 prlimit64.
23521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23522 syscall.
23523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23528 add prlimit alias.
23529 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23530
15bac72b
UD
23531 [BZ #11903]
23532 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23533 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23534
c3e2f19b
UD
23535 * nss/Makefile: Add rules to build and run tst-nss-test1.
23536 * shlib-versions: Add entry for libnss_test1.
23537 * nss/nss_test1.c: New file.
23538 * nss/tst-nss-test1.c: New file.
23539
23540 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23541 (__nss_configure_lookup): Set appropriate entry in
23542 __nss_configure_lookup to true.
23543 * nss/nsswitch.h: Define enum with indeces of databases in
23544 databases and __nss_database_custom arrays. Declare
23545 __nss_database_custom.
23546 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23547 to avoid using nscd when custom rules are installed.
23548 * nss/getXXbyYY_r.c: Likewise.
23549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23550
23551 * nss/nss_files/files-parse.c: Whitespace fixes.
23552
f15ce4d8
UD
235532010-08-09 Ulrich Drepper <drepper@redhat.com>
23554
23555 [BZ #11883]
23556 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23557 * posix/fnmatch_loop.c: Likewise.
23558
d22e4cc9
AK
235592010-07-17 Andi Kleen <ak@linux.intel.com>
23560
23561 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23562 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23563 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23564 * Versions.def [GLIBC_2.13]: Add.
23565
805bc17d
UD
235662010-08-06 Ulrich Drepper <drepper@redhat.com>
23567
23568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23569 Also fail if tpwd after pwuid call is NULL.
23570
5a42321d
ST
235712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23572
23573 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23574 when converting to ms.
23575
fd3ebeda
ST
235762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23577
23578 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23579 EOPNOTSUPP errors with ENOTTY.
23580 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23581 EOPNOTSUPP errors with ENOTTY.
23582
73507d3a
UD
235832010-07-31 Ulrich Drepper <drepper@redhat.com>
23584
23585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23586 Add strcasecmp_l-ssse3.
23587 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23588 strcasecmp.
23589 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23590 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23591 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23592
fe36dd02
UD
235932010-07-30 Ulrich Drepper <drepper@redhat.com>
23594
66f6765a
UD
23595 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23596
42e08a54
UD
23597 * string/Makefile (strop-tests): Add strcasecmp.
23598 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23599 strcasecmp_l-nonascii.
23600 (gen-as-const-headers): Add locale-defines.sym.
23601 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23602 * sysdeps/x86_64/strcasecmp.S: New file.
23603 * sysdeps/x86_64/strcasecmp_l.S: New file.
23604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23605 * sysdeps/x86_64/locale-defines.sym: New file.
23606 * string/test-strcasecmp.c: New file.
23607
fe36dd02
UD
23608 * string/test-strcasestr.c: Test both ends of the range of characters.
23609 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23610
48cbc0d6
RM
236112010-07-29 Roland McGrath <roland@redhat.com>
23612
76e6d6bc 23613 [BZ #11856]
48cbc0d6
RM
23614 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23615
880113d9
UD
236162010-07-27 Ulrich Drepper <drepper@redhat.com>
23617
23618 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23619 for ld.so.
23620
deb9cabb
AS
236212010-07-27 Andreas Schwab <schwab@redhat.com>
23622
23623 * manual/memory.texi (Malloc Tunable Parameters): Document
23624 M_PERTURB.
23625
1c7570ff
RM
236262010-07-26 Roland McGrath <roland@redhat.com>
23627
23628 [BZ #11840]
23629 * configure.in (-fgnu89-inline check): Set and substitute
23630 gnu89_inline, not libc_cv_gnu89_inline.
23631 * configure: Regenerated.
23632 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23633
24fb0f88
UD
236342010-07-26 Ulrich Drepper <drepper@redhat.com>
23635
23636 * string/test-strnlen.c: New file.
23637 * string/Makefile (strop-tests): Add strnlen.
23638 * string/tester.c (test_strnlen): Add a few more test cases.
23639 * string/tst-strlen.c: Better error reporting.
23640
23641 * sysdeps/x86_64/strnlen.S: New file.
23642
8e96b93a
UD
236432010-07-24 Ulrich Drepper <drepper@redhat.com>
23644
23645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23646 lower-latency instructions.
23647
dbc676d4
UD
236482010-07-23 Ulrich Drepper <drepper@redhat.com>
23649
23650 * string/test-strcasestr.c: New file.
23651 * string/test-strstr.c: New file.
23652 * string/Makefile (strop-tests): Add strstr and strcasestr.
23653 * string/str-two-way.h: Don't undefine MAX.
23654 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23655
f6a31e0e
AS
236562010-07-21 Andreas Schwab <schwab@redhat.com>
23657
23658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23659 strcasestr-nonascii.
23660 (CFLAGS-strcasestr-nonascii.c): Define.
23661 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23663 Remove unused attribute.
23664
5dbc3b6c
RM
236652010-07-20 Roland McGrath <roland@redhat.com>
23666
23667 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23668 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23669 ld.so.cache was broken. With it, there is no way to disable dsocaps
23670 like LD_HWCAP_MASK can disable hwcaps.
23671
23d101d8
EPM
236722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23673
23674 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23675
cc9f2e47
UD
236762010-07-16 Ulrich Drepper <drepper@redhat.com>
23677
23678 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23679 call in strcasestr.
23680 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23681 __strcasestr_sse42_nonascii.
23682 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23683 strcasestr-nonascii.c.
23684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23685
77c1b069
LM
236862010-06-15 Luis Machado <luisgpm@br.ibm.com>
23687
23688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23692
440566c3
UD
236932010-07-09 Ulrich Drepper <drepper@redhat.com>
23694
23695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23696 fcntl.
23697
5be9d05d
AS
236982010-07-06 Andreas Schwab <schwab@redhat.com>
23699
c30b7ee2 23700 [BZ #11577]
5be9d05d
AS
23701 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23702 dl_signal_cerror.
23703
8a492a67
UD
237042010-07-06 Ulrich Drepper <drepper@redhat.com>
23705
23706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23707 _PC_PIPE_BUF using F_GETPIPE_SZ.
23708
713df3d5
RM
237092010-07-05 Roland McGrath <roland@redhat.com>
23710
23711 * manual/arith.texi (Rounding Functions): Fix rint description
23712 implicit in round description.
23713
702e8f14
UD
237142010-07-02 Ulrich Drepper <drepper@redhat.com>
23715
23716 * elf/Makefile: Fix linking for a few tests to make recent linker
23717 happy.
23718
52ed8be9
AS
237192010-06-30 Andreas Schwab <schwab@redhat.com>
23720
23721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23722 $(common-objpfx)libc_nonshared.a.
23723
f47c9a11
LM
237242010-06-21 Luis Machado <luisgpm@br.ibm.com>
23725
23726 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23727 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23728 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23729 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23730 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23733 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23748 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23749 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23750 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23751 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23752 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23753 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23754 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23755 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23756 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23757 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23758 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23759 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23774
6fb8cbcb
L
237752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23776
23777 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23778 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23779 * string/memmove.c (memmove): Renamed to ...
23780 (MEMMOVE): ...this. Default to memmove.
23781 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23782 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23783 (END_CHK): Define.
23784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23785 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23786 mempcpy-ssse3-back memmove-ssse3-back.
23787 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23790 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23791 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23792 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23793 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23794 * sysdeps/x86_64/multiarch/memmove.c: New file.
23795 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23796 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23797 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23798 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23801 Define.
23802 (index_Fast_Copy_Backward): Define.
23803 (HAS_ARCH_FEATURE): Define.
23804 (HAS_FAST_REP_STRING): Define.
23805 (HAS_FAST_COPY_BACKWARD): Define.
23806
4e733bac 238072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23808
23809 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23810 Restore proper fallback handling.
23811
63c4ed22
UD
238122010-06-19 Ulrich Drepper <drepper@redhat.com>
23813
ac2b484c
UD
23814 [BZ #11701]
23815 * posix/group_member.c (__group_member): Correct checking loop.
23816
63c4ed22
UD
23817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23818 OOM in getpwuid_r correctly. Return error number when the caller
23819 should return, otherwise -1.
23820 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23821 call returning > 0 value.
23822 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23823
765ade4b
AS
238242010-06-07 Andreas Schwab <schwab@redhat.com>
23825
23826 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23827 libc_nonshared.a from targets in modules-names.
23828
80da2e09
KS
238292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23830
23831 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23832 requires it.
23833
158db122
LM
238342010-06-10 Luis Machado <luisgpm@br.ibm.com>
23835
23836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23837 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23840
caa78cf8
AS
238412010-06-02 Andreas Schwab <schwab@redhat.com>
23842
23843 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23844
b2ef2c01
UD
238452010-06-14 Ulrich Drepper <drepper@redhat.com>
23846
23847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23848 and F_GETPIPE_SZ.
23849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23855
fbd643b6
RM
238562010-06-14 Roland McGrath <roland@redhat.com>
23857
23858 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23859
f32f2869
JJ
238602010-06-07 Jakub Jelinek <jakub@redhat.com>
23861
23862 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23863 __REDIRECT followed by __THROW.
23864 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23865 * posix/getopt.h (getopt): Likewise.
23866
2a50c078
EPM
238672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23868
23869 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23870 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23871 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23872 in AT_FLAGS.
23873 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23874 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23875
eb5ad2eb
LM
238762010-05-28 Luis Machado <luisgpm@br.ibm.com>
23877
23878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23879
3c88fe1e
L
238802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23881
23882 [BZ #11640]
23883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23884 Properly check family and model.
23885
d2f73151
TY
238862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23887
23888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23889
ebd2e13d
LM
238902010-05-24 Luis Machado <luisgpm@br.ibm.com>
23891
23892 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23893
b32b8b45
UD
238942010-05-21 Ulrich Drepper <drepper@redhat.com>
23895
23896 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23897 symbol reference.
23898
9acbe24d
AS
238992010-05-19 Andreas Schwab <schwab@redhat.com>
23900
23901 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23902 symbol reference.
23903
f0ccf6ea
AS
239042010-05-21 Andreas Schwab <schwab@redhat.com>
23905
3d04ff3a
AS
23906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23907 and internal_recvmmsg.
23908 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23909 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23910 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23911 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23912
f0ccf6ea
AS
23913 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23916
5b08ac57
AS
239172010-05-20 Andreas Schwab <schwab@redhat.com>
23918
23919 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23920
4828935d
LM
239212010-05-17 Luis Machado <luisgpm@br.ibm.com>
23922
23923 POWER7 optimizations.
23924 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23925 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23926
373d545e
UD
239272010-05-19 Ulrich Drepper <drepper@redhat.com>
23928
23929 * version.h: Update for 2.13 development version.
23930
21a2b1ae
AS
239312010-05-12 Andrew Stubbs <ams@codesourcery.com>
23932
23933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23934 exceptions. Return 0.
23935
3f7dcb2b
RM
239362010-05-07 Roland McGrath <roland@redhat.com>
23937
23938 * elf/ldconfig.c (main): Add a const.
23939
5f24d53a 239402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23941
a160f8d8
UD
23942 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23943 (args_options): Add no-idn option.
23944 (ahosts_keys_int): Add idn_flags to ai_flags.
23945 (parse_option): Handle 'i' option to clear idn_flags.
23946
5f24d53a
UD
23947 * malloc/malloc.c (_int_free): Possible race in the most recently
23948 added check. Only act on the data if no current modification
23949 happened.
265bb1ce
UD
23950
23951See ChangeLog.17 for earlier changes.